]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ac65455113d7d4f2d88cb829f2c72eb414b795bc
[lyx.git] / src / ChangeLog
1 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * exporter.C (checkOverwrite): new method
4         * exporter.C (copyFile): new method
5         * exporter.C (Export): copy referenced files to the document dir
6         * exporter.[Ch]: new class ExportedFile
7         * exporter.[Ch]: new class ExportData. Contains currently the
8         names of referenced external files
9         * outputparams.h: add exportdata member.
10
11 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
12
13         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
14         version.C-tmp
15
16 2004-05-19  Angus Leeming  <leeming@lyx.org>
17
18         * LaTeXFeatures.C:
19         * ToolbarBackend.C:
20         * bufferparams.C:
21         * lyxfunc.C: small changes due to the introduction of namespace
22         lyx::frontend and the moving of namespace biblio to lyx::biblio.
23
24 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
25
26         * text3.C (dispatch): supress update when only moving the cursor
27         * cursor.C (selHandle): remove commented code
28
29 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
30
31         * paragraph.C (startTeXParParams): correct column count
32         * CutAndPaste.C (pasteSelection): remove const_cast
33         * output_docbook.C (docbookParagraphs): remove const_cast
34         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
35         const_cast and return ParagraphList::const_iterator
36         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
37         * output_plaintext.C (writeFileAscii): remove const_cast
38         * paragraph.[Ch] (simpleTeXOnePar): make const
39         * paragraph_funcs.C (outerPar): use const iterators
40         * paragraph_pimpl.C (validate): use const iterators
41         * text.C (setHeightOfRow): use const iterators
42
43 2004-05-17  Angus Leeming  <leeming@lyx.org>
44
45         * lfuns.h:
46         * LyXAction.C (init): new LFUN_INSET_REFRESH.
47
48         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
49         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
50         if the citation engine has changed.
51
52 2004-05-14  José Matos  <jamatos@lyx.org>
53
54         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
55         if the textclass does not provide it. Have it different for sgml and
56         xml.
57         support the language of document.
58         * output_docbook.C (docbookParagraphs):
59         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
60         first anchor as the id of the paragraph, remove special case code.
61         * sgml.C (escapeChar): escape only < & >.
62
63 2004-05-14  Angus Leeming  <leeming@lyx.org>
64
65         * bufferparams.h: move biblio::CiteEngine enum here to minimize
66         dependencies on src/frontends/controllers/biblio.h. Define a
67         CiteEngine_enum wrapper class to enable the enum to be forward
68         declared.
69
70 2004-05-12  Angus Leeming  <leeming@lyx.org>
71
72         * buffer.C: up LYX_FORMAT to 234.
73         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
74         use_numerical_citations with a single biblio::CiteEngine cite_engine
75         variable.
76         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
77
78 2004-05-13  José Matos  <jamatos@lyx.org>
79
80         * converter.h:
81         * converter.C (Converter, readFlags): add xml member.
82         * outputparams.h: add XML flavor.
83         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
84
85 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * lyxfunc.C (dispatch):
88         (getStatus): fix handling of LFUN_SEQUENCE
89
90 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * debug.C (showLevel): do not forget the end-of-line marker
93
94 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * kbmap.C (read): do not stop parsing a bind file when an error
97         occurs (bug 1575)
98
99 2004-04-29  Angus Leeming  <leeming@lyx.org>
100
101         * cursor.C:
102         * factory.C:
103         * pariterator.C:
104         * text2.C: wrap a bunch of #warning statements
105         inside #ifdef WITH_WARNINGS blocks.
106
107 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * buffer.C: increment format to 233.
110
111 2004-04-28  Angus Leeming  <leeming@lyx.org>
112
113         * BufferView_pimpl.C:
114         * lyxfunc.C:
115         * text3.C:
116         s/updateToolbar()/updateToolbars()/
117         s/Toolbar.h/Toolbars.h/
118
119 2004-04-28  Angus Leeming  <leeming@lyx.org>
120
121         * BufferView.[Ch] (c-tor):
122         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
123         No longer passes these data to the WorkArea generator.
124
125 2004-04-28  Angus Leeming  <leeming@lyx.org>
126
127         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
128
129 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
130
131         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
132
133 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * output_latex.C (TeXEnvironment): make sure that there is a line
136         break before \end{foo} for the last paragraph of a document
137         (TeXOnePar): if the paragraph is at the end of the document (or
138         inset) and the language has to be reset, then make sure that the
139         line break is _before_ the language command, not after (fixes bug
140         1225); also make sure that the language reset command is the first
141         thing after the paragraph (to ensure proper nesting of
142         environments and thus fix bug 1404)
143
144 2004-04-21  John Levon  <levon@movementarian.org>
145
146         * ToolbarBackend.h:
147         * ToolbarBackend.C: make "name" be a programmatic name
148         and a gui_name field.
149
150         * lyxfunc.C: display the minibuffer on M-x
151
152 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
155         (bug 1526)
156
157 2004-04-19  Angus Leeming  <leeming@lyx.org>
158
159         * BufferView_pimpl.C (setBuffer): changed preview interface.
160
161         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
162         possible values.
163
164 2004-04-19  John Levon  <levon@movementarian.org>
165
166         * BufferView_pimpl.C:
167         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
168
169 2004-04-05  Angus Leeming  <leeming@lyx.org>
170
171         * text.C (redoParagraphs): add call to updateCounters(), thereby
172         fixing the missing "Figure #:" label from the caption of a
173         figure float.
174
175 2004-04-13  Angus Leeming  <leeming@lyx.org>
176
177         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
178         cursor is clicked out of an inset.
179
180 2004-04-13  Angus Leeming  <leeming@lyx.org>
181
182         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
183         than an InsetOld one.
184
185 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
186
187         * format.[Ch]: add editor to Format
188         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
189         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
190
191 2004-04-08  André Pönitz  <poenitz@gmx.net>
192
193         * metricsinfo.h: remove PainterInfo::width member
194
195 2004-04-08  Angus Leeming  <leeming@lyx.org>
196
197         * lyx_sty.C (boldsymbol_def): modify so that it outputs
198         "\providecommand" rather than "\newcommand", thereby preventing
199         clashes with packages that define "\boldsymbol" themselves.
200         Eg, beamer.
201
202 2004-04-08  Angus Leeming  <leeming@lyx.org>
203
204         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
205         thereby squashing an unnecessary warning.
206
207 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
208
209         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
210         setBuffer()
211
212 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
213
214         * BufferView.C (setCursor): call redoParagraph (some insets could
215         have been opened)
216         (putSelectionAt): remove the 'double update' trick
217
218         * BufferView_pimpl.C (fitCursor): call refreshPar
219         (workAreaDispatch): remove an uneeded update call
220         (dispatch): remove some manual update calls
221
222         * cursor.[Ch]: remove cached_y_, updatePos
223         (selHandle): set noUpdate when appropriate
224
225         * lyxfunc.C (dispatch): track if we need an update
226
227         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
228
229         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
230         (paintSelection): cheap optimization, do not call cursorX when not
231         needed
232         (paintPars): change signature
233         (refreshPar): add
234         (paintText): adjust
235         (paintTextInset): adjust
236
237         * text.C: adjust
238
239 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * lengthcommon.C: compilation fix: remove explicit array size from
242         unit_name[] and friends
243
244 2004-04-05  Angus Leeming  <leeming@lyx.org>
245
246         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
247
248         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
249         present only for the preferences dialog.
250         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
251
252 2004-04-05  Angus Leeming  <leeming@lyx.org>
253
254         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
255         to enable the frontends to export changes to lyxrc correctly.
256
257         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
258
259 2004-04-07  André Pönitz  <poenitz@gmx.net>
260
261         * cursor.[Ch] (selClear, adjust): remove math
262
263         * cursor_slice.C: more agressive assert
264
265         * lyxfunc.C:
266         * BufferView_pimpl.C: rework mouse event dispatch
267
268         * dociterator.C:
269         * paragraph.C:
270         * text2.C:
271         * text3.C: adjust
272
273 2004-04-05  André Pönitz  <poenitz@gmx.net>
274
275         * cursor.[Ch] (valign, halign...): remove unneeded functions
276
277 2004-04-05  Angus Leeming  <leeming@lyx.org>
278
279         * lyxlength.[Ch] (unit_name et al.): const-correct.
280
281 2004-04-05  Angus Leeming  <leeming@lyx.org>
282
283         * BufferView_pimpl.C:
284         * buffer.C:
285         * counters.C:
286         * cursor.C:
287         * lyxfunc.C
288         * paragraph.C:
289         * pariterator.C:
290         * text.C:
291         * text2.C:
292         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
293
294 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
295
296         * text3.C (getStatus): add LFUN_BEGINNINGBUF
297
298 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
299
300         * lyxfind.C: add a couple of inTexted() tests + other small fixes
301         * BufferView_pimpl.[Ch] (getStatus)
302         * BufferView.[Ch] (getStatus): add
303         * lyxfunc.C (getStatus): move lfuns handled in
304         BufferView::dispatch to te function above
305         * Cursor.C (setSelection): set selection() = true
306
307 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
308
309         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
310
311 2004-03-31  Angus Leeming  <leeming@lyx.org>
312
313         * lyxfunc.C (dispatch): Fall through to the generic
314         Dialogs::show("preamble").
315
316 2004-03-31  Angus Leeming  <leeming@lyx.org>
317
318         * lyxfunc.C (dispatch): Fall through to the generic
319         Dialogs::show("spellchecker").
320
321 2004-03-31  Angus Leeming  <leeming@lyx.org>
322
323         * lyxfunc.C (getStatus, dispatch): changed invocation of the
324         preferences dialog.
325
326 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
327
328         * BufferView.C
329         * cursor.[Ch]
330         * dociterator.[Ch]:
331         * insetiterator.[Ch]:
332         * lyxfind.C:
333         * lyxfunc.C:
334         * pariterator.[Ch]:
335         * text2.C:
336         * undo.[Ch]: s/DocumentIterator/DocIterator/g
337
338 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
339
340         * BufferView.C (setCursor, putSelectionAt): call edit to open the
341         insets where we are putting the cursor.
342
343 2004-03-31  Angus Leeming  <leeming@lyx.org>
344
345         * lfuns.h:
346         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
347
348         * lyxrc.[Ch] (read, write): overloaded member functions taking
349         a std::[io]stream arguments.
350
351         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
352
353 2004-03-31  Angus Leeming  <leeming@lyx.org>
354
355         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
356         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
357
358         * lyxtextclass.C (load): if the text class couldn't be loaded, then
359         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
360
361 2004-03-31  Angus Leeming  <leeming@lyx.org>
362
363         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
364         the LFUN_ALL_INSETS_TOGGLE code.
365
366 2004-03-30  Angus Leeming  <leeming@lyx.org>
367
368         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
369         has died. Fall through to the generic Dialogs::show("document").
370
371 2004-03-30  Angus Leeming  <leeming@lyx.org>
372
373         * lfuns.h:
374         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
375         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
376
377         * lyxfunc.C (getStatus, dispatch): define the actions for these
378         lfuns. Little more than a cut and pste job from ControlDocument.C
379
380         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
381
382 2004-03-30  Angus Leeming  <leeming@lyx.org>
383
384         * lfuns.h:
385         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
386         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
387
388         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
389         open/closed state of ollapsable insets. Usage:
390
391         all-inset-toggle <state> <name>, where
392         <state> == "open" || "closed" || "toggle" and
393         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
394
395         * lyxtext.h, text2.C (toggleInset): removed.
396
397         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
398         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
399         now passes LFUN_INSET_TOGGLE to the found inset.
400
401         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
402         is now invoked as "all-insets-toggle toggle branch".
403
404 2004-03-30  Angus Leeming  <leeming@lyx.org>
405
406         * dociterator.C:
407         * insetiterator.C:
408         * pariterator.[Ch]: added/corrected header blurb.
409
410 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
411
412         * dociterator.[Ch]: add an inset_ member
413         (backwardPos): implemented
414         (backwardPos, forwardPos): use inset_ when the stack is empty.
415         (doc_iterator_begin, doc_iterator_end): implemented
416         * pariterator.[Ch]: adjust, add begin, end
417         * insetiterator.[Ch]: adjust, add begin, end
418         * cursor.C:
419         * document.C:
420         * BufferView.C:
421         * BufferView_pimpl.C:
422         * CutAndPaste.C: adjust
423
424 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
425
426         * buffer.C: increment file format to 232.
427         * LaTeXFeatures.C: add bibtopic package.
428         * bufferparams.[Ch]: param \use_bibtopic.
429
430         * lyxrc.[Ch]: add lyxrc bibtex_command
431         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
432
433         * buffer.C: increment file format to 231.
434
435 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
436
437         * dociterator.C: implement forwardPar
438         * iterators.[Ch]: remove, replaced by
439         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
440         * BufferView.C:
441         * BufferView_pimpl.C:
442         * CutAndPaste.C:
443         * buffer.C:
444         * bufferview_funcs.C:
445         * cursor.C:
446         * lyxfind.C
447         * lyxfunc.C
448         * paragraph_funcs.C
449         * toc.C:
450         * Makefile.am: adjust
451
452 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
453
454         * CutAndPaste.C (pasteSelection): fix 2 crashes
455         (eraseSelection): fix a crash
456         * paragraph_funcs.C: remove a warning
457
458 2004-03-28  Angus Leeming  <leeming@lyx.org>
459
460         * lfuns.h:
461         * LyXAction.C (init): new LFUN_PRINT.
462
463         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
464
465 2004-03-27  Angus Leeming  <leeming@lyx.org>
466
467         * lfuns.h:
468         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
469
470         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
471
472 2004-03-27  Angus Leeming  <leeming@lyx.org>
473
474         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
475         insetlist always contains non-null pointers to insets.
476
477 2004-03-26  Angus Leeming  <leeming@lyx.org>
478
479         * src/BufferView_pimpl.C:
480         * src/CutAndPaste.C:
481         * src/buffer.C:
482         * src/iterators.C:
483         * src/output_plaintext.C:
484         * src/outputparams.h:
485         * src/paragraph_funcs.C:
486         * src/rowpainter.C:
487         * src/text.C:
488         * src/text2.C:
489         * src/frontends/controllers/ControlErrorList.C:
490         * src/frontends/gtk/FileDialogPrivate.C:
491         * src/frontends/gtk/GPainter.C:
492         * src/frontends/gtk/GToolbar.C:
493         * src/frontends/qt2/QRef.C:
494         * src/mathed/math_scriptinset.C: squash compiler warnings.
495
496 2004-03-26  Angus Leeming  <leeming@lyx.org>
497
498         * ispell.C (LaunchIspell::start):
499         * lyx_cb.C (AutoSaveBuffer::start):
500         invoke run(DontWait) rather than runNonBlocking().
501
502 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
503
504         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
505
506 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * kbsequence.C (print): adjust
509
510         * kbmap.C (printKeySym): rename and change signature
511         (printKey): use LyXKeySym::print()
512
513 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
514
515         * undo.C: add using std::advance to compile for stlport
516
517 2004-03-24  Angus Leeming  <leeming@lyx.org>
518
519         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
520         it leads to a crash when no buffer is present.
521
522 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523             Martin Vermeer  <martin.vermeer@hut.fi>
524
525         * lyxfunc.C (dispatch):
526         * bufferparams.C (readToken): use the new LColor::setColor
527
528         * LColor.[Ch] (setColor): new version that takes two strings as
529         argument and creates a new color entry if necessary
530
531 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
532
533         * buffer.C (makeLaTeXFile): if the main latex file that is
534         processed is usually a subdocument of some master, then pretend
535         for a while that it is actually the master
536
537 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
538
539         * buffer.C (getLabelList):
540         (getBibkeyList): use getMasterBuffer()
541         (getMasterBuffer): new method. Returns the main document in the
542         case where one is using included documents.
543
544 2004-03-25  André Pönitz  <poenitz@gmx.net>
545
546         * Makefile.am:
547         * iterators.[Ch]:
548         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
549
550         * ParagraphList_fwd.h: change ParagraphList to a std::vector
551
552         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
553         text*.C over here. Rename namespace CutAndPaste to lyx::cap
554
555         * ParameterStruct.h: merge with ParagraphParameters
556
557         * lyxtext.h: remove LyXText::parOffset() and getPar()
558
559         * text3.C: Remove all 'manual' update calls. We do now one per user
560         interaction which is completely sufficient.
561
562         * Bidi.C:
563         * BufferView.[Ch]:
564         * BufferView_pimpl.C:
565         * FontIterator.[Ch]:
566         * MenuBackend.C:
567         * ParagraphParameters.[Ch]:
568         * buffer.C:
569         * buffer.h:
570         * bufferlist.C:
571         * cursor.[Ch]:
572         * cursor_slice.[Ch]:
573         * dociterator.[Ch]:
574         * errorlist.[Ch]:
575         * factory.C:
576         * lfuns.h:
577         * lyxfind.C:
578         * lyxfunc.C:
579         * output_docbook.[Ch]:
580         * output_latex.[Ch]:
581         * output_linuxdoc.[Ch]:
582         * output_plaintext.[Ch]:
583         * paragraph.[Ch]:
584         * paragraph_funcs.[Ch]:
585         * paragraph_pimpl.[Ch]:
586         * rowpainter.C:
587         * tabular.[Ch]:
588         * text.C:
589         * text2.C:
590         * toc.C:
591         * undo.[Ch]: adjust
592
593         * frontends/controllers/ControlDocument.C:
594         * frontends/controllers/ControlErrorList.C:
595         * frontends/controllers/ControlSpellchecker.C:
596         * insets/inset.C:
597         * insets/inset.h:
598         * insets/insetbase.h:
599         * insets/insetbibitem.C:
600         * insets/insetbox.C:
601         * insets/insetbranch.C:
602         * insets/insetcaption.C:
603         * insets/insetcharstyle.C:
604         * insets/insetcharstyle.h:
605         * insets/insetcollapsable.C:
606         * insets/insetcollapsable.h:
607         * insets/insetert.C:
608         * insets/insetfloat.C:
609         * insets/insetfoot.C:
610         * insets/insetmarginal.C:
611         * insets/insetnote.C:
612         * insets/insetoptarg.C:
613         * insets/insettabular.C:
614         * insets/insettext.C:
615         * insets/insettext.h:
616         * insets/insetwrap.C:
617         * mathed/math_mboxinset.C:
618         * mathed/math_nestinset.C:
619         * mathed/math_scriptinset.C:
620         * mathed/math_scriptinset.h:
621         * support/types.h:
622
623 2004-03-24  Angus Leeming  <leeming@lyx.org>
624
625         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
626         deal with any child processes that have finished but are waiting to
627         communicate this fact to the rest of LyX.
628
629 2004-03-24  Angus Leeming  <leeming@lyx.org>
630
631         64-bit compile fixes.
632
633         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
634         (c-tor): pass lyx::pos_types rather than ints.
635
636         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
637         lyx::pos_type.
638
639         * text.C (Delete): compile fix.
640         (getPar): ensure that function declaration is the same as that in
641         the header file.
642
643 2004-03-23  Angus Leeming  <leeming@lyx.org>
644
645         * ispell.C (LaunchIspell):
646         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
647         a boost::shred_ptr rather than a std::auto_ptr.
648
649 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
650
651         * lyxfunc.C (getStatus): handle read-only buffers correctly;
652         handle LFUN_FILE_INSERT_*
653
654         * lyxrc.C (setDefaults, getDescription, output, read):
655         * lyxrc.h: remove ps_command
656
657 2004-03-22  Angus Leeming  <leeming@lyx.org>
658
659         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
660         Ensure that error_handler is processed once only and that all data
661         is saved before attempting to output any warning messages.
662
663         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
664
665 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * tabular.C (TeXRow): crash fix (from Kayvan and André)
668
669 2004-03-19  André Pönitz  <poenitz@gmx.net>
670
671         * cursor.[Ch] (reset): take main text inset as argument
672
673         * BufferView: adjust
674         * BufferView_pimpl.C: adjust
675
676         * paragraph.[Ch]: fix completely broken operator=()
677
678 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * LColor.C (getFromLyXName): make sure that the color name is used
681         as lowercase.
682
683 2004-03-17  Angus Leeming  <leeming@lyx.org>
684
685         * lfuns.h:
686         * LyXAction.C (init): remove LFUN_FORKS_KILL.
687
688         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
689         dialog and to kill a forked process.
690
691 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
692
693         * text2.C (setCursorFromCoordinates): fix font problem
694
695 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
696
697         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
698         bogus "rebuild cursor" code
699
700 2004-03-11  André Pönitz  <poenitz@gmx.net>
701
702         * buffer.[Ch]: use InsetText instead of LyXText as container for
703         the main lyx text.
704
705         * dociterator.[Ch]: drop the BufferView * member which is not needed
706         anymore after the change to buffer.C
707
708         * paragraph_funcs.C:
709         * text.C:
710         * text2.C:
711         * BufferView.[Ch]:
712         * BufferView_pimpl.[Ch]:
713         * cursor.[Ch]:
714         * cursor_slice.[Ch]: adjust
715
716         * text3.C: fix bug in mathDispatch
717
718 2004-03-08  André Pönitz  <poenitz@gmx.net>
719
720         * undo.[Ch]: use 'StableDocumentIterator' as base for
721         the Undo struct.
722
723 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
724
725         * LaTeXFeatures.C:
726         * bufferparams.[Ch]: add jurabib support and param.
727
728         * LaTeX.C: add FIXME/comment.
729
730 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
731
732         * buffer.C: increment file format to 230.
733
734 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
735
736         * cursor.C (dispatch): avoid infinite loops
737
738 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
739
740         * rowpainter.C (paintSelection): fix x coordinates
741
742 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
743
744         * text.C (rowBreakPoint): fix breaking before displayed insets
745
746 2004-03-01  André Pönitz  <poenitz@gmx.net>
747
748         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
749
750         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
751
752         * Makefile.am:
753         * BufferView.C:
754         * BufferView_pimpl.C:
755         * buffer.C:
756         * lyxfind.C:
757         * lyxfunc.C:
758         * text.C:
759         * text2.C:
760         * text3.C: adjust
761
762 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
763
764         * lyxtext.h:
765         * text.C:
766         * text2.C:
767         * rowpainter.C:
768         * BufferView_pimpl.C: rename textwidth -> maxwidth,
769         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
770
771 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
772
773         * Bidi.[Ch] (computeTables): const correctness
774         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
775         fill_hfill, fill_label_hfill and x from Row
776         * lyxtext.h: prepareToPrint returns a RowMetrics
777         * rowPainter.C: adjust
778         * text.C (prepareToPrint): use width, not textWidth. adjust
779         (redoParagraphInternal, cursorX): adjust
780         * text2.C (getColumnNearX): adjust
781         (init): put a default value to the top LyXText::width
782
783 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
784
785         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
786
787 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
788
789         * lyxtext.h: add FontIterator class
790
791         * text.C (FontIterator, operator*, operator->, operator++): add
792         (rowBreakPoint, setRowWidth): adjust (fixing a
793         rebreaking bug)
794
795 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
796
797         * BufferView_pimpl.C (workAreaDispatch): allow also
798         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
799
800 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
801
802         * text.C (rowBreakPoint): fix a bug showing with very large insets
803
804 2004-02-25  André Pönitz  <poenitz@gmx.net>
805
806         * text3.C:
807         * cursor.[Ch]: move some mathed specific code to mathed
808
809 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
810
811         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
812         use_tempdir in preferences
813         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
814         tempfile creation
815         * lyx_main.C: ensure that tempdir is valid
816         * lyxlex.h: correct typo
817         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
818         * paragraph.[Ch] (isMultiLingual): make const
819         * cursor.[Ch] (openable): make const
820
821 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
822
823         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
824
825 2004-02-20  André Pönitz  <poenitz@gmx.net>
826
827         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
828
829         * cursor.[Ch]: prepare for localized getStatus()
830
831         * lyxtext.h:
832         * tabular.C:
833         * text.C:
834         * text2.C:
835         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
836
837 2004-02-20  André Pönitz  <poenitz@gmx.net>
838
839         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
840
841 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
842
843         * text2.C (setCursorFromCoordinates): switch to absolute coords
844         (cursorUp): adjust
845         (cursorDown): adjust
846         * text3.C (dispatch): adjust
847
848 2004-02-16  André Pönitz  <poenitz@gmx.net>
849
850         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
851           insets/ChangeLog)
852
853         * cursor_slice.[Ch]: remove unneeded acessor function
854
855         * lyxtext.h: rename rtl() to isRTL()
856
857         * rowpainter.C:
858         * tabular.C:
859         * text.C:
860         * text2.C:
861         * text3.C: adjust
862
863 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * rowpainter.C (paintSelection): coord fix
866
867 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
868
869         * Spacing.C: compile fix
870
871 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
872
873         * cursor.C (dispatch): restore current_ before returning
874
875 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
876
877         * text2.C (cursorUp, cursorDown): fix coords
878         (moveUp): fix crash
879
880 2004-02-12  André Pönitz  <poenitz@gmx.net>
881
882         * lyxtext.h:
883         * text.C:
884         * text2.C:
885         * text3.C: add LCursor & parameter to most cursor movement functions
886           remove usage of LyXText::cursorRow() and cursorPar()
887
888         * cursor.[Ch]: add textRow() needed members
889
890         * BufferView.C:
891         * BufferView_pimpl.C:
892         * paragraph.[Ch]:
893         * BufferView.C:
894         * BufferView_pimpl.C: adjust
895
896 2004-02-11  André Pönitz  <poenitz@gmx.net>
897
898         * lyxfunc.C:
899         * BufferView.[Ch]:
900         * BufferView_pimpl.C: shift undo/redo handling
901
902         * cursor.[Ch]: fix mathed crash
903
904         * lyxfind.C:
905         * lyxtext.h: move selectionAsText to LCursor
906
907         * output_latex.C:
908         * paragraph.C:
909         * text.C:
910         * text2.C:
911         * text3.C: adjust
912
913         * rowpainter.C: fix excessive drawing
914
915 2004-02-06  André Pönitz  <poenitz@gmx.net>
916
917         * BufferView.[Ch]:
918         * BufferView_pimpl.[Ch]:
919         * text3.C: move some text specific LFUN handling
920
921 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
922
923         * text3.C (checkInsetHit): adjust coords
924         * text2.C (getColumnNearX): adjust coords
925         (edit): adjust coords
926         * text.C (getRowNearY): add two asserts
927
928 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
929
930         * converter.C:
931         * format.C: add using std::distance to compile on gcc 2.95/stlport
932
933 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
934
935         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
936
937 2004-02-04  André Pönitz  <poenitz@gmx.net>
938
939         * BufferView.[Ch] (insertInset):
940         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
941
942         * text2.C:
943         * text3.C: adjust
944
945 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
948         on the default clause of the switch
949         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
950         wasn't catched by LCursor::dispatch
951
952 2004-02-03  André Pönitz  <poenitz@gmx.net>
953
954         * BufferView.C:
955         * cursor.[Ch]: some additional asserts
956
957         * undo.[Ch]: remove LyXText dependency in interface
958
959         * lyxfunc.C: adjust
960
961         * lyxtext.h (firstPar, lastPar): remove dead functions
962
963         * text.C:
964         * text2.C:
965         * text3.C:
966         * paragraph.[Ch]: adjust
967
968 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
969
970         * lyxfind.C (find): fix argument order in call to ::find
971
972 2004-02-02  André Pönitz  <poenitz@gmx.net>
973
974         * cursor.[Ch]: remove direct access to anchor
975
976         * text.C: remove findText() hack
977
978 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
979
980         * iterators.[Ch] (lockPath): remove in favour of...
981         * BufferView.[Ch] (setCursor): this addition
982         * BufferView.C (putSelectionAt): adjust
983         * undo.C (performUndoOrRedo): adjust
984         * lyxfunc.C (dispatch): adjust
985
986 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
987
988         * iterators.C (lockPath): add a missing slice
989         * undo.C (performUndoOrRedo): remove redundant positioning code
990
991 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
992
993         * vc-backend.C (scanMaster): ";" -> ';'
994
995 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
996
997         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
998         std::binary_function
999
1000         * lyxtextclass.C (compare_name): rename to...
1001         (LayoutNamesEqual): ...this
1002
1003         * lyxlex_pimpl.C (compare_tags): inherit from
1004         std::binary_function, put back into anon namespace
1005
1006         * lyxfind.C (MatchString): inherig from std::binary_function
1007         (findChange): use empty() istead of !size()
1008
1009         * format.C (FormatNamesEqual): new functor
1010         (getFormat): use it
1011         (getNumber): use it
1012         (add): use it
1013         (erase): use it
1014         (setViewer): use it
1015
1016         * converter.C (compare_Converter): rename to...
1017         (ConverterEqual): ...this, and fixup a bit.
1018         (getConverter): use it, and make function const
1019         (getNumber): use it, and make function const
1020         (add): use it
1021         (erase): use it:
1022
1023         * bufferlist.C: add using boost::bind
1024
1025         * MenuBackend.C (MenuNamesEqual): new functor
1026         (hasMenu): use it, and make function const
1027         (hasSubmenu): use nested bind to get rid of compare_memfun.
1028
1029 2004-01-30  André Pönitz  <poenitz@gmx.net>
1030
1031         * BufferView_pimpl.C:
1032         * cursor.C:
1033         * cursor.h:
1034         * cursor_slice.[Ch]:
1035         * lyxfunc.C:
1036         * lyxtext.h:
1037         * paragraph_funcs.C:
1038         * paragraph_funcs.h:
1039         * rowpainter.C:
1040         * text.C:
1041         * text2.C:
1042         * text3.C: move some of the edit(x,y) handling to the insets
1043         some coordinate changes.
1044
1045 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1046
1047         * text.C: add using statements for std::advance and std::distance
1048
1049         * paragraph.C: add using statement for std::distance
1050
1051         * lyxfind.C: add using statement for std::advance
1052
1053         * cursor.C (region): remove std:: from swap
1054         (openable): use nucleus in stead of operator->
1055
1056         * BufferView.C: add using statements for std::distance and std::swap
1057
1058 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1059
1060         * iterators.C: Remove the pimple, move the needed structures to
1061         the header file. Create accessor for the positions stack.
1062         (asPosIterator): remove function
1063
1064         * PosIterator.C (PosIterator): move constructors to top of file
1065         (PosIterator): reimplement the constructor taking a ParIterator in
1066         terms of setFrom.
1067         (setFrom): new function
1068         (operator!=): inline it
1069
1070 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1071
1072         * lyxfind.C (replaceAll): use std::advance
1073
1074         * iterators.h: inherit from std::iterator.
1075
1076         * PosIterator.C (advance, distance): remove
1077         * PosIterator.h: interit from std::iterator.
1078
1079 2004-01-26  André Pönitz  <poenitz@gmx.net>
1080
1081         * BufferView.[Ch]:
1082         * BufferView_pimpl.[Ch]:
1083         * InsetList.[Ch]:
1084         * PosIterator.[Ch]:
1085         * buffer.h:
1086         * bufferview_funcs.C:
1087         * cursor.[Ch]:
1088         * cursor_slice.h:
1089         * factory.[Ch]:
1090         * iterators.[Ch]:
1091         * lyxfind.C:
1092         * lyxfunc.C:
1093         * lyxtext.h:
1094         * output_docbook.C:
1095         * output_latex.C:
1096         * output_linuxdoc.C:
1097         * output_plaintext.C:
1098         * paragraph.[Ch]:
1099         * paragraph_funcs.[Ch]:
1100         * paragraph_pimpl.[Ch]:
1101         * rowpainter.C:
1102         * tabular.C:
1103         * tabular.h:
1104         * text.C:
1105         * text2.C:
1106         * text3.C: more IU:  dumps most of the rest of the mathcursor
1107     implementation into cursor.[Ch]; "globalize" a bit of it.
1108
1109 2004-01-25  Angus Leeming  <leeming@lyx.org>
1110
1111         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1112
1113 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1114
1115         * LaTeXFeatures.h: add nice_ and nice() const
1116         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1117
1118 2004-01-20  André Pönitz  <poenitz@gmx.net>
1119
1120         * BufferView.[Ch]:
1121         * BufferView_pimpl.C:
1122         * PosIterator.C:
1123         * bufferview_funcs.C:
1124         * cursor.[Ch]:
1125         * cursor_slice.[Ch]:
1126         * factory.C:
1127         * iterators.C:
1128         * lyx_cb.C:
1129         * lyxfind.C:
1130         * lyxfunc.C:
1131         * lyxtext.h:
1132         * rowpainter.C:
1133         * text.C:
1134         * text2.C:
1135         * text3.C:
1136         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1137           LCursor and mathcursor parts to LCursor and InsetBase.
1138
1139 2004-01-15  André Pönitz  <poenitz@gmx.net>
1140
1141         * cursor_slice.[Ch]: add a few covienience functions
1142
1143         * funcrequest.[Ch]: remove BufferView * member
1144
1145         * BufferView_pimpl.C:
1146         * cursor.C:
1147         * factory.[Ch]:
1148         * lyxfind.[Ch]:
1149         * lyxfunc.C:
1150         * lyxtext.h:
1151         * text3.C:
1152         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1153
1154 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1155
1156         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1157         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1158
1159 2004-01-13  André Pönitz  <poenitz@gmx.net>
1160
1161         * textcursor.[Ch]:
1162         * lyxtext.h: hide cursor and selection anchor behind accessor function
1163
1164         * BufferView.C:
1165         * BufferView_pimpl.[Ch]:
1166         * PosIterator.C:
1167         * bufferview_funcs.C:
1168         * cursor.h:
1169         * lyxfind.C:
1170         * lyxfunc.C:
1171         * text.C:
1172         * text2.C:
1173         * text3.C:
1174         * undo.C: adjust
1175
1176         * cursor.h:
1177         * cursor_slice.[Ch]: some integer type changes for inset unification
1178
1179         * lyxcursor.[hC]: remove, it's CursorSlice now.
1180
1181         * Makefile.am:
1182         * BufferView_pimpl.[Ch]:
1183         * bufferview_funcs.C:
1184         * cursor_slice.C:
1185         * lyxtext.h:
1186         * text.C:
1187         * text2.C:
1188         * text3.C:
1189         * textcursor.[Ch]: adjust
1190
1191 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1192
1193         * text2.C (undoSpan): add and use
1194         * text.C (breakParagraph): use undoSpan (fix bug 578)
1195         * lyxtext.h: adjust
1196
1197 2004-01-08  Angus Leeming  <leeming@lyx.org>
1198
1199         * BufferView_pimpl.C (MenuInsertLyXFile):
1200         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1201         * lyxfunc.C (menuNew, open, doImport):
1202         FileFilterList change to the FileDialog open and save functions.
1203
1204 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1205
1206         * ShareContainer.h: make isEqual and isUnique adaptable
1207
1208         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1209
1210 2004-01-07  Angus Leeming  <leeming@lyx.org>
1211
1212         * LyXAction.C:
1213         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1214
1215         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1216
1217         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1218         functions replacing find, replace and replaceAll.
1219
1220         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1221         LFUN_WORDFIND(FORWARD|BACKWARD).
1222
1223 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1224
1225         * text.C (breakParagraph): remove an outdated #warning
1226
1227 2004-01-07  André Pönitz  <poenitz@gmx.net>
1228
1229         * lyxfind.C: somewhat clearer logic
1230
1231         * text.C: prevent crash in cursorX on unitialized row cache
1232
1233 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1234
1235         * lyxcursor.[Ch] (operator>): add
1236         * textcursor.C (selStart, selEnd): use std::min and std::max
1237
1238 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1239
1240         * Chktex.C: include boost/format.hpp
1241
1242 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1243
1244         * InsetList.C: replace functor MathcIt with adaptable functor
1245         InsetTablePosLess
1246         (insetIterator): modify accordingly
1247
1248         * BranchList.h: move the BranchNamesEqual functor here from...
1249         * BranchList.C: ... to here
1250
1251         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1252         SameName and match.
1253         (add): replace a finding loop with std::find_if.
1254
1255 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * output_docbook.C: moving LatexParam functionality into
1258         .layout files
1259
1260 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1261
1262         * buffer.C: increment format to 229.
1263
1264 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1265
1266         * LaTeXFeatures.C:
1267         * lyx_sty.[Ch]: remove minipageindent_def
1268
1269         * LyXAction.C:
1270         * factory.C:
1271         * lfuns.h:
1272         * lyxfunc.C:
1273         * text3.C: remove LFUN_INSET_MINIPAGE
1274
1275 2003-12-28  Angus Leeming  <leeming@lyx.org>
1276
1277         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1278
1279 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1280
1281         * text2.C (setParagraph): fix off-by-one crash
1282
1283 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1284
1285         * output_docbook.C: header stuff for AGU
1286
1287 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1288
1289         * text2.C (redoCursor): remove
1290         * text.C:
1291         * text3.C:
1292         * BufferView_pimpl.C: remove calls to redoCursor and
1293         setCursor(cursor.par(), cursor.pos()) all around
1294
1295 2003-12-15  Angus Leeming  <leeming@lyx.org>
1296
1297         * buffer.C: up the format to 228.
1298
1299 2003-12-15  André Pönitz  <poenitz@gmx.net>
1300
1301         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1302         slices
1303
1304         * Makefile.am:
1305
1306         * BufferView_pimpl.C:
1307         * cursor.[Ch]:
1308         * lyxcursor.[Ch]:
1309         * rowpainter.[Ch]:
1310         * lyxtext.h:
1311         * text.C:
1312         * text2.C:
1313         * text3.C: adjust
1314
1315 2003-12-15  Angus Leeming  <leeming@lyx.org>
1316
1317         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1318         than getFromGUIName to manipulate the color.
1319
1320 2003-12-14  Angus Leeming  <leeming@lyx.org>
1321
1322         * BranchList.[Ch]: minimize the API.
1323         (Branch::getBranch, getColor): now return a 'const &'.
1324         (Branch::setSelected) now returns a bool set to true if the
1325         selection status changes.
1326         (BranchList::clear, size, getColor, setColor, setSelected,
1327         allBranches, allSelected, separator): removed.
1328         (BranchList::find): new functions, returning the Branch with
1329         the given name.
1330         (BranchList::add, remove): return a bool indicating that
1331         the operation was successful.
1332
1333         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1334         new InsetBranch::isBranchSlected member function.
1335
1336         * LColor.[Ch]: mimimize the API.
1337         (fill): renamed as addColor and made private.
1338         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1339         versions of these functions taking a string arg have been removed.
1340
1341         * bufferparams.C (readToken):
1342         * lyxfunc.C (dispatch):
1343         * lyxrc.C (read): changes due to the altered BranchList and
1344         LColor APIs.
1345
1346         * factory.C (createInset, readInset): changes due to altered
1347         InsetBranch c-tor.
1348
1349 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1350
1351         * factory.C:
1352         * lyxfunc.C: remove insetminipage. "minipage-insert"
1353         now produces a frameless minipage box inset.
1354
1355 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * textcursor.[Ch] (selStart,selEnd): add new methods
1358         remove selection::start, end, use LyXCursor::operator<
1359         * lyxcursor.[Ch] (operator<): add
1360         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1361         * BufferView.[Ch] (unsetXSel): add
1362         * text2.C (clearSelection): use unsetXSel,adjust
1363         * text.C: adjust
1364         * text3.C: adjust
1365         * rowpainter.C: adjust
1366         * bufferview_funcs.C (put_selection_at): adjust
1367
1368 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * BufferView_pimpl.C: small coord. correction
1371
1372 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1375         dragging over the splash screen.
1376
1377 2003-12-11  Angus Leeming  <leeming@lyx.org>
1378
1379         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1380         as it is now handled in LyXText::dispatch.
1381
1382         * text3.C (doInsertInset): remove a level of nesting.
1383
1384 2003-12-11  Angus Leeming  <leeming@lyx.org>
1385
1386         * factory.C (createInset): changes due to the changed interface to
1387         InsetCommandMailer::string2params.
1388
1389 2003-12-10  Angus Leeming  <leeming@lyx.org>
1390
1391         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1392         'dialog-show-new-inset <inset name>'
1393
1394 2003-12-10  Angus Leeming  <leeming@lyx.org>
1395
1396         * buffer.C: up the format to 227.
1397
1398         * factory.C: the box inset is now identified simply by 'Box'.
1399
1400 2003-12-10  Angus Leeming  <leeming@lyx.org>
1401
1402         * buffer.C: up the format to 226.
1403
1404         * factory.C: the note inset is now identified simply by 'Note'.
1405
1406 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1407
1408         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1409         when a pit is enough. Standarize a couple of loops.
1410
1411 2003-12-05  Angus Leeming  <leeming@lyx.org>
1412
1413         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1414         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1415         data to the re-worked "log" dialog.
1416
1417 2003-12-03  André Pönitz  <poenitz@gmx.net>
1418
1419         * PosIterator.C:
1420         * iterators.C:
1421         * lyxtext.h:
1422         * output_latex.C:
1423         * paragraph_funcs.C:
1424         * text.C:
1425         * text2.C: use Inset::getText instead of Inset::getParagraph
1426
1427 2003-12-03  André Pönitz  <poenitz@gmx.net>
1428
1429         * buffer.[Ch]:
1430         * lyxtext.h:
1431         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1432         InsetText::read() as LyXText::read()
1433
1434 2003-12-02  Angus Leeming  <leeming@lyx.org>
1435
1436         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1437         type. Add a comment in the implementation that the function uses
1438         the stream's bad() function rather than fail() as the std::streams
1439         would do.
1440
1441 2003-12-02  André Pönitz  <poenitz@gmx.net>
1442
1443         * lyxlex.[Ch]: make interface more similar to std::stream
1444
1445         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1446
1447 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1448
1449         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1450
1451 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1452
1453         * vspace.[Ch]: remove VSpace::NONE
1454
1455 2003-12-01  André Pönitz  <poenitz@gmx.net>
1456
1457         * buffer.[Ch]:
1458         * lyxtext.h: move ParagraphList member to LyXText
1459         rename LyXText::ownerParagraphs to LyXText::paragraph
1460
1461         * CutAndPaste.C:
1462         * bufferview_funcs.C:
1463         * iterators.[Ch]:
1464         * lyx_cb.C:
1465         * paragraph.C:
1466         * rowpainter.C:
1467         * tabular.C:
1468         * text.C:
1469         * text2.C:
1470         * text3.C: adjust
1471
1472         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1473
1474         * undo.C: fix cursor positioning
1475
1476 2003-12-01  John Levon  <levon@movementarian.org>
1477
1478         * BufferView_pimpl.C: fix a crash on exit with
1479         a buffer open
1480
1481 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1482
1483         * BranchList.C: fix setSelected() method.
1484
1485 2003-11-28  André Pönitz  <poenitz@gmx.net>
1486
1487         * ParagraphParameters.[Ch]:
1488         * ParameterStruct.h: remove space above/below from Paragraph to
1489          InsetVSpace
1490
1491         * BufferView_pimpl.C:
1492         * factory.C:
1493         * lyxfunc.C:
1494         * lyxtext.h:
1495         * output_latex.C:
1496         * paragraph.C:
1497         * paragraph_funcs.C:
1498         * rowpainter.[Ch]:
1499         * text.C:
1500         * text2.C:
1501         * text3.C: adjust
1502
1503 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1504
1505         * factory.C: Syntax change for CharStyles
1506
1507 2003-11-28  André Pönitz  <poenitz@gmx.net>
1508
1509         * BufferView.[Ch]:
1510         * BufferView.[Ch]:
1511         * buffer.[Ch]:
1512         * buffer.[Ch]: move LyXText member
1513
1514 2003-11-28  André Pönitz  <poenitz@gmx.net>
1515
1516         * BufferView.[Ch]: make LyXText * text a private member
1517
1518         * BufferView_pimpl.C:
1519         * cursor.C:
1520         * iterators.C:
1521         * lyx_cb.C:
1522         * lyxfind.C:
1523         * lyxtext.h:
1524         * rowpainter.[Ch]:
1525         * text.C:
1526         * text2.C:
1527         * undo.C: adjust
1528
1529         * output_plaintext.C: cleanup
1530
1531 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1532
1533         * buffer.C:
1534         * lyxtextclass.[Ch]: parametrize SGML document header
1535
1536 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1537
1538         * converter.[Ch]:
1539         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1540         getFlavor().
1541
1542 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1543
1544         * text2.C (setFont): rework using PosIterator (no more recursive)
1545         (setCharFont): no more needed
1546         (setLayout): no more selection cursors fiddling (done by redoCursor)
1547         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1548         destroy remaining ones)
1549
1550 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1551
1552         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1553         * lyxtext.h: ditto
1554         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1555         selection cursors
1556         * lyxfunc.C: adjust
1557         * text3.C: adjust + re-allow multi par depth changes
1558         * textcursor.C: simplify a bit
1559
1560 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1561
1562         * src/buffer.C:
1563         * src/lyxlayout.C:
1564         * src/lyxlayout.h:
1565         * src/lyxtext.h:
1566         * src/output_docbook.C:
1567         * src/output_latex.C:
1568         * src/paragraph.C:
1569         * src/paragraph.h:
1570         * src/sgml.C:
1571         * src/sgml.h:
1572         * src/text2.C: Introducing a number of tags parametrizing various
1573         XML formats that we may want to support
1574
1575 2003-11-25  André Pönitz  <poenitz@gmx.net>
1576
1577         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1578
1579         * lyxtext.h (leftMargin/rightMargin): simplify interface
1580
1581         * rowpainter.C:
1582         * text.C:
1583         * text2.C:
1584         * text3.C: adjust
1585
1586 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1587
1588         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1589         master file to any child files. Fixes bug 546.
1590
1591 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1594
1595 2003-11-24  André Pönitz  <poenitz@gmx.net>
1596
1597         * rowpainter.C: simplification
1598
1599         * text2.C (updateCounters): remove call to redoParagraph on
1600         changed labels as this is far too expensive.
1601
1602 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1603
1604         * converter.C (convert): fix a crash: this function gets
1605         called with buffer == 0 from importer code.
1606
1607 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1608
1609         * text3.C (cursorPrevious): make sure that we do not compare
1610         iterators form different containers.
1611         (cursorNext): ditto
1612
1613         * rowpainter.C (paintSelection): make sure that we do not compare
1614         iterators from different containers.
1615
1616         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1617         iterators from different ParagraphList containers.
1618         [NEXT] ditto
1619
1620         * text2.C (LyXText): change order of initialization slightly
1621         (operator=): new function. copy all variables except cache_par_
1622         (moveUp): make sure that we do not compare iterators from
1623         different ParagraphList constainers.
1624         (moveDown): ditto
1625
1626         * text.C (firstPar): new function
1627         (lastPar): new function
1628         (endPar): new function
1629
1630         * lyxtext.h: move things around and group public functions, public
1631         variables, private functions, private variables
1632
1633 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1634
1635         * factory.C: change call to InsetERT constructor to avoid
1636         additional invocation of method status
1637         * text2.C (toggleInset): remove redundant update() call
1638         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1639         instead of a Bufferview pointer
1640
1641 2003-11-21  André Pönitz  <poenitz@gmx.net>
1642
1643         * rowpainter.C: simplification
1644
1645 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1646
1647         * text3.C (dispatch): make possible to extend a word/row selection
1648         with the mouse
1649
1650 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1651
1652         * lyxtext.h: x0_,y0_ -> xo_,yo_
1653         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1654         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1655         * rowpainter.C (paintRows): paint full paragraphs
1656
1657 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1658
1659         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1660         screen coordinates)
1661
1662 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * lyxtext.h: add x0_, y0_
1665         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1666         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1667
1668 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * text2.C (setCursorIntern): move the x_target update here *
1671         * text3.C: change some bv() to true/false in calls to
1672         cursorUp/Down/Right/Left
1673         * cursor.C: use helper function.
1674
1675 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1676
1677         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1678         * paragraph_funcs.[Ch]: correct comment
1679         * rowpainter.C: do not paint selections away from bv->cursor()
1680         Fix a long standing selection painting bug.
1681         * text3.C: generalize mouse-selection code to LyXTexts other that
1682         top one
1683         * textcursor.C: do not use y coords if we can use par offsets
1684
1685 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1686
1687         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1688         cursor position after e.g. inset insert)
1689
1690 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * lyxfind.C (replace): adjust to locking removal + some
1693         code simplification
1694
1695 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1698         of the path
1699
1700 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1701
1702         * lyxlayout.[Ch]:
1703         * output_docbook.C: XML sanitation: new layout
1704         parameters InnerTag and CommandDepth
1705
1706 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1707
1708         * BufferView_pimpl.C:
1709         * factory.C:
1710         * text3.C: Fix the insertion and modification of button-style
1711         insets
1712
1713 2003-11-13  André Pönitz  <poenitz@gmx.net>
1714
1715         * InsetList.[Ch]: remove deleteLyXText
1716
1717         * paragraph.[Ch]: cache beginOfBody position
1718
1719         * Bidi.C:
1720         * text.C:
1721         * text2.C:
1722         * text3.C: remove superfluous update() calls
1723
1724         * vspace.C: cleanup
1725
1726 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1727
1728         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1729         * BufferView.C (fitLockedInsetCursor): remove
1730         * cursor.[Ch] (getDim): add
1731         * text.C (getRowNearY): add faster version
1732         * text3.C: remove some update calls
1733
1734 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1735
1736         * LaTeXFeatures.C:
1737         * LyXAction.C:
1738         * MenuBackend.C:
1739         * MenuBackend.h:
1740         * dispatchresult.h:
1741         * factory.C:
1742         * lfuns.h:
1743         * lyxfunc.C:
1744         * lyxtextclass.C:
1745         * lyxtextclass.h:
1746         * text3.C: The Character Style /XML short element patch.
1747
1748 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1749
1750         * text3.C:
1751         * factory.C: Small step to solving 'unable to insert some insets'
1752         problem
1753
1754 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1755
1756         * cursor.[Ch] (updatePos): new function for updating the y
1757         position of the tip inset
1758         * bufferview_funcs.C (put_selection_at):
1759         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1760
1761 2003-11-11  André Pönitz  <poenitz@gmx.net>
1762
1763         * text.C: remove big comment on invalid Paragraph pointers as it is
1764         not valid anymore
1765
1766 2003-11-11  André Pönitz  <poenitz@gmx.net>
1767
1768         * text_funcs.[Ch]: merge with ...
1769
1770         * text.C: ... this
1771
1772         * lyxtext.h:
1773         * text2.C:
1774         * text3.C: adjust
1775
1776         * Makefile.am: remove text_funcs.[Ch]
1777
1778 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1779
1780         * cursor.C (getPos): return absolute cached y coord
1781
1782         * BufferView_pimpl.C (fitCursor): new simplistic code
1783         (workAreaDispatch): add a fitCursor call
1784
1785 2003-11-10  André Pönitz  <poenitz@gmx.net>
1786
1787         * BufferView.[Ch]:
1788         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1789
1790 2003-11-10  André Pönitz  <poenitz@gmx.net>
1791
1792         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1793         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1794         indicate that the cursor needs to leave an inset
1795
1796         * lyxtext.h: remove inset locking
1797
1798         * cursor.[Ch]: re-implement functionality provided by inset locking
1799
1800         * BufferView.[Ch]:
1801         * BufferView_pimpl.[Ch]:
1802         * LyXAction.C:
1803         * bufferview_funcs.[Ch]:
1804         * factory.C:
1805         * funcrequest.[Ch]:
1806         * iterators.C:
1807         * lyx_cb.C:
1808         * lyxfind.C:
1809         * lyxfunc.C:
1810         * text.C:
1811         * text2.C:
1812         * text3.C:
1813         * undo.C: adjust
1814
1815 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1816
1817         * PosIterator.[Ch]: replace the stack with a vector, add inset
1818         accesor
1819         * iterators.[C]: adjust
1820
1821 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1822
1823         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1824         replaced
1825         * paragraph_funcs.C (readParToken): put the correct id in the
1826         error item, not the id of the top paragraph
1827
1828 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1829
1830         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1831         * bufferview_funcs.C (put_selection_at): use the above
1832
1833 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1834
1835         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1836
1837 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * output_linuxdoc.h:
1840         * output_plaintext.h:
1841         * output.h:
1842         * output_docbook.h: add #include statements
1843
1844 2003-11-05  José Matos  <jamatos@lyx.org>
1845
1846         * output_docbook.[Ch]:
1847         * output_latex.[Ch]:
1848         * output_linuxdoc.[Ch]:
1849         * output_plaintext.[Ch]: New files for output formats.
1850         * output.[Ch]: New file for helper functions.
1851
1852         * buffer.[Ch]:
1853         * paragraph_funcs.[Ch]: output functions moved to new files.
1854
1855         * outputparams.h: rename of latexrunparams.h
1856
1857         * LaTeX.[Ch]:
1858         * buffer.[Ch]:
1859         * bufferlist.[Ch]:
1860         * converter.[Ch]:
1861         * exporter.C:
1862         * paragraph.[Ch]:
1863         * paragraph_funcs.[Ch]:
1864         * paragraph_pimpl.[Ch]:
1865         * tabular.[Ch]: rename ascii to plaintext
1866         and LatexRunParams to OutputParams.
1867
1868 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1869
1870         * iterators.[Ch] (text): require bv argument
1871         * undo.C (recordUndo):
1872         * lyxfunc.C (dispatch):
1873         * bufferview_funcs.C (put_selection_at): adjust
1874
1875 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1876
1877         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1878
1879 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1880
1881         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1882         nestings
1883
1884 2003-11-04  André Pönitz  <poenitz@gmx.net>
1885
1886         * cursor.[Ch]: restructure
1887
1888         * BufferView.[Ch]:
1889         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1890
1891         * iterators.[Ch] (asCursor): remove
1892
1893         * lfuns.h: remove LFUN_INSET_EDIT
1894
1895         * lyxfunc.C:
1896         * tabular.C:
1897         * text.C:
1898         * text2.C:
1899         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1900
1901 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1902
1903         * lyxfind.[Ch]: complete overhaul
1904         * BufferView_pimpl.C:
1905         * lyxfunc.C: adjust
1906         * paragraph.[Ch] (insert): add
1907
1908 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1909
1910         * BufferView.[Ch]:
1911         * lyxtext.h:
1912         * text.C: remove dead spellcheck code
1913
1914 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1915
1916         * dispatchresult.h: add a val setter
1917
1918         * cursor.C (dispatch): use a tempvar for data_[i]
1919
1920 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1921
1922         * PosIterator.[Ch]: compile fix
1923
1924 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1925
1926         * text.C (cursorPar): deactivate the cursor cache
1927
1928 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1929
1930         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1931
1932 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1933
1934         * text3.C (dispatch): adjust for new DisptchResult semantics.
1935
1936         * lyxfunc.C (dispatch): handle update when return from
1937         Cursor::dispatch, adjust for new DispatchResult semantics.
1938
1939         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1940         DispatchResult(true) mean to not update. Add class functions for
1941         setting dispatched and update, as well as reading.
1942
1943         * cursor.C (dispatch): don't handle update here
1944
1945 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1946
1947         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1948         * trans_mgr.C: adjust
1949
1950         * paragraph_funcs.C (readParToken): exception safety
1951
1952         * lyxvc.h: store the vcs pointer in a scoped_ptr
1953         * lyxvc.C: adjust
1954
1955         * lyxsocket.C (serverCallback): exception safety
1956
1957         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1958
1959         * ispell.C (clone): make it return a auto_ptr
1960
1961         * factory.C (createInset): exception safety
1962         (readInset): exception safety
1963
1964         * bufferlist.C (newBuffer): exception safety
1965
1966         * Thesaurus.C (Thesaurus): use initialization for aik_
1967
1968         * MenuBackend.C (expandToc): exception safety.
1969
1970 2003-11-03  André Pönitz  <poenitz@gmx.net>
1971
1972         * buffer.C:
1973         * buffer.h:
1974         * bufferview_funcs.C: remove getInsetFromId()
1975
1976         * lyxcursor.[Ch]:
1977         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1978
1979         * lyxfunc.C:
1980         * text2.C:
1981         * text3.C: adjust
1982
1983 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1984
1985         * PosIterator.C (distance, advance): new
1986         * bufferview_funcs.[Ch] (put_selection_at): new
1987         * iterators.[Ch] (lockPath): new
1988
1989 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1990
1991         * iterators.[Ch] (asPosIterator): added
1992         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1993         * PosIterator.[Ch]: added
1994
1995 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1996
1997         * text3.C:
1998         * lyxfunc.C:
1999         * cursor.C (dispatch):
2000         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2001
2002         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2003         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2004         contructor, add a class function dispatched. Remove operator>=
2005
2006 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2007
2008         * debug.C: only use the default constructor for debugstream
2009         (lyxerr) here.
2010
2011         * main.C (main): include debug.h and setup the lyxerr streambuf
2012         here.
2013
2014 2003-10-31  José Matos  <jamatos@lyx.org>
2015
2016         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2017
2018         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2019         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2020         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2021         * paragraph_pimpl.C (simpleTeXSpecialC):
2022         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2023         add LatexRunParams argument.
2024
2025         * exporter.C (Export): change call accordingly.
2026
2027         * latexrunparams.h: add new member to take care of the other backends.
2028 2003-10-30  José Matos  <jamatos@lyx.org>
2029
2030         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2031         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2032         factorise code for paragraph output.
2033         * buffer.[Ch]:
2034         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2035         move functions.
2036
2037 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2038
2039         * text3.C (dispatch):
2040         * lyxfunc.C (dispatch):
2041         * cursor.C (dispatch):
2042         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2043
2044         * dispatchresult.h: make the dispatch_result_t ctor explicit
2045
2046 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2047
2048         * sgml.[Ch]:
2049         * buffer.C: small refactoring of docbook stuff
2050
2051 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2052
2053         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2054         meaning.
2055
2056 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2057
2058         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2059         operator dispatch_result_t, and operators for == != and >=
2060
2061         * cursor.C (dispatch): adjust for operator dispatch_result_t
2062         removal. comment out call to update
2063
2064         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2065
2066 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * text3.C:
2069         * text2.C:
2070         * text.C:
2071         * lyxtext.h:
2072         * lyxfunc.C:
2073         * cursor.C:
2074         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2075         (dispatch):
2076
2077         * dispatchresult.h: new file, DispatchResult broken out of
2078         insets/insetbase.h
2079
2080         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2081
2082 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2083
2084         * text.C (rowBreakPoint): put a hack inside #if 0
2085
2086 2003-10-28  André Pönitz  <poenitz@gmx.net>
2087
2088         * lyxtext.h:
2089         * metricsinfo.C:
2090         * paragraph_funcs.C:
2091         * rowpainter.C:
2092         * text.C:
2093         * text2.C: general cleanup (lots of small stuff)
2094
2095 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * text2.C (cursorEnd): simple fix to the "end key goes to one
2098         before the end on last row" bug
2099
2100 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2101
2102         * text.C (backspace): fix the "zombie characters"
2103
2104 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2107
2108 2003-10-27  André Pönitz  <poenitz@gmx.net>
2109
2110         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2111
2112         * factory.C: handle new InsetPagebreak, InsetLine
2113
2114         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2115         and move handling into new InsetPagebreak, InsetLine
2116
2117         * BufferView_pimpl.C:
2118         * LyXAction.C:
2119         * ParagraphParameters.C:
2120         * ParameterStruct.h:
2121         * lyxfunc.C:
2122         * lyxtext.h:
2123         * paragraph.C:
2124         * paragraph.h:
2125         * paragraph_funcs.C:
2126         * paragraph_pimpl.C:
2127         * rowpainter.C:
2128         * text.C:
2129         * text2.C:
2130         * text3.C: adjust
2131
2132 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2133
2134         * text.C:
2135         * lyxrow_funcs.[Ch]:
2136         * Bidi.C:
2137         * paragraph.C:
2138         * lyxtext.h:
2139         * rowpainter.C:
2140         * text2.C:
2141         * text3.C: remove lastPos uses in favour of Row::endpos
2142
2143 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2144
2145         * undo.C (performUndoOrRedo): fix two crashes by setting a
2146         cursor by hand and reordering some calls. Use bv->lockInset instead
2147         of inset->edit because the latter loses cursor information
2148
2149 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2150
2151         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2152         by Martin
2153         (rowBreakPoint): fix width. change point to point + 1.
2154         Add a missing check.
2155
2156 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2157
2158         * MenuBackend.C:
2159         * lyxfunc.C: fix (at least partly) the problems
2160         with the Nav menu and headers inside branch insets
2161         reported by Kayvan
2162
2163 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2164
2165         * paragraph.C (getChar): add strong asserts
2166
2167         * lyxrow_funcs.C (lastPos): remove hideous hack
2168
2169         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2170         (fill): adjust to that (avoid an infinite loop)
2171
2172 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2173
2174         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2175
2176 2003-10-23  André Pönitz  <poenitz@gmx.net>
2177
2178         * RowList_fwd.h: change list<> to vector<> to gain speed
2179         after suggestion from Alfredo
2180
2181 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2182
2183         * lyxtext.h: move the bidi stuff from here...
2184         * text.C: and here
2185         * text2.C: and here
2186         * Bidi.[Ch]: ... to here
2187
2188 2003-10-23  André Pönitz  <poenitz@gmx.net>
2189
2190         * lyxtext.h:
2191         * text.C (isLastRow, isFirstRow): new functions
2192
2193         * paragraph.h: new width cache member
2194
2195         * rowpainter.C: replace RowList::iterator with Row & where possible
2196
2197         * lyxfunc.C: replace several view()->text with a single call
2198
2199         * toc.C: fix 'unused' warning
2200
2201 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2204         when woring with stream::pos_type
2205         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2206
2207 2003-10-22  André Pönitz  <poenitz@gmx.net>
2208
2209         * lyxtext.h:
2210         * text.C: use Row & instead of RowList::iterator
2211
2212         * lyxrow.h: rename end() to endpos()
2213
2214         * rowpainter.C:
2215         * text.C:
2216         * text2.C: adjust
2217
2218 2003-10-22  Angus Leeming  <leeming@lyx.org>
2219
2220         * buffer.[Ch] (fully_loaded): new member function, returning true
2221         only when the file has been loaded fully.
2222         Used to prevent the premature generation of previews and by the
2223         citation inset to prevent computation of the natbib-style label.
2224
2225         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2226         templates are all set up.
2227
2228         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2229
2230 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2231
2232         * text.C: fixed an "oops" in the "is a bit silly"
2233         bug fix
2234
2235 2003-10-21  André Pönitz  <poenitz@gmx.net>
2236
2237         * FuncStatus.[Ch]: small stuff, whitespace
2238
2239         * lyxfont.[Ch]: operator<<() for debug reasons
2240
2241         * lyxfunc.C:
2242         * lyxrow_funcs.C:
2243         * lyxtext.h: whitespace, spelling
2244
2245         * paragraph.C: naming of variables
2246
2247         * text.C:
2248         * text2.C: small stuff
2249
2250
2251 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2252
2253         * text.C: (1) finish off the inset display() work;
2254         (2) fix the "is a bit silly" bug (accessing char
2255         past end of par).
2256
2257 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2258
2259         * text.C: re-introduce display() for insets, fixing the
2260         various bugs (stretch of line above, math inset
2261         positioning, ...)
2262
2263 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * text.C (rightMargin): remove spurious semicolon
2266
2267         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2268         1415)
2269
2270 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2271
2272         * text3.C: fix one crash due to wrong cursor def
2273
2274 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2275
2276         * vc-backend.C (scanMaster): make the regex static
2277
2278         * LaTeX.C (scanAuxFile): make the regexs static
2279
2280         * text3.C (doInsertInset, dispatch, dispatch):
2281         * text2.C (cursorUp, cursorDown):
2282         * text.C (selectNextWordToSpellcheck):
2283         * BufferView_pimpl.C (dispatch):
2284         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2285
2286 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2287
2288         * lyxsocket.C: include <cerrno>
2289
2290 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2291
2292         * lyxfunc.C (dispatch): remove textcache stuff
2293
2294         * bufferlist.C (release): remove textcache stuff
2295         (closeAll): ditto
2296
2297         * TextCache.C: delete file
2298         * TextCache.h: delete file
2299
2300         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2301
2302         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2303         delete of the bv_->text.
2304         (resizeCurrentBuffer): remove texcache stuff
2305         (workAreaResize): ditto
2306
2307 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2308
2309         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2310         action.
2311
2312 2003-10-16  André Pönitz  <poenitz@gmx.net>
2313
2314         * lyxrow.[Ch]:
2315         * paragraph.h:
2316         * rowpainter.C:
2317         * text.C:
2318         * text2.C:
2319         * text3.C: speed up by storing y positions per paragraph plus per-row
2320         offset instead of having a 'full' y position in the row.
2321
2322 2003-10-15  André Pönitz  <poenitz@gmx.net>
2323
2324         * iterators.[Ch]:
2325         * iterators.[Ch]:
2326         * undo.[Ch]: make undo aware of inner insets
2327
2328 2003-10-14  Angus Leeming  <leeming@lyx.org>
2329
2330         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2331         static member functions LyX::ref() and LyX::cref.
2332         (lastfiles): new accessor functions for the new lastfiles_ member var.
2333         (addLyXView, views_): add a new LyXView to the list of views_.
2334         (updateInset): loop over all LyXViews to call their own updateInset
2335         member function, returning a pointer to the Buffer owning the inset.
2336
2337         * BufferView_pimpl.C (loadLyXFile):
2338         * MenuBackend.C (expandLastfiles):
2339         * bufferlist.C (MenuWrite, QuitLyX):
2340         lastfiles is no longer a global variable.
2341         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2342
2343         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2344         static function. Access through LyX::cref().emergencyCleanup().
2345
2346 2003-10-14  André Pönitz  <poenitz@gmx.net>
2347
2348         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2349
2350         * undo.[Ch]: restoring part of 'undo in insets'
2351
2352         * Makefile.am:
2353         * undo_funcs.[Ch]: merge with undo.[Ch]
2354
2355         * tabular.C: small cleansing stuff
2356
2357 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2358
2359         * paragraph_funcs.C (readParToken): report unknown insets as error
2360         boxes. Use the outer paragraph as location (also for unknown
2361         tokens).
2362
2363         * factory.C (readInset): do not abort on reading an unknown inset.
2364         Eat it and return 0.
2365
2366 2003-10-13  Angus Leeming  <leeming@lyx.org>
2367
2368         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2369
2370         * lyxrc.C: displayTranslator is now a function,
2371         declared in GraphicsTypes.h.
2372
2373 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2374
2375         * format.C: new placeholder $$a to pass the socket address.
2376
2377         * bufferlist.[Ch]: new function getBufferFromTmp.
2378
2379         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2380           files in the temporary dir.
2381
2382 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2383
2384         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2385
2386         * Makefile.am: add lyxsocket.[Ch].
2387
2388         * lyx_main.C (error_handler): handle SIGPIPE.
2389
2390 2003-10-13  André Pönitz  <poenitz@gmx.net>
2391
2392         * BufferView_pimpl.C:
2393         * lyxtext.h:
2394         * text.C:
2395         * text2.C:
2396         * text3.C:
2397         * undo_funcs.[Ch]: use paroffset_type instead of
2398           ParagraphList::iterators to prevent multiple conversion
2399           (and get a more robust interface)
2400
2401 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2402
2403         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2404         * lyxtext.h: ditto
2405         * text3.C (dispatch): ditto
2406
2407 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2410         move the onlyfile, use onlyfile instead of foundfile in a couple
2411         of places.
2412
2413         * DepTable.C (update): flush the error stream a bit more
2414
2415 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2416
2417         * lyxserver.C (callback): adjust
2418
2419         * lyxfunc.C (getStatus): add a missing brace in commented code
2420         (ensureBufferClean): reindent
2421         (dispatch): delete version taking a string
2422
2423 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2424
2425         * LaTeX.C (deplog): move found file handlig from here...
2426         (handleFoundFile): .. to new function here.
2427         (deplog): make sure to discover several files mentioned on the
2428         same log line.
2429
2430 2003-10-10  André Pönitz  <poenitz@gmx.net>
2431
2432         * lyxfunc.C:
2433         * lyxtext.h:
2434         * tabular.C:
2435         * text.C:
2436         * text2.C:
2437         * text3.C: fix some of the tabular crashes
2438
2439 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2440
2441         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2442
2443         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2444
2445 2003-10-09  André Pönitz  <poenitz@gmx.net>
2446
2447         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2448
2449         * BufferView.C:
2450         * BufferView_pimpl.C:
2451         * bufferview_funcs.C:
2452         * lyx_cb.C:
2453         * lyxcursor.C:
2454         * lyxfind.C:
2455         * lyxfunc.C:
2456         * lyxtext.h:
2457         * text.C:
2458         * text2.C:
2459         * text3.C:
2460         * text_funcs.[Ch]:
2461         * textcursor.[Ch]:
2462         * undo_funcs.C: adjust
2463
2464 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * text2.C (incrementItemDepth): new function, use a backtracking
2467         algorithm to discover the correct item depth.
2468         (resetEnumCounterIfNeeded): new function, use a backtracking
2469         algorithm to discover if counter reset is needed.
2470         (setCounter): use them. Simplify a bit. Add different labels for
2471         different item depths for itemize.
2472
2473         * paragraph.C (Paragraph): remove initialization of enumdepth
2474         (operator=): ditto
2475
2476         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2477         enumerate and itemize. Change the type of itemdepth to signed char.
2478
2479 2003-10-08  André Pönitz  <poenitz@gmx.net>
2480
2481         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2482           thing assignable.
2483         * text.C:
2484         * text2.C: adjust
2485
2486         * tabular.[Ch]: fix crash after 'row-insert'
2487
2488 2003-10-08  Angus Leeming  <leeming@lyx.org>
2489
2490         Fix doxygen warnings.
2491
2492         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2493         Remove CutAndPaste:: prefix from header file declaration.
2494
2495         * LColor.h (fill): remove LColor:: prefix from declaration.
2496
2497         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2498         use lyx::depth_type rather than Paragraph::depth_type so that
2499         header file and .C file match.
2500
2501         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2502
2503         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2504         * aspell.C: \file aspell_local.C -> \file aspell.C
2505         * gettext.C: \file gettext.C -> \file src/gettext.C
2506         * gettext.h: \file gettext.h -> \file src/gettext.h
2507         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2508         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2509         * text.C: \file text.C -> \file src/text.C
2510
2511         * toc.C: move comment so that doxygen is not confused.
2512
2513 2003-10-07  Angus Leeming  <leeming@lyx.org>
2514
2515         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2516
2517 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2518
2519         * aspell.C:
2520         * aspell_local.h: add forgotten std::string's.
2521
2522 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2523
2524         * LaTeXFeatures.C:
2525         * LyXAction.C:
2526         * factory.C:
2527         * lfuns.h:
2528         * lyxfunc.C:
2529         * text3.C: The Box patch. Fancybox support, minipage, parbox
2530
2531 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2532
2533         * CutAndPaste.h:
2534         * DepTable.h:
2535         * FloatList.h:
2536         * LaTeXFeatures.h:
2537         * ParagraphParameters.h:
2538         * TextCache.h:
2539         * Thesaurus.h:
2540         * bufferlist.h:
2541         * exporter.h:
2542         * importer.h:
2543         * lastfiles.h:
2544         * lyxfind.h:
2545         * lyxfont.h:
2546         * lyxlex.h:
2547         * lyxtextclasslist.h:
2548         * messages.h:
2549         * paragraph.h:
2550         * paragraph_pimpl.C:
2551         * textcursor.h: add <string> and other small fixes to make Lars'
2552         std::string patch compile with STLport.
2553
2554 2003-10-06  Angus Leeming  <leeming@lyx.org>
2555
2556         * LColor.h: Add missing #include <string>.
2557
2558 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2559
2560         * All most all file in all subdirs: Make <string> be the prefered
2561         way of getting to std::string, add using declarations.
2562
2563 2003-10-06  André Pönitz  <poenitz@gmx.net>
2564
2565         * metricsinfo.C: initialize LyXFont before changing attribute.
2566         (fixes the 'math in \emph is upright' bug)
2567
2568 2003-10-06  André Pönitz  <poenitz@gmx.net>
2569
2570         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2571
2572 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2573
2574         * graph.C:
2575         * paragraph_pimpl.C: Small fixes to build using STLport
2576
2577 2003-10-02  André Pönitz  <poenitz@gmx.net>
2578
2579         * lyxfunc.C:
2580         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2581
2582 2003-10-01  André Pönitz  <poenitz@gmx.net>
2583
2584         * factory.C: assert early
2585
2586 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * lyx_main.C: remove the global debug object
2589
2590         * debug.h: adjust for new debugstream
2591
2592         * debug.C: adjust for new debugstream and keep the global debug
2593         object here.
2594
2595 2003-09-22  Angus Leeming  <leeming@lyx.org>
2596
2597         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2598         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2599         an incomplete class LyXFont.
2600
2601 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2602
2603         * factory.C: bug fix in branches
2604
2605 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2606
2607         * lyxfunc.C (processKeySym): adjust
2608         (dispatch): adjust
2609         (dispatch): change arg name from ev to func, adjust
2610         (sendDispatchMessage): ditto
2611
2612         * lyx_main.C (defaultKeyBindings): adjust keybindings
2613         (deadKeyBindings): ditto
2614
2615         * kbsequence.C (addkey): return a FuncRequest
2616
2617         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2618
2619         * kbmap.C (bind): take a FuncRequest as arg, adjust
2620         (read): adjust
2621         (lookup): adjust
2622         (defkey): change to take a FuncRequest as arg, adjust
2623         (findbinding): take a FuncRequest as arg, adjust.
2624
2625         * funcrequest.h (operator=): added
2626
2627         * funcrequest.C (FuncRequest): default kb_action changed from
2628         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2629
2630         * buffer.C (dispatch): simplify
2631         (dispatch): adjust to take a FuncRequest as arg, adjust
2632
2633         * boost.C (assertion_failed): change assertion message slightly
2634
2635         * ToolbarBackend.C (read): simplify
2636
2637         * MenuBackend.C (binding): adjust call to findbinding, add a
2638         message if no binding is found.
2639         (read): simplify
2640         (expandToc): correct by adding a empty FuncRequest
2641
2642         * LyXAction.C: include <boost/assert.hpp>
2643         (isPseudoAction): delete function
2644         (LookupFunc): change name to...
2645         (lookupFunc): this. change return type to FuncRequest.
2646         (getActionName): take kb_action as arg, simplify
2647         (funcHasFlag): add an assert, simplify.
2648
2649 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * toc.C (action): return a FuncRequest, simplify
2652
2653         * lyxfunc.C (processKeySym): adjust
2654         (getStatus): delete version that takes an int.
2655         (getStatus): adjust
2656         (dispatch): delete version that takes action as int
2657         (dispatch): adjust
2658         (sendDispatchMessage): simplify and adjust
2659
2660         * funcrequest.C (getArg): take unsigned int as arg
2661
2662         * ToolbarBackend.C (read): adjust
2663         (add): delete version that takes func as a string.
2664         (getIton): take a FuncRequest as arg
2665
2666         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2667         action.
2668
2669         * MenuBackend.C (MenuItem): add a new construct that only takes a
2670         Kind, simplify the constructor use for submenus.
2671         (add): adjust
2672         (expandLastfiles): adjust
2673         (expandDocuments): adjust
2674         (expandFormats): adjust
2675         (expandFloatListInsert): adjust
2676         (expandFloatInsert): adjust
2677         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2678
2679         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2680         Remove class variables lyx_pseudo_map and lyx_arg_map
2681
2682         * LyXAction.C (searchActionArg): delete function
2683         (getPseudoAction): delete function
2684         (retrieveActionArg): delete function
2685         (LookupFunc): make it return kb_action, simplify.
2686         (getActionName): simplify
2687
2688         * factory.C (createInset): fix new bug
2689
2690 2003-09-19  Angus Leeming  <leeming@lyx.org>
2691
2692         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2693         masterFilename_ parameter in the include inset.
2694
2695         * factory.C (createInset): changes due to the changes to InsetInclude.
2696
2697 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2698
2699         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2700
2701 2003-09-18  Angus Leeming  <leeming@lyx.org>
2702
2703         * buffer.C:
2704         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2705         Inset::fillWithBibKeys.
2706         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2707
2708 2003-09-18  Angus Leeming  <leeming@lyx.org>
2709
2710         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2711         variables.
2712         (ctor): pass and store a 'Buffer const &'
2713         (buffer): new member function.
2714
2715         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2716         '*this' to the LaTeXFeatures ctor.
2717
2718 2003-09-18  Angus Leeming  <leeming@lyx.org>
2719
2720         * LColor.h:
2721         * lyxfont.C:
2722         * lyxfont.h:
2723         * lyxtext.h:
2724         * text.C: rename EnumLColor as LColor_color.
2725
2726 2003-09-18  Angus Leeming  <leeming@lyx.org>
2727
2728         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2729         remove #include "insets/insetbase.h" from cursor.h.
2730
2731 2003-09-18  Angus Leeming  <leeming@lyx.org>
2732
2733         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2734         InsetOld_code to remove #include "inset.h".
2735
2736         * iterators.C: add #include "insets/inset.h"
2737
2738 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2739
2740         * BufferView.C: remove more locking stuff that apparently doesn't
2741         do anything sensible.
2742
2743 2003-09-16  André Pönitz  <poenitz@gmx.net>
2744
2745         * paragraph.[Ch]:
2746         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2747           performance boost.
2748
2749 2003-09-16  Angus Leeming  <leeming@lyx.org>
2750
2751         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2752
2753         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2754         arg/return type.
2755
2756         * paragraph.h: remove #include "lyxfont.h". Forward declare
2757         LyXFont_size.
2758
2759 2003-09-16  Angus Leeming  <leeming@lyx.org>
2760
2761         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2762         of support/textutils.h.
2763         (isWord): move the contents of support/textutils.h's IsWordChar here.
2764
2765         * buffer.C:
2766         * lyxfind.C:
2767         * rowpainter.C:
2768         * text.C:
2769         * text2.C: add #include "paragraph.h".
2770
2771         * rowpainter.C:
2772         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2773
2774 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2775
2776         * main.C:
2777         * lyx_main.C:
2778         * lyx_cb.C:
2779         * buffer.C:
2780         * LaTeX.C: use namespace alias for lyx::support::os
2781
2782 2003-09-16  Angus Leeming  <leeming@lyx.org>
2783
2784         * bufferparams.C:
2785         * bufferview_funcs.C:
2786         * factory.C:
2787         * lyxfunc.C:
2788         * paragraph_pimpl.C:
2789         * rowpainter.C:
2790         * text.C: add #include "LColor.h".
2791
2792 2003-09-16  Angus Leeming  <leeming@lyx.org>
2793
2794         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2795         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2796         return LyXFont &.
2797         Store the FontBits::color variable as an int rather than as an
2798         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2799         file.
2800
2801         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2802         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2803         string calls together.
2804
2805         * lyxrc.C: add #include "LColor.h".
2806
2807 2003-09-15  Angus Leeming  <leeming@lyx.org>
2808
2809         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2810         a cow_ptr.
2811
2812 2003-09-15  Angus Leeming  <leeming@lyx.org>
2813
2814         * LColor.h: add an EnumLColor wrapper for LColor::color.
2815
2816         * lyxfont.[Ch] (color, setColor, realColor):
2817         * lyxtext.h, text.C (backgroundColor):
2818         pass EnumLColor args to/from the functions, rather than LColor::color
2819         ones.
2820
2821         * lyxfont.h:
2822         * lyxtext.h: forward declare EnumLColor.
2823
2824         * lyx_main.C: add #include "LColor.h".
2825
2826 2003-09-15  Angus Leeming  <leeming@lyx.org>
2827
2828         * .cvsignore: add lyx-gtk.
2829
2830 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * Chktex.C
2833         * LaTeX.C
2834         * LaTeXFeatures.C
2835         * ParagraphParameters.C
2836         * Spacing.C
2837         * buffer.C
2838         * bufferparams.C
2839         * bufferview_funcs.C
2840         * chset.C
2841         * counters.C
2842         * funcrequest.C
2843         * lyxfont.C
2844         * lyxgluelength.C
2845         * lyxlength.C
2846         * paragraph.C
2847         * paragraph_funcs.C
2848         * text3.C
2849         * vc-backend.C: remove usage of STRCONV
2850
2851 2003-09-15  Angus Leeming  <leeming@lyx.org>
2852
2853         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2854         explicitly define the color passed to the painter.
2855
2856 2003-09-15  Angus Leeming  <leeming@lyx.org>
2857
2858         * bufferparams.C (BufferParams): reorder member initializers to avoid
2859         compiler warning.
2860
2861 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2864         * text.C (updateRowPositions): remove an unusual nop
2865
2866 2003-09-12  André Pönitz  <poenitz@gmx.net>
2867
2868         * BufferView_pimpl.C:
2869         * Bullet.C:
2870         * layout.h:
2871         * lyxfunc.C:
2872         * lyxlayout.[Ch]:
2873         * lyxtextclass.C:
2874         * rowpainter.C:
2875         * text.C:
2876         * text2.C:
2877         * Counters.[Ch]: finish the 'automatic counters' job
2878
2879 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2880
2881         * aspell.C: include <boost/assert.cpp> (compile fix)
2882
2883 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2884
2885         * boost.C (assertion_failed): use lyx::support::abort instead of
2886         assert.
2887
2888 2003-09-10  Angus Leeming  <leeming@lyx.org>
2889
2890         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2891         with their _fwd progeny.
2892
2893 2003-09-09  Angus Leeming  <leeming@lyx.org>
2894
2895         134 files throughtout the source tree: replace 'using namespace abc;'
2896         directives with the appropriate 'using abc::xyz;' declarations.
2897
2898 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2899
2900         * boost.C (emergencyCleanup): moved here from LAssert.c
2901         (assertion_failed): new function, called by BOOST_ASSERT
2902
2903         * several files: change Assert to BOOST_ASSERT
2904
2905 2003-09-09  Angus Leeming  <leeming@lyx.org>
2906
2907         * buffer.[Ch]: Add an Impl class and move Buffer's member
2908         variables into it. As a result move several header files out of
2909         buffer.h.
2910
2911         Add header files to lots of .C files all over the tree as a result.
2912
2913 2003-09-09  Angus Leeming  <leeming@lyx.org>
2914
2915         * buffer.[Ch]: make Buffer's member variables private. Add
2916         accessor functions.
2917
2918         Lots of changes all over the tree as a result.
2919
2920 2003-09-08  Angus Leeming  <leeming@lyx.org>
2921
2922         * graph.C: #include <config.h>.
2923
2924 2003-09-08  Angus Leeming  <leeming@lyx.org>
2925
2926         * BranchList.C:
2927         * BufferView.C:
2928         * BufferView_pimpl.C:
2929         * CutAndPaste.C:
2930         * DepTable.C:
2931         * LaTeX.C:
2932         * LaTeXFeatures.C:
2933         * LyXAction.C:
2934         * MenuBackend.C:
2935         * TextCache.C:
2936         * aspell.C:
2937         * buffer.C:
2938         * bufferlist.C:
2939         * changes.C:
2940         * chset.C:
2941         * converter.C:
2942         * counters.C:
2943         * debug.C:
2944         * graph.C:
2945         * ispell.C:
2946         * lyx_cb.C:
2947         * lyxfind.C:
2948         * lyxfunc.C:
2949         * lyxlex_pimpl.C:
2950         * lyxrc.C:
2951         * lyxrow.C:
2952         * paragraph.C:
2953         * rowpainter.C:
2954         * texrow.C:
2955         * text.C:
2956         * text2.C:
2957         * toc.C: remove redundant using directives.
2958
2959 2003-09-07  Angus Leeming  <leeming@lyx.org>
2960
2961         * LaTeXFeatures.h: remove #include "support/types.h".
2962         * ToolbarBackend.h: remove #include <algorithm>.
2963         * changes.h: remove #include <ctime>.
2964         * debug.h: remove #include <iosfwd>.
2965         * graph.h: remove #include "support/std_string.h".
2966         * lyx_main.h: remove #include <csignal>.
2967         * lyxlex_pimpl.h: remove #include <fstream>.
2968         * sgml.h: remove #include <algorithm>, <utility>.
2969         * toc.h: remove #include "support/std_ostream.h".
2970         Add #include <iosfwd>.
2971
2972 2003-09-07  Angus Leeming  <leeming@lyx.org>
2973
2974         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2975
2976         * converter.h: forward declare LatexRunParams.
2977         * encoding.h: remove #include "lyxrc.h".
2978         * lyxtext.h: remove #include "LColor.h".
2979         * lyxtextclass.h: remove #include "support/types.h".
2980         * trans.h: remove #include "tex-accent.h".
2981         * trans_mgr.h: remove #include "tex-accent.h".
2982         * insets/inset.h: remove #include "support/types.h", <vector>.
2983         * insets/insetcollapsable.h: remove #include "LColor.h".
2984         * insets/insetinclude.h: remove #include "dimension.h".
2985         * insets/insetlatexaccent.h: remove #include "dimension.h".
2986         * insets/insetoptarg.h:: remove #include "insettext.h".
2987         * insets/insettext.h: remove #include "dimension.h",
2988         <boost/shared_ptr.hpp>
2989
2990         * insets/renderers.h: add #include "dimension.h".
2991         * insets/updatableinset.h: add #include "support/types.h".
2992
2993         * many .C files: Associated changes.
2994
2995 2003-09-06  Angus Leeming  <leeming@lyx.org>
2996
2997         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2998         one, inside testInvariant.
2999
3000         * PrinterParams.C: new file.
3001         * PrinterParams.[Ch]: move the function bodies out of line.
3002
3003 2003-09-06  Angus Leeming  <leeming@lyx.org>
3004
3005         * ParagraphParameters.h: forward declare ParameterStruct rather than
3006         including its header file.
3007         (depth): moved out-of-line.
3008
3009 2003-09-06  Angus Leeming  <leeming@lyx.org>
3010
3011         * BufferView_pimpl.h:
3012         * kbmap.h:
3013         * kbsequence.h:
3014         * lyxfunc.h: forward declare LyXKeySym rather than
3015         #include "frontends/LyXKeySym.h".
3016
3017         * BufferView_pimpl.C:
3018         * kbmap.C:
3019         * kbsequence.C:
3020         * lyxfunc.C: associated changes.
3021
3022 2003-09-06  Angus Leeming  <leeming@lyx.org>
3023
3024         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3025         As a result, can remove the #include "insets/inset.h" from BufferView.h
3026
3027 2003-09-06  Angus Leeming  <leeming@lyx.org>
3028
3029         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3030         As a result, can remove the #include "insets/inset.h" from BufferView.h
3031
3032 2003-09-06  Angus Leeming  <leeming@lyx.org>
3033
3034         * buffer_funcs.C:
3035         * buffer.h:
3036         * bufferlist.C:
3037         * BufferView.C:
3038         * bufferview_funcs.C:
3039         * BufferView_pimpl.C:
3040         * CutAndPaste.C:
3041         * lyx_cb.C:
3042         * lyxfunc.C:
3043         * paragraph.h:
3044         * ParagraphParameters.C:
3045         * tabular.C:
3046         * text3.C:
3047         * toc.C:
3048         * undo_funcs.C:
3049         * frontends/controllers/ControlDocument.C:
3050         * insets/insetcaption.C: rearrange the #includes into some sort of
3051         coherent order.
3052
3053         * buffer.h: remove #includes ErrorList.h, undo.h
3054
3055 2003-09-06  Angus Leeming  <leeming@lyx.org>
3056
3057         * support/types.h: add a 'depth_type' typedef, used to store the
3058         nesting depth of a paragraph.
3059
3060         * paragraph.h:
3061         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3062         defining explicitly.
3063
3064         * buffer.h:
3065         * paragraph_funcs.h:
3066         * ParagraphParameters.h:
3067         * sgml.h: use lyx::depth_type rather than Paragraph or
3068         ParameterStruct's depth_type.
3069
3070         * buffer.h
3071         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3072
3073         * BufferView.C:
3074         * BufferView_pimpl.C:
3075         * CutAndPaste.C:
3076         * ParagraphParameters.C:
3077         * buffer_funcs.C:
3078         * bufferlist.C:
3079         * bufferview_funcs.C:
3080         * lyx_cb.C:
3081         * lyxfunc.C:
3082         * tabular.C:
3083         * text3.C:
3084         * toc.C:
3085         * undo_funcs.C:
3086         * frontends/LyXView.C:
3087         * frontends/controllers/ControlDocument.C:
3088         * frontends/controllers/ControlErrorList.C:
3089         * insets/insetbibitem.C:
3090         * insets/insetbranch.C:
3091         * insets/insetcaption.C:
3092         * insets/insetcollapsable.C:
3093         * insets/insetenv.C:
3094         * insets/insetert.C:
3095         * insets/insetfloat.C:
3096         * insets/insetfoot.C:
3097         * insets/insetfootlike.C:
3098         * insets/insetnewline.C:
3099         * insets/insetquotes.C:
3100         * insets/insettabular.C:
3101         * insets/insettext.C:
3102         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3103
3104         * frontends/controllers/ControlChanges.C: #include "changes.h".
3105
3106 2003-09-06  Angus Leeming  <leeming@lyx.org>
3107
3108         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3109         than #including paragraph.h.
3110
3111         * ParagraphList.h:
3112         * RowList.h: deleted. Superfluous.
3113
3114         * CutAndPaste.h:
3115         * iterators.h:
3116         * lyxcursor.h:
3117         * lyxtext.h:
3118         * text_funcs.h:
3119         * undo.h:
3120         * undo_funcs.h:
3121         * insets/inset.h:
3122         * insets/insettext.h: use ParagraphList_fwd.h rather than
3123         ParagraphList.h.
3124
3125         * paragraph.h: don't forward declare ParagraphList.
3126
3127         * buffer.h:
3128         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3129         rather than ParagraphList.h. paragraph.h is still needed for the
3130         Paragraph::depth_type parameters.
3131
3132         * textcursor.h: enable it to compile stand-alone in light of the
3133         above changes.
3134
3135         * bufferview_funcs.C:
3136         * iterators.C:
3137         * lyxfunc.C:
3138         * lyxrow_funcs.C:
3139         * paragraph.C:
3140         * rowpainter.C:
3141         * text.C:
3142         * text2.C:
3143         * text3.C:
3144         * text_funcs.C:
3145         * textcursor.C:
3146         * undo.C:
3147         * frontends/controllers/ControlParagraph.C:
3148         * frontends/controllers/ControlTabular.C:
3149         * insets/insetmarginal.C:
3150         * insets/insetminipage.C:
3151         * insets/insetnote.C:
3152         * insets/insetoptarg.C: add header files needed to compile again.
3153
3154 2003-09-06  Angus Leeming  <leeming@lyx.org>
3155
3156         * RowList_fwd.h: new file, forward-declaring Row rather than
3157         #including lyxrow.h.
3158
3159         * lyxrow_funcs.h:
3160         * lyxtext.h:
3161         * paragraph.h:
3162         * insets/insettext.h: use it instead of RowList.h
3163
3164         * bufferview_funcs.C:
3165         * lyxfunc.C:
3166         * lyxrow_funcs.C:
3167         * paragraph.C:
3168         * rowpainter.C:
3169         * text.C:
3170         * text2.C:
3171         * text3.C: #include "RowList.h".
3172
3173 2003-09-05  Angus Leeming  <leeming@lyx.org>
3174
3175         * factory.C (createInset):
3176         * vspace.C (c-tor): replace sscanf call with an istringstream.
3177         * ispell.C: re-add missing HP/UX headers.
3178         * lyxserver.C: re-add missing  os2 headers.
3179
3180 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3181
3182         * BranchList.C:
3183         * graph.C:
3184         * ispell.C:
3185         * lastfiles.C:
3186         * lyx_cb.C:
3187         * lyxserver.C:
3188         * texrow.C:
3189         * text3.C: re-add missing system headers, needed for 2.95.2.
3190
3191 2003-09-05  Angus Leeming  <leeming@lyx.org>
3192
3193         Changes most place everywhere due to the removal of using directives
3194         from support/std_sstream.h.
3195
3196 2003-09-05  Angus Leeming  <leeming@lyx.org>
3197
3198         Replace LString.h with support/std_string.h,
3199         Lsstream.h with support/std_sstream.h,
3200         support/LIstream.h with support/std_istream.h,
3201         support/LOstream.h with support/std_ostream.h.
3202
3203         Changes resulting throughout the tree.
3204
3205 2003-09-05  Angus Leeming  <leeming@lyx.org>
3206
3207         * sgml.h: ensure that the header file can be compiled stand-alone.
3208         * *.C: strip out redundant #includes. (320 in total.)
3209
3210 2003-09-04  Angus Leeming  <leeming@lyx.org>
3211
3212         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3213         here (from getPackages).
3214
3215         * debug.[Ch]: add a new EXTERNAL tag.
3216
3217 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3218
3219         * text2.C (cursorEnd): simplify
3220         (setCursor): adjust
3221         (getColumnNearX): adjust
3222
3223         * text.C (computeBidiTables): adjust
3224         (fill): adjust
3225
3226         * rowpainter.C (paintChars): adjust
3227         (paintSelection): adjust
3228         (paintChangeBar): adjust
3229         (paintText): adjust
3230
3231         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3232         lastPos instead.
3233         (numberOfSeparators): adjust
3234
3235 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3236
3237         * LyXAction.C:
3238         * box.[Ch]:
3239         * lfuns.h:
3240         * lyxfunc.C:
3241         * text3.C: Restricts the mouse click functionality
3242         of insets like bibtex, include, toc and floatlist to the visible
3243         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3244         up the dialogs. Cursor has to be in front of the inset (i.e.
3245         start of row) for this to function.
3246
3247 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3248
3249         * bufferview_funcs.C (currentState): output row information
3250
3251 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3252
3253         * bufferview_funcs.C (currentState): output paragraph position
3254
3255 2003-09-04  Angus Leeming  <leeming@lyx.org>
3256
3257         * FloatList.h: move out #include "Floating.h".
3258         * LaTeX.h: move out #include "DepTable.h".
3259         * LyXAction.h: move out #include "funcrequest.h".
3260         * buffer.h: move out #include "author.h", "iterators.h".
3261         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3262         * lyx_main.h: move out #include "errorlist.h".
3263         * lyxfunc.h: move out #include "FuncStatus.h".
3264         * lyxtext: move out #include "lyxcursor.h".
3265         * paragraph_pimpl.h: move out #include "counters.h".
3266
3267 2003-09-03  Angus Leeming  <leeming@lyx.org>
3268
3269         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3270         preamble_snippets list, enabling us to add snippets to the preamble
3271         only if the snippet was not there already.
3272
3273 2003-09-04  Angus Leeming  <leeming@lyx.org>
3274
3275         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3276
3277 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3280         update
3281
3282 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3283
3284         * BranchList.C: point fix, earlier forgotten
3285
3286 2003-09-02  Angus Leeming  <leeming@lyx.org>
3287
3288         * box.C (contains): renamed from 'contained' after a fantastic
3289         amount of hot air.
3290
3291 2003-09-02  John Levon  <levon@movementarian.org>
3292
3293         * BufferView.C:
3294         * lyxcursor.h:
3295         * lyxcursor.C:
3296         * lyxfunc.C:
3297         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3298
3299 2003-09-02  John Levon  <levon@movementarian.org>
3300
3301         * text2.C: simplification of cursorEnd(), including partial
3302         fix for bug 1376
3303
3304 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3305
3306         * buffer.C (readFile): add a space
3307
3308 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3309
3310         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3311
3312 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3313
3314         * buffer.C (readFile): new function, take a filename and a
3315         ParagraphList::iterator
3316         (readFile): adjust
3317         (readFile): adjust, make it private. don't use setStream, make
3318         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3319         always contain the filename.
3320
3321         * BufferView.C (insertLyXFile): simplify and make it work for
3322         gzipped files.
3323
3324 2003-08-30  John Levon  <levon@movementarian.org>
3325
3326         * Makefile.am: fix dist (from Kayvan)
3327
3328 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3329
3330         * most files: change to use const Buffer refs
3331
3332 2003-08-27  André Pönitz  <poenitz@gmx.net>
3333
3334         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3335         on top of ownerPar().
3336
3337 2003-08-27  John Levon  <levon@movementarian.org>
3338
3339         * funcrequest.C: properly initialise POD members
3340
3341 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3342
3343         * lyxtext.h (top_y): move top_y from here
3344         * text.C:
3345         * text2.C:
3346         * text3.C:
3347         * BufferView.[Ch]:
3348         * BufferView_pimpl.[Ch]: to here
3349         * frontends/screen.C:
3350         * insets/insettabular.C:
3351         * insets/insettext.C: adjust
3352         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3353
3354 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3355
3356         * BufferView.[Ch]:
3357         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3358
3359 2003-08-26  André Pönitz  <poenitz@gmx.net>
3360
3361         * paragraph_func.[Ch] (outerPar): new function
3362
3363         * paragraph.C:
3364         * paragraph_funcs.C:
3365         * paragraph_funcs.h:
3366         * paragraph_pimpl.C:
3367         * text2.C: remove Inset::par_owner
3368
3369 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3370
3371         * lyxrow_funcs.C:
3372         * lyxtext.h:
3373         * text.C:
3374         * text2.C: eliminates the needFullRow/display() stuff
3375         altogether, putting the logic in metrics/draw in the insets.
3376
3377 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * text2.C (redoParagraphInternal, redoParagraphs):
3380         * text.C (redoParagraph): add a call to updateRowPositions at the
3381         end of each 'metrics-like' call. Remove all others.
3382         (getRow): remove the 'y-computing' version.
3383         (getRowNearY): do not compute nor return the real y. Solve the
3384         'y < 0' problem and simplify.
3385
3386 2003-08-22  Angus Leeming  <leeming@lyx.org>
3387
3388         * *.[Ch]: clean-up of licence and author blurbs.
3389         Also move config.h out of a few .h files and into a few .C files.
3390
3391 2003-08-22  André Pönitz  <poenitz@gmx.net>
3392
3393         * lyxrow.[Ch]: add x_ and *fill_ members
3394
3395         * lyxtext.h:
3396         * text.C:
3397         * rowpainter.C:
3398         * text2.C: adjust/remove prepareToPrint() calls
3399
3400 2003-08-22  André Pönitz  <poenitz@gmx.net>
3401
3402         * lyxrow.[Ch]: add  end_ member
3403
3404         * lyxrow_funcs.C: use LyXRow::end_
3405
3406         * lyxtext.h (singleWidth): add LyXFont parameter
3407
3408         * rowpainter.C:
3409         * text2.C: adjust LyXText::singleWidth() calls
3410
3411         * text.C (redoParagraph): simplify row breaking logic
3412
3413
3414 2003-08-19  André Pönitz  <poenitz@gmx.net>
3415
3416         * funcrequest.C: initialize button_ member
3417
3418         * text3.C:
3419         * rowpainter.[Ch]: interface consolidation
3420
3421 2003-08-18  André Pönitz  <poenitz@gmx.net>
3422
3423         * BufferView.C:
3424         * BufferView_pimpl.C:
3425         * lyxfind.C:
3426         * paragraph_funcs.C:
3427         * rowpainter.C:
3428         * text3.C: remove LyXScreen::draw() and fitCursor calls
3429
3430         * BranchList.h: remove spurious semicolons
3431
3432         * MenuBackend.C: fix branchlist related crash
3433
3434 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3435
3436         * BranchList.[Ch]:
3437         * InsetList.[Ch]:
3438         * LColor.[Ch]:
3439         * LyXAction.C:
3440         * Makefile.am:
3441         * MenuBackend.[Ch]:
3442         * bufferparams.[Ch]:
3443         * factory.C:
3444         * lfuns.h:
3445         * lyxfunc.C:
3446         * text3.C: implements the 'branch inset'
3447         idea. This allows the output of various versions of a document
3448         from a single source version, selectively outputing or suppressing
3449         output of parts of the text.
3450         This implementation contains a 'branch list editor' in a separate
3451         tab of the document settings dialog. Branches are user definable
3452         and have a "display colour" to distinguish them on-screen.
3453
3454         ColorHandler was somewhat cleaned up.
3455         (1) make possible a dynamically growing LColor list by allowing
3456         the graphic context cache to grow along (vector);
3457         (2) eliminate an IMHO unnecessary step in colour allocation.
3458
3459 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3460
3461         * BufferView_pimpl.C: compile fix
3462
3463 2003-08-15  André Pönitz  <poenitz@gmx.net>
3464
3465         * rowpainter.C: remove extra metrics calls
3466
3467         * lyxtext.h: merge the two constructors into a single one,
3468           pass reference to owner's par list
3469
3470         * BufferView_pimpl.C:
3471         * text.C:
3472         * text2.C: adjust
3473
3474 2003-08-15  André Pönitz  <poenitz@gmx.net>
3475
3476         * lyxrow_funcs.[Ch]:
3477         * lyxtext.h:
3478         * paragraph.h:
3479         * paragraph_funcs.C:
3480         * rowpainter.C:
3481         * text.C:
3482         * text2.C:
3483         * text3.C:
3484         * text_funcs.C: split LyXText::rowlist_ into individual
3485         Paragraph::rows_ chunks
3486
3487         * BufferView.[Ch]:
3488         * BufferView_pimpl.[Ch]:
3489         * lyxfind.C:
3490         * lyxtext.h:
3491         * text3.C: remove toggleSelection()
3492
3493 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3494
3495         * bufferlist.C: beautify two alerts (shorter text of buttons)
3496         * buffer.C: Remove redundant ' ' from message
3497         * tabular.h:
3498         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3499         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3500         rename VALIGN_CENTER to VALIGN_MIDDLE
3501
3502 2003-08-11  André Pönitz  <poenitz@gmx.net>
3503
3504         * lyxtext.h (getPar):
3505         * text.C: new function
3506
3507 2003-08-11  André Pönitz  <poenitz@gmx.net>
3508
3509         * Makefile.am:
3510         * tracer.[Ch]: remove unneeded files
3511
3512         * InsetList.[Ch]: remove resizeInsetsLyXText()
3513
3514         * lyxtext.h:
3515         * text.C:
3516         * text2.C:
3517         * text3.C: merge insertParagraphs() and appendParagraph()
3518         remove breakAgain(), update()
3519
3520         * BufferView_pimpl.[Ch]:
3521         * bufferview_funcs.[Ch]:
3522         * lyxfunc.C:
3523         * paragraph.[Ch]:
3524         * rowpainter.C:
3525         * tabular.C: adjust after text & InsetList changes.
3526
3527 2003-08-08  André Pönitz  <poenitz@gmx.net>
3528
3529         * text.C (insertChar, backspace): replace rowlist fiddling
3530         with rebreak of full par
3531
3532         * lyxtext.h:
3533         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3534         checkParagraph, updateInset): removed
3535
3536 2003-08-07  André Pönitz  <poenitz@gmx.net>
3537
3538         * paragraph.C:
3539         * text3.C: merge some LFUN handlers, remove dead code
3540
3541 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3542
3543         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3544
3545 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3546
3547         * text2.C (DEPM): fix part of bug 1255 and 1256
3548
3549 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3550
3551         * BufferView_pimpl.C (workAreaDispatch): change to use
3552         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3553         that are no mouse related.
3554
3555 2003-08-05  André Pönitz  <poenitz@gmx.net>
3556
3557         * BufferView.[Ch]:
3558         * BufferView_pimpl.[Ch]:
3559         * bufferview_funcs.C:
3560         * text2.C:
3561         * text3.C: rip out "deep update"
3562
3563         * textcursor.[Ch] (last_sel_cursor): remove unused member
3564
3565 2003-08-04  André Pönitz  <poenitz@gmx.net>
3566
3567         * BufferView.[Ch]:
3568         * BufferView_pimpl.[Ch]:
3569         * ParagraphParameters.C:
3570         * bufferview_funcs.C:
3571         * lyx_cb.C:
3572         * lyxfind.C:
3573         * lyxfunc.C:
3574         * text.C:
3575         * text2.C:
3576         * text3.C: replace "complicated" BufferView::update(...) calls with
3577         simpler ones.
3578
3579         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3580
3581 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3582
3583         * Makefile.am (lyx_SOURCES): add paper.h
3584
3585 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3586
3587         * Makefile.am: move things around so that both lyx-qt and
3588         lyx-xforms can be built (according to --with-frontend). Then lyx
3589         is a symbolic link to lyx-[firstfrontend]
3590
3591 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3592
3593         * Always use std::endl with lyxerr
3594
3595 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3596
3597         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3598
3599 2003-08-01  André Pönitz  <poenitz@gmx.net>
3600
3601         * BufferView.[Ch]:
3602         * BufferView_pimpl.[Ch]:
3603         * lyxfunc.C:
3604         * text3.C: merge BufferView::repaint() and BufferView::update()
3605
3606 2003-08-01  José Matos  <jamatos@lyx.org>
3607
3608         * buffer.[Ch]: file_format is no longer a buffer data element.
3609
3610 2003-08-01  André Pönitz  <poenitz@gmx.net>
3611
3612         * BufferView.C:
3613         * lyxtext.h:
3614         * text.C:
3615         * text2.C: make redoParagraph more independent of current cursor
3616
3617         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3618         * text.C:
3619         * text2.C: remove unneeded members
3620
3621 2003-07-30  André Pönitz  <poenitz@gmx.net>
3622
3623         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3624
3625         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3626           create a single function...
3627
3628         * paragraph_funcs.C (moveItem): ... here.
3629
3630         * text.C:
3631           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3632
3633 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3634
3635         * LColor.[Ch]: Add comment and greyedout logical colors.
3636
3637 2003-07-30  André Pönitz  <poenitz@gmx.net>
3638
3639         * tabular.C: don't use Assert too heavily. This crashes where it
3640           shouldn't
3641
3642 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3643
3644         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3645         is disabled (bug 1232)
3646
3647 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3648
3649         * factory.C: limited 'arg' scope
3650
3651 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3652
3653         * factory.C: fixed Note submenu issues
3654
3655 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3656
3657         * factory.C: submenu for Note/Comment/Greyedout
3658
3659 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3660
3661         * lyx_main.C (LyX):
3662         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3663
3664 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3665
3666         * LaTeXFeatures.C:
3667         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3668         greyedout. Patch provided by Jürgen Spitzmüller.
3669
3670 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3671
3672         * kbmap.C (read): fix error message when reading bind files
3673
3674 2003-07-29  Angus Leeming  <leeming@lyx.org>
3675
3676         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3677         certainly does not do what it purports to do. I am doing it, and
3678         us, a favour by killing it.
3679
3680 2003-07-28  José Matos  <jamatos@lyx.org>
3681
3682         * buffer.C (readBody, do_writeFile):
3683         * paragraph.C(readParagraph): \end_document replaces \the_end.
3684
3685 2003-07-29  André Pönitz  <poenitz@gmx.net>
3686
3687         * BufferView.[Ch]:
3688         * BufferView_pimpl.[Ch]:
3689         * lyxfunc.C:
3690         * text2.C:
3691         * text3.C:
3692         * textcursor.[Ch]: remove toggleToggle & Co
3693
3694 2003-07-28  José Matos  <jamatos@fep.up.pt>
3695
3696         * buffer.C (readParagraph):
3697         * params_func (readParToken, readParagraph):
3698         * paragraph.C (write): \layout -> \begin_layout.
3699
3700 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * lyxlex_pimpl.C (setFile): clean up slightly.
3703
3704         * bufferparams.h: add compressed var
3705
3706         * buffer_funcs.C (readFile): adjust for LyXLex change
3707         (newFile): ditto + simplify
3708
3709         * buffer.C (writeFile): handle writing of compressed files
3710
3711         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3712         Check if the file is compressed and set a bufferparm if so.
3713
3714         * Makefile.am (lyx_LDADD): remove explicit -lz
3715
3716 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3717
3718         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3719         makeDocBookFile): put the real LyX version in the first line of
3720         the file
3721
3722         * version.h:
3723         * version.C.in: remove lyx_docversion
3724
3725         * tabular.C (write_attribute): add a template-based version to
3726         write enums properly
3727
3728 2003-07-28  André Pönitz  <poenitz@gmx.net>
3729
3730         * lyxtext.h:
3731         * text.C:
3732         * text2.C:
3733         * text3.C: use doubles again for x-coordinates. They are needed.
3734
3735 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * messages.C (getLocaleDir): use lyx_localedir()
3738
3739         * lyxlex_pimpl.C (setFile): compress stuff
3740
3741         * buffer.C (writeFile): add some compression stuff
3742         (do_writeFile): new func, dont call expliti close... will this
3743         breake anything?
3744
3745         * Makefile.am (lyx_LDADD): add -lz
3746
3747 2003-07-28  José Matos  <jamatos@fep.up.pt>
3748
3749         * buffer.C: increment file format.
3750         * paragraph_funcs (readParagraph, readParToken):
3751         * paragraph.C (readParagraph): add \end_layout.
3752
3753 2003-07-27  Angus Leeming  <leeming@lyx.org>
3754
3755         * Makefile.am: remove special casing for configure-time setting of
3756         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3757
3758         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3759         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3760
3761 2003-07-26  André Pönitz  <poenitz@gmx.net>
3762
3763         * paragraph_func.[Ch]:
3764         * paragraph.C (realizeFont): inline it whereever it is used
3765
3766         * rowpainter.C:
3767         * text.C:
3768         * text2.C:
3769         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3770
3771
3772 2003-07-26  André Pönitz  <poenitz@gmx.net>
3773
3774         *       lyxtext.h:
3775         * text.C:
3776         * text2.C: get rid of LyXText::need_break_row
3777
3778 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * toc.[Ch]: put namespace toc inside namespace lyx
3781
3782         * MenuBackend.C (expandToc2): adjust for lyx::toc
3783         (expandToc): ditto
3784
3785         * lyxfunc.C (dispatch): adjust for lyx::find
3786
3787         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3788         lyx::find instead. Reorganize a bit.
3789         (LyXReplace): rename to replace
3790         (LyXFind): rename to find
3791
3792         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3793         (dispatch): ditto
3794
3795 2003-07-26  André Pönitz  <poenitz@gmx.net>
3796
3797         * text.C (setHeightOfRow): restrict scope of temporary variable
3798
3799         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3800           code (never has been used?)
3801
3802 2003-07-27  Asger Alstrup  <alstrup@local>
3803
3804         * text.C (fill): Optimise algorithm to exploit that we can reuse
3805         the LyXFont for many characters.
3806         (setHeightOfRow): Same thing.
3807         (rowBreakPoint): Same thing.
3808
3809 2003-07-26  Asger Alstrup  <alstrup@local>
3810
3811         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3812
3813         * text.C (singleWidth): Spurious font copying in hot-spot
3814         singleWidth avoided. Reorder tests for arabic for efficiency.
3815
3816         * text.C (fill): handle empty paragraphs better.
3817
3818 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3819
3820         * ispell.C:
3821         * encoding.h: add includes
3822
3823         * lyxrc.C: remove reading of bind files
3824
3825         * lyx_main.C (init): setup bindings and menus only if we have a
3826         gui.
3827
3828         * kbmap.C (read): new method. Do the actual reading of bind
3829         files.
3830
3831         * converter.C (dvipdfm_options):
3832         * bufferparams.C:
3833         * lyxrc.C (read):
3834         (output): adapt PAPER_* enums.
3835
3836         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3837
3838         * bufferparams.h: remove paper-related enums from there
3839
3840         * paper.h: New file. A trivial header file to hold paper-related
3841         enums. It should later expand to contain many paper-related
3842         horrors access.
3843
3844         * lyxrc.C: declare extern displayTranslator
3845
3846 2003-07-27  José Matos  <jamatos@fep.up.pt>
3847
3848         * tabular.[Ch] (linuxdoc): add support for tables and figures
3849         (linuxdoc).
3850
3851 2003-07-27  José Matos  <jamatos@fep.up.pt>
3852
3853         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3854         consistency in both functions.
3855         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3856
3857 2003-07-26  Asger Alstrup  <alstrup@local>
3858
3859         * rowpainter.C (paintRows): Change algorithm to work directly on
3860         the insets rather than asking every character in the document
3861         whether its an inset.
3862
3863 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3864
3865         * buffer.C (openFileWrite): factorize some code
3866
3867 2003-07-26  Angus Leeming  <leeming@lyx.org>
3868
3869         * lyx_cb.C:
3870         * lyx_main.[Ch]: replace occurances of system_tempdir with
3871         os::getTmpDir().
3872
3873 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * rename Inset to InsetOld
3876
3877 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3878
3879         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3880         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3881         which I think is a bit clearer. EDIT is gone, since it was
3882         premature optimisation, and broken for mathed anyway.
3883         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3884         with cursor positioning in insets as well (math insets still do not
3885         work, but that's a different story anyway.) It mysteriously
3886         crashes sometimes with undo in the first paragraph, but I'm fairly
3887         confident that this is a compiler bug.
3888
3889 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3890
3891         * paragraph.C (Paragraph): adjust for new clone return type
3892         (operator==): ditto
3893         (copyIntoMinibuffer): ditto
3894
3895 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3896
3897         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3898         by not having a special case, and always doing a full rebreak of
3899         the document after undo.
3900
3901 2003-07-23  Angus Leeming  <leeming@lyx.org>
3902
3903         * factory.C (createInset): InsetExternal::setParams now takes a
3904         Buffer const * arg.
3905
3906 2003-07-23  Angus Leeming  <leeming@lyx.org>
3907
3908         * factory.C (createInset): changed interface to the external and
3909         graphics mailers' string2params functions.
3910
3911 2003-07-23  Angus Leeming  <leeming@lyx.org>
3912
3913         * factory.C (createInset): pass a
3914         Buffer const * parameter to InsetExternalMailer's string2params.
3915
3916 2003-07-22  John Levon  <levon@movementarian.org>
3917
3918         * Thesaurus.h: include the right aiksaurus header
3919
3920 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3921
3922         * MenuBackend.C (expand): check menu shortcuts unconditionally
3923
3924 2003-07-21  Angus Leeming  <leeming@lyx.org>
3925
3926         * factory.C (createInset): pass a
3927         buffer_path parameter to InsetGraphicsMailer's string2params.
3928
3929 2003-07-21  Angus Leeming  <leeming@lyx.org>
3930
3931         * BufferView_pimpl.C (buffer):
3932         * buffer.C (d-tor):
3933         * lyx_main.C (LyX):
3934         * lyxfunc.C (dispatch):
3935         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3936         rather than the grfx shortcut.
3937
3938 2003-07-21  André Pönitz  <poenitz@gmx.net>
3939
3940         * rowpainter.C: remove unused variables
3941
3942         * tabular_funcs.C:
3943         * tabular_funcs.h: move to tabular.C
3944         * Makefile.am: adjust
3945
3946         * tabular.[Ch]: basic optical cleaning
3947
3948         * author.h: pass references, not values
3949
3950 2003-07-18  André Pönitz  <poenitz@gmx.net>
3951
3952         * lyxtext.h:
3953         * metricsinfo.C:
3954         * metricsinfo.h:
3955         * rowpainter.C:
3956         * text.C:
3957         * text2.C:
3958         * text3.C: two-phase drawing for InsetText and InsetTabular
3959         some float -> int changes.
3960
3961 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3962
3963         * lyx_main.C: fix the fix
3964
3965 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3966
3967         * lyx_main.C: fix a crash in batch mode if no files specified
3968         * converter.C: ws
3969
3970 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3971
3972         * format.[Ch] (papersize): moved to BufferParams
3973         * converter.[Ch] (dvips_options): moved to BufferParams
3974         (dvipdfm_options): moved to anon namespace
3975         * bufferparams.[Ch]: added above functions.
3976
3977 2003-07-17  André Pönitz  <poenitz@gmx.net>
3978
3979         * lyxtext.h:
3980         * rowpainter.C:
3981         * text2.C: don't call inset->update() anymore
3982
3983         * metricsinfo.[Ch]: add convenience constructor
3984
3985 2003-07-16  André Pönitz  <poenitz@gmx.net>
3986
3987         * lyxcursor.[Ch]:
3988         * lyxfunc.[Ch]:
3989         * text.C:
3990         * text2.C: replace the LyXCursor::irow_ member with
3991          on-demand computation of the value
3992
3993 2003-07-16  John Levon  <levon@movementarian.org>
3994
3995         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3996
3997 2003-07-15  André Pönitz  <poenitz@gmx.net>
3998
3999         * text.C:
4000         * text2.C: remove no more needed refresh_row
4001
4002 2003-07-15  André Pönitz  <poenitz@gmx.net>
4003
4004         * lyxtext.h:
4005         * rowpainter.C:
4006         * text2.C:
4007         * text3.C: refresh_status tristate -> need_update bool
4008
4009 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4010
4011         * lyxtext.h (init): remove reinit argument (act as if always true)
4012         * text2.C: adjust to that
4013
4014 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4015
4016         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4017         * text3.C: use it to delete selections in some cases
4018         (bugs 441, 673, 702, 954).
4019
4020 2003-07-14  André Pönitz  <poenitz@gmx.net>
4021
4022         * rowpainter.[Ch]: reduce interface
4023
4024 2003-07-14  André Pönitz  <poenitz@gmx.net>
4025
4026         * BufferView_pimpl.C:
4027         * text2.C: adjust after removing unused BufferView * argument
4028
4029 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4030
4031         * text2.C (init): fix a crash fired on resize
4032
4033 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4034
4035         * buffer.[Ch]: added new closing signal
4036         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4037         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4038         BufferView::Pimpl via the closing the signal
4039
4040 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4041
4042         * buffer.[Ch]: take out all bv-related from buffer
4043         * BufferView.C:
4044         * BufferView_pimpl.[Ch]: connect to new signals
4045         * CutAndPaste.C: removed useless asserts
4046         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4047         * lyxvc.[Ch]:
4048         * vc-backend.[Ch]:
4049         * lyxfunc.C: moved view-related funciontality from vc here
4050         * paragraph.C: removed outdated comments
4051         * text.C: ws
4052
4053 2003-07-10  André Pönitz  <poenitz@gmx.net>
4054
4055         * BufferView_pimpl.C:
4056         * tabular.h:
4057         * tabular_funcs.C:
4058         * text.C:
4059         * text2.C: remove InsetText::InnerCache, clean up consequences
4060
4061 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4062
4063         * ispell.C: fix two typos in error messages
4064
4065 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4066
4067         * Extend Note inset to other forms of annotation like Comment
4068         and Greyedout. Right button click gives dialog.
4069
4070         Files modified or added (+):
4071
4072         * insetnote.[Ch]
4073         * FormNote.[Ch]      +
4074         * ControlNote.[Ch]   +
4075         * form_note.fd       +
4076         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4077         frontends/controllers
4078         * xforms/Dialogs.C
4079         * factory.C
4080
4081 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4082
4083         * aspell.C: add missing namespace lyx::support
4084
4085 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4086
4087         * BufferView.[Ch] (newFile): Add
4088         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4089         * LaTeX.[Ch] (message): added this signal and use it
4090         * buffer.[Ch] (busy, message): added these signals and use them
4091         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4092         * converter.C:
4093         * exporter.C:
4094         * format.C:
4095         * importer.C: use buffer signals instead of direct bv calling
4096         * lyx_cb.[Ch] (ShowMessage): removed
4097         * lyx_main.C:
4098         * lyxfunc.C:
4099         * paragraph_funcs.C:
4100         * text2.C: use buffer signals
4101
4102 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * introduce namespace lyx::graphics
4105
4106 2003-07-02  André Pönitz  <poenitz@gmx.net>
4107
4108         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4109
4110 2003-07-01  André Pönitz  <poenitz@gmx.net>
4111
4112         * text.C:
4113         * text2.C:
4114         * text3.C:
4115         * text_funcs.[Ch]:
4116         * textcursor.h:
4117         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4118           text*.C to text_func.C
4119
4120 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4121
4122         * introduce namespace lyx::support
4123
4124 2003-06-30  André Pönitz  <poenitz@gmx.net>
4125
4126         * Chktex.C:
4127         * funcrequest.C:
4128         * lyxtext.h:
4129         * text.C: re-enable --with-included-string
4130
4131 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * textcursor.C: add <config.h>
4134
4135         * text.C (getWord): remove const from word_location arg
4136
4137         * lyxvc.C (getLogFile): fix const type order
4138
4139         * lyxtext.h: remove const from word_location arg, add arg name
4140
4141         * lyxlayout.h: currect type on labeltype.
4142
4143         * importer.C: correct \file
4144
4145         * converter.C (intToFormat): use std:: on ret val, ws changes
4146
4147         * bufferlist.h: correct \file
4148
4149         * buffer.C (makeLinuxDocFile): fix const type order
4150         (makeDocBookFile): ditto
4151         (fillWithBibKeys): use std:: on stdlib args.
4152
4153         * CutAndPaste.C: fix authors.
4154         (availableSelections): use std:: on return vector
4155
4156 2003-06-27  André Pönitz  <poenitz@gmx.net>
4157
4158         * BufferView_pimpl.C:
4159         * bufferview_funcs.C:
4160         * lyxcursor.C:
4161         * lyxcursor.h:
4162         * lyxfunc.C:
4163         * lyxtext.h:
4164         * rowpainter.C:
4165         * text.C:
4166         * text2.C:
4167         * text3.C: remove LyXCursor::row_ member
4168
4169         * lyxtext.h:
4170         * text.C: rename fullRebreak() to partialRebreak() and implement
4171           a fullRebreak() that really bereks fully
4172
4173         * textcursor.h: new struct for cursor-related data
4174
4175 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4176
4177         * lyx_main.C (LyX): get full path of document loaded on the
4178         command line
4179
4180 2003-06-26  André Pönitz  <poenitz@gmx.net>
4181
4182         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4183           remove unused/broken operator>,<,>=.
4184
4185         *       text.C: remove only use of broken operator<= in an Assert().
4186
4187 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4188
4189         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4190         moved errorlist_.clear to showErrorList
4191
4192 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4193
4194         * converter.C (scanLog, runLaTeX):
4195         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4196         move the bv->showErrorList call to the callers
4197         * lyxfunc.C: i.e. here...
4198         * text2.C: and here
4199         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4200         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4201         namespace, the second to...
4202         * buffer_funcs (BufferFormat, parseErrors): added
4203         * errorlist.C (ErrorList(TeXErrors const &)): removed
4204
4205 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4206
4207         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4208
4209 2003-06-24  "Garst R. Reese" <reese@isn.net>
4210
4211         * debug.C: fix typo
4212
4213 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4214
4215         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4216
4217         * version.C.in: change docversion to 1.4
4218
4219 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4220
4221         * buffer.C: fix a bug just introduced
4222
4223 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4224
4225         * buffer.[Ch]: added the parseError signal and use it, removed
4226         sgmlError
4227         * BufferView.[Ch] (addError): moved to ...
4228         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4229         to the Buffer::parseError signal to catch (guess what) parse errors
4230         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4231
4232 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4233
4234         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4235         ability to create a buffer and to return an existing one from
4236         the list. Moved these functions to...
4237         * buffer_funcs.[Ch]: added
4238         * BufferView.[Ch] (loadLyXFile): added
4239         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4240         job removed from bufferlist::loadLyXFile.
4241         * buffer.C (setReadOnly): make it work without view
4242         (i.e added an if (users))
4243
4244 2003-06-19  Angus Leeming  <leeming@lyx.org>
4245
4246         * lfuns.h:
4247         * LyXAction.C (init):
4248         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4249         with LFUN_DIALOG_SHOW <name> <data>.
4250
4251 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4252
4253         * CutAndPaste.C (availableSelections): small compilation fix for
4254         ancient (gcc 2.9x) compilers
4255
4256 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * text3.C (cursorNext): add tmp var
4259
4260         * text2.C (updateCounters): for function calling out of for clause
4261         (replaceSelectionWithString): ditto
4262         (insertStringAsParagraphs): ditto
4263         (getColumnNearX): add tmp var
4264         (setCursorFromCoordinates): add tmp var
4265         (cursorDownParagraph): add tmp var
4266         (deleteEmptyParagraphMechanism): add tmp var
4267
4268         * text.C (insertChar): add tmp var
4269
4270         * rowpainter.C (paintDepthBar): add tmp var
4271
4272         * CutAndPaste.C (availableSelections): potentially check all
4273         paragraphs in a cut to fill the shown strings.
4274
4275 2003-06-18  André Pönitz  <poenitz@gmx.net>
4276
4277         * kbmap.[Ch]: use vector<> instead of list<>
4278
4279 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4280
4281         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4282         pasteSelection with index
4283
4284         * text2.C (pasteSelection): modify, call pasteSelection with index
4285
4286         * paragraph.C (asString): reimplement version with no interval to
4287         call the one with interval.
4288
4289         * lyxtext.h: add index arg to pasteSelection
4290
4291         * MenuBackend.C (MenuItem): handle PasteRecent
4292         (Menu::read::Menutags): add md_pasterecent
4293         (read): handle it
4294         (expandPasteRecent): new function
4295         (expand): use it
4296
4297         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4298
4299         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4300         the limited stack
4301         (availableSelections): new function
4302
4303 2003-06-17  Angus Leeming  <leeming@lyx.org>
4304
4305         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4306
4307 2003-06-17  Angus Leeming  <leeming@lyx.org>
4308
4309         * lfuns.h:
4310         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4311
4312         * lyxfunc.C (dispatch): invoke it.
4313
4314 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4315
4316         * iterators.C (operator++, ParPosition): reintroduce some
4317         const_cast for the benefit of older compilers.
4318
4319 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4320
4321         * text3.C (dispatch): do not modify clipboard when doing
4322         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4323         LFUN_DELETE_SKIP on a selection selection
4324
4325 2003-06-16  André Pönitz  <poenitz@gmx.net>
4326
4327         * BufferView.C:
4328         * buffer.C:
4329         * buffer.h:
4330         * paragraph.C:
4331         * tabular.[Ch]: IU of clone() and getLabelList();
4332
4333 2003-06-13  André Pönitz  <poenitz@gmx.net>
4334
4335         * tabular.h: compactification
4336
4337 2003-06-12  André Pönitz  <poenitz@gmx.net>
4338
4339         * tabular.C:
4340         * tabular.h:
4341         * tabular_funcs.h: some renaming plus whitespace
4342
4343 2003-06-12  André Pönitz  <poenitz@gmx.net>
4344
4345         * BufferView.C:
4346         * BufferView_pimpl.C:
4347         * CutAndPaste.C:
4348         * buffer.C:
4349         * iterators.[Ch]:
4350         * lyxfunc.C:
4351         * text.C:
4352         * toc.C: Return a Paragraph & for ParIterator::operator*()
4353
4354 2003-06-11  John Levon  <levon@movementarian.org>
4355
4356         * lyx_main.C:
4357         * ToolbarBackend.h:
4358         * ToolbarBackend.C: add "Toolbars" section and
4359         put the flags there
4360
4361 2003-06-10  Angus Leeming  <leeming@lyx.org>
4362
4363         * lfuns.h:
4364         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4365
4366         * lyxfunc.C (dispatch): invoke it.
4367
4368 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4369
4370         * main.C: protect <ios> with HAVE_IOS
4371         (main): protect sync_with_stdio with HAVE_IOS
4372
4373 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4374
4375         * text2.C (cutSelection): adjust
4376         (pasteSelection): adjust
4377
4378         * messages.C: handle get of empty string
4379
4380         * main.C (main): use sync_with_stdio(false)
4381
4382         * lyxfunc.C (dispatch): adjust
4383
4384         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4385         (WriteAs): remove unneeded BufferView arg.
4386
4387         * bufferparams.h: use correct types on papersize, papersize2 and
4388         paperpackage.
4389
4390         * bufferparams.C (readToken): adjust for type
4391         (writeLaTeX): add missing cases to switch.
4392
4393         * bufferlist.C (quitWriteBuffer): adjust
4394         (close): adjust
4395
4396         * buffer.C (asciiParagraph): remove some commented code.
4397
4398         * CutAndPaste.C: remove current_view extern variable.
4399         (cutSelection): add BufferParams arg.
4400         (eraseSelection): add BufferParams arg.
4401         (pasteSelection): add Buffer const & arg
4402
4403 2003-06-07  John Levon  <levon@movementarian.org>
4404
4405         * buffer.C:
4406         * paragraph_funcs.C:
4407         * paragraph_pimpl.C:
4408         * text.C:
4409         * text2.C:
4410         * paragraph.h:
4411         * paragraph.C: allow InsetERT to freely space lines,
4412         and some consolidation of code
4413
4414 2003-06-06  José Matos  <jamatos@fep.up.pt>
4415
4416         * buffer.C (makeDocBookFile): fix bug #821
4417
4418 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4419
4420         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4421
4422 2003-06-04  Angus Leeming  <leeming@lyx.org>
4423
4424         * buffer.C: bump format to 224.
4425
4426 2003-06-05  André Pönitz  <poenitz@gmx.net>
4427
4428         * text2.C (redoParagraphs): remove two const_cast<>
4429
4430 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4431
4432         * ParagraphList.h: remove last remnants of NO_STD_LIST
4433
4434 2003-06-03  Angus Leeming  <leeming@lyx.org>
4435
4436         * factory.C (createInset): small change to the way InsetExternal's params
4437         are set.
4438
4439 2003-06-04  André Pönitz  <poenitz@gmx.net>
4440
4441         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4442
4443         * paragraph_pimpl.h:
4444         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4445
4446         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4447
4448         * undo_funcs.C: make some simple cases of undo work again
4449
4450 2003-06-03  John Levon  <levon@movementarian.org>
4451
4452         * ispell.C: HPUX doesn't have sys/select.h
4453         (from Albert Chin)
4454
4455 2003-06-03  John Levon  <levon@movementarian.org>
4456
4457         * CutAndPaste.C: update tabular and include inset
4458         buffer references
4459
4460         * buffer.h:
4461         * paragraph.h:
4462         * paragraph.C: remove owningBuffer(), don't pass Buffer
4463         to clone()
4464
4465         * factory.C: insetGraphicsParams changed
4466
4467 2003-06-02  John Levon  <levon@movementarian.org>
4468
4469         * LyXAction.C:
4470         * factory.C:
4471         * lfuns.h:
4472         * lyxfunc.C:
4473         * text3.C: remove insetparent
4474
4475 2003-06-02  John Levon  <levon@movementarian.org>
4476
4477         * buffer.h:
4478         * buffer.C: fix inset_iterator.end(), move out of line
4479         (bug 1149)
4480
4481 2003-06-01  John Levon  <levon@movementarian.org>
4482
4483         * text3.C: use a proper cut/paste when doing inset
4484         insert (from Jürgen Spitzmüller)
4485
4486 2003-06-01  John Levon  <levon@movementarian.org>
4487
4488         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4489
4490 2003-05-30  André Pönitz  <poenitz@gmx.net>
4491
4492         * rowpainter.C: unify second drawing phase
4493
4494 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * trans_mgr.C: remove one case of current_view
4497
4498         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4499
4500         * paragraph_funcs.h: remove paragraph.h include
4501
4502         * paragraph.h: delete NO_STD_LIST stuff
4503
4504         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4505
4506         * buffer.h: remove paragraph.h include
4507
4508         * ParagraphList.C: delete file
4509
4510         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4511
4512         * toc.C (getTocList): adjust
4513
4514         * paragraph_pimpl.C (validate): adjust
4515
4516         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4517
4518         * paragraph.C (Paragraph): adjust
4519         (getPositionOfInset): use const_iterator, adjust
4520         (bibitem): use const_iterator, adjust
4521         (setInsetOwner): adjust
4522
4523         * iterators.C (operator++): adjust
4524
4525         * InsetList.[Ch]: Replace selfmade iterator with standard
4526         vector::iterator also introduce const_iterator. Remove getPos,
4527         getInset and setInset from InsetTable. Adjust accordingly.
4528
4529         * BufferView.C (lockInset): adjust
4530         (ChangeInsets): adjust
4531
4532         * tabular.[Ch]: delete commented same_id functions
4533
4534 2003-05-28  John Levon  <levon@movementarian.org>
4535
4536         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4537
4538 2003-05-28  André Pönitz  <poenitz@gmx.net>
4539
4540         * metricsinfo.[Ch]: remove 'fullredraw' member
4541
4542 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4543
4544         * lyxtextclass.C (operator): remove caching.
4545
4546 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * text3.C: adjust
4549
4550         * text2.C (cursorBottom): adjust
4551         (setCounter): use ParagraphList::find, adjust
4552
4553         * text.C (workWidth): use ParagraphList::find, adjust
4554
4555         * lyxcursor.C (LyXCursor): adjust
4556
4557         * buffer.C (inset_iterator): adjust
4558
4559         * ParagraphList.h: make iterator(value_type) private, make
4560         ParagraphList a friend of iterator.
4561
4562         * ParagraphList.C (find): new function
4563
4564         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4565
4566 2003-05-27  André Pönitz  <poenitz@gmx.net>
4567
4568         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4569
4570 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4571
4572         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4573
4574 2003-05-26  John Levon  <levon@movementarian.org>
4575
4576         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4577
4578 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * remove same_id from function signatures, adjust.
4581
4582 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4585
4586         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4587
4588         * paragraph.C (Paragraph): get rid of same_ids parameter
4589
4590         * ParagraphList.C (insert): adjust
4591         (push_back): adjust
4592
4593 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * paragraph_funcs.C (breakParagraph): adjust
4596         (breakParagraphConservative): adjust
4597
4598         * buffer.C (readParagraph): adjust
4599
4600         * ParagraphList.C (insert): take a reference instead of a pointer
4601         (insert): adjust
4602
4603         * paragraph.[Ch] (id): new function
4604
4605         * bufferlist.C (newFile): adjust
4606
4607         * ParagraphList.C (ParagraphList): adjust
4608         (assign): adjust
4609         (push_back): take a reference instead of a pointer.
4610
4611         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4612
4613         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4614         instead.
4615
4616         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4617         set else use old code.
4618
4619         * ParagraphList.C: remove all NO_NEXT code and only compile this
4620         code of NO_STD_LIST is set.
4621
4622 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4623
4624         * BufferView_pimpl.C:
4625         * TextCache.C:
4626         * TextCache.h:
4627         * bufferlist.C:
4628         * errorlist.h:
4629         * format.C:
4630         * format.h:
4631         * graph.C:
4632         * lyxfunc.C:
4633         * lyxrc.C:
4634         * graphics/GraphicsConverter.C:
4635         * graphics/PreviewLoader.C: header adjustment
4636
4637 2003-05-23  Angus Leeming  <leeming@lyx.org>
4638
4639         * LaTeXFeatures.[Ch] (useBabel): new method.
4640         * bufferparams.C (writeLaTeX): use it.
4641
4642 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4643
4644         * ParagraphList.h (set): remove unused function.
4645
4646 2003-05-23  André Pönitz  <poenitz@gmx.net>
4647
4648         * BufferView.C:
4649         * BufferView_pimpl.C:
4650         * buffer.C:
4651         * buffer.h:
4652         * lyxfunc.C:
4653         * undo_funcs.C: setUndo reworked
4654
4655         * iterators.[Ch]: add access to topmost ParagraphList
4656
4657         * lyxtext.[Ch] (workWidth): add a const
4658
4659 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4660
4661         * texrow.[Ch] (increasePos): remove function
4662         * exporter.C (export): removed unused var and outdated comment
4663
4664 2003-05-23  Angus Leeming  <leeming@lyx.org>
4665
4666         * latexrunparams.h: rename fragile as moving_arg.
4667         * paragraph.C (simpleTeXOnePar): ditto.
4668         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4669
4670 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4671
4672         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4673         (createUndo): ditto
4674         (textUndoOrRedo): comment out a currently unused var.
4675
4676         * paragraph.h (NO_NEXT): enable NO_NEXT
4677
4678         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4679
4680         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4681
4682         * exporter.C (Export): adjust for removeAutoInsets removal.
4683
4684         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4685
4686         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4687
4688         * BufferView.[Ch] (removeAutoInsets): delete function
4689
4690 2003-05-22  Angus Leeming  <leeming@lyx.org>
4691
4692         * latexrunparams.h: add a free_spacing variable.
4693
4694         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4695         to pass moving_arg, as the data is stored in runparams.fragile.
4696
4697         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4698         to Inset::latexOptional or to simpleTeXOnePar.
4699
4700         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4701         free_spacing arg to Inset::latexOptional.
4702
4703         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4704         free_spacing arg.
4705
4706 2003-05-22  Angus Leeming  <leeming@lyx.org>
4707
4708         * latexrunparams.h: add fragile and use_babel variables.
4709
4710         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4711         * buffer.C (makeLaTeXFile): store this returned value in
4712         runparams.use_babel, thus passing it to the inset::latex methods.
4713
4714         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4715         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4716
4717         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4718         longer has a fragile arg, as it is stored in runparams.fragile.
4719
4720         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4721         moving_arg parameter as the data is stored in runparams.fragile.
4722
4723         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4724         a fragile parameter as the data is stored in runparams.fragile.
4725
4726 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4729
4730 2003-05-22  Angus Leeming  <leeming@lyx.org>
4731
4732         * latexrunparams.h: add a 'bool nice' which defaults to false.
4733
4734         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4735         now encapsulated within runparams.
4736
4737         * bufferlist.C (updateIncludedTeXfiles):
4738         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4739
4740 2003-05-22  Angus Leeming  <leeming@lyx.org>
4741
4742         * latexrunparams.h: new file containing struct LatexRunParams.
4743         * Makefile.am: add new file.
4744
4745         * LaTeX.[Ch] (c-tor, run):
4746         * buffer.[Ch] (makeLaTeXFile):
4747         * bufferlist.[Ch] (updateIncludedTeXfiles):
4748         * converter.C (convert, scanLog):
4749         * converter.[Ch] (runLaTeX):
4750         * exporter.C (Export):
4751         * paragraph.[Ch] (simpleTeXOnePar):
4752         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4753         * paragraph_funcs.[Ch] (latexParagraphs):
4754         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4755         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4756         pass around a LatexRunParams parameter.
4757
4758 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * paragraph.[Ch]: remove unused constructor
4761
4762         * ParagraphList.C (erase): new function, taking two iterators
4763
4764 2003-05-22  André Pönitz  <poenitz@gmx.net>
4765
4766         * undo_funcs.C: remove duplicated code
4767
4768         * iterator.[Ch]: operator=
4769
4770 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * tabular.C (SetMultiColumn): ws changes
4773
4774         * rowpainter.C (paintFirst): get rid of a ->previous
4775
4776         * lyx_cb.C (getPossibleLabel): parlist simplification
4777
4778         * BufferView.C (ChangeInsets): simplify slightly.
4779
4780 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4781
4782         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4783         * lfuns.h: new LFUN_SPACE
4784         * lyxfunc.C: protected space has a new lfun
4785         * paragraph_funcs.C: read new space insets
4786         * text3.C:
4787         * factory.C: handle new space insets
4788
4789 2003-05-22  André Pönitz  <poenitz@gmx.net>
4790
4791         * BufferView.C:
4792         * BufferView_pimpl.C:
4793         * buffer.[Ch]:
4794         * lyxfunc.C:
4795         * undo_funcs.C: return a ParIterator from getParFromID.
4796
4797         * iterators.[Ch]: add two const's
4798
4799 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * toc.C (getTocList): adjust
4802
4803         * iterators.[Ch]: rework for parlist
4804
4805         * buffer.C (par_iterator_begin): adjust
4806         (par_iterator_end): adjust
4807
4808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4809
4810         * BufferView.C (removeAutoInsets): adjust
4811         (ChangeInsets): adjust
4812
4813 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * text.C (top_y): fix bug 1110
4816
4817 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4818
4819         * errorlist.[Ch]: added
4820         * buffer.C:
4821         * BufferView.[Ch]:
4822         * BufferView_pimpl.C:
4823         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4824         instead
4825
4826 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * Makefile.am: ensure that lyx is relinked upon changes to the
4829         various "convenience" libs.
4830
4831 2003-05-20  Angus Leeming  <leeming@lyx.org>
4832
4833         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4834         files are compiled in alphabetical order again.
4835
4836         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4837
4838 2003-05-19  Angus Leeming  <leeming@lyx.org>
4839
4840         * gettext.[Ch]: remove "char const * _(char const *)".
4841
4842 2003-05-19  André Pönitz  <poenitz@gmx.net>
4843
4844         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4845
4846         * Makefile.am:
4847         * BufferView.C:
4848         * DepTable.h:
4849         * LaTeXFeatures.C:
4850         * buffer.C:
4851         * lyxfont.C:
4852         * lyxlex.h:
4853         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4854
4855 2003-05-19  André Pönitz  <poenitz@gmx.net>
4856
4857         * buffer.C:
4858         * lyxlayout.[Ch]:
4859         * lyxtextclass.[Ch]:
4860         * paragraph.C:
4861         * paragraph_funcs.[Ch]:
4862         * text2.C:
4863         * text3.C: more insetenv work
4864
4865 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4866
4867         * ParagraphParameters.C (params2string): small bug fixed
4868
4869 2003-05-16  André Pönitz  <poenitz@gmx.net>
4870
4871         * debug.C:
4872         * bufferview_funcs.C: patch from Kornel Benko to prevent
4873           crash when _(...) is called twice in a statement
4874
4875 2003-05-16  André Pönitz  <poenitz@gmx.net>
4876
4877         * BufferView.C:
4878         * lyxfunc.C:
4879         * text.C:
4880         * text2.C:
4881         * text3.C:
4882         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4883
4884 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4885
4886         * lyx_main.C (init): remove spurious static_cast
4887
4888 2003-05-14  André Pönitz  <poenitz@gmx.net>
4889
4890         * BufferView.C: fix format string
4891
4892 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4893
4894         * BufferView.[Ch] (insertErrors): removed
4895         * BufferView.[Ch] (showErrorList): added
4896         * buffer.C (runChkTeX):
4897         * converter.C (scanLog): call showErrorList instead of inserterrors
4898
4899 2003-05-13  André Pönitz  <poenitz@gmx.net>
4900
4901         * BufferView_pimpl.C:
4902         * buffer.C:
4903         * bufferview_func.C:
4904         * MenuBackend.C:
4905         * lyxfunc.C:
4906         * lyxrc.C:
4907         * tex-accent.C:
4908         * text3.C:
4909         * toc.C:
4910         * tabular_funcs.h: tostr() from its own header
4911
4912         * ParagraphParameters.C:
4913         * ToolbarBackend.C:
4914         * bufferparams.C:
4915         * format.C:
4916         * lyxlex_pimpl.C:
4917         * text3.C: STRCONV()
4918
4919 2003-05-12  André Pönitz  <poenitz@gmx.net>
4920
4921         * BufferView.C:
4922         * BufferView_pimpl.C:
4923         * CutAndPaste.C:
4924         * LaTeX.C:
4925         * LaTeXFeatures.C:
4926         * ParagraphParameters.C:
4927         * buffer.C:
4928         * bufferlist.C:
4929         * bufferparams.C:
4930         * bufferview_funcs.C:
4931         * converter.C:
4932         * counters.C:
4933         * debug.C:
4934         * exporter.C:
4935         * format.C:
4936         * importer.C:
4937         * lyx_cb.C:
4938         * lyx_main.C:
4939         * lyxfont.C:
4940         * lyxfunc.C:
4941         * lyxvc.C:
4942         * paragraph.C:
4943         * paragraph_funcs.C:
4944         * tabular.C:
4945         * tabular_funcs.C:
4946         * text2.C:
4947         * text3.C:  boost::format -> bformat  all over the place
4948
4949
4950 2003-05-09  André Pönitz  <poenitz@gmx.net>
4951
4952         * LColor.[Ch]: Pimpl the #include <map> away
4953
4954 2003-05-09  John Levon  <levon@movementarian.org>
4955
4956         * bufferlist.C: never remove emergency saves
4957
4958 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4959
4960         * Makefile.am: better lib building
4961
4962 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4965         instead.
4966         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4967         (simpleTeXSpecialChars): adjust
4968         (simpleTeXSpecialChars): adjust
4969         * paragraph.C (simpleTeXOnePar): adjust
4970         * buffer.C (makeLaTeXFile): adjust
4971
4972         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4973
4974         * text2.C (changeDepth): parlist cleanup
4975         (getColumnNearX): ditto
4976
4977         * rowpainter.C (getLabelFont): parlist cleanup
4978
4979         * bufferlist.C (newFile): parlist cleanup
4980
4981         * CutAndPaste.C (eraseSelection): parlist cleanup
4982
4983         * BufferView_pimpl.C (trackChanges): parlist cleanup
4984         (dispatch): ditto
4985
4986         * BufferView.C (lockInset): parlist cleanup.
4987         (ChangeInsets): ditto
4988
4989 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * CutAndPaste.h: Update file header.
4992
4993         * CutAndPaste.C: Update file header.
4994         Store the parts cut out of the Document in a limited_stack.
4995         (copySelection): adjust
4996         (pasteSelection): new function, takes the index in the limited stack.
4997         (nrOfParagraphs): adjust
4998         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4999         simplify error inset insertion.
5000         (checkPastePossible): adjust
5001
5002 2003-05-06  John Levon  <levon@movementarian.org>
5003
5004         * text2.C: don't cast wrap inset to float
5005
5006 2003-05-05  André Pönitz  <poenitz@gmx.net>
5007
5008         * iterator.C:
5009         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5010
5011         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5012           few naked Paragraph *.
5013
5014 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5015
5016         * bufferparams.C: Output warning if a document with missing
5017         TeX document class is loaded
5018         * exporter.C: Disable TeX exports if the document class is missing
5019         * lyxtextclass.C:
5020         * lyxtextclass.h:
5021         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5022         isTeXClassAvailable()
5023
5024 2003-05-03  John Levon  <levon@movementarian.org>
5025
5026         * BufferView.h:
5027         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5028         explicit cursor show/hide
5029
5030         * BufferView_pimpl.h:
5031         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5032         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5033
5034         * lyxfunc.C: hide cursor before dispatching.
5035
5036         * lyx_cb.C:
5037         * lyxfind.C:
5038         * text.C:
5039         * text3.C: remove explicit cursor hides
5040
5041 2003-05-02  André Pönitz  <poenitz@gmx.net>
5042
5043         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5044
5045         * undo_funcs.C:
5046         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5047           linked lists
5048
5049         * text2.C: tiny whitespace
5050
5051 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * undo_funcs.C: almost only ws changes.
5054
5055         * ParagraphList.C (splice): just return if pl is empty.
5056
5057 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * ParagraphList.C (splice): new function.
5060
5061         * CutAndPaste.C (pasteSelection): use it
5062
5063 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5064
5065         * CutAndPaste.C (pasteSelection): remove the last next and
5066         previous from this file.
5067
5068 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5069
5070         * CutAndPaste.C (pasteSelection): more clean up, user proper
5071         ParagraphList functions for pasteing.
5072
5073         * ParagraphList.C (insert): new function, three arg insert
5074
5075 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * ParagraphList.C (insert): new function, three arg insert
5078
5079         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5080         not on paragraphs.
5081
5082 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5085
5086 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5089
5090 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5093         (copySelection): clean up a bit.
5094         (pasteSelection): use make_pair
5095
5096         * ParagraphList.C (ParagraphList): implement copy constructor
5097         (operator=): implement, base on copy constructor.
5098         (assign): new func
5099
5100         * paragraph.C (erase): return a bool
5101
5102         * paragraph_pimpl.C (erasePos): remove function, move contents...
5103         (erase): ... here. Return a bool.
5104         (erase): call erase instead of erasePos.
5105
5106 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * ParagraphList.h: define PitPosPair
5109         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5110         ParagraphList, fix a bug on pasting multiple pars
5111         * text2.C: change interface to C&P
5112
5113 2003-04-30  André Pönitz  <poenitz@gmx.net>
5114
5115         * undo_func.C: revert part of yesterday's patch 2
5116
5117 2003-04-30  John Levon  <levon@movementarian.org>
5118
5119         * LColor.C: s/tabular/table/
5120
5121 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * text3.C (dispatch): do not convert iterator -> pointer
5124         * undo_funcs.C (setCursorParUndo): ditto
5125         * text_funcs.C (transposeChars): ditto
5126
5127         * text2.C (setLayout): ws changes only
5128
5129         * text.C (breakParagraph): do not convert iterator -> pointer
5130         (insertChar): ditto
5131         (acceptChange): ditto
5132         (rejectChange): ditto
5133         (changeCase): ditto
5134         (Delete): ditto
5135         (backspace): ditto
5136
5137         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5138         pointer
5139
5140 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5141
5142         * text3.C (gotoInset): YABG (yet another bad getChar)
5143
5144 2003-04-29  André Pönitz  <poenitz@gmx.net>
5145
5146         * paragraph.h: make operator= private unimplemented as long as
5147           it is unusable
5148
5149         * ParagraphList.C: whitespace
5150
5151         * paragraph.[Ch]:
5152         * paragraph_pimpl.[Ch]:
5153         * paragraph_funcs.C:
5154         * CutAndPaste.C:
5155         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5156
5157         * text2.C:
5158           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5159
5160 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5161
5162         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5163         * paragraph.[Ch] (erase):
5164         * paragraph_pimpl.[Ch] (erase): change return type and value
5165         * text2.C (cutSelection): some rework
5166
5167 2003-04-28  John Levon  <levon@movementarian.org>
5168
5169         * bufferlist.C: changes for unsaved changes dialog
5170
5171 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5172
5173         * bufferlist.C (newFile): set language (messages_) for new
5174         documents also.
5175
5176         * buffer.C (readFile): ws changes only.
5177
5178 2003-04-28  André Pönitz  <poenitz@gmx.net>
5179
5180         * undo_funcs.C:
5181         * lyxfunc.C:
5182         * buffer.[Ch]:
5183         * BufferView_pimpl.C:
5184         * BufferView.C: getParFromID related ParagraphList::iterator changes
5185
5186 2003-04-28  André Pönitz  <poenitz@gmx.net>
5187
5188         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5189           Changes
5190
5191 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * messages.C: remove one more localedir class variable.
5194
5195 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * messages.C (getLocaleDir): singleton generation function
5198         (Pimpl): use it.
5199         (Messages): add a default constructor.
5200
5201         * main.C (main): do not setup localedir here, do not call
5202         gettext_init.
5203
5204         * gettext.C (_): use it.
5205         (gettext_init): delete funciton
5206
5207 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * gettext.C (getLyXMessages): new singleton generating function.
5210
5211         * buffer.C (updateDocLang): adjust
5212
5213         * Makefile.am (messages.o): add target
5214         (main.o): remove target
5215
5216 2003-04-27  John Levon  <levon@movementarian.org>
5217
5218         * bufferlist.C:
5219         * lyx_cb.C:
5220         * lyxfunc.C:
5221         * lyxvc.C: specify cancel button in Alert::prompt
5222
5223 2003-04-26  John Levon  <levon@movementarian.org>
5224
5225         * text3.C:
5226         * lyxfunc.C:
5227         * lfuns.h:
5228         * LyXAction.C: add LFUN_INSET_SETTINGS
5229
5230         * lyxfunc.C: don't enable tabular-feature when there's
5231         just any locking inset
5232
5233 2003-04-26  John Levon  <levon@movementarian.org>
5234
5235         * bufferlist.C: re-add Cancel to buffer close question
5236
5237         * lyxfunc.C: fix import UI a bit
5238
5239 2003-04-25  John Levon  <levon@movementarian.org>
5240
5241         * gettext.C: remove the broken asserts for now
5242
5243 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * messages.C: make case where setlocale cannot comply work better.
5246
5247         * buffer.C (updateDocLang): new function
5248         (changeLanguage): use it
5249         (readFile): use it
5250
5251         * text2.C (setCounter): use B_ a bit.
5252
5253         * lyxlayout.C (Read): be sure to trim the label strings.
5254
5255         * messages.C (Messages): fix typo in comment
5256
5257         * buffer.C (readFile): set message_ after file is loaded.
5258         (makeDocBookFile): remove double return
5259         (changeLanguage): reset message_ upon language change.
5260         (B_): new func, use this to get translated buffer strings.
5261
5262         * main.C: add myself and Jean Marc as authors.
5263
5264 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * messages.[hC]: pimplify Messages, and three different pimpls to be
5267         used in different circumstances.
5268
5269         * gettext.[Ch]: change for use with new message code.
5270
5271 2003-04-24 André Pönitz <poenitz@gmx.net>
5272
5273         * factory.C: support for eqref
5274
5275 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * messages.[Ch]: add missing char
5278
5279         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5280
5281         * messages.[Ch]: New files
5282
5283 2003-04-18  John Levon  <levon@movementarian.org>
5284
5285         * BufferView.h:
5286         * BufferView.C:
5287         * BufferView_pimpl.C:
5288         * lfuns.h:
5289         * LyXAction.C:
5290         * lyxtext.h:
5291         * text2.C: remove layout-copy/paste (bug 778)
5292
5293 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5296
5297 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5300         if they succeed. Act accordingly.
5301
5302 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * text2.C (setCharFont): adjust
5305         (setCounter): adjust
5306         (insertStringAsLines): adjust
5307
5308         * text.C (leftMargin): adjust
5309         (setHeightOfRow): adjust
5310
5311         * rowpainter.C (paintFirst): adjust
5312         (paintLast): adjust
5313
5314         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5315         (outerHook): ditto
5316         (isFirstInSequence): ditto
5317         (getEndLabel): ditto
5318         (outerFont): adjust
5319
5320         * paragraph.C (getParLanguage): comment out some hard stuff.
5321
5322         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5323         (sgmlError): ditto
5324         (simpleDocBookOnePar): ditto
5325         (makeDocBookFile): use ParagraphList::iterator
5326
5327         * CutAndPaste.C (pasteSelection): adjust
5328
5329 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5330
5331         * text2.C (getFont): adjust
5332         (getLayoutFont): adjust
5333         (getLabelFont): adjust
5334
5335         * paragraph_funcs.C (TeXOnePar): adjust
5336
5337         * buffer.C (simpleLinuxDocOnePar): adjust
5338         (simpleDocBookOnePar): adjust
5339
5340         * CutAndPaste.C (pasteSelection): adjust
5341
5342         * BufferView.C (getEncoding): adjust
5343
5344         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5345
5346 2003-04-16  John Levon  <levon@movementarian.org>
5347
5348         * lyxfind.C: use parlist stuff for search/changes
5349
5350 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5353
5354         * text2.C (deleteEmptyParagraphMechanism): adjust
5355
5356         * text2.[Ch] (ownerParagraph): delete func (both of them
5357
5358 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5361
5362 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * ParagraphList.C: prepare for NO_NEXT
5365
5366 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * text2.C (getFont): adjust
5369         (getLayoutFont): adjust
5370         (getLabelFont): adjust
5371
5372         * paragraph.C (getFont): adjust
5373         (getLabelFont): adjust
5374         (getLayoutFont): adjust
5375
5376         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5377
5378 2003-04-15  John Levon  <levon@movementarian.org>
5379
5380         From Angus Leeming
5381
5382         * lyx_main.C: handle Include in .ui files
5383
5384 2003-04-15  John Levon  <levon@movementarian.org>
5385
5386         * MenuBackend.C: make the doc files length shorter
5387
5388         * ToolbarBackend.h:
5389         * ToolbarBackend.C: handle toolbar placement flags,
5390         Minibuffer
5391
5392 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5395         adjust
5396
5397         * paragraph_funcs.C (TeXOnePar): adjust
5398
5399         * paragraph.C (getLabelFont): add outerfont arg, adjust
5400         (getLayoutFont): ditto
5401         (simpleTeXOnePar): adjust
5402
5403         * paragraph_pimpl.C (realizeFont): delete func
5404
5405 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5406
5407         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5408         row argument, constify cur argument.
5409
5410 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411
5412         * text2.C (getFont): adjust
5413         (getLayoutFont): adjust
5414         (getLabelFont): adjust
5415
5416         * paragraph_funcs.C (TeXOnePar): adjust
5417         (outerFont): new func...
5418         (realizeFont): ...moved out from here, changed this to facilitate
5419         transition
5420
5421         * paragraph.C (getFont): take outerfont as arg, adjust
5422         (simpleTeXOnePar): add outerfont arg, adjust
5423
5424         * buffer.C (simpleLinuxDocOnePar): adjust
5425         (simpleDocBookOnePar): adjust
5426
5427         * CutAndPaste.C (pasteSelection): adjust
5428
5429         * BufferView.C (getEncoding): adjust
5430
5431 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * text2.C (setCharFont): adjust
5434         (setCounter): adjust
5435
5436         * text.C (leftMargin): adjust
5437         (setHeightOfRow): adjust
5438
5439         * rowpainter.C (paintFirst): adjust
5440         (paintLast): adjust
5441
5442         * paragraph_pimpl.C (realizeFont): adjust
5443
5444         * paragraph.C (isFirstInSequence): move from here...
5445         * paragraph_funcs.C (isFirstInSequence): ...to here
5446
5447         * paragraph.C (outerHook): move from here...
5448         * paragraph_funcs.C (outerHook): ...to here
5449
5450         * paragraph.C (depthHook): move from here...
5451         * paragraph_funcs.C (depthHook): ...to here
5452
5453         * paragraph.C (getEndLabel): move from here...
5454         * paragraph_funcs.C (getEndLabel): ...to here
5455
5456         * text2.C (realizeFont): move from here...
5457         * paragraph_funcs.C (realizeFont): ...to here
5458
5459 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5462
5463 2003-04-14  Angus Leeming  <leeming@lyx.org>
5464
5465         * LColor.[Ch]: scrap LColor mathcursor.
5466
5467 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5468
5469         * lyxlex.[Ch] (text): delete function
5470         * trans.C (Load): adjust
5471         * paragraph_funcs.C (readParToken): adjust
5472
5473 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5476         vector<char> instead of a char[].
5477
5478         * lyxlex_pimpl.C (getString): adjust
5479         (next): adjust
5480         (lex): use getString
5481         (eatLine): adjust
5482         (nextToken): adjust
5483
5484         * lyxlex.C (text): use pimpl_->getString()
5485         (getBool): ditto
5486         (findToken): ditto
5487
5488 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5491         (makeFontEntriesLayoutSpecific): temp var for par.size()
5492         (setLayout): temp var for ownerParagraphs().end()
5493         (fullRebreak): temp var for rows().end()
5494         (selectionAsString): temp var for boost::next(startpit), realize
5495         that the while really is a regular for loop.
5496         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5497         setCursor in one place.
5498         (setParagraph): temp vr for ownerParagraphs().end()
5499         (updateCounters): make the while loop a for loop
5500         (cutSelection): temp var for ownerParagraphs().end()
5501         (updateInset): make the do {} while() a regular for loop
5502         (getCursorX): use temp vars
5503         (setCurrentFont): use temp vars
5504         (getColumnNearX): use temp vars
5505
5506 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5507
5508         * text.C (transformChar): use temp var for getChar
5509         (computeBidiTables): use temp var for row->par()
5510         (fill): move temp vars for row->par() and pit->layout() earlier in
5511         the function.
5512         (labelFill): use temp var for row->par()
5513         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5514         asc and desc, realize that pit never changes and that firstpit is
5515         just a duplicate and not needed. Exchange rit->par() with pit in a
5516         lot of places.
5517         (breakAgain): use a temp var for boost::next(rit)
5518         (breakAgainOneRow): ditto
5519         (breakParagraph): use a temp var for rows().begin()
5520         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5521         (cursorRightOneWord): use temp var for cursor.par() and
5522         cursor.pos(), remove usage of tmpcursor.
5523         (cursorLeftOneWord): use temp var for cursor.par() and
5524         cursor.pos() only set cur at end of function.
5525
5526 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5527
5528         * text.C, text2.C: exchange all usage of Paragraph::next with
5529         boost::next(ParagraphList::iterator)
5530
5531         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5532
5533         * text2.C (cursorTop): simplify implementation
5534         (cursorBottom): ditto
5535         (setParagraph): use ParagraphList::iterator
5536         (setCurrentFont): adjust
5537         (getColumnNearX): adjust
5538         (cursorRight): adjust
5539         (cursorLeft): remove usage of Paragraph::previous
5540         (cursorUpParagraph): ditto
5541         (deleteEmptyParagraphMechanism): slight cleanup
5542
5543         * text.C (isBoundary): take a Paragraph const & instead of a
5544         pointer as arg.
5545         (addressBreakPoint): ditto
5546         (leftMargin): remove usage of Paragraph::previous.
5547         (setHeightOfRow): ditto
5548         (cursorLeftOneWord): ditto
5549         (selectNextWordToSpellcheck): ditto
5550         (Delete): ditto
5551         (backspace): ditto
5552         (breakParagraph): remove one usage of Paragraph::next
5553         (redoParagraph): ditto
5554         (acceptChange): ditto
5555         (insertChar): adjust
5556         (rowBreakPoint): adjust
5557
5558         * bufferview_funcs.C (toggleAndShow): adjust
5559
5560 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5561
5562         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5563         methods to access it.
5564         * lyxtext.h:
5565         * text.C: Added updateRowPositions to compute all row positions.
5566         Make top_y and getRowNearY() to use the cached y position
5567
5568 2003-04-11  John Levon  <levon@movementarian.org>
5569
5570         * text.C (rowBreakPoint): reintroduce the labelEnd
5571         checks, code copied from the row fill stuff. Deep voodoo.
5572
5573         * text.C (fill): add a comment and debugging for the
5574         next poor soul.
5575
5576 2003-04-11  John Levon  <levon@movementarian.org>
5577
5578         * text.C: make sure fullrow insets get wrapped to the next line,
5579         even when they're in a manual label
5580
5581 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * text2.C (insertParagraph): make it take ParagraphList::iterator
5584         as arg.
5585         (setLayout): make it return ParagraphList::iterator
5586         (redoParagraphs): ditto
5587         (setCounter): ditto
5588         (checkParagraph): ditto
5589
5590         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5591
5592         * text2.C: adjust several funcs.
5593         (realizeFont): take a ParagraphList::iterator as arg.
5594         (getLayoutFont): ditto
5595         (getLabelFont): ditto
5596         (setCharFont): ditto
5597
5598         * text.C: adjust several funcs.
5599
5600 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5601
5602         * text.C (selectNextWordToSpellcheck): don't accidentally
5603         skip insets
5604
5605 2003-04-10  John Levon  <levon@movementarian.org>
5606
5607         * ToolbarBackend.C (getIcon): special handling for
5608         LFUN_MATH_DELIM
5609
5610 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5611
5612         * text2.C (cursorRight): a getChar assert fixed
5613
5614 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * text2.C (getFont): change to take a ParagraphList::iterator
5617         instead of Paragraph*
5618         Adjust several functions.
5619
5620         * text.C (transformChar): change to take a ParagraphList::iterator
5621         instead of Paragraph*
5622         (singleWidth): ditto
5623         Adjust several functions.
5624
5625         * rowpainter.C: adjust several functions
5626         * rowpainter.h:store a ParagraphList::iterator and not a
5627         Paragraph&.
5628
5629
5630 2003-04-09  John Levon  <levon@movementarian.org>
5631
5632         * lyxfunc.C:
5633         * lfuns.h:
5634         * LyXAction.h:
5635         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5636         and the "help" bits as well
5637
5638 2003-04-09  John Levon  <levon@movementarian.org>
5639
5640         * ToolbarBackend.h:
5641         * ToolbarBackend.C: allow multiple toolbars
5642
5643 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644
5645         * undo_funcs.C (setCursorParUndo): adjust
5646
5647         * text_funcs.C (transposeChars): adjust
5648
5649         * text3.C (gotoNextInset): adjust
5650         (dispatch): adjust
5651
5652         * text2.C (setLayout): adjust
5653         (changeDepth): adjust
5654         (setFont): adjust
5655         (redoParagraphs): adjust
5656         (selectionAsString): adjust
5657         (setParagraph): adjust
5658         (insertInset): adjust
5659         (cutSelection): adjust
5660         (copySelection): adjust
5661         (pasteSelection): adjust
5662         (insertStringAsLines): adjust
5663         (updateInset): adjust
5664         (setCursor): change to take a ParagraphList::iterator parameter
5665         (setCursorIntern): change to take a ParagraphList::iterator parameter
5666         (setCurrentFont): adjust
5667         (cursorLeft): adjust
5668         (cursorRight): adjust
5669         (deleteEmptyParagraphMechanism): adjust
5670
5671         * text.C (breakParagraph): adjust
5672         (insertChar): adjust
5673         (acceptChange): adjust
5674         (rejectChange): adjust
5675         (selectNextWordToSpellcheck): adjust
5676         (changeCase): adjust
5677         (Delete): adjust
5678         (backspace): adjust
5679
5680         * lyxfind.C (SearchForward): adjust
5681         (SearchBackward): adjust
5682         (nextChange): adjust
5683
5684         * lyxcursor.C (par): adjust
5685
5686         * lyxcursor.h: store a ParagraphList::iterator instead of a
5687         Paragraph*
5688
5689         * lyx_cb.C (getPossibleLabel): adjust
5690
5691         * bufferview_funcs.C (toggleAndShow): adjust
5692
5693         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5694         (dispatch): adjust
5695
5696         * BufferView.C (removeAutoInsets): adjust
5697         (lockedInsetStoreUndo): adjust
5698
5699 2003-04-09  John Levon  <levon@movementarian.org>
5700
5701         * ToolbarBackend.C: try icon without argument
5702         if with argument fails
5703
5704 2003-04-08  John Levon  <levon@movementarian.org>
5705
5706         * ToolbarBackend.h:
5707         * ToolbarBackend.C: add getIcon(), handle tooltip,
5708         and change from "Icon" to "Item".
5709
5710 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5711
5712         * BufferView.C (lockInset): another bad getchar crunched
5713
5714 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5715
5716         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5717         again)
5718
5719 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5720
5721         * lyxfind.C (searchForward, searchBackwards): bug 782
5722
5723 2003-04-07  John Levon  <levon@movementarian.org>
5724
5725         * paragraph.C: remove dead comment
5726
5727         * text.C: remove troublesome depth-fiddling code
5728         in leftMargin() and rightMargin() (bug 1017)
5729
5730         * text.C: fix breaking of rows in nested lists
5731         (bug 1004)
5732
5733         * text2.C (updateCounters): fix up depth values
5734         (bug 1013)
5735
5736 2003-04-07  John Levon  <levon@movementarian.org>
5737
5738         * BufferView_pimpl.C: clear message when doc finishes resizing,
5739         and after a mouse event
5740
5741         * lyxfunc.C: clear message after exiting inset
5742
5743 2003-04-07  John Levon  <levon@movementarian.org>
5744
5745         * bufferview_funcs.C: show math status not outside
5746         status in the statusbar
5747
5748 2003-04-07  John Levon  <levon@movementarian.org>
5749
5750         * lyxfunc.C: note status changed after a depth change
5751
5752 2003-04-04  Angus Leeming  <leeming@lyx.org>
5753
5754         * LaTeX.h: move AuxInfo operator==, != out of line.
5755         Remove LaTeX virtual destructor; nothing derives from it.
5756         Move operator()() out of public area and rename it startscript().
5757         Change protected for private.
5758
5759 2003-04-04  Angus Leeming  <leeming@lyx.org>
5760
5761         * lyxfunc.C:
5762         * text2.C: remove unneeded #includes.
5763
5764 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5765
5766         * text2.C (dEPM): fix the heigth of the next row
5767
5768 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5769
5770         * text.C: squashed an invalid getChar requester + some ws changes
5771
5772 2003-04-03  John Levon  <levon@movementarian.org>
5773
5774         * bufferview_funcs.h:
5775         * bufferview_funcs.C:
5776         * lyxfunc.C:
5777         * lyxtext.h:
5778         * text2.C: make getStatus work for the env depth lfuns
5779
5780 2003-04-03  John Levon  <levon@movementarian.org>
5781
5782         * bufferview_funcs.h:
5783         * bufferview_funcs.C:
5784         * lyxfunc.C:
5785         * lyxtext.h:
5786         * text2.C: parlistize decDepth(), by merging it with incDepth()
5787
5788 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * lyxrow.h: store a ParagraphList::iterator instead of a
5791         Paragraph* and adjust other class functions to suit.
5792
5793         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5794         above.
5795
5796 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5797
5798         * text2.C (setCursor): do not anchor to cursor row for the time being
5799
5800 2003-04-02  John Levon  <levon@movementarian.org>
5801
5802         * LyXAction.C:
5803         * lfuns.h:
5804         * lyx_main.C:
5805         * lyxtext.h:
5806         * text.C:
5807         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5808
5809 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * paragraph.h: make ParagraphList and ParagraphList::iterator
5812         friends of Paragraph.
5813
5814         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5815
5816         * ParagraphList.C: Use the private next_ and previous_ from
5817         Paragraph.
5818
5819 2003-04-01  John Levon  <levon@movementarian.org>
5820
5821         * ToolbarBackend.h:
5822         * ToolbarBackend.C:
5823         * Makefile.am: rename, remove defaults gunk
5824
5825         * MenuBackend.h:
5826         * MenuBackend.C: remove defaults gunk
5827
5828         * Languages.h:
5829         * Languages.C: remove defaults gunk
5830
5831         * lyx_main.h:
5832         * lyx_main.C: error out if files couldn't be found.
5833
5834 2003-04-02  John Levon  <levon@movementarian.org>
5835
5836         * text2.C: make incDepth() use parlist
5837
5838 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5839
5840         * undo_funcs.C (firstUndoParagraph): adjust
5841
5842         * text3.C (gotoInset): adjust
5843         (dispatch): adjust, and rewrite loop.
5844
5845         * text2.C (init): adjust, and rewrite loop.
5846         (redoParagraphs): adjust
5847         (updateInset): adjust, and rewrite loop.
5848         (deleteEmptyParagraphMechanism): adjust
5849
5850         * tabular.C (LyXTabular): adjust
5851         (SetMultiColumn): adjust
5852         (TeXRow): adjust
5853
5854         * lyxtext.[Ch] (ownerParagraph): delete function
5855         (ownerParagraphs): new function returns a ParagraphList.
5856
5857         * BufferView.C (removeAutoInsets): adjust
5858         (insertErrors): adjust
5859         (setCursorFromRow): adjust
5860
5861 2003-04-01  Angus Leeming  <leeming@lyx.org>
5862
5863         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5864         in the frontends.
5865
5866 2003-04-02  John Levon  <levon@movementarian.org>
5867
5868         * lyxtext.h:
5869         * text.C:
5870         * Makefile.am:
5871         * text_funcs.h:
5872         * text_funcs.C: make transposeChars a free function
5873
5874         * lyxrow_funcs.C: remove wrong comment
5875
5876 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * lyxtext.h: adjust
5879         * rowpainter.C: adjust
5880         * text.C: adjust
5881         * text2.C: adjust
5882         * text3.C: adjust
5883
5884         * lyxrow_funcs. [Ch]: new files
5885
5886         * lyxrow.[Ch]: remove next and previous pointers
5887         (next,previous): remove accessor functions
5888         (isParEnd): move to lyxrow_funcs
5889         (lastPos): move to lyxrow_funcs
5890         (nextRowIsAllInset): move to lyxrow_funcs
5891         (lastPrintablePos): move to lyxrow_funcs
5892         (numberOfSeparators): move to lyxrow_funcs
5893         (numberOfHfills): move to lyxrow_funcs
5894         (numberOfLabelHfills): move to lyxrow_funcs
5895         (hfillExpansion): move to lyxrow_funcs
5896
5897         * lyxfunc.C: adjust
5898
5899         * bufferview_funcs.C (toggleAndShow): adjust
5900
5901         * RowList.h: Remove class RowList from file leave just a
5902         std::list<Row>.
5903
5904         * RowList.C: delete file
5905
5906         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5907         and lyxrow_funcs.h
5908
5909 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * text3.C (cursorPrevious): adjust
5912         (cursorNext): adjust
5913         (dispatch): adjust
5914
5915         * text2.C (redoHeightOfParagraph): adjust
5916         (redoDrawingOfParagraph): adjust
5917         (setCursor): adjust
5918
5919         * text.C (breakParagraph): adjust
5920         (insertChar): adjust
5921         (backspace): adjust
5922
5923         * rowpainter.C (RowPainter): adjust
5924         (leftMargin): simplify and adjust
5925         (most rowpainter functions): adjust.
5926
5927         * rowpainter.h: store the row as RowList::iterator not as Row*
5928
5929         * lyxcursor.C (row): taka RowList::iterator as arg
5930         (irow): ditto
5931
5932         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5933         of Row*.
5934
5935 2003-04-01  Angus Leeming  <leeming@lyx.org>
5936
5937         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5938         stuff like bool Bool.
5939
5940 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5941
5942         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5943         rewrite a loop
5944
5945 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5948         RowList::iterator.
5949
5950         * lyxtext.h (rows): drop one version and leve a const variant that
5951         returns a RowList::iterator.
5952
5953 2003-03-31  Angus Leeming  <leeming@lyx.org>
5954
5955         * text.C (fill): ensure that the signature is the same as that in the
5956         header file.
5957
5958 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5959
5960         * text2.C (redoParagraphs): adjust
5961         (updateCounters): adjust
5962         (checkParagraph): adjust
5963         (getColumnNearX): adjust and reformat a bit.
5964
5965         * text.C (top_y): adjust
5966         (workWidth): adjust
5967         (leftMargin): adjust
5968         (prepareToPrint): adjust
5969         (getRow): adjust
5970         (getRowNearY): adjust
5971
5972         * lyxtext.h: make rowlist_ mutable.
5973
5974         * RowList.h: add const_iterator
5975         * RowList.C: adjust for RowList::const_iterator.
5976
5977         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5978         adjust.
5979
5980 2003-03-31  John Levon  <levon@movementarian.org>
5981
5982         * lyxrc.h:
5983         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5984
5985         * lyx_main.C: set default fonts from using lyx_gui funcs
5986
5987         * exporter.C: pdf_mode moved from lyxrc
5988
5989         * lyx_cb.C:
5990         * lyxfunc.C: changes from above
5991
5992 2003-03-31  John Levon  <levon@movementarian.org>
5993
5994         * lyx_main.C: fix to the last fix
5995
5996 2003-03-31  John Levon  <levon@movementarian.org>
5997
5998         * bufferlist.C: "Load original" -> "Load Original"
5999
6000         * converter.C:
6001         * exporter.C:
6002         * importer.C:
6003         * lyx_main.C:
6004         * format.C: more Alert cleanups
6005
6006 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * text2.C (removeParagraph): make it take a RowList::iterator as
6009         arg, adjust.
6010         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6011         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6012
6013         * text.C (anchor_row): make it take a RowList::iterator as arg,
6014         adjust.
6015         (computeBidiTables): make it take a const reference to Row instead
6016         of Row pointer, adjust.
6017         (leftMargin): make it take a RowList::iterator as arg, adjust.
6018         (rowBreakPoint): adjust
6019         (breakAgainOneRow): make it take a RowList::iterator as arg,
6020         adjust.
6021         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6022
6023         * bufferview_funcs.C (toggleAndShow): adjust
6024
6025 2003-03-30  John Levon  <levon@movementarian.org>
6026
6027         * Makefile.am:
6028         * BoostFormat.h:
6029         * boost-inst.C: moved to support
6030
6031         * several files: changes as a result
6032
6033 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6034
6035         * text2.C (LyXText): adjust.
6036         (init): adjust
6037         (removeRow): make it take a RowList::iterator as arg, adjust.
6038         (fullRebreak): adjust
6039         (deleteEmptyParagraphMechanism): adjust
6040         (clearPaint): adjust
6041         (postPaint): adjust
6042
6043         * text.C (top_y): adjust
6044         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6045         (breakAgain): make it take a RowList::iterator as arg, adjust.
6046         (breakParagraph): adjust
6047         (insertChar): adjust
6048         (backspace): adjust
6049
6050         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6051         need_break_row, and refresh_row.
6052
6053         * text3.C (dispatch): adjust
6054
6055         * text2.C (checkParagraph): adjust
6056         (setCursor): adjust
6057         (setCursorFromCoordinates): adjust
6058
6059         * text.C (top_y): adjust
6060         (workWidth): adjust
6061         (getRow): make it return a RowList::iterator, adjust
6062         (getRowNearY): make it return a RowList::iterator, adjust
6063
6064         * text2.C (init): adjust
6065         (insertRow): remove function
6066         (insertParagraph): adjust
6067         (redoParagraphs): adjust
6068         (fullRebreak): adjust
6069         (updateCounters): adjust
6070
6071         * text.C (top_y): rewrite to use RowList iterators.
6072         (top_y): adjust
6073         (setHeightOfRow): rewrite to sue RowList iterators.
6074         (appendParagraph): adjust
6075         (breakAgain): adjust
6076         (breakAgainOneRow): adjust
6077         (breakParagraph): adjust
6078         (getRow): adjust
6079         (getRowNearY): adjust, and remove commented code.
6080
6081         * lyxtext.h (firstRow): delete function
6082         (lastRow): delete function
6083         (rows): new function (const and non-const versions.)
6084         (insertRow): delete function
6085
6086         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6087
6088 2003-03-29  John Levon  <levon@movementarian.org>
6089
6090         * BufferView_pimpl.C: always update scrollbar top
6091         because pasting text when we're anchored could mean we
6092         miss an update altogether
6093
6094 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * text2.C (init): use rowlist_.end() and not 0.
6097         (insertRow): change to take a RowList::iterator as arg, adjust
6098         for this.
6099         (insertParagraph): change to take a RowList::iterator as arg,
6100         adjust for this.
6101         (redoParagraphs): remove some debug msgs.
6102
6103         * text.C (appendParagraph): change to take a RowList::iterator
6104         arg, adjust for this.
6105         (breakAgain): add an assert
6106         (breakAgainOneRow): ditto
6107
6108 2003-03-29  John Levon  <levon@movementarian.org>
6109
6110         * text2.C: do not clear selection after inc/decDepth
6111         (bug 550)
6112
6113 2003-03-29  John Levon  <levon@movementarian.org>
6114
6115         * BufferView.C:
6116         * buffer.C: fix broken strerrors according to Lars
6117
6118 2003-03-29  John Levon  <levon@movementarian.org>
6119
6120         * converters.C: more Alert cleanups
6121
6122 2003-03-29  John Levon  <levon@movementarian.org>
6123
6124         * bufferview_funcs.C: remove pointless Alert
6125
6126         * buffer.C: fix confusing error message when
6127         a template is chmoded 000
6128
6129 2003-03-29  John Levon  <levon@movementarian.org>
6130
6131         * BufferView.C:
6132         * BufferView.h:
6133         * BufferView_pimpl.C: Alert fixes
6134
6135         * Makefile.am:
6136         * tabular.C:
6137         * tabular-old.C: remove unused table compat reading
6138
6139 2003-03-29  John Levon  <levon@movementarian.org>
6140
6141         * BufferView.C:
6142         * buffer.C:
6143         * lyx_cb.h:
6144         * lyx_cb.C: more Alert cleanups
6145
6146         * lyxfunc.C: don't allow chktex if not latex document
6147
6148 2003-03-29  John Levon  <levon@movementarian.org>
6149
6150         * lyx_cb.C:
6151         * BufferView.C:
6152         * buffer.C: warnings pushed down from support/,
6153         kill err_alert
6154
6155 2003-03-29  John Levon  <levon@movementarian.org>
6156
6157         * lyxfunc.C: safety check for C-r (revert)
6158
6159 2003-03-29  John Levon  <levon@movementarian.org>
6160
6161         * bufferlist.h:
6162         * bufferlist.C: several UI fixes using Alert::prompt.
6163         Fix the pointless looping quit code. Fix stupid revert
6164         behaviour (bug 938)
6165
6166         * lyxvc.h:
6167         * lyxvc.C:
6168         * lyx_cb.C: use Alert::prompt
6169
6170         * lyx_main.C: remove a silly question
6171
6172         * lyxfunc.C: remove a couple of silly questions,
6173         use Alert::prompt
6174
6175 2003-03-28  John Levon  <levon@movementarian.org>
6176
6177         * text2.C: fix bug 974 (End on empty par)
6178
6179 2003-03-28  John Levon  <levon@movementarian.org>
6180
6181         * BufferView_pimpl.C:
6182         * LyXAction.C:
6183         * lfuns.h: remove do-nothing math greek lfuns
6184
6185 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * lyxgluelength.h (isValidGlueLength): add default arg on
6188         parameter 2. Remove default arg from friend in class.
6189
6190         * lyxlength.h (isValidLength): add default arg on parameter 2.
6191         Remove default arg from friend in class.
6192
6193         * text2.C (LyXText): adjust, initialize refresh_row.
6194         (init): adjust
6195         (removeRow): adjust
6196         (insertRow): adjust
6197         (insertParagraph): adjst
6198         (redoParagraphs): adjust
6199         (fullRebreak): adjust
6200         (updateCounters): adjust
6201         (deleteEmptyParagraphMechanism): first attempt at fixing a
6202         crashing bug.
6203
6204         * text.C (top_y): adjust
6205         (setHeightOfRow): adjust
6206         (getRow): adjust
6207         (getRowNearY): adjust
6208
6209         * lyxtext.h: include RowList.h
6210         (~LyXText): not needed anymore, deleted.
6211         (firstRow): modify for RowList
6212         (lastRow): new function
6213         Delete firstrow and lastrow class variables, add a Rowlist
6214         rowlist_ class variable.
6215
6216         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6217         paragraph is empty.
6218
6219         * RowList.C (insert): fix case where it == begin().
6220
6221 2003-03-26  Angus Leeming  <leeming@lyx.org>
6222
6223         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6224         the thesaurus dialog.
6225
6226 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6229
6230         * RowList.[Ch]: new files
6231
6232         * ParagraphList.C (erase): handle the case where it == begin
6233         correctly.
6234
6235 2003-03-25  John Levon  <levon@movementarian.org>
6236
6237         * Makefile.am:
6238         * aspell_local.h:
6239         * aspell.C: add new aspell support
6240
6241         * lyxrc.h:
6242         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6243         have it accessible.
6244
6245 2003-03-25  Angus Leeming  <leeming@lyx.org>
6246
6247         * lfuns.h:
6248         * LyXAction.C (init): new LFUN_INSET_INSERT.
6249
6250         * BufferView_pimpl.C (dispatch): split out part of the
6251         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6252
6253         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6254         LFUN_INSET_APPLY.
6255
6256 2003-03-25  Angus Leeming  <leeming@lyx.org>
6257
6258         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6259
6260 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6261
6262         * text2.C:
6263         * text3.C: remove useless row->height(0)
6264
6265 2003-03-25  John Levon  <levon@movementarian.org>
6266
6267         * lyxtext.h:
6268         * text2.C:
6269         * text3.C: rename the refreshing stuff to better names
6270
6271 2003-03-24  John Levon  <levon@movementarian.org>
6272
6273         * BufferView_pimpl.h:
6274         * BufferView_pimpl.C: update layout choice on a mouse
6275         press/release
6276
6277 2003-03-23  John Levon  <levon@movementarian.org>
6278
6279         * Makefile.am: fix commandtags.h reference
6280
6281 2003-03-22  John Levon  <levon@movementarian.org>
6282
6283         * BufferView_pimpl.C:
6284         * lyxtext.h:
6285         * rowpainter.C:
6286         * rowpainter.h:
6287         * text.C:
6288         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6289
6290 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6291
6292         * lyxtext.h:
6293         * text.C: take the rtl methods out of line
6294
6295 2003-03-21 André Pönitz <poenitz@gmx.net>
6296
6297         * metricsinfo.[Ch]: new files containing structures to be passed around
6298         during the two-phase-drawing...
6299
6300 2003-03-21 André Pönitz <poenitz@gmx.net>
6301
6302         * lyxtextclass.C: read 'environment' tag.
6303
6304 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6305
6306         * text2.C (removeRow): fix bug 964
6307
6308 2003-03-20  John Levon  <levon@movementarian.org>
6309
6310         * rowpainter.C:
6311         * text.C:
6312         * text2.C: paint cleanups. Inset::update() dropped font
6313         parameter
6314
6315 2003-03-19  John Levon  <levon@movementarian.org>
6316
6317         * lyxfunc.C: only fitcursor/markDirty if available()
6318
6319 2003-03-19  John Levon  <levon@movementarian.org>
6320
6321         * commandtags.h: rename to ...
6322
6323         * lfuns.h: ... this, and renumber / cleanup
6324
6325 2003-03-19  John Levon  <levon@movementarian.org>
6326
6327         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6328         fit the cursor after an lfun
6329
6330         * BufferView.h:
6331         * BufferView.C:
6332         * BufferView_pimpl.h:
6333         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6334
6335         * LyXAction.C: layout-character should have ReadOnly
6336
6337         * ParagraphParameters.C:
6338         * buffer.C:
6339         * bufferview_funcs.C:
6340         * lyx_cb.C:
6341         * lyxfind.C:
6342         * lyxtext.h:
6343         * text.C:
6344         * text2.C:
6345         * text3.C:
6346         * undo_funcs.C: changes from above
6347
6348 2003-03-18  John Levon  <levon@movementarian.org>
6349
6350         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6351         remove it from update()
6352
6353         * lyxfunc.C: update layout choice after an lfun
6354
6355         * text3.C: remove extra updateLayoutChoice()s
6356
6357 2003-03-18  John Levon  <levon@movementarian.org>
6358
6359         * text.C: top_y change means full repaint, fix
6360         a drawing bug with cursor movement
6361
6362 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6363
6364         * lyxtext.h:
6365         * text.C:
6366         * text2.C: anchor row on setCursor
6367
6368 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6369
6370         * lyxtext.h: remove almost all mutable keywords
6371         * text.C:
6372         * text2.C:
6373         * text3.C: remove const keywords accordingly
6374
6375 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6378         anon namespace
6379         (TeXEnvironment): ditto
6380         (TeXOnePar): ditto
6381
6382 2003-03-17  John Levon  <levon@movementarian.org>
6383
6384         * text.C (rowBreakPoint): remove attempt to fix displayed
6385         math insets inside a manual label
6386
6387 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * lyxtext.h: remove BufferView* as first arg from almost all class
6390         functions.
6391         * other files: adjust.
6392
6393 2003-03-17  John Levon  <levon@movementarian.org>
6394
6395         * lyxtext.h:
6396         * undo_funcs.C:
6397         * text2.C: more paint cleanups
6398
6399         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6400
6401         * rowpainter.h:
6402         * rowpainter.C: remove "smart" background painting code
6403
6404 2003-03-16  John Levon  <levon@movementarian.org>
6405
6406         * lyxtext.h:
6407         * text.C:
6408         * text2.C:
6409         * text3.C: add helper functions for setting refresh_row/y
6410
6411 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6412
6413         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6414         newline inset which *can* get inserted in the pass_thru layouts.
6415         This is primarily for literate documents.
6416
6417 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6418
6419         * buffer.C: increment LYX_FORMAT to 223
6420
6421 2003-03-14 André Pönitz <poenitz@gmx.net>
6422
6423         * textclass.h: prepare for environment handling, ws changes
6424         * lyxlayout.C: read latexheader and latexfooter tags
6425
6426 2003-03-14  John Levon  <levon@movementarian.org>
6427
6428         * text2.C: rewrite ::status() a bit
6429
6430 2003-03-13  John Levon  <levon@movementarian.org>
6431
6432         * lyxtext.h: add some docs
6433
6434 2003-03-13  John Levon  <levon@movementarian.org>
6435
6436         * lyxtext.h:
6437         * text.C:
6438         * text2.C:
6439         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6440
6441 2003-03-13  John Levon  <levon@movementarian.org>
6442
6443         * text3.C: fix appendix redrawing
6444
6445 2003-03-13  John Levon  <levon@movementarian.org>
6446
6447         * text.C (setHeightOfRow):
6448         * rowpainter.h:
6449         * rowpainter.C: make appendix mark have the text
6450           "Appendix" so the user knows what it is
6451
6452         * LColor.h:
6453         * LColor.C: s/appendixline/appendix/ from above
6454
6455 2003-03-13  John Levon  <levon@movementarian.org>
6456
6457         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6458
6459         * text.C: fix a getChar(pos) bug properly
6460
6461 2003-03-13  Angus Leeming  <leeming@lyx.org>
6462
6463         * commandtags.h:
6464         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6465         Probably only temporary. Let's see how things pan out.
6466
6467         * BufferView.C (unlockInset):
6468         * BufferView_pimpl.C (fitCursor):
6469         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6470
6471         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6472         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6473
6474         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6475         new functions that convert ParagraphParameters to and from a string.
6476
6477         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6478         BufferView::Pimpl's dispatch.
6479         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6480
6481 2003-03-13 André Pönitz <poenitz@gmx.net>
6482
6483         * lyxfunc.C:
6484         * text3.C:
6485         * factory.C: make it aware of InsetEnv
6486
6487 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6488
6489         * text2.C (setCursor): never ask for one past last
6490         (setCursor): add some debugging messages.
6491
6492         * text.C (singleWidth): never ask for one past last
6493         (singleWidth): ditto
6494         (leftMargin): ditto
6495         (rightMargin): ditto
6496         (rowBreakPoint): ditto
6497         (setHeightOfRow): ditto
6498         (prepareToPrint): ditto
6499
6500         * rowpainter.C (paintBackground): never ask for one past last
6501         (paintText): never ask for one past last
6502
6503         * paragraph_pimpl.C (getChar): make the assert stricter, never
6504         allow the one past last pos to be taken
6505
6506         * paragraph.C (getChar): ws changes only
6507
6508         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6509         (numberOfSeparators): ditto
6510         (numberOfHfills): ditto
6511
6512 2003-03-12  John Levon  <levon@movementarian.org>
6513
6514         * author.h:
6515         * author.C:
6516         * bufferparams.h:
6517         * bufferparams.C:
6518         * paragraph_funcs.C: fix per-buffer authorlists
6519
6520 2003-03-12  John Levon  <levon@movementarian.org>
6521
6522         * text.C: fix newline in right address
6523
6524 2003-03-12  Angus Leeming  <leeming@lyx.org>
6525
6526         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6527         duplicate those in LyXFunc::dispatch.
6528
6529         * commandtags.h:
6530         * LyXAction.C:
6531         * ToolbarDefaults.C:
6532         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6533         Add LFUN_FONTFREE_UPDATE.
6534
6535         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6536         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6537
6538         * bufferview_func.[Ch]: several new functions to facilliate
6539         transfer of data to and from the character dialog.
6540
6541 2003-03-12  John Levon  <levon@movementarian.org>
6542
6543         * buffer.C:
6544         * paragraph.h:
6545         * paragraph.C:
6546         * paragraph_funcs.C:
6547         * paragraph_pimpl.C:
6548         * sgml.C:
6549         * tabular.C:
6550         * text.C:
6551         * text3.C: remove META_NEWLINE in favour of an inset
6552
6553         * rowpainter.h:
6554         * rowpainter.C: remove paintNewline (done by inset)
6555
6556 2003-03-12  John Levon  <levon@movementarian.org>
6557
6558         * paragraph_pimpl.C: complain about bad getChar()s
6559         for a while at least
6560
6561 2003-03-12  John Levon  <levon@movementarian.org>
6562
6563         * buffer.h:
6564         * buffer.C: move paragraph read into a separate function,
6565         a little renaming to reflect that.
6566
6567         * bufferparams.h:
6568         * bufferparams.C: remove the author_ids map, not necessary now
6569
6570         * factory.h:
6571         * factory.C: moved Buffer::readInset to here
6572
6573         * paragraph_funcs.h:
6574         * paragraph_funcs.C: readParagraph free function moved from
6575         buffer.C
6576
6577         * tabular.C: name change
6578
6579 2003-03-12  John Levon  <levon@movementarian.org>
6580
6581         * buffer.C:
6582         * ParagraphParameters.C: move par params input to
6583         a read() method
6584
6585         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6586         behave like a normal read from the stream wrt reading
6587         a line vs. a \\token
6588
6589 2003-03-12  John Levon  <levon@movementarian.org>
6590
6591         * paragraph.C:
6592         * ParagraphParameters.h:
6593         * ParagraphParameters.C: move output code to a
6594         ::write() method
6595
6596 2003-03-12  John Levon  <levon@movementarian.org>
6597
6598         * BufferView.C (insertLyXFile):
6599         * buffer.h:
6600         * buffer.C:
6601         * tabular.C: use a parlist iterator for creating the
6602           document.
6603
6604 2003-03-12  John Levon  <levon@movementarian.org>
6605
6606         * buffer.C: make current_change static local not
6607           static file-scope
6608
6609 2003-03-12  John Levon  <levon@movementarian.org>
6610
6611         * buffer.C: fix insertStringAsLines for change tracking
6612
6613 2003-03-12  John Levon  <levon@movementarian.org>
6614
6615         * BufferView.C:
6616         * tabular.C:
6617         * buffer.h:
6618         * buffer.C:
6619         * bufferparams.h:
6620         * bufferparams.C: move author list into params. Rename some
6621           functions. Move the header reading into a separate token
6622           loop. Move the header token reading into BufferParams.
6623
6624 2003-03-12  John Levon  <levon@movementarian.org>
6625
6626         * changes.C: put debug inside lyxerr.debugging() checks
6627
6628 2003-03-11 André Pönitz <poenitz@gmx.net>
6629
6630         * factory.C: make it aware of InsetHFill
6631
6632 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6633
6634         * buffer.C (latexParagraphs): move function from here...
6635         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6636         args.
6637
6638 2003-03-10  Angus Leeming  <leeming@lyx.org>
6639
6640         * LyXAction.C (init): fix bug in poplating array with multiple entries
6641         with the same LFUN (spotted by JMarc).
6642
6643 2003-03-10  John Levon  <levon@movementarian.org>
6644
6645         * text.C:
6646         * text2.C: move getColumnNearX() near its
6647         only call site
6648
6649 2003-03-10  John Levon  <levon@movementarian.org>
6650
6651         * text.C: fix break before a minipage
6652
6653 2003-03-10  John Levon  <levon@movementarian.org>
6654
6655         * text.C: fix the last commit
6656
6657 2003-03-09  John Levon  <levon@movementarian.org>
6658
6659         * lyxtext.h:
6660         * text.C:
6661         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6662         bug 365 (don't break before insets unless needed). Don't
6663         return a value > last under any circumstances.
6664
6665 2003-03-09  Angus Leeming  <leeming@lyx.org>
6666
6667         * BufferView_pimpl.C (trackChanges, dispatch): call
6668         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6669
6670 2003-03-09  Angus Leeming  <leeming@lyx.org>
6671
6672         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6673         than Dialogs::showAboutlyx().
6674
6675 2003-03-09  Angus Leeming  <leeming@lyx.org>
6676
6677         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6678         than Dialogs::showTabularCreate().
6679
6680 2003-03-09  John Levon  <levon@movementarian.org>
6681
6682         * lyxtext.h:
6683         * text.C:
6684         * text2.C: 3rd arg to nextBreakPoint was always the same.
6685           Use references.
6686
6687 2003-03-08  John Levon  <levon@movementarian.org>
6688
6689         * lyxrow.C:
6690         * paragraph.C:
6691         * paragraph.h:
6692         * rowpainter.C:
6693         * text.C:
6694         * text2.C: Remove the "main" bit from the "main body"
6695           notion.
6696
6697 2003-03-08  John Levon  <levon@movementarian.org>
6698
6699         * text.C (leftMargin): The left margin of an empty
6700         manual label paragraph should not include the label width
6701         string length.
6702
6703         * text.C (prepareToPrint): don't attempt to measure hfills
6704         for empty manual label paragraphs - the answer should be 0
6705
6706 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * CutAndPaste.C: remove commented code and reindent.
6709
6710 2003-03-08  John Levon  <levon@movementarian.org>
6711
6712         * lyxfunc.h:
6713         * lyxfunc.C: move reloadBuffer()
6714
6715         * BufferView.h:
6716         * BufferView.C: to here
6717
6718         * lyxvc.C: add comment
6719
6720         * vc-backend.h:
6721         * vc-backend.C: call bv->reload() to avoid
6722           getStatus() check on MENURELOAD
6723
6724 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6725
6726         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6727         to an old format .dep file.
6728
6729 2003-03-07  Angus Leeming  <leeming@lyx.org>
6730
6731         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6732         when the LFUN_MOUSE_RELEASE should have been handled by
6733         inset->localDispatch.
6734
6735 2003-03-07  Angus Leeming  <leeming@lyx.org>
6736
6737         * BufferView_pimpl.C (dispatch):
6738         * LyXAction.C (init):
6739         * ToolbarDefaults.C (init):
6740         * commandtags.h:
6741         * lyxfunc.C (getStatus):
6742         remove LFUN_INSET_GRAPHICS.
6743
6744         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6745
6746 2003-03-07  Angus Leeming  <leeming@lyx.org>
6747
6748         * commandtags.h:
6749         * LyXAction.C (init):
6750         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6751
6752         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6753
6754         * commandtags.h:
6755         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6756
6757         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6758         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6759
6760 2003-03-07  Angus Leeming  <leeming@lyx.org>
6761
6762         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6763         remove "ert".
6764
6765 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * ParagraphList.C (front): new function
6768         (back): implement
6769
6770 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6771
6772         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6773         and top_row_offset_. removed var first_y.
6774         * text.C (top_y):
6775         * text2.C (LyXText, removeRow):
6776         * text3.C:
6777         * BufferView_pimpl.C:
6778         use these methods instead of using first_y
6779
6780 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * text2.C (pasteSelection): adjust for checkPastePossible
6783
6784         * CutAndPaste.C: remove Paragraph * buf and replace with
6785         ParagraphList paragraphs.
6786         (DeleteBuffer): delete
6787         (cutSelection): change the tc type to textclass_type
6788         (copySelection): change the tc type to textclass_type
6789         (copySelection): adjust for ParagraphList
6790         (pasteSelection): change the tc type to textclass_type
6791         (pasteSelection): adjust for Paragraphlist
6792         (nrOfParagraphs): simplify for ParagraphList
6793         (checkPastePossible): simplify for ParagraphList
6794         (checkPastePossible): remove unused arg
6795
6796         * ParagraphList.C (insert): handle the case where there are no
6797         paragraphs yet.
6798
6799         * CutAndPaste.h: make CutAndPaste a namespace.
6800
6801         * text3.C (dispatch): adjust
6802
6803         * text.C (breakParagraph): add a ParagraphList as arg
6804
6805         * paragraph_funcs.C (breakParagraph): change to take a
6806         BufferParams and a ParagraphList as args.
6807         (breakParagraphConservative): ditto
6808         (mergeParagraph): ditto
6809         (TeXDeeper): add a ParagraphList arg
6810         (TeXEnvironment): ditto
6811         (TeXOnePar): ditto
6812
6813         * buffer.C (readLyXformat2): adjust
6814         (insertStringAsLines): adjust
6815         (latexParagraphs): adjust
6816
6817         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6818         (cutSelection): adjust
6819         (pasteSelection): adjust
6820
6821         * BufferView_pimpl.C (insertInset): adjust
6822
6823 2003-03-05  Angus Leeming  <leeming@lyx.org>
6824
6825         * commandtags.h:
6826         * LyXAction.C (init):
6827         * BufferView_pimpl.C (dispatch):
6828         * lyxfunc.C (getStatus):
6829         remove LFUN_CHILD_INSERT.
6830
6831         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6832
6833 2003-03-05  Angus Leeming  <leeming@lyx.org>
6834
6835         * commandtags.h:
6836         * LyXAction.C (init):
6837         * src/factory.C (createInset):
6838         * lyxfunc.C (getStatus):
6839         * text3.C (dispatch):
6840         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6841
6842         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6843
6844 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * ParagraphList.C (insert): handle insert right before end()
6847         (erase): fix cases where it can be first or last paragraph.
6848
6849 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6852         Paragraph::next and Paragraph::previous
6853         (TeXOnePar): ditto
6854
6855         * text.C (breakParagraph): adjust
6856
6857         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6858         BufferParams& as arg.
6859         (breakParagraph): use ParagraphList::insert
6860         (breakParagraphConservative): take a Buffer* instead of a
6861         BufferParams& as arg.
6862         (breakParagraphConservative): use ParagraphList::insert.
6863
6864         * buffer.C (insertStringAsLines): un-const it
6865         (insertStringAsLines): adjust
6866
6867         * ParagraphList.C (insert): new function
6868
6869         * CutAndPaste.C (pasteSelection): adjust
6870
6871         * text.C (backspace): adjust
6872
6873         * tabular.C (SetMultiColumn): adjust
6874
6875         * CutAndPaste.C (cutSelection): adjust
6876         (pasteSelection): adjust
6877
6878         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6879         Buffer const * as arg
6880
6881         * ParagraphList.C (erase): new function
6882         * paragraph_funcs.C (mergeParagraph): use it
6883         (mergeParagraph): make it take a Buffer* instead of a
6884         BufferParams* as arg
6885
6886         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6887         as arg
6888         (breakParagraphConservative): ditto
6889
6890         * paragraph.h: remove the breakParagraph friend
6891
6892         * paragraph.C (eraseIntern): new function
6893         (setChange): new function
6894
6895         * paragraph_funcs.C (mergeParagraph): make it take a
6896         ParagraphList::iterator instead of a Paragraph *, adjust
6897         accordingly.
6898
6899         * paragraph.h: move an #endif so that the change tracking stuff
6900         also works in the NO_NEXT case.
6901
6902 2003-03-04  Angus Leeming  <leeming@lyx.org>
6903
6904         * commandtags.h:
6905         * LyXAction.C: new LFUN_INSET_MODIFY.
6906
6907         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6908         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6909
6910 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * several files: ws changes only
6913
6914         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6915         (TeXEnvironment): ditto
6916         (TeXDeeper): ditto
6917
6918         * buffer.C (makeLaTeXFile): adjust
6919         (latexParagraphs): make it take ParagraphList::iterator as args
6920
6921 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * buffer.C (latexParagraphs): adjust
6924
6925         * paragraph.C (TeXOnePar): move function...
6926         (optArgInset): move function...
6927         (TeXEnvironment): move function...
6928         * paragraph_pimpl.C (TeXDeeper): move function...
6929         * paragraph_funcs.C: ...here
6930
6931         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6932
6933 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * buffer.C (readInset): remove compability code for old Figure and
6936         InsetInfo insets
6937
6938 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6939
6940         * buffer.C: ws changes
6941         (readInset):
6942
6943         * BufferView_pimpl.C: ditto
6944         * author.C: ditto
6945         * buffer.h: ditto
6946         * bufferlist.h: ditto
6947         * changes.h: ditto
6948         * lyxfunc.C: ditto
6949
6950 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6951
6952         * converter.[Ch]: split into itself +
6953         * graph.[Ch]
6954         * format.[Ch]
6955         * Makefile.am: += graph.[Ch] + format.[Ch]
6956         * MenuBackend.C
6957         * buffer.C
6958         * exporter.C
6959         * importer.C
6960         * lyx_main.C
6961         * lyxfunc.C
6962         * lyxrc.C: added #include "format.h"
6963
6964 2003-02-27  Angus Leeming  <leeming@lyx.org>
6965
6966         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6967           a label.
6968
6969         * factory.C (createInset): add "label" to the factory.
6970
6971         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6972           string and do no more.
6973
6974 2003-02-27  Angus Leeming  <leeming@lyx.org>
6975
6976         * commandtags.h:
6977         * LyXAction.C (init):
6978         * factory.C (createInset):
6979         * BufferView_pimpl.C (dispatch):
6980           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6981
6982         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6983
6984         * lyxfunc.C (dispatch):
6985         * text3.C (dispatch): pass name to params2string.
6986
6987 2003-02-26  Angus Leeming  <leeming@lyx.org>
6988
6989         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6990           blocks together.
6991           Rearrange the ~includes. Strip out the unnecessary ones.
6992
6993         * factory.C (createInset): reformat.
6994           create new insets for the various LFUN_XYZ_APPLY lfuns.
6995
6996 2003-02-26  John Levon  <levon@movementarian.org>
6997
6998         * lyxrow.h:
6999         * lyxrow.C: add isParStart,isParEnd helpers
7000
7001         * paragraph.h: make isInserted/DeletedText take refs
7002
7003         * paragraph_funcs.h:
7004         * paragraph_funcs.C: remove #if 0'd code
7005
7006         * lyxtext.h:
7007         * text3.C:
7008         * text2.C:
7009         * text.C: use lyxrow helpers above.
7010           Move draw and paint routines to RowPainter.
7011           Make several methods use refs not pointers.
7012           Make backgroundColor() const.
7013           Add markChangeInDraw(), isInInset().
7014           Merge changeRegionCase into changeCase.
7015           Make workWidth() shouldn't-happen code into an Assert.
7016
7017         * rowpainter.h:
7018         * rowpainter.C: new class for painting a row.
7019
7020         * vspace.h:
7021         * vspace.C: make inPixels take a ref
7022
7023 2003-02-26  Angus Leeming  <leeming@lyx.org>
7024
7025         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7026         LFUN_REF_APPLY.
7027
7028 2003-02-25  John Levon  <levon@movementarian.org>
7029
7030         * ispell.C: give the forked command a more accurate name
7031
7032 2003-02-22  John Levon  <levon@movementarian.org>
7033
7034         * toc.h:
7035         * toc.C: make TocItem store an id not a Paragraph *
7036           (bug #913)
7037
7038 2003-02-21  Angus Leeming  <leeming@lyx.org>
7039
7040         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7041           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7042           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7043           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7044           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7045           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7046
7047         * BufferView_pimpl.C (dispatch):
7048         * LyXAction.C (init):
7049         * factory.C (createInset):
7050         * lyxfunc.C (getStatus, dispatch):
7051         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7052
7053 2003-02-21  Angus Leeming  <leeming@lyx.org>
7054
7055         * BufferView_pimpl.C (MenuInsertLyXFile):
7056         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7057         * lyxfunc.C (menuNew, open, doImport):
7058           no longer pass a LyXView & to fileDlg.
7059
7060 2003-02-21  Angus Leeming  <leeming@lyx.org>
7061
7062         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7063         * LyXAction.C: change, BIBKEY to BIBITEM.
7064         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7065         Change InsetBibKey to InsetBibitem.
7066         Change BIBKEY_CODE to BIBITEM_CODE.
7067         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7068         * factory.C: replace insetbib.h with insetbibitem.h.
7069         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7070         * paragraph.C: replace insetbib.h with insetbibitem.h.
7071         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7072         Change bibkey() to bibitem().
7073         * text.C: remove insetbib.h.
7074         * text2.C: replace insetbib.h with insetbibitem.h.
7075         change bibkey() to bibitem().
7076         * text3.C: remove insetbib.h.
7077         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7078
7079 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7080
7081         * lyxrc.C (output): enclose user email in quotes (in case there are
7082         several words)
7083
7084 2003-02-18  John Levon  <levon@movementarian.org>
7085
7086         * buffer.h: add std::
7087
7088 2003-02-17  John Levon  <levon@movementarian.org>
7089
7090         * SpellBase.h:
7091         * ispell.h:
7092         * ispell.C:
7093         * pspell.h:
7094         * pspell.C: reworking. Especially in ispell, a large
7095           number of clean ups and bug fixes.
7096
7097         * lyxfunc.C: fix revert to behave sensibly
7098
7099 2003-02-17 André Pönitz <poenitz@gmx.net>
7100
7101         * LyXAction.C:
7102         * commandtags.h: new LFUN_INSERT_BIBKEY
7103
7104         * layout.h:
7105         * lyxlayout.C:
7106         * buffer.C:
7107         * factory.C:
7108         * text.C:
7109         * text2.C:
7110         * text3.C:
7111         * paragraph.[Ch]:
7112         * paragraph_func.C: remove special bibkey handling
7113
7114 2003-02-17  John Levon  <levon@movementarian.org>
7115
7116         * text.C (Delete): fix case where delete at the end of
7117           the very first paragraph would not merge the pars
7118
7119 2003-02-17  John Levon  <levon@movementarian.org>
7120
7121         * lyxrow.C: fix lastPrintablePos()
7122
7123 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7124
7125         * bufferparams.C (writeLaTeX): add a std:here
7126
7127         * buffer.C: and remove a using directive there
7128
7129 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7130
7131         * buffer.C (makeLaTeXFile): move the code that generates the
7132           preamble...
7133
7134         * bufferparams.C (writeLaTeX): ... in this new method
7135
7136         * LaTeXFeatures.C (getEncodingSet): make const
7137           (getLanguages): make const
7138
7139         * MenuBackend.C (binding): returns the binding associated to this
7140           action
7141           (add): sets the status of each item by calling getStatus. Adds
7142           some intelligence.
7143           (read): add support for OptSubMenu
7144           (expand): remove extra separator at the end of expanded menu
7145
7146 2003-02-15  John Levon  <levon@movementarian.org>
7147
7148         * BufferView.C:
7149         * BufferView_pimpl.C:
7150         * bufferlist.h:
7151         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7152           inset code that had no actual effect. Remove unneeded status
7153           code.
7154
7155 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7156
7157         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7158           in preamble
7159
7160 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7161
7162         * text.C (drawLengthMarker): also draw an arrow marker for
7163           symbolic lengths (medskip...)
7164
7165 2003-02-14  John Levon  <levon@movementarian.org>
7166
7167         * tabular.h:
7168         * tabular.C: better method names
7169
7170 2003-02-14  John Levon  <levon@movementarian.org>
7171
7172         * BufferView_pimpl.C:
7173         * bufferlist.C:
7174         * buffer.C:
7175         * converter.C:
7176         * lyx_cb.C:
7177         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7178           it's a more accurate name. Remove some pointless uses.
7179
7180 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7181
7182         * text2.C (LyXText): change order of initilizers to shut off
7183           warnings
7184
7185 2003-02-14  John Levon  <levon@movementarian.org>
7186
7187         * buffer.C: use ParIterator for getParFromID()
7188
7189         * paragraph.h:
7190         * paragraph.C:
7191         * paragraph_pimpl.h:
7192         * paragraph_pimpl.C: remove unused getParFromID()
7193
7194 2003-02-14  John Levon  <levon@movementarian.org>
7195
7196         * buffer.C: remove some very old #if 0'd parse code
7197
7198 2003-02-13  John Levon  <levon@movementarian.org>
7199
7200         * text.h:
7201         * text.C:
7202         * text2.C: move hfillExpansion(), numberOfSeparators(),
7203           rowLast(), rowLastPrintable(), numberofHfills(),
7204           numberOfLabelHfills() ...
7205
7206         * lyxrow.h:
7207         * lyxrow.C: ... to member functions here.
7208
7209         * paragraph.h:
7210         * paragraph.C:
7211         * lyxtext.h:
7212         * text.C: remove LyXText::beginningOfMainBody(), and call
7213           p->beginningOfMainBody() directly. Move the check for
7214           LABEL_MANUAL into the latter.
7215
7216         * text.h:
7217         * text.C:
7218         * text2.C:
7219         * vspace.C:
7220         * BufferView.h:
7221         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7222
7223         * text.h:
7224         * text.C:
7225         * text2.C:
7226         * text3.C:
7227         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7228           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7229
7230 2003-02-13  John Levon  <levon@movementarian.org>
7231
7232         * CutAndPaste.C: remove debug
7233
7234 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7235
7236         * paragraph.C (asString): remove two unused variables
7237
7238         * lyxtextclass.C (readTitleType):
7239           (Read):
7240           (LyXTextClass): handle new members titletype_ and titlename_
7241
7242         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7243
7244 2003-02-09  John Levon  <levon@movementarian.org>
7245
7246         * buffer.h:
7247         * buffer.C: replace hand-coded list with a map for the dep clean
7248
7249 2003-02-08  John Levon  <levon@movementarian.org>
7250
7251         * LaTeX.C: consolidate code into showRunMessage() helper
7252
7253 2003-02-08  John Levon  <levon@movementarian.org>
7254
7255         * lyxfind.C:
7256         * lyxtext.h:
7257         * text2.C:
7258         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7259           and pass the size in explicitly
7260
7261         * BufferView_pimpl.h:
7262         * BufferView_pimpl.C:
7263         * BufferView.h:
7264         * BufferView.C: add getCurrentChange()
7265
7266         * BufferView_pimpl.h:
7267         * BufferView_pimpl.C: handle change lfuns
7268
7269         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7270           for changes. Mark pasted paragraphs as new.
7271
7272         * support/lyxtime.h:
7273         * support/lyxtime.C:
7274         * DepTable.C: abstract time_t as lyx::time_type
7275
7276         * LColor.h:
7277         * LColor.C: add colours for new text, deleted text, changebars
7278
7279         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7280           package use "usenames" option.
7281
7282         * commandtags.h:
7283         * lyxfunc.C:
7284         * LyXAction.C: add change lfuns
7285
7286         * Makefile.am:
7287         * author.h:
7288         * author.C: author handling
7289
7290         * buffer.h:
7291         * buffer.C: add a per-buffer author list, with first entry as
7292           current author. Handle new .lyx tokens for change tracking. Output
7293           author list to .lyx file. Output dvipost stuff to .tex preamble.
7294           Bump lyx format to 222.
7295
7296         * bufferlist.h:
7297         * bufferlist.C: add setCurrentAuthor() to reset current author details
7298           in all buffers.
7299
7300         * bufferparams.h:
7301         * bufferparams.C: add param for tracking
7302
7303         * bufferview_funcs.C: output change info in minibuffer
7304
7305         * Makefile.am:
7306         * changes.h:
7307         * changes.C: add change-tracking structure
7308
7309         * debug.h:
7310         * debug.C: add CHANGES debug flag
7311
7312         * lyxfind.h:
7313         * lyxfind.C: add code for finding the next change piece
7314
7315         * lyxrc.h:
7316         * lyxrc.C: add user_name and user_email
7317
7318         * lyxrow.h:
7319         * lyxrow.C: add a metric for the top of the text line
7320
7321         * lyxtext.h:
7322         * text.C: implement accept/rejectChange()
7323
7324         * lyxtext.h:
7325         * text.C: paint changebars. Paint new/deleted text in the chosen
7326         colours. Strike through deleted text.
7327
7328         * paragraph.h:
7329         * paragraph.C:
7330         * paragraph_pimpl.h:
7331         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7332           in the current change to the insert functions. Rework erase to
7333           mark text as deleted, adding an eraseIntern() and a range-based
7334           erase(). Implement per-paragraph change lookup and
7335           accept/reject.
7336
7337         * paragraph_funcs.C: Fixup paste for change tracking.
7338
7339         * tabular.C: mark added row/columns as new.
7340
7341         * text.C: fix rowLast() to never return -1. Don't allow
7342           spellchecking of deleted text. Track transpose changes. Don't
7343           allow paragraph break or merge where appropriate.
7344
7345         * text2.C: leave cursor at end of selection after a cut.
7346
7347 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7348
7349         * text.C (getLengthMarkerHeight):
7350         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7351         visible on screen too.
7352
7353 2003-02-07  John Levon  <levon@movementarian.org>
7354
7355         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7356
7357 2003-02-05  Angus Leeming  <leeming@lyx.org>
7358
7359         * lyxserver.C (read_ready): revert my patch of 11 September last year
7360         as it sends PC cpu through the roof. Presumably this means that
7361         the lyxserver will no longer run on an Alpha...
7362
7363 2003-01-30  Angus Leeming  <leeming@lyx.org>
7364
7365         * factory.C (createInset): create an InsetCommandParam of type "index"
7366         and use it to 'do the right thing'.
7367
7368         * text2.C (getStringToIndex): ensure that cursor position is always
7369         reset to the reset_cursor position.
7370
7371 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7372
7373         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7374         disabled.
7375
7376 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7377
7378         * bufferview.C:
7379         * lyxcb.C:
7380         * lyxfunc.C: Output messages with identical spelling, punctuation,
7381         and spaces
7382
7383 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7384
7385         * MenuBackend.C (expandFormats): List only viewable export formats
7386         in "View" menu
7387
7388         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7389         message
7390
7391         * lyxfunc.C (getStatus): Make sure that formats other than
7392         "fax" can also be disabled
7393
7394 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7395
7396         * text3.C (dispatch): put the lfuns that insert insets in 3
7397         groups, and call doInsertInset with appropriate arguments.
7398         (doInsertInset): new function, that creates an inset and inserts
7399         it according to some boolean parameters.
7400
7401 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * buffer.C (readFile): remember to pass on 'par' when calling
7404         readFile recursively.
7405
7406 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7407
7408         * MenuBackend.C (expandFormats): add "..." to import formats.
7409
7410 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7411
7412         * paragraph.C (asString): Remove XForms RTL hacks.
7413
7414 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7415         * buffer.C: fix typo
7416
7417 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7418
7419         * Makefile.am (LIBS): delete var
7420         (lyx_LDADD): add @LIBS@ here instead.
7421
7422 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7423
7424         * Clarify the meaning of "wheel mouse jump"
7425
7426 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7427
7428         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7429         tabular in a float
7430
7431 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7432
7433         * importer.C (Loaders): do not preallocate 3 elements in the
7434         vector, since one ends up with 6 elements otherwise
7435
7436 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7437
7438         * DepTable.C (write): write the file name as last element of the
7439         .dep file (because it may contain spaces)
7440         (read): read info in the right order
7441
7442 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7443
7444         * paragraph_pimpl.C (simpleTeXBlanks):
7445         (simpleTeXSpecialChars):
7446         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7447
7448         * tabular.C (latex): add some missing case statements. Reindent.
7449
7450         * MenuBackend.C (expandToc): remove unused variable.
7451
7452 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7453
7454         * LColor.C:
7455         * LaTeX.C:
7456         * LyXAction.C:
7457         * MenuBackend.C:
7458         * buffer.C:
7459         * exporter.C:
7460         * lyxfunc.C:
7461         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7462         and the like.
7463
7464 2003-01-05  John Levon  <levon@movementarian.org>
7465
7466         * BufferView.h:
7467         * BufferView.C: add getEncoding()
7468
7469         * kbsequence.h:
7470         * kbsequence.C: do not store last keypress
7471
7472         * lyxfunc.h:
7473         * lyxfunc.C: store last keypress here instead. Pass encoding
7474           to getISOEncoded()
7475
7476 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7477
7478         * lyx_main.C (init): remove annoying error message when following
7479         symbolic links (bug #780)
7480
7481 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7482
7483         * text.C (insertChar):
7484         * lyxrc.C (getDescription): remove extra spaces
7485
7486 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7487
7488         * lyxrc.C (getDescription): remove extra spaces
7489
7490 2002-12-20  John Levon  <levon@movementarian.org>
7491
7492         * text3.C: hack fix for page up/down across tall rows
7493
7494 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7495
7496         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7497         not been invoked
7498
7499 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7500
7501         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7502         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7503         thesaurus is not compiled in
7504
7505 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7506
7507         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7508
7509 2002-12-16  Angus Leeming  <leeming@lyx.org>
7510
7511         * lyxrc.[Ch]:
7512         * lyx_main.C (init): remove override_x_deadkeys stuff.
7513
7514 2002-12-12  John Levon  <levon@movementarian.org>
7515
7516         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7517           insert. Only remove shift modifier under strict
7518           circumstances.
7519
7520 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * MenuBackend.C (expandToc): fix crash.
7523
7524 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * MenuBackend.C (expandToc): gettext on float names.
7527
7528 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7529
7530         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7531         implement bool empty() [bug 490]
7532
7533 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7536
7537 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * several files: ws changes
7540
7541 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * text2.C (setCounter): clean up a bit, use boost.format.
7544         (updateCounters): initialize par upon declaration.
7545
7546         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7547         if the layout exists. We do not just store the layout any more.
7548         (SwitchLayoutsBetweenClasses): use boost.format
7549
7550 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7551
7552         * converter.C (convert): if from and to files are the same, use a
7553         temporary files as intermediary
7554
7555 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7556
7557         * commandtags.h:
7558         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7559
7560 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7561
7562         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7563
7564 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * tabular.C (asciiPrintCell): use string(size, char) instead of
7567         explicit loop.
7568
7569         * sgml.C (openTag): fix order of arguments to string constructor
7570         (closeTag): ditto
7571
7572         * lyxfunc.C (dispatch): use boost.format
7573
7574         * lots of files: change "c" -> 'c'
7575
7576 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7577
7578         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7579
7580 2002-11-25  Angus Leeming  <leeming@lyx.org>
7581
7582         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7583
7584         * lyx_main.C (init): compile fix.
7585
7586 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7587
7588         * lyx_cb.C (start): boost.formatify
7589         do not include <iostream>
7590
7591         * lengthcommon.C: ws only
7592
7593         * boost-inst.C,BoostFormat.h: add more explict instantations
7594
7595 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * lots of files: handle USE_BOOST_FORMAT
7598
7599 2002-11-21  John Levon  <levon@movementarian.org>
7600
7601         * pspell.C: fix compile
7602
7603 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7604
7605         * lyxfunc.C (dispatch): use boost::format
7606         (open): ditto
7607         (doImport): ditto
7608
7609         * lyxfont.C (stateText): use boost::format
7610
7611         * lyx_main.C (LyX): use boost::format
7612         (init): ditto
7613         (queryUserLyXDir): ditto
7614         (readRcFile): ditto
7615         (parse_dbg): ditto
7616         (typedef boost::function): use the recommened syntax.
7617
7618         * importer.C (Import): use boost::format
7619
7620         * debug.C (showLevel): use boost::format
7621
7622         * converter.C (view): use boost::format
7623         (convert): ditto
7624         (move): ditto
7625         (scanLog): ditto
7626
7627         * bufferview_funcs.C (currentState): use boost::format
7628
7629         * bufferlist.C (emergencyWrite): use boost::format
7630
7631         * buffer.C (readLyXformat2): use boost::format
7632         (parseSingleLyXformat2Token): ditto
7633
7634         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7635
7636         * LaTeX.C (run): use boost::format
7637
7638         * Chktex.C (scanLogFile): use boost::format
7639
7640         * BufferView_pimpl.C (savePosition): use boost::format
7641         (restorePosition): ditto
7642         (MenuInsertLyXFile): ditto
7643
7644         * BoostFormat.h: help file for explicit instation.
7645
7646 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7647
7648         * tabular.C (latex): Support for block alignment in fixed width
7649         columns.
7650
7651 2002-11-17  John Levon  <levon@movementarian.org>
7652
7653         * BufferView_pimpl.C:
7654         * lyx_cb.C:
7655         * lyxfunc.C: split filedialog into open/save
7656
7657 2002-11-08  Juergen Vigna  <jug@sad.it>
7658
7659         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7660         by my last patch (hopefully).
7661
7662 2002-11-08  John Levon  <levon@movementarian.org>
7663
7664         * iterators.h:
7665         * iterators.C:
7666         * buffer.h:
7667         * buffer.C:
7668         * paragraph.h:
7669         * paragraph.C:
7670         * toc.h:
7671         * toc.C: ParConstIterator, and use it (from Lars)
7672
7673 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7674
7675         * lyxtextclass.[Ch]: revise and add doxygen comments
7676
7677 2002-11-07  John Levon  <levon@movementarian.org>
7678
7679         * text.C: fix progress value for spellchecker
7680
7681         * toc.C: fix navigate menu for insetwrap inside minipage
7682
7683         * paragraph_funcs.C: added FIXME for suspect code
7684
7685 2002-11-07  John Levon  <levon@movementarian.org>
7686
7687         * BufferView_pimpl.C: fix redrawing of insets
7688           on buffer switch
7689
7690 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7691
7692         * text2.C (updateCounters): fix bug 668
7693
7694 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7695
7696         * text3.C (dispatch): Do not make the buffer dirty when moving the
7697         cursor.
7698
7699 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * vc-backend.C: STRCONV
7702         (scanMaster): ditto
7703
7704         * text2.C (setCounter): STRCONV
7705
7706         * paragraph.C (asString): STRCONV
7707
7708         * lyxlength.C (asString): STRCONV
7709         (asLatexString): ditto
7710
7711         * lyxgluelength.C (asString): STRCONV
7712         (asLatexString): ditto
7713
7714         * lyxfunc.C (dispatch): STRCONV
7715         (open): ditto
7716
7717         * lyxfont.C (stateText): STRCONV
7718
7719         * importer.C (Import): STRCONV
7720
7721         * counters.C (labelItem): STRCONV
7722         (numberLabel): ditto
7723         (numberLabel): remove unused ostringstream o
7724
7725         * chset.C: STRCONV
7726         (loadFile): ditto
7727
7728         * bufferview_funcs.C (currentState): STRCONV
7729
7730         * buffer.C (readFile): STRCONV
7731         (asciiParagraph): ditto
7732         (makeLaTeXFile): ditto
7733
7734         * Spacing.C (writeEnvirBegin): STRCONV
7735
7736         * LaTeXFeatures.C (getLanguages): STRCONV
7737         (getPackages): ditto
7738         (getMacros): ditto
7739         (getBabelOptions): ditto
7740         (getTClassPreamble): ditto
7741         (getLyXSGMLEntities): ditto
7742         (getIncludedFiles): ditto
7743
7744         * LaTeX.C: STRCONV
7745         (run): ditto
7746         (scanAuxFile): ditto
7747         (deplog): ditto
7748
7749         * LString.h: add the STRCONV macros
7750
7751         * BufferView_pimpl.C (savePosition): STRCONV
7752         (restorePosition): ditto
7753         (MenuInsertLyXFile): ditto
7754
7755         * vc-backend.C (scanMaster): change from submatch[...] to
7756         submatch.str(...)
7757
7758         * funcrequest.C: include config.h
7759
7760         * factory.C: include config.h
7761
7762         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7763
7764         * box.C: include config.h
7765
7766         * LaTeX.C (scanAuxFile): change from submatch[...] to
7767         submatch.str(...)
7768         (deplog): ditto
7769
7770 2002-10-25  Angus Leeming  <leeming@lyx.org>
7771
7772         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7773
7774         * ispell.[Ch] (setError): new method.
7775         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7776         Use setError() insetead of goto END.
7777
7778         * lyx_cb.C (AutoSave): move out child process into new class
7779         AutoSaveBuffer.
7780
7781 2002-10-30  John Levon  <levon@movementarian.org>
7782
7783         * text3.C: make start appendix undoable
7784
7785 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7786
7787         * lyxlength.C (inPixels): Fix returned value.
7788
7789         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7790         environment.
7791
7792 2002-10-24  Angus Leeming  <leeming@lyx.org>
7793
7794         * lyxgluelength.h: no need to forward declare BufferParams
7795         or BufferView, so don't.
7796
7797 2002-10-21  John Levon  <levon@movementarian.org>
7798
7799         * BufferView.C: menuUndo ->undo, redo
7800
7801         * BufferView.h: document, remove dead, make some methods private
7802
7803         * paragraph_funcs.h:
7804         * paragraph_funcs.C:
7805         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7806
7807         * buffer.h:
7808         * buffer.C:
7809         * sgml.h:
7810         * sgml.C: move sgml open/close tag into sgml.C
7811
7812         * bufferview_funcs.h: unused prototype
7813
7814         * lyxfunc.h:
7815         * lyxfunc.C: remove unused
7816
7817         * lyxtext.h:
7818         * text.C: remove unused
7819
7820 2002-10-21  John Levon  <levon@movementarian.org>
7821
7822         * BufferView.h:
7823         * BufferView.C:
7824         * BufferView_pimpl.h:
7825         * BufferView_pimpl.C: fix mouse wheel handling based on
7826           patch from Darren Freeman
7827
7828 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7829
7830         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7831
7832 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7833
7834         * lyxlength.C (inPixels): Fix hanfling of negative length.
7835         Fix LyXLength::MU case.
7836
7837 2002-10-16  John Levon  <levon@movementarian.org>
7838
7839         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7840
7841 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7842
7843         * converter.C (view): add support for $$i (file name) and $$p
7844         (file path) for the viewer command. If $$i is not specified, then
7845         it is appended to the command (for compatibility with old syntax)
7846
7847 2002-10-14  Juergen Vigna  <jug@sad.it>
7848
7849         * undo_funcs.C (textHandleUndo): alter the order in which the
7850         new undopar is added to the LyXText, as we have to set first
7851         the right prev/next and then add it as otherwise the rebuild of
7852         LyXText is not correct. Also reset the cursor to the right paragraph,
7853         with this IMO we could remove the hack in "redoParagraphs()".
7854
7855 2002-10-09  Angus Leeming  <leeming@lyx.org>
7856
7857         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7858         to turn off an optimisation if a new inset is to be inserted.
7859
7860 2002-10-11 André Pönitz <poenitz@gmx.net>
7861
7862         * lyxtext.h: make some functions public to allow access
7863         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7864
7865 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7866
7867         * text3.C (dispatch): when changing layout, avoid an infinite loop
7868         [bug #652]
7869
7870 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7871
7872         * lyxrc.C (read): treat a viewer or converter command of "none" as
7873         if it were empty.
7874
7875         * MenuBackend.C (expandFormats): for an update, also allow the
7876         formats that are not viewable
7877
7878         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7879         script if it is newer than the lyxrc.defaults in user directory
7880
7881 2002-10-07 André Pönitz <poenitz@gmx.net>
7882
7883         * text.C: Vitaly Lipatov's small i18n fix
7884
7885 2002-09-25  Angus Leeming  <leeming@lyx.org>
7886
7887         * ispell.h: doxygen fix.
7888
7889 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7890
7891         * buffer.h (readFile): Add a new argument to the method, to allow
7892         reading of old-format templates.
7893
7894 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7895
7896         * toc.C (getTocList): Get TOC from InsetWrap.
7897
7898 2002-09-16  John Levon  <levon@movementarian.org>
7899
7900         * lyxfunc.C: check tabular for cut/copy too
7901
7902 2002-09-12  John Levon  <levon@movementarian.org>
7903
7904         * LyXAction.C: tidy
7905
7906         * factory.h:
7907         * factory.C: add header
7908
7909         * paragraph_funcs.h:
7910         * paragraph_funcs.C: cleanup
7911
7912 2002-09-11  John Levon  <levon@movementarian.org>
7913
7914         * PrinterParams.h: odd/even default to true
7915
7916 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7917
7918         * PrinterParams.h: update printer parameters for new xforms dialog
7919
7920 2002-09-11  Angus Leeming  <leeming@lyx.org>
7921
7922         * lyxserver.C (read_ready): re-write to make it more transparent
7923         and to make it work in coherent fashion under Tru64 Unix.
7924
7925 2002-09-11  André Pönitz <poenitz@gmx.net>
7926
7927         * commandtags.h:
7928         * LyXAction.C:
7929         * text3.C: implement LFUN_WORDSEL
7930
7931 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7932
7933         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7934         make floatlist_ a boost::shared_ptr<FloatList>
7935
7936         * lyxtextclass.C: include FloatList.h
7937         (LyXTextClass): initialize floatlist_
7938         (TextClassTags): add TC_NOFLOAT
7939         (Read): match "nofloat" to TC_NOFLOAT and use it.
7940         (readFloat): modify call to floatlist_
7941         (floats): ditto
7942         (floats): ditto
7943
7944         * FloatList.[Ch] (FloatList): remove commented out float
7945         initialization.
7946         (erase): new function
7947
7948 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7949
7950         * MenuBackend.C (expandToc): fix crash when there is no document
7951         open
7952
7953 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7954
7955         * many files: Add insetwrap.
7956
7957 2002-09-09  John Levon  <levon@movementarian.org>
7958
7959         * text2.C: remove confusing and awkward depth wraparound
7960
7961 2002-09-09  John Levon  <levon@movementarian.org>
7962
7963         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7964
7965         * buffer.h:
7966         * buffer.C: remove getIncludeonlyList()
7967
7968         * paragraph.C:
7969         * lyxfunc.C: remove headers
7970
7971 2002-09-09  Juergen Vigna  <jug@sad.it>
7972
7973         * text.C (getColumnNearX): fix form Michael this is most
7974         probably a cut&paste bug.
7975
7976 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7977
7978         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7979
7980         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7981         references, ws changes.
7982
7983         * text2.C (init): update counters after init
7984         (insertParagraph): no need to set counter on idividual paragraphs.
7985         (setCounter): access the counters object in the textclass object
7986         on in the buffer object.
7987         (updateCounters): ditto
7988
7989         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7990         shared_ptr<Counters> to avoid loading counters.h in all
7991         compilation units.
7992         (LyXTextClass): initialize ctrs_
7993         (TextClassTags): add TC_COUNTER, and ...
7994         (Read): use it here.
7995         (CounterTags): new tags
7996         (readCounter): new function
7997         (counters): new funtion
7998         (defaultLayoutName): return a const reference
7999
8000         * counters.C (Counters): remove contructor
8001         (newCounter): remove a couple of unneeded statements.
8002         (newCounter): simplify a bit.
8003         (numberLabel): some small formatting changes.
8004
8005         * buffer.[Ch]: remove all traces of counters, move the Counters
8006         object to the LyXTextClass.
8007
8008 2002-09-06  Alain Castera  <castera@in2p3.fr>
8009
8010         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8011         package to set the horizontal alignment on fixed width columns.
8012
8013         * lyx_sty.C:
8014         * lyx_sty.h: added tabularnewline macro def.
8015
8016         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8017
8018 2002-09-06  John Levon  <levon@movementarian.org>
8019
8020         * LyXAction.C: tooltips for sub/superscript
8021
8022         * MenuBackend.C: a bit more verbose
8023
8024         * lyxfunc.C: tiny clean
8025
8026         * undo_funcs.C: document undo_frozen
8027
8028 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8029
8030         * counters.C (Counters): add missing algorithm counter.
8031
8032         * text2.C (setCounter): lookup the counter with layouts latexname
8033         instead of by section number.
8034         (setCounter): use a hackish way to lookup the correct enum
8035         counter.
8036         a float name->type change
8037         reset enum couners with counter name directly instead of depth value.
8038
8039         * counters.C (Counters): remove the push_backs, change to use the
8040         float type not the float name.
8041         (labelItem): remove unused string, float name->type change
8042
8043         * counters.h: don't include vector, loose the enums and sects vectors
8044
8045 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8046
8047         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8048         (Read): add float->TC_FLOAT to textclassTags
8049         (Read): and handle it in the switch
8050         (readFloat): new function
8051
8052         * FloatList.C (FloatList): comment out the hardcoded float
8053         definitions.
8054
8055         * lyxlayout.h: ws change.
8056
8057 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8058
8059         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8060
8061 2002-09-03  Angus Leeming  <leeming@lyx.org>
8062
8063         * BufferView_pimpl.h: qualified name is not allowed in member
8064         declaration: WorkArea & Pimpl::workarea() const;
8065
8066         * factory.C: added using std::endl directive.
8067
8068         * text3.C: added using std::find and std::vector directives.
8069
8070 2002-08-29  André Pönitz <poenitz@gmx.net>
8071
8072         * lyxtext.h:
8073         * text2.C: remove unused member number_of_rows
8074
8075         * Makefile.am:
8076         * BufferView2.C: remove file, move contents to...
8077         * BufferView.C: ... here
8078
8079         * BufferView_pimpl.C:
8080         * factory.C: move more inset creation to factory
8081
8082         * vspace.C: avoid direct usage of LyXText, ws changes
8083
8084         * BufferView.[Ch]:
8085                 don't provide direct access to WorkArea, use two simple
8086                 acessors haveSelction() and workHeight() instead
8087
8088
8089 2002-08-29  John Levon  <levon@movementarian.org>
8090
8091         * BufferView_pimpl.C (dispatch): do not continue when
8092           no buffer
8093
8094 2002-08-28  André Pönitz <poenitz@gmx.net>
8095
8096         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8097
8098         * BufferView.h:
8099         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8100
8101 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8102
8103         * buffer.C: increment LYX_FORMAT to 221
8104
8105         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8106         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8107
8108         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8109
8110         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8111
8112 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8113
8114         * factory.C (createInset): use LyXTextClass::floats
8115
8116         * MenuBackend.C (expandFloatListInsert):
8117         (expandFloatInsert):
8118         (expandToc):
8119
8120         * text2.C (setCounter):
8121
8122         * LaTeXFeatures.C (useFloat):
8123         (getFloatDefinitions):
8124
8125         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8126
8127         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8128         floatlist_, with accessor floats().
8129
8130         * FloatList.h: remove global FloatList
8131
8132 2002-08-26  André Pönitz <poenitz@gmx.net>
8133
8134         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8135
8136         * BufferView.h:
8137         * BufferView2.C:
8138         * BufferView_pimpl.C:
8139         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8140
8141 2002-08-25  John Levon  <levon@movementarian.org>
8142
8143         * LyXAction.C: fix margin note description
8144
8145 2002-08-24  John Levon  <levon@movementarian.org>
8146
8147         * buffer.C:
8148         * bufferlist.C:
8149         * bufferview_funcs.C:
8150         * lyxfont.C:
8151         * undo_funcs.C: cleanups
8152
8153         * lyxfunc.C: disable CUT/COPY when no selection
8154
8155 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8156
8157         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8158         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8159
8160         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8161         Add backward compatibility to "mono", "gray" and "no".
8162
8163 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8164
8165         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8166         (and file_format >= 200).
8167
8168 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8169
8170         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8171
8172 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8173
8174         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8175
8176 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8177
8178         * BufferView_pimpl.C:
8179         * LyXAction.C:
8180         * buffer.C:
8181         * commandtags.h:
8182         * lyxfunc.C:
8183         * paragraph.[Ch]:
8184         * text2.C:
8185         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8186         inset and code to make it  work with the paragraph code. The inset
8187         can be anywhere in the paragraph, but will only do the expected
8188         thing in LaTeX if the layout file contains the parameter line
8189                         OptionalArgs    1
8190         (or more generally, a nonzero value) for that layout.
8191
8192 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * paragraph.h: remove the declaration of undefined counters class
8195         function.
8196
8197 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8198
8199         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8200         Dr. Richard Hawkins.
8201
8202 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8203
8204         * paragraph_funcs.h: remove some unneeded includes
8205
8206         * text.C (backspace): pasteParagraph now in global scipe
8207
8208         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8209         (pasteSelection): ditto
8210
8211         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8212         * paragraph_funcs.C (pasteParagraph): ... here
8213
8214 2002-08-20  André Pönitz <poenitz@gmx.net>
8215
8216         * commandtags.h: new LFUNs for swapping/copying table row/colums
8217
8218         * LyXAction.C:
8219         * lyxfunc.C: support for new lfuns
8220
8221 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8222
8223         * tabular.C:
8224         * buffer.[Ch]: remove NO_COMPABILITY stuff
8225
8226 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * boost.C (throw_exception): new file, with helper function for
8229         boost compiled without exceptions.
8230
8231         * paragraph.h:
8232         * lyxlength.C:
8233         * buffer.C:
8234         * ParameterStruct.h:
8235         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8236
8237         * bufferlist.C (emergencyWriteAll): use boost bind
8238
8239         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8240
8241         * text.C: include paragraph_funcs.h
8242         (breakParagraph): breakParagraph is now in global scope
8243
8244         * paragraph_funcs.[Ch]: new files
8245
8246         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8247         global scope
8248
8249         * buffer.C: include paragraph_funcs.h
8250         (insertStringAsLines): breakParagraph is now in global scope
8251
8252         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8253         paragraph_funcs.C
8254
8255         * CutAndPaste.C: include paragraph_funcs.h
8256         (cutSelection): breakParagraphConservative is now in global scope
8257         (pasteSelection): ditto
8258
8259         * buffer.h: declare oprator== and operator!= for
8260         Buffer::inset_iterator
8261
8262         * bufferlist.C (emergencyWrite): don't use fmt(...)
8263
8264         * text3.C: add using std::endl
8265
8266         * BufferView.C (moveCursorUpdate): remove default arg
8267
8268 2002-08-20  André Pönitz <poenitz@gmx.net>
8269
8270         * buffer.[Ch]: move inline functions to .C
8271
8272         * BufferView2.C:
8273         * BufferView_pimpl.C:
8274         * text.C:
8275         * buffer.[Ch]: use improved inset_iterator
8276
8277         * buffer.C:
8278         * paragraph.[Ch]: write one paragraph at a time
8279
8280 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8281
8282         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8283         style if style is not specified.
8284
8285 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8286
8287         * text2.C (setCounter): when searching for right label for a
8288         caption, make sure to recurse to parent insets (so that a caption
8289         in a minipage in a figure float works) (bug #568)
8290
8291 2002-08-20  André Pönitz <poenitz@gmx.net>
8292
8293         * text3.C: new file for LyXText::dispatch() and helpers
8294
8295         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8296
8297         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8298
8299 2002-08-19  André Pönitz <poenitz@gmx.net>
8300
8301         * lyxtext.h:
8302         * text.C: new LyXText::dispatch()
8303
8304         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8305
8306 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8307
8308         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8309
8310         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8311         Hebrew text.
8312
8313 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * Makefile.am: use $(variables) instead of @substitutions@
8316
8317 2002-08-15  André Pönitz <poenitz@gmx.net>
8318
8319         * lyxfunc.C:
8320         * BufferView_pimpl.C: streamlining mathed <-> outer world
8321         interaction
8322
8323         * commandtags.h:
8324         * LyXAction.C: remove unused LFUN_MATH
8325
8326 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8327
8328         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8329
8330 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8331
8332         * paragraph.C (Paragraph): reformat a bit
8333         (cutIntoMinibuffer): use builtin InsetList function instad of
8334         doing it manually.
8335         (getInset): ditto
8336
8337         * buffer.C: include boost/bind.hpp, add using std::for_each
8338         (writeFileAscii): use ParagraphList iterators
8339         (validate): use for_each for validate traversal of paragraphs
8340         (getBibkeyList): use ParagraphList iterators
8341         (resizeInsets): use for_each to resizeInsetsLyXText for all
8342         paragraphs.
8343         (getParFromID): use ParagraphList iterators
8344
8345         * BufferView2.C (lockInset): use paragraph list and iterators
8346
8347 2002-08-14  John Levon  <levon@movementarian.org>
8348
8349         * lyxserver.C: remove spurious xforms include
8350
8351 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8352
8353         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8354
8355 2002-08-13  André Pönitz <poenitz@gmx.net>
8356
8357         * LyXAction.[Ch]:
8358         * lyxfunc.C: further cleaning
8359
8360 2002-08-13  André Pönitz <poenitz@gmx.net>
8361
8362         * funcrequest.h: new constructor
8363
8364         * funcrequest.C: move stuff here from .h
8365
8366         * Makefile.am:
8367         * BufferView_pimpl.C:
8368         * LyXAction.C:
8369         * toc.C:
8370         * lyxfunc.C: subsequent changes
8371
8372         * lyxfunc.h: new view() member function
8373
8374         * lyxfunc.C: subsequent changes
8375
8376 2002-08-13  Angus Leeming  <leeming@lyx.org>
8377
8378         * BufferView2.C:
8379         * BufferView_pimpl.C:
8380         * buffer.C:
8381         * converter.C:
8382         * importer.C:
8383         * lyxfunc.C:
8384         * lyxvc.C:
8385         * toc.C:
8386         * vc-backend.C:
8387         changes due to the changed LyXView interface that now returns references
8388         to member variables not pointers.
8389
8390 2002-08-13  Angus Leeming  <leeming@lyx.org>
8391
8392         * WordLangTuple (word, lang_code): return references to strings,
8393         not strings.
8394
8395         * BufferView.h:
8396         * SpellBase.h:
8397         * lyxtext.h: forward-declare WordLangTuple.
8398
8399         * BufferView2.C:
8400         * ispell.C:
8401         * pspell.C:
8402         * text.C: #include "WordLangTuple.h".
8403
8404         * lyxtext.h:
8405         * text.C: (selectNextWordToSpellcheck): constify return type.
8406
8407 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8408
8409         * buffer.C:
8410         * buffer.h:
8411         * lyxtext.h:
8412         * paragraph.C:
8413         * paragraph_pimpl.h:
8414         * text.C:
8415         * text2.C:
8416         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8417         suggested by Angus.
8418         Made updateCounter always count from start of buffer, and removed
8419         second argument (par).
8420         Reverted floats number display to '#'. Perhaps I'll try again when the
8421         code base is sanitized a bit.
8422
8423 2002-08-12  Angus Leeming  <leeming@lyx.org>
8424
8425         * buffer.[Ch] (getLabelList): constify.
8426
8427 2002-08-07  André Pönitz <poenitz@gmx.net>
8428
8429         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8430
8431         * funcrequest.h: extension to keep mouse (x,y) position
8432
8433 2002-08-12  Juergen Vigna  <jug@sad.it>
8434
8435         * BufferView2.C (insertErrors): forbid undo when inserting error
8436         insets.
8437
8438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8439
8440 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * ParagraphList.[Ch]: new files
8443
8444         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8445
8446         * BufferView2.C (lockInset): ParagraphList changes
8447         * toc.C: ditto
8448         * text2.C: ditto
8449         * bufferlist.C: ditto
8450         * buffer.h: ditto
8451         * buffer.C: ditto
8452
8453 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8456         unused class variable counter_,
8457
8458         * paragraph.[Ch] (getFirstCounter): delete unused function
8459
8460         * counters.C: include LAssert.h
8461         (reset): add a new function with no arg, change other version to
8462         not have def. arg and to not allow empty arg.
8463
8464         * text2.C (setCounter): remove empty arg from call to Counters::reset
8465
8466 2002-08-11  John Levon  <levon@movementarian.org>
8467
8468         * Makefile.am: add WordLangTuple.h
8469
8470 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8473         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8474
8475         * insets/insettext.C: InsetList changes
8476
8477         * graphics/GraphicsSupport.C (operator()): InsetList changes
8478
8479         * toc.C (getTocList): InsetList changes
8480
8481         * paragraph_pimpl.[Ch]: InsetList changes
8482
8483         * paragraph.[Ch]: InsetList changes
8484
8485         * buffer.C (inset_iterator): InsetList changes
8486         (setParagraph): ditto
8487         * buffer.h (inset_iterator): ditto
8488         * iterators.C (operator++): ditto
8489         * iterators.h: ditto
8490
8491         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8492
8493         * InsetList.[Ch]: new files, most InsetList handling moved out of
8494         paragraph.C.
8495
8496         * BufferView2.C (removeAutoInsets): InsetList changes
8497         (lockInset): ditto
8498         (ChangeInsets): ditto
8499
8500 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8501
8502         * paragraph_pimpl.h (empty): new function
8503
8504         * paragraph.[Ch] (empty): new function
8505
8506         * other files: use the new Paragraph::empty function
8507
8508 2002-08-09  John Levon  <levon@movementarian.org>
8509
8510         * lyxtext.h: remove unused refresh_height
8511
8512 2002-08-09  John Levon  <levon@movementarian.org>
8513
8514         * Makefile.am:
8515         * sgml.h:
8516         * sgml.C:
8517         * buffer.C:
8518         * paragraph.h:
8519         * paragraph.C: move sgml char escaping out of paragraph
8520
8521         * paragraph.h:
8522         * paragraph.C: remove id setter
8523
8524         * buffer.C:
8525         * paragraph.C:
8526         * paragraph_pimpl.C: remove dead tex_code_break_column
8527
8528         * bufferview_funcs.C: small cleanup
8529
8530         * lyxfunc.C: remove dead proto
8531
8532         * lyxtext.h: make some stuff private. Remove some dead stuff.
8533
8534         * lyxgluelength.C: make as[LyX]String() readable
8535
8536 2002-08-08  John Levon  <levon@movementarian.org>
8537
8538         * LyXAction.h:
8539         * LyXAction.C:
8540         * MenuBackend.C:
8541         * ToolbarDefaults.C:
8542         * lyxfunc.C:
8543         * lyxrc.C:
8544         * toc.C: lyxaction cleanup
8545
8546 2002-08-08  John Levon  <levon@movementarian.org>
8547
8548         * BufferView2.C: small cleanup
8549
8550         * lyxfind.h:
8551         * lyxfind.C: move unnecessary header into the .C
8552
8553 2002-08-08  John Levon  <levon@movementarian.org>
8554
8555         * funcrequest.h: just tedious nonsense
8556
8557         * lyx_main.h:
8558         * lyx_main.C: cleanups
8559
8560         * buffer.C:
8561         * vspace.C: remove dead header lyx_main.h
8562
8563 2002-08-07  Angus Leeming  <leeming@lyx.org>
8564
8565         * Paragraph.[Ch]:
8566         * paragraph_pimpl.h:
8567         Forward declare class Counters in paragraph.h by moving the ctrs member
8568         variable into Paragraph::Pimpl.
8569         (counters): new method, returning a reference to pimpl_->ctrs.
8570
8571         * text2.C: ensuing changes.
8572
8573 2002-08-07  John Levon  <levon@movementarian.org>
8574
8575         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8576
8577         * BufferView_pimpl.C: announce X selection on double/triple
8578           click
8579
8580         * lyx_main.C: use correct bool in batch dispatch
8581
8582         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8583
8584 2002-08-07  André Pönitz <poenitz@gmx.net>
8585
8586         * funcrequest.h: new class to wrap a kb_action and its argument
8587
8588         * BufferView.[Ch]:
8589         * BufferView_pimpl[Ch]:
8590         * LaTeX.C:
8591         * LyXAction.[Ch]:
8592         * lyxfunc.[Ch]:
8593         * lyxrc.C: subsequent changes
8594
8595
8596 2002-08-07  John Levon  <levon@movementarian.org>
8597
8598         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8599           document options change.
8600
8601 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8602
8603         * counters.[Ch]
8604         * text2.C
8605         * paragraph.[Ch]
8606         * makefile.am: move counters functionality over from
8607         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8608
8609 2002-08-06  John Levon  <levon@movementarian.org>
8610
8611         * WordLangTuple.h: new file for word + language code tuple
8612
8613         * SpellBase.h:
8614         * pspell.h:
8615         * pspell.C:
8616         * ispell.h:
8617         * ispell.C:
8618         * lyxtext.h:
8619         * text.C:
8620         * text2.C:
8621         * BufferView.h:
8622         * BufferView2.C: use WordLangTuple
8623
8624         * layout.h:
8625         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8626
8627 2002-08-06  John Levon  <levon@movementarian.org>
8628
8629         * lyx_main.C: fix cmdline batch handling
8630
8631 2002-08-06  André Pönitz <poenitz@gmx.net>
8632
8633         * lyxrc.C: set default for show_banner to true
8634
8635 2002-08-06  John Levon  <levon@movementarian.org>
8636
8637         * pspell.C: fix a crash, and allow new aspell to work
8638
8639 2002-08-06  John Levon  <levon@movementarian.org>
8640
8641         * lyxfunc.C:
8642         * kbmap.C: small cleanup
8643
8644         * vspace.h:
8645         * vspace.C: add const
8646
8647 2002-08-05  John Levon  <levon@movementarian.org>
8648
8649         * LyXAction.C: back to tabular-insert
8650
8651 2002-08-04  John Levon  <levon@movementarian.org>
8652
8653         * BufferView.h:
8654         * BufferView.C: cosmetic change
8655
8656         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8657
8658         * bufferlist.C:
8659         * buffer.h:
8660         * buffer.C:
8661         * lyxcb.h:
8662         * lyxcb.C:
8663         * lyxserver.C:
8664         * lyxvc.C:
8665         * vc-backend.C:
8666         * BufferView2.C: purge all "Lyx" not "LyX" strings
8667
8668         * lyxcursor.h:
8669         * lyxcursor.C: attempt to add some documentation
8670
8671         * lyxfunc.C:
8672         * commandtags.h:
8673         * LyXAction.C:
8674         * ToolbarDefaults.C:
8675         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8676           merge with LFUN_TABULAR_INSERT
8677
8678         * Makefile.am:
8679         * SpellBase.h:
8680         * ispell.h:
8681         * ispell.C:
8682         * pspell.h:
8683         * pspell.C: split up i/pspell implementations into separate
8684           files, many cleanups
8685
8686         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8687
8688         * text2.C: some cleanup
8689
8690         * lyxfunc.C: don't check for isp_command == "none" any more, it
8691           didn't make any sense
8692
8693 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8694
8695         * counters.[Ch]
8696         * text2.C
8697         * paragraph.[Ch]
8698         * makefile.am: move counters functionality over
8699         from text2.C/paragraph.[Ch] to counters.[Ch], and
8700         make proper C++.
8701 2002-08-02  John Levon  <levon@movementarian.org>
8702
8703         * buffer.C: s/lyxconvert/lyx2lyx/
8704
8705 2002-08-02  Angus Leeming  <leeming@lyx.org>
8706
8707         * lyxlex.C: revert John's change as it breaks reading of the user
8708         preamble.
8709
8710 2002-08-02  Angus Leeming  <leeming@lyx.org>
8711
8712         * importer.C (Import):
8713         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8714         changes due to LyXView::view() now returning a boost::shared_ptr.
8715
8716 2002-08-02  John Levon  <levon@movementarian.org>
8717
8718         * lyxlex.C: small cleanup
8719
8720 2002-08-02  John Levon  <levon@movementarian.org>
8721
8722         * text2.C (status): small cleanup, no logic change
8723
8724 2002-08-01  John Levon  <levon@movementarian.org>
8725
8726         * buffer.h:
8727         * buffer.C (writeFile): don't output alerts, caller
8728           handles this
8729
8730         * bufferlist.C:
8731         * lyx_cb.C: from above
8732
8733         * lyxfunc.C: allow to open non-existent files
8734
8735 2002-07-31  John Levon  <levon@movementarian.org>
8736
8737         * lyxserver.C: don't let incidental errors get
8738           in the way (errno)
8739
8740 2002-07-30  John Levon  <levon@movementarian.org>
8741
8742         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8743
8744 2002-07-30  John Levon  <levon@movementarian.org>
8745
8746         * lyxserver.h:
8747         * lyxserver.C: remove I/O callback too
8748
8749 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8750
8751         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8752         log.
8753
8754 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8755
8756         * many files: strip,frontStrip -> trim,ltrim,rtrim
8757
8758 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * PrinterParams.h: remove extern containsOnly, and include
8761         support/lstrings.h instead.
8762
8763         * LaTeX.C (scanAuxFile): modify because of strip changes
8764         (deplog): ditto
8765         * buffer.C (makeLaTeXFile): ditto
8766         * bufferparams.C (writeFile): ditt
8767         * lyxfont.C (stateText): ditto
8768         * lyxserver.C (read_ready): ditto
8769         * vc-backend.C (scanMaster): ditto
8770
8771         * BufferView_pimpl.h: ws changes
8772
8773         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8774
8775 2002-07-26  André Pönitz <poenitz@gmx.net>
8776
8777         * kb_sequence.C: remove unnedred usings
8778
8779 2002-07-26  Juergen Vigna  <jug@sad.it>
8780
8781         * lyxfind.C (LyXReplace): we have to check better if the returned
8782         text is not of theLockingInset()->getLockingInset().
8783
8784 2002-07-25  Juergen Vigna  <jug@sad.it>
8785
8786         * lyxfind.C (LyXReplace): don't replace if we don't get the
8787         right LyXText.
8788
8789         * undo_funcs.C (createUndo): remove debugging code.
8790
8791 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8792
8793         * buffer.C (parseSingleLyXformat2Token): Use default placement
8794         when reading old floats.
8795
8796         * FloatList.C (FloatList): Change the default placement of figure
8797         and tables to "tbp".
8798
8799 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8800
8801         * MenuBackend.C: using std::max
8802
8803 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8804
8805         * MenuBackend.C (expandToc):
8806         (expandToc2): code moved from xforms menu frontend. It is now
8807         generic and TOCs are transparent to menu frontends.
8808
8809 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8810
8811         * toc.C (getTocList): protect against buf=0
8812
8813         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8814         Menu as first parameter. Now, this calls itself recursively to
8815         expand a whole tree (this will be useful for TOC handling)
8816         (expandFloatInsert): remove 'wide' version of floats
8817
8818         * MenuBackend.h (submenuname): returns the name of the submenu.
8819         (submenu): returns the submenu itself, provided it has been
8820         created by MenuBackend::expand
8821
8822 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8823
8824         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8825         insets which have noFontChange == true. (bug #172)
8826
8827 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8828
8829         * BufferView_pimpl.C: add connection objects and use them...
8830         (Pimpl): here.
8831
8832 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8833
8834         * MenuBackend.C (expandLastfiles):
8835         (expandDocuments):
8836         (expandFormats):
8837         (expandFloatListInsert):
8838         (expandFloatInsert):
8839         (expand): split expand in parts
8840
8841 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8842
8843         * lyx_gui.C: use lyx_gui::exit()
8844
8845 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * LyXAction.C: show the failing pseudo action
8848
8849 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8850
8851         * buffer.C (readFile): Run the lyxconvert script in order to read
8852         old files.
8853
8854 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8855
8856         * LyXAction.C:
8857         * commandtags.h:
8858         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8859
8860 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8861
8862         * LyXAction.C:
8863         * commandtags.h:
8864         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8865
8866 2002-07-22  Herbert Voss  <voss@lyx.org>
8867
8868         * lengthcommon.C:
8869         * lyxlength.[Ch]: add support for the vertical lengths
8870
8871 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8872
8873         * toc.[Ch]: std:: fixes
8874
8875 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * lyxrc.C: do not include lyx_main.h
8878
8879         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8880         for layouts
8881
8882         * lyxrc.C:
8883         * encoding.C:
8884         * bufferlist.C:
8885         * BufferView2.C: include "lyxlex.h"
8886
8887         * tabular.h:
8888         * bufferparams.h: do not #include "lyxlex.h"
8889
8890         * lyxtextclasslist.C (Add): remove method
8891         (classlist): renamed to classlist_
8892
8893         * paragraph_pimpl.C:
8894         * paragraph.C:
8895         * text2.C:
8896         * CutAndPaste.C:
8897         * bufferview_funcs.C:
8898         * bufferlist.C:
8899         * text.C:
8900         * LaTeXFeatures.C:
8901         * buffer.C:
8902         * toc.C (getTocList): use BufferParams::getLyXTextClass
8903
8904         * toc.C (getTocList): use InsetFloat::addToToc
8905
8906         * toc.[Ch]: new files, containing helper functions to handle table
8907         of contents
8908
8909         * lyxfunc.C (dispatch): no need to remove spaces around command
8910         given as a string
8911         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8912         first command of the sequence; it is not very clever, but I do not
8913         have a better idea, actually
8914
8915         * LyXAction.C (LookupFunc): make sure to remove space at the
8916         beginning and end of the command
8917
8918 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8919
8920         * MenuBackend.C (getMenubar): new method: return the menubar of
8921         this menu set
8922         (read): treat differently reading of menu and menubar (in
8923         particular, the menubar has no name now)
8924         (Menu::menubar): remove
8925
8926         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8927         saving is finished
8928
8929 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8930
8931         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8932         a bibitem inset in a RTL paragraph.
8933
8934 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8935
8936         * paragraph_pimpl.C: constify
8937
8938         * BufferView_pimpl.C:
8939         * LaTeX.C:
8940         * lyxfunc.C: fix dispatch in a nicer way
8941
8942 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8943
8944         * lyxfunc.C (dispatch):
8945         * BufferView_pimpl.C:
8946         * BufferView_pimpl.h:
8947         * BufferView.C:
8948         * BufferView.h: rename Dispatch() to dispatch()
8949
8950         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8951
8952         * lyxlayout.C (Read): honor DependsOn tag
8953
8954         * lyxlayout.[Ch] (depends_on): new method
8955
8956         * version.C.in: update lyx_docversion
8957
8958         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8959
8960         * paragraph.C (validate): remove from here...
8961         * paragraph_pimpl.C (validate): ... and move here
8962         (isTextAt): make it const
8963
8964         * buffer.C (getLists): ws cleanup
8965
8966 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8967
8968         * language.C (read): Use iso8859-1 encoding in latex_lang
8969         (this prevents LyX from crashing when using iso10646-1 encoding).
8970
8971 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8972
8973         * text2.C (toggleInset): if cursor is inside an inset, close the
8974         inset and leave cursor _after_ it
8975
8976 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8977
8978         * lyxfunc.C: move minibuffer completion handling out of here
8979
8980 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8981
8982         * BufferView_pimpl.C:
8983         * LaTeX.C: fix dispatch calls
8984
8985 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8986
8987         * text.C (drawChars): Fix Arabic text rendering.
8988
8989 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8990
8991         * LyXAction.C:
8992         * commandtags.h:
8993         * lyxfunc.C: remove message-push/pop
8994
8995         * lyxserver.C:
8996         * lyxfunc.h:
8997         * lyxfunc.C: rationalise some code by removing verboseDispatch
8998           in favour of a bool argument to dispatch()
8999
9000 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9001
9002         * lyx_main.C (init): make sure to read symlinks as absolute paths
9003
9004 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * lyxfunc.h:
9007         * lyxfunc.C: no need for commandshortcut to be a member
9008
9009 2002-07-15  André Pönitz <poenitz@gmx.net>
9010
9011         * converter.C: add support for $$s (scripts from lib/scripts dir)
9012         * lyx_main.C: white space
9013
9014 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * bufferlist.C:
9017         * lyxrc.h:
9018         * lyxrc.C: remove second exit confirmation
9019
9020 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * BufferView.h:
9023         * BufferView.C:
9024         * BufferView2.C:
9025         * BufferView_pimpl.h:
9026         * BufferView_pimpl.C:
9027         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9028
9029 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9030
9031         * MenuBackend.C (expand): add numeric shortcuts to document menu
9032
9033         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9034
9035 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9036
9037         * lyxfont.C (setLyXFamily):
9038         (setLyXSeries):
9039         (setLyXShape):
9040         (setLyXSize):
9041         (setLyXMisc):
9042         (lyxRead):
9043         * debug.C (value):
9044         * buffer.C (asciiParagraph): use ascii_lowercase
9045
9046 2002-07-15  Mike Fabian  <mfabian@suse.de>
9047
9048         * lyxlex_pimpl.C (search_kw):
9049         * lyxlex.C (getLongString):
9050         * converter.h (operator<):
9051         * converter.C (operator<):
9052         * buffer.C (parseSingleLyXformat2Token):
9053         (asciiParagraph):
9054         * ToolbarDefaults.C (read):
9055         * MenuBackend.C (checkShortcuts):
9056         (read):
9057         * LColor.C (getFromGUIName):
9058         (getFromLyXName): use the compare_ascii_no_case instead of
9059         compare_no_case, because in turkish, 'i' is not the lowercase
9060         version of 'I', and thus turkish locale breaks parsing of tags.
9061
9062 2002-07-16  Angus Leeming  <leeming@lyx.org>
9063
9064         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9065         now takes a Buffer const & argument.
9066
9067 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * BufferView.C (resize): check there's a buffer to resize
9070
9071 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9072
9073         * lyxfunc.C: remove dead code
9074
9075         * lyxserver.h:
9076         * lyxserver.C: use lyx_guii::set_read_callback
9077
9078 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9079
9080         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9081         an inset in a RTL paragraph.
9082
9083 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9084
9085         * lyxfunc.C: repaint after a font size update
9086
9087 2002-07-15  André Pönitz <poenitz@gmx.net>
9088
9089         * lyxlength.C: inBP should be able to return negative values
9090
9091 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9092
9093         * lyxfunc.C: use lyx_gui::update_fonts()
9094
9095 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * lyxfunc.C: use lyx_gui::update_color()
9098
9099 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * bufferlist.C:
9102         * lyxfunc.h:
9103         * lyxfunc.C:
9104         * lyxrc.h:
9105         * lyxrc.C: remove file->new asks for name option, and let
9106           buffer-new take an argument
9107
9108 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * BufferView_pimpl.C: remove unneeded extra repaint()
9111
9112 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9113
9114         * LyXAction.C: allow command-sequence with NoBuffer
9115
9116         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9117
9118 2002-07-10  Angus Leeming  <leeming@lyx.org>
9119
9120         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9121
9122 2002-07-09  Angus Leeming  <leeming@lyx.org>
9123
9124         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9125
9126 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9127
9128         * lengthcommon.h: whitespace
9129
9130         * lyxfunc.C: update scrollbar after goto paragraph
9131
9132         * lyxtext.h: factor out page break drawing, and fix it so
9133           page break/added space paints as selected nicely
9134
9135 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9136
9137         * BufferView_pimpl.C: add FIXMEs, clean up a little
9138
9139 2002-07-09  André Pönitz <poenitz@gmx.net>
9140
9141         * lyxfont.[Ch]: support for wasy symbols
9142
9143 2002-07-08  André Pönitz <poenitz@gmx.net>
9144
9145         * BufferView_pimpl.C: apply John's patch for #93.
9146
9147 2002-07-05  Angus Leeming  <leeming@lyx.org>
9148
9149         * BufferView_pimpl.C (buffer): generate previews if desired.
9150
9151         * LColor.h: add "preview" to the color enum.
9152
9153         * LColor.C (LColor): add a corresponding entry to the items array.
9154
9155         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9156         with this buffer.
9157
9158 2002-07-05  Angus Leeming  <leeming@lyx.org>
9159
9160         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9161         The body of the code is now in the method that is passed an ostream &
9162         rather than a file name.
9163         Pass an additional only_preamble parameter, useful for the forthcoming
9164         preview stuff.
9165
9166 2002-07-03  André Pönitz <poenitz@gmx.net>
9167
9168         * lyxfunc.C: simplify getStatus() a bit for math stuff
9169
9170 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9171
9172         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9173
9174 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9175
9176         * text.C (changeRegionCase): do not change case of all the
9177         document when region ends at paragraph end (bug #461)
9178
9179 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9180
9181         * paragraph.C (startTeXParParams):
9182         (endTeXParParams): add \protect when necessary
9183
9184 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9185
9186         * BufferView_pimpl.C (workAreaExpose): remove warning
9187
9188 2002-06-27  Angus Leeming  <leeming@lyx.org>
9189
9190         * Makefile.am: add lyxlayout_ptr_fwd.h.
9191
9192 2002-06-26  André Pönitz <poenitz@gmx.net>
9193
9194         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9195
9196 2002-06-25  Angus Leeming  <leeming@lyx.org>
9197
9198         * lyxfunc.C (dispatch): Comment out the call to
9199         grfx::GCache::changeDisplay. The method no longer exists now that the
9200         pixmap generation part of the graphics loader has been moved into
9201         InsetGraphics.
9202
9203 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9204
9205         * text2.C: layout as layout
9206
9207         * text.C: layout as layout
9208
9209         * tabular.C (OldFormatRead): layout as layout
9210
9211         * paragraph_pimpl.C (TeXDeeper): layout as layout
9212         (realizeFont): layout as layout
9213
9214         * paragraph.C (writeFile): layout as layout
9215         (validate): layout as layout
9216         (getFont): layout as layout
9217         (getLabelFont): layout as layout
9218         (getLayoutFont): layout as layout
9219         (breakParagraph): layout as layout
9220         (stripLeadingSpaces): layout as layout
9221         (getEndLabel): layout as layout
9222         (getMaxDepthAfter): layout as layout
9223         (applyLayout): layout as layout
9224         (TeXOnePar): layout as layout
9225         (simpleTeXOnePar): layout as layout
9226         (TeXEnvironment): layout as layout
9227         (layout): layout as layout
9228         (layout): layout as layout
9229
9230         * lyxtextclass.C (compare_name): new functor to work with
9231         shared_ptr, layout as layout
9232         (Read): layout as layout
9233         (hasLayout): layout as layout
9234         (operator): layout as layout
9235         (delete_layout): layout as layout
9236         (defaultLayout): layout as layout
9237
9238         * lyxlayout_ptr_fwd.h: new file
9239
9240         * lyxlayout.C (Read): layout as layout
9241
9242         * lyx_cb.C (MenuInsertLabel): layout as layout
9243
9244         * bufferlist.C (newFile): layout as layout
9245
9246         * buffer.C (readLyXformat2): layout as layout
9247         (parseSingleLyXformat2Token): layout as layout
9248         (insertStringAsLines): layout as layout
9249         (asciiParagraph): layout as layout
9250         (latexParagraphs): layout as layout
9251         (makeLinuxDocFile): layout as layout
9252         (simpleLinuxDocOnePar): layout as layout
9253         (makeDocBookFile): layout as layout
9254         (simpleDocBookOnePar): layout as layout
9255         (getLists): layout as layout
9256
9257         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9258
9259         * CutAndPaste.C (cutSelection): layout as layout
9260         (pasteSelection): layout as layout
9261         (SwitchLayoutsBetweenClasses): layout as layout
9262
9263         * BufferView_pimpl.C (Dispatch): layout as layout
9264         (smartQuote): layout as layout
9265
9266         * BufferView2.C (unlockInset): layout as layout
9267
9268 2002-06-24  André Pönitz <poenitz@gmx.net>
9269
9270         * lyxfunc.C: fix #487
9271
9272 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9273
9274         * lyxrc.h:
9275         * lyxrc.C:
9276         * lyxfunc.C: remove display_shortcuts, show_banner
9277
9278 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9279
9280         * Buffer_pimpl.C: oops, update on resize
9281
9282 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9283
9284         * buffer.C:
9285         * converter.C:
9286         * exporter.C:
9287         * lyxfunc.C:
9288         * BufferView.h:
9289         * BufferView.C: use repaint()
9290
9291         * BufferView_pimpl.h:
9292         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9293           as it's a clearer description. Remove superfluous
9294           redraws.
9295
9296 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * text.C: fix bug 488. Not ideal, but getting
9299           getWord() to work properly for the insets that
9300           matter is more difficult ...
9301
9302 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * BufferView_pimpl.C:
9305         * LyXAction.C:
9306         * commandtags.h:
9307         * lyxfunc.C: remove the six million index lyxfuncs to just
9308           one, and DTRT (bug 458)
9309
9310 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * BufferView.h:
9313         * BufferView.C:
9314         * BufferView_pimpl.h:
9315         * BufferView_pimpl.C: clean up resize() stuff,
9316           and unnecessary updateScreen()s
9317
9318 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * BufferView.h:
9321         * BufferView.C:
9322         * BufferView_pimpl.h:
9323         * BufferView_pimpl.C:
9324         * lyxfind.h:
9325         * lyxfind.C:
9326         * minibuffer.C: remove focus management of workarea,
9327           not needed. Use screen's greyOut()
9328
9329 2002-06-17  Herbert Voss  <voss@lyx.org>
9330
9331         * converter.C: (convert) do not post a message, when converting
9332         fails, let the calling function decide what to do in this case
9333
9334 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9335
9336         * lyxfunc.C: tidy up a little
9337
9338 2002-06-16    <alstrup@diku.dk>
9339
9340         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9341         Got rid of FORMS_H_LOCATION include. Now we are
9342         GUII.
9343
9344 2002-06-15  LyX Development team  <lyx@rilke>
9345
9346         * buffer.[Ch] (sgmlOpenTag):
9347         (sgmlCloseTag): Added support for avoiding pernicious mixed
9348         content. Return number of lines written.
9349
9350         (makeLinuxDocFile):
9351         (makeDocBookFile): Fixed calls to sgml*Tag.
9352         Simple white space clean.
9353
9354         (simpleDocBookOnePar): Simple white space clean.
9355
9356         * tabular.[Ch] (docBook): Renamed to docbook and got another
9357         argument to related with the pernicious mixed content.
9358
9359         (docbookRow): Fixed calls for docbook inset method.
9360
9361 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9362
9363         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9364         so it's X11 independent.
9365
9366         * kb*.[Ch]: ditto.
9367
9368         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9369
9370 2002-06-15  Lyx Development team  <lyx@electronia>
9371
9372         * intl.h: Renamed getTrans to getTransManager.
9373
9374 2002-06-14  Angus Leeming  <leeming@lyx.org>
9375
9376         * Makefile.am: nuke forgotten stl_string_fwd.h.
9377
9378 2002-06-12  Angus Leeming  <leeming@lyx.org>
9379
9380         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9381
9382 2002-06-13  Angus Leeming  <leeming@lyx.org>
9383
9384         * LaTeX.C:
9385         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9386
9387 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9388
9389         * kbmap.C (getiso): add support for cyrillic and greek
9390
9391 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * BufferView.h:
9394         * BufferView.C:
9395         * BufferView_pimpl.h:
9396         * BufferView_pimpl.C: move bogus scrolling logic
9397           to xforms
9398
9399 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9400
9401         * lyxfunc.C:
9402         * BufferView_pimpl.C: view->resize() change
9403
9404 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9405
9406         * BufferView_pimpl.C: topCursorVisible
9407           prototype change
9408
9409 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9410
9411         * Makefile.am:
9412         * lyx_gui.h:
9413         * lyx_gui.C: move to frontends/
9414
9415         * main.C:
9416         * lyx_main.h:
9417         * lyx_main.C: changes from above
9418
9419 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * intl.C:
9422         * intl.h:
9423         * kbmap.C:
9424         * kbsequence.C:
9425         * lyx_cb.C:
9426         * lyx_main.C: minor tidy
9427
9428 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * BufferView_pimpl.h:
9431         * BufferView_pimpl.C:
9432         * BufferView.h:
9433         * BufferView.C: make painter() const,
9434           remove dead code
9435
9436         * BufferView2.C: use screen() accessor
9437
9438         * lyx_main.h:
9439         * lyx_main.C: some minor cleanup
9440
9441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9442
9443         * BufferView_pimpl.h:
9444         * BufferView_pimpl.C: remove enter/leaveView,
9445           use workHeight()
9446
9447 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * BufferView.h:
9450         * BufferView.C:
9451         * BufferView2.C:
9452         * BufferView_pimpl.h:
9453         * BufferView_pimpl.C: only construct screen once,
9454           rename
9455
9456         * lyxrc.C: remove pointless comment
9457
9458 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9459
9460         * BufferView.h:
9461         * BufferView.C: remove active() and belowMouse()
9462
9463         * BufferView_pimpl.h:
9464         * BufferView_pimpl.C: use workarea() not workarea_,
9465           and make it use a scoped_ptr instead
9466
9467 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * lyx_gui.C: add debug message on BadWindow
9470
9471 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9472
9473         * sp_spell.C: fdopen is not part of the C++ standard.
9474
9475         * paragraph.C (InsetIterator): use >= instead of ==
9476
9477 2002-06-07  Angus Leeming  <leeming@lyx.org>
9478
9479         Fixes needed to compile with Compaq cxx 6.5.
9480         * BufferView_pimpl.C:
9481         * DepTable.C:
9482         * buffer.C:
9483         * converter.C:
9484         * encoding.C:
9485         * lyx_gui.C:
9486         * lyx_main.C:
9487         * lyxtextclasslist.C:
9488         * minibuffer.C:
9489         * sp_spell.C:
9490         * tabular_funcs.C:
9491         * vc-backend.C:
9492         all c-library variables have been moved into namespace std. Wrap
9493         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9494
9495         * lyxlength.C:
9496         * tabular-old.C:
9497         * tabular.C:
9498         Add a using std::abs declaration.
9499
9500         * kbmap.h (modifier_pair):
9501         * paragraph.h (InsetTable, InsetList):
9502         * lyxfont.h (FontBits):
9503         type definition made public.
9504
9505         * bufferlist.C (emergencyWriteAll): the compiler complains that
9506         there is more than one possible lyx::class_fun template to choose from.
9507         I re-named the void specialisation as lyx::void_class_fun.
9508
9509         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9510
9511         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9512         the compiler is is unable to find tostr in write_attribute.
9513
9514 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9515
9516         * buffer.C (sgmlError): hide #warning
9517
9518 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * xtl/*: get rid of xtl, which is not in use anyway
9521
9522         * LyXAction.C (init):
9523         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9524         were unimplemented xtl experimentation
9525
9526 2002-06-04  André Pönitz <poenitz@gmx.net>
9527
9528         * lyxfunc.C: disable array operation on simple formulae
9529
9530 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * converter.C: constify a bit
9533
9534 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9535
9536         * lyx_gui.C: check xforms version correctly
9537
9538 2002-04-30  Herbert Voss  <voss@lyx.org>
9539
9540         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9541         "keep" option
9542
9543 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9544
9545         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9546           attempt to register it with a VCS)
9547
9548 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9549
9550         * lyx_main.C (init): honor variables LYX_DIR_13x and
9551         LYX_USERDIR_13x
9552
9553 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * buffer.h:
9556         * buffer.C:
9557         * lyx_main.C: fix a crash on bad command line,
9558           and give a useful exit status on error
9559
9560         * lyxfunc.C (doImport): allow -i lyx to work
9561
9562 2002-03-30  André Pönitz <poenitz@gmx.net>
9563
9564         * lyxfunc.C: mathed font changes
9565
9566 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * LaTeX.C:
9569         * importer.h:
9570         * importer.C:
9571         * lyx_sty.h:
9572         * lyx_sty.C:
9573         * lyxlex.C:
9574         * lyxrow.h:
9575         * lyxtext.h:
9576         * paragraph.h:
9577         * paragraph.C:
9578         * texrow.h:
9579         * texrow.C:
9580         * text.C:
9581         * trans_mgr.h: srcdocs, and some minor cleanups
9582
9583 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9584
9585         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9586         call getFont all the time)
9587
9588 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9589
9590         * switch from SigC signals to boost::signals
9591
9592 2002-05-29  André Pönitz <poenitz@gmx.net>
9593
9594         * paragraph_pimpl.C (getChar): don't call size() too often...
9595
9596 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9597
9598         * paragraph_pimpl.C (insertChar): do not try to update tables when
9599         appending (pos == size())
9600
9601         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9602         in order to reduce drastically the number of comparisons needed to
9603         parse a large document
9604
9605 2002-05-29  André Pönitz <poenitz@gmx.net>
9606
9607         * text.C:
9608         * text2.C:
9609         * lyxtextclass.C:
9610         * sp_pspell.h:
9611         * textclasslist.[Ch]:
9612         * sp_ispell.h: whitespace change
9613
9614 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9615
9616         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9617         lyxaction directly now.
9618
9619 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * trans.C:
9622         * lyxfont.C:
9623         * lyxvc.C: remove unused headers
9624
9625 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * Makefile.am:
9628         * buffer.h:
9629         * undostack.h:
9630         * undostack.C:
9631         * undo_funcs.h:
9632         * undo_funcs.C: some cleanups. Use shared_ptr
9633           and a template for the undo stacks.
9634
9635 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * BufferView_pimpl.h:
9638         * BufferView_pimpl.C:
9639         * kbmap.h:
9640         * kbmap.C:
9641         * kbsequence.h:
9642         * kbsequence.C:
9643         * lyxfunc.h:
9644         * lyxfunc.C:
9645         * text2.C: use key_state/mouse_state
9646
9647 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9648
9649         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9650         and LSubstring
9651
9652         * chset.C: change include order
9653         (loadFile): use boost regex and get rid of LRegex and LSubstring
9654
9655         * Makefile.am (BOOST_LIBS): new variable
9656         (lyx_LDADD): use it
9657
9658         * LaTeX.C: change include order.
9659         (scanAuxFile): use boost regex and get rid of LRegex and
9660         LSubstring
9661         (deplog): ditto
9662
9663 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9664
9665         * ColorHandler.h:
9666         * ColorHandler.C:
9667         * FontInfo.h:
9668         * FontInfo.C: moved to frontends/xforms/
9669
9670         * FontLoader.h:
9671         * FontLoader.C: moved into frontends for GUIIzation
9672
9673         * Makefile.am:
9674         * lyx_gui.C:
9675         * lyxfont.C:
9676         * lyxfunc.C: changes from above
9677
9678 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * LColor.C: remove spurious X include
9681
9682         * BufferView_pimpl.C:
9683         * Makefile.am:
9684         * font.h:
9685         * font.C:
9686         * text.C:
9687         * text2.C: move font metrics to frontends/
9688
9689 2002-05-24  Juergen Vigna  <jug@sad.it>
9690
9691         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9692         setting the undo_cursor.
9693
9694         * ParagraphParameters.h: include local includes first.
9695
9696 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9697
9698         * BufferView_pimpl.C:
9699         * BufferView_pimpl.h:
9700         * Makefile.am:
9701         * WorkArea.h:
9702         * WorkArea.C:
9703         * screen.C: move WorkArea into frontends/
9704
9705         * lyxscreen.h:
9706         * screen.C:
9707         * text.C:
9708         * BufferView.C:
9709         * BufferView2.C: move LyXScreen into frontends/
9710
9711         * lyxlookup.h:
9712         * lyxlookup.C:
9713         * lyx_gui.C: move lyxlookup into frontends/xforms/
9714
9715 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9716
9717         * BufferView2.C:
9718         * BufferView_pimpl.C:
9719         * FontLoader.C:
9720         * LyXView.h:
9721         * LyXView.C:
9722         * Makefile.am:
9723         * WorkArea.C:
9724         * XFormsView.h:
9725         * XFormsView.C:
9726         * buffer.C:
9727         * bufferlist.C:
9728         * bufferview_funcs.C:
9729         * converter.C:
9730         * importer.C:
9731         * lyx_cb.C:
9732         * lyx_gui.C:
9733         * lyx_main.C:
9734         * lyx_find.C:
9735         * lyxfunc.C:
9736         * lyxvc.C:
9737         * minibuffer.C:
9738         * text.C:
9739         * text2.C:
9740         * trans.C:
9741         * vc-backend.C: move LyX/XFormsView into frontends/
9742
9743 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9744
9745         * Makefile.am:
9746         * PainterBase.C:
9747         * PainterBase.h:
9748         * Painter.C:
9749         * Painter.h:
9750         * WorkArea.C:
9751         * WorkArea.h:
9752         * screen.C:
9753         * tabular.C:
9754         * text.C:
9755         * text2.C: move Painter to frontends/
9756
9757 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9758
9759         * buffer.C: comment out some some code that depend upon lyx_format
9760         < 220
9761
9762         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9763         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9764
9765         * buffer.h (NO_COMPABILITY): turn off compability
9766
9767         * ColorHandler.C: include scoped_array.hpp
9768
9769         * font.C: Use more specific smart_ptr header.
9770         * Painter.C: ditto
9771         * gettext.C: ditto
9772         * ShareContainer.h: ditto
9773         * lyx_main.h: ditto
9774         * kbmap.h: ditto
9775         * FontInfo.h: ditto
9776         * BufferView_pimpl.h: ditto
9777         * ColorHandler.h: ditto
9778
9779         * kbmap.C (defkey): change call to shared_ptr::reset
9780
9781 2002-05-21  Juergen Vigna  <jug@sad.it>
9782
9783         * buffer.C (insertErtContents): fix to insert ert asis if it is
9784         non empty. Skip it completely if it contains only whitespaces.
9785
9786 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9787
9788         * BufferView_pimpl.C:
9789         * BufferView2.C: clear selection on paste (bug 393)
9790
9791 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9792
9793         * DepTable.C: include ctime
9794
9795 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9796
9797         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9798
9799 2002-05-14  Juergen Vigna  <jug@sad.it>
9800
9801         * text.C (breakParagraph): fixed function to honor the keepempty
9802         layout in the right maner and also to permit the right breaking
9803         algorithm on empty or non empyt keepempty paragraphs.
9804
9805         * paragraph.C (breakParagraph): we have to check also if the par
9806         is really empty (!size()) for isempty otherwise we do the wrong
9807         paragraph break.
9808
9809 2002-05-10  Juergen Vigna  <jug@sad.it>
9810
9811         * buffer.[Ch] : The following are only changes to the ert
9812         compatibility read reading old LaTeX layout and font stuff and
9813         convert it to ERTInsets.
9814
9815         * buffer.h: added isErtInset().
9816
9817         * buffer.C (struct ErtComp): add a fromlayout bool to check
9818         if we're inside a LaTeX layout.
9819         (isErtInset): new helper function.
9820         (insertErtContents): look for other ert insets before this one
9821         and insert the contents there, so that we don't have subsequent
9822         ERT insets with nothing between them. This way we create only one
9823         inset with multiple paragraphs. Also check if we don't insert only
9824         spaces ' ' as they are ignored anyway afterwards in the .tex file
9825         so if we have only spaces we will ignore this latex part in the
9826         new file.
9827         (parseSingleLyXformat2Token \\layout): better compatibility when
9828         reading layout-latex stuff.
9829         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9830         language tag.
9831         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9832         stuff after reading the inset only get the information back from
9833         the stack.
9834
9835 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9836
9837         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9838
9839         * LaTeXFeatures.C (getBabelOptions): New method.
9840
9841 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9842
9843         * BufferView_pimpl.C (Dispatch): work around missing argument for
9844         'layout'
9845
9846 2002-05-08  Juergen Vigna  <jug@sad.it>
9847
9848         * text.C (leftMargin): handle paragraph leftindent.
9849
9850         * paragraph.C (writeFile): write the new \\leftindent tag.
9851         (validate): handle leftindent code.
9852         (TeXEnvironment): handle paragraphleftindent code again.
9853
9854         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9855
9856         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9857         for paragrap_extra indent code and new token \\leftindent.
9858         (latexParagraphs): handle the leftindent as environment.
9859
9860         * ParameterStruct.h: added leftindent support.
9861
9862         * ParagraphParameters.C (leftIndent): added support functions for
9863         the paragraph left indent.
9864
9865         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9866         more appropriate.
9867
9868 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9869
9870         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9871         inside insetERT.
9872
9873         * text.C (computeBidiTables): No bidi in insetERT.
9874
9875         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9876         in RTL documents.
9877
9878 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9879
9880         * version.C.in: pre 5
9881
9882 2002-05-02  José Matos  <jamatos@fep.up.pt>
9883         * buffer.C (makeDocBookFile): white space changes, add newline to
9884         command styles.
9885         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9886
9887         * tabular.C (docBook): fix typo.
9888
9889 2002-05-03  Juergen Vigna  <jug@sad.it>
9890
9891         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9892         change in LyXText as we can not be sure it was not freed.
9893         (drawOneRow): remove unused code.
9894
9895         * text.C (drawInset): redo the calculation of the need_break_row as
9896         it could have a row which was already freed.
9897         (draw): look at the return value of drawInset and return false if
9898         it also returned false.
9899         (paintRowText): look at the return value of draw and return false if
9900         it also returned false.
9901
9902         * lyxtext.h: added bool return type to drawInset() and draw() so that
9903         if we have a change in the row so that the rowbreak has to be redone
9904         we abort drawing as it will be called again.
9905
9906 2002-05-02  Juergen Vigna  <jug@sad.it>
9907
9908         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9909         a change in the maintext also if we're inside an inset.
9910         (Dispatch): set the cursor again after a break line and after the
9911         screen has been updated as it could be we're in a different row.
9912
9913         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9914         to set the cursor behind the pargraph with > size().
9915         (setCursor): check also for the same paragraph when checking where
9916         to put the cursor if we have a NFR inset.
9917
9918         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9919         parts of layout read further up as it still was in the wrong
9920         position.
9921
9922 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9923
9924         * screen.C (drawFromTo): change sine fullRebreak always return
9925         true.
9926
9927         * buffer.C (parseSingleLyXformat2Token): reindent some
9928
9929         * BufferView_pimpl.C (update): change since fullRebreak always
9930         return true.
9931         (Dispatch): git rid of the last hardcoded "Standard"s.
9932
9933 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9934
9935         * text2.[Ch] (fullRebreak): make it return void now that we always
9936         returned true.
9937
9938 2002-04-30  Juergen Vigna  <jug@sad.it>
9939
9940         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9941         ert compatibility check for "latex" layout.
9942
9943 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9944
9945         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9946         minipages: use col% instead of p%, and also use the current font.
9947         (makeLaTeXFile): Fix use babel condition.
9948         (parseSingleLyXformat2Token): Correct font when reading old floats.
9949
9950 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9951
9952         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9953         inserting list of floats.
9954
9955 2002-04-25  Herbert Voss  <voss@lyx.org>
9956
9957         * MenuBackend.C (expand): don't add the graphics extensions to the
9958         export menu
9959
9960 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9961
9962         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9963         non-existing layout, do not complain if it was the default layout
9964         of the original class (bug #342)
9965
9966 2002-04-24  Juergen Vigna  <jug@sad.it>
9967
9968         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9969         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9970
9971 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9972
9973         * buffer.C (getBibkeyList): If using \bibliography, return the
9974         option field with the reference itself. Enables us to provide natbib
9975         support when using \bibliography.
9976
9977 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9978
9979         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9980
9981         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9982         natbib is provided by the LaTeX class.
9983
9984 2002-04-23  Juergen Vigna  <jug@sad.it>
9985
9986         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9987         Wakeup functions.
9988
9989         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9990
9991 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9992
9993         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9994
9995         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9996         ensuremath around textordmasculine, textordfeminine and
9997         textdegree.
9998
9999 2002-04-19  Juergen Vigna  <jug@sad.it>
10000
10001         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10002         reinitializing the buffer otherwise row-dimensions may be wrong.
10003         (update): reset also the selection cursors if they do exits otherwise
10004         their x/y positions may be wrong.
10005
10006         * text2.C (cursorDown): don't enter the inset if we came from a row
10007         above and are one row over the inset.
10008
10009         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10010         really leaving an inset.
10011
10012 2002-04-18  Juergen Vigna  <jug@sad.it>
10013
10014         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10015         of the selected paragraph does not have the selected layout also if
10016         the last one had!
10017
10018         * text2.C (setLayout): fixed bug which did not change last selected
10019         paragraph.
10020
10021         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10022         changed the read and substituted \\end_float with \\end_inset!
10023
10024         * BufferView_pimpl.C (cursorPrevious):
10025         (cursorNext): fixed to make it work with rows heigher than the work
10026         area without moving the cursor only the draw of the row.
10027         (workAreaMotionNotify): fix jumping over high rows.
10028
10029 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10030
10031         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10032         Ressler.
10033
10034 2002-04-16  Juergen Vigna  <jug@sad.it>
10035
10036         * text2.C (setCursor): set also the irow().
10037         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10038         (cursorUp):
10039         (cursorDown): support for locking an inset if the x_fix value goes
10040         inside it. That way I can transverse insets too with cursor up/down.
10041
10042         * lyxrow.h: added irow helper function same as other (i) functions.
10043
10044         * BufferView_pimpl.C (cursorPrevious):
10045         (cursorNext): fixed for insets!
10046
10047 2002-04-15  Juergen Vigna  <jug@sad.it>
10048
10049         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10050         position otherwise it is wrong in some cases.
10051
10052         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10053         inside the inset before the call.
10054
10055 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10056
10057         * buffer.[Ch] (getBibkeyList): make it const.
10058
10059 2002-04-12  Juergen Vigna  <jug@sad.it>
10060
10061         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10062
10063         * text2.C (getCursorX): new helper function
10064         (setCursor): compute also ix_
10065         (setCursorFromCoordinates): set also ix.
10066
10067         * lyxcursor.h: added ix_ and helper functions.
10068
10069         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10070
10071         * buffer.C (insertStringAsLines): dont break paragraph if the this
10072         paragraph is inside an inset which does not permit it!
10073
10074         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10075         also with no chars on this paragraph.
10076         (paintRowText): only paint stuff if it's inside the workarea!
10077
10078         * paragraph.C (breakParagraph): honor keepempty flag and break the
10079         paragraph always below not above.
10080
10081         * BufferView2.C (unlockInset): update the paragraph layout on inset
10082         unlock as we changed paragraph in such a case.
10083
10084         * lyxfind.C (LyXFind): clear the former selection if not found!
10085
10086         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10087         again called in insertChar().
10088
10089         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10090         an inset which uses the whole row!
10091         (rightMargin): ditto.
10092         (insertChar): force a rebreak if we inserted an inset!
10093
10094 2002-03-28  Herbert Voss  <voss@lyx.org>
10095
10096         * lyxlength.[Ch]: add inBP() to get the right PS-point
10097         units (BigPoint). With inPixels we have rounding errors
10098
10099 2002-04-11  Juergen Vigna  <jug@sad.it>
10100
10101         * text2.C (setCursorFromCoordinates): set iy to the right value.
10102         (setCursor): add check if row->previous exists!
10103
10104         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10105         an old float_type as this was the case in the old code!
10106
10107         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10108
10109         * BufferView2.C (showLockedInsetCursor): use iy
10110         (fitLockedInsetCursor): ditto
10111
10112         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10113         locked insets as there we have the right value now.
10114
10115         * lyxcursor.C: added iy_ variable and iy functions to set to the
10116         baseline of cursor-y of the locked inset.
10117
10118         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10119         (setCursor): fixed for insets which need a full row.
10120
10121         * text.C (rowLastPrintable): don't ignore the last space when before
10122         an inset which needs a full row.
10123         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10124         as last character of a row when before a inset which needs a full row.
10125
10126 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10127
10128         * version.C.in: update date
10129
10130         * text2.C (fullRebreak): try to always return true and see what
10131         happens...
10132
10133 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10134
10135         * MenuBackend.C (expand): use Floating::listName
10136
10137         * FloatList.C (FloatList): add listName argument to the built-in
10138         floats
10139
10140         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10141         text associated with the float.
10142
10143 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10146
10147 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10148
10149         * ShareContainer.h: add a couple of missing typenames.
10150
10151 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10152
10153         * lyxrc.C (getDescription): use _() correctly rather than N_().
10154
10155 2002-03-28  Herbert Voss  <voss@lyx.org>
10156
10157         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10158         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10159
10160 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10163         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10164
10165 2002-03-29  Juergen Vigna  <jug@sad.it>
10166
10167         * lyxfunc.C (dispatch): add a missing fitCursor call.
10168
10169         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10170         it was scrolled by a cursor move, so return the bool status.
10171
10172         * BufferView.C (fitCursor): return the bool flag also to the outside
10173         world as this is needed.
10174
10175         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10176
10177         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10178         call the edit() as it is not needed (and wrong) IMO.
10179         (workAreaButtonPress): set the screen_first variable before evt.
10180         unlock the inset as this may change screen_first and then we have
10181         a wrong y position for the click!
10182
10183 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10184
10185         * MenuBackend.C (expand): another translation that I missed
10186
10187 2002-03-28  Juergen Vigna  <jug@sad.it>
10188
10189         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10190
10191         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10192
10193 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10194
10195         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10196
10197         * MenuBackend.C (expand): fix export/view/update when there is no
10198         document open.
10199
10200 2002-03-27  Herbert Voss  <voss@lyx.org>
10201
10202         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10203         and text%
10204
10205 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10206
10207         * bufferview_funcs.C (currentState): only show paragraph number
10208         for is DEVEL_VERSION is set.
10209
10210         * lyxfunc.C (dispatch): put warning in INFO channel
10211
10212         * MenuBackend.C (expand): translate the name of floats
10213
10214         * FloatList.C (FloatList): mark the float names for translation
10215
10216         * converter.C (convert): use LibScriptSearch
10217
10218 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10219
10220         * MenuBackend.C (defaults): fix default menu (we might as well get
10221         rid of it...)
10222
10223 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10224
10225         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10226         directory.
10227
10228 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10229
10230         * lyxvc.C: reorder includes.
10231
10232 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10233
10234         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10235           properly
10236
10237 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10238
10239         * CutAndPaste.C: change layouts earlier on paste
10240           to avoid crashing when calling getFont()
10241
10242 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10243
10244         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10245         irritating #error.
10246
10247 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * WorkArea.C: remove 'Pending' debug message.
10250
10251         * most files: ws cleanup
10252
10253         * buffer.[Ch]: ws changes
10254
10255         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10256
10257 2002-03-21  Juergen Vigna  <jug@sad.it>
10258
10259         * tabular.C (SetMultiColumn): collapse also the contents of the
10260         cells and set the last border right. Added a Buffer const * param.
10261
10262 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10265         linking or not.
10266
10267 2002-03-19  Juergen Vigna  <jug@sad.it>
10268
10269         * text2.C (clearSelection): reset also xsel_cache.
10270
10271         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10272         where it needs to be called (John tells us to do so too :)
10273         (selectionLost): reset sel_cache.
10274
10275         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10276
10277 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * text2.C (setCursorIntern): put debuging code in INSETS channel
10280
10281 2002-03-19  André Pönitz <poenitz@gmx.net>
10282
10283         * lyxfunc.C: tiny whitespace change
10284
10285 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10286
10287         * ToolbarDefaults.C (init):
10288         * LyXAction.C (init):
10289         * commandtags.h:
10290         * BufferView_pimpl.C (Dispatch):
10291         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10292
10293 2002-03-19  Allan Rae  <rae@lyx.org>
10294
10295         * exporter.C (Export): removeAutoInsets before doing anything else.
10296         While I've just introduced a dependency on BufferView this really is
10297         the best place to clean the buffer otherwise you need to cleanup in
10298         a dozen places before calling export or cleanup in a dozen functions
10299         that export calls.
10300
10301         * converter.C (runLaTeX):
10302         (scanLog): Better handling of removeAutoInsets and screen updates.
10303
10304         * lyxfunc.C (dispatch): small whitespace changes
10305
10306 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10307
10308         * WorkArea.C (C_WorkAreaEvent): return a value.
10309         (event_cb): return 1 if we handled the event, 0 otherwise.
10310
10311         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10312
10313 2002-03-18  Juergen Vigna  <jug@sad.it>
10314
10315         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10316         (GetAdditionalWidth): ditto.
10317         (RightLine): ditto.
10318         (LeftLine): ditto.
10319
10320         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10321         inset if we're there actually (probably not used right now but this
10322         is the direction to go for unifying code).
10323         (paste): disable code to clear the selection.
10324
10325         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10326         inside an InsetText and move the check further up as it is in the
10327         wrong place.
10328
10329         * text2.C (pasteSelection): set a selection over the pasted text.
10330
10331 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10332
10333         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10334         and libgraphics to build on Cygwin.
10335
10336 2002-03-15  Juergen Vigna  <jug@sad.it>
10337
10338         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10339         inserting an Inset into the paragraph. I know this is not the best
10340         fix but we already use current_view in CutAndPaste so we will remove
10341         all of it's using at the same time.
10342
10343         * buffer.C (sgmlError): deactivated function till it is rewritten in
10344         the right mode, now it can create problems.
10345
10346         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10347         before accessing it.
10348
10349 2002-03-14  Juergen Vigna  <jug@sad.it>
10350
10351         * undo_funcs.C (textHandleUndo): do the right thing when updating
10352         the inset after the undo/redo.
10353
10354         * text2.C (setCursor): just some testcode for #44 not ready yet.
10355
10356         * undo_funcs.C (textHandleUndo): set the next() and previous()
10357         pointers of the paragraph to 0 before deleting otherwise we have
10358         problems with the Paragraph::[destructor].
10359
10360         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10361         on a paragraph insertion.
10362
10363 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * buffer.C (asciiParagraph): use += operator for char append to
10366         string.
10367
10368         * paragraph.C (getFontSettings): compare >= not just >
10369         (highestFontInRange): ditto
10370         (setFont): ditto
10371
10372 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10373
10374         * paragraph.C: change several algorithm to be more appripriate for
10375         the problem domain. This is lookip in FontList and in the InsetList.
10376
10377 2002-03-13  André Pönitz <poenitz@gmx.net>
10378
10379         * commandtags.h:
10380         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10381
10382 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10383
10384         * commandtags.h:
10385         * LyXAction.C:
10386         * lyxfunc.C:
10387         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10388
10389 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10390
10391         * Painter.C (display): anon helper function, adjust code for this
10392         change.
10393         (pixmap): remove function.
10394
10395         * Painter.h: remove private display variable.
10396
10397         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10398
10399 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10400
10401         * WorkArea.[Ch]: remove figinset_canvas cruft.
10402
10403 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10404
10405         * lyxtextclass.C (operator): add one item cache optimization.
10406
10407         * bufferlist.h: doxy changes
10408
10409         * bufferlist.C: ws changes
10410
10411         * DepTable.[Ch] (ext_exist): place const in the right spot.
10412
10413         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10414         call resizeInsets.
10415         (workAreaExpose): call resizeInsets when the with BufferView changes.
10416         (Dispatch): adjust for protectedBlank removal
10417         (specialChar): call updateInset if the insert went ok.
10418
10419         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10420         specialChar instead.
10421
10422         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10423
10424         * BufferView.h: doxy change
10425
10426         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10427
10428         * lyxtextclass.C (operator[]): remove non-const version
10429         (defaultLayout): remove non-const version
10430
10431 2002-03-12  Juergen Vigna  <jug@sad.it>
10432
10433         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10434         did resize the LyXText too.
10435
10436         * buffer.C (readLyXformat2): set layout information on newly allocated
10437         paragraphs.
10438
10439         * tabular.C (OldFormatRead): set layout information on the paragraph.
10440
10441 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10442
10443         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10444
10445 2002-03-11  Juergen Vigna  <jug@sad.it>
10446
10447         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10448         plainly wrong.
10449         (resizeCurrentBuffer): force also the insets to resize themselfes.
10450         (moveCursorUpdate): fixed up for InsetText.
10451
10452 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * commandtags.h:
10455         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10456         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10457         value of Dialogs::tooltipsEnabled().
10458         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10459
10460 2002-03-08  Juergen Vigna  <jug@sad.it>
10461
10462         * BufferView_pimpl.C (updateInset): update inset inside inset also
10463         if it isn't inside theLockingInset().
10464
10465 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10466
10467         * buffer.C (asciiParagraph): redo some of the word and line length
10468         handling.
10469         (getLists): look for Caption instead of caption.
10470
10471 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10472
10473         * buffer.C (Buffer): initialize niceFile to true
10474         (makeLaTeXFile):
10475         (makeLinuxDocFile):
10476         (makeDocBookFile): make sure niceFile is true on exit
10477
10478 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10481
10482 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10483
10484         * LyXSendto.C: remove.
10485         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10486         * lyx_gui.C: remove now-redundant comment.
10487         * ColorHandler.h: remove forward declaration of class WorkArea.
10488         * lyxfunc.C: remove #include "WorkArea.h".
10489
10490 2002-03-07  Juergen Vigna  <jug@sad.it>
10491
10492         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10493         got moved away with the DEPM and also set the inset_owner always
10494         right which before could have been omitted.
10495
10496 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10497
10498         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10499         wanted layout is not found.
10500
10501 2002-03-07  Juergen Vigna  <jug@sad.it>
10502
10503         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10504
10505 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10506
10507         * paragraph.C (breakParagraph): use default layout not layout of
10508         prev paragraph.
10509         (Paragraph): clear ParagraphParameters.
10510
10511 2002-03-06  Juergen Vigna  <jug@sad.it>
10512
10513         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10514         otherwise it would not be a valid lenght. Fixed a special case in
10515         the minipage compatibility read where we end the document with a
10516         minipage.
10517
10518         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10519         was set as it could be 0 for InsetTexts first entry.
10520
10521 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * paragraph.C (writeFile): if layout is empty write out
10524         defaultLayoutName().
10525
10526         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10527         file without named layout we set layout to defaultLayoutName().
10528
10529 2002-03-06  Juergen Vigna  <jug@sad.it>
10530
10531         * CutAndPaste.C (copySelection): set layout for new paragraph.
10532
10533         * text.C (prepareToPrint): leave ERT inset left aligned
10534         (leftMargin): don't indent paragraphs inside ERT insets
10535
10536 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10537
10538         * paragraph.C (breakParagraph): dont call clear do the work manually
10539
10540         * paragraph.[Ch] (clear): remove function
10541
10542 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10543
10544         * paragraph.C (Paragraph): dont call clear, the work has already
10545         been done.
10546
10547         * lyxtextclass.C (operator): assert if n is empty
10548
10549         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10550         work manually instead.
10551
10552 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * BufferView_pimpl.C: protect selectionLost against text == 0
10555
10556 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10557
10558         * text.C (breakParagraph): fix a setting layout to '0' problem.
10559
10560 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10561
10562         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10563         final location of file, for the included files, and graphics.
10564
10565 2002-03-05  Juergen Vigna  <jug@sad.it>
10566
10567         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10568
10569 2002-03-04  Juergen Vigna  <jug@sad.it>
10570
10571         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10572
10573         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10574         last column of multicolumn cells.
10575         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10576
10577 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10578
10579         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10580         file if it doesn't go to a temporary file.
10581
10582         * buffer.C (sgmlOpenTag):
10583         (sgmlCloseTag):  remove extra newline insertion.
10584
10585 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10586
10587         * text.C (getRowNearY): comment out debug msg
10588
10589 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10590
10591         * text2.C: first -> first_y
10592
10593         * text.C (getRowNearY): add some attemts at a possible
10594         optimization, not working.
10595
10596         * tabular.[Ch]: add BufferParams to several function so that newly
10597         created paragraph can be initialized to he default layotu for the
10598         buffers textclass.
10599
10600         * tabular-old.C (ReadOld): add buf->params to call of Init
10601
10602         * screen.C: rename text->first to text->first_y
10603
10604         * paragraph.C (breakParagraph): always set layout in the broken
10605         paragraph
10606
10607         * lyxtextclass.C (Read): remove lowercase
10608         (hasLayout): ditto
10609         (operator): ditto
10610         (delete_layout): ditto
10611
10612         * lyxtext.h: rename first -> first_y
10613
10614         * lyxlayout.C (Read): remove lowercase
10615         (name): ditto
10616         (setName): ditto
10617         (obsoleted_by): ditto
10618
10619         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10620
10621         * buffer.C (insertErtContents): add params are to InsetERT
10622         (parseSingleLyXformat2Token): add code to check if a paragraphs
10623         layout really exist.
10624         (parseSingleLyXformat2Token): add params to several inset
10625         constructors
10626         (asciiParagraph): remove lowercase, do the layout comparisons with
10627         no_case
10628
10629         * BufferView_pimpl.C (cursorNext): first -> first_y
10630         (resizeCurrentBuffer): first -> first_y
10631         (updateScrollbar): first -> first_y
10632         (scrollCB): first -> first_y
10633         (workAreaMotionNotify): first -> first_y
10634         (workAreaButtonPress): first -> first_y
10635         (checkInsetHit): first -> first_y
10636         (cursorPrevious): first -> first_y
10637         (cursorNext): first -> first_y
10638         (Dispatch): add buffer_->params to severl inset contructors
10639
10640 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10641
10642         * lyxlayout.C (Read): remove some debug info that I forgot.
10643
10644         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10645         clean up the code slightly.
10646         (makeLinuxDocFile): ditto
10647         (makeDocBookFile): ditto
10648
10649         * text2.C: layout as string
10650
10651         * text.C: layout as string
10652
10653         * paragraph_pimpl.C: layout as string
10654
10655         * paragraph.[Ch]: layout as string
10656
10657         * lyxtextclasslist.[Ch]: layout as string
10658
10659         * lyxtextclass.[Ch]: layout as string
10660
10661         * lyxtext.h: layout as string
10662
10663         * lyxlayout.[Ch]: layout as string
10664
10665         * lyx_cb.C: layout as string
10666
10667         * bufferview_funcs.C: layout as string
10668
10669         * bufferparams.C: layout as string
10670
10671         * buffer.C: layout as string
10672
10673         * LyXView.[Ch]: layout as string
10674
10675         * LaTeXFeatures.[Ch]: layout as string
10676
10677         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10678
10679         * BufferView_pimpl.C: change current_layout to string, remove
10680         lyx::layout_type.
10681         (Dispatch):
10682         (smartQuote):
10683         (insertInset):
10684         (workAreaButtonRelease): layout as string
10685
10686         * BufferView2.C (unlockInset): adjust
10687
10688         * vspace.C (asLatexCommand): use an explict temp variable.
10689
10690 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * Makefile.am: use FRONTEND_*
10693
10694 2002-03-01  Juergen Vigna  <jug@sad.it>
10695
10696         * tabular.C (SetWidthOfMulticolCell): changed to something better
10697         I hope but still work in progress.
10698         (recalculateMulticolumnsOfColumn): renamed function from
10699         recalculateMulticolCells as it is more appropriate now.
10700         (SetWidthOfCell): calculate multicols better.
10701
10702 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10705
10706         * lyxfunc.C (processKeySym): print sequence also if it is
10707         `deleted' (complete)
10708
10709         * kbsequence.C (print): print sequence even if it is deleted
10710         (complete would be a better word, actually).
10711
10712         * lyxfunc.C (dispatch): print complete options after a prefix key
10713
10714         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10715
10716 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10717
10718         * text2.C (setCharFont): eliminate setCharFont code duplication.
10719
10720 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10721
10722         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10723         LFUN_TABULAR_FEATURE (bug #177)
10724
10725 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10726
10727         * Makefile.am: remove figure.h
10728
10729 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10730
10731         * Bufferview_pimpl.C:
10732         * CutAndPasteC:
10733         * LaTeX.C:
10734         * LyXSendto.C:
10735         * buffer.C:
10736         * bufferlist.C:
10737         * converter.C:
10738         * language.C:
10739         * lyxfunc.C:
10740         * lyxvc.C:
10741         * paragraph.C:
10742         * text.C:
10743         * text2.C: remove #include "lyx_gui_misc.h".
10744
10745         * LaTeX.C: added #include <cstdio>
10746
10747 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10748
10749         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10750         that the paragraph following this one can have.
10751
10752         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10753
10754         * vspace.C (asLatexCommand): fix bogus gcc warning
10755
10756         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10757
10758 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10759
10760         * text2.C (setLayout): get rid of redundant code
10761
10762 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10763
10764         * text2.C (incDepth): make sure depth cannot be increased beyond
10765         reasonable values.
10766
10767 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10768
10769         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10770         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10771
10772         * PainterBase.h (image):
10773         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10774         a LyXImage const *.
10775
10776 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * BufferView.C:
10779         * BufferView.h:
10780         * BufferView_pimpl.C:
10781         * BufferView_pimpl.h:
10782         * LaTeXFeatures.C:
10783         * LyXAction.C:
10784         * LyXView.C:
10785         * Makefile.am:
10786         * UpdateList.h:
10787         * UpdateList.C:
10788         * buffer.C:
10789         * figure.h:
10790         * figureForm.C:
10791         * figureForm.h:
10792         * figure_form.C:
10793         * figure_form.h:
10794         * lyx_cb.C:
10795         * lyx_gui.C:
10796         * lyx_gui_misc.C:
10797         * lyxfunc.C:
10798         * sp_base.h:
10799         * sp_ispell.h:
10800         * sp_pspell.h:
10801         * sp_spell.C: remove fig inset, and the crap house of
10802           cards that follows it
10803
10804 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10805
10806         * Makefile.am:
10807         * lyxserver.C:
10808         * os2_defines.h:
10809         * os2_errortable.h:
10810         * nt_defines.h: move .h into support/
10811
10812         * vms_defines.h: remove
10813
10814         * WorkArea.C: add space in debug output
10815
10816         * text2.C:
10817         * paragraph.C:
10818         * buffer.C: add WITH_WARNINGS
10819
10820         * vc-backend.h:
10821         * vc-backend.C:
10822         * bufferlist.C: s/retrive/retrieve/, add docs
10823
10824         * vspace.h:
10825         * vspace.C:
10826         * kbmap.h:
10827         * lyxlength.h:
10828         * lyxgluelength.h:
10829         * length_common.h:
10830         * chset.h:
10831         * chset.C: add docs
10832
10833         * lyxgui.C: add ID to X error handler
10834
10835         * lyxtestclass.c: fix typo
10836
10837 2002-02-26  Juergen Vigna  <jug@sad.it>
10838
10839         * tabular_funcs.C (write_attribute): changed so that some default
10840         attributes are not written at all.
10841         (getTokenValue): set default values before trying to read the
10842         value so we have the return value always set as default if we don't
10843         find the token we search for.
10844
10845         * tabular.C (Write): write bools as bools not as strings!
10846
10847 2002-02-22  Juergen Vigna  <jug@sad.it>
10848
10849         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10850         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10851
10852         * text.C (leftMargin): don't add an indent for paragraphs inside
10853         tabular cells (fix #208).
10854
10855 2002-02-21  José Matos  <jamatos@fep.up.pt>
10856
10857         * tabular.C (docBook): fixed support for long tables.
10858
10859 2002-02-20  Juergen Vigna  <jug@sad.it>
10860
10861         * text2.C (getFont): get the drawing font of the Inset if this
10862         paragraph is inside an inset (only important for InsetERT for now).
10863
10864         * buffer.C (insertErtContents): use new lanugage params in ERT
10865         constructor.
10866
10867         * CutAndPaste.C: commenting out seemingly uneeded code.
10868
10869 2002-02-19  Allan Rae  <rae@lyx.org>
10870
10871         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10872         Iterators might be simple to use but they also get invalidated.
10873         (removeAutoInsets): renamed saved cursor tracking variables and added
10874         some comments to clarify what everything does.
10875
10876 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10877
10878         * Chktex.C:
10879         * LaTeX.C:
10880         * LyXSendto.C:
10881         * converter.C:
10882         * lyx_cb.C:
10883         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10884         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10885
10886         * lyxfunc.C:
10887         * vc-backend.h: remove #include "support/syscall.h"
10888
10889         * LaTeX.C:
10890         * LyXSendto.C:
10891         * converter.C: rearrange #includes in Lars' approved fashion.
10892
10893         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10894         forward declare class Timeout in the header file.
10895
10896         * XFormsView.C: changes due to the above.
10897
10898         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10899         similar to LyXView.
10900
10901         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10902         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10903
10904 2002-02-18  José Matos  <jamatos@fep.up.pt>
10905
10906         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10907         insets contents.
10908
10909 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10910
10911         * a lot of small ws changes
10912         * add a lot of using std::XXX
10913         * use std construcs some places where approp.
10914         * use some exisint stuff from lyxfunctional where approp.
10915         * Make file changes to use partial linking (lets test this now...)
10916
10917 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10918
10919         * Chktex.C:
10920         * buffer.C:
10921         remove #include "support/syscontr.h" as it's redundant. Always has been.
10922
10923         * Chktex.C:
10924         * LaTeX.C:
10925         * LyXSendto.C:
10926         * converter.C:
10927         * lyx_cb.C:
10928         * vc-backend.C:
10929         change Systemcalls::System to Systemcalls::Wait and
10930         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10931         No change of functionality, just reflects the stripped down Systemcalls
10932         class.
10933
10934 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10935
10936         * debug.[Ch]: add a GRAPHICS type to the enum.
10937
10938 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10939
10940         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10941
10942         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10943         there is an inset.
10944
10945 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10946
10947         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10948         match the changes below.
10949
10950         * text2.C (toggleInset): if there is not editable inset at cursor
10951         position, try to see if cursor is _inside_ a collapsable inset
10952         and close it.
10953
10954 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10955
10956         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10957         document menu has a nice checkbox
10958
10959 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10960
10961         * lyxlength.C (asLatexString): change PW to output as percent of
10962         \textwidth.
10963
10964         * lengthcommon.C: change '%' to 't%'
10965
10966         * lyxfunc.C (dispatch): a few comments from Martin
10967
10968 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10969
10970         * WorkArea.h:
10971         * WorkArea.C:
10972         * BufferView_pimpl.h:
10973         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10974           the X selection.
10975
10976 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10977
10978         * vspace.C (inPixels): fix compiler warning
10979
10980 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10981
10982         * lyxfunc.C (getStatus): fix status message for disabled commands.
10983
10984 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * BufferView_pimpl.C: fix crash on close buffer
10987         during selection (#227)
10988
10989 2002-01-27  Herbert Voss  <voss@lyx.org>
10990
10991         * buffer.C: link old Figure to new graphic inset
10992
10993 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10994
10995         * FontLoader.C (getFontinfo): Change the latex font names in order
10996         to match the names of type1inst.
10997
10998 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10999
11000         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11001
11002         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11003         (extchanged): ditto
11004         (ext_exist): ditto
11005         (remove_files_with_extension): ditto
11006         (remove_file): ditto
11007         (write): ditto
11008
11009         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11010         document is smaller than the work area height. Do not initialize
11011         static variables to 0.
11012
11013 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11016
11017         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11018         LFUN_LAYOUT_PARAGRAPHS.
11019
11020         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11021         tabular. It is possible to provide a possible cell, which will
11022         typically be the actcell from the corresponding insettabular
11023
11024         * lyxfunc.C (getStatus): small cleanup; disable
11025         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11026         true
11027
11028 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11031
11032         * paragraph.C (startTeXParParams):
11033         (endTeXParParams): new methods. The LaTeX code to
11034         start/end paragraph formatting
11035         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11036         empty (fixes bug #200)
11037
11038         * vspace.C (inPixels): adapt to the change below
11039         (inPixels): [later] more cleanups (remove unused variables)
11040
11041         * lyxlength.C (inPixels): change to use a width and a height as
11042         parameter.
11043
11044 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11045
11046         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11047         Replaced with \paperwidth
11048
11049         * DepTable.C (insert): add std:: qualifier
11050
11051 2002-01-18  Allan Rae  <rae@lyx.org>
11052
11053         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11054         updated also?
11055
11056         * text.C (drawInset): Turned out I didn't know enough about how
11057         rebreaking worked.  This fixes most of the redraw problems.  I see
11058         an occasional cursor trail when a line is broken now and the cursor
11059         placement can seem out by a few pixels also after a rebreak.
11060
11061 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11062
11063         * buffer.C (parseSingleLyXformat2Token): update because minipage
11064         width is now a LyXLength
11065
11066         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11067
11068         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11069         math insets
11070
11071 2002-01-17  Juergen Vigna  <jug@sad.it>
11072
11073         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11074
11075         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11076         is set correctly and the inset is updated correctly.
11077
11078 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11079
11080         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11081         the beginning of the loop.
11082
11083 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * lyxrc.C: improve help for use_scalable_fonts
11086
11087 2002-01-17  Allan Rae  <rae@lyx.org>
11088
11089         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11090
11091 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11094         make sure to set their inset_owner to the right value (bug #171)
11095
11096 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11097
11098         * DepTable.h
11099         * DepTable.C: Implement mtime checking to reduce time spent doing
11100         CRCs.
11101
11102 2002-01-16  Juergen Vigna  <jug@sad.it>
11103
11104         * tabular.C (GetAdditionalHeight): one of error fixed.
11105
11106         * lyxrc.C (output): small fix in writing use_pspell.
11107
11108 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11109
11110         * sp_base.h: #include LString.h
11111
11112 2002-01-16  Allan Rae  <rae@lyx.org>
11113
11114         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11115         Can someone check this please?
11116
11117         * text.C (drawInset): It was possible that p.row would be removed by
11118         breakAgainOneRow upsetting a few other settings.  There may be another
11119         small tweak possible by setting need_break_row = 0 when p.row has been
11120         removed but I don't know enough about the logic here.
11121
11122 2002-01-15  Allan Rae  <rae@lyx.org>
11123
11124         * text.C (insertChar): removed conditional truism.
11125
11126         * BufferView2.C (removeAutoInsets): More tweaks.
11127         cur_par_prev could be a stray pointer.  Check for trailing empty line
11128         in case last line was cur_par and only had an error inset on it.
11129
11130 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11133         absolute
11134
11135         * vc-backend.C (most methods):
11136         * exporter.C (Export):
11137         * converter.C (convert):
11138         (runLaTeX):
11139         * LyXSendto.C (SendtoApplyCB):
11140         * lyxfunc.C (dispatch):
11141         (menuNew):
11142         (open):
11143         (doImport):
11144         * lyx_cb.C (AutoSave):
11145         (InsertAsciiFile):
11146         * BufferView_pimpl.C (MenuInsertLyXFile):
11147         * buffer.C (runChktex): use Buffer::filePath().
11148
11149         * buffer.h: rename filename to filename_; rename filepath to
11150         filepath_ and make it private
11151         (filePath): new method
11152
11153         * buffer.C (writeFile): use fileName()
11154         (getLatexName):
11155
11156         * lyx_main.C (init): fix starting  of LyX when the binary is a
11157         link from so,ewhere else.
11158
11159         * minibuffer.C: include <cctype> for isprint
11160
11161 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11162
11163         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11164         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11165         name clash with InsetCollapsable's width function.
11166
11167 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11168
11169         * lastfiles.C: include <iterator>
11170
11171 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11172
11173         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11174         std::count.
11175
11176         * buffer.C (makeLaTeXFile): ditto.
11177         Also make loop operation more transparent.
11178
11179 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11180
11181         * ToolbarDefaults.C: remove trailing comma closing namespace.
11182
11183         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11184
11185         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11186         as in WorkArea.
11187
11188         * trans.C (Load): comment out unused variable, allowed.
11189
11190 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * minibuffer.[Ch] (append_char): new method to recieve input from the
11193         drop-down completion browser. If a key was pressed, then recieve this
11194         char and append it to the existing string.
11195         (peek_event): modify the positioning data passed to the completion
11196         browser so that it can be placed above the minibuffer rather than below.
11197 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * LyXAction.C (init): alloe error-next for readonly documents.
11200
11201         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11202         count.
11203
11204 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11205
11206         * bufferlist.C (readFile): create the buffer _after_ checking that
11207         the file exists.
11208
11209         * lyxfunc.C (verboseDispatch): fix handling of arguments
11210
11211         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11212
11213         * lyxrc.C: use string::erase() instead of initializing to "".
11214
11215
11216 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11217
11218         * BufferView_pimpl.h:
11219         * BufferView_pimpl.C:
11220         * WorkArea.h:
11221         * WorkArea.C:
11222         * text2.C: tell X when we have made a selection for copying
11223
11224 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11225
11226         * BufferView_pimpl.C (MenuInsertLyXFile):
11227         * lyxfunc.C (menuNew):
11228         (open):
11229         (doImport): add shortcuts to directory buttons
11230
11231         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11232         open a float)
11233
11234         * lyxfunc.C (setStatusMessage):
11235         (getStatusMessage): new methods
11236         (getStatus):use setStatusMessage instead of setErrorMessage
11237         (dispatch): when function is disabled, set error message here
11238         [instead of in getStatus previously]
11239
11240         * BufferView_pimpl.C (workAreaButtonRelease): update
11241         toolbar/menubar here too.
11242
11243 2002-01-13  Allan Rae  <rae@lyx.org>
11244
11245         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11246         Now seems indestructible.  Remaining task is to audit all other
11247         code affected by deleteEmptyParagraphMechanism.  One small quirk
11248         left is that an empty document with an error in the preamble can
11249         be made to report an error but no error box appears.  I don't know
11250         where it goes.
11251         (removeAutoInsets): Improved comments.
11252
11253 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * Thesaurus.h:
11256         * Thesaurus.C: update for Aiksaurus 0.14
11257
11258 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11259
11260         * text2.C (firstParagraph): removed member function, all uses
11261         replaces with ownerParagraph
11262         (redoParagraphs): here
11263         (updateInset): here
11264         (toggleAppendix): here
11265         * BufferView2.C (insertErrors): here
11266         (setCursorFromRow): here
11267
11268 2002-01-13  Allan Rae  <rae@lyx.org>
11269
11270         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11271         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11272         There is still a way to segfault this although you may have to do this
11273         multiple times: Have an InsetERT with an unknown command in it.
11274         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11275         <down-arrow>, <Enter> again, View->DVI, BANG!
11276
11277         * text2.C (setCursor):
11278         (deleteEmptyParagraphMechanism):
11279         * lyxtext.h (setCursor):
11280         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11281         Making use of the return value may help fix other bugs.
11282
11283 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11284
11285         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11286
11287         * LyXView.C (updateMenubar): call MenuBar::update here
11288         (updateToolbar): but not here
11289         (showState): do not update toolbar/menubar
11290
11291         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11292         should need to care about that.
11293
11294         * lyxfunc.C (verboseDispatch): simplify a bit
11295         (getStatus): have a version which takes a pseudoaction, and
11296         another which requires a (kb_action,string).
11297
11298         * LyXAction.C (retrieveActionArg): make it work also when action
11299         is not a pseudo-action.
11300         (getActionName): simplify a bit
11301         (helpText):
11302
11303 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * lyxfunc.C (verboseDispatch): new families of methods with
11306         several ways to specify a command and a bool to indicate whether
11307         the command name and shortcut should be displayed in minibuffer
11308         (eventually, we could extend that to a finer bitmask like
11309         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11310         (dispatch): the pristine dispatch command which just, well,
11311         dispatchs! Note it still sets its result to minibuffer; I'm not
11312         sure we want that.
11313
11314         * lyxfunc.h: remove setHintMessage
11315
11316         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11317
11318 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11319
11320         * BufferView_pimpl.C (specialChar): delete new inset if we have
11321         not been able to insert it.
11322
11323         * kbmap.C: revert to using int instead of kb_action, since all we
11324         are dealing with is pseudo-actions.
11325
11326         * LyXAction.C (searchActionArg): change to return int instead of
11327         kb_action, since the result is a pseudoaction.
11328
11329 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11330
11331         * buffer.C (insertErtContents): Fix (partially) the font bug.
11332
11333 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11334
11335         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11336         as the other one is broken on my machine!
11337
11338 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11339
11340         * commandtags.h:
11341         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11342
11343 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11344
11345         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11346         reflect their actual use. Provide compatibility code for older lyxrc
11347         files.
11348
11349         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11350         FL_NORMAL_STYLE.
11351         change names of popup font variables in line with the changes to lyxrc.C
11352
11353 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11354
11355         * buffer.C (asciiParagraph): avoid outputing a word twice after
11356         an inset.
11357
11358         * lyxrc.C (getDescription): document that document_path and
11359         template_path can be empty.
11360
11361 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * LaTeXFeatures.C (getMacros):
11364         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11365
11366         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11367
11368         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11369         getPackages.
11370         (getPackages): rename feature "floats" to "float". Use an array to
11371         iterate over 'simple' features (i.e. just a \usepackage). Add
11372         handling of "amsmath" (renamed from "amsstyle").
11373
11374 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11375
11376         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11377         features list.
11378
11379 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11380
11381         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11382         FuncStaus::FuncStatus & FuncStaus::some_method().
11383
11384 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11385
11386         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11387         of the func_satus stuff. Edited and massaged in various ways by
11388         JMarc.
11389
11390         * lyxfunc.C (getStatus): use FuncStatus
11391
11392 2002-01-08  Juergen Vigna  <jug@sad.it>
11393
11394         * text.C (nextBreakPoint): use function Inset::isChar().
11395
11396         * paragraph.C (TeXOnePar): use function
11397         Inset::forceDefaultParagraphs.
11398
11399         * buffer.C (latexParagraphs): use function
11400         Inset::forceDefaultParagraphs.
11401
11402 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11403
11404         * lyx_gui.C (init): set the style of the menu popups to
11405         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11406
11407 2002-01-07  Juergen Vigna  <jug@sad.it>
11408
11409         * text.C (setHeightOfRow): small fix
11410         (prepareToPrint): don't look at alignment if we don't have the place
11411         for doing it.
11412
11413 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11414
11415         * box.C: New file. Move the Box methods and functions out of box.h,
11416         following Lars' suggestion.
11417
11418 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11419
11420         * box.h: #include "support/LOstream.h", needed for inlined function.
11421
11422         * lyxtextclass.C:
11423         * lyxtextclasslist.C: added some using std declarations.
11424
11425 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * box.h: make signed dimensions to allow insets wider than
11428           the screen (bug #162)
11429
11430         * BufferView_pimpl.C: add some insetHit debug
11431
11432 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * vc-backend.C: add FIXME
11435
11436 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11437
11438         * lyxfunc.C (getStatus): enable code for showing math font status
11439         in toolbar/menu.
11440
11441 2002-01-07  Juergen Vigna  <jug@sad.it>
11442
11443         * text.C (nextBreakPoint): removed debug output not needed anymore.
11444
11445 2002-01-06  Juergen Vigna  <jug@sad.it>
11446
11447         * text.C (nextBreakPoint): fixed up this function we had this bug
11448         since ever but now hopefully we break row better.
11449         (insertChar): we have to check if an inset is the next char as it
11450         could now happen that a large inset is causing a break.
11451
11452 2002-01-05  Juergen Vigna  <jug@sad.it>
11453
11454         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11455         if it doesn't like to be drawed.
11456
11457 2002-01-04  Juergen Vigna  <jug@sad.it>
11458
11459         * BufferView2.C (lockInset): forgot to set a cursor.
11460
11461         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11462
11463 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11464
11465         * FormMathsPanel.C:
11466         * FormMathsPanel.h
11467         * MathsSymbols.C:
11468         * form_maths_panel.C:
11469         * form_maths_panel.h:
11470         * form_maths_panel.fd: implemented sub- and super- buttons in math
11471         panel.
11472
11473         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11474         (or ^ space) to be used as in TeX (req'd by André).
11475
11476         * lyxfunc.C: Allow ^ and _ again to be used both as
11477         super/subscript (mathed) and as themselves (in text).
11478
11479 2002-01-03  Allan Rae  <rae@lyx.org>
11480
11481         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11482         "LyX" or the filename of the current buffer if it has one.  This is a
11483         modified form of John Levon's patch.
11484
11485         * XFormsView.C (setWindowTitle): also set icon title.
11486
11487         * LyXView.h (setWindowTitle): signature changed.
11488         * XFormsView.h (setWindowTitle): ditto.
11489
11490 2002-01-02  Juergen Vigna  <jug@sad.it>
11491
11492         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11493
11494 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * screen.C (topCursorVisible): introduce a temp var for
11497         text->cursor.row(), handle the case where this row is null. (kindo
11498         hachish)
11499
11500         * text2.C (setCursor): add a couple of asserts.
11501
11502         * paragraph.h (inset_iterator): add -> operator
11503
11504         * paragraph.[Ch] (autoDeleteInsets): remove member function
11505
11506         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11507         cursor pos correctly and handle inset deletion by itself.
11508         (insertErrors): move iterator declaration out of for expression
11509
11510         * lyxtextclass.C: add <algorithm>
11511
11512         * Makefile.am: added the new files to sources, removed layout.C
11513
11514         * layout.C: removed file
11515
11516         * layout.h: remove LYX_DUMMY_LAYOUT
11517
11518         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11519         layout.
11520
11521         * lyxlayout.[Ch]:
11522         * lyxtextclass.[Ch]:
11523         * lyxtextclasslist.[Ch]: new files
11524
11525         * include order changes to a lot of files, also changes because of
11526         the six new files.
11527
11528 2001-12-27  Juergen Vigna  <jug@sad.it>
11529
11530         * buffer.C (asciiParagraph): more fixes.
11531
11532         * tabular.C (ascii): make ascii export support export of only the
11533         data separated by a column-delimiter.
11534         (ascii): better support for ascii export.
11535
11536         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11537
11538 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11539
11540         * tabular_funcs.C: use a "using std::getline" instead of the
11541         previous fix from Angus (necessary for cxx + lyxstring)
11542
11543 2001-12-24  Juergen Vigna  <jug@sad.it>
11544
11545         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11546
11547         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11548         problems. First check a minipage also if we have some ert-contents
11549         (not only on par->size(), second set the right depth of the paragraph
11550         on the relink to the root-paragraph-list!
11551
11552         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11553         which then did not anymore update the main paragraphs on undo/redo!
11554
11555 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11558         code. Support all font-changing funcs (even those which are not in
11559         menu currently). Support for reporting font settings in
11560         mathed (disabled until Andre provides a function on mathed's side).
11561
11562         * func_status.h (toggle): small helper function to set toggle
11563         state on a flag.
11564
11565 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11566
11567         * tabular_funcs.C: getline -> std::getline
11568
11569 2001-12-21  Juergen Vigna  <jug@sad.it>
11570
11571         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11572         accessed and could be 0 (I couldn't generate this but it seems
11573         Michael could!).
11574
11575 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11578         * tabular_funcs.h: here and include iosfwd
11579
11580 2001-12-20  Juergen Vigna  <jug@sad.it>
11581
11582         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11583         inside inset but undo_par was.
11584
11585 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11586
11587         * Thesaurus.C: always include <config.h> in sources.
11588
11589         * Painter.h:
11590         * lyxlookup.h:
11591         * box.h: do not include <config.h> in header files
11592
11593         * text.C (paintLastRow): remove unused variable
11594
11595         * text.C (transformChar):
11596         (insertChar):
11597         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11598
11599         * Painter.C (text):
11600         * font.C (width): rewrite to use uppercase() instead of
11601         islower/toupper.
11602
11603         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11604
11605 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * lyxfind.C: clean up of find failure position change
11608
11609 2001-12-20  Juergen Vigna  <jug@sad.it>
11610
11611         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11612
11613         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11614         (TeXRow): added to LaTeX a single tabular row.
11615         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11616         (Latex): simplified and finally good LT-h/f support.
11617         (various_functions): just small adaptions for LT-h/f support.
11618
11619         * tabular_funcs.[hC]: added and moved here all not classfunctions
11620         of LyXTabular.
11621
11622 2001-12-19  Juergen Vigna  <jug@sad.it>
11623
11624         * tabular.[Ch]: better support for longtabular options (not finished
11625         yet!)
11626
11627 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11628
11629         * text.C (paintLastRow): use the label font instead of the font of
11630         the last character to compute the size of *_BOX. This makes more
11631         sense and avoids a crash with empty paragraphs.
11632         Use Painter::rectangle to draw EMPTY_BOX.
11633
11634 2001-12-19  Juergen Vigna  <jug@sad.it>
11635
11636         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11637         the paragraphs if the replaced paragraph is not the first one!
11638         Tried to delete not used paragraphs but does not work yet so for
11639         now it's inside #ifdef's and by default off!
11640
11641 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11642
11643         * MenuBackend.C: include "lyx_main.h" instead of declaring
11644         lastfiles (actually was declared as LastFiles* instead of a
11645         scoped_ptr).
11646
11647 2001-12-17  Juergen Vigna  <jug@sad.it>
11648
11649         * tabular.C (AppendColumn): applied John's fix
11650
11651 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * BufferView.h:
11654         * BufferView.C:
11655         * BufferView_pimpl.h:
11656         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11657
11658         * Makefile.am:
11659         * box.h: new start of class for above
11660
11661         * lyxfunc.C: ignore space-only minibuffer dispatches.
11662           Show the command name when it doesn't exist
11663
11664         * minibuffer.C: don't add empty lines to the history
11665
11666         * minibuffer.C: add a space on dropdown completion
11667
11668 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * text.C: fix line above/below drawing in insets
11671
11672 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11673
11674         * lyxlength.C (LyXLength): Initialize private variables.
11675
11676 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11677
11678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11679         when inserting error insets.
11680
11681 2001-12-13  Juergen Vigna  <jug@sad.it>
11682
11683         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11684         actually sometimes the before-paragraph.
11685         (setUndo): don't clear the redostack if we're not actually undoing!
11686
11687 2001-12-06  Juergen Vigna  <jug@sad.it>
11688
11689         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11690         and fixed redoing of main paragraph, so we can use it now ;)
11691
11692         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11693
11694 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11695
11696         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11697         Juergen's request
11698
11699 2001-12-13  André Pönitz <poenitz@gmx.net>
11700
11701         * undostack.[Ch]:
11702         * undo_func.C: minor cleanup
11703
11704 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11707         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11708         font in urw-fonts package which is marked as -urw-fontspecific and
11709         does not work (incidentally, changing the encoding in the
11710         fonts.dir of this package to -adobe-fontspecific fixes the
11711         problem).
11712
11713         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11714         is a crash when undoing first paragraph (Juergen, please take a
11715         look). THis does not mean the undo fix is wrong, just that it
11716         uncovers problems.
11717
11718         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11719         the (Paragraph*) version when needed instead of duplicating the
11720         code.
11721
11722         * text.C (workWidth): use Inset::parOwner to find out where the
11723         inset has been inserted. This is a huge performance gain for large
11724         documents with lots of insets. If Inset::parOwner is not set, fall
11725         back on the brute force method
11726
11727         * paragraph_pimpl.C (insertInset):
11728         * paragraph.C (Paragraph):
11729         (cutIntoMinibuffer): set parOwner of insets when
11730         inserting/removing them
11731
11732         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11733
11734 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11735
11736         * commandtags.h:
11737         * LyXAction.C:
11738         * lyx_main.C:
11739         * lyxfunc.C:
11740         * mathed/formulabase.C:
11741         * mathed/math_cursor.[Ch]:
11742         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11743
11744
11745 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * lyxlength.[Ch] (operator!=): new function
11748
11749 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11750
11751         * text.C (workWidth): use Inset::parOwner to find out where the
11752         inset has been inserted. This is a huge performance gain for large
11753         documents with lots of insets. If Inset::parOwner is not set, fall
11754         back on the brute force method
11755
11756         * paragraph_pimpl.C (insertInset):
11757         * paragraph.C (Paragraph):
11758         (cutIntoMinibuffer): set parOwner of insets when
11759         inserting/removing them
11760
11761         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11762
11763 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11764
11765         * tabular-old.C (getTokenValue):
11766         * tabular.C (getTokenValue):
11767         (write_attribute): new versions for LyXLength
11768         (everywhere): adjust the use of widths
11769
11770         * tabular.h: change the type of widths from string to LyXLength
11771
11772 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11773
11774         * paragraph.C: fixed missing line number count when exporting
11775         Environments to LaTeX file
11776
11777         * buffer.C: added informational message for checking line numbers.
11778
11779 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11780
11781         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11782         paragraph, do the 'double space' part, but not the 'empty
11783         paragraph' one.
11784
11785         * text.C (workWidth): small optimization
11786         (getLengthMarkerHeight): use minimal size for negative lengths.
11787
11788 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11789
11790         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11791
11792         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11793
11794 2001-12-11  André Pönitz <poenitz@gmx.net>
11795
11796         * FontLoader.C:
11797         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11798
11799 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * text2.C: keep selection on a setFont()
11802
11803 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * lyx_cb.C: another bv->text misuse, from insert label
11806
11807 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11808
11809         * kbsequence.h:
11810         * kbsequence.C: re-instate nmodifier mask
11811
11812 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11813
11814         * lyx_main.h: make lyxGUI private.
11815
11816 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * lyxfind.C: place the cursor correctly on failed search
11819
11820 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11821
11822         * text.C (getLengthMarkerHeight): for small heights, the arrows
11823         are not always on top/bottom of the text
11824         (drawLengthMarker): smaller arrows; take the left margin in
11825         account; draw also vfills.
11826         (paintFirstRow):
11827         (paintLastRow): remove special code for vfill and standard spaces,
11828         since everything is handled in drawLengthMarker now.
11829
11830 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * buffer.C (insertErtContents): try to handle font and language
11833         interaction a bit better.g
11834
11835         * ColorHandler.C (updateColor): change the hash to cover the whole
11836         LColor enum, ws cleanup
11837         (getGCLinepars): ditto
11838         (getGCLinepars): only lookup in the linecache once.
11839
11840 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11841
11842         * iterators.C (operator++): Make the iterator more robust
11843
11844         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11845         (John's patch)
11846         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11847
11848 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11849
11850         * lyxtext.h:
11851         * text.C: better added space drawing
11852
11853 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * LyXView.C:
11856         * BufferView2.C: fix layout combo update on inset unlock
11857
11858 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * Makefile.am: don't compile unused files
11861
11862 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * lyxfunc.C:
11865         * commandtags.h:
11866         * LyXAction.C: remove old LFUN_LAYOUTNO
11867
11868 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * paragraph_pimpl.h:
11871         * paragraph_pimpl.C: isTextAt() doesn't need font param
11872
11873 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * lyxlex.h:
11876         * lyxlex.C: little cleanup
11877
11878 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * BufferView_pimpl.C: fix insertAscii for insets
11881
11882 2001-12-05  Juergen Vigna  <jug@sad.it>
11883
11884         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11885         set the right font on the "multi" paragraph paste!
11886
11887 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * trans_decl.h:
11890         * trans_mgr.[Ch]:
11891         * trans.[Ch]:
11892         * lyxgluelength.C:
11893         * lyxlength.C: remove out-commented code.
11894
11895         * BufferView_pimpl:
11896         * CutAndPaste.C:
11897         * DepTable.C:
11898         * buffer.C:
11899         * chset.C:
11900         * lastfiles.C:
11901         * lyxlex.C:
11902         * lyxlex_pimpl.C:
11903         * lyxserver.C:
11904         * screen.C:
11905         * tabular-old.C:
11906         * tabular.C:
11907         * text.C:
11908         * trans_mgr.C:
11909         * vc-backend.C: change "while(" to "while ("
11910
11911         * lyxlength.[Ch]: add zero function to check if length is zero or
11912         not
11913         * lyxgluelength.C: use it
11914
11915 2001-12-05  Allan Rae  <rae@lyx.org>
11916
11917         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11918         Works for 2.95.3, from what I understand of Garst's reports this should
11919         work for other g++ versions.  We're screwed if the abs(int) definition
11920         changed between bugfix releases of gcc.
11921
11922 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * text.C: fix chapter label offset !
11925
11926 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * lyxtext.h:
11929         * text.C: fix hfill at end of line, clean up
11930
11931 2001-12-04  Juergen Vigna  <jug@sad.it>
11932
11933         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11934         that we force an update of the inset and it's owners if neccessary.
11935
11936 2001-12-03  Juergen Vigna  <jug@sad.it>
11937
11938         * text.C (rowLast): simplified code
11939
11940 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * lyxfunc.C: fix show options on timeout
11943
11944 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * screen.C (topCursorVisible): scroll half a page when the cursor
11947         reached top of bottom of screen
11948
11949 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * minibuffer.C: deactivate on loss of focus
11952
11953 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11954
11955         * vspace.[Ch] (operator!=): add operator.
11956
11957 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * BufferView_pimpl.C: refuse to open an inset when
11960         there's a selection.
11961
11962 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * BufferView_pimpl.C: allow to click on RHS of full row insets
11965
11966 2001-11-30  Juergen Vigna  <jug@sad.it>
11967
11968         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11969         insets for undo reasons.
11970
11971 2001-11-28  André Pönitz <poenitz@gmx.net>
11972
11973         * vspace.[Ch]: cosmetical changes
11974
11975 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11976
11977         * LyXAction.h:
11978         * LyXAction.C:
11979         * lyxfunc.h:
11980         * lyxfunc.C:
11981         * kbmap.h:
11982         * kbmap.C:
11983         * lyxrc.C:
11984         * kbsequence.h:
11985         * kbsequence.C: part re-write of old kb code
11986
11987         * Painter.C:
11988         * WorkArea.C: remove Lgb_bug_find_hack
11989
11990 2001-11-30  José Matos <jamatos@fep.up.pt>
11991
11992         * buffer.C (makeDocBookFile): add a comment to point a hack.
11993         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11994         Fixed a double write of labels.
11995
11996 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11997
11998         * LaTeX.C:
11999         * LaTeX.h Fixed bug in LaTeX class where it would not
12000         re-run latex if no depfiles were changed, but the .dvi was removed.
12001
12002 2001-11-28  André Pönitz <poenitz@gmx.net>
12003
12004         * all the files from the change on 2001/11/26:
12005         use lyx::layout_type instead of LyXTextClass::size_type
12006         use lyx::textclass_type instead of LyXTextClassList::size_type
12007
12008 2001-11-29  Juergen Vigna  <jug@sad.it>
12009
12010         * text.C: added support for paragraph::isFreeSpacing()
12011
12012         * buffer.C: same as above
12013
12014         * paragraph.h: inserted isFreeSpacing() function to enable
12015         FreeSpacing inside InsetERT.
12016
12017         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12018         of the paragraph's in the cut/copy buffer to 0!
12019
12020         * text2.C (removeRow): remove the assert as it can!
12021
12022         * lyxtext.h: added helper function firstRow returning firstrow and
12023         made firstrow private again.
12024
12025         * BufferView2.C (lockInset): don't relock if we're already locked!
12026
12027         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12028         the only paragraph.
12029         (removeRow): added Assert::(firstrow)
12030
12031         * debug.C: forgot to add INSETTEXT here.
12032
12033 2001-11-28  Juergen Vigna  <jug@sad.it>
12034
12035         * sp_spell.C (initialize): changed error text to more general
12036         spellchecker command use (not only ispell!)
12037
12038         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12039
12040         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12041
12042 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * vspace.C: initialise lyxgluelength on failure
12045
12046 2001-11-28  Allan Rae  <rae@lyx.org>
12047
12048         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12049         declaration & definition that looks like a function declaration.
12050
12051 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * BufferView2.C (copy):
12054         (copyEnvironment): do not clear the selection when doing a copy.
12055
12056         * text.C (paintFirstRow): compilation fix
12057
12058 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12059
12060         * tabular.C (Latex): correct line count when writing latex.
12061
12062 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * paragraph_pimpl.h:
12065         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12066           bug a bit
12067
12068 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * text.C:
12071         * LColor.h:
12072         * LColor.C: change vfillline->added_space
12073
12074         * text.C: add markers and text for added space
12075
12076         * vspace.C: fix comment
12077
12078 2001-11-28  André Pönitz <poenitz@gmx.net>
12079
12080         * paragraph.C: whitespace changes
12081         * all the other files from the change on 2001/11/26:
12082         change *::pos_type into lyx::pos_type
12083
12084 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12085
12086         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12087         language of the document when inserting error insets.
12088
12089 2001-11-26  André Pönitz <poenitz@gmx.net>
12090
12091         * BufferView_pimpl.[Ch]:
12092         *       CutAndPaste.C:
12093         * buffer.[Ch]:
12094         * lyxcursor.[Ch]:
12095         * lyxfind.C:
12096         * lyxfunc.C:
12097         * lyxrow.[Ch]:
12098         * paragraph.[Ch]:
12099         * paragraph_pimpl.[Ch]:
12100         * sp_spell.C:
12101         * text.C:
12102         * text2.C: reduce header dependencies, introduce type for positions
12103
12104 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * <various>: change to use Alert.h
12107
12108 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12109
12110         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12111         when encountering an unknown token.
12112         (readLyXformat2): Show an error message if there were unknown tokens.
12113
12114 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * BufferView2.C:
12117         * BufferView_pimpl.C:
12118         * buffer.C:
12119         * paragraph.h:
12120         * text.C:
12121         * text2.C: use par->isInset()
12122
12123 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * paragraph_pimpl.h:
12126         * paragraph_pimpl.C: cleanup
12127
12128 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12129
12130         * text2.C (removeRow):
12131         * text.C (setHeightOfRow): remove useless (and costly) call to
12132         getRow.
12133
12134 2001-11-20  Allan Rae  <rae@lyx.org>
12135
12136         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12137         Now need Inset*::checkInsertChar() to return true for appropriate
12138         cases so that the characters in the minibuffer will actually be
12139         inserted.
12140
12141 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * text.C: change the order of the includes.
12144         (workWidth): initialize it at once.
12145         (workWidth): make maxw unsigned
12146         (setHeightOfRow): remove unused variable (inset)
12147         (selectSelectedWord): remove unused variable (inset)
12148         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12149
12150 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12151
12152         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12153         server is not running.
12154         (openConnection):
12155         (closeConnection): add debug info when server is disabled.
12156
12157         * ColorHandler.C (getGCForeground): send debug message to GUI
12158         channel.
12159
12160         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12161
12162         * kbmap.C (bind): modify because return conventions of
12163         kb_sequence::parse have changed.
12164
12165         * kbsequence.C (parse): only ignore spaces and not any stupid
12166         control character. This avoids tests like s[i] <= ' ', which are
12167         guaranteed to fail with 8bit characters and signed chars.
12168         Change return code to string::npos when there have been no error
12169         (0 was a bad idea when error is at first character)
12170
12171 2001-11-14  José Matos  <jamatos@fep.up.pt>
12172
12173         * buffer.h:
12174         * buffer.C (simpleDocBookOnePar): removed unused argument.
12175
12176 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12179         insets which are part of a word. Paragraph::isLetter takes care of
12180         that now. Use Paragraph::isInset to identify insets.
12181         (selectSelectedWord): do not test for hyphenation break.
12182
12183         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12184         that protected spaces are considered as spaces.
12185
12186         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12187         Inset::isLetter.
12188
12189 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * lyxserver.h:
12192         * lyxserver.C: fix it. and small cleanup.
12193
12194 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * BufferView_pimpl.C: use inline helpers
12197
12198         * LaTeXFeatures.h:
12199         * LaTeXFeatures.C: fix typos
12200
12201         * Spacing.h:
12202         * Spacing.C: move spacing_string into class
12203
12204         * ToolbarDefaults.C: move stuff into namespace anon
12205
12206         * layout.h: update enum
12207
12208         * lyxfunc.C: use better debug
12209
12210         * minibuffer.h: fix typo
12211
12212         * debug.h:
12213         * debug.C:
12214         * WorkArea.C: add and use Debug::WORKAREA
12215
12216         * lyxtext.h:
12217         * text.C:
12218         * text2.C: code re-organisation, inline helpers
12219
12220 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12221
12222         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12223         std::vector.empty().
12224
12225 2001-11-09  Allan Rae  <rae@lyx.org>
12226
12227         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12228         '\n's after tables.  Tabular and ERT inset work now makes this no
12229         longer necessary.
12230
12231 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12232
12233         * minibuffer.h:
12234         * minibuffer.C: fix crash, improve drop-down completion
12235
12236 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * lyxserver.h:
12239         * lyxserver.C: invalidate fd's when doing endPipe()
12240
12241 2001-11-08  José Matos  <jamatos@fep.up.pt>
12242
12243         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12244         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12245
12246         * paragraph.h:
12247         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12248
12249 2001-11-07  José Matos  <jamatos@fep.up.pt>
12250
12251         * buffer.h:
12252         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12253         const qualifier.
12254
12255         * buffer.C (sgmlOpenTag):
12256         * buffer.C (sgmlCloseTag): removed debug info.
12257
12258         * buffer.h (sgmlOpenTag):
12259         * buffer.h (sgmlCloseTag): made public.
12260
12261 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12262
12263         * buffer.C (saveParamsAsDefaults):
12264         * lyx_cb.C (MenuLayoutSave): remove
12265
12266         * LyXAction.C (init):
12267         * commandtags.h:
12268         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12269
12270 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12271
12272         * buffer.C (setPaperStuff): removed from here...
12273
12274         * bufferparams.C (setPaperStuff): ... and moved there.
12275
12276 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * minibuffer.h:
12279         * minibuffer.C:
12280         * XFormsView.C: add support for drop-down completion
12281
12282 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12283
12284         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12285         commands.
12286
12287 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12288
12289         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12290         disabled.
12291
12292 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * lyx_main.C: change ref to known bugs
12295
12296 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12297
12298         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12299         to work around older babel problems.
12300
12301 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12302
12303         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12304
12305 2001-10-24  Juergen Vigna  <jug@sad.it>
12306
12307         * tabular-old.C (ReadOld): below variable changes reflected.
12308
12309         * tabular.[Ch]: added ltType struct for longtable header/footer
12310         defines and changed all instances where they are used. Added
12311         future support for double top/bottom rows.
12312
12313 2001-10-24  José Matos  <jamatos@fep.up.pt>
12314
12315         * buffer.h (docbookHandleCaption):
12316         * buffer.C (docbookHandleCaption): removed unused function.
12317         (makeDocBookFile): moved docbook supported version to v4.1.
12318
12319 2001-10-24  José Matos  <jamatos@fep.up.pt>
12320
12321         * tabular.h:
12322         * tabular.C (docbookRow): new function to export docbook code of a row.
12323         (DocBook): now honors the longtable flags.
12324
12325 2001-10-23  José Matos  <jamatos@fep.up.pt>
12326
12327         * LaTeXFeatures.h:
12328         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12329         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12330
12331         * buffer.C (makeLinuxDocFile):
12332         (makeDocBookFile): reworked the preamble, more clean, and with
12333         support for lyx defined entities. Changed the document declaration
12334         to be more XML friendly.
12335
12336         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12337         if we need to output XML that should be done with a filter.
12338
12339 2001-10-22  Juergen Vigna  <jug@sad.it>
12340
12341         * sp_pspell.h (class PSpell): add alive function needed in the
12342         controller to see if the spellchecker could be started.
12343
12344 2001-10-22  Juergen Vigna  <jug@sad.it>
12345
12346         * buffer.C (insertStringAsLines): modify the font for inserting
12347         chars in certain conditions by calling checkInsertChar(font).
12348
12349 2001-10-19  Juergen Vigna  <jug@sad.it>
12350
12351         * text.C (workWidth): use getRow instead of wrong algorithm.
12352         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12353
12354 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * lyxserver.h:
12357         * lyxserver.C:
12358         * lyx_main.h:
12359         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12360
12361 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12362
12363         * text.C (workWidth): do not search for the exact row when
12364         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12365         optimization for big documents.
12366
12367 2001-10-18  Juergen Vigna  <jug@sad.it>
12368
12369         * text.C (workWidth): new function with added Inset * parameter.
12370
12371 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12372
12373         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12374
12375         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12376         change return type of getColumnNearX.
12377
12378
12379         * text.C (changeRegionCase): use uppercase/lowercase instead of
12380         toupper/tolower.
12381         (leftMargin):
12382         (rightMargin): simplify code by factoring out the uses of
12383         textclasslist.
12384         (labelFill):
12385         (numberOfHfills):
12386         (setHeightOfRow):
12387         (appendParagraph): use Paragraph::size_type
12388
12389 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12390
12391         * vspace.C (asLatexString): add a missing break
12392
12393 2001-10-15  Herbert Voss  <voss@perce.de>
12394
12395         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12396
12397 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12398
12399         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12400         is not available.
12401
12402 2001-10-10  André Pönitz <poenitz@gmx.net>
12403
12404         * lyxfunc.C: removed greek_kb_flag.
12405
12406 2001-10-10  Herbert Voss  <voss@perce.de>
12407
12408         * lyx_main.C: delete global string help_lyxdir.
12409
12410 2001-10-09  Herbert Voss  <voss@perce.de>
12411
12412         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12413
12414         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12415
12416         * lyx_main.C: added global string help_lyxdir.
12417
12418         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12419
12420 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12421
12422         * lyxrc.C (set_font_norm_type): support iso8859-4
12423
12424 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12425
12426         * LaTeX.C (deplog): add another regex for MikTeX
12427
12428 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12429
12430         * lyxrc.C (set_font_norm_type): support iso8859-3
12431
12432 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12433
12434         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12435
12436         * LaTeXFeatures.C: remove special case of french and index
12437
12438         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12439         before \begin{document}). This solves several incompatibilities.
12440
12441 2001-10-03  Garst Reese  <reese@isn.net>
12442
12443         * lyx_cb.C: change CheckTex error msg.
12444
12445 2001-10-03  José Matos  <jamatos@fep.up.pt>
12446
12447         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12448
12449 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12450
12451         * .cvsignore: update
12452
12453         * lyx_main.C (commandLineVersionInfo): use new style version info.
12454
12455         * buffer.C (writeFile):
12456         (makeLaTeXFile):
12457         (makeLinuxDocFile):
12458         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12459
12460         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12461
12462         * version.h: update to use stuff in version.C
12463
12464         * version.C.in: new file. Contains version information determined
12465         at compile time. This is a merging of version.h and
12466         version_info.h.in.
12467
12468 2001-10-03  Juergen Vigna  <jug@sad.it>
12469
12470         * BufferView_pimpl.C (update): don't change "dirty" status in
12471         updateInset call.
12472
12473 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12474
12475         * WorkArea.C (c-tor): re-position version string slightly.
12476
12477 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12478
12479         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12480         revert to previous code.
12481
12482         WorkArea.[Ch]: (show, destroySplash): methods removed.
12483
12484         WorkArea.C: rework code so that it's an amalgam of the codes before and
12485         after the splash screen was moved to WorkArea.
12486
12487 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * lyxrc.C (read):
12490         * vspace.C (inPixels):
12491         (lyx_advance):
12492         * kbmap.C (bind):
12493         * buffer.C (insertStringAsLines):
12494         (asciiParagraph): fix types to be large enough
12495
12496         * lyxlex_pimpl.h: change member status from short to int
12497
12498         * layout.h: fix type of endlabeltype
12499
12500         * kbmap.C (bind):
12501         * kbsequence.C (parse): change return type to string::size_type
12502
12503         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12504         variable
12505
12506         * Bullet.C (bulletSize):
12507         (bulletEntry): do not use short ints as parameters
12508
12509         * BufferView2.C (insertLyXFile): change a char to an int.
12510
12511         * WorkArea.C (WorkArea): remove unneeded floats in computation
12512
12513 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12514
12515         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12516
12517         * paragraph.C (asString): Do not ignore newline/hfill chars when
12518         copying to the clipboard.
12519
12520 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12521
12522         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12523         after a multi-line inset.
12524
12525 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12526
12527         * paragraph.C (validate): Set NeedLyXFootnoteCode
12528
12529 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12532         and decrease-error to decrease.
12533
12534 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12535
12536         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12537         it more readable (should be equivalent)
12538
12539 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12540
12541         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12542
12543 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12544
12545         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12546         of a cursor (row, etc.) after a character has been deleted
12547         (deleteEmptyParagraphMechanism): call the method above on _all_
12548         cursors held by the LyXText when a double space has been
12549         detected/deleted.
12550
12551 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12552
12553         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12554         pixmap.
12555         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12556
12557         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12558         background. Use greyOut() and the new show() methods to toggle between
12559         the foreground and background. Add code to remove the splash after
12560         its initial showing.
12561
12562         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12563         (create_forms): no longer call Dialogs::showSplash.
12564
12565 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12566
12567         * .cvsignore: add version_info.h
12568
12569 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * version_info.h.in: new file
12572
12573         * Makefile.am: add version_info.h.in
12574
12575         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12576         version_info.h instead of VERSION_INFO
12577
12578 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12579
12580         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12581         The ERT inset now returns string().
12582
12583 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12584
12585         * lyxtext.h, text.C (selectNextWord): renamed as
12586         selectNextWordToSpellcheck.
12587
12588         * text.C (selectNextWordToSpellcheck): Modified to not select
12589         words inside an ERT inset.
12590
12591 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12592
12593         * lyx_cb.C (MenuLayoutSave): change a bit the question
12594
12595         * sp_base.h: include <sys/types.h>
12596
12597 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12598
12599         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12600
12601 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12602
12603         * several files: fix typos in user-visible strings
12604
12605 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12606
12607         * text2.C (pasteSelection): do not set the selection, since it
12608         will be cleared later. Actually, the intent was to fix the way the
12609         selection was set, but I figured rmoving the code was just as good.
12610
12611 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12612
12613         * FontLoader.C (available): Check if font is available without
12614         loading the font.
12615
12616 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12617
12618         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12619
12620 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12621
12622         * lyxrc.[Ch]: added display_graphics variable and associated code.
12623
12624 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12625
12626         * bufferparams.C (hasClassDefaults): new method. Returns true if
12627         the buffer parameters correspond to known class defaults
12628
12629 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12630
12631         * XFormsView.C (show): set minimum size to the main window.
12632
12633 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12634
12635         * text2.C (copySelection):
12636         (cutSelection):
12637         * lyxfind.C (LyXReplace):
12638         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12639         LyXText::selectionAsString.
12640
12641         * paragraph.C (asString): add "label" argument to the second form
12642
12643         * text2.C (selectionAsString): add "label" argument and pass it to
12644         Paragraph::asString.
12645
12646 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12647
12648         * lyx_main.C (commandLineHelp): remove version information
12649
12650 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12651
12652         * lyx_main.C: add -version commandline option
12653
12654 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * paragraph.h: make the optional constructor arg required instead.
12657         some modifications to other files because of this.
12658
12659         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12660
12661         * lyxserver.C (C_LyXComm_callback): make it static
12662
12663         * lyx_main.C (error_handler): make it static
12664
12665         * lyx_gui.C (LyX_XErrHandler): make it static
12666
12667         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12668
12669         * WorkArea.C: make the extern "C" methods static.
12670
12671         * Makefile.am (lyx_LDADD): simplify
12672
12673 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12674
12675         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12676         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12677
12678         * LyXAction.C (init):
12679         * lyxfunc.C (dispatch): associated code removal.
12680
12681 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * lyxfont.h (isSymbolFont): shut off warning
12684
12685         * text.C (setHeightOfRow):
12686         (getVisibleRow): fix crash with empty paragraphs which have a
12687         bottom line
12688
12689 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12690
12691         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12692         code.
12693
12694 2001-09-04  José Matos  <jamatos@fep.up.pt>
12695         * buffer.C
12696         * buffer.h
12697         * tabular.C (docbook): rename docBook method to docbook.
12698
12699 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12700
12701         * Makefile.am: add dependencies to main.o.
12702
12703 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12704
12705         * FontLoader.C (available): Return false if !lyxrc.use_gui
12706
12707 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12708
12709         * FontInfo.C (query):
12710         * converter.C (view):
12711         * importer.C (Import):
12712         * exporter.C (Export): Can not -> cannot.
12713
12714 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12715
12716         * BufferView_pimpl.C: allow to create index inset even if
12717           string is empty
12718
12719 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * buffer.C (getLists): replace boost::tie code with an explicit pair
12722         as boost::tie can break some compilers.
12723
12724         * iterators.h: Added a std:: declaration to the return type of
12725         ParIterator::size.
12726
12727 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12730           case.
12731
12732 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12733
12734         * iterators.[Ch]: New files. Provide paragraph iterators.
12735
12736         * buffer.C (changeLanguage): Use paragraph iterators.
12737         (isMultiLingual): ditto
12738
12739         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12740
12741 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12742
12743         * FontLoader.C: Support for cmr font.
12744
12745 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12746
12747         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12748         (available): New method.
12749
12750         * FontInfo.C (getFontname): Use scalable fonts even when
12751         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12752         found.
12753
12754 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12755
12756         * converter.C (Formats::view): reverted! Incorrect fix.
12757
12758 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12759
12760         * converter.C (Formats::view): only output the -paper option
12761         if the dvi viewer is xdvi, thereby fixing bug #233429.
12762
12763 2001-08-23  Herbert Voss  <voss@perce>
12764
12765         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12766
12767 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12768
12769         * Spacing.h (Spacing): Set space to Default on in the default
12770         constructor.
12771
12772 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * vc-backend.h (RCS::versionString): add RCS to version
12775         (CVS::versionString): add CVS to version
12776
12777         * vc-backend.C (scanMaster): do not add CVS to version.
12778         (scanMaster): do not add RCS to version
12779
12780         * lyxvc.C (versionString): new method
12781
12782         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12783
12784 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * Spacing.C (set): initialize fval
12787
12788 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12789
12790         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12791         " or \.
12792
12793 2001-08-16  Juergen Vigna  <jug@sad.it>
12794
12795         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12796
12797 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * BufferView_pimpl.C:
12800         * figureForm.C:
12801         * lyxtext.h:
12802         * text2.C: setParagraph takes linespacing now
12803
12804 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12805
12806         * LyxAction.C: add internal LFUN_CITATION_INSERT
12807
12808         * LyXView.C: actually apply fix
12809
12810         * bufferlist.C: fix open non-existent file
12811
12812         * lyxfind.C: fix indentation
12813
12814         * lyxfunc.C: remove unneeded assert, fix typo
12815
12816 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12817
12818         * MenuBackend.C: use "Floatname List"
12819
12820 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12821
12822         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12823         when converting LaTeX layout to insetERT.
12824         Generate a non-collapsed float when reading old float
12825
12826 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12827
12828         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12829         ERT insets.
12830
12831 2001-08-13  Juergen Vigna  <jug@sad.it>
12832
12833         * text.C (fill): return 0 instead of 20 as this seems to be the more
12834         correct value.
12835
12836 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12837
12838         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12839         lyxrc.font_norm.
12840
12841 2001-08-13  Juergen Vigna  <jug@sad.it>
12842
12843         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12844         casesensitive off.
12845         (SearchBackward): comment out the unlocking of the inset_owner this
12846         should not be needed!
12847
12848 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12849
12850         * Many files: Remove inherit_language, and add latex_language
12851
12852         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12853         collapsible insets.
12854
12855 2001-08-10  Juergen Vigna  <jug@sad.it>
12856
12857         * text.C (prepareToPrint): fixed hfill-width in draw!
12858
12859         * BufferView2.C (selectLastWord): save the selection cursor as this
12860         now is cleared in the function LyXText::clearSelection!
12861
12862 2001-08-08  Juergen Vigna  <jug@sad.it>
12863
12864         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12865         BACKSPACE type functions.
12866
12867         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12868         is only cutted from the document but not put in the cut-buffer, where
12869         still the old stuff should be.
12870
12871         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12872
12873         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12874
12875         * tabular.C (SetWidthOfCell): fixed special case where the width
12876         was not updated!
12877         (LeftLine): handle '|' in align_special.
12878         (RightLine): ditto
12879         (LeftAlreadyDrawed): ditto
12880         (SetWidthOfCell): ditto
12881
12882 2001-08-07  Juergen Vigna  <jug@sad.it>
12883
12884         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12885
12886 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12889         * lyxlex.[hC]: ditto
12890
12891 2001-08-06  Juergen Vigna  <jug@sad.it>
12892
12893         * text.C (getVisibleRow): fix up row clearing a bit.
12894
12895 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * minibuffer.C: make sure the X server sees the changes in the input.
12898
12899 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * paragraph.C (getFont): split into...
12902         (getLabelFont): this
12903         (getLayoutFont): and this
12904         * paragraph_pimpl.C (realizeFont): calling this
12905
12906         * text2.C (getFont): split into...
12907         (getLayoutFont): this
12908         (getLabelFont): and this
12909         (realizeFont): all three calling this
12910
12911         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12912         files where used.
12913
12914 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12915
12916         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12917
12918 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12919
12920         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12921         layouts from the Quote inset insertion.
12922
12923 2001-08-03  Juergen Vigna  <jug@sad.it>
12924
12925         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12926
12927         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12928         only if status not is already CHANGED_IN_DRAW (second level).
12929
12930         * text.C (draw): don't set the need_break_row when inside an
12931         InsetText LyXText.
12932
12933 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * buffer.C (parseSingleLyXformat2Token): handle more latex
12936         conversion cases.
12937
12938         * bufferview_funcs.[hC]: change function names to
12939         begin with small char, adjust other files.
12940
12941 2001-08-02  André Pönitz <poenitz@gmx.net>
12942
12943         * lyxfunc.C:
12944         BufferView_pimpl.C: remove broken special code for math-greek
12945
12946 2001-08-02  Juergen Vigna  <jug@sad.it>
12947
12948         * BufferView_pimpl.C (update): redone this function so that we
12949         update the text again if there was a CHANGE_IN_DRAW.
12950
12951         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12952         (drawFromTo): added a new internal bool which is used by draw() and
12953         redraw() function.
12954         (general): some cursor drawing problems fixed.
12955
12956 2001-08-01  Juergen Vigna  <jug@sad.it>
12957
12958         * lyxfind.C (LyXFind): fixed
12959         (SearchForward): ditto
12960         (SearchBackward): ditto
12961
12962         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12963         spurius drawing of the cursor in the main area.
12964
12965         * text2.C (status): small fix which could lead to a segfault!
12966         (clearSelection): remove unneeded BufferView param.
12967
12968 2001-08-01  André Pönitz <poenitz@gmx.net>
12969
12970         * lyxfunc.C: small change due to changed mathed interface
12971
12972 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12975
12976 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12977
12978         * lyxfunc.c: fail gracefully if file doesn't exist
12979
12980         * LyXSendto.C:
12981         * buffer.C:
12982         * lyxfunc.C:
12983         * BufferView_pimpl.C: IsDirWriteable() proto changed
12984
12985         * LyXView.C: fix updateWindowTitle() to store the last title
12986
12987 2001-07-31  Juergen Vigna  <jug@sad.it>
12988
12989         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12990         the font (wrong since using of Paragraph::highestFontInRange).
12991
12992         * paragraph.C (highestFontInRange): added a default_size parameter.
12993
12994         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12995         (setHeightOfRow): reformat
12996
12997 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * converter.[hC] + affected files: move to (inital-char)lowercase
13000         function names.
13001
13002         * ParagraphParameters.C (ParagraphParameters): remove commented code
13003
13004         * PainterBase.[Ch]: remove commented code
13005
13006         * LaTeXFeatures.h: add "bool floats" for float.sty
13007
13008         * LaTeXFeatures.C (LaTeXFeatures): init floats
13009         (require): handle float
13010         (getPackages): do it with floats
13011
13012 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * BufferView_pimpl.C (Dispatch): improve handling of
13015         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13016
13017         * commandtags.h: #include lyxfont.h here temporarily to avoid
13018         keybinding bug.
13019
13020         * bufferlist.h: include LString.h here.
13021
13022 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13023
13024         * text2.C (getStringToIndex): new method.
13025
13026 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13027
13028         * *: Reduced header file dependencies all over.
13029
13030 2001-07-30  Baruch Even  <baruch@lyx.org>
13031
13032         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13033
13034 2001-07-29  Baruch Even  <baruch@lyx.org>
13035
13036         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13037
13038 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13039
13040         * ParameterStruct.h (endif): add a default constructor to make
13041         sure that all variables is initialized.
13042
13043         * ParagraphParameters.C (ParagraphParameters): adjust
13044
13045 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13046
13047         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13048         index; also, check that there is something to index, and that it
13049         does not span over several paragraphs.
13050         (doubleClick): use WHOLE_WORD_STRICT for double click.
13051
13052         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13053
13054         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13055         scheme.
13056
13057 2001-07-26  Baruch Even  <baruch@lyx.org>
13058
13059         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13060         an InsetFig figure, backwards compatible reading of old figure code.
13061
13062 2001-07-27  Juergen Vigna  <jug@sad.it>
13063
13064         * text2.C: font.realize function adaption.
13065
13066         * text.C (draw): add a warnings lyxerr text if needed.
13067
13068         * layout.C: font.realize function adaption.
13069
13070         * language.C: add inherit_language and implement it's handlings
13071
13072         * bufferview_funcs.C (StyleReset): remove language parameter from
13073         font creation (should be language_inherit now).
13074
13075         * bufferparams.C (writeFile): handle ignore_language.
13076
13077         * paragraph.C (getFontSettings): the language has to be resolved
13078         otherwise we have problems in LyXFont!
13079
13080         * lyxfont.C (lyxWriteChanges): added document_language parameter
13081         (update): removed unneeded language parameter
13082
13083         * paragraph.C (validate): fixed wrong output of color-package when
13084         using interface colors for certain fonts in certain environments,
13085         which should not seen as that on the final output.
13086
13087 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13088
13089         * BufferView_pimpl.C:
13090         * Thesaurus.h:
13091         * Thesaurus.C:
13092         * Makefile.am:
13093         * commandtags.h:
13094         * LyXAction.C: add thesaurus support
13095
13096         * lyxfind.h:
13097         * lyxfind.C: add "once" parameter, for thesaurus, to not
13098           move to the next match
13099
13100 2001-07-26  Juergen Vigna  <jug@sad.it>
13101
13102         * lyxfont.C (realize): honor ignore_language too!
13103         (resolved): ditto.
13104
13105         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13106
13107         * text.C (draw): one place more for ignore_language to not draw
13108         itself!
13109
13110 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13111
13112         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13113
13114 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13117         the minipage conversion problem.
13118
13119 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13122         insert an inset.
13123
13124 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13125
13126         * BufferView.h: don't forward declare WorkArea
13127
13128         * BufferView.C: don't include WorkArea.h
13129
13130 2001-07-25  André Pönitz <poenitz@gmx.net>
13131
13132         * commandtags.h:
13133         * LyXAction.C:
13134         * lyxfunc.C:  new LFUN 'math-space'
13135
13136         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13137
13138 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13139
13140         * text2.C (toggleInset): call open/close
13141
13142 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * lyxfunc.C (dispatch): add debug for the disabled case
13145
13146         * font.C (buttonText): make similar to rectText
13147
13148         * buffer.C (readInset): comment out parsing of insetlist and
13149         insttheorem
13150
13151         * PainterBase.C (rectText): small correction
13152
13153         * BufferView_pimpl.C: comment out insettheorem and insetlist
13154         * LyXAction.C: ditto
13155         * commandtags.h: ditto
13156
13157 2001-07-24  Juergen Vigna  <jug@sad.it>
13158
13159         * text.C (draw): honor the ignore_language.
13160
13161         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13162
13163 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13166         char inset.
13167
13168 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13169
13170         * lyxtext.h: remove unused (and unimplemented) methods
13171
13172 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13173
13174         * text.C (getVisibleRow): honor background color
13175
13176         * PainterBase.h:
13177         * Painter.h: remove default color argument for fillRectangle
13178
13179         * text.C (backgroundColor): new method
13180
13181 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * text.C (getVisibleRow): adjust
13184
13185         * font.[Ch] (rectText): new method, metrics
13186         (buttonText): new method, metrics
13187
13188         * PainterBase.[hC]: make rectText and buttonText always draw and take
13189         fewer paramteres.
13190
13191 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13192
13193         * ToolbarDefaults.C (read):
13194         * MenuBackend.C (read): allow escaping in all strings
13195
13196         * BufferView_pimpl.C (insertAndEditInset): new method.
13197         (Dispatch): use insertAndEditInset whenever appropriate.
13198
13199         * BufferView_pimpl.C (insertNote): removed
13200
13201         * BufferView_pimpl.C (smartQuote): new method, moved from
13202         BufferView; if an insetquote cannot be inserted, insert a '"'
13203         character instead.
13204
13205         * BufferView2.C: remove insertCorrectQuote();
13206
13207         * lyxfunc.C (getStatus): Add support for all remaingin
13208         inset-insert lfuns.
13209
13210         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13211
13212         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13213         command (necessary to pass " as parameter of self-insert.
13214
13215         * text.C (selectWordWhenUnderCursor):
13216         (selectWord): add word_location parameter
13217         (selectWordWhenUnderCursor): same + remove special code for word
13218         boundary.
13219         (selectNextWord): use kind() to guess type of insetspecialchar,
13220         not latex().
13221
13222         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13223         (insertErtContents): create ert insets as collapsed.
13224         (readInset): better compatibility code for Info inset.
13225
13226 2001-07-20  Juergen Vigna  <jug@sad.it>
13227
13228         * lyxfunc.C (dispatch): use always LyXFind now!
13229
13230         * text2.C (init): add a reinit flag so that the LyXText can be
13231         reinited instead of deleted and reallocated (used in InsetText).
13232
13233         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13234
13235         * text.C: ditto
13236
13237         * text2.C: ditto
13238
13239 2001-07-18  Juergen Vigna  <jug@sad.it>
13240
13241         * text.C (selectNextWord): handle insets inside inset by calling
13242         always the bv->text functions so that we can go up the_locking_inset!
13243
13244         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13245         in strange locations when inside an inset!
13246
13247         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13248         handling to include insets.
13249
13250         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13251
13252 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13253
13254         * LyXAction.C (init):
13255         * commandtags.h:
13256         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13257         LIGATURE_BREAK, since the name is so stupid.
13258
13259 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13262         InsetInfos.
13263
13264         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13265
13266         * sp_form.[Ch]: remove.
13267
13268         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13269
13270         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13271         InsetInfo.
13272
13273         * src/buffer.C (readInset): ditto.
13274
13275 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13276
13277         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13278         menuSeparator(), endOfSentenceDot(), ldots() and
13279         hyphenationPoint(), which are therefore removed.
13280         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13281
13282         * LyXAction.C (init):
13283         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13284
13285         * paragraph.C (getWord): removed.
13286
13287         * BufferView_pimpl.C (Dispatch): use last word or selection for
13288         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13289
13290         * lyx_main.C (queryUserLyXDir): do not ask before creating
13291         user_dir, except if it has been named explicitely.
13292
13293 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13294
13295         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13296         a document of zero size.
13297
13298 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13299
13300         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13301         approriately in the c-tor and in require().
13302         (getPackages): output the appropriate LaTeX for natbib support.
13303
13304         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13305         variables "use_natbib" and "use_numerical_citations" when reading the
13306         LyX file.
13307         (readInset): read the various natbib cite commands.
13308         (validate): white-space change.
13309
13310         * bufferparams.[Ch]: new variables "bool use_natbib" and
13311         "bool use_numerical_citations".
13312         (writeFile): output them in the LyX file.
13313
13314 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13315
13316         * lyxfunc.C (getStatus): add support for all the inset insertion
13317         commands.
13318
13319         * text2.C (insertInset):
13320         * paragraph.C (insetAllowed):
13321         * BufferView_pimpl.C (insertInset): update to take in account the
13322         renaming of insertInsetAllowed
13323
13324         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13325
13326         * text2.C (getInset): new method. returns inset at cursor position.
13327
13328         * BufferView_pimpl.C (Dispatch): changes because of this.
13329
13330         * LyXAction.C (init): rename open-stuff to inset-toggle.
13331
13332         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13333
13334         * text2.C (toggleInset): renamed from openStuff; use
13335         Inset::open().
13336
13337 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13338
13339         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13340
13341         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13342
13343 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13344
13345         * buffer.C (readLyXformat2): Add filename to the error dialog
13346
13347 2001-07-18  Juergen Vigna  <jug@sad.it>
13348
13349         * tabular.C (GetCellNumber): put an assert here instead of the check!
13350
13351 2001-07-17  Juergen Vigna  <jug@sad.it>
13352
13353         * BufferView_pimpl.C (toggleSelection): adapted too.
13354
13355         * text.C (selectNextWord): adapted for use with insets.
13356         (selectSelectedWord): ditto
13357
13358 2001-07-17  Juergen Vigna  <jug@sad.it>
13359
13360         * sp_spell.C (PSpell): fix initialitation order.
13361
13362 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13363
13364         * paragraph.C: spacing
13365
13366 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13367
13368         * sp_spell.C: repair language selection for pspell
13369
13370 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13371
13372         * lyxfunc.h: change more methods to begin with lower char.
13373
13374 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13377         for unknown layouts.
13378
13379 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13380
13381         * buffer.C (readLyXformat2): Generate an error dialog if there are
13382         unknown layouts.
13383
13384 2001-07-16  Juergen Vigna  <jug@sad.it>
13385
13386         * sp_spell.C: always compile ISpell part.
13387
13388         * lyxrc.C: added use_pspell entry and it's handling.
13389
13390 2001-07-13  Juergen Vigna  <jug@sad.it>
13391
13392         * sp_spell.C: removed double includes.
13393
13394 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13395
13396         Consistent use of Lsstream.h:
13397         * Lsstream.h: added using std::stringstream for consistencies sake.
13398
13399         * buffer.C: removed using std::stringstream
13400
13401         * lyxfont.C (stateText):
13402         * paragraph.C (asString):
13403         * text.C (selectNextWord, selectSelectedWord):
13404         * text2.C (setCounter):
13405         * vspace.C (asString, asLatexString):
13406         std::ostringstream -> ostringstream.
13407
13408 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13409
13410         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13411         * commandtags.h: add LFUN_HELP_ABOUTLYX
13412         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13413
13414 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13415
13416         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13417         cursorToggle()
13418         * lyx_gui_misc.C: remove spellchecker
13419         * lyxfunc.C: showSpellchecker
13420         * sp_base.h: added
13421         * sp_ispell.h: added
13422         * sp_pspell.h: added
13423         * sp_spell.C: added
13424         * sp_form.[Ch]: removed
13425         * spellchecker.[Ch]: removed
13426
13427 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13428
13429         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13430         is set.
13431         (simpleTeXSpecialChars): Simply print the input character without
13432         any special translation if pass_thru is set.
13433
13434         * layout.h: Added bool pass_thru to layout class for being able to
13435         implement pass through of a paragraph for Literate Programming.
13436
13437         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13438         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13439         * layout.C (Read): add "passthru" to list of layout tags and add
13440         code to set the pass_thru boolean when it is read.
13441
13442 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * trans_decl.h: remove allowed from KmodInfo
13445
13446         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13447         remove allowed code
13448         (Load): adjust
13449
13450         * paragraph_pimpl.C (erase): use boost::prior
13451
13452         * Painter.C (text): use data() instead of c_str() when length is
13453         also provided.
13454         * WorkArea.C (putClipboard): ditto
13455         * font.h (width): ditto
13456
13457         * BufferView2.C: use it-> instead of (*it). for iterators
13458         * texrow.C: ditto
13459         * paragraph_pimpl.C: ditto
13460         * paragraph.C: ditto
13461         * minibuffer.C: ditto
13462         * language.C: ditto
13463         * kbmap.C: ditto
13464         * encoding.C: ditto
13465         * counters.C: ditto
13466         * converter.C: ditto
13467         * chset.C: ditto
13468         * Variables.C: ditto
13469         * TextCache.C: ditto
13470         * MenuBackend.C: ditto
13471         * LyXAction.C: ditto
13472         * LColor.C: ditto
13473         * FloatList.C: ditto
13474         * DepTable.C: ditto
13475         * ColorHandler.C (LyXColorHandler): ditto
13476
13477 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13478
13479         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13480
13481         * text2.C (openStuff): reintroduce this method (which had been
13482         nuked in NEW_INSETS frenzy).
13483
13484         * lyxfunc.C (Dispatch): when an action has not been handled, use
13485         its name in the error message, not its number.
13486
13487         * paragraph.C (inInset): change method name to begin with lowercase.
13488
13489         * undo_funcs.C:
13490         * text2.C: updates because of this.
13491
13492 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13493
13494         * ToolbarDefaults.C (add): add spaces in error message
13495
13496 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13497
13498         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13499         (readLyXformat2): rename return_par to first_par, use lyxlex's
13500         pushToken and remove the manual push handling.
13501         (parseSingleLyXformat2Token): add another ert comp. variable:
13502         in_tabular, rename return_par to first_par. handle newlines better
13503
13504 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13505
13506         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13507
13508 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13509
13510         * text2.C (getParFromID): removed
13511
13512         * buffer.C (getParFromID): new method moved form lyxtext.
13513         * BufferView2.C (insertErrors): adjust
13514         (setCursorFromRow): adjust
13515         * BufferView_pimpl.C (restorePosition): adjust
13516         * lyxfunc.C (Dispatch): adjust
13517         * undo_funcs.C (textUndo): adjust
13518         (textRedo): adjust
13519         (textHandleUndo): adjust
13520         (textHandleUndo): adjust
13521
13522 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13523
13524         * buffer.C: up' the LYX_FORMAT
13525
13526         * lyxfont.h: turn NO_LATEX on as default
13527
13528         * buffer.C (insertErtContents): new methods of tex style compability.
13529         (parseSingleLyXformat2Token): use it several places.
13530         * tabular.C (OldFormatRead): and here
13531
13532 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * text2.C: remove some commented code.
13535         reindent file.
13536
13537         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13538         * trans.C: changes because of the above.
13539
13540 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13541
13542         * text2.C (setCounter): Fix counters bug with bibliography layout.
13543
13544 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13545
13546         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13547         own member functions
13548         (simpleTeXSpecialChars): ditto
13549
13550 2001-07-06  Juergen Vigna  <jug@sad.it>
13551
13552         * a lot of files: changed the access to LyXText::status and the
13553         call of undo-functions.
13554
13555         * undo.[Ch]: added a inset_id to the undo informations.
13556
13557         * undo_funcs.[Ch]: added and moved here all undo functions.
13558
13559         * lyxtext.h: give the status enum a weight, made status_ a private
13560         variable and made accessor functions for it, removed the whole bunch
13561         of undo-functions as they are now in their own file, make some
13562         functions publically available. Added function ownerParagraph with
13563         int parameter.
13564
13565         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13566         made InInset() a const function, added getParFromID() function.
13567
13568         * buffer.[Ch]: added const version for inset_iterator functions,
13569         added getInsetFromID() function.
13570
13571         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13572         changed undo functions for new version.
13573
13574 2001-07-05  Juergen Vigna  <jug@sad.it>
13575
13576         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13577         unknow mechanism does not call the proper constructor but only this
13578         one also if I request the other!?
13579
13580 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13581
13582         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13583
13584         * text2.C (LyXText): use initialization lists.
13585
13586         * lyxtext.h (Selection): initialize set_ and mark_
13587         (init): remove method
13588
13589 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13590
13591         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13592
13593 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13594
13595         * screen.[Ch]: change method names to begin with lowercase
13596
13597         * BufferView_pimpl.C (updateScrollbar): simplify further and
13598         hopefully make it a bit faster.
13599
13600 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13601
13602         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13603         calling directly xforms functions.
13604
13605         * Painter.C (Painter):
13606         * lyx_cb.C (MenuWrite):
13607         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13608         fl_display.
13609
13610         * lyx_gui.C: remove bogus guiruntime extern declaration.
13611
13612 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13613
13614         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13615         in NEW_INSETS
13616         (redoDrawingOfParagraph): ditto
13617         (redoParagraphs): ditto
13618         (cutSelection): don't create a object for CutAndPaste use the
13619         static method directly
13620         (pasteSelection): ditto
13621
13622         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13623         LyXview (+ rename)
13624
13625 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13626
13627         * modifications to some other files because of this.
13628
13629         * Makefile.am (lyx_SOURCES): add XFormsView
13630
13631         * XFormsView.[Ch]: new files
13632
13633         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13634         the main window. Move the gui dependent stuff to XFormsView
13635
13636 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13637
13638         * tabular.C (GetCellInset): update cur_cell also in the row/col
13639         version of this function.
13640
13641         * lyxfunc.C: no need to include figure_form.h here.
13642
13643         * FontLoader.h:
13644         * lyxfunc.h:
13645         * lyxscreen.h:
13646         * text2.C:
13647         * lyxvc.C: no need to include forms.h here.
13648
13649 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13652
13653         * lyxfunc.C (Dispatch):
13654         * Spacing.C (set):
13655         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13656         constructor argument.
13657
13658 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * paragraph.C (Paragraph): dont't clear, and just set layout.
13661         (makeSameLayout): use params's copy contructor.
13662
13663         * ParagraphParameters.[Ch] (makeSame): delete method
13664
13665 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * Variables.[Ch]: fix indentation, rename set to isSet
13668
13669 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13670
13671         * lyxfunc.C (Dispatch): fix typo
13672
13673 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13674
13675         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13676         upper_bound.
13677
13678         * bufferlist.C: include assert.h for emergencyWrite().
13679
13680 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13681
13682         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13683           give up at last (bug #425202) !
13684
13685 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13686
13687         * lyx_gui_misc.C:
13688         * sp_form.h:
13689         * sp_form.C:
13690         * spellchecker.h:
13691         * spellchecker.C: strip spellchecker options and bring up
13692           preferences tab instead
13693
13694 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13695
13696         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13697         the istringstream constructor
13698
13699 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * paragraph.C (getLayout): fix return value
13702
13703         * paragraph.h: do not declare getLayout as inline.
13704
13705         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13706
13707 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * lyxcursor.h (operator<): new func
13710         (operator>): new func
13711         (operator>=): new func
13712         (operator<=): new func
13713
13714         * text.C (changeCase): use selection.start and selection.end
13715         (changeRegionCase): require from to be <= to. Require par to be a
13716         valid paragraph.
13717
13718         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13719
13720 2001-06-27  Juergen Vigna  <jug@sad.it>
13721
13722         * text.C (cursorLeftOneWord): changed to return the cursor and added
13723         overlay with BufferView * parameter which calls this one.
13724         (getWord): added
13725         (selectWord): use new getWord function.
13726         (changeCase): renamed from changeWordCase as and extended to work
13727         also on selections.
13728
13729         * lyxtext.h: added enum word_location
13730
13731         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13732         changeCase as this operates now also on selections.
13733
13734 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13735
13736         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13737
13738         * many files: send debug output to Debug::INFO instead of
13739         Debug::ANY.
13740
13741         * converter.C (View):
13742         (Convert):
13743         (Move): send debug output to Debug::FILES instead of console.
13744
13745 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13746
13747         * lyxfunc.C (getStatus): use func_status
13748
13749         * func_status.h: new header, describing the results of
13750         LyXFunc::getStatus;
13751
13752         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13753         LFUN_MATH_HALIGN.
13754
13755 2001-06-25  The LyX Project  <jug@sad.it>
13756
13757         * buffer.C (sgmlOpenTag):
13758         (sgmlCloseTag):
13759         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13760
13761 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13762
13763         * text2.C: remove some dead code
13764
13765         * tabular.C (GetCellInset): store the last cell checked (gotten)
13766
13767         * tabular.h: add the helper for the speedup
13768
13769         * lyxtext.h: remove some dead code
13770
13771 2001-06-26  The LyX Project  <Asger>
13772
13773         * paragraph.C: Change export to LaTeX of alignment to
13774         \begin{center} and family for better roundtrip work with reLyX.
13775
13776         * Tune the math drawing a bit.
13777
13778 2001-06-25  The LyX Project  <Asger>
13779
13780         * LColor.C (LColor): New color for math background. New color
13781         for buttons.
13782
13783 2001-06-25  The LyX Project  <jug@sad.it>
13784
13785         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13786
13787         * lyxfunc.C (Open):
13788         * bufferlist.C (newFile): do not restrict to files ending with
13789         .lyx
13790
13791         * BufferView_pimpl.C (MenuInsertLyXFile):
13792
13793 2001-06-24  The LyX Project  <jug@sad.it>
13794
13795         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13796         of compare_no_case
13797
13798 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13799
13800         * lyxtext.h: rename most methods to begin with a small char.
13801         Lots of changes because of this.
13802
13803         * paragraph.C (Paragraph): do not call fitToSize
13804         (erase): call Pimpl::erase
13805         (insertChar): call Pimpl::insertChar
13806         (insertInset): call Pipl::insertInset
13807         (breakParagraph): do not call fitToSize
13808         (breakParagraphConservative): do not call fitToSize
13809         (fitToSize): remove method
13810
13811         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13812
13813 2001-06-24  The LyX Project  <Asger>
13814
13815         * Fix Qt compilation^2
13816
13817 2001-06-24  The LyX Project  <jug@sad.it>
13818
13819         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13820         depthHook(getDepth()-1).
13821
13822         * paragraph.h:
13823         * ParagraphParameters.h:
13824         * ParameterStruct.h: change type of depth to unsigned int ==
13825         depth_type. Many adaptations to other files before of that.
13826
13827 2001-06-24  The LyX Project  <Asger>
13828
13829         * Fix Qt compilation.
13830
13831 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * paragraph.h: renamed several methods to begin with small letter.
13834         several changes to many parts of the code because of this.
13835
13836 2001-06-23  The LyX Project  <jug@sad.it>
13837
13838         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13839         rewritten to discard all double spaces when KeepEmpty is off
13840         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13841         to only handle newlines but not fiddle with spaces and friends.
13842
13843         * lyxfunc.C (MenuNew): when doing 'new from template', use
13844         template_path as default directory
13845
13846 2001-06-23  The LyX Project  <Asger>
13847
13848         * Clean-up of header file includes all over
13849         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13850
13851 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13852
13853         * paragraph.h: renamed from lyxparagraph.h
13854
13855 2001-06-23  Asger  <lyx@violet.home.sad.it>
13856
13857         * Buffer.h: Removed Buffer::resize
13858         * BufferList.h: Removed BufferList::resize
13859         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13860         the document lazily when we change the width, or the font settings.
13861
13862 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13863
13864         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13865
13866 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * buffer.h: remove out of date comment
13869
13870 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * lyxscreen.h:
13873         * screen.C: fix "theoretical" GC leak
13874
13875 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13876
13877         * LaTeX.C (scanAuxFile):
13878         (deplog): remove trailing \r when reading stream (useful under
13879         win32)
13880
13881 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13882
13883         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13884         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13885         and BufferView::theLockingInset(Inset*), so should use them and not
13886         access bv_->text->the_locking_inset directly.
13887
13888         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13889
13890 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * Makefile.am:
13893         * tex-defs.h: remove old unused file
13894
13895 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * BufferView_pimpl.C: fix typo, remove minibuffer message
13898           when buffer has loaded
13899
13900 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * lyxfunc.C (Dispatch): use stringstream
13903         (MenuNew): use stringstream
13904         (Open): use stringstream
13905
13906         * importer.C (Import): use stringstream
13907
13908         * bufferview_funcs.C (CurrentState): use stringstream
13909
13910         * LaTeX.C (run): use stringstream
13911
13912         * BufferView_pimpl.C (savePosition): use stringstream
13913         (restorePosition): use stringstream
13914         (MenuInsertLyXFile): use stringstream
13915
13916 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13917
13918         * BufferView.C:
13919         * Bullet.C:
13920         * ColorHandler.C:
13921         * FontInfo.C:
13922         * FontLoader.C:
13923         * LColor.C:
13924         * LaTeXFeatures.C:
13925         * Painter.C:
13926         * gettext.C:
13927         * lyx_gui_misc.C:
13928         * lyxserver.C:
13929         * vspace.C: removed // -*- C++ -*- as first line.
13930
13931         * lyxfind.h:
13932         * version.h: added // -*- C++ -*- as first line.
13933
13934 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13937
13938         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13939         of string
13940
13941 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13942
13943         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13944         of floats.
13945
13946 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * gettext.C: include LString.h even when --disable-nls is on.
13949
13950 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13951
13952         * converter.h (Get): changed argument type from int to
13953         FormatList::size_type to avoid unnecessary conversion.
13954
13955         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13956         before using it.
13957
13958 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13959
13960         * gettext.h: include LString.h even when --disable-nls is on.
13961
13962 2001-06-07  Juergen Vigna  <jug@sad.it>
13963
13964         * text.C (BreakAgain): subst spaces with tabs.
13965
13966         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13967         (resizeInsetsLyXText): set force on resizeLyXText.
13968
13969 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13970
13971         * gettext.h (gettext_init):
13972         (locale_init): use a real definition instead of a macro
13973
13974 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13975
13976         * Bufferview_pimpl.C:
13977         * LColor.h:
13978         * LColor.C: further lcolor tidies
13979
13980 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13981
13982         * BufferView_pimpl.C (updateScrollbar): simplify.
13983
13984         * BufferView2.C: don't include insets/insetinfo.h, change
13985         prototype for insertInset and call the Pimpl version. let
13986         updateInset call Pimpl version.
13987
13988         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13989         gotoInset to BufferView::Pimpl
13990
13991 2001-06-01  Juergen Vigna  <jug@sad.it>
13992
13993         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13994         inside a LockingInset (is the update needed at all?).
13995
13996 2001-05-31  Juergen Vigna  <jug@sad.it>
13997
13998         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13999         here not the old one otherwise how should we compare it afterwards
14000         if it's the same!
14001
14002 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14003
14004         * lyxfont.C:
14005         * tabular.C:
14006         * tabular-old.C:
14007         * FontInfo.C: bring C functions into global namespace when
14008         necessary
14009
14010 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14011
14012         * LString.h: make sure config.h has been loaded before LString.h.
14013
14014         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14015         (one for each char read by EatLine!).
14016
14017         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14018         variables.
14019
14020 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14021
14022         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14023         to the same as the par we break from
14024
14025 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14026
14027         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14028
14029         * MenuBackend.C (expand): also create menu entries for wide
14030         versions of the floats.
14031
14032         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14033
14034         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14035
14036         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14037         frontends/Makefile.am
14038
14039         * text2.C: adjust
14040         * text.C: adjust
14041
14042
14043         * tabular.C (getTokenValue): add std::
14044
14045         * tabular-old.C (getTokenValue): add std::
14046         (getTokenValue): ditto
14047         (getTokenValue): ditto
14048
14049         * screen.C (ToggleSelection): adjust
14050
14051         * lyxtext.h: put selection cursors inside a Selection struct.
14052
14053         * lyxfunc.C (moveCursorUpdate): adjust
14054
14055         * lyxfont.C (latexWriteStartChanges): add std::
14056
14057         * lyxfind.C: adjust
14058
14059         * font.h: delete with(char const *, LyXFont const &)
14060
14061         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14062
14063         * FontInfo.C (getFontname): add std::
14064
14065         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14066         (workAreaButtonPress): adjust
14067         (tripleClick): adjust
14068         (update): adjust
14069         (moveCursorUpdate): adjust
14070         (Dispatch): adjust
14071
14072         * BufferView2.C (gotoInset): adjust
14073
14074 2001-05-30  Juergen Vigna  <jug@sad.it>
14075
14076         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14077         to check pspell I add this as default as I now have new pspell
14078         libraries and they seem to use this.
14079
14080 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * text2.C (CutSelection): make the cursor valid before the call to
14083         ClearSelection.
14084
14085 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14086
14087         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14088         relied on 0 terminated strings and other horrors. Bug found due to
14089         the new assert in lyxstring!
14090
14091         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14092         KP_ keys.
14093
14094 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14095
14096         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14097         to latinkeys.bind.
14098
14099         * lyxfunc.C (processKeySym): change method of getting to the
14100         self-insert char.
14101
14102         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14103         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14104         * BufferView_pimpl.[Ch]: here as private methods.
14105
14106 2001-05-28  Juergen Vigna  <jug@sad.it>
14107
14108         * text.C (SetHeightOfRow): added the update() call again as it is
14109         needed to initialize inset dimensions!
14110
14111 2001-05-16  Juergen Vigna  <jug@sad.it>
14112
14113         * text2.C (SetCharFont): Add new function with BufferView * and
14114         bool toggleall parameters for setting insets internal fonts.
14115         (SetFont): Freeze the undo as we may change fonts in Insets and
14116         all this change should be inside only one Undo!
14117
14118         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14119         setting font's in insets as for them we have the SetFont function!
14120
14121 2001-05-15  Juergen Vigna  <jug@sad.it>
14122
14123         * text2.C (ClearSelection): to be sure we REALLY don't have any
14124         selection anymore!
14125
14126         * tabular.C (TeXCellPreamble): fixed the left border problem for
14127         multicolumn cells.
14128
14129 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14130
14131         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14132         dependancy file
14133
14134 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14135
14136         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14137         LFUN_BREAKPARAGRAPH.
14138
14139         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14140         help test to "internal only", similar for LFUN_INSERT_URL
14141
14142         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14143         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14144         auto_region_delete and deadkeys.
14145
14146 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * LColor.h:
14149         * LColor.C: remove some dead entries, tidy a little
14150
14151 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14154         commented code.
14155         (Dispatch): implement LFUN_ESCAPE
14156
14157         * commandtags.h: add LFUN_ESCAPE
14158
14159         * LyXAction.C (init): add entry for LFUN_ESCAPE
14160
14161         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14162         Remove commented code.
14163         (insertNote): moved here
14164         (open_new_inset): moved here
14165
14166         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14167         BufferView_pimpl
14168
14169 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14170
14171         * kbmap.C (findbinding): clean it up and make it work correctly.
14172
14173         * lyx_main.C (init): do not pass argc and argv as parameters
14174
14175 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14176
14177         * buffer.C: fix path for OS/2 & Win32
14178
14179         * lyx_gui.C:
14180         * lyx_main:
14181         * lyx_main.C: Added os:: class.
14182
14183         * os2_defines.h: update
14184
14185 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14186
14187         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14188         better by trying again with reduced state.
14189
14190 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14191
14192         * lyxrc.C (read): print error about invalid key sequence only when
14193         debugging (because not all latinX keysyms are known to some X
14194         servers)
14195
14196         * kbsequence.C (getiso): add a few std:: qualifiers
14197         (getiso): comment out extra return statement.
14198
14199 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14200
14201         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14202         handling.
14203         (Dispatch): enhance the accent inset a bit. (not perfect)
14204
14205 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14208
14209 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * bufferlist.C (emergencyWrite): fix assert() call
14212
14213 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14214
14215         * text.C (InsertChar): Added trivial patch to only send the "you
14216         can not do multiple spaces this way" message once during a
14217         session.
14218
14219 2001-05-08  Baruch Even  <baruch@lyx.org>
14220
14221         * Makefile.am: Changed order of libraries to get LyX to link properly
14222         with the gnome frontend.
14223
14224 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14225
14226         * LaTeXFeatures.h: add a std:: qualifier
14227
14228 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14229
14230         * paragraph.C (String): use stringstream
14231
14232 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14233
14234         * paragraph.C (writeFile): remove footflag arg
14235
14236         * buffer.C (makeLaTeXFile): use stringstream
14237         (latexParagraphs): remove footnot gurba
14238
14239         * LaTeXFeatures.C (getPackages): use stringstream
14240         (getMacros): likewise
14241         (getTClassPreamble): likewise
14242         (getFloatDefinitions): new method
14243
14244         * paragraph.C (writeFile): reindent
14245         (Erase): reindent
14246
14247         * WorkArea.h: revert the xpos + etc changes.
14248
14249         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14250
14251         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14252
14253         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14254         (pasteSelection): likewise
14255         * text2.C (CreateUndo): likewise
14256
14257 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14258
14259         * minibuffer.C (peek_event): temporarily reduce the functionality
14260         of the minibuffer (to allow args on lfuns)
14261
14262         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14263         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14264
14265         * buffer.C (readInset): add compability reading of old float
14266         lists, add reading of new style float list.
14267         (readInset): avoid reevaluation of inscmd.getCmdName()
14268         (getLists): reindent
14269
14270         * MenuBackend.C (MenuItem): implement parsing of
14271         md_floatlistinsert and md_floatinsert.
14272         (expand::LastFiles): move initalizaton of iterators out of loop,
14273         avoid reevaluation.
14274         (expand::Documents): introduce typdedef vector<string> Strings,
14275         and use it.
14276         (expand::ExportFormats): introduce typedef vector<Format const *>
14277         Formats, and use it.
14278         (expand): implement FloatListInsert and FloatInsert.
14279
14280         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14281         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14282         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14283
14284         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14285         handling.
14286         (Dispatch::LFUN_FLOAT_LIST): implement
14287
14288 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14289
14290         * LaTeX.C (run): Fix problem with --export code.
14291
14292 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14293
14294         * BufferView.[Ch] (workarea): removed.
14295         (getClipboard) new method; wrapper for workarea()->getClipboard()
14296
14297         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14298         bug.
14299
14300         * WorkArea.h (width, height, xpos, ypos): These methods all
14301         returned the dimensions of the work_area sub-area of WorkArea,
14302         resulting in a position error if the WorkArea were resized. Now
14303         return the dimensions of the entire WorkArea.
14304
14305         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14306
14307 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14308
14309         * LaTeX.C (deplog): correct the syntax of regex reg1
14310
14311 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14312
14313         * undo.C: remove !NEW_INSETS cruft
14314
14315 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14316
14317         * text2.C: remove !NEW_INSETS cruft
14318
14319         * text.C: remove !NEW_INSETS cruft
14320
14321         * tabular.C: remove !NEW_INSETS cruft
14322
14323         * spellchecker.C: remove !NEW_INSETS cruft
14324
14325         * lyxtext.h: remove !NEW_INSETS cruft
14326
14327         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14328
14329         * lyxfunc.C: remove !NEW_INSETS cruft
14330
14331         * lyxfind.C: remove !NEW_INSETS cruft
14332
14333         * lyx_cb.C: remove !NEW_INSETS cruft
14334
14335         * figureForm.C: remove  !NEW_INSETS cruft
14336
14337         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14338
14339         * buffer.[Ch]: remove !NEW_INSETS cruft
14340
14341         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14342
14343         * CutAndPaste.C: remove !NEW_INSETS cruft
14344
14345         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14346
14347         * BufferView2.C: remove !NEW_INSETS cruft
14348
14349         * BufferView.h: remove !NEW_INSETS cruft
14350
14351 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14352
14353         * Lsstream.h: include LString.h before the sstream headers to
14354         fix problem with gcc 2.95.3 and lyxstring
14355
14356 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * lyx_main.C: add using directives when needed for C functions
14359         declared in std:: namespace.
14360
14361 2001-04-27  Juergen Vigna  <jug@sad.it>
14362
14363         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14364         (SetHeightOfRow): comment out the update call should not be needed!
14365
14366 2001-04-13  Juergen Vigna  <jug@sad.it>
14367
14368         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14369         (LyXTabular): tried to minimize operator= operations (and realized
14370         hopfully Lars wish).
14371
14372 2001-04-27  Juergen Vigna  <jug@sad.it>
14373
14374         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14375
14376 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14377
14378         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14379
14380         * buffer.C (readInset): hack to make listof algorithm work
14381
14382         * BufferView_pimpl.C: hack to make listof algorithm work
14383
14384 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * LyXAction.C: removed all !NEW_INSETS cruft
14387         (init): moved lfun_item in method
14388
14389         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14390
14391 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14392
14393         * BufferView2.C (theLockingInset): white space.
14394
14395 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14396
14397         * minibuffer.C: include <iostream>
14398
14399         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14400
14401         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14402
14403         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14404
14405         * text.[Ch] (TransposeChars): new method
14406
14407 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * call message directly through LyXView instead of through LyXFunc
14410         * BufferView2.C: adjust
14411         * BufferView_pimpl.C: adjust
14412         * FontLoader.C: adjust
14413         * buffer.C: adjust
14414         * bufferview_funcs.C: adjust
14415         * converter.C: adjust
14416         * figureForm.C: adjust
14417         * importer.C: adjust
14418         * lyx_cb.C: adjust
14419         * lyx_gui_misc.C: adjust
14420         * lyxfunc.C: adjust
14421         * lyxvc.C: adjust
14422         * text2.C: adjust
14423         + more files in subdirs
14424
14425         * lyxparagraph.h (size): move up int file
14426         (GetLayout): ditto
14427
14428         * adjust all uses of Assert to lyx::Assert.
14429
14430         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14431         lyxfunctional in namespace lyx
14432         * layout.C (hasLayout): ditto
14433         (GetLayout): ditto
14434         (GetLayout): ditto
14435         (delete_layout): ditto
14436         (NumberOfClass): ditto
14437         * converter.C (GetFormat): ditto
14438         (GetNumber): ditto
14439         (Add): ditto
14440         (Delete): ditto
14441         (SetViewer): ditto
14442         * bufferlist.C (getFileNames): ditto
14443         (emergencyWriteAll): ditto
14444         (exists): ditto
14445         (getBuffer): ditto
14446         * MenuBackend.C (hasSubmenu): ditto
14447         (hasMenu): ditto
14448         (getMenu): ditto
14449         * BufferView_pimpl.C (getInsetByCode): ditto
14450
14451 2001-04-18  Juergen Vigna  <jug@sad.it>
14452
14453         * vspace.C (asLatexString): fixed the 100% problem.
14454
14455 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14456
14457         * lyxfunc.C (Dispatch):
14458         * minibuffer.C:
14459         * minibuffer.h: add a few std:: qualifiers
14460
14461 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * minibuffer.[Ch]: reimplement so that commands is initiated and
14464         run from lyxfunc, simplified som handling, and made the completion
14465         and history code for complete. wip.
14466
14467         * lyxfunc.C (processKeySym): call message
14468         (miniDispatch): new temporary method
14469         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14470         (LFUN_MESSAGE): implement
14471         (LFUN_MESSAGE_PUSH): implement
14472         (LFUN_MESSAGE_POP): implement
14473         (initMiniBuffer): the initial/defualt minibuffer message.
14474
14475         * lyxfont.[Ch]: inline some more getters
14476
14477         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14478
14479         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14480
14481         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14482         (AutoSave): use LFUN_MESSAGE
14483         (Reconfigure): ditto
14484
14485         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14486
14487         * figureForm.C: use LFUN_MESSAGE
14488
14489         * converter.C (runLaTeX): use LFUN_MESSAGE
14490
14491         * bufferview_funcs.C: use LFUN_MESSAGE
14492         (Melt): ditto
14493         (changeDepth): ditto
14494
14495         * bufferparams.h: use boost::
14496
14497         * bufferlist.h: inherit privately from noncopyable
14498
14499         * bufferlist.C (loadLyXFile): remove some commented code.
14500
14501         * buffer.C (runChktex): use LFUN_MESSAGE
14502
14503         * ShareContainer.h: inherit privately from noncopyable
14504
14505         * ParagraphParameters.[hC] (depth): inline it.
14506
14507         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14508         methods.
14509         (message): new method
14510         (messagePush): ditto
14511         (messagePop): ditto
14512         (show): init minibuffer
14513         (showState): direct call
14514
14515         * LaTeX.[Ch]: inherit privately from noncopyable
14516         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14517         instead of WriteStatus.
14518
14519         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14520
14521         * BufferView_pimpl.C (buffer): don't init minibuffer
14522         (workAreaButtonPress): use LFUN_MESSAGE
14523         (workAreaButtonRelease): ditto
14524         (savePosition): ditto
14525         (restorePosition): ditto
14526         (MenuInsertLyXFile): ditto
14527         (workAreaExpose): don't init minibuffer
14528         (update): remove commented code, simplify
14529
14530         * BufferView2.C (openStuff): use LFUN_MESSAGE
14531         (toggleFloat): ditto
14532         (menuUndo): ditto
14533         (menuRedo): ditto
14534         (copyEnvironment): ditto
14535         (pasteEnvironment): ditto
14536         (copy): ditto
14537         (cut): ditto
14538         (paste): ditto
14539         (gotoInset): ditto
14540         (updateInset): remove some commented code
14541
14542         * lastfiles.h: inherit privately from noncopyable
14543         * layout.h: ditto
14544         * lyx_gui.h: ditto
14545         * lyx_main.h: ditto
14546         * lyxlex.h: ditto
14547         * lyxlex_pimpl.h: ditto
14548
14549         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14550         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14551         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14552
14553         * LyXAction.h: inherit privately from noncopyable, add methods
14554         func_begin, func_end, returning iterators to the func map.
14555
14556         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14557         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14558         (func_begin): new method
14559         (func_end): new method
14560
14561         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14562         and not)
14563         (copySelection): ditto
14564         (pasteSelection): ditto
14565
14566         * BufferView.C: whitespace change
14567         * BufferView.h: inherit privately from noncopyable
14568
14569 2001-04-16  Allan Rae  <rae@lyx.org>
14570
14571         * tabular-old.C (l_getline):
14572         * spellchecker.C (sc_check_word):
14573         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14574         an unrecognised preprocessor directive.  So ensure they're wrapped.
14575
14576 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14577
14578         * src/exporter.C (Export): Give an error message when path to file
14579         contains spaces.
14580
14581 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14582
14583         * LaTeX.C (deplog): Always check that foundfile exists.
14584
14585 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14586
14587         * lyx_main.h:
14588         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14589
14590 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14591
14592         * tabular.[Ch] (getLabelList): implement new method
14593
14594         * minibuffer.h: comment ouf setTiimer
14595
14596         * minibuffer.C (ExecutingCB): constify res
14597         (peek_event): constify s
14598         (Set): constify ntext
14599         (Init): constify nicename
14600
14601         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14602
14603         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14604         (savePosition): use two params to Minibuffer::Set
14605         (restorePosition): ditto
14606
14607 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * lyx_main.C: include language.h
14610
14611         * Makefile.am (lyx_main.o): add language.h
14612
14613 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * exporter.C:
14616         * paragraph.C:
14617         * screen.C:
14618         * tabular.C:
14619         * CutAndPaste.C: include gettext.h
14620
14621         * lyxfont.h: remove old hack with ON and OFF.
14622
14623         * lyxparagraph.h:
14624         * lyxfont.h: do not include language.h...
14625
14626         * BufferView2.C:
14627         * LaTeXFeatures.C:
14628         * Painter.C:
14629         * bufferview_funcs.C:
14630         * font.C:
14631         * lyxfont.C:
14632         * text.C:
14633         * text2.C:
14634         * trans_mgr.C:
14635         * paragraph.C: ... but do it here instead
14636
14637 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14638
14639         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14640
14641         * tabular.C: small reformat
14642
14643         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14644         NEW_INSETS version
14645         (GetChar): ditto
14646         (BreakParagraph): ditto
14647         (SetOnlyLayout): ditto
14648         (SetLayout): ditto
14649
14650         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14651         with one arg less.
14652
14653         * lastfiles.C: removed most using decl, add std:: where needed
14654
14655         * buffer.C: ws changes
14656
14657         * MenuBackend.C (class compare_format): put into anon namespace
14658         (expand): constify label, names, action, action2
14659         (expand):
14660
14661         * text.C (SingleWidth): constify font
14662         (IsBoundary): constify rtl2
14663         (GetVisibleRow): constify ww
14664
14665         * LaTeX.C (deplog): constify logfile
14666
14667         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14668         start_x, end_x
14669         (workAreaExpose): constify widthChange, heightChange
14670
14671         * lyxrow.C (par): moved
14672         (height): moved
14673         (next): moved
14674         * lyxrow.h: as inlines here
14675
14676         * lyxfont.h (shape): moved from lyxfont.C
14677         (emph): moved from lyxfont.C
14678
14679         * lyxfont.C (LyXFont): use initialization list for all
14680         constructors
14681         (shape): move to lyxfont.h as inline
14682         (emph): move to lyxfont.h as inline
14683
14684
14685 2001-04-04  Juergen Vigna  <jug@sad.it>
14686
14687         * vspace.C: had to include stdio.h for use of sscanf
14688
14689 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14690
14691         * BufferView.h:
14692         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14693         independent of xforms.
14694
14695 2001-04-02  Juergen Vigna  <jug@sad.it>
14696
14697         * spellchecker.C: fixed namespace placing!
14698
14699 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14700
14701         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14702         the LyXParagraph * is 0.
14703
14704 2001-03-29  Juergen Vigna  <jug@sad.it>
14705
14706         * vspace.C: added support for %, c%, p%, l%.
14707         (stringFromUnit): added helper function.
14708         (asLatexString): changed to give right results for the %-values.
14709
14710         * buffer.C: convert the widthp in a width%.
14711
14712 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14713
14714         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14715         figureForm.[Ch].
14716
14717         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14718         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14719
14720         * lyx_cb.[Ch]: see above.
14721
14722         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14723         form1.[Ch].
14724
14725         * form1.[Ch]:
14726         * lyx.[Ch]: replaced by figure_form.[Ch].
14727
14728         * lyx_gui.C:
14729         * lyx_gui_misc.C:
14730         * lyxfunc.C: changed headers associated with above changes.
14731
14732 2001-03-27  Juergen Vigna  <jug@sad.it>
14733
14734         * BufferView_pimpl.C: set the temporary cursor right!
14735
14736 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14737
14738         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14739
14740 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14741
14742         * LString.h: removed "using std::getline"!
14743
14744         * BufferView_pimpl.C (Dispatch): changes due to changes in
14745         InsetInclude::Params.
14746
14747         * buffer.C (tag_name): removed redundant break statements as they were
14748         producing lots of warnings with my compiler.
14749
14750 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14751
14752         * LString.h: add "using std::getline" when using the real <string>.
14753
14754 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14755
14756         * buffer.C: removed bitset usage.
14757         PAR_TAG moved to an anonymous name space.
14758         (tag_name): new funtion, also in the anonymous namespace.
14759         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14760         (makeDocBookFile): clean code. Completed transition from string arrays
14761         to string vectors.
14762         (SimpleDocBookOnePar): code clean.
14763
14764 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14765
14766         * tabular.C: add some comments.
14767
14768 2001-03-22  Juergen Vigna  <jug@sad.it>
14769
14770         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14771         compatibility read a bit and fixed bug with minipage in different
14772         depth.
14773
14774 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14775
14776         * buffer.C (pop_tag): removed.
14777         (push_tag): removed.
14778         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14779         array replaced with vector. Added support for CDATA sections.
14780         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14781         at any nest level.
14782         (makeDocBookFile): XML conformant declaration of CDATA section,
14783         fixed bug related to <emphasis> in the first paragraph char.
14784         (sgmlOpenTag): exclude empty tags.
14785         (sgmlCloseTag): ditto.
14786
14787         * buffer.h (pop_tag): removed.
14788         (push_tag): removed.
14789
14790 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14791
14792         * language.h (Languages): added size_type and size().
14793
14794 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14795
14796         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14797         response on compability reading of minipages. One probliem is that
14798         the old usage of minipages was «flertydig»
14799
14800         * several files here and in subdirs: don't use static at file
14801         scope use anon namespaces instead.
14802
14803 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14804
14805         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14806         LaTeX output. This is necessary for Literate document
14807         processing.
14808
14809 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14810
14811         * buffer.C: insert hfill when needed.
14812
14813         * tabular.C (l_getline): use string::erase, small whitespace change.
14814
14815         * BufferView_pimpl.C: try the anon namespace.
14816         * WorkArea.C: ditto
14817
14818 2001-03-16  Juergen Vigna  <jug@sad.it>
14819
14820         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14821         otherwise it won't open options-dialogs.
14822
14823         * buffer.C: honor pextraWidth(p) on converting minipages.
14824
14825         * tabular.C (l_getline): changed the functions to strip trailing \r.
14826
14827 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14828
14829         * BufferView_pimpl.C:
14830         * minibuffer..C: added "using SigC::slot" declaration.
14831
14832 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14833
14834         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14835
14836         * text2.C: ditto
14837
14838         * text.C: ditto
14839
14840         * paragraph.C: ditto
14841
14842         * lyxtext.h: NO_PEXTRA
14843
14844         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14845
14846         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14847         * ParameterStruct.h: ditto
14848         * ParagraphParameters.h: ditto
14849         * lyxparagraph.h: ditto
14850
14851 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14852
14853         * buffer.C: add compability for minipage alignment.
14854         (latexParagraphs): remove unwanted pextra check.
14855
14856         * several files: remove CXX_WORKING_NAMESPACES
14857
14858         * buffer.C (pop_tag): tie is in namespace boost
14859
14860         * BufferView.h: noncopyable is in namespace boost
14861         * lyxlex.h: ditto
14862         * lyx_main.h: ditto
14863         * lyx_gui.h: ditto
14864         * layout.h: ditto
14865         * lastfiles.h: ditto
14866         * bufferlist.h: ditto
14867         * ShareContainer.h: ditto
14868         * LyXView.h: ditto
14869         * LyXAction.h: ditto
14870         * LaTeX.h: ditto
14871
14872 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14873
14874         * Merging changes from BRANCH_MVC back into HEAD.
14875
14876         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14877
14878 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14879
14880         * BufferView_pimpl.C: change from intl.C
14881
14882         * combox.h:
14883         * combox.C:
14884         * Makefile.am: move combox.*
14885
14886         * form1.h:
14887         * form1.C:
14888         * lyx_gui.C:
14889         * intl.h:
14890         * intl.C: remove dialog (covered by prefs)
14891
14892 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14893
14894         * lyxfunc.C (Dispatch): removed redundant break statement.
14895
14896 2001-03-14  Juergen Vigna  <jug@sad.it>
14897
14898         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14899
14900 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14901
14902         * buffer.C: add hack to fix compability reading of minipages.
14903
14904 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14905
14906         * buffer.C (getLists): Cleanup.
14907
14908 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14909
14910         * lyxfont.C (update): don't honor toggleall on font size.
14911
14912 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * bmtable.c:
14915         * bmtable.h:
14916         * Makefile.am: moved to frontends/xforms/
14917
14918         * lyx_gui_misc.C:
14919         * lyxfunc.C:
14920         * BufferView_pimpl.C: changes for moved mathpanel
14921
14922 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14923
14924         * gettext.h: fix gettext_init() in --disable-nls
14925
14926 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14927
14928         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14929
14930 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14931
14932         * lyx.C:
14933         * lyx.h: strip external form
14934
14935 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * BufferView_pimpl.C: add comment, destroySplash()
14938
14939 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14940
14941         * BufferView_pimpl.C:
14942         * LyXAction.C:
14943         * buffer.C:
14944         * commandtags.h:
14945         * lyxfunc.C: use re-worked insetinclude
14946
14947 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14948
14949         * buffer.C: add using std::stringstream.
14950
14951         * lyx_cb.C: readd using std::ios.
14952
14953         * buffer.C: add using std::map.
14954
14955         * BufferView_pimpl.C: add using std::vector.
14956
14957         * ShareContainer.h: add std:: to swap.
14958
14959         * buffer.h: add some typedefs
14960         * buffer.C (getLists): use them
14961         (getLists): renamed from getTocList.
14962         add a counter for the different float types and use it in the
14963         generated string.
14964         (getLists): use the same counter for the NEW_INSETS and the "non"
14965         NEW_INSETS
14966
14967         * lyx_cb.h: remove unused items, includes, using etc.
14968
14969         * ShareContainer.h: remove some commented code, add more comments
14970         and "documentation".
14971
14972 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14973
14974         * buffer.C (getTocList): make the list also when NEW_INSETS is
14975         defined.
14976
14977         * buffer.h: remove TocType
14978
14979         * buffer.C (getTocList): change to return a map<string,
14980         vector<TocItem> >, implement for dynamic number of list.
14981
14982         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14983         * text2.C (PasteSelection): adjust
14984         * CutAndPaste.C (pasteSelection): adjust
14985
14986         * FloatList.C (FloatList): update from the new_insets branch.
14987         * Floating.[Ch]: ditto
14988         * LaTeXFeatures.C: ditto
14989         * buffer.C: ditto
14990         * lyxlex_pimpl.C: ditto
14991
14992         * paragraph.C (Last): remove when NEW_INSETS is defined.
14993
14994         * other file: changes because of the above.
14995
14996 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14997
14998         * lyxparagraph.h: rename next to next_, previous to previous_,
14999         make them private for NEW_INSETS. Rename Next() to next(),
15000         Previous() to previous().
15001
15002         * other files: changes because of the above.
15003
15004 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15005
15006         * BufferView.h:
15007         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15008         problem.
15009
15010 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15011
15012         * main.C (main): pass lyx_localedir to gettext_init().
15013
15014         * gettext.h: remove locale_init and gettext_init macros
15015
15016         * gettext.C (locale_init): new function
15017         (gettext_init): new function
15018
15019         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15020         setlocale().
15021
15022 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15023
15024         * Moved credits to frontends:
15025         * credits.[Ch]: removed
15026         * credits_form.[Ch]: removed
15027         * lyx_gui_misc.C: remove credits stuff
15028         * Makefile.am:
15029
15030 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15031
15032         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15033
15034         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15035         unneeded destructor.
15036
15037         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15038         a standalone pointer again.
15039
15040         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15041
15042 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15043
15044         * Makefile.am:
15045         * filedlg.h:
15046         * filedlg.C:
15047         * LyXAction.C:
15048         * ToolbarDefaults.C:
15049         * bufferlist.C:
15050         * commandtags.h:
15051         * form1.C:
15052         * form1.h:
15053         * lyx_cb.C:
15054         * lyx_cb.h:
15055         * lyxfunc.h:
15056         * lyxfunc.C:
15057         * BufferView_pimpl.C: use new file dialog in GUII
15058
15059         * lyx_cb.h:
15060         * lyx_cb.C: remove LayoutsCB to Toolbar
15061
15062 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * ShareContainer.h (get): add std:: qualifier
15065
15066 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * ShareContainer.h: define a proper ShareContainer::value_type
15069         type (and use typename to please compaq cxx)
15070
15071 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15072
15073         * lyxparagraph.h: move serveral local vars to
15074         ParameterStruct/ParagraphParameters., use ShareContainer in
15075         FontTable., make vars in FontTable private and add getter and
15076         setter.
15077
15078         * paragraph.C: changes because of the above.
15079
15080         * lyxfont.h: remove copy constructor and copy assignment. (the
15081         default ones is ok), move number inside FontBits. move inlines to
15082         lyxfont.C
15083
15084         * lyxfont.C: add number to initializaton of statics, move several
15085         inlines here. constify several local vars. some whitespace
15086         cleanup. Dont hide outerscope variables.
15087
15088         * Spacing.h: add two new constructors to match the set methods.
15089
15090         * ShareContainer.h: new file, will perhaps be moved to support
15091
15092         * ParameterStruct.h: new file
15093
15094         * ParagraphParameters.h: new file
15095
15096         * ParagraphParameters.C: new file
15097
15098         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15099         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15100
15101         * BufferView_pimpl.C: ParagraphParameter changes.
15102         * buffer.C: Likewise.
15103         * bufferview_funcs.C: Likewise.
15104         * text.C: Likewise.
15105         * text2.C: Likewise.
15106
15107 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15108
15109         * lyxfind.C (LyXReplace): do not redefine default argument in
15110         implementation.
15111         (IsStringInText): ditto
15112         (SearchForward): ditto
15113         (SearchBackward): ditto
15114
15115 2001-03-06  Juergen Vigna  <jug@sad.it>
15116
15117         * lyxfind.C (IsStringInText): put parentes around expressions.
15118
15119 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15120
15121         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15122
15123 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15126
15127         * stl_string_fwd.h: add comment
15128
15129         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15130
15131         * tabular.h:
15132         * tabular.C: remove unused DocBook methods
15133
15134         * intl.C:
15135         * language.C:
15136         * paragraph.C:
15137         * buffer.C:
15138         killed DO_USE_DEFAULT_LANGUAGE
15139
15140 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * lyx_gui.C: do not include language.h.
15143
15144         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15145         arguments in function implementation.
15146
15147 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15148
15149         * BufferView_pimpl.C: add <ctime>
15150
15151 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15152
15153         * BufferView_pimpl.C: add using std::find_if
15154
15155 2001-02-27  José Matos  <jamatos@fep.up.pt>
15156
15157         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15158         by OnlyPath.
15159
15160 2001-02-11  José Matos  <jamatos@fep.up.pt>
15161
15162         * buffer.C (makeDocBookFile): command styles now have a parameter as
15163         "title" by default.
15164
15165 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15166
15167         * layout_forms.[Ch]: removed
15168         * lyx_cb.[Ch]: out character
15169         * lyx_gui.C: out character
15170         * lyx_gui_misc.C: out character
15171         * bufferview_funcs.C: : out character,
15172         added toggleall as parameter in ToggleAndShow
15173
15174 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15175
15176         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15177
15178         * text2.C (SetCurrentFont): Disable number property at boundary.
15179
15180 2001-02-26  Juergen Vigna  <jug@sad.it>
15181
15182         * lyxfunc.C (getStatus): added a string argument override function so
15183         that this is correctly called from LyXFunc::Dispatch if it contains a
15184         do_not_use_argument which is used!
15185         (Dispatch): added check for "custom" export and call appropriate func.
15186
15187 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15188
15189         * lyxrc.C: Add language_command_local, language_use_babel and
15190         language_global_options.
15191
15192         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15193
15194         * buffer.C (makeLaTeXFile): Use language_use_babel and
15195         language_global_options.
15196
15197 2001-02-23  Juergen Vigna  <jug@sad.it>
15198
15199         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15200         which works with LyXText and putted it inside BufferView. Here now we
15201         only call for that part the BufferView::Dispatch() function.
15202
15203         * BufferView.C (Dispatch): added.
15204
15205         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15206         functions which needs to use a LyXText over from LyXFunc.
15207         (MenuInsertLyXFile): added
15208         (getInsetByCode): added
15209         (moveCursorUpdate): added
15210         (static TEXT): added
15211
15212 2001-02-22  Juergen Vigna  <jug@sad.it>
15213
15214         * BufferView_pimpl.C (update): call a status update to see if LyXText
15215         needs it.
15216
15217 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15218
15219         * vc-backend.C (revert): implement for CVS
15220         (getLog): implement for CVS
15221
15222 2001-02-20  Juergen Vigna  <jug@sad.it>
15223
15224         * text2.C (ClearSelection): added BufferView param for inset_owner call
15225
15226         * lyxfunc.C (TEXT): added this function and use it instead of
15227         directly owner->view()-text of getLyXText().
15228
15229 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15230
15231         * src/layout_forms.C: out preamble
15232         * src/layout_forms.h: out preamble
15233         * src/lyx_cb.C: out preamble
15234         * src/lyx_cb.h: out preamble
15235         * src/lyx_gui.C: out preamble
15236         * src/lyx_gui_misc.C: out preamble
15237         * src/lyxfunc.C: connect with guii preamble
15238
15239 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15240
15241         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15242
15243 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15244
15245         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15246         whether to run bibtex.
15247
15248 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15249
15250         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15251
15252 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15253
15254         * Makefile.am (lyx_SOURCES): removed bibforms.h
15255
15256         * vspace.h: doxygen
15257
15258         * text.C (GetVisibleRow): make several local vars const
15259
15260         * tabular.C: small cleanup.
15261
15262         * lyxserver.C (callback): use compare instead of strncmp
15263
15264         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15265         inlines to after class or to paragraph.C
15266
15267         * lyxfont.h: remove friend operator!=
15268
15269         * converter.h: move friend bool operator< to non friend and after
15270         class def.
15271
15272         * combox.h: small cleanup
15273
15274         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15275         to inlines after class def.
15276
15277         * buffer.C (pop_tag): use string operations instead of strcmp
15278
15279         * bmtable.c: doxygen, small cleanup
15280
15281         * LaTeX.h: remove friend operator==
15282
15283 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15284
15285         * screen.C:
15286         * lyxrc.[Ch]:
15287         * lyxfunc.C:
15288         * lyxfont.[Ch]:
15289         * lyx_cb.C:
15290         * intl.[Ch]:
15291         * commandtags.h:
15292         * buffer.C:
15293         * WorkArea.[Ch]:
15294         * LyXAction.C:
15295         * BufferView_pimpl.C:
15296         * BufferView.[Ch]: remove cruft
15297
15298 2001-02-14  Juergen Vigna  <jug@sad.it>
15299
15300         * lyxfunc.C: removed #if 0 unused code
15301
15302         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15303
15304         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15305
15306         * text2.C (SetSelection): added a BufferView * parameter
15307
15308 2001-02-13  Juergen Vigna  <jug@sad.it>
15309
15310         * lyxfunc.C (Dispatch): fixed protected blank problem.
15311         * BufferView2.C (protectedBlank): added LyxText * parameter.
15312
15313         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15314         (AppendColumn): same as above for column_info.
15315
15316         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15317         (moveCursorUpdate): use a LyXText param for support of InsetText.
15318
15319         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15320         (tripleClick): ditto
15321
15322         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15323
15324         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15325
15326         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15327
15328         * text2.C (SetSelection): set correct update status if inset_owner
15329         (ToggleFree): ditto
15330
15331 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15332
15333         * tabular.C: remove some commented code.
15334
15335 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15336
15337         * BufferView_pimpl.C: call hideSplash()
15338
15339         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15340
15341         * include_form.h:
15342         * bibforms.h: remove
15343
15344         * lyxfunc.C:
15345         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15346           add LFUN_CHILD_CREATE
15347
15348         * counters.h: fix tiny typo
15349
15350         * lyx_cb.C:
15351         * lyx.h:
15352         * lyx_gui.C:
15353         * lyx.C: move splash to frontends/xforms/
15354
15355         * lyx_gui_misc.C: move Include and Bibform to frontends
15356
15357         * lyxvc.h: clarify comment
15358
15359         * vspace.C: tiny housekeeping
15360
15361 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15362
15363         * text.C (PrepareToPrint): RTL Fix.
15364
15365         * paragraph.C (GetUChar): New method.
15366         (String):  Use GetUChar.
15367
15368         * buffer.C (asciiParagraph): Use GetUChar.
15369
15370 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15371
15372         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15373
15374 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15375
15376         * buffer.h:
15377         * buffer.C: rename to getLogName(), handle
15378           build log / latex log nicely
15379
15380 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15381
15382         * MenuBackend.C:
15383         * MenuBackend.h: remove support for reference menuitem type.
15384
15385 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15386
15387         * BufferView_pimpl.C: housekeeping
15388         * BufferView_pimpl.h:
15389         * LyXView.h:
15390         * Makefile.am:
15391         * Timeout.C:
15392         * Timeout.h:
15393         * minibuffer.h: move Timeout GUI-I
15394
15395 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15396
15397         * lyxrc.C (read): Update converters data-structures.
15398
15399 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15400
15401         * LaTeX.h (operator!=): add operator != for Aux_Info
15402
15403 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15404
15405         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15406
15407         * LaTeXLog.C: deleted, useful code moved to Buffer
15408
15409         * buffer.h:
15410         * buffer.C: new function getLatexLogName()
15411
15412         * lyx_gui_misc.C:
15413         * lyx_gui.C:
15414         * lyxvc.C:
15415         * lyxvc.h:
15416         * lyxfunc.C: use frontends for LaTeX and VC logs
15417
15418 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15419
15420         * LaTeX.h: yet another std:: that Allan forgot.
15421
15422         * Variables.C (set): renamed from isset(), because this clashes
15423         with some HP-UX macros (grr).
15424
15425 2001-02-06  Allan Rae  <rae@lyx.org>
15426
15427         * LaTeX.h: Another bug fix.  Missing std:: this time.
15428
15429 2001-02-04  Allan Rae  <rae@lyx.org>
15430
15431         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15432         floats problem. I've left it commented out because it's not quite
15433         correct.  It should also test that the current object is a table or
15434         figure inset.  But I haven't gotten around to figuring out how to do
15435         that.  I *think* it'll be something like: "table" == inset.type()
15436
15437         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15438         bool.
15439
15440 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15441
15442         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15443         all the citation/databases/styles in the auxilary file.
15444         (run): Rerun latex if there was a babel language error.
15445
15446 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15447
15448         * text.C (Backspace): Preserve the font when changing newline char
15449         with a space.
15450         (BreakParagraph): If the cursor is before a space, delete the space.
15451
15452         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15453
15454 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15455
15456         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15457         new argument (code).
15458         (ChangeCitationsIfUnique): New method.
15459
15460         * paragraph.C (GetPositionOfInset): Handle bibkey.
15461
15462 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * BufferView_pimpl.h: change type of Position::par_pos to
15465         LyXParagraph::size_type.
15466
15467 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15468
15469         * BufferView_pimpl.C (savePosition, restorePosition): Write
15470         messages to minibuffer.
15471
15472 2001-01-28  José Matos  <jamatos@fep.up.pt>
15473
15474         * buffer.C (makeDocBookFile): adds support for document language.
15475         A silly restriction on the name of LatexCommand types where removed.
15476         Added support for CDATA sections, allows to chars unescaped, used
15477         among others in code, to avoid escape < and >.
15478
15479 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15480
15481         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15482         saved positions instrad of a stack. Furthermore, a position is
15483         stored using paragraph id/paragraph position.
15484
15485         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15486         Remove LFUN_REF_BACK.
15487
15488 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15489
15490         * converter.C (dvipdfm_options): New method.
15491
15492 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15493
15494         * vspace.C (isValidLength): Fix for empty input string.
15495
15496 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * LyXAction.C (init): change description of LFUN_FIGURE to
15499         "Insert Graphics"
15500
15501 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * LaTeX.C: add using directive
15504
15505 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15506
15507         * MenuBackend.C (expand): Fix the sorting of the formats.
15508
15509 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15510
15511         * lyx_main.C: tiny error message fix
15512
15513 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15516         calling fl_initialize(). This fixes the problem with ',' as
15517         decimal separator in text files.
15518
15519 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15520
15521         * trans.C (process): Fix the keymap bug.
15522
15523 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15524
15525         * LaTeX.C (scanAuxFiles): New method. Provides support for
15526         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15527         (scanLogFile) Scan for "run BibTeX" messages.
15528
15529         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15530         OT1 font encoding. Also, load the aecompl package if the ae
15531         package is loaded.
15532
15533         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15534
15535 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15536
15537         * texrow.C (increasePos): turn two error messages into debug
15538         messages.
15539
15540 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * LaTeX.C (scanAux): Handle the \@input macro.
15543         (runBibTeX): Use scanAux().
15544
15545         * language.C (latex_options_): New field.
15546
15547         * LaTeXFeatures.C (getMacros): Add language macros.
15548
15549         * buffer.C (makeLaTeXFile): Small fix.
15550
15551 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15552
15553         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15554
15555         * text2.C: add a using directive.
15556
15557 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15558
15559         * BufferView2.C:
15560         * lyx_gui_misc.h:
15561         * lyxfr1.C:
15562         * lyxfunc.C: kill LyXBell.
15563
15564 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15565
15566         * text.C (IsBoundary): Remove the error message
15567
15568         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15569
15570         * lyxrc.C (setDefaults): Correct initialization value for
15571         font_norm_type.
15572
15573 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15574
15575         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15576         gotoError().
15577
15578         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15579         and GotoNextNote().
15580
15581         * src/LyXAction.C: Added reference-next.
15582
15583         * text.C (InsertChar): Use contains instead of strchr.
15584
15585         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15586
15587 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15588
15589         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15590         alignment commands (when needed).
15591
15592         * text.C (InsertChar): Add ':' to number separator chars.