]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e5c9c3db694f7eb75a317b44845db02de9436145
[lyx.git] / src / ChangeLog
1 2004-05-13  José Matos  <jamatos@lyx.org>
2
3         * converter.h:
4         * converter.C (Converter, readFlags): add xml member.
5         * outputparams.h: add XML flavor.
6         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
7
8 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9
10         * lyxfunc.C (dispatch): 
11         (getStatus): fix handling of LFUN_SEQUENCE
12
13 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * debug.C (showLevel): do not forget the end-of-line marker
16
17 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * kbmap.C (read): do not stop parsing a bind file when an error
20         occurs (bug 1575)
21
22 2004-04-29  Angus Leeming  <leeming@lyx.org>
23
24         * cursor.C:
25         * factory.C:
26         * pariterator.C:
27         * text2.C: wrap a bunch of #warning statements
28         inside #ifdef WITH_WARNINGS blocks.
29
30 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
31
32         * buffer.C: increment format to 233.
33
34 2004-04-28  Angus Leeming  <leeming@lyx.org>
35
36         * BufferView_pimpl.C:
37         * lyxfunc.C:
38         * text3.C:
39         s/updateToolbar()/updateToolbars()/
40         s/Toolbar.h/Toolbars.h/
41
42 2004-04-28  Angus Leeming  <leeming@lyx.org>
43
44         * BufferView.[Ch] (c-tor):
45         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
46         No longer passes these data to the WorkArea generator.
47
48 2004-04-28  Angus Leeming  <leeming@lyx.org>
49
50         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
51
52 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
53
54         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
55
56 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
57
58         * output_latex.C (TeXEnvironment): make sure that there is a line
59         break before \end{foo} for the last paragraph of a document
60         (TeXOnePar): if the paragraph is at the end of the document (or
61         inset) and the language has to be reset, then make sure that the
62         line break is _before_ the language command, not after (fixes bug
63         1225); also make sure that the language reset command is the first
64         thing after the paragraph (to ensure proper nesting of
65         environments and thus fix bug 1404)
66
67 2004-04-21  John Levon  <levon@movementarian.org>
68
69         * ToolbarBackend.h:
70         * ToolbarBackend.C: make "name" be a programmatic name
71         and a gui_name field.
72
73         * lyxfunc.C: display the minibuffer on M-x
74
75 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
78         (bug 1526)
79
80 2004-04-19  Angus Leeming  <leeming@lyx.org>
81
82         * BufferView_pimpl.C (setBuffer): changed preview interface.
83
84         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
85         possible values.
86
87 2004-04-19  John Levon  <levon@movementarian.org>
88
89         * BufferView_pimpl.C:
90         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
91
92 2004-04-05  Angus Leeming  <leeming@lyx.org>
93
94         * text.C (redoParagraphs): add call to updateCounters(), thereby
95         fixing the missing "Figure #:" label from the caption of a
96         figure float.
97
98 2004-04-13  Angus Leeming  <leeming@lyx.org>
99
100         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
101         cursor is clicked out of an inset.
102
103 2004-04-13  Angus Leeming  <leeming@lyx.org>
104
105         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
106         than an InsetOld one.
107
108 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
109
110         * format.[Ch]: add editor to Format
111         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
112         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
113
114 2004-04-08  André Pönitz  <poenitz@gmx.net>
115
116         * metricsinfo.h: remove PainterInfo::width member
117
118 2004-04-08  Angus Leeming  <leeming@lyx.org>
119
120         * lyx_sty.C (boldsymbol_def): modify so that it outputs
121         "\providecommand" rather than "\newcommand", thereby preventing
122         clashes with packages that define "\boldsymbol" themselves.
123         Eg, beamer.
124
125 2004-04-08  Angus Leeming  <leeming@lyx.org>
126
127         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
128         thereby squashing an unnecessary warning.
129
130 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
131
132         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
133         setBuffer()
134
135 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
136
137         * BufferView.C (setCursor): call redoParagraph (some insets could
138         have been opened)
139         (putSelectionAt): remove the 'double update' trick
140
141         * BufferView_pimpl.C (fitCursor): call refreshPar
142         (workAreaDispatch): remove an uneeded update call
143         (dispatch): remove some manual update calls
144
145         * cursor.[Ch]: remove cached_y_, updatePos
146         (selHandle): set noUpdate when appropriate
147
148         * lyxfunc.C (dispatch): track if we need an update
149
150         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
151
152         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
153         (paintSelection): cheap optimization, do not call cursorX when not
154         needed
155         (paintPars): change signature
156         (refreshPar): add
157         (paintText): adjust
158         (paintTextInset): adjust
159
160         * text.C: adjust
161
162 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163
164         * lengthcommon.C: compilation fix: remove explicit array size from
165         unit_name[] and friends
166
167 2004-04-05  Angus Leeming  <leeming@lyx.org>
168
169         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
170
171         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
172         present only for the preferences dialog.
173         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
174
175 2004-04-05  Angus Leeming  <leeming@lyx.org>
176
177         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
178         to enable the frontends to export changes to lyxrc correctly.
179
180         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
181
182 2004-04-07  André Pönitz  <poenitz@gmx.net>
183
184         * cursor.[Ch] (selClear, adjust): remove math
185
186         * cursor_slice.C: more agressive assert
187
188         * lyxfunc.C:
189         * BufferView_pimpl.C: rework mouse event dispatch
190
191         * dociterator.C:
192         * paragraph.C:
193         * text2.C:
194         * text3.C: adjust
195
196 2004-04-05  André Pönitz  <poenitz@gmx.net>
197
198         * cursor.[Ch] (valign, halign...): remove unneeded functions
199
200 2004-04-05  Angus Leeming  <leeming@lyx.org>
201
202         * lyxlength.[Ch] (unit_name et al.): const-correct.
203
204 2004-04-05  Angus Leeming  <leeming@lyx.org>
205
206         * BufferView_pimpl.C:
207         * buffer.C:
208         * counters.C:
209         * cursor.C:
210         * lyxfunc.C
211         * paragraph.C:
212         * pariterator.C:
213         * text.C:
214         * text2.C:
215         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
216
217 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * text3.C (getStatus): add LFUN_BEGINNINGBUF
220
221 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
222
223         * lyxfind.C: add a couple of inTexted() tests + other small fixes
224         * BufferView_pimpl.[Ch] (getStatus)
225         * BufferView.[Ch] (getStatus): add
226         * lyxfunc.C (getStatus): move lfuns handled in
227         BufferView::dispatch to te function above
228         * Cursor.C (setSelection): set selection() = true
229
230 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
231
232         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
233
234 2004-03-31  Angus Leeming  <leeming@lyx.org>
235
236         * lyxfunc.C (dispatch): Fall through to the generic
237         Dialogs::show("preamble").
238
239 2004-03-31  Angus Leeming  <leeming@lyx.org>
240
241         * lyxfunc.C (dispatch): Fall through to the generic
242         Dialogs::show("spellchecker").
243
244 2004-03-31  Angus Leeming  <leeming@lyx.org>
245
246         * lyxfunc.C (getStatus, dispatch): changed invocation of the
247         preferences dialog.
248
249 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
250
251         * BufferView.C
252         * cursor.[Ch]
253         * dociterator.[Ch]:
254         * insetiterator.[Ch]:
255         * lyxfind.C:
256         * lyxfunc.C:
257         * pariterator.[Ch]:
258         * text2.C:
259         * undo.[Ch]: s/DocumentIterator/DocIterator/g
260
261 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
262
263         * BufferView.C (setCursor, putSelectionAt): call edit to open the
264         insets where we are putting the cursor.
265
266 2004-03-31  Angus Leeming  <leeming@lyx.org>
267
268         * lfuns.h:
269         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
270
271         * lyxrc.[Ch] (read, write): overloaded member functions taking
272         a std::[io]stream arguments.
273
274         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
275
276 2004-03-31  Angus Leeming  <leeming@lyx.org>
277
278         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
279         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
280
281         * lyxtextclass.C (load): if the text class couldn't be loaded, then
282         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
283
284 2004-03-31  Angus Leeming  <leeming@lyx.org>
285
286         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
287         the LFUN_ALL_INSETS_TOGGLE code.
288
289 2004-03-30  Angus Leeming  <leeming@lyx.org>
290
291         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
292         has died. Fall through to the generic Dialogs::show("document").
293
294 2004-03-30  Angus Leeming  <leeming@lyx.org>
295
296         * lfuns.h:
297         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
298         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
299
300         * lyxfunc.C (getStatus, dispatch): define the actions for these
301         lfuns. Little more than a cut and pste job from ControlDocument.C
302
303         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
304
305 2004-03-30  Angus Leeming  <leeming@lyx.org>
306
307         * lfuns.h:
308         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
309         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
310
311         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
312         open/closed state of ollapsable insets. Usage:
313
314         all-inset-toggle <state> <name>, where
315         <state> == "open" || "closed" || "toggle" and
316         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
317
318         * lyxtext.h, text2.C (toggleInset): removed.
319
320         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
321         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
322         now passes LFUN_INSET_TOGGLE to the found inset.
323
324         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
325         is now invoked as "all-insets-toggle toggle branch".
326
327 2004-03-30  Angus Leeming  <leeming@lyx.org>
328
329         * dociterator.C:
330         * insetiterator.C:
331         * pariterator.[Ch]: added/corrected header blurb.
332
333 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
334
335         * dociterator.[Ch]: add an inset_ member
336         (backwardPos): implemented
337         (backwardPos, forwardPos): use inset_ when the stack is empty.
338         (doc_iterator_begin, doc_iterator_end): implemented
339         * pariterator.[Ch]: adjust, add begin, end
340         * insetiterator.[Ch]: adjust, add begin, end
341         * cursor.C:
342         * document.C:
343         * BufferView.C:
344         * BufferView_pimpl.C:
345         * CutAndPaste.C: adjust
346
347 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
348
349         * buffer.C: increment file format to 232.
350         * LaTeXFeatures.C: add bibtopic package.
351         * bufferparams.[Ch]: param \use_bibtopic.
352
353         * lyxrc.[Ch]: add lyxrc bibtex_command
354         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
355
356         * buffer.C: increment file format to 231.
357
358 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
359
360         * dociterator.C: implement forwardPar
361         * iterators.[Ch]: remove, replaced by
362         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
363         * BufferView.C:
364         * BufferView_pimpl.C:
365         * CutAndPaste.C:
366         * buffer.C:
367         * bufferview_funcs.C:
368         * cursor.C:
369         * lyxfind.C
370         * lyxfunc.C
371         * paragraph_funcs.C
372         * toc.C:
373         * Makefile.am: adjust
374
375 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
376
377         * CutAndPaste.C (pasteSelection): fix 2 crashes
378         (eraseSelection): fix a crash
379         * paragraph_funcs.C: remove a warning
380
381 2004-03-28  Angus Leeming  <leeming@lyx.org>
382
383         * lfuns.h:
384         * LyXAction.C (init): new LFUN_PRINT.
385
386         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
387
388 2004-03-27  Angus Leeming  <leeming@lyx.org>
389
390         * lfuns.h:
391         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
392
393         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
394
395 2004-03-27  Angus Leeming  <leeming@lyx.org>
396
397         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
398         insetlist always contains non-null pointers to insets.
399
400 2004-03-26  Angus Leeming  <leeming@lyx.org>
401
402         * src/BufferView_pimpl.C:
403         * src/CutAndPaste.C:
404         * src/buffer.C:
405         * src/iterators.C:
406         * src/output_plaintext.C:
407         * src/outputparams.h:
408         * src/paragraph_funcs.C:
409         * src/rowpainter.C:
410         * src/text.C:
411         * src/text2.C:
412         * src/frontends/controllers/ControlErrorList.C:
413         * src/frontends/gtk/FileDialogPrivate.C:
414         * src/frontends/gtk/GPainter.C:
415         * src/frontends/gtk/GToolbar.C:
416         * src/frontends/qt2/QRef.C:
417         * src/mathed/math_scriptinset.C: squash compiler warnings.
418
419 2004-03-26  Angus Leeming  <leeming@lyx.org>
420
421         * ispell.C (LaunchIspell::start):
422         * lyx_cb.C (AutoSaveBuffer::start):
423         invoke run(DontWait) rather than runNonBlocking().
424
425 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
426
427         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
428
429 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * kbsequence.C (print): adjust
432
433         * kbmap.C (printKeySym): rename and change signature
434         (printKey): use LyXKeySym::print()
435
436 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
437
438         * undo.C: add using std::advance to compile for stlport
439
440 2004-03-24  Angus Leeming  <leeming@lyx.org>
441
442         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
443         it leads to a crash when no buffer is present.
444
445 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446             Martin Vermeer  <martin.vermeer@hut.fi>
447
448         * lyxfunc.C (dispatch):
449         * bufferparams.C (readToken): use the new LColor::setColor
450
451         * LColor.[Ch] (setColor): new version that takes two strings as
452         argument and creates a new color entry if necessary
453
454 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
455
456         * buffer.C (makeLaTeXFile): if the main latex file that is
457         processed is usually a subdocument of some master, then pretend
458         for a while that it is actually the master
459
460 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
461
462         * buffer.C (getLabelList):
463         (getBibkeyList): use getMasterBuffer()
464         (getMasterBuffer): new method. Returns the main document in the
465         case where one is using included documents.
466
467 2004-03-25  André Pönitz  <poenitz@gmx.net>
468
469         * Makefile.am:
470         * iterators.[Ch]:
471         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
472
473         * ParagraphList_fwd.h: change ParagraphList to a std::vector
474
475         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
476         text*.C over here. Rename namespace CutAndPaste to lyx::cap
477
478         * ParameterStruct.h: merge with ParagraphParameters
479
480         * lyxtext.h: remove LyXText::parOffset() and getPar()
481
482         * text3.C: Remove all 'manual' update calls. We do now one per user
483         interaction which is completely sufficient.
484
485         * Bidi.C:
486         * BufferView.[Ch]:
487         * BufferView_pimpl.C:
488         * FontIterator.[Ch]:
489         * MenuBackend.C:
490         * ParagraphParameters.[Ch]:
491         * buffer.C:
492         * buffer.h:
493         * bufferlist.C:
494         * cursor.[Ch]:
495         * cursor_slice.[Ch]:
496         * dociterator.[Ch]:
497         * errorlist.[Ch]:
498         * factory.C:
499         * lfuns.h:
500         * lyxfind.C:
501         * lyxfunc.C:
502         * output_docbook.[Ch]:
503         * output_latex.[Ch]:
504         * output_linuxdoc.[Ch]:
505         * output_plaintext.[Ch]:
506         * paragraph.[Ch]:
507         * paragraph_funcs.[Ch]:
508         * paragraph_pimpl.[Ch]:
509         * rowpainter.C:
510         * tabular.[Ch]:
511         * text.C:
512         * text2.C:
513         * toc.C:
514         * undo.[Ch]: adjust
515
516         * frontends/controllers/ControlDocument.C:
517         * frontends/controllers/ControlErrorList.C:
518         * frontends/controllers/ControlSpellchecker.C:
519         * insets/inset.C:
520         * insets/inset.h:
521         * insets/insetbase.h:
522         * insets/insetbibitem.C:
523         * insets/insetbox.C:
524         * insets/insetbranch.C:
525         * insets/insetcaption.C:
526         * insets/insetcharstyle.C:
527         * insets/insetcharstyle.h:
528         * insets/insetcollapsable.C:
529         * insets/insetcollapsable.h:
530         * insets/insetert.C:
531         * insets/insetfloat.C:
532         * insets/insetfoot.C:
533         * insets/insetmarginal.C:
534         * insets/insetnote.C:
535         * insets/insetoptarg.C:
536         * insets/insettabular.C:
537         * insets/insettext.C:
538         * insets/insettext.h:
539         * insets/insetwrap.C:
540         * mathed/math_mboxinset.C:
541         * mathed/math_nestinset.C:
542         * mathed/math_scriptinset.C:
543         * mathed/math_scriptinset.h:
544         * support/types.h:
545
546 2004-03-24  Angus Leeming  <leeming@lyx.org>
547
548         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
549         deal with any child processes that have finished but are waiting to
550         communicate this fact to the rest of LyX.
551
552 2004-03-24  Angus Leeming  <leeming@lyx.org>
553
554         64-bit compile fixes.
555
556         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
557         (c-tor): pass lyx::pos_types rather than ints.
558
559         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
560         lyx::pos_type.
561
562         * text.C (Delete): compile fix.
563         (getPar): ensure that function declaration is the same as that in
564         the header file.
565
566 2004-03-23  Angus Leeming  <leeming@lyx.org>
567
568         * ispell.C (LaunchIspell):
569         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
570         a boost::shred_ptr rather than a std::auto_ptr.
571
572 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * lyxfunc.C (getStatus): handle read-only buffers correctly;
575         handle LFUN_FILE_INSERT_*
576
577         * lyxrc.C (setDefaults, getDescription, output, read):
578         * lyxrc.h: remove ps_command
579
580 2004-03-22  Angus Leeming  <leeming@lyx.org>
581
582         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
583         Ensure that error_handler is processed once only and that all data
584         is saved before attempting to output any warning messages.
585
586         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
587
588 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
589
590         * tabular.C (TeXRow): crash fix (from Kayvan and André)
591
592 2004-03-19  André Pönitz  <poenitz@gmx.net>
593
594         * cursor.[Ch] (reset): take main text inset as argument
595
596         * BufferView: adjust
597         * BufferView_pimpl.C: adjust
598
599         * paragraph.[Ch]: fix completely broken operator=()
600
601 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * LColor.C (getFromLyXName): make sure that the color name is used
604         as lowercase.
605
606 2004-03-17  Angus Leeming  <leeming@lyx.org>
607
608         * lfuns.h:
609         * LyXAction.C (init): remove LFUN_FORKS_KILL.
610
611         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
612         dialog and to kill a forked process.
613
614 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
615
616         * text2.C (setCursorFromCoordinates): fix font problem
617
618 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
621         bogus "rebuild cursor" code
622
623 2004-03-11  André Pönitz  <poenitz@gmx.net>
624
625         * buffer.[Ch]: use InsetText instead of LyXText as container for
626         the main lyx text.
627
628         * dociterator.[Ch]: drop the BufferView * member which is not needed
629         anymore after the change to buffer.C
630
631         * paragraph_funcs.C:
632         * text.C:
633         * text2.C:
634         * BufferView.[Ch]:
635         * BufferView_pimpl.[Ch]:
636         * cursor.[Ch]:
637         * cursor_slice.[Ch]: adjust
638
639         * text3.C: fix bug in mathDispatch
640
641 2004-03-08  André Pönitz  <poenitz@gmx.net>
642
643         * undo.[Ch]: use 'StableDocumentIterator' as base for
644         the Undo struct.
645
646 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
647
648         * LaTeXFeatures.C:
649         * bufferparams.[Ch]: add jurabib support and param.
650
651         * LaTeX.C: add FIXME/comment.
652
653 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
654
655         * buffer.C: increment file format to 230.
656
657 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
658
659         * cursor.C (dispatch): avoid infinite loops
660
661 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
662
663         * rowpainter.C (paintSelection): fix x coordinates
664
665 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * text.C (rowBreakPoint): fix breaking before displayed insets
668
669 2004-03-01  André Pönitz  <poenitz@gmx.net>
670
671         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
672
673         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
674
675         * Makefile.am:
676         * BufferView.C:
677         * BufferView_pimpl.C:
678         * buffer.C:
679         * lyxfind.C:
680         * lyxfunc.C:
681         * text.C:
682         * text2.C:
683         * text3.C: adjust
684
685 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
686
687         * lyxtext.h:
688         * text.C:
689         * text2.C:
690         * rowpainter.C:
691         * BufferView_pimpl.C: rename textwidth -> maxwidth,
692         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
693
694 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * Bidi.[Ch] (computeTables): const correctness
697         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
698         fill_hfill, fill_label_hfill and x from Row
699         * lyxtext.h: prepareToPrint returns a RowMetrics
700         * rowPainter.C: adjust
701         * text.C (prepareToPrint): use width, not textWidth. adjust
702         (redoParagraphInternal, cursorX): adjust
703         * text2.C (getColumnNearX): adjust
704         (init): put a default value to the top LyXText::width
705
706 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
707
708         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
709
710 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
711
712         * lyxtext.h: add FontIterator class
713
714         * text.C (FontIterator, operator*, operator->, operator++): add
715         (rowBreakPoint, setRowWidth): adjust (fixing a
716         rebreaking bug)
717
718 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * BufferView_pimpl.C (workAreaDispatch): allow also
721         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
722
723 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
724
725         * text.C (rowBreakPoint): fix a bug showing with very large insets
726
727 2004-02-25  André Pönitz  <poenitz@gmx.net>
728
729         * text3.C:
730         * cursor.[Ch]: move some mathed specific code to mathed
731
732 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
733
734         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
735         use_tempdir in preferences
736         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
737         tempfile creation
738         * lyx_main.C: ensure that tempdir is valid
739         * lyxlex.h: correct typo
740         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
741         * paragraph.[Ch] (isMultiLingual): make const
742         * cursor.[Ch] (openable): make const
743
744 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
745
746         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
747
748 2004-02-20  André Pönitz  <poenitz@gmx.net>
749
750         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
751
752         * cursor.[Ch]: prepare for localized getStatus()
753
754         * lyxtext.h:
755         * tabular.C:
756         * text.C:
757         * text2.C:
758         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
759
760 2004-02-20  André Pönitz  <poenitz@gmx.net>
761
762         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
763
764 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
765
766         * text2.C (setCursorFromCoordinates): switch to absolute coords
767         (cursorUp): adjust
768         (cursorDown): adjust
769         * text3.C (dispatch): adjust
770
771 2004-02-16  André Pönitz  <poenitz@gmx.net>
772
773         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
774           insets/ChangeLog)
775
776         * cursor_slice.[Ch]: remove unneeded acessor function
777
778         * lyxtext.h: rename rtl() to isRTL()
779
780         * rowpainter.C:
781         * tabular.C:
782         * text.C:
783         * text2.C:
784         * text3.C: adjust
785
786 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
787
788         * rowpainter.C (paintSelection): coord fix
789
790 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
791
792         * Spacing.C: compile fix
793
794 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
795
796         * cursor.C (dispatch): restore current_ before returning
797
798 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
799
800         * text2.C (cursorUp, cursorDown): fix coords
801         (moveUp): fix crash
802
803 2004-02-12  André Pönitz  <poenitz@gmx.net>
804
805         * lyxtext.h:
806         * text.C:
807         * text2.C:
808         * text3.C: add LCursor & parameter to most cursor movement functions
809           remove usage of LyXText::cursorRow() and cursorPar()
810
811         * cursor.[Ch]: add textRow() needed members
812
813         * BufferView.C:
814         * BufferView_pimpl.C:
815         * paragraph.[Ch]:
816         * BufferView.C:
817         * BufferView_pimpl.C: adjust
818
819 2004-02-11  André Pönitz  <poenitz@gmx.net>
820
821         * lyxfunc.C:
822         * BufferView.[Ch]:
823         * BufferView_pimpl.C: shift undo/redo handling
824
825         * cursor.[Ch]: fix mathed crash
826
827         * lyxfind.C:
828         * lyxtext.h: move selectionAsText to LCursor
829
830         * output_latex.C:
831         * paragraph.C:
832         * text.C:
833         * text2.C:
834         * text3.C: adjust
835
836         * rowpainter.C: fix excessive drawing
837
838 2004-02-06  André Pönitz  <poenitz@gmx.net>
839
840         * BufferView.[Ch]:
841         * BufferView_pimpl.[Ch]:
842         * text3.C: move some text specific LFUN handling
843
844 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
845
846         * text3.C (checkInsetHit): adjust coords
847         * text2.C (getColumnNearX): adjust coords
848         (edit): adjust coords
849         * text.C (getRowNearY): add two asserts
850
851 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
852
853         * converter.C:
854         * format.C: add using std::distance to compile on gcc 2.95/stlport
855
856 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
857
858         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
859
860 2004-02-04  André Pönitz  <poenitz@gmx.net>
861
862         * BufferView.[Ch] (insertInset):
863         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
864
865         * text2.C:
866         * text3.C: adjust
867
868 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
869
870         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
871         on the default clause of the switch
872         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
873         wasn't catched by LCursor::dispatch
874
875 2004-02-03  André Pönitz  <poenitz@gmx.net>
876
877         * BufferView.C:
878         * cursor.[Ch]: some additional asserts
879
880         * undo.[Ch]: remove LyXText dependency in interface
881
882         * lyxfunc.C: adjust
883
884         * lyxtext.h (firstPar, lastPar): remove dead functions
885
886         * text.C:
887         * text2.C:
888         * text3.C:
889         * paragraph.[Ch]: adjust
890
891 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
892
893         * lyxfind.C (find): fix argument order in call to ::find
894
895 2004-02-02  André Pönitz  <poenitz@gmx.net>
896
897         * cursor.[Ch]: remove direct access to anchor
898
899         * text.C: remove findText() hack
900
901 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
902
903         * iterators.[Ch] (lockPath): remove in favour of...
904         * BufferView.[Ch] (setCursor): this addition
905         * BufferView.C (putSelectionAt): adjust
906         * undo.C (performUndoOrRedo): adjust
907         * lyxfunc.C (dispatch): adjust
908
909 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
910
911         * iterators.C (lockPath): add a missing slice
912         * undo.C (performUndoOrRedo): remove redundant positioning code
913
914 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
915
916         * vc-backend.C (scanMaster): ";" -> ';'
917
918 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
919
920         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
921         std::binary_function
922
923         * lyxtextclass.C (compare_name): rename to...
924         (LayoutNamesEqual): ...this
925
926         * lyxlex_pimpl.C (compare_tags): inherit from
927         std::binary_function, put back into anon namespace
928
929         * lyxfind.C (MatchString): inherig from std::binary_function
930         (findChange): use empty() istead of !size()
931
932         * format.C (FormatNamesEqual): new functor
933         (getFormat): use it
934         (getNumber): use it
935         (add): use it
936         (erase): use it
937         (setViewer): use it
938
939         * converter.C (compare_Converter): rename to...
940         (ConverterEqual): ...this, and fixup a bit.
941         (getConverter): use it, and make function const
942         (getNumber): use it, and make function const
943         (add): use it
944         (erase): use it:
945
946         * bufferlist.C: add using boost::bind
947
948         * MenuBackend.C (MenuNamesEqual): new functor
949         (hasMenu): use it, and make function const
950         (hasSubmenu): use nested bind to get rid of compare_memfun.
951
952 2004-01-30  André Pönitz  <poenitz@gmx.net>
953
954         * BufferView_pimpl.C:
955         * cursor.C:
956         * cursor.h:
957         * cursor_slice.[Ch]:
958         * lyxfunc.C:
959         * lyxtext.h:
960         * paragraph_funcs.C:
961         * paragraph_funcs.h:
962         * rowpainter.C:
963         * text.C:
964         * text2.C:
965         * text3.C: move some of the edit(x,y) handling to the insets
966         some coordinate changes.
967
968 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
969
970         * text.C: add using statements for std::advance and std::distance
971
972         * paragraph.C: add using statement for std::distance
973
974         * lyxfind.C: add using statement for std::advance
975
976         * cursor.C (region): remove std:: from swap
977         (openable): use nucleus in stead of operator->
978
979         * BufferView.C: add using statements for std::distance and std::swap
980
981 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
982
983         * iterators.C: Remove the pimple, move the needed structures to
984         the header file. Create accessor for the positions stack.
985         (asPosIterator): remove function
986
987         * PosIterator.C (PosIterator): move constructors to top of file
988         (PosIterator): reimplement the constructor taking a ParIterator in
989         terms of setFrom.
990         (setFrom): new function
991         (operator!=): inline it
992
993 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
994
995         * lyxfind.C (replaceAll): use std::advance
996
997         * iterators.h: inherit from std::iterator.
998
999         * PosIterator.C (advance, distance): remove
1000         * PosIterator.h: interit from std::iterator.
1001
1002 2004-01-26  André Pönitz  <poenitz@gmx.net>
1003
1004         * BufferView.[Ch]:
1005         * BufferView_pimpl.[Ch]:
1006         * InsetList.[Ch]:
1007         * PosIterator.[Ch]:
1008         * buffer.h:
1009         * bufferview_funcs.C:
1010         * cursor.[Ch]:
1011         * cursor_slice.h:
1012         * factory.[Ch]:
1013         * iterators.[Ch]:
1014         * lyxfind.C:
1015         * lyxfunc.C:
1016         * lyxtext.h:
1017         * output_docbook.C:
1018         * output_latex.C:
1019         * output_linuxdoc.C:
1020         * output_plaintext.C:
1021         * paragraph.[Ch]:
1022         * paragraph_funcs.[Ch]:
1023         * paragraph_pimpl.[Ch]:
1024         * rowpainter.C:
1025         * tabular.C:
1026         * tabular.h:
1027         * text.C:
1028         * text2.C:
1029         * text3.C: more IU:  dumps most of the rest of the mathcursor
1030     implementation into cursor.[Ch]; "globalize" a bit of it.
1031
1032 2004-01-25  Angus Leeming  <leeming@lyx.org>
1033
1034         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1035
1036 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1037
1038         * LaTeXFeatures.h: add nice_ and nice() const
1039         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1040
1041 2004-01-20  André Pönitz  <poenitz@gmx.net>
1042
1043         * BufferView.[Ch]:
1044         * BufferView_pimpl.C:
1045         * PosIterator.C:
1046         * bufferview_funcs.C:
1047         * cursor.[Ch]:
1048         * cursor_slice.[Ch]:
1049         * factory.C:
1050         * iterators.C:
1051         * lyx_cb.C:
1052         * lyxfind.C:
1053         * lyxfunc.C:
1054         * lyxtext.h:
1055         * rowpainter.C:
1056         * text.C:
1057         * text2.C:
1058         * text3.C:
1059         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1060           LCursor and mathcursor parts to LCursor and InsetBase.
1061
1062 2004-01-15  André Pönitz  <poenitz@gmx.net>
1063
1064         * cursor_slice.[Ch]: add a few covienience functions
1065
1066         * funcrequest.[Ch]: remove BufferView * member
1067
1068         * BufferView_pimpl.C:
1069         * cursor.C:
1070         * factory.[Ch]:
1071         * lyxfind.[Ch]:
1072         * lyxfunc.C:
1073         * lyxtext.h:
1074         * text3.C:
1075         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1076
1077 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1078
1079         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1080         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1081
1082 2004-01-13  André Pönitz  <poenitz@gmx.net>
1083
1084         * textcursor.[Ch]:
1085         * lyxtext.h: hide cursor and selection anchor behind accessor function
1086
1087         * BufferView.C:
1088         * BufferView_pimpl.[Ch]:
1089         * PosIterator.C:
1090         * bufferview_funcs.C:
1091         * cursor.h:
1092         * lyxfind.C:
1093         * lyxfunc.C:
1094         * text.C:
1095         * text2.C:
1096         * text3.C:
1097         * undo.C: adjust
1098
1099         * cursor.h:
1100         * cursor_slice.[Ch]: some integer type changes for inset unification
1101
1102         * lyxcursor.[hC]: remove, it's CursorSlice now.
1103
1104         * Makefile.am:
1105         * BufferView_pimpl.[Ch]:
1106         * bufferview_funcs.C:
1107         * cursor_slice.C:
1108         * lyxtext.h:
1109         * text.C:
1110         * text2.C:
1111         * text3.C:
1112         * textcursor.[Ch]: adjust
1113
1114 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1115
1116         * text2.C (undoSpan): add and use
1117         * text.C (breakParagraph): use undoSpan (fix bug 578)
1118         * lyxtext.h: adjust
1119
1120 2004-01-08  Angus Leeming  <leeming@lyx.org>
1121
1122         * BufferView_pimpl.C (MenuInsertLyXFile):
1123         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1124         * lyxfunc.C (menuNew, open, doImport):
1125         FileFilterList change to the FileDialog open and save functions.
1126
1127 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1128
1129         * ShareContainer.h: make isEqual and isUnique adaptable
1130
1131         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1132
1133 2004-01-07  Angus Leeming  <leeming@lyx.org>
1134
1135         * LyXAction.C:
1136         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1137
1138         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1139
1140         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1141         functions replacing find, replace and replaceAll.
1142
1143         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1144         LFUN_WORDFIND(FORWARD|BACKWARD).
1145
1146 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1147
1148         * text.C (breakParagraph): remove an outdated #warning
1149
1150 2004-01-07  André Pönitz  <poenitz@gmx.net>
1151
1152         * lyxfind.C: somewhat clearer logic
1153
1154         * text.C: prevent crash in cursorX on unitialized row cache
1155
1156 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1157
1158         * lyxcursor.[Ch] (operator>): add
1159         * textcursor.C (selStart, selEnd): use std::min and std::max
1160
1161 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1162
1163         * Chktex.C: include boost/format.hpp
1164
1165 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1166
1167         * InsetList.C: replace functor MathcIt with adaptable functor
1168         InsetTablePosLess
1169         (insetIterator): modify accordingly
1170
1171         * BranchList.h: move the BranchNamesEqual functor here from...
1172         * BranchList.C: ... to here
1173
1174         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1175         SameName and match.
1176         (add): replace a finding loop with std::find_if.
1177
1178 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1179
1180         * output_docbook.C: moving LatexParam functionality into
1181         .layout files
1182
1183 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1184
1185         * buffer.C: increment format to 229.
1186
1187 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1188
1189         * LaTeXFeatures.C:
1190         * lyx_sty.[Ch]: remove minipageindent_def
1191
1192         * LyXAction.C:
1193         * factory.C:
1194         * lfuns.h:
1195         * lyxfunc.C:
1196         * text3.C: remove LFUN_INSET_MINIPAGE
1197
1198 2003-12-28  Angus Leeming  <leeming@lyx.org>
1199
1200         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1201
1202 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1203
1204         * text2.C (setParagraph): fix off-by-one crash
1205
1206 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1207
1208         * output_docbook.C: header stuff for AGU
1209
1210 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1211
1212         * text2.C (redoCursor): remove
1213         * text.C:
1214         * text3.C:
1215         * BufferView_pimpl.C: remove calls to redoCursor and
1216         setCursor(cursor.par(), cursor.pos()) all around
1217
1218 2003-12-15  Angus Leeming  <leeming@lyx.org>
1219
1220         * buffer.C: up the format to 228.
1221
1222 2003-12-15  André Pönitz  <poenitz@gmx.net>
1223
1224         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1225         slices
1226
1227         * Makefile.am:
1228
1229         * BufferView_pimpl.C:
1230         * cursor.[Ch]:
1231         * lyxcursor.[Ch]:
1232         * rowpainter.[Ch]:
1233         * lyxtext.h:
1234         * text.C:
1235         * text2.C:
1236         * text3.C: adjust
1237
1238 2003-12-15  Angus Leeming  <leeming@lyx.org>
1239
1240         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1241         than getFromGUIName to manipulate the color.
1242
1243 2003-12-14  Angus Leeming  <leeming@lyx.org>
1244
1245         * BranchList.[Ch]: minimize the API.
1246         (Branch::getBranch, getColor): now return a 'const &'.
1247         (Branch::setSelected) now returns a bool set to true if the
1248         selection status changes.
1249         (BranchList::clear, size, getColor, setColor, setSelected,
1250         allBranches, allSelected, separator): removed.
1251         (BranchList::find): new functions, returning the Branch with
1252         the given name.
1253         (BranchList::add, remove): return a bool indicating that
1254         the operation was successful.
1255
1256         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1257         new InsetBranch::isBranchSlected member function.
1258
1259         * LColor.[Ch]: mimimize the API.
1260         (fill): renamed as addColor and made private.
1261         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1262         versions of these functions taking a string arg have been removed.
1263
1264         * bufferparams.C (readToken):
1265         * lyxfunc.C (dispatch):
1266         * lyxrc.C (read): changes due to the altered BranchList and
1267         LColor APIs.
1268
1269         * factory.C (createInset, readInset): changes due to altered
1270         InsetBranch c-tor.
1271
1272 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1273
1274         * factory.C:
1275         * lyxfunc.C: remove insetminipage. "minipage-insert"
1276         now produces a frameless minipage box inset.
1277
1278 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1279
1280         * textcursor.[Ch] (selStart,selEnd): add new methods
1281         remove selection::start, end, use LyXCursor::operator<
1282         * lyxcursor.[Ch] (operator<): add
1283         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1284         * BufferView.[Ch] (unsetXSel): add
1285         * text2.C (clearSelection): use unsetXSel,adjust
1286         * text.C: adjust
1287         * text3.C: adjust
1288         * rowpainter.C: adjust
1289         * bufferview_funcs.C (put_selection_at): adjust
1290
1291 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1292
1293         * BufferView_pimpl.C: small coord. correction
1294
1295 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1296
1297         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1298         dragging over the splash screen.
1299
1300 2003-12-11  Angus Leeming  <leeming@lyx.org>
1301
1302         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1303         as it is now handled in LyXText::dispatch.
1304
1305         * text3.C (doInsertInset): remove a level of nesting.
1306
1307 2003-12-11  Angus Leeming  <leeming@lyx.org>
1308
1309         * factory.C (createInset): changes due to the changed interface to
1310         InsetCommandMailer::string2params.
1311
1312 2003-12-10  Angus Leeming  <leeming@lyx.org>
1313
1314         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1315         'dialog-show-new-inset <inset name>'
1316
1317 2003-12-10  Angus Leeming  <leeming@lyx.org>
1318
1319         * buffer.C: up the format to 227.
1320
1321         * factory.C: the box inset is now identified simply by 'Box'.
1322
1323 2003-12-10  Angus Leeming  <leeming@lyx.org>
1324
1325         * buffer.C: up the format to 226.
1326
1327         * factory.C: the note inset is now identified simply by 'Note'.
1328
1329 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1330
1331         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1332         when a pit is enough. Standarize a couple of loops.
1333
1334 2003-12-05  Angus Leeming  <leeming@lyx.org>
1335
1336         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1337         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1338         data to the re-worked "log" dialog.
1339
1340 2003-12-03  André Pönitz  <poenitz@gmx.net>
1341
1342         * PosIterator.C:
1343         * iterators.C:
1344         * lyxtext.h:
1345         * output_latex.C:
1346         * paragraph_funcs.C:
1347         * text.C:
1348         * text2.C: use Inset::getText instead of Inset::getParagraph
1349
1350 2003-12-03  André Pönitz  <poenitz@gmx.net>
1351
1352         * buffer.[Ch]:
1353         * lyxtext.h:
1354         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1355         InsetText::read() as LyXText::read()
1356
1357 2003-12-02  Angus Leeming  <leeming@lyx.org>
1358
1359         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1360         type. Add a comment in the implementation that the function uses
1361         the stream's bad() function rather than fail() as the std::streams
1362         would do.
1363
1364 2003-12-02  André Pönitz  <poenitz@gmx.net>
1365
1366         * lyxlex.[Ch]: make interface more similar to std::stream
1367
1368         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1369
1370 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1371
1372         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1373
1374 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1375
1376         * vspace.[Ch]: remove VSpace::NONE
1377
1378 2003-12-01  André Pönitz  <poenitz@gmx.net>
1379
1380         * buffer.[Ch]:
1381         * lyxtext.h: move ParagraphList member to LyXText
1382         rename LyXText::ownerParagraphs to LyXText::paragraph
1383
1384         * CutAndPaste.C:
1385         * bufferview_funcs.C:
1386         * iterators.[Ch]:
1387         * lyx_cb.C:
1388         * paragraph.C:
1389         * rowpainter.C:
1390         * tabular.C:
1391         * text.C:
1392         * text2.C:
1393         * text3.C: adjust
1394
1395         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1396
1397         * undo.C: fix cursor positioning
1398
1399 2003-12-01  John Levon  <levon@movementarian.org>
1400
1401         * BufferView_pimpl.C: fix a crash on exit with
1402         a buffer open
1403
1404 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * BranchList.C: fix setSelected() method.
1407
1408 2003-11-28  André Pönitz  <poenitz@gmx.net>
1409
1410         * ParagraphParameters.[Ch]:
1411         * ParameterStruct.h: remove space above/below from Paragraph to
1412          InsetVSpace
1413
1414         * BufferView_pimpl.C:
1415         * factory.C:
1416         * lyxfunc.C:
1417         * lyxtext.h:
1418         * output_latex.C:
1419         * paragraph.C:
1420         * paragraph_funcs.C:
1421         * rowpainter.[Ch]:
1422         * text.C:
1423         * text2.C:
1424         * text3.C: adjust
1425
1426 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1427
1428         * factory.C: Syntax change for CharStyles
1429
1430 2003-11-28  André Pönitz  <poenitz@gmx.net>
1431
1432         * BufferView.[Ch]:
1433         * BufferView.[Ch]:
1434         * buffer.[Ch]:
1435         * buffer.[Ch]: move LyXText member
1436
1437 2003-11-28  André Pönitz  <poenitz@gmx.net>
1438
1439         * BufferView.[Ch]: make LyXText * text a private member
1440
1441         * BufferView_pimpl.C:
1442         * cursor.C:
1443         * iterators.C:
1444         * lyx_cb.C:
1445         * lyxfind.C:
1446         * lyxtext.h:
1447         * rowpainter.[Ch]:
1448         * text.C:
1449         * text2.C:
1450         * undo.C: adjust
1451
1452         * output_plaintext.C: cleanup
1453
1454 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1455
1456         * buffer.C:
1457         * lyxtextclass.[Ch]: parametrize SGML document header
1458
1459 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1460
1461         * converter.[Ch]:
1462         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1463         getFlavor().
1464
1465 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * text2.C (setFont): rework using PosIterator (no more recursive)
1468         (setCharFont): no more needed
1469         (setLayout): no more selection cursors fiddling (done by redoCursor)
1470         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1471         destroy remaining ones)
1472
1473 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1474
1475         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1476         * lyxtext.h: ditto
1477         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1478         selection cursors
1479         * lyxfunc.C: adjust
1480         * text3.C: adjust + re-allow multi par depth changes
1481         * textcursor.C: simplify a bit
1482
1483 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1484
1485         * src/buffer.C:
1486         * src/lyxlayout.C:
1487         * src/lyxlayout.h:
1488         * src/lyxtext.h:
1489         * src/output_docbook.C:
1490         * src/output_latex.C:
1491         * src/paragraph.C:
1492         * src/paragraph.h:
1493         * src/sgml.C:
1494         * src/sgml.h:
1495         * src/text2.C: Introducing a number of tags parametrizing various
1496         XML formats that we may want to support
1497
1498 2003-11-25  André Pönitz  <poenitz@gmx.net>
1499
1500         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1501
1502         * lyxtext.h (leftMargin/rightMargin): simplify interface
1503
1504         * rowpainter.C:
1505         * text.C:
1506         * text2.C:
1507         * text3.C: adjust
1508
1509 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1510
1511         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1512         master file to any child files. Fixes bug 546.
1513
1514 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1515
1516         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1517
1518 2003-11-24  André Pönitz  <poenitz@gmx.net>
1519
1520         * rowpainter.C: simplification
1521
1522         * text2.C (updateCounters): remove call to redoParagraph on
1523         changed labels as this is far too expensive.
1524
1525 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1526
1527         * converter.C (convert): fix a crash: this function gets
1528         called with buffer == 0 from importer code.
1529
1530 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1531
1532         * text3.C (cursorPrevious): make sure that we do not compare
1533         iterators form different containers.
1534         (cursorNext): ditto
1535
1536         * rowpainter.C (paintSelection): make sure that we do not compare
1537         iterators from different containers.
1538
1539         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1540         iterators from different ParagraphList containers.
1541         [NEXT] ditto
1542
1543         * text2.C (LyXText): change order of initialization slightly
1544         (operator=): new function. copy all variables except cache_par_
1545         (moveUp): make sure that we do not compare iterators from
1546         different ParagraphList constainers.
1547         (moveDown): ditto
1548
1549         * text.C (firstPar): new function
1550         (lastPar): new function
1551         (endPar): new function
1552
1553         * lyxtext.h: move things around and group public functions, public
1554         variables, private functions, private variables
1555
1556 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1557
1558         * factory.C: change call to InsetERT constructor to avoid
1559         additional invocation of method status
1560         * text2.C (toggleInset): remove redundant update() call
1561         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1562         instead of a Bufferview pointer
1563
1564 2003-11-21  André Pönitz  <poenitz@gmx.net>
1565
1566         * rowpainter.C: simplification
1567
1568 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * text3.C (dispatch): make possible to extend a word/row selection
1571         with the mouse
1572
1573 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1574
1575         * lyxtext.h: x0_,y0_ -> xo_,yo_
1576         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1577         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1578         * rowpainter.C (paintRows): paint full paragraphs
1579
1580 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1581
1582         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1583         screen coordinates)
1584
1585 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * lyxtext.h: add x0_, y0_
1588         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1589         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1590
1591 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * text2.C (setCursorIntern): move the x_target update here *
1594         * text3.C: change some bv() to true/false in calls to
1595         cursorUp/Down/Right/Left
1596         * cursor.C: use helper function.
1597
1598 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1599
1600         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1601         * paragraph_funcs.[Ch]: correct comment
1602         * rowpainter.C: do not paint selections away from bv->cursor()
1603         Fix a long standing selection painting bug.
1604         * text3.C: generalize mouse-selection code to LyXTexts other that
1605         top one
1606         * textcursor.C: do not use y coords if we can use par offsets
1607
1608 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1609
1610         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1611         cursor position after e.g. inset insert)
1612
1613 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1614
1615         * lyxfind.C (replace): adjust to locking removal + some
1616         code simplification
1617
1618 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1619
1620         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1621         of the path
1622
1623 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1624
1625         * lyxlayout.[Ch]:
1626         * output_docbook.C: XML sanitation: new layout
1627         parameters InnerTag and CommandDepth
1628
1629 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1630
1631         * BufferView_pimpl.C:
1632         * factory.C:
1633         * text3.C: Fix the insertion and modification of button-style
1634         insets
1635
1636 2003-11-13  André Pönitz  <poenitz@gmx.net>
1637
1638         * InsetList.[Ch]: remove deleteLyXText
1639
1640         * paragraph.[Ch]: cache beginOfBody position
1641
1642         * Bidi.C:
1643         * text.C:
1644         * text2.C:
1645         * text3.C: remove superfluous update() calls
1646
1647         * vspace.C: cleanup
1648
1649 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1652         * BufferView.C (fitLockedInsetCursor): remove
1653         * cursor.[Ch] (getDim): add
1654         * text.C (getRowNearY): add faster version
1655         * text3.C: remove some update calls
1656
1657 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1658
1659         * LaTeXFeatures.C:
1660         * LyXAction.C:
1661         * MenuBackend.C:
1662         * MenuBackend.h:
1663         * dispatchresult.h:
1664         * factory.C:
1665         * lfuns.h:
1666         * lyxfunc.C:
1667         * lyxtextclass.C:
1668         * lyxtextclass.h:
1669         * text3.C: The Character Style /XML short element patch.
1670
1671 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1672
1673         * text3.C:
1674         * factory.C: Small step to solving 'unable to insert some insets'
1675         problem
1676
1677 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1678
1679         * cursor.[Ch] (updatePos): new function for updating the y
1680         position of the tip inset
1681         * bufferview_funcs.C (put_selection_at):
1682         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1683
1684 2003-11-11  André Pönitz  <poenitz@gmx.net>
1685
1686         * text.C: remove big comment on invalid Paragraph pointers as it is
1687         not valid anymore
1688
1689 2003-11-11  André Pönitz  <poenitz@gmx.net>
1690
1691         * text_funcs.[Ch]: merge with ...
1692
1693         * text.C: ... this
1694
1695         * lyxtext.h:
1696         * text2.C:
1697         * text3.C: adjust
1698
1699         * Makefile.am: remove text_funcs.[Ch]
1700
1701 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1702
1703         * cursor.C (getPos): return absolute cached y coord
1704
1705         * BufferView_pimpl.C (fitCursor): new simplistic code
1706         (workAreaDispatch): add a fitCursor call
1707
1708 2003-11-10  André Pönitz  <poenitz@gmx.net>
1709
1710         * BufferView.[Ch]:
1711         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1712
1713 2003-11-10  André Pönitz  <poenitz@gmx.net>
1714
1715         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1716         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1717         indicate that the cursor needs to leave an inset
1718
1719         * lyxtext.h: remove inset locking
1720
1721         * cursor.[Ch]: re-implement functionality provided by inset locking
1722
1723         * BufferView.[Ch]:
1724         * BufferView_pimpl.[Ch]:
1725         * LyXAction.C:
1726         * bufferview_funcs.[Ch]:
1727         * factory.C:
1728         * funcrequest.[Ch]:
1729         * iterators.C:
1730         * lyx_cb.C:
1731         * lyxfind.C:
1732         * lyxfunc.C:
1733         * text.C:
1734         * text2.C:
1735         * text3.C:
1736         * undo.C: adjust
1737
1738 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1739
1740         * PosIterator.[Ch]: replace the stack with a vector, add inset
1741         accesor
1742         * iterators.[C]: adjust
1743
1744 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1745
1746         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1747         replaced
1748         * paragraph_funcs.C (readParToken): put the correct id in the
1749         error item, not the id of the top paragraph
1750
1751 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1752
1753         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1754         * bufferview_funcs.C (put_selection_at): use the above
1755
1756 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1757
1758         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1759
1760 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         * output_linuxdoc.h:
1763         * output_plaintext.h:
1764         * output.h:
1765         * output_docbook.h: add #include statements
1766
1767 2003-11-05  José Matos  <jamatos@lyx.org>
1768
1769         * output_docbook.[Ch]:
1770         * output_latex.[Ch]:
1771         * output_linuxdoc.[Ch]:
1772         * output_plaintext.[Ch]: New files for output formats.
1773         * output.[Ch]: New file for helper functions.
1774
1775         * buffer.[Ch]:
1776         * paragraph_funcs.[Ch]: output functions moved to new files.
1777
1778         * outputparams.h: rename of latexrunparams.h
1779
1780         * LaTeX.[Ch]:
1781         * buffer.[Ch]:
1782         * bufferlist.[Ch]:
1783         * converter.[Ch]:
1784         * exporter.C:
1785         * paragraph.[Ch]:
1786         * paragraph_funcs.[Ch]:
1787         * paragraph_pimpl.[Ch]:
1788         * tabular.[Ch]: rename ascii to plaintext
1789         and LatexRunParams to OutputParams.
1790
1791 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1792
1793         * iterators.[Ch] (text): require bv argument
1794         * undo.C (recordUndo):
1795         * lyxfunc.C (dispatch):
1796         * bufferview_funcs.C (put_selection_at): adjust
1797
1798 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1799
1800         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1801
1802 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1803
1804         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1805         nestings
1806
1807 2003-11-04  André Pönitz  <poenitz@gmx.net>
1808
1809         * cursor.[Ch]: restructure
1810
1811         * BufferView.[Ch]:
1812         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1813
1814         * iterators.[Ch] (asCursor): remove
1815
1816         * lfuns.h: remove LFUN_INSET_EDIT
1817
1818         * lyxfunc.C:
1819         * tabular.C:
1820         * text.C:
1821         * text2.C:
1822         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1823
1824 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1825
1826         * lyxfind.[Ch]: complete overhaul
1827         * BufferView_pimpl.C:
1828         * lyxfunc.C: adjust
1829         * paragraph.[Ch] (insert): add
1830
1831 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1832
1833         * BufferView.[Ch]:
1834         * lyxtext.h:
1835         * text.C: remove dead spellcheck code
1836
1837 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1838
1839         * dispatchresult.h: add a val setter
1840
1841         * cursor.C (dispatch): use a tempvar for data_[i]
1842
1843 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1844
1845         * PosIterator.[Ch]: compile fix
1846
1847 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1848
1849         * text.C (cursorPar): deactivate the cursor cache
1850
1851 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1852
1853         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1854
1855 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1856
1857         * text3.C (dispatch): adjust for new DisptchResult semantics.
1858
1859         * lyxfunc.C (dispatch): handle update when return from
1860         Cursor::dispatch, adjust for new DispatchResult semantics.
1861
1862         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1863         DispatchResult(true) mean to not update. Add class functions for
1864         setting dispatched and update, as well as reading.
1865
1866         * cursor.C (dispatch): don't handle update here
1867
1868 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1869
1870         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1871         * trans_mgr.C: adjust
1872
1873         * paragraph_funcs.C (readParToken): exception safety
1874
1875         * lyxvc.h: store the vcs pointer in a scoped_ptr
1876         * lyxvc.C: adjust
1877
1878         * lyxsocket.C (serverCallback): exception safety
1879
1880         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1881
1882         * ispell.C (clone): make it return a auto_ptr
1883
1884         * factory.C (createInset): exception safety
1885         (readInset): exception safety
1886
1887         * bufferlist.C (newBuffer): exception safety
1888
1889         * Thesaurus.C (Thesaurus): use initialization for aik_
1890
1891         * MenuBackend.C (expandToc): exception safety.
1892
1893 2003-11-03  André Pönitz  <poenitz@gmx.net>
1894
1895         * buffer.C:
1896         * buffer.h:
1897         * bufferview_funcs.C: remove getInsetFromId()
1898
1899         * lyxcursor.[Ch]:
1900         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1901
1902         * lyxfunc.C:
1903         * text2.C:
1904         * text3.C: adjust
1905
1906 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * PosIterator.C (distance, advance): new
1909         * bufferview_funcs.[Ch] (put_selection_at): new
1910         * iterators.[Ch] (lockPath): new
1911
1912 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1913
1914         * iterators.[Ch] (asPosIterator): added
1915         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1916         * PosIterator.[Ch]: added
1917
1918 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1919
1920         * text3.C:
1921         * lyxfunc.C:
1922         * cursor.C (dispatch):
1923         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1924
1925         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1926         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1927         contructor, add a class function dispatched. Remove operator>=
1928
1929 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1930
1931         * debug.C: only use the default constructor for debugstream
1932         (lyxerr) here.
1933
1934         * main.C (main): include debug.h and setup the lyxerr streambuf
1935         here.
1936
1937 2003-10-31  José Matos  <jamatos@lyx.org>
1938
1939         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1940
1941         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1942         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1943         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1944         * paragraph_pimpl.C (simpleTeXSpecialC):
1945         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1946         add LatexRunParams argument.
1947
1948         * exporter.C (Export): change call accordingly.
1949
1950         * latexrunparams.h: add new member to take care of the other backends.
1951 2003-10-30  José Matos  <jamatos@lyx.org>
1952
1953         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1954         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1955         factorise code for paragraph output.
1956         * buffer.[Ch]:
1957         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1958         move functions.
1959
1960 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * text3.C (dispatch):
1963         * lyxfunc.C (dispatch):
1964         * cursor.C (dispatch):
1965         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1966
1967         * dispatchresult.h: make the dispatch_result_t ctor explicit
1968
1969 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1970
1971         * sgml.[Ch]:
1972         * buffer.C: small refactoring of docbook stuff
1973
1974 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1977         meaning.
1978
1979 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1980
1981         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1982         operator dispatch_result_t, and operators for == != and >=
1983
1984         * cursor.C (dispatch): adjust for operator dispatch_result_t
1985         removal. comment out call to update
1986
1987         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1988
1989 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * text3.C:
1992         * text2.C:
1993         * text.C:
1994         * lyxtext.h:
1995         * lyxfunc.C:
1996         * cursor.C:
1997         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1998         (dispatch):
1999
2000         * dispatchresult.h: new file, DispatchResult broken out of
2001         insets/insetbase.h
2002
2003         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2004
2005 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2006
2007         * text.C (rowBreakPoint): put a hack inside #if 0
2008
2009 2003-10-28  André Pönitz  <poenitz@gmx.net>
2010
2011         * lyxtext.h:
2012         * metricsinfo.C:
2013         * paragraph_funcs.C:
2014         * rowpainter.C:
2015         * text.C:
2016         * text2.C: general cleanup (lots of small stuff)
2017
2018 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2019
2020         * text2.C (cursorEnd): simple fix to the "end key goes to one
2021         before the end on last row" bug
2022
2023 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2024
2025         * text.C (backspace): fix the "zombie characters"
2026
2027 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2028
2029         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2030
2031 2003-10-27  André Pönitz  <poenitz@gmx.net>
2032
2033         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2034
2035         * factory.C: handle new InsetPagebreak, InsetLine
2036
2037         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2038         and move handling into new InsetPagebreak, InsetLine
2039
2040         * BufferView_pimpl.C:
2041         * LyXAction.C:
2042         * ParagraphParameters.C:
2043         * ParameterStruct.h:
2044         * lyxfunc.C:
2045         * lyxtext.h:
2046         * paragraph.C:
2047         * paragraph.h:
2048         * paragraph_funcs.C:
2049         * paragraph_pimpl.C:
2050         * rowpainter.C:
2051         * text.C:
2052         * text2.C:
2053         * text3.C: adjust
2054
2055 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2056
2057         * text.C:
2058         * lyxrow_funcs.[Ch]:
2059         * Bidi.C:
2060         * paragraph.C:
2061         * lyxtext.h:
2062         * rowpainter.C:
2063         * text2.C:
2064         * text3.C: remove lastPos uses in favour of Row::endpos
2065
2066 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2067
2068         * undo.C (performUndoOrRedo): fix two crashes by setting a
2069         cursor by hand and reordering some calls. Use bv->lockInset instead
2070         of inset->edit because the latter loses cursor information
2071
2072 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2073
2074         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2075         by Martin
2076         (rowBreakPoint): fix width. change point to point + 1.
2077         Add a missing check.
2078
2079 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2080
2081         * MenuBackend.C:
2082         * lyxfunc.C: fix (at least partly) the problems
2083         with the Nav menu and headers inside branch insets
2084         reported by Kayvan
2085
2086 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * paragraph.C (getChar): add strong asserts
2089
2090         * lyxrow_funcs.C (lastPos): remove hideous hack
2091
2092         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2093         (fill): adjust to that (avoid an infinite loop)
2094
2095 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2096
2097         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2098
2099 2003-10-23  André Pönitz  <poenitz@gmx.net>
2100
2101         * RowList_fwd.h: change list<> to vector<> to gain speed
2102         after suggestion from Alfredo
2103
2104 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2105
2106         * lyxtext.h: move the bidi stuff from here...
2107         * text.C: and here
2108         * text2.C: and here
2109         * Bidi.[Ch]: ... to here
2110
2111 2003-10-23  André Pönitz  <poenitz@gmx.net>
2112
2113         * lyxtext.h:
2114         * text.C (isLastRow, isFirstRow): new functions
2115
2116         * paragraph.h: new width cache member
2117
2118         * rowpainter.C: replace RowList::iterator with Row & where possible
2119
2120         * lyxfunc.C: replace several view()->text with a single call
2121
2122         * toc.C: fix 'unused' warning
2123
2124 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2125
2126         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2127         when woring with stream::pos_type
2128         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2129
2130 2003-10-22  André Pönitz  <poenitz@gmx.net>
2131
2132         * lyxtext.h:
2133         * text.C: use Row & instead of RowList::iterator
2134
2135         * lyxrow.h: rename end() to endpos()
2136
2137         * rowpainter.C:
2138         * text.C:
2139         * text2.C: adjust
2140
2141 2003-10-22  Angus Leeming  <leeming@lyx.org>
2142
2143         * buffer.[Ch] (fully_loaded): new member function, returning true
2144         only when the file has been loaded fully.
2145         Used to prevent the premature generation of previews and by the
2146         citation inset to prevent computation of the natbib-style label.
2147
2148         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2149         templates are all set up.
2150
2151         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2152
2153 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2154
2155         * text.C: fixed an "oops" in the "is a bit silly"
2156         bug fix
2157
2158 2003-10-21  André Pönitz  <poenitz@gmx.net>
2159
2160         * FuncStatus.[Ch]: small stuff, whitespace
2161
2162         * lyxfont.[Ch]: operator<<() for debug reasons
2163
2164         * lyxfunc.C:
2165         * lyxrow_funcs.C:
2166         * lyxtext.h: whitespace, spelling
2167
2168         * paragraph.C: naming of variables
2169
2170         * text.C:
2171         * text2.C: small stuff
2172
2173
2174 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2175
2176         * text.C: (1) finish off the inset display() work;
2177         (2) fix the "is a bit silly" bug (accessing char
2178         past end of par).
2179
2180 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2181
2182         * text.C: re-introduce display() for insets, fixing the
2183         various bugs (stretch of line above, math inset
2184         positioning, ...)
2185
2186 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2187
2188         * text.C (rightMargin): remove spurious semicolon
2189
2190         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2191         1415)
2192
2193 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2194
2195         * text3.C: fix one crash due to wrong cursor def
2196
2197 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2198
2199         * vc-backend.C (scanMaster): make the regex static
2200
2201         * LaTeX.C (scanAuxFile): make the regexs static
2202
2203         * text3.C (doInsertInset, dispatch, dispatch):
2204         * text2.C (cursorUp, cursorDown):
2205         * text.C (selectNextWordToSpellcheck):
2206         * BufferView_pimpl.C (dispatch):
2207         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2208
2209 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2210
2211         * lyxsocket.C: include <cerrno>
2212
2213 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2214
2215         * lyxfunc.C (dispatch): remove textcache stuff
2216
2217         * bufferlist.C (release): remove textcache stuff
2218         (closeAll): ditto
2219
2220         * TextCache.C: delete file
2221         * TextCache.h: delete file
2222
2223         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2224
2225         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2226         delete of the bv_->text.
2227         (resizeCurrentBuffer): remove texcache stuff
2228         (workAreaResize): ditto
2229
2230 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2231
2232         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2233         action.
2234
2235 2003-10-16  André Pönitz  <poenitz@gmx.net>
2236
2237         * lyxrow.[Ch]:
2238         * paragraph.h:
2239         * rowpainter.C:
2240         * text.C:
2241         * text2.C:
2242         * text3.C: speed up by storing y positions per paragraph plus per-row
2243         offset instead of having a 'full' y position in the row.
2244
2245 2003-10-15  André Pönitz  <poenitz@gmx.net>
2246
2247         * iterators.[Ch]:
2248         * iterators.[Ch]:
2249         * undo.[Ch]: make undo aware of inner insets
2250
2251 2003-10-14  Angus Leeming  <leeming@lyx.org>
2252
2253         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2254         static member functions LyX::ref() and LyX::cref.
2255         (lastfiles): new accessor functions for the new lastfiles_ member var.
2256         (addLyXView, views_): add a new LyXView to the list of views_.
2257         (updateInset): loop over all LyXViews to call their own updateInset
2258         member function, returning a pointer to the Buffer owning the inset.
2259
2260         * BufferView_pimpl.C (loadLyXFile):
2261         * MenuBackend.C (expandLastfiles):
2262         * bufferlist.C (MenuWrite, QuitLyX):
2263         lastfiles is no longer a global variable.
2264         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2265
2266         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2267         static function. Access through LyX::cref().emergencyCleanup().
2268
2269 2003-10-14  André Pönitz  <poenitz@gmx.net>
2270
2271         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2272
2273         * undo.[Ch]: restoring part of 'undo in insets'
2274
2275         * Makefile.am:
2276         * undo_funcs.[Ch]: merge with undo.[Ch]
2277
2278         * tabular.C: small cleansing stuff
2279
2280 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2281
2282         * paragraph_funcs.C (readParToken): report unknown insets as error
2283         boxes. Use the outer paragraph as location (also for unknown
2284         tokens).
2285
2286         * factory.C (readInset): do not abort on reading an unknown inset.
2287         Eat it and return 0.
2288
2289 2003-10-13  Angus Leeming  <leeming@lyx.org>
2290
2291         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2292
2293         * lyxrc.C: displayTranslator is now a function,
2294         declared in GraphicsTypes.h.
2295
2296 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2297
2298         * format.C: new placeholder $$a to pass the socket address.
2299
2300         * bufferlist.[Ch]: new function getBufferFromTmp.
2301
2302         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2303           files in the temporary dir.
2304
2305 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2306
2307         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2308
2309         * Makefile.am: add lyxsocket.[Ch].
2310
2311         * lyx_main.C (error_handler): handle SIGPIPE.
2312
2313 2003-10-13  André Pönitz  <poenitz@gmx.net>
2314
2315         * BufferView_pimpl.C:
2316         * lyxtext.h:
2317         * text.C:
2318         * text2.C:
2319         * text3.C:
2320         * undo_funcs.[Ch]: use paroffset_type instead of
2321           ParagraphList::iterators to prevent multiple conversion
2322           (and get a more robust interface)
2323
2324 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2327         * lyxtext.h: ditto
2328         * text3.C (dispatch): ditto
2329
2330 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2331
2332         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2333         move the onlyfile, use onlyfile instead of foundfile in a couple
2334         of places.
2335
2336         * DepTable.C (update): flush the error stream a bit more
2337
2338 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2339
2340         * lyxserver.C (callback): adjust
2341
2342         * lyxfunc.C (getStatus): add a missing brace in commented code
2343         (ensureBufferClean): reindent
2344         (dispatch): delete version taking a string
2345
2346 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2347
2348         * LaTeX.C (deplog): move found file handlig from here...
2349         (handleFoundFile): .. to new function here.
2350         (deplog): make sure to discover several files mentioned on the
2351         same log line.
2352
2353 2003-10-10  André Pönitz  <poenitz@gmx.net>
2354
2355         * lyxfunc.C:
2356         * lyxtext.h:
2357         * tabular.C:
2358         * text.C:
2359         * text2.C:
2360         * text3.C: fix some of the tabular crashes
2361
2362 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2363
2364         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2365
2366         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2367
2368 2003-10-09  André Pönitz  <poenitz@gmx.net>
2369
2370         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2371
2372         * BufferView.C:
2373         * BufferView_pimpl.C:
2374         * bufferview_funcs.C:
2375         * lyx_cb.C:
2376         * lyxcursor.C:
2377         * lyxfind.C:
2378         * lyxfunc.C:
2379         * lyxtext.h:
2380         * text.C:
2381         * text2.C:
2382         * text3.C:
2383         * text_funcs.[Ch]:
2384         * textcursor.[Ch]:
2385         * undo_funcs.C: adjust
2386
2387 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2388
2389         * text2.C (incrementItemDepth): new function, use a backtracking
2390         algorithm to discover the correct item depth.
2391         (resetEnumCounterIfNeeded): new function, use a backtracking
2392         algorithm to discover if counter reset is needed.
2393         (setCounter): use them. Simplify a bit. Add different labels for
2394         different item depths for itemize.
2395
2396         * paragraph.C (Paragraph): remove initialization of enumdepth
2397         (operator=): ditto
2398
2399         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2400         enumerate and itemize. Change the type of itemdepth to signed char.
2401
2402 2003-10-08  André Pönitz  <poenitz@gmx.net>
2403
2404         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2405           thing assignable.
2406         * text.C:
2407         * text2.C: adjust
2408
2409         * tabular.[Ch]: fix crash after 'row-insert'
2410
2411 2003-10-08  Angus Leeming  <leeming@lyx.org>
2412
2413         Fix doxygen warnings.
2414
2415         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2416         Remove CutAndPaste:: prefix from header file declaration.
2417
2418         * LColor.h (fill): remove LColor:: prefix from declaration.
2419
2420         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2421         use lyx::depth_type rather than Paragraph::depth_type so that
2422         header file and .C file match.
2423
2424         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2425
2426         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2427         * aspell.C: \file aspell_local.C -> \file aspell.C
2428         * gettext.C: \file gettext.C -> \file src/gettext.C
2429         * gettext.h: \file gettext.h -> \file src/gettext.h
2430         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2431         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2432         * text.C: \file text.C -> \file src/text.C
2433
2434         * toc.C: move comment so that doxygen is not confused.
2435
2436 2003-10-07  Angus Leeming  <leeming@lyx.org>
2437
2438         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2439
2440 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2441
2442         * aspell.C:
2443         * aspell_local.h: add forgotten std::string's.
2444
2445 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2446
2447         * LaTeXFeatures.C:
2448         * LyXAction.C:
2449         * factory.C:
2450         * lfuns.h:
2451         * lyxfunc.C:
2452         * text3.C: The Box patch. Fancybox support, minipage, parbox
2453
2454 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2455
2456         * CutAndPaste.h:
2457         * DepTable.h:
2458         * FloatList.h:
2459         * LaTeXFeatures.h:
2460         * ParagraphParameters.h:
2461         * TextCache.h:
2462         * Thesaurus.h:
2463         * bufferlist.h:
2464         * exporter.h:
2465         * importer.h:
2466         * lastfiles.h:
2467         * lyxfind.h:
2468         * lyxfont.h:
2469         * lyxlex.h:
2470         * lyxtextclasslist.h:
2471         * messages.h:
2472         * paragraph.h:
2473         * paragraph_pimpl.C:
2474         * textcursor.h: add <string> and other small fixes to make Lars'
2475         std::string patch compile with STLport.
2476
2477 2003-10-06  Angus Leeming  <leeming@lyx.org>
2478
2479         * LColor.h: Add missing #include <string>.
2480
2481 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * All most all file in all subdirs: Make <string> be the prefered
2484         way of getting to std::string, add using declarations.
2485
2486 2003-10-06  André Pönitz  <poenitz@gmx.net>
2487
2488         * metricsinfo.C: initialize LyXFont before changing attribute.
2489         (fixes the 'math in \emph is upright' bug)
2490
2491 2003-10-06  André Pönitz  <poenitz@gmx.net>
2492
2493         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2494
2495 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2496
2497         * graph.C:
2498         * paragraph_pimpl.C: Small fixes to build using STLport
2499
2500 2003-10-02  André Pönitz  <poenitz@gmx.net>
2501
2502         * lyxfunc.C:
2503         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2504
2505 2003-10-01  André Pönitz  <poenitz@gmx.net>
2506
2507         * factory.C: assert early
2508
2509 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * lyx_main.C: remove the global debug object
2512
2513         * debug.h: adjust for new debugstream
2514
2515         * debug.C: adjust for new debugstream and keep the global debug
2516         object here.
2517
2518 2003-09-22  Angus Leeming  <leeming@lyx.org>
2519
2520         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2521         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2522         an incomplete class LyXFont.
2523
2524 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * factory.C: bug fix in branches
2527
2528 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2529
2530         * lyxfunc.C (processKeySym): adjust
2531         (dispatch): adjust
2532         (dispatch): change arg name from ev to func, adjust
2533         (sendDispatchMessage): ditto
2534
2535         * lyx_main.C (defaultKeyBindings): adjust keybindings
2536         (deadKeyBindings): ditto
2537
2538         * kbsequence.C (addkey): return a FuncRequest
2539
2540         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2541
2542         * kbmap.C (bind): take a FuncRequest as arg, adjust
2543         (read): adjust
2544         (lookup): adjust
2545         (defkey): change to take a FuncRequest as arg, adjust
2546         (findbinding): take a FuncRequest as arg, adjust.
2547
2548         * funcrequest.h (operator=): added
2549
2550         * funcrequest.C (FuncRequest): default kb_action changed from
2551         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2552
2553         * buffer.C (dispatch): simplify
2554         (dispatch): adjust to take a FuncRequest as arg, adjust
2555
2556         * boost.C (assertion_failed): change assertion message slightly
2557
2558         * ToolbarBackend.C (read): simplify
2559
2560         * MenuBackend.C (binding): adjust call to findbinding, add a
2561         message if no binding is found.
2562         (read): simplify
2563         (expandToc): correct by adding a empty FuncRequest
2564
2565         * LyXAction.C: include <boost/assert.hpp>
2566         (isPseudoAction): delete function
2567         (LookupFunc): change name to...
2568         (lookupFunc): this. change return type to FuncRequest.
2569         (getActionName): take kb_action as arg, simplify
2570         (funcHasFlag): add an assert, simplify.
2571
2572 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2573
2574         * toc.C (action): return a FuncRequest, simplify
2575
2576         * lyxfunc.C (processKeySym): adjust
2577         (getStatus): delete version that takes an int.
2578         (getStatus): adjust
2579         (dispatch): delete version that takes action as int
2580         (dispatch): adjust
2581         (sendDispatchMessage): simplify and adjust
2582
2583         * funcrequest.C (getArg): take unsigned int as arg
2584
2585         * ToolbarBackend.C (read): adjust
2586         (add): delete version that takes func as a string.
2587         (getIton): take a FuncRequest as arg
2588
2589         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2590         action.
2591
2592         * MenuBackend.C (MenuItem): add a new construct that only takes a
2593         Kind, simplify the constructor use for submenus.
2594         (add): adjust
2595         (expandLastfiles): adjust
2596         (expandDocuments): adjust
2597         (expandFormats): adjust
2598         (expandFloatListInsert): adjust
2599         (expandFloatInsert): adjust
2600         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2601
2602         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2603         Remove class variables lyx_pseudo_map and lyx_arg_map
2604
2605         * LyXAction.C (searchActionArg): delete function
2606         (getPseudoAction): delete function
2607         (retrieveActionArg): delete function
2608         (LookupFunc): make it return kb_action, simplify.
2609         (getActionName): simplify
2610
2611         * factory.C (createInset): fix new bug
2612
2613 2003-09-19  Angus Leeming  <leeming@lyx.org>
2614
2615         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2616         masterFilename_ parameter in the include inset.
2617
2618         * factory.C (createInset): changes due to the changes to InsetInclude.
2619
2620 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2621
2622         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2623
2624 2003-09-18  Angus Leeming  <leeming@lyx.org>
2625
2626         * buffer.C:
2627         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2628         Inset::fillWithBibKeys.
2629         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2630
2631 2003-09-18  Angus Leeming  <leeming@lyx.org>
2632
2633         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2634         variables.
2635         (ctor): pass and store a 'Buffer const &'
2636         (buffer): new member function.
2637
2638         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2639         '*this' to the LaTeXFeatures ctor.
2640
2641 2003-09-18  Angus Leeming  <leeming@lyx.org>
2642
2643         * LColor.h:
2644         * lyxfont.C:
2645         * lyxfont.h:
2646         * lyxtext.h:
2647         * text.C: rename EnumLColor as LColor_color.
2648
2649 2003-09-18  Angus Leeming  <leeming@lyx.org>
2650
2651         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2652         remove #include "insets/insetbase.h" from cursor.h.
2653
2654 2003-09-18  Angus Leeming  <leeming@lyx.org>
2655
2656         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2657         InsetOld_code to remove #include "inset.h".
2658
2659         * iterators.C: add #include "insets/inset.h"
2660
2661 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2662
2663         * BufferView.C: remove more locking stuff that apparently doesn't
2664         do anything sensible.
2665
2666 2003-09-16  André Pönitz  <poenitz@gmx.net>
2667
2668         * paragraph.[Ch]:
2669         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2670           performance boost.
2671
2672 2003-09-16  Angus Leeming  <leeming@lyx.org>
2673
2674         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2675
2676         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2677         arg/return type.
2678
2679         * paragraph.h: remove #include "lyxfont.h". Forward declare
2680         LyXFont_size.
2681
2682 2003-09-16  Angus Leeming  <leeming@lyx.org>
2683
2684         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2685         of support/textutils.h.
2686         (isWord): move the contents of support/textutils.h's IsWordChar here.
2687
2688         * buffer.C:
2689         * lyxfind.C:
2690         * rowpainter.C:
2691         * text.C:
2692         * text2.C: add #include "paragraph.h".
2693
2694         * rowpainter.C:
2695         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2696
2697 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2698
2699         * main.C:
2700         * lyx_main.C:
2701         * lyx_cb.C:
2702         * buffer.C:
2703         * LaTeX.C: use namespace alias for lyx::support::os
2704
2705 2003-09-16  Angus Leeming  <leeming@lyx.org>
2706
2707         * bufferparams.C:
2708         * bufferview_funcs.C:
2709         * factory.C:
2710         * lyxfunc.C:
2711         * paragraph_pimpl.C:
2712         * rowpainter.C:
2713         * text.C: add #include "LColor.h".
2714
2715 2003-09-16  Angus Leeming  <leeming@lyx.org>
2716
2717         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2718         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2719         return LyXFont &.
2720         Store the FontBits::color variable as an int rather than as an
2721         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2722         file.
2723
2724         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2725         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2726         string calls together.
2727
2728         * lyxrc.C: add #include "LColor.h".
2729
2730 2003-09-15  Angus Leeming  <leeming@lyx.org>
2731
2732         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2733         a cow_ptr.
2734
2735 2003-09-15  Angus Leeming  <leeming@lyx.org>
2736
2737         * LColor.h: add an EnumLColor wrapper for LColor::color.
2738
2739         * lyxfont.[Ch] (color, setColor, realColor):
2740         * lyxtext.h, text.C (backgroundColor):
2741         pass EnumLColor args to/from the functions, rather than LColor::color
2742         ones.
2743
2744         * lyxfont.h:
2745         * lyxtext.h: forward declare EnumLColor.
2746
2747         * lyx_main.C: add #include "LColor.h".
2748
2749 2003-09-15  Angus Leeming  <leeming@lyx.org>
2750
2751         * .cvsignore: add lyx-gtk.
2752
2753 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2754
2755         * Chktex.C
2756         * LaTeX.C
2757         * LaTeXFeatures.C
2758         * ParagraphParameters.C
2759         * Spacing.C
2760         * buffer.C
2761         * bufferparams.C
2762         * bufferview_funcs.C
2763         * chset.C
2764         * counters.C
2765         * funcrequest.C
2766         * lyxfont.C
2767         * lyxgluelength.C
2768         * lyxlength.C
2769         * paragraph.C
2770         * paragraph_funcs.C
2771         * text3.C
2772         * vc-backend.C: remove usage of STRCONV
2773
2774 2003-09-15  Angus Leeming  <leeming@lyx.org>
2775
2776         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2777         explicitly define the color passed to the painter.
2778
2779 2003-09-15  Angus Leeming  <leeming@lyx.org>
2780
2781         * bufferparams.C (BufferParams): reorder member initializers to avoid
2782         compiler warning.
2783
2784 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2787         * text.C (updateRowPositions): remove an unusual nop
2788
2789 2003-09-12  André Pönitz  <poenitz@gmx.net>
2790
2791         * BufferView_pimpl.C:
2792         * Bullet.C:
2793         * layout.h:
2794         * lyxfunc.C:
2795         * lyxlayout.[Ch]:
2796         * lyxtextclass.C:
2797         * rowpainter.C:
2798         * text.C:
2799         * text2.C:
2800         * Counters.[Ch]: finish the 'automatic counters' job
2801
2802 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2803
2804         * aspell.C: include <boost/assert.cpp> (compile fix)
2805
2806 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2807
2808         * boost.C (assertion_failed): use lyx::support::abort instead of
2809         assert.
2810
2811 2003-09-10  Angus Leeming  <leeming@lyx.org>
2812
2813         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2814         with their _fwd progeny.
2815
2816 2003-09-09  Angus Leeming  <leeming@lyx.org>
2817
2818         134 files throughtout the source tree: replace 'using namespace abc;'
2819         directives with the appropriate 'using abc::xyz;' declarations.
2820
2821 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2822
2823         * boost.C (emergencyCleanup): moved here from LAssert.c
2824         (assertion_failed): new function, called by BOOST_ASSERT
2825
2826         * several files: change Assert to BOOST_ASSERT
2827
2828 2003-09-09  Angus Leeming  <leeming@lyx.org>
2829
2830         * buffer.[Ch]: Add an Impl class and move Buffer's member
2831         variables into it. As a result move several header files out of
2832         buffer.h.
2833
2834         Add header files to lots of .C files all over the tree as a result.
2835
2836 2003-09-09  Angus Leeming  <leeming@lyx.org>
2837
2838         * buffer.[Ch]: make Buffer's member variables private. Add
2839         accessor functions.
2840
2841         Lots of changes all over the tree as a result.
2842
2843 2003-09-08  Angus Leeming  <leeming@lyx.org>
2844
2845         * graph.C: #include <config.h>.
2846
2847 2003-09-08  Angus Leeming  <leeming@lyx.org>
2848
2849         * BranchList.C:
2850         * BufferView.C:
2851         * BufferView_pimpl.C:
2852         * CutAndPaste.C:
2853         * DepTable.C:
2854         * LaTeX.C:
2855         * LaTeXFeatures.C:
2856         * LyXAction.C:
2857         * MenuBackend.C:
2858         * TextCache.C:
2859         * aspell.C:
2860         * buffer.C:
2861         * bufferlist.C:
2862         * changes.C:
2863         * chset.C:
2864         * converter.C:
2865         * counters.C:
2866         * debug.C:
2867         * graph.C:
2868         * ispell.C:
2869         * lyx_cb.C:
2870         * lyxfind.C:
2871         * lyxfunc.C:
2872         * lyxlex_pimpl.C:
2873         * lyxrc.C:
2874         * lyxrow.C:
2875         * paragraph.C:
2876         * rowpainter.C:
2877         * texrow.C:
2878         * text.C:
2879         * text2.C:
2880         * toc.C: remove redundant using directives.
2881
2882 2003-09-07  Angus Leeming  <leeming@lyx.org>
2883
2884         * LaTeXFeatures.h: remove #include "support/types.h".
2885         * ToolbarBackend.h: remove #include <algorithm>.
2886         * changes.h: remove #include <ctime>.
2887         * debug.h: remove #include <iosfwd>.
2888         * graph.h: remove #include "support/std_string.h".
2889         * lyx_main.h: remove #include <csignal>.
2890         * lyxlex_pimpl.h: remove #include <fstream>.
2891         * sgml.h: remove #include <algorithm>, <utility>.
2892         * toc.h: remove #include "support/std_ostream.h".
2893         Add #include <iosfwd>.
2894
2895 2003-09-07  Angus Leeming  <leeming@lyx.org>
2896
2897         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2898
2899         * converter.h: forward declare LatexRunParams.
2900         * encoding.h: remove #include "lyxrc.h".
2901         * lyxtext.h: remove #include "LColor.h".
2902         * lyxtextclass.h: remove #include "support/types.h".
2903         * trans.h: remove #include "tex-accent.h".
2904         * trans_mgr.h: remove #include "tex-accent.h".
2905         * insets/inset.h: remove #include "support/types.h", <vector>.
2906         * insets/insetcollapsable.h: remove #include "LColor.h".
2907         * insets/insetinclude.h: remove #include "dimension.h".
2908         * insets/insetlatexaccent.h: remove #include "dimension.h".
2909         * insets/insetoptarg.h:: remove #include "insettext.h".
2910         * insets/insettext.h: remove #include "dimension.h",
2911         <boost/shared_ptr.hpp>
2912
2913         * insets/renderers.h: add #include "dimension.h".
2914         * insets/updatableinset.h: add #include "support/types.h".
2915
2916         * many .C files: Associated changes.
2917
2918 2003-09-06  Angus Leeming  <leeming@lyx.org>
2919
2920         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2921         one, inside testInvariant.
2922
2923         * PrinterParams.C: new file.
2924         * PrinterParams.[Ch]: move the function bodies out of line.
2925
2926 2003-09-06  Angus Leeming  <leeming@lyx.org>
2927
2928         * ParagraphParameters.h: forward declare ParameterStruct rather than
2929         including its header file.
2930         (depth): moved out-of-line.
2931
2932 2003-09-06  Angus Leeming  <leeming@lyx.org>
2933
2934         * BufferView_pimpl.h:
2935         * kbmap.h:
2936         * kbsequence.h:
2937         * lyxfunc.h: forward declare LyXKeySym rather than
2938         #include "frontends/LyXKeySym.h".
2939
2940         * BufferView_pimpl.C:
2941         * kbmap.C:
2942         * kbsequence.C:
2943         * lyxfunc.C: associated changes.
2944
2945 2003-09-06  Angus Leeming  <leeming@lyx.org>
2946
2947         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2948         As a result, can remove the #include "insets/inset.h" from BufferView.h
2949
2950 2003-09-06  Angus Leeming  <leeming@lyx.org>
2951
2952         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2953         As a result, can remove the #include "insets/inset.h" from BufferView.h
2954
2955 2003-09-06  Angus Leeming  <leeming@lyx.org>
2956
2957         * buffer_funcs.C:
2958         * buffer.h:
2959         * bufferlist.C:
2960         * BufferView.C:
2961         * bufferview_funcs.C:
2962         * BufferView_pimpl.C:
2963         * CutAndPaste.C:
2964         * lyx_cb.C:
2965         * lyxfunc.C:
2966         * paragraph.h:
2967         * ParagraphParameters.C:
2968         * tabular.C:
2969         * text3.C:
2970         * toc.C:
2971         * undo_funcs.C:
2972         * frontends/controllers/ControlDocument.C:
2973         * insets/insetcaption.C: rearrange the #includes into some sort of
2974         coherent order.
2975
2976         * buffer.h: remove #includes ErrorList.h, undo.h
2977
2978 2003-09-06  Angus Leeming  <leeming@lyx.org>
2979
2980         * support/types.h: add a 'depth_type' typedef, used to store the
2981         nesting depth of a paragraph.
2982
2983         * paragraph.h:
2984         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2985         defining explicitly.
2986
2987         * buffer.h:
2988         * paragraph_funcs.h:
2989         * ParagraphParameters.h:
2990         * sgml.h: use lyx::depth_type rather than Paragraph or
2991         ParameterStruct's depth_type.
2992
2993         * buffer.h
2994         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2995
2996         * BufferView.C:
2997         * BufferView_pimpl.C:
2998         * CutAndPaste.C:
2999         * ParagraphParameters.C:
3000         * buffer_funcs.C:
3001         * bufferlist.C:
3002         * bufferview_funcs.C:
3003         * lyx_cb.C:
3004         * lyxfunc.C:
3005         * tabular.C:
3006         * text3.C:
3007         * toc.C:
3008         * undo_funcs.C:
3009         * frontends/LyXView.C:
3010         * frontends/controllers/ControlDocument.C:
3011         * frontends/controllers/ControlErrorList.C:
3012         * insets/insetbibitem.C:
3013         * insets/insetbranch.C:
3014         * insets/insetcaption.C:
3015         * insets/insetcollapsable.C:
3016         * insets/insetenv.C:
3017         * insets/insetert.C:
3018         * insets/insetfloat.C:
3019         * insets/insetfoot.C:
3020         * insets/insetfootlike.C:
3021         * insets/insetnewline.C:
3022         * insets/insetquotes.C:
3023         * insets/insettabular.C:
3024         * insets/insettext.C:
3025         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3026
3027         * frontends/controllers/ControlChanges.C: #include "changes.h".
3028
3029 2003-09-06  Angus Leeming  <leeming@lyx.org>
3030
3031         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3032         than #including paragraph.h.
3033
3034         * ParagraphList.h:
3035         * RowList.h: deleted. Superfluous.
3036
3037         * CutAndPaste.h:
3038         * iterators.h:
3039         * lyxcursor.h:
3040         * lyxtext.h:
3041         * text_funcs.h:
3042         * undo.h:
3043         * undo_funcs.h:
3044         * insets/inset.h:
3045         * insets/insettext.h: use ParagraphList_fwd.h rather than
3046         ParagraphList.h.
3047
3048         * paragraph.h: don't forward declare ParagraphList.
3049
3050         * buffer.h:
3051         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3052         rather than ParagraphList.h. paragraph.h is still needed for the
3053         Paragraph::depth_type parameters.
3054
3055         * textcursor.h: enable it to compile stand-alone in light of the
3056         above changes.
3057
3058         * bufferview_funcs.C:
3059         * iterators.C:
3060         * lyxfunc.C:
3061         * lyxrow_funcs.C:
3062         * paragraph.C:
3063         * rowpainter.C:
3064         * text.C:
3065         * text2.C:
3066         * text3.C:
3067         * text_funcs.C:
3068         * textcursor.C:
3069         * undo.C:
3070         * frontends/controllers/ControlParagraph.C:
3071         * frontends/controllers/ControlTabular.C:
3072         * insets/insetmarginal.C:
3073         * insets/insetminipage.C:
3074         * insets/insetnote.C:
3075         * insets/insetoptarg.C: add header files needed to compile again.
3076
3077 2003-09-06  Angus Leeming  <leeming@lyx.org>
3078
3079         * RowList_fwd.h: new file, forward-declaring Row rather than
3080         #including lyxrow.h.
3081
3082         * lyxrow_funcs.h:
3083         * lyxtext.h:
3084         * paragraph.h:
3085         * insets/insettext.h: use it instead of RowList.h
3086
3087         * bufferview_funcs.C:
3088         * lyxfunc.C:
3089         * lyxrow_funcs.C:
3090         * paragraph.C:
3091         * rowpainter.C:
3092         * text.C:
3093         * text2.C:
3094         * text3.C: #include "RowList.h".
3095
3096 2003-09-05  Angus Leeming  <leeming@lyx.org>
3097
3098         * factory.C (createInset):
3099         * vspace.C (c-tor): replace sscanf call with an istringstream.
3100         * ispell.C: re-add missing HP/UX headers.
3101         * lyxserver.C: re-add missing  os2 headers.
3102
3103 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3104
3105         * BranchList.C:
3106         * graph.C:
3107         * ispell.C:
3108         * lastfiles.C:
3109         * lyx_cb.C:
3110         * lyxserver.C:
3111         * texrow.C:
3112         * text3.C: re-add missing system headers, needed for 2.95.2.
3113
3114 2003-09-05  Angus Leeming  <leeming@lyx.org>
3115
3116         Changes most place everywhere due to the removal of using directives
3117         from support/std_sstream.h.
3118
3119 2003-09-05  Angus Leeming  <leeming@lyx.org>
3120
3121         Replace LString.h with support/std_string.h,
3122         Lsstream.h with support/std_sstream.h,
3123         support/LIstream.h with support/std_istream.h,
3124         support/LOstream.h with support/std_ostream.h.
3125
3126         Changes resulting throughout the tree.
3127
3128 2003-09-05  Angus Leeming  <leeming@lyx.org>
3129
3130         * sgml.h: ensure that the header file can be compiled stand-alone.
3131         * *.C: strip out redundant #includes. (320 in total.)
3132
3133 2003-09-04  Angus Leeming  <leeming@lyx.org>
3134
3135         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3136         here (from getPackages).
3137
3138         * debug.[Ch]: add a new EXTERNAL tag.
3139
3140 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3141
3142         * text2.C (cursorEnd): simplify
3143         (setCursor): adjust
3144         (getColumnNearX): adjust
3145
3146         * text.C (computeBidiTables): adjust
3147         (fill): adjust
3148
3149         * rowpainter.C (paintChars): adjust
3150         (paintSelection): adjust
3151         (paintChangeBar): adjust
3152         (paintText): adjust
3153
3154         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3155         lastPos instead.
3156         (numberOfSeparators): adjust
3157
3158 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3159
3160         * LyXAction.C:
3161         * box.[Ch]:
3162         * lfuns.h:
3163         * lyxfunc.C:
3164         * text3.C: Restricts the mouse click functionality
3165         of insets like bibtex, include, toc and floatlist to the visible
3166         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3167         up the dialogs. Cursor has to be in front of the inset (i.e.
3168         start of row) for this to function.
3169
3170 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3171
3172         * bufferview_funcs.C (currentState): output row information
3173
3174 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3175
3176         * bufferview_funcs.C (currentState): output paragraph position
3177
3178 2003-09-04  Angus Leeming  <leeming@lyx.org>
3179
3180         * FloatList.h: move out #include "Floating.h".
3181         * LaTeX.h: move out #include "DepTable.h".
3182         * LyXAction.h: move out #include "funcrequest.h".
3183         * buffer.h: move out #include "author.h", "iterators.h".
3184         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3185         * lyx_main.h: move out #include "errorlist.h".
3186         * lyxfunc.h: move out #include "FuncStatus.h".
3187         * lyxtext: move out #include "lyxcursor.h".
3188         * paragraph_pimpl.h: move out #include "counters.h".
3189
3190 2003-09-03  Angus Leeming  <leeming@lyx.org>
3191
3192         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3193         preamble_snippets list, enabling us to add snippets to the preamble
3194         only if the snippet was not there already.
3195
3196 2003-09-04  Angus Leeming  <leeming@lyx.org>
3197
3198         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3199
3200 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3203         update
3204
3205 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3206
3207         * BranchList.C: point fix, earlier forgotten
3208
3209 2003-09-02  Angus Leeming  <leeming@lyx.org>
3210
3211         * box.C (contains): renamed from 'contained' after a fantastic
3212         amount of hot air.
3213
3214 2003-09-02  John Levon  <levon@movementarian.org>
3215
3216         * BufferView.C:
3217         * lyxcursor.h:
3218         * lyxcursor.C:
3219         * lyxfunc.C:
3220         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3221
3222 2003-09-02  John Levon  <levon@movementarian.org>
3223
3224         * text2.C: simplification of cursorEnd(), including partial
3225         fix for bug 1376
3226
3227 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3228
3229         * buffer.C (readFile): add a space
3230
3231 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3232
3233         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3234
3235 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3236
3237         * buffer.C (readFile): new function, take a filename and a
3238         ParagraphList::iterator
3239         (readFile): adjust
3240         (readFile): adjust, make it private. don't use setStream, make
3241         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3242         always contain the filename.
3243
3244         * BufferView.C (insertLyXFile): simplify and make it work for
3245         gzipped files.
3246
3247 2003-08-30  John Levon  <levon@movementarian.org>
3248
3249         * Makefile.am: fix dist (from Kayvan)
3250
3251 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * most files: change to use const Buffer refs
3254
3255 2003-08-27  André Pönitz  <poenitz@gmx.net>
3256
3257         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3258         on top of ownerPar().
3259
3260 2003-08-27  John Levon  <levon@movementarian.org>
3261
3262         * funcrequest.C: properly initialise POD members
3263
3264 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3265
3266         * lyxtext.h (top_y): move top_y from here
3267         * text.C:
3268         * text2.C:
3269         * text3.C:
3270         * BufferView.[Ch]:
3271         * BufferView_pimpl.[Ch]: to here
3272         * frontends/screen.C:
3273         * insets/insettabular.C:
3274         * insets/insettext.C: adjust
3275         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3276
3277 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3278
3279         * BufferView.[Ch]:
3280         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3281
3282 2003-08-26  André Pönitz  <poenitz@gmx.net>
3283
3284         * paragraph_func.[Ch] (outerPar): new function
3285
3286         * paragraph.C:
3287         * paragraph_funcs.C:
3288         * paragraph_funcs.h:
3289         * paragraph_pimpl.C:
3290         * text2.C: remove Inset::par_owner
3291
3292 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3293
3294         * lyxrow_funcs.C:
3295         * lyxtext.h:
3296         * text.C:
3297         * text2.C: eliminates the needFullRow/display() stuff
3298         altogether, putting the logic in metrics/draw in the insets.
3299
3300 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3301
3302         * text2.C (redoParagraphInternal, redoParagraphs):
3303         * text.C (redoParagraph): add a call to updateRowPositions at the
3304         end of each 'metrics-like' call. Remove all others.
3305         (getRow): remove the 'y-computing' version.
3306         (getRowNearY): do not compute nor return the real y. Solve the
3307         'y < 0' problem and simplify.
3308
3309 2003-08-22  Angus Leeming  <leeming@lyx.org>
3310
3311         * *.[Ch]: clean-up of licence and author blurbs.
3312         Also move config.h out of a few .h files and into a few .C files.
3313
3314 2003-08-22  André Pönitz  <poenitz@gmx.net>
3315
3316         * lyxrow.[Ch]: add x_ and *fill_ members
3317
3318         * lyxtext.h:
3319         * text.C:
3320         * rowpainter.C:
3321         * text2.C: adjust/remove prepareToPrint() calls
3322
3323 2003-08-22  André Pönitz  <poenitz@gmx.net>
3324
3325         * lyxrow.[Ch]: add  end_ member
3326
3327         * lyxrow_funcs.C: use LyXRow::end_
3328
3329         * lyxtext.h (singleWidth): add LyXFont parameter
3330
3331         * rowpainter.C:
3332         * text2.C: adjust LyXText::singleWidth() calls
3333
3334         * text.C (redoParagraph): simplify row breaking logic
3335
3336
3337 2003-08-19  André Pönitz  <poenitz@gmx.net>
3338
3339         * funcrequest.C: initialize button_ member
3340
3341         * text3.C:
3342         * rowpainter.[Ch]: interface consolidation
3343
3344 2003-08-18  André Pönitz  <poenitz@gmx.net>
3345
3346         * BufferView.C:
3347         * BufferView_pimpl.C:
3348         * lyxfind.C:
3349         * paragraph_funcs.C:
3350         * rowpainter.C:
3351         * text3.C: remove LyXScreen::draw() and fitCursor calls
3352
3353         * BranchList.h: remove spurious semicolons
3354
3355         * MenuBackend.C: fix branchlist related crash
3356
3357 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3358
3359         * BranchList.[Ch]:
3360         * InsetList.[Ch]:
3361         * LColor.[Ch]:
3362         * LyXAction.C:
3363         * Makefile.am:
3364         * MenuBackend.[Ch]:
3365         * bufferparams.[Ch]:
3366         * factory.C:
3367         * lfuns.h:
3368         * lyxfunc.C:
3369         * text3.C: implements the 'branch inset'
3370         idea. This allows the output of various versions of a document
3371         from a single source version, selectively outputing or suppressing
3372         output of parts of the text.
3373         This implementation contains a 'branch list editor' in a separate
3374         tab of the document settings dialog. Branches are user definable
3375         and have a "display colour" to distinguish them on-screen.
3376
3377         ColorHandler was somewhat cleaned up.
3378         (1) make possible a dynamically growing LColor list by allowing
3379         the graphic context cache to grow along (vector);
3380         (2) eliminate an IMHO unnecessary step in colour allocation.
3381
3382 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3383
3384         * BufferView_pimpl.C: compile fix
3385
3386 2003-08-15  André Pönitz  <poenitz@gmx.net>
3387
3388         * rowpainter.C: remove extra metrics calls
3389
3390         * lyxtext.h: merge the two constructors into a single one,
3391           pass reference to owner's par list
3392
3393         * BufferView_pimpl.C:
3394         * text.C:
3395         * text2.C: adjust
3396
3397 2003-08-15  André Pönitz  <poenitz@gmx.net>
3398
3399         * lyxrow_funcs.[Ch]:
3400         * lyxtext.h:
3401         * paragraph.h:
3402         * paragraph_funcs.C:
3403         * rowpainter.C:
3404         * text.C:
3405         * text2.C:
3406         * text3.C:
3407         * text_funcs.C: split LyXText::rowlist_ into individual
3408         Paragraph::rows_ chunks
3409
3410         * BufferView.[Ch]:
3411         * BufferView_pimpl.[Ch]:
3412         * lyxfind.C:
3413         * lyxtext.h:
3414         * text3.C: remove toggleSelection()
3415
3416 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3417
3418         * bufferlist.C: beautify two alerts (shorter text of buttons)
3419         * buffer.C: Remove redundant ' ' from message
3420         * tabular.h:
3421         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3422         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3423         rename VALIGN_CENTER to VALIGN_MIDDLE
3424
3425 2003-08-11  André Pönitz  <poenitz@gmx.net>
3426
3427         * lyxtext.h (getPar):
3428         * text.C: new function
3429
3430 2003-08-11  André Pönitz  <poenitz@gmx.net>
3431
3432         * Makefile.am:
3433         * tracer.[Ch]: remove unneeded files
3434
3435         * InsetList.[Ch]: remove resizeInsetsLyXText()
3436
3437         * lyxtext.h:
3438         * text.C:
3439         * text2.C:
3440         * text3.C: merge insertParagraphs() and appendParagraph()
3441         remove breakAgain(), update()
3442
3443         * BufferView_pimpl.[Ch]:
3444         * bufferview_funcs.[Ch]:
3445         * lyxfunc.C:
3446         * paragraph.[Ch]:
3447         * rowpainter.C:
3448         * tabular.C: adjust after text & InsetList changes.
3449
3450 2003-08-08  André Pönitz  <poenitz@gmx.net>
3451
3452         * text.C (insertChar, backspace): replace rowlist fiddling
3453         with rebreak of full par
3454
3455         * lyxtext.h:
3456         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3457         checkParagraph, updateInset): removed
3458
3459 2003-08-07  André Pönitz  <poenitz@gmx.net>
3460
3461         * paragraph.C:
3462         * text3.C: merge some LFUN handlers, remove dead code
3463
3464 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3465
3466         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3467
3468 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3469
3470         * text2.C (DEPM): fix part of bug 1255 and 1256
3471
3472 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3473
3474         * BufferView_pimpl.C (workAreaDispatch): change to use
3475         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3476         that are no mouse related.
3477
3478 2003-08-05  André Pönitz  <poenitz@gmx.net>
3479
3480         * BufferView.[Ch]:
3481         * BufferView_pimpl.[Ch]:
3482         * bufferview_funcs.C:
3483         * text2.C:
3484         * text3.C: rip out "deep update"
3485
3486         * textcursor.[Ch] (last_sel_cursor): remove unused member
3487
3488 2003-08-04  André Pönitz  <poenitz@gmx.net>
3489
3490         * BufferView.[Ch]:
3491         * BufferView_pimpl.[Ch]:
3492         * ParagraphParameters.C:
3493         * bufferview_funcs.C:
3494         * lyx_cb.C:
3495         * lyxfind.C:
3496         * lyxfunc.C:
3497         * text.C:
3498         * text2.C:
3499         * text3.C: replace "complicated" BufferView::update(...) calls with
3500         simpler ones.
3501
3502         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3503
3504 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3505
3506         * Makefile.am (lyx_SOURCES): add paper.h
3507
3508 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3509
3510         * Makefile.am: move things around so that both lyx-qt and
3511         lyx-xforms can be built (according to --with-frontend). Then lyx
3512         is a symbolic link to lyx-[firstfrontend]
3513
3514 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3515
3516         * Always use std::endl with lyxerr
3517
3518 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3519
3520         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3521
3522 2003-08-01  André Pönitz  <poenitz@gmx.net>
3523
3524         * BufferView.[Ch]:
3525         * BufferView_pimpl.[Ch]:
3526         * lyxfunc.C:
3527         * text3.C: merge BufferView::repaint() and BufferView::update()
3528
3529 2003-08-01  José Matos  <jamatos@lyx.org>
3530
3531         * buffer.[Ch]: file_format is no longer a buffer data element.
3532
3533 2003-08-01  André Pönitz  <poenitz@gmx.net>
3534
3535         * BufferView.C:
3536         * lyxtext.h:
3537         * text.C:
3538         * text2.C: make redoParagraph more independent of current cursor
3539
3540         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3541         * text.C:
3542         * text2.C: remove unneeded members
3543
3544 2003-07-30  André Pönitz  <poenitz@gmx.net>
3545
3546         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3547
3548         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3549           create a single function...
3550
3551         * paragraph_funcs.C (moveItem): ... here.
3552
3553         * text.C:
3554           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3555
3556 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3557
3558         * LColor.[Ch]: Add comment and greyedout logical colors.
3559
3560 2003-07-30  André Pönitz  <poenitz@gmx.net>
3561
3562         * tabular.C: don't use Assert too heavily. This crashes where it
3563           shouldn't
3564
3565 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3566
3567         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3568         is disabled (bug 1232)
3569
3570 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3571
3572         * factory.C: limited 'arg' scope
3573
3574 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3575
3576         * factory.C: fixed Note submenu issues
3577
3578 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3579
3580         * factory.C: submenu for Note/Comment/Greyedout
3581
3582 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * lyx_main.C (LyX):
3585         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3586
3587 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3588
3589         * LaTeXFeatures.C:
3590         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3591         greyedout. Patch provided by Jürgen Spitzmüller.
3592
3593 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3594
3595         * kbmap.C (read): fix error message when reading bind files
3596
3597 2003-07-29  Angus Leeming  <leeming@lyx.org>
3598
3599         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3600         certainly does not do what it purports to do. I am doing it, and
3601         us, a favour by killing it.
3602
3603 2003-07-28  José Matos  <jamatos@lyx.org>
3604
3605         * buffer.C (readBody, do_writeFile):
3606         * paragraph.C(readParagraph): \end_document replaces \the_end.
3607
3608 2003-07-29  André Pönitz  <poenitz@gmx.net>
3609
3610         * BufferView.[Ch]:
3611         * BufferView_pimpl.[Ch]:
3612         * lyxfunc.C:
3613         * text2.C:
3614         * text3.C:
3615         * textcursor.[Ch]: remove toggleToggle & Co
3616
3617 2003-07-28  José Matos  <jamatos@fep.up.pt>
3618
3619         * buffer.C (readParagraph):
3620         * params_func (readParToken, readParagraph):
3621         * paragraph.C (write): \layout -> \begin_layout.
3622
3623 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3624
3625         * lyxlex_pimpl.C (setFile): clean up slightly.
3626
3627         * bufferparams.h: add compressed var
3628
3629         * buffer_funcs.C (readFile): adjust for LyXLex change
3630         (newFile): ditto + simplify
3631
3632         * buffer.C (writeFile): handle writing of compressed files
3633
3634         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3635         Check if the file is compressed and set a bufferparm if so.
3636
3637         * Makefile.am (lyx_LDADD): remove explicit -lz
3638
3639 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3640
3641         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3642         makeDocBookFile): put the real LyX version in the first line of
3643         the file
3644
3645         * version.h:
3646         * version.C.in: remove lyx_docversion
3647
3648         * tabular.C (write_attribute): add a template-based version to
3649         write enums properly
3650
3651 2003-07-28  André Pönitz  <poenitz@gmx.net>
3652
3653         * lyxtext.h:
3654         * text.C:
3655         * text2.C:
3656         * text3.C: use doubles again for x-coordinates. They are needed.
3657
3658 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * messages.C (getLocaleDir): use lyx_localedir()
3661
3662         * lyxlex_pimpl.C (setFile): compress stuff
3663
3664         * buffer.C (writeFile): add some compression stuff
3665         (do_writeFile): new func, dont call expliti close... will this
3666         breake anything?
3667
3668         * Makefile.am (lyx_LDADD): add -lz
3669
3670 2003-07-28  José Matos  <jamatos@fep.up.pt>
3671
3672         * buffer.C: increment file format.
3673         * paragraph_funcs (readParagraph, readParToken):
3674         * paragraph.C (readParagraph): add \end_layout.
3675
3676 2003-07-27  Angus Leeming  <leeming@lyx.org>
3677
3678         * Makefile.am: remove special casing for configure-time setting of
3679         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3680
3681         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3682         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3683
3684 2003-07-26  André Pönitz  <poenitz@gmx.net>
3685
3686         * paragraph_func.[Ch]:
3687         * paragraph.C (realizeFont): inline it whereever it is used
3688
3689         * rowpainter.C:
3690         * text.C:
3691         * text2.C:
3692         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3693
3694
3695 2003-07-26  André Pönitz  <poenitz@gmx.net>
3696
3697         *       lyxtext.h:
3698         * text.C:
3699         * text2.C: get rid of LyXText::need_break_row
3700
3701 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * toc.[Ch]: put namespace toc inside namespace lyx
3704
3705         * MenuBackend.C (expandToc2): adjust for lyx::toc
3706         (expandToc): ditto
3707
3708         * lyxfunc.C (dispatch): adjust for lyx::find
3709
3710         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3711         lyx::find instead. Reorganize a bit.
3712         (LyXReplace): rename to replace
3713         (LyXFind): rename to find
3714
3715         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3716         (dispatch): ditto
3717
3718 2003-07-26  André Pönitz  <poenitz@gmx.net>
3719
3720         * text.C (setHeightOfRow): restrict scope of temporary variable
3721
3722         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3723           code (never has been used?)
3724
3725 2003-07-27  Asger Alstrup  <alstrup@local>
3726
3727         * text.C (fill): Optimise algorithm to exploit that we can reuse
3728         the LyXFont for many characters.
3729         (setHeightOfRow): Same thing.
3730         (rowBreakPoint): Same thing.
3731
3732 2003-07-26  Asger Alstrup  <alstrup@local>
3733
3734         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3735
3736         * text.C (singleWidth): Spurious font copying in hot-spot
3737         singleWidth avoided. Reorder tests for arabic for efficiency.
3738
3739         * text.C (fill): handle empty paragraphs better.
3740
3741 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3742
3743         * ispell.C:
3744         * encoding.h: add includes
3745
3746         * lyxrc.C: remove reading of bind files
3747
3748         * lyx_main.C (init): setup bindings and menus only if we have a
3749         gui.
3750
3751         * kbmap.C (read): new method. Do the actual reading of bind
3752         files.
3753
3754         * converter.C (dvipdfm_options):
3755         * bufferparams.C:
3756         * lyxrc.C (read):
3757         (output): adapt PAPER_* enums.
3758
3759         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3760
3761         * bufferparams.h: remove paper-related enums from there
3762
3763         * paper.h: New file. A trivial header file to hold paper-related
3764         enums. It should later expand to contain many paper-related
3765         horrors access.
3766
3767         * lyxrc.C: declare extern displayTranslator
3768
3769 2003-07-27  José Matos  <jamatos@fep.up.pt>
3770
3771         * tabular.[Ch] (linuxdoc): add support for tables and figures
3772         (linuxdoc).
3773
3774 2003-07-27  José Matos  <jamatos@fep.up.pt>
3775
3776         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3777         consistency in both functions.
3778         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3779
3780 2003-07-26  Asger Alstrup  <alstrup@local>
3781
3782         * rowpainter.C (paintRows): Change algorithm to work directly on
3783         the insets rather than asking every character in the document
3784         whether its an inset.
3785
3786 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * buffer.C (openFileWrite): factorize some code
3789
3790 2003-07-26  Angus Leeming  <leeming@lyx.org>
3791
3792         * lyx_cb.C:
3793         * lyx_main.[Ch]: replace occurances of system_tempdir with
3794         os::getTmpDir().
3795
3796 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3797
3798         * rename Inset to InsetOld
3799
3800 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3801
3802         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3803         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3804         which I think is a bit clearer. EDIT is gone, since it was
3805         premature optimisation, and broken for mathed anyway.
3806         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3807         with cursor positioning in insets as well (math insets still do not
3808         work, but that's a different story anyway.) It mysteriously
3809         crashes sometimes with undo in the first paragraph, but I'm fairly
3810         confident that this is a compiler bug.
3811
3812 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3813
3814         * paragraph.C (Paragraph): adjust for new clone return type
3815         (operator==): ditto
3816         (copyIntoMinibuffer): ditto
3817
3818 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3819
3820         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3821         by not having a special case, and always doing a full rebreak of
3822         the document after undo.
3823
3824 2003-07-23  Angus Leeming  <leeming@lyx.org>
3825
3826         * factory.C (createInset): InsetExternal::setParams now takes a
3827         Buffer const * arg.
3828
3829 2003-07-23  Angus Leeming  <leeming@lyx.org>
3830
3831         * factory.C (createInset): changed interface to the external and
3832         graphics mailers' string2params functions.
3833
3834 2003-07-23  Angus Leeming  <leeming@lyx.org>
3835
3836         * factory.C (createInset): pass a
3837         Buffer const * parameter to InsetExternalMailer's string2params.
3838
3839 2003-07-22  John Levon  <levon@movementarian.org>
3840
3841         * Thesaurus.h: include the right aiksaurus header
3842
3843 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3844
3845         * MenuBackend.C (expand): check menu shortcuts unconditionally
3846
3847 2003-07-21  Angus Leeming  <leeming@lyx.org>
3848
3849         * factory.C (createInset): pass a
3850         buffer_path parameter to InsetGraphicsMailer's string2params.
3851
3852 2003-07-21  Angus Leeming  <leeming@lyx.org>
3853
3854         * BufferView_pimpl.C (buffer):
3855         * buffer.C (d-tor):
3856         * lyx_main.C (LyX):
3857         * lyxfunc.C (dispatch):
3858         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3859         rather than the grfx shortcut.
3860
3861 2003-07-21  André Pönitz  <poenitz@gmx.net>
3862
3863         * rowpainter.C: remove unused variables
3864
3865         * tabular_funcs.C:
3866         * tabular_funcs.h: move to tabular.C
3867         * Makefile.am: adjust
3868
3869         * tabular.[Ch]: basic optical cleaning
3870
3871         * author.h: pass references, not values
3872
3873 2003-07-18  André Pönitz  <poenitz@gmx.net>
3874
3875         * lyxtext.h:
3876         * metricsinfo.C:
3877         * metricsinfo.h:
3878         * rowpainter.C:
3879         * text.C:
3880         * text2.C:
3881         * text3.C: two-phase drawing for InsetText and InsetTabular
3882         some float -> int changes.
3883
3884 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3885
3886         * lyx_main.C: fix the fix
3887
3888 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3889
3890         * lyx_main.C: fix a crash in batch mode if no files specified
3891         * converter.C: ws
3892
3893 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3894
3895         * format.[Ch] (papersize): moved to BufferParams
3896         * converter.[Ch] (dvips_options): moved to BufferParams
3897         (dvipdfm_options): moved to anon namespace
3898         * bufferparams.[Ch]: added above functions.
3899
3900 2003-07-17  André Pönitz  <poenitz@gmx.net>
3901
3902         * lyxtext.h:
3903         * rowpainter.C:
3904         * text2.C: don't call inset->update() anymore
3905
3906         * metricsinfo.[Ch]: add convenience constructor
3907
3908 2003-07-16  André Pönitz  <poenitz@gmx.net>
3909
3910         * lyxcursor.[Ch]:
3911         * lyxfunc.[Ch]:
3912         * text.C:
3913         * text2.C: replace the LyXCursor::irow_ member with
3914          on-demand computation of the value
3915
3916 2003-07-16  John Levon  <levon@movementarian.org>
3917
3918         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3919
3920 2003-07-15  André Pönitz  <poenitz@gmx.net>
3921
3922         * text.C:
3923         * text2.C: remove no more needed refresh_row
3924
3925 2003-07-15  André Pönitz  <poenitz@gmx.net>
3926
3927         * lyxtext.h:
3928         * rowpainter.C:
3929         * text2.C:
3930         * text3.C: refresh_status tristate -> need_update bool
3931
3932 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3933
3934         * lyxtext.h (init): remove reinit argument (act as if always true)
3935         * text2.C: adjust to that
3936
3937 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3938
3939         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3940         * text3.C: use it to delete selections in some cases
3941         (bugs 441, 673, 702, 954).
3942
3943 2003-07-14  André Pönitz  <poenitz@gmx.net>
3944
3945         * rowpainter.[Ch]: reduce interface
3946
3947 2003-07-14  André Pönitz  <poenitz@gmx.net>
3948
3949         * BufferView_pimpl.C:
3950         * text2.C: adjust after removing unused BufferView * argument
3951
3952 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3953
3954         * text2.C (init): fix a crash fired on resize
3955
3956 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3957
3958         * buffer.[Ch]: added new closing signal
3959         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3960         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3961         BufferView::Pimpl via the closing the signal
3962
3963 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3964
3965         * buffer.[Ch]: take out all bv-related from buffer
3966         * BufferView.C:
3967         * BufferView_pimpl.[Ch]: connect to new signals
3968         * CutAndPaste.C: removed useless asserts
3969         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3970         * lyxvc.[Ch]:
3971         * vc-backend.[Ch]:
3972         * lyxfunc.C: moved view-related funciontality from vc here
3973         * paragraph.C: removed outdated comments
3974         * text.C: ws
3975
3976 2003-07-10  André Pönitz  <poenitz@gmx.net>
3977
3978         * BufferView_pimpl.C:
3979         * tabular.h:
3980         * tabular_funcs.C:
3981         * text.C:
3982         * text2.C: remove InsetText::InnerCache, clean up consequences
3983
3984 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3985
3986         * ispell.C: fix two typos in error messages
3987
3988 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3989
3990         * Extend Note inset to other forms of annotation like Comment
3991         and Greyedout. Right button click gives dialog.
3992
3993         Files modified or added (+):
3994
3995         * insetnote.[Ch]
3996         * FormNote.[Ch]      +
3997         * ControlNote.[Ch]   +
3998         * form_note.fd       +
3999         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4000         frontends/controllers
4001         * xforms/Dialogs.C
4002         * factory.C
4003
4004 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4005
4006         * aspell.C: add missing namespace lyx::support
4007
4008 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * BufferView.[Ch] (newFile): Add
4011         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4012         * LaTeX.[Ch] (message): added this signal and use it
4013         * buffer.[Ch] (busy, message): added these signals and use them
4014         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4015         * converter.C:
4016         * exporter.C:
4017         * format.C:
4018         * importer.C: use buffer signals instead of direct bv calling
4019         * lyx_cb.[Ch] (ShowMessage): removed
4020         * lyx_main.C:
4021         * lyxfunc.C:
4022         * paragraph_funcs.C:
4023         * text2.C: use buffer signals
4024
4025 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * introduce namespace lyx::graphics
4028
4029 2003-07-02  André Pönitz  <poenitz@gmx.net>
4030
4031         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4032
4033 2003-07-01  André Pönitz  <poenitz@gmx.net>
4034
4035         * text.C:
4036         * text2.C:
4037         * text3.C:
4038         * text_funcs.[Ch]:
4039         * textcursor.h:
4040         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4041           text*.C to text_func.C
4042
4043 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * introduce namespace lyx::support
4046
4047 2003-06-30  André Pönitz  <poenitz@gmx.net>
4048
4049         * Chktex.C:
4050         * funcrequest.C:
4051         * lyxtext.h:
4052         * text.C: re-enable --with-included-string
4053
4054 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * textcursor.C: add <config.h>
4057
4058         * text.C (getWord): remove const from word_location arg
4059
4060         * lyxvc.C (getLogFile): fix const type order
4061
4062         * lyxtext.h: remove const from word_location arg, add arg name
4063
4064         * lyxlayout.h: currect type on labeltype.
4065
4066         * importer.C: correct \file
4067
4068         * converter.C (intToFormat): use std:: on ret val, ws changes
4069
4070         * bufferlist.h: correct \file
4071
4072         * buffer.C (makeLinuxDocFile): fix const type order
4073         (makeDocBookFile): ditto
4074         (fillWithBibKeys): use std:: on stdlib args.
4075
4076         * CutAndPaste.C: fix authors.
4077         (availableSelections): use std:: on return vector
4078
4079 2003-06-27  André Pönitz  <poenitz@gmx.net>
4080
4081         * BufferView_pimpl.C:
4082         * bufferview_funcs.C:
4083         * lyxcursor.C:
4084         * lyxcursor.h:
4085         * lyxfunc.C:
4086         * lyxtext.h:
4087         * rowpainter.C:
4088         * text.C:
4089         * text2.C:
4090         * text3.C: remove LyXCursor::row_ member
4091
4092         * lyxtext.h:
4093         * text.C: rename fullRebreak() to partialRebreak() and implement
4094           a fullRebreak() that really bereks fully
4095
4096         * textcursor.h: new struct for cursor-related data
4097
4098 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * lyx_main.C (LyX): get full path of document loaded on the
4101         command line
4102
4103 2003-06-26  André Pönitz  <poenitz@gmx.net>
4104
4105         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4106           remove unused/broken operator>,<,>=.
4107
4108         *       text.C: remove only use of broken operator<= in an Assert().
4109
4110 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4111
4112         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4113         moved errorlist_.clear to showErrorList
4114
4115 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4116
4117         * converter.C (scanLog, runLaTeX):
4118         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4119         move the bv->showErrorList call to the callers
4120         * lyxfunc.C: i.e. here...
4121         * text2.C: and here
4122         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4123         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4124         namespace, the second to...
4125         * buffer_funcs (BufferFormat, parseErrors): added
4126         * errorlist.C (ErrorList(TeXErrors const &)): removed
4127
4128 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4129
4130         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4131
4132 2003-06-24  "Garst R. Reese" <reese@isn.net>
4133
4134         * debug.C: fix typo
4135
4136 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4137
4138         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4139
4140         * version.C.in: change docversion to 1.4
4141
4142 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * buffer.C: fix a bug just introduced
4145
4146 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * buffer.[Ch]: added the parseError signal and use it, removed
4149         sgmlError
4150         * BufferView.[Ch] (addError): moved to ...
4151         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4152         to the Buffer::parseError signal to catch (guess what) parse errors
4153         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4154
4155 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4158         ability to create a buffer and to return an existing one from
4159         the list. Moved these functions to...
4160         * buffer_funcs.[Ch]: added
4161         * BufferView.[Ch] (loadLyXFile): added
4162         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4163         job removed from bufferlist::loadLyXFile.
4164         * buffer.C (setReadOnly): make it work without view
4165         (i.e added an if (users))
4166
4167 2003-06-19  Angus Leeming  <leeming@lyx.org>
4168
4169         * lfuns.h:
4170         * LyXAction.C (init):
4171         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4172         with LFUN_DIALOG_SHOW <name> <data>.
4173
4174 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4175
4176         * CutAndPaste.C (availableSelections): small compilation fix for
4177         ancient (gcc 2.9x) compilers
4178
4179 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4180
4181         * text3.C (cursorNext): add tmp var
4182
4183         * text2.C (updateCounters): for function calling out of for clause
4184         (replaceSelectionWithString): ditto
4185         (insertStringAsParagraphs): ditto
4186         (getColumnNearX): add tmp var
4187         (setCursorFromCoordinates): add tmp var
4188         (cursorDownParagraph): add tmp var
4189         (deleteEmptyParagraphMechanism): add tmp var
4190
4191         * text.C (insertChar): add tmp var
4192
4193         * rowpainter.C (paintDepthBar): add tmp var
4194
4195         * CutAndPaste.C (availableSelections): potentially check all
4196         paragraphs in a cut to fill the shown strings.
4197
4198 2003-06-18  André Pönitz  <poenitz@gmx.net>
4199
4200         * kbmap.[Ch]: use vector<> instead of list<>
4201
4202 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4203
4204         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4205         pasteSelection with index
4206
4207         * text2.C (pasteSelection): modify, call pasteSelection with index
4208
4209         * paragraph.C (asString): reimplement version with no interval to
4210         call the one with interval.
4211
4212         * lyxtext.h: add index arg to pasteSelection
4213
4214         * MenuBackend.C (MenuItem): handle PasteRecent
4215         (Menu::read::Menutags): add md_pasterecent
4216         (read): handle it
4217         (expandPasteRecent): new function
4218         (expand): use it
4219
4220         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4221
4222         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4223         the limited stack
4224         (availableSelections): new function
4225
4226 2003-06-17  Angus Leeming  <leeming@lyx.org>
4227
4228         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4229
4230 2003-06-17  Angus Leeming  <leeming@lyx.org>
4231
4232         * lfuns.h:
4233         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4234
4235         * lyxfunc.C (dispatch): invoke it.
4236
4237 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4238
4239         * iterators.C (operator++, ParPosition): reintroduce some
4240         const_cast for the benefit of older compilers.
4241
4242 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4243
4244         * text3.C (dispatch): do not modify clipboard when doing
4245         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4246         LFUN_DELETE_SKIP on a selection selection
4247
4248 2003-06-16  André Pönitz  <poenitz@gmx.net>
4249
4250         * BufferView.C:
4251         * buffer.C:
4252         * buffer.h:
4253         * paragraph.C:
4254         * tabular.[Ch]: IU of clone() and getLabelList();
4255
4256 2003-06-13  André Pönitz  <poenitz@gmx.net>
4257
4258         * tabular.h: compactification
4259
4260 2003-06-12  André Pönitz  <poenitz@gmx.net>
4261
4262         * tabular.C:
4263         * tabular.h:
4264         * tabular_funcs.h: some renaming plus whitespace
4265
4266 2003-06-12  André Pönitz  <poenitz@gmx.net>
4267
4268         * BufferView.C:
4269         * BufferView_pimpl.C:
4270         * CutAndPaste.C:
4271         * buffer.C:
4272         * iterators.[Ch]:
4273         * lyxfunc.C:
4274         * text.C:
4275         * toc.C: Return a Paragraph & for ParIterator::operator*()
4276
4277 2003-06-11  John Levon  <levon@movementarian.org>
4278
4279         * lyx_main.C:
4280         * ToolbarBackend.h:
4281         * ToolbarBackend.C: add "Toolbars" section and
4282         put the flags there
4283
4284 2003-06-10  Angus Leeming  <leeming@lyx.org>
4285
4286         * lfuns.h:
4287         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4288
4289         * lyxfunc.C (dispatch): invoke it.
4290
4291 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4292
4293         * main.C: protect <ios> with HAVE_IOS
4294         (main): protect sync_with_stdio with HAVE_IOS
4295
4296 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4297
4298         * text2.C (cutSelection): adjust
4299         (pasteSelection): adjust
4300
4301         * messages.C: handle get of empty string
4302
4303         * main.C (main): use sync_with_stdio(false)
4304
4305         * lyxfunc.C (dispatch): adjust
4306
4307         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4308         (WriteAs): remove unneeded BufferView arg.
4309
4310         * bufferparams.h: use correct types on papersize, papersize2 and
4311         paperpackage.
4312
4313         * bufferparams.C (readToken): adjust for type
4314         (writeLaTeX): add missing cases to switch.
4315
4316         * bufferlist.C (quitWriteBuffer): adjust
4317         (close): adjust
4318
4319         * buffer.C (asciiParagraph): remove some commented code.
4320
4321         * CutAndPaste.C: remove current_view extern variable.
4322         (cutSelection): add BufferParams arg.
4323         (eraseSelection): add BufferParams arg.
4324         (pasteSelection): add Buffer const & arg
4325
4326 2003-06-07  John Levon  <levon@movementarian.org>
4327
4328         * buffer.C:
4329         * paragraph_funcs.C:
4330         * paragraph_pimpl.C:
4331         * text.C:
4332         * text2.C:
4333         * paragraph.h:
4334         * paragraph.C: allow InsetERT to freely space lines,
4335         and some consolidation of code
4336
4337 2003-06-06  José Matos  <jamatos@fep.up.pt>
4338
4339         * buffer.C (makeDocBookFile): fix bug #821
4340
4341 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4344
4345 2003-06-04  Angus Leeming  <leeming@lyx.org>
4346
4347         * buffer.C: bump format to 224.
4348
4349 2003-06-05  André Pönitz  <poenitz@gmx.net>
4350
4351         * text2.C (redoParagraphs): remove two const_cast<>
4352
4353 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4354
4355         * ParagraphList.h: remove last remnants of NO_STD_LIST
4356
4357 2003-06-03  Angus Leeming  <leeming@lyx.org>
4358
4359         * factory.C (createInset): small change to the way InsetExternal's params
4360         are set.
4361
4362 2003-06-04  André Pönitz  <poenitz@gmx.net>
4363
4364         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4365
4366         * paragraph_pimpl.h:
4367         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4368
4369         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4370
4371         * undo_funcs.C: make some simple cases of undo work again
4372
4373 2003-06-03  John Levon  <levon@movementarian.org>
4374
4375         * ispell.C: HPUX doesn't have sys/select.h
4376         (from Albert Chin)
4377
4378 2003-06-03  John Levon  <levon@movementarian.org>
4379
4380         * CutAndPaste.C: update tabular and include inset
4381         buffer references
4382
4383         * buffer.h:
4384         * paragraph.h:
4385         * paragraph.C: remove owningBuffer(), don't pass Buffer
4386         to clone()
4387
4388         * factory.C: insetGraphicsParams changed
4389
4390 2003-06-02  John Levon  <levon@movementarian.org>
4391
4392         * LyXAction.C:
4393         * factory.C:
4394         * lfuns.h:
4395         * lyxfunc.C:
4396         * text3.C: remove insetparent
4397
4398 2003-06-02  John Levon  <levon@movementarian.org>
4399
4400         * buffer.h:
4401         * buffer.C: fix inset_iterator.end(), move out of line
4402         (bug 1149)
4403
4404 2003-06-01  John Levon  <levon@movementarian.org>
4405
4406         * text3.C: use a proper cut/paste when doing inset
4407         insert (from Jürgen Spitzmüller)
4408
4409 2003-06-01  John Levon  <levon@movementarian.org>
4410
4411         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4412
4413 2003-05-30  André Pönitz  <poenitz@gmx.net>
4414
4415         * rowpainter.C: unify second drawing phase
4416
4417 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4418
4419         * trans_mgr.C: remove one case of current_view
4420
4421         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4422
4423         * paragraph_funcs.h: remove paragraph.h include
4424
4425         * paragraph.h: delete NO_STD_LIST stuff
4426
4427         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4428
4429         * buffer.h: remove paragraph.h include
4430
4431         * ParagraphList.C: delete file
4432
4433         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4434
4435         * toc.C (getTocList): adjust
4436
4437         * paragraph_pimpl.C (validate): adjust
4438
4439         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4440
4441         * paragraph.C (Paragraph): adjust
4442         (getPositionOfInset): use const_iterator, adjust
4443         (bibitem): use const_iterator, adjust
4444         (setInsetOwner): adjust
4445
4446         * iterators.C (operator++): adjust
4447
4448         * InsetList.[Ch]: Replace selfmade iterator with standard
4449         vector::iterator also introduce const_iterator. Remove getPos,
4450         getInset and setInset from InsetTable. Adjust accordingly.
4451
4452         * BufferView.C (lockInset): adjust
4453         (ChangeInsets): adjust
4454
4455         * tabular.[Ch]: delete commented same_id functions
4456
4457 2003-05-28  John Levon  <levon@movementarian.org>
4458
4459         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4460
4461 2003-05-28  André Pönitz  <poenitz@gmx.net>
4462
4463         * metricsinfo.[Ch]: remove 'fullredraw' member
4464
4465 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4466
4467         * lyxtextclass.C (operator): remove caching.
4468
4469 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4470
4471         * text3.C: adjust
4472
4473         * text2.C (cursorBottom): adjust
4474         (setCounter): use ParagraphList::find, adjust
4475
4476         * text.C (workWidth): use ParagraphList::find, adjust
4477
4478         * lyxcursor.C (LyXCursor): adjust
4479
4480         * buffer.C (inset_iterator): adjust
4481
4482         * ParagraphList.h: make iterator(value_type) private, make
4483         ParagraphList a friend of iterator.
4484
4485         * ParagraphList.C (find): new function
4486
4487         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4488
4489 2003-05-27  André Pönitz  <poenitz@gmx.net>
4490
4491         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4492
4493 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4494
4495         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4496
4497 2003-05-26  John Levon  <levon@movementarian.org>
4498
4499         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4500
4501 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4502
4503         * remove same_id from function signatures, adjust.
4504
4505 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4508
4509         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4510
4511         * paragraph.C (Paragraph): get rid of same_ids parameter
4512
4513         * ParagraphList.C (insert): adjust
4514         (push_back): adjust
4515
4516 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * paragraph_funcs.C (breakParagraph): adjust
4519         (breakParagraphConservative): adjust
4520
4521         * buffer.C (readParagraph): adjust
4522
4523         * ParagraphList.C (insert): take a reference instead of a pointer
4524         (insert): adjust
4525
4526         * paragraph.[Ch] (id): new function
4527
4528         * bufferlist.C (newFile): adjust
4529
4530         * ParagraphList.C (ParagraphList): adjust
4531         (assign): adjust
4532         (push_back): take a reference instead of a pointer.
4533
4534         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4535
4536         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4537         instead.
4538
4539         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4540         set else use old code.
4541
4542         * ParagraphList.C: remove all NO_NEXT code and only compile this
4543         code of NO_STD_LIST is set.
4544
4545 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * BufferView_pimpl.C:
4548         * TextCache.C:
4549         * TextCache.h:
4550         * bufferlist.C:
4551         * errorlist.h:
4552         * format.C:
4553         * format.h:
4554         * graph.C:
4555         * lyxfunc.C:
4556         * lyxrc.C:
4557         * graphics/GraphicsConverter.C:
4558         * graphics/PreviewLoader.C: header adjustment
4559
4560 2003-05-23  Angus Leeming  <leeming@lyx.org>
4561
4562         * LaTeXFeatures.[Ch] (useBabel): new method.
4563         * bufferparams.C (writeLaTeX): use it.
4564
4565 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * ParagraphList.h (set): remove unused function.
4568
4569 2003-05-23  André Pönitz  <poenitz@gmx.net>
4570
4571         * BufferView.C:
4572         * BufferView_pimpl.C:
4573         * buffer.C:
4574         * buffer.h:
4575         * lyxfunc.C:
4576         * undo_funcs.C: setUndo reworked
4577
4578         * iterators.[Ch]: add access to topmost ParagraphList
4579
4580         * lyxtext.[Ch] (workWidth): add a const
4581
4582 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * texrow.[Ch] (increasePos): remove function
4585         * exporter.C (export): removed unused var and outdated comment
4586
4587 2003-05-23  Angus Leeming  <leeming@lyx.org>
4588
4589         * latexrunparams.h: rename fragile as moving_arg.
4590         * paragraph.C (simpleTeXOnePar): ditto.
4591         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4592
4593 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4596         (createUndo): ditto
4597         (textUndoOrRedo): comment out a currently unused var.
4598
4599         * paragraph.h (NO_NEXT): enable NO_NEXT
4600
4601         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4602
4603         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4604
4605         * exporter.C (Export): adjust for removeAutoInsets removal.
4606
4607         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4608
4609         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4610
4611         * BufferView.[Ch] (removeAutoInsets): delete function
4612
4613 2003-05-22  Angus Leeming  <leeming@lyx.org>
4614
4615         * latexrunparams.h: add a free_spacing variable.
4616
4617         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4618         to pass moving_arg, as the data is stored in runparams.fragile.
4619
4620         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4621         to Inset::latexOptional or to simpleTeXOnePar.
4622
4623         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4624         free_spacing arg to Inset::latexOptional.
4625
4626         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4627         free_spacing arg.
4628
4629 2003-05-22  Angus Leeming  <leeming@lyx.org>
4630
4631         * latexrunparams.h: add fragile and use_babel variables.
4632
4633         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4634         * buffer.C (makeLaTeXFile): store this returned value in
4635         runparams.use_babel, thus passing it to the inset::latex methods.
4636
4637         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4638         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4639
4640         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4641         longer has a fragile arg, as it is stored in runparams.fragile.
4642
4643         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4644         moving_arg parameter as the data is stored in runparams.fragile.
4645
4646         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4647         a fragile parameter as the data is stored in runparams.fragile.
4648
4649 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4652
4653 2003-05-22  Angus Leeming  <leeming@lyx.org>
4654
4655         * latexrunparams.h: add a 'bool nice' which defaults to false.
4656
4657         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4658         now encapsulated within runparams.
4659
4660         * bufferlist.C (updateIncludedTeXfiles):
4661         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4662
4663 2003-05-22  Angus Leeming  <leeming@lyx.org>
4664
4665         * latexrunparams.h: new file containing struct LatexRunParams.
4666         * Makefile.am: add new file.
4667
4668         * LaTeX.[Ch] (c-tor, run):
4669         * buffer.[Ch] (makeLaTeXFile):
4670         * bufferlist.[Ch] (updateIncludedTeXfiles):
4671         * converter.C (convert, scanLog):
4672         * converter.[Ch] (runLaTeX):
4673         * exporter.C (Export):
4674         * paragraph.[Ch] (simpleTeXOnePar):
4675         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4676         * paragraph_funcs.[Ch] (latexParagraphs):
4677         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4678         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4679         pass around a LatexRunParams parameter.
4680
4681 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * paragraph.[Ch]: remove unused constructor
4684
4685         * ParagraphList.C (erase): new function, taking two iterators
4686
4687 2003-05-22  André Pönitz  <poenitz@gmx.net>
4688
4689         * undo_funcs.C: remove duplicated code
4690
4691         * iterator.[Ch]: operator=
4692
4693 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * tabular.C (SetMultiColumn): ws changes
4696
4697         * rowpainter.C (paintFirst): get rid of a ->previous
4698
4699         * lyx_cb.C (getPossibleLabel): parlist simplification
4700
4701         * BufferView.C (ChangeInsets): simplify slightly.
4702
4703 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4704
4705         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4706         * lfuns.h: new LFUN_SPACE
4707         * lyxfunc.C: protected space has a new lfun
4708         * paragraph_funcs.C: read new space insets
4709         * text3.C:
4710         * factory.C: handle new space insets
4711
4712 2003-05-22  André Pönitz  <poenitz@gmx.net>
4713
4714         * BufferView.C:
4715         * BufferView_pimpl.C:
4716         * buffer.[Ch]:
4717         * lyxfunc.C:
4718         * undo_funcs.C: return a ParIterator from getParFromID.
4719
4720         * iterators.[Ch]: add two const's
4721
4722 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * toc.C (getTocList): adjust
4725
4726         * iterators.[Ch]: rework for parlist
4727
4728         * buffer.C (par_iterator_begin): adjust
4729         (par_iterator_end): adjust
4730
4731         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4732
4733         * BufferView.C (removeAutoInsets): adjust
4734         (ChangeInsets): adjust
4735
4736 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4737
4738         * text.C (top_y): fix bug 1110
4739
4740 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4741
4742         * errorlist.[Ch]: added
4743         * buffer.C:
4744         * BufferView.[Ch]:
4745         * BufferView_pimpl.C:
4746         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4747         instead
4748
4749 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * Makefile.am: ensure that lyx is relinked upon changes to the
4752         various "convenience" libs.
4753
4754 2003-05-20  Angus Leeming  <leeming@lyx.org>
4755
4756         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4757         files are compiled in alphabetical order again.
4758
4759         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4760
4761 2003-05-19  Angus Leeming  <leeming@lyx.org>
4762
4763         * gettext.[Ch]: remove "char const * _(char const *)".
4764
4765 2003-05-19  André Pönitz  <poenitz@gmx.net>
4766
4767         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4768
4769         * Makefile.am:
4770         * BufferView.C:
4771         * DepTable.h:
4772         * LaTeXFeatures.C:
4773         * buffer.C:
4774         * lyxfont.C:
4775         * lyxlex.h:
4776         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4777
4778 2003-05-19  André Pönitz  <poenitz@gmx.net>
4779
4780         * buffer.C:
4781         * lyxlayout.[Ch]:
4782         * lyxtextclass.[Ch]:
4783         * paragraph.C:
4784         * paragraph_funcs.[Ch]:
4785         * text2.C:
4786         * text3.C: more insetenv work
4787
4788 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * ParagraphParameters.C (params2string): small bug fixed
4791
4792 2003-05-16  André Pönitz  <poenitz@gmx.net>
4793
4794         * debug.C:
4795         * bufferview_funcs.C: patch from Kornel Benko to prevent
4796           crash when _(...) is called twice in a statement
4797
4798 2003-05-16  André Pönitz  <poenitz@gmx.net>
4799
4800         * BufferView.C:
4801         * lyxfunc.C:
4802         * text.C:
4803         * text2.C:
4804         * text3.C:
4805         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4806
4807 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4808
4809         * lyx_main.C (init): remove spurious static_cast
4810
4811 2003-05-14  André Pönitz  <poenitz@gmx.net>
4812
4813         * BufferView.C: fix format string
4814
4815 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4816
4817         * BufferView.[Ch] (insertErrors): removed
4818         * BufferView.[Ch] (showErrorList): added
4819         * buffer.C (runChkTeX):
4820         * converter.C (scanLog): call showErrorList instead of inserterrors
4821
4822 2003-05-13  André Pönitz  <poenitz@gmx.net>
4823
4824         * BufferView_pimpl.C:
4825         * buffer.C:
4826         * bufferview_func.C:
4827         * MenuBackend.C:
4828         * lyxfunc.C:
4829         * lyxrc.C:
4830         * tex-accent.C:
4831         * text3.C:
4832         * toc.C:
4833         * tabular_funcs.h: tostr() from its own header
4834
4835         * ParagraphParameters.C:
4836         * ToolbarBackend.C:
4837         * bufferparams.C:
4838         * format.C:
4839         * lyxlex_pimpl.C:
4840         * text3.C: STRCONV()
4841
4842 2003-05-12  André Pönitz  <poenitz@gmx.net>
4843
4844         * BufferView.C:
4845         * BufferView_pimpl.C:
4846         * CutAndPaste.C:
4847         * LaTeX.C:
4848         * LaTeXFeatures.C:
4849         * ParagraphParameters.C:
4850         * buffer.C:
4851         * bufferlist.C:
4852         * bufferparams.C:
4853         * bufferview_funcs.C:
4854         * converter.C:
4855         * counters.C:
4856         * debug.C:
4857         * exporter.C:
4858         * format.C:
4859         * importer.C:
4860         * lyx_cb.C:
4861         * lyx_main.C:
4862         * lyxfont.C:
4863         * lyxfunc.C:
4864         * lyxvc.C:
4865         * paragraph.C:
4866         * paragraph_funcs.C:
4867         * tabular.C:
4868         * tabular_funcs.C:
4869         * text2.C:
4870         * text3.C:  boost::format -> bformat  all over the place
4871
4872
4873 2003-05-09  André Pönitz  <poenitz@gmx.net>
4874
4875         * LColor.[Ch]: Pimpl the #include <map> away
4876
4877 2003-05-09  John Levon  <levon@movementarian.org>
4878
4879         * bufferlist.C: never remove emergency saves
4880
4881 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * Makefile.am: better lib building
4884
4885 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4886
4887         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4888         instead.
4889         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4890         (simpleTeXSpecialChars): adjust
4891         (simpleTeXSpecialChars): adjust
4892         * paragraph.C (simpleTeXOnePar): adjust
4893         * buffer.C (makeLaTeXFile): adjust
4894
4895         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4896
4897         * text2.C (changeDepth): parlist cleanup
4898         (getColumnNearX): ditto
4899
4900         * rowpainter.C (getLabelFont): parlist cleanup
4901
4902         * bufferlist.C (newFile): parlist cleanup
4903
4904         * CutAndPaste.C (eraseSelection): parlist cleanup
4905
4906         * BufferView_pimpl.C (trackChanges): parlist cleanup
4907         (dispatch): ditto
4908
4909         * BufferView.C (lockInset): parlist cleanup.
4910         (ChangeInsets): ditto
4911
4912 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * CutAndPaste.h: Update file header.
4915
4916         * CutAndPaste.C: Update file header.
4917         Store the parts cut out of the Document in a limited_stack.
4918         (copySelection): adjust
4919         (pasteSelection): new function, takes the index in the limited stack.
4920         (nrOfParagraphs): adjust
4921         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4922         simplify error inset insertion.
4923         (checkPastePossible): adjust
4924
4925 2003-05-06  John Levon  <levon@movementarian.org>
4926
4927         * text2.C: don't cast wrap inset to float
4928
4929 2003-05-05  André Pönitz  <poenitz@gmx.net>
4930
4931         * iterator.C:
4932         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4933
4934         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4935           few naked Paragraph *.
4936
4937 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4938
4939         * bufferparams.C: Output warning if a document with missing
4940         TeX document class is loaded
4941         * exporter.C: Disable TeX exports if the document class is missing
4942         * lyxtextclass.C:
4943         * lyxtextclass.h:
4944         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4945         isTeXClassAvailable()
4946
4947 2003-05-03  John Levon  <levon@movementarian.org>
4948
4949         * BufferView.h:
4950         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4951         explicit cursor show/hide
4952
4953         * BufferView_pimpl.h:
4954         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4955         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4956
4957         * lyxfunc.C: hide cursor before dispatching.
4958
4959         * lyx_cb.C:
4960         * lyxfind.C:
4961         * text.C:
4962         * text3.C: remove explicit cursor hides
4963
4964 2003-05-02  André Pönitz  <poenitz@gmx.net>
4965
4966         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4967
4968         * undo_funcs.C:
4969         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4970           linked lists
4971
4972         * text2.C: tiny whitespace
4973
4974 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * undo_funcs.C: almost only ws changes.
4977
4978         * ParagraphList.C (splice): just return if pl is empty.
4979
4980 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * ParagraphList.C (splice): new function.
4983
4984         * CutAndPaste.C (pasteSelection): use it
4985
4986 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * CutAndPaste.C (pasteSelection): remove the last next and
4989         previous from this file.
4990
4991 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4992
4993         * CutAndPaste.C (pasteSelection): more clean up, user proper
4994         ParagraphList functions for pasteing.
4995
4996         * ParagraphList.C (insert): new function, three arg insert
4997
4998 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * ParagraphList.C (insert): new function, three arg insert
5001
5002         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5003         not on paragraphs.
5004
5005 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5006
5007         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5008
5009 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5010
5011         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5012
5013 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5016         (copySelection): clean up a bit.
5017         (pasteSelection): use make_pair
5018
5019         * ParagraphList.C (ParagraphList): implement copy constructor
5020         (operator=): implement, base on copy constructor.
5021         (assign): new func
5022
5023         * paragraph.C (erase): return a bool
5024
5025         * paragraph_pimpl.C (erasePos): remove function, move contents...
5026         (erase): ... here. Return a bool.
5027         (erase): call erase instead of erasePos.
5028
5029 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5030
5031         * ParagraphList.h: define PitPosPair
5032         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5033         ParagraphList, fix a bug on pasting multiple pars
5034         * text2.C: change interface to C&P
5035
5036 2003-04-30  André Pönitz  <poenitz@gmx.net>
5037
5038         * undo_func.C: revert part of yesterday's patch 2
5039
5040 2003-04-30  John Levon  <levon@movementarian.org>
5041
5042         * LColor.C: s/tabular/table/
5043
5044 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * text3.C (dispatch): do not convert iterator -> pointer
5047         * undo_funcs.C (setCursorParUndo): ditto
5048         * text_funcs.C (transposeChars): ditto
5049
5050         * text2.C (setLayout): ws changes only
5051
5052         * text.C (breakParagraph): do not convert iterator -> pointer
5053         (insertChar): ditto
5054         (acceptChange): ditto
5055         (rejectChange): ditto
5056         (changeCase): ditto
5057         (Delete): ditto
5058         (backspace): ditto
5059
5060         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5061         pointer
5062
5063 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * text3.C (gotoInset): YABG (yet another bad getChar)
5066
5067 2003-04-29  André Pönitz  <poenitz@gmx.net>
5068
5069         * paragraph.h: make operator= private unimplemented as long as
5070           it is unusable
5071
5072         * ParagraphList.C: whitespace
5073
5074         * paragraph.[Ch]:
5075         * paragraph_pimpl.[Ch]:
5076         * paragraph_funcs.C:
5077         * CutAndPaste.C:
5078         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5079
5080         * text2.C:
5081           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5082
5083 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5086         * paragraph.[Ch] (erase):
5087         * paragraph_pimpl.[Ch] (erase): change return type and value
5088         * text2.C (cutSelection): some rework
5089
5090 2003-04-28  John Levon  <levon@movementarian.org>
5091
5092         * bufferlist.C: changes for unsaved changes dialog
5093
5094 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5095
5096         * bufferlist.C (newFile): set language (messages_) for new
5097         documents also.
5098
5099         * buffer.C (readFile): ws changes only.
5100
5101 2003-04-28  André Pönitz  <poenitz@gmx.net>
5102
5103         * undo_funcs.C:
5104         * lyxfunc.C:
5105         * buffer.[Ch]:
5106         * BufferView_pimpl.C:
5107         * BufferView.C: getParFromID related ParagraphList::iterator changes
5108
5109 2003-04-28  André Pönitz  <poenitz@gmx.net>
5110
5111         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5112           Changes
5113
5114 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * messages.C: remove one more localedir class variable.
5117
5118 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * messages.C (getLocaleDir): singleton generation function
5121         (Pimpl): use it.
5122         (Messages): add a default constructor.
5123
5124         * main.C (main): do not setup localedir here, do not call
5125         gettext_init.
5126
5127         * gettext.C (_): use it.
5128         (gettext_init): delete funciton
5129
5130 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5131
5132         * gettext.C (getLyXMessages): new singleton generating function.
5133
5134         * buffer.C (updateDocLang): adjust
5135
5136         * Makefile.am (messages.o): add target
5137         (main.o): remove target
5138
5139 2003-04-27  John Levon  <levon@movementarian.org>
5140
5141         * bufferlist.C:
5142         * lyx_cb.C:
5143         * lyxfunc.C:
5144         * lyxvc.C: specify cancel button in Alert::prompt
5145
5146 2003-04-26  John Levon  <levon@movementarian.org>
5147
5148         * text3.C:
5149         * lyxfunc.C:
5150         * lfuns.h:
5151         * LyXAction.C: add LFUN_INSET_SETTINGS
5152
5153         * lyxfunc.C: don't enable tabular-feature when there's
5154         just any locking inset
5155
5156 2003-04-26  John Levon  <levon@movementarian.org>
5157
5158         * bufferlist.C: re-add Cancel to buffer close question
5159
5160         * lyxfunc.C: fix import UI a bit
5161
5162 2003-04-25  John Levon  <levon@movementarian.org>
5163
5164         * gettext.C: remove the broken asserts for now
5165
5166 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * messages.C: make case where setlocale cannot comply work better.
5169
5170         * buffer.C (updateDocLang): new function
5171         (changeLanguage): use it
5172         (readFile): use it
5173
5174         * text2.C (setCounter): use B_ a bit.
5175
5176         * lyxlayout.C (Read): be sure to trim the label strings.
5177
5178         * messages.C (Messages): fix typo in comment
5179
5180         * buffer.C (readFile): set message_ after file is loaded.
5181         (makeDocBookFile): remove double return
5182         (changeLanguage): reset message_ upon language change.
5183         (B_): new func, use this to get translated buffer strings.
5184
5185         * main.C: add myself and Jean Marc as authors.
5186
5187 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * messages.[hC]: pimplify Messages, and three different pimpls to be
5190         used in different circumstances.
5191
5192         * gettext.[Ch]: change for use with new message code.
5193
5194 2003-04-24 André Pönitz <poenitz@gmx.net>
5195
5196         * factory.C: support for eqref
5197
5198 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * messages.[Ch]: add missing char
5201
5202         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5203
5204         * messages.[Ch]: New files
5205
5206 2003-04-18  John Levon  <levon@movementarian.org>
5207
5208         * BufferView.h:
5209         * BufferView.C:
5210         * BufferView_pimpl.C:
5211         * lfuns.h:
5212         * LyXAction.C:
5213         * lyxtext.h:
5214         * text2.C: remove layout-copy/paste (bug 778)
5215
5216 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5217
5218         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5219
5220 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5221
5222         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5223         if they succeed. Act accordingly.
5224
5225 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * text2.C (setCharFont): adjust
5228         (setCounter): adjust
5229         (insertStringAsLines): adjust
5230
5231         * text.C (leftMargin): adjust
5232         (setHeightOfRow): adjust
5233
5234         * rowpainter.C (paintFirst): adjust
5235         (paintLast): adjust
5236
5237         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5238         (outerHook): ditto
5239         (isFirstInSequence): ditto
5240         (getEndLabel): ditto
5241         (outerFont): adjust
5242
5243         * paragraph.C (getParLanguage): comment out some hard stuff.
5244
5245         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5246         (sgmlError): ditto
5247         (simpleDocBookOnePar): ditto
5248         (makeDocBookFile): use ParagraphList::iterator
5249
5250         * CutAndPaste.C (pasteSelection): adjust
5251
5252 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * text2.C (getFont): adjust
5255         (getLayoutFont): adjust
5256         (getLabelFont): adjust
5257
5258         * paragraph_funcs.C (TeXOnePar): adjust
5259
5260         * buffer.C (simpleLinuxDocOnePar): adjust
5261         (simpleDocBookOnePar): adjust
5262
5263         * CutAndPaste.C (pasteSelection): adjust
5264
5265         * BufferView.C (getEncoding): adjust
5266
5267         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5268
5269 2003-04-16  John Levon  <levon@movementarian.org>
5270
5271         * lyxfind.C: use parlist stuff for search/changes
5272
5273 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5276
5277         * text2.C (deleteEmptyParagraphMechanism): adjust
5278
5279         * text2.[Ch] (ownerParagraph): delete func (both of them
5280
5281 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5282
5283         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5284
5285 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * ParagraphList.C: prepare for NO_NEXT
5288
5289 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * text2.C (getFont): adjust
5292         (getLayoutFont): adjust
5293         (getLabelFont): adjust
5294
5295         * paragraph.C (getFont): adjust
5296         (getLabelFont): adjust
5297         (getLayoutFont): adjust
5298
5299         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5300
5301 2003-04-15  John Levon  <levon@movementarian.org>
5302
5303         From Angus Leeming
5304
5305         * lyx_main.C: handle Include in .ui files
5306
5307 2003-04-15  John Levon  <levon@movementarian.org>
5308
5309         * MenuBackend.C: make the doc files length shorter
5310
5311         * ToolbarBackend.h:
5312         * ToolbarBackend.C: handle toolbar placement flags,
5313         Minibuffer
5314
5315 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5316
5317         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5318         adjust
5319
5320         * paragraph_funcs.C (TeXOnePar): adjust
5321
5322         * paragraph.C (getLabelFont): add outerfont arg, adjust
5323         (getLayoutFont): ditto
5324         (simpleTeXOnePar): adjust
5325
5326         * paragraph_pimpl.C (realizeFont): delete func
5327
5328 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5329
5330         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5331         row argument, constify cur argument.
5332
5333 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * text2.C (getFont): adjust
5336         (getLayoutFont): adjust
5337         (getLabelFont): adjust
5338
5339         * paragraph_funcs.C (TeXOnePar): adjust
5340         (outerFont): new func...
5341         (realizeFont): ...moved out from here, changed this to facilitate
5342         transition
5343
5344         * paragraph.C (getFont): take outerfont as arg, adjust
5345         (simpleTeXOnePar): add outerfont arg, adjust
5346
5347         * buffer.C (simpleLinuxDocOnePar): adjust
5348         (simpleDocBookOnePar): adjust
5349
5350         * CutAndPaste.C (pasteSelection): adjust
5351
5352         * BufferView.C (getEncoding): adjust
5353
5354 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * text2.C (setCharFont): adjust
5357         (setCounter): adjust
5358
5359         * text.C (leftMargin): adjust
5360         (setHeightOfRow): adjust
5361
5362         * rowpainter.C (paintFirst): adjust
5363         (paintLast): adjust
5364
5365         * paragraph_pimpl.C (realizeFont): adjust
5366
5367         * paragraph.C (isFirstInSequence): move from here...
5368         * paragraph_funcs.C (isFirstInSequence): ...to here
5369
5370         * paragraph.C (outerHook): move from here...
5371         * paragraph_funcs.C (outerHook): ...to here
5372
5373         * paragraph.C (depthHook): move from here...
5374         * paragraph_funcs.C (depthHook): ...to here
5375
5376         * paragraph.C (getEndLabel): move from here...
5377         * paragraph_funcs.C (getEndLabel): ...to here
5378
5379         * text2.C (realizeFont): move from here...
5380         * paragraph_funcs.C (realizeFont): ...to here
5381
5382 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5385
5386 2003-04-14  Angus Leeming  <leeming@lyx.org>
5387
5388         * LColor.[Ch]: scrap LColor mathcursor.
5389
5390 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5391
5392         * lyxlex.[Ch] (text): delete function
5393         * trans.C (Load): adjust
5394         * paragraph_funcs.C (readParToken): adjust
5395
5396 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5399         vector<char> instead of a char[].
5400
5401         * lyxlex_pimpl.C (getString): adjust
5402         (next): adjust
5403         (lex): use getString
5404         (eatLine): adjust
5405         (nextToken): adjust
5406
5407         * lyxlex.C (text): use pimpl_->getString()
5408         (getBool): ditto
5409         (findToken): ditto
5410
5411 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5414         (makeFontEntriesLayoutSpecific): temp var for par.size()
5415         (setLayout): temp var for ownerParagraphs().end()
5416         (fullRebreak): temp var for rows().end()
5417         (selectionAsString): temp var for boost::next(startpit), realize
5418         that the while really is a regular for loop.
5419         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5420         setCursor in one place.
5421         (setParagraph): temp vr for ownerParagraphs().end()
5422         (updateCounters): make the while loop a for loop
5423         (cutSelection): temp var for ownerParagraphs().end()
5424         (updateInset): make the do {} while() a regular for loop
5425         (getCursorX): use temp vars
5426         (setCurrentFont): use temp vars
5427         (getColumnNearX): use temp vars
5428
5429 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * text.C (transformChar): use temp var for getChar
5432         (computeBidiTables): use temp var for row->par()
5433         (fill): move temp vars for row->par() and pit->layout() earlier in
5434         the function.
5435         (labelFill): use temp var for row->par()
5436         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5437         asc and desc, realize that pit never changes and that firstpit is
5438         just a duplicate and not needed. Exchange rit->par() with pit in a
5439         lot of places.
5440         (breakAgain): use a temp var for boost::next(rit)
5441         (breakAgainOneRow): ditto
5442         (breakParagraph): use a temp var for rows().begin()
5443         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5444         (cursorRightOneWord): use temp var for cursor.par() and
5445         cursor.pos(), remove usage of tmpcursor.
5446         (cursorLeftOneWord): use temp var for cursor.par() and
5447         cursor.pos() only set cur at end of function.
5448
5449 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * text.C, text2.C: exchange all usage of Paragraph::next with
5452         boost::next(ParagraphList::iterator)
5453
5454         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5455
5456         * text2.C (cursorTop): simplify implementation
5457         (cursorBottom): ditto
5458         (setParagraph): use ParagraphList::iterator
5459         (setCurrentFont): adjust
5460         (getColumnNearX): adjust
5461         (cursorRight): adjust
5462         (cursorLeft): remove usage of Paragraph::previous
5463         (cursorUpParagraph): ditto
5464         (deleteEmptyParagraphMechanism): slight cleanup
5465
5466         * text.C (isBoundary): take a Paragraph const & instead of a
5467         pointer as arg.
5468         (addressBreakPoint): ditto
5469         (leftMargin): remove usage of Paragraph::previous.
5470         (setHeightOfRow): ditto
5471         (cursorLeftOneWord): ditto
5472         (selectNextWordToSpellcheck): ditto
5473         (Delete): ditto
5474         (backspace): ditto
5475         (breakParagraph): remove one usage of Paragraph::next
5476         (redoParagraph): ditto
5477         (acceptChange): ditto
5478         (insertChar): adjust
5479         (rowBreakPoint): adjust
5480
5481         * bufferview_funcs.C (toggleAndShow): adjust
5482
5483 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5486         methods to access it.
5487         * lyxtext.h:
5488         * text.C: Added updateRowPositions to compute all row positions.
5489         Make top_y and getRowNearY() to use the cached y position
5490
5491 2003-04-11  John Levon  <levon@movementarian.org>
5492
5493         * text.C (rowBreakPoint): reintroduce the labelEnd
5494         checks, code copied from the row fill stuff. Deep voodoo.
5495
5496         * text.C (fill): add a comment and debugging for the
5497         next poor soul.
5498
5499 2003-04-11  John Levon  <levon@movementarian.org>
5500
5501         * text.C: make sure fullrow insets get wrapped to the next line,
5502         even when they're in a manual label
5503
5504 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * text2.C (insertParagraph): make it take ParagraphList::iterator
5507         as arg.
5508         (setLayout): make it return ParagraphList::iterator
5509         (redoParagraphs): ditto
5510         (setCounter): ditto
5511         (checkParagraph): ditto
5512
5513         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5514
5515         * text2.C: adjust several funcs.
5516         (realizeFont): take a ParagraphList::iterator as arg.
5517         (getLayoutFont): ditto
5518         (getLabelFont): ditto
5519         (setCharFont): ditto
5520
5521         * text.C: adjust several funcs.
5522
5523 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5524
5525         * text.C (selectNextWordToSpellcheck): don't accidentally
5526         skip insets
5527
5528 2003-04-10  John Levon  <levon@movementarian.org>
5529
5530         * ToolbarBackend.C (getIcon): special handling for
5531         LFUN_MATH_DELIM
5532
5533 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5534
5535         * text2.C (cursorRight): a getChar assert fixed
5536
5537 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * text2.C (getFont): change to take a ParagraphList::iterator
5540         instead of Paragraph*
5541         Adjust several functions.
5542
5543         * text.C (transformChar): change to take a ParagraphList::iterator
5544         instead of Paragraph*
5545         (singleWidth): ditto
5546         Adjust several functions.
5547
5548         * rowpainter.C: adjust several functions
5549         * rowpainter.h:store a ParagraphList::iterator and not a
5550         Paragraph&.
5551
5552
5553 2003-04-09  John Levon  <levon@movementarian.org>
5554
5555         * lyxfunc.C:
5556         * lfuns.h:
5557         * LyXAction.h:
5558         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5559         and the "help" bits as well
5560
5561 2003-04-09  John Levon  <levon@movementarian.org>
5562
5563         * ToolbarBackend.h:
5564         * ToolbarBackend.C: allow multiple toolbars
5565
5566 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5567
5568         * undo_funcs.C (setCursorParUndo): adjust
5569
5570         * text_funcs.C (transposeChars): adjust
5571
5572         * text3.C (gotoNextInset): adjust
5573         (dispatch): adjust
5574
5575         * text2.C (setLayout): adjust
5576         (changeDepth): adjust
5577         (setFont): adjust
5578         (redoParagraphs): adjust
5579         (selectionAsString): adjust
5580         (setParagraph): adjust
5581         (insertInset): adjust
5582         (cutSelection): adjust
5583         (copySelection): adjust
5584         (pasteSelection): adjust
5585         (insertStringAsLines): adjust
5586         (updateInset): adjust
5587         (setCursor): change to take a ParagraphList::iterator parameter
5588         (setCursorIntern): change to take a ParagraphList::iterator parameter
5589         (setCurrentFont): adjust
5590         (cursorLeft): adjust
5591         (cursorRight): adjust
5592         (deleteEmptyParagraphMechanism): adjust
5593
5594         * text.C (breakParagraph): adjust
5595         (insertChar): adjust
5596         (acceptChange): adjust
5597         (rejectChange): adjust
5598         (selectNextWordToSpellcheck): adjust
5599         (changeCase): adjust
5600         (Delete): adjust
5601         (backspace): adjust
5602
5603         * lyxfind.C (SearchForward): adjust
5604         (SearchBackward): adjust
5605         (nextChange): adjust
5606
5607         * lyxcursor.C (par): adjust
5608
5609         * lyxcursor.h: store a ParagraphList::iterator instead of a
5610         Paragraph*
5611
5612         * lyx_cb.C (getPossibleLabel): adjust
5613
5614         * bufferview_funcs.C (toggleAndShow): adjust
5615
5616         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5617         (dispatch): adjust
5618
5619         * BufferView.C (removeAutoInsets): adjust
5620         (lockedInsetStoreUndo): adjust
5621
5622 2003-04-09  John Levon  <levon@movementarian.org>
5623
5624         * ToolbarBackend.C: try icon without argument
5625         if with argument fails
5626
5627 2003-04-08  John Levon  <levon@movementarian.org>
5628
5629         * ToolbarBackend.h:
5630         * ToolbarBackend.C: add getIcon(), handle tooltip,
5631         and change from "Icon" to "Item".
5632
5633 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5634
5635         * BufferView.C (lockInset): another bad getchar crunched
5636
5637 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5638
5639         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5640         again)
5641
5642 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5643
5644         * lyxfind.C (searchForward, searchBackwards): bug 782
5645
5646 2003-04-07  John Levon  <levon@movementarian.org>
5647
5648         * paragraph.C: remove dead comment
5649
5650         * text.C: remove troublesome depth-fiddling code
5651         in leftMargin() and rightMargin() (bug 1017)
5652
5653         * text.C: fix breaking of rows in nested lists
5654         (bug 1004)
5655
5656         * text2.C (updateCounters): fix up depth values
5657         (bug 1013)
5658
5659 2003-04-07  John Levon  <levon@movementarian.org>
5660
5661         * BufferView_pimpl.C: clear message when doc finishes resizing,
5662         and after a mouse event
5663
5664         * lyxfunc.C: clear message after exiting inset
5665
5666 2003-04-07  John Levon  <levon@movementarian.org>
5667
5668         * bufferview_funcs.C: show math status not outside
5669         status in the statusbar
5670
5671 2003-04-07  John Levon  <levon@movementarian.org>
5672
5673         * lyxfunc.C: note status changed after a depth change
5674
5675 2003-04-04  Angus Leeming  <leeming@lyx.org>
5676
5677         * LaTeX.h: move AuxInfo operator==, != out of line.
5678         Remove LaTeX virtual destructor; nothing derives from it.
5679         Move operator()() out of public area and rename it startscript().
5680         Change protected for private.
5681
5682 2003-04-04  Angus Leeming  <leeming@lyx.org>
5683
5684         * lyxfunc.C:
5685         * text2.C: remove unneeded #includes.
5686
5687 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5688
5689         * text2.C (dEPM): fix the heigth of the next row
5690
5691 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5692
5693         * text.C: squashed an invalid getChar requester + some ws changes
5694
5695 2003-04-03  John Levon  <levon@movementarian.org>
5696
5697         * bufferview_funcs.h:
5698         * bufferview_funcs.C:
5699         * lyxfunc.C:
5700         * lyxtext.h:
5701         * text2.C: make getStatus work for the env depth lfuns
5702
5703 2003-04-03  John Levon  <levon@movementarian.org>
5704
5705         * bufferview_funcs.h:
5706         * bufferview_funcs.C:
5707         * lyxfunc.C:
5708         * lyxtext.h:
5709         * text2.C: parlistize decDepth(), by merging it with incDepth()
5710
5711 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * lyxrow.h: store a ParagraphList::iterator instead of a
5714         Paragraph* and adjust other class functions to suit.
5715
5716         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5717         above.
5718
5719 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5720
5721         * text2.C (setCursor): do not anchor to cursor row for the time being
5722
5723 2003-04-02  John Levon  <levon@movementarian.org>
5724
5725         * LyXAction.C:
5726         * lfuns.h:
5727         * lyx_main.C:
5728         * lyxtext.h:
5729         * text.C:
5730         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5731
5732 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * paragraph.h: make ParagraphList and ParagraphList::iterator
5735         friends of Paragraph.
5736
5737         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5738
5739         * ParagraphList.C: Use the private next_ and previous_ from
5740         Paragraph.
5741
5742 2003-04-01  John Levon  <levon@movementarian.org>
5743
5744         * ToolbarBackend.h:
5745         * ToolbarBackend.C:
5746         * Makefile.am: rename, remove defaults gunk
5747
5748         * MenuBackend.h:
5749         * MenuBackend.C: remove defaults gunk
5750
5751         * Languages.h:
5752         * Languages.C: remove defaults gunk
5753
5754         * lyx_main.h:
5755         * lyx_main.C: error out if files couldn't be found.
5756
5757 2003-04-02  John Levon  <levon@movementarian.org>
5758
5759         * text2.C: make incDepth() use parlist
5760
5761 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * undo_funcs.C (firstUndoParagraph): adjust
5764
5765         * text3.C (gotoInset): adjust
5766         (dispatch): adjust, and rewrite loop.
5767
5768         * text2.C (init): adjust, and rewrite loop.
5769         (redoParagraphs): adjust
5770         (updateInset): adjust, and rewrite loop.
5771         (deleteEmptyParagraphMechanism): adjust
5772
5773         * tabular.C (LyXTabular): adjust
5774         (SetMultiColumn): adjust
5775         (TeXRow): adjust
5776
5777         * lyxtext.[Ch] (ownerParagraph): delete function
5778         (ownerParagraphs): new function returns a ParagraphList.
5779
5780         * BufferView.C (removeAutoInsets): adjust
5781         (insertErrors): adjust
5782         (setCursorFromRow): adjust
5783
5784 2003-04-01  Angus Leeming  <leeming@lyx.org>
5785
5786         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5787         in the frontends.
5788
5789 2003-04-02  John Levon  <levon@movementarian.org>
5790
5791         * lyxtext.h:
5792         * text.C:
5793         * Makefile.am:
5794         * text_funcs.h:
5795         * text_funcs.C: make transposeChars a free function
5796
5797         * lyxrow_funcs.C: remove wrong comment
5798
5799 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5800
5801         * lyxtext.h: adjust
5802         * rowpainter.C: adjust
5803         * text.C: adjust
5804         * text2.C: adjust
5805         * text3.C: adjust
5806
5807         * lyxrow_funcs. [Ch]: new files
5808
5809         * lyxrow.[Ch]: remove next and previous pointers
5810         (next,previous): remove accessor functions
5811         (isParEnd): move to lyxrow_funcs
5812         (lastPos): move to lyxrow_funcs
5813         (nextRowIsAllInset): move to lyxrow_funcs
5814         (lastPrintablePos): move to lyxrow_funcs
5815         (numberOfSeparators): move to lyxrow_funcs
5816         (numberOfHfills): move to lyxrow_funcs
5817         (numberOfLabelHfills): move to lyxrow_funcs
5818         (hfillExpansion): move to lyxrow_funcs
5819
5820         * lyxfunc.C: adjust
5821
5822         * bufferview_funcs.C (toggleAndShow): adjust
5823
5824         * RowList.h: Remove class RowList from file leave just a
5825         std::list<Row>.
5826
5827         * RowList.C: delete file
5828
5829         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5830         and lyxrow_funcs.h
5831
5832 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * text3.C (cursorPrevious): adjust
5835         (cursorNext): adjust
5836         (dispatch): adjust
5837
5838         * text2.C (redoHeightOfParagraph): adjust
5839         (redoDrawingOfParagraph): adjust
5840         (setCursor): adjust
5841
5842         * text.C (breakParagraph): adjust
5843         (insertChar): adjust
5844         (backspace): adjust
5845
5846         * rowpainter.C (RowPainter): adjust
5847         (leftMargin): simplify and adjust
5848         (most rowpainter functions): adjust.
5849
5850         * rowpainter.h: store the row as RowList::iterator not as Row*
5851
5852         * lyxcursor.C (row): taka RowList::iterator as arg
5853         (irow): ditto
5854
5855         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5856         of Row*.
5857
5858 2003-04-01  Angus Leeming  <leeming@lyx.org>
5859
5860         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5861         stuff like bool Bool.
5862
5863 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5864
5865         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5866         rewrite a loop
5867
5868 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5869
5870         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5871         RowList::iterator.
5872
5873         * lyxtext.h (rows): drop one version and leve a const variant that
5874         returns a RowList::iterator.
5875
5876 2003-03-31  Angus Leeming  <leeming@lyx.org>
5877
5878         * text.C (fill): ensure that the signature is the same as that in the
5879         header file.
5880
5881 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * text2.C (redoParagraphs): adjust
5884         (updateCounters): adjust
5885         (checkParagraph): adjust
5886         (getColumnNearX): adjust and reformat a bit.
5887
5888         * text.C (top_y): adjust
5889         (workWidth): adjust
5890         (leftMargin): adjust
5891         (prepareToPrint): adjust
5892         (getRow): adjust
5893         (getRowNearY): adjust
5894
5895         * lyxtext.h: make rowlist_ mutable.
5896
5897         * RowList.h: add const_iterator
5898         * RowList.C: adjust for RowList::const_iterator.
5899
5900         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5901         adjust.
5902
5903 2003-03-31  John Levon  <levon@movementarian.org>
5904
5905         * lyxrc.h:
5906         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5907
5908         * lyx_main.C: set default fonts from using lyx_gui funcs
5909
5910         * exporter.C: pdf_mode moved from lyxrc
5911
5912         * lyx_cb.C:
5913         * lyxfunc.C: changes from above
5914
5915 2003-03-31  John Levon  <levon@movementarian.org>
5916
5917         * lyx_main.C: fix to the last fix
5918
5919 2003-03-31  John Levon  <levon@movementarian.org>
5920
5921         * bufferlist.C: "Load original" -> "Load Original"
5922
5923         * converter.C:
5924         * exporter.C:
5925         * importer.C:
5926         * lyx_main.C:
5927         * format.C: more Alert cleanups
5928
5929 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5930
5931         * text2.C (removeParagraph): make it take a RowList::iterator as
5932         arg, adjust.
5933         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5934         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5935
5936         * text.C (anchor_row): make it take a RowList::iterator as arg,
5937         adjust.
5938         (computeBidiTables): make it take a const reference to Row instead
5939         of Row pointer, adjust.
5940         (leftMargin): make it take a RowList::iterator as arg, adjust.
5941         (rowBreakPoint): adjust
5942         (breakAgainOneRow): make it take a RowList::iterator as arg,
5943         adjust.
5944         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5945
5946         * bufferview_funcs.C (toggleAndShow): adjust
5947
5948 2003-03-30  John Levon  <levon@movementarian.org>
5949
5950         * Makefile.am:
5951         * BoostFormat.h:
5952         * boost-inst.C: moved to support
5953
5954         * several files: changes as a result
5955
5956 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5957
5958         * text2.C (LyXText): adjust.
5959         (init): adjust
5960         (removeRow): make it take a RowList::iterator as arg, adjust.
5961         (fullRebreak): adjust
5962         (deleteEmptyParagraphMechanism): adjust
5963         (clearPaint): adjust
5964         (postPaint): adjust
5965
5966         * text.C (top_y): adjust
5967         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5968         (breakAgain): make it take a RowList::iterator as arg, adjust.
5969         (breakParagraph): adjust
5970         (insertChar): adjust
5971         (backspace): adjust
5972
5973         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5974         need_break_row, and refresh_row.
5975
5976         * text3.C (dispatch): adjust
5977
5978         * text2.C (checkParagraph): adjust
5979         (setCursor): adjust
5980         (setCursorFromCoordinates): adjust
5981
5982         * text.C (top_y): adjust
5983         (workWidth): adjust
5984         (getRow): make it return a RowList::iterator, adjust
5985         (getRowNearY): make it return a RowList::iterator, adjust
5986
5987         * text2.C (init): adjust
5988         (insertRow): remove function
5989         (insertParagraph): adjust
5990         (redoParagraphs): adjust
5991         (fullRebreak): adjust
5992         (updateCounters): adjust
5993
5994         * text.C (top_y): rewrite to use RowList iterators.
5995         (top_y): adjust
5996         (setHeightOfRow): rewrite to sue RowList iterators.
5997         (appendParagraph): adjust
5998         (breakAgain): adjust
5999         (breakAgainOneRow): adjust
6000         (breakParagraph): adjust
6001         (getRow): adjust
6002         (getRowNearY): adjust, and remove commented code.
6003
6004         * lyxtext.h (firstRow): delete function
6005         (lastRow): delete function
6006         (rows): new function (const and non-const versions.)
6007         (insertRow): delete function
6008
6009         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6010
6011 2003-03-29  John Levon  <levon@movementarian.org>
6012
6013         * BufferView_pimpl.C: always update scrollbar top
6014         because pasting text when we're anchored could mean we
6015         miss an update altogether
6016
6017 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6018
6019         * text2.C (init): use rowlist_.end() and not 0.
6020         (insertRow): change to take a RowList::iterator as arg, adjust
6021         for this.
6022         (insertParagraph): change to take a RowList::iterator as arg,
6023         adjust for this.
6024         (redoParagraphs): remove some debug msgs.
6025
6026         * text.C (appendParagraph): change to take a RowList::iterator
6027         arg, adjust for this.
6028         (breakAgain): add an assert
6029         (breakAgainOneRow): ditto
6030
6031 2003-03-29  John Levon  <levon@movementarian.org>
6032
6033         * text2.C: do not clear selection after inc/decDepth
6034         (bug 550)
6035
6036 2003-03-29  John Levon  <levon@movementarian.org>
6037
6038         * BufferView.C:
6039         * buffer.C: fix broken strerrors according to Lars
6040
6041 2003-03-29  John Levon  <levon@movementarian.org>
6042
6043         * converters.C: more Alert cleanups
6044
6045 2003-03-29  John Levon  <levon@movementarian.org>
6046
6047         * bufferview_funcs.C: remove pointless Alert
6048
6049         * buffer.C: fix confusing error message when
6050         a template is chmoded 000
6051
6052 2003-03-29  John Levon  <levon@movementarian.org>
6053
6054         * BufferView.C:
6055         * BufferView.h:
6056         * BufferView_pimpl.C: Alert fixes
6057
6058         * Makefile.am:
6059         * tabular.C:
6060         * tabular-old.C: remove unused table compat reading
6061
6062 2003-03-29  John Levon  <levon@movementarian.org>
6063
6064         * BufferView.C:
6065         * buffer.C:
6066         * lyx_cb.h:
6067         * lyx_cb.C: more Alert cleanups
6068
6069         * lyxfunc.C: don't allow chktex if not latex document
6070
6071 2003-03-29  John Levon  <levon@movementarian.org>
6072
6073         * lyx_cb.C:
6074         * BufferView.C:
6075         * buffer.C: warnings pushed down from support/,
6076         kill err_alert
6077
6078 2003-03-29  John Levon  <levon@movementarian.org>
6079
6080         * lyxfunc.C: safety check for C-r (revert)
6081
6082 2003-03-29  John Levon  <levon@movementarian.org>
6083
6084         * bufferlist.h:
6085         * bufferlist.C: several UI fixes using Alert::prompt.
6086         Fix the pointless looping quit code. Fix stupid revert
6087         behaviour (bug 938)
6088
6089         * lyxvc.h:
6090         * lyxvc.C:
6091         * lyx_cb.C: use Alert::prompt
6092
6093         * lyx_main.C: remove a silly question
6094
6095         * lyxfunc.C: remove a couple of silly questions,
6096         use Alert::prompt
6097
6098 2003-03-28  John Levon  <levon@movementarian.org>
6099
6100         * text2.C: fix bug 974 (End on empty par)
6101
6102 2003-03-28  John Levon  <levon@movementarian.org>
6103
6104         * BufferView_pimpl.C:
6105         * LyXAction.C:
6106         * lfuns.h: remove do-nothing math greek lfuns
6107
6108 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * lyxgluelength.h (isValidGlueLength): add default arg on
6111         parameter 2. Remove default arg from friend in class.
6112
6113         * lyxlength.h (isValidLength): add default arg on parameter 2.
6114         Remove default arg from friend in class.
6115
6116         * text2.C (LyXText): adjust, initialize refresh_row.
6117         (init): adjust
6118         (removeRow): adjust
6119         (insertRow): adjust
6120         (insertParagraph): adjst
6121         (redoParagraphs): adjust
6122         (fullRebreak): adjust
6123         (updateCounters): adjust
6124         (deleteEmptyParagraphMechanism): first attempt at fixing a
6125         crashing bug.
6126
6127         * text.C (top_y): adjust
6128         (setHeightOfRow): adjust
6129         (getRow): adjust
6130         (getRowNearY): adjust
6131
6132         * lyxtext.h: include RowList.h
6133         (~LyXText): not needed anymore, deleted.
6134         (firstRow): modify for RowList
6135         (lastRow): new function
6136         Delete firstrow and lastrow class variables, add a Rowlist
6137         rowlist_ class variable.
6138
6139         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6140         paragraph is empty.
6141
6142         * RowList.C (insert): fix case where it == begin().
6143
6144 2003-03-26  Angus Leeming  <leeming@lyx.org>
6145
6146         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6147         the thesaurus dialog.
6148
6149 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6152
6153         * RowList.[Ch]: new files
6154
6155         * ParagraphList.C (erase): handle the case where it == begin
6156         correctly.
6157
6158 2003-03-25  John Levon  <levon@movementarian.org>
6159
6160         * Makefile.am:
6161         * aspell_local.h:
6162         * aspell.C: add new aspell support
6163
6164         * lyxrc.h:
6165         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6166         have it accessible.
6167
6168 2003-03-25  Angus Leeming  <leeming@lyx.org>
6169
6170         * lfuns.h:
6171         * LyXAction.C (init): new LFUN_INSET_INSERT.
6172
6173         * BufferView_pimpl.C (dispatch): split out part of the
6174         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6175
6176         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6177         LFUN_INSET_APPLY.
6178
6179 2003-03-25  Angus Leeming  <leeming@lyx.org>
6180
6181         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6182
6183 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * text2.C:
6186         * text3.C: remove useless row->height(0)
6187
6188 2003-03-25  John Levon  <levon@movementarian.org>
6189
6190         * lyxtext.h:
6191         * text2.C:
6192         * text3.C: rename the refreshing stuff to better names
6193
6194 2003-03-24  John Levon  <levon@movementarian.org>
6195
6196         * BufferView_pimpl.h:
6197         * BufferView_pimpl.C: update layout choice on a mouse
6198         press/release
6199
6200 2003-03-23  John Levon  <levon@movementarian.org>
6201
6202         * Makefile.am: fix commandtags.h reference
6203
6204 2003-03-22  John Levon  <levon@movementarian.org>
6205
6206         * BufferView_pimpl.C:
6207         * lyxtext.h:
6208         * rowpainter.C:
6209         * rowpainter.h:
6210         * text.C:
6211         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6212
6213 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6214
6215         * lyxtext.h:
6216         * text.C: take the rtl methods out of line
6217
6218 2003-03-21 André Pönitz <poenitz@gmx.net>
6219
6220         * metricsinfo.[Ch]: new files containing structures to be passed around
6221         during the two-phase-drawing...
6222
6223 2003-03-21 André Pönitz <poenitz@gmx.net>
6224
6225         * lyxtextclass.C: read 'environment' tag.
6226
6227 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6228
6229         * text2.C (removeRow): fix bug 964
6230
6231 2003-03-20  John Levon  <levon@movementarian.org>
6232
6233         * rowpainter.C:
6234         * text.C:
6235         * text2.C: paint cleanups. Inset::update() dropped font
6236         parameter
6237
6238 2003-03-19  John Levon  <levon@movementarian.org>
6239
6240         * lyxfunc.C: only fitcursor/markDirty if available()
6241
6242 2003-03-19  John Levon  <levon@movementarian.org>
6243
6244         * commandtags.h: rename to ...
6245
6246         * lfuns.h: ... this, and renumber / cleanup
6247
6248 2003-03-19  John Levon  <levon@movementarian.org>
6249
6250         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6251         fit the cursor after an lfun
6252
6253         * BufferView.h:
6254         * BufferView.C:
6255         * BufferView_pimpl.h:
6256         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6257
6258         * LyXAction.C: layout-character should have ReadOnly
6259
6260         * ParagraphParameters.C:
6261         * buffer.C:
6262         * bufferview_funcs.C:
6263         * lyx_cb.C:
6264         * lyxfind.C:
6265         * lyxtext.h:
6266         * text.C:
6267         * text2.C:
6268         * text3.C:
6269         * undo_funcs.C: changes from above
6270
6271 2003-03-18  John Levon  <levon@movementarian.org>
6272
6273         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6274         remove it from update()
6275
6276         * lyxfunc.C: update layout choice after an lfun
6277
6278         * text3.C: remove extra updateLayoutChoice()s
6279
6280 2003-03-18  John Levon  <levon@movementarian.org>
6281
6282         * text.C: top_y change means full repaint, fix
6283         a drawing bug with cursor movement
6284
6285 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6286
6287         * lyxtext.h:
6288         * text.C:
6289         * text2.C: anchor row on setCursor
6290
6291 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6292
6293         * lyxtext.h: remove almost all mutable keywords
6294         * text.C:
6295         * text2.C:
6296         * text3.C: remove const keywords accordingly
6297
6298 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6301         anon namespace
6302         (TeXEnvironment): ditto
6303         (TeXOnePar): ditto
6304
6305 2003-03-17  John Levon  <levon@movementarian.org>
6306
6307         * text.C (rowBreakPoint): remove attempt to fix displayed
6308         math insets inside a manual label
6309
6310 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * lyxtext.h: remove BufferView* as first arg from almost all class
6313         functions.
6314         * other files: adjust.
6315
6316 2003-03-17  John Levon  <levon@movementarian.org>
6317
6318         * lyxtext.h:
6319         * undo_funcs.C:
6320         * text2.C: more paint cleanups
6321
6322         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6323
6324         * rowpainter.h:
6325         * rowpainter.C: remove "smart" background painting code
6326
6327 2003-03-16  John Levon  <levon@movementarian.org>
6328
6329         * lyxtext.h:
6330         * text.C:
6331         * text2.C:
6332         * text3.C: add helper functions for setting refresh_row/y
6333
6334 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6335
6336         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6337         newline inset which *can* get inserted in the pass_thru layouts.
6338         This is primarily for literate documents.
6339
6340 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6341
6342         * buffer.C: increment LYX_FORMAT to 223
6343
6344 2003-03-14 André Pönitz <poenitz@gmx.net>
6345
6346         * textclass.h: prepare for environment handling, ws changes
6347         * lyxlayout.C: read latexheader and latexfooter tags
6348
6349 2003-03-14  John Levon  <levon@movementarian.org>
6350
6351         * text2.C: rewrite ::status() a bit
6352
6353 2003-03-13  John Levon  <levon@movementarian.org>
6354
6355         * lyxtext.h: add some docs
6356
6357 2003-03-13  John Levon  <levon@movementarian.org>
6358
6359         * lyxtext.h:
6360         * text.C:
6361         * text2.C:
6362         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6363
6364 2003-03-13  John Levon  <levon@movementarian.org>
6365
6366         * text3.C: fix appendix redrawing
6367
6368 2003-03-13  John Levon  <levon@movementarian.org>
6369
6370         * text.C (setHeightOfRow):
6371         * rowpainter.h:
6372         * rowpainter.C: make appendix mark have the text
6373           "Appendix" so the user knows what it is
6374
6375         * LColor.h:
6376         * LColor.C: s/appendixline/appendix/ from above
6377
6378 2003-03-13  John Levon  <levon@movementarian.org>
6379
6380         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6381
6382         * text.C: fix a getChar(pos) bug properly
6383
6384 2003-03-13  Angus Leeming  <leeming@lyx.org>
6385
6386         * commandtags.h:
6387         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6388         Probably only temporary. Let's see how things pan out.
6389
6390         * BufferView.C (unlockInset):
6391         * BufferView_pimpl.C (fitCursor):
6392         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6393
6394         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6395         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6396
6397         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6398         new functions that convert ParagraphParameters to and from a string.
6399
6400         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6401         BufferView::Pimpl's dispatch.
6402         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6403
6404 2003-03-13 André Pönitz <poenitz@gmx.net>
6405
6406         * lyxfunc.C:
6407         * text3.C:
6408         * factory.C: make it aware of InsetEnv
6409
6410 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * text2.C (setCursor): never ask for one past last
6413         (setCursor): add some debugging messages.
6414
6415         * text.C (singleWidth): never ask for one past last
6416         (singleWidth): ditto
6417         (leftMargin): ditto
6418         (rightMargin): ditto
6419         (rowBreakPoint): ditto
6420         (setHeightOfRow): ditto
6421         (prepareToPrint): ditto
6422
6423         * rowpainter.C (paintBackground): never ask for one past last
6424         (paintText): never ask for one past last
6425
6426         * paragraph_pimpl.C (getChar): make the assert stricter, never
6427         allow the one past last pos to be taken
6428
6429         * paragraph.C (getChar): ws changes only
6430
6431         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6432         (numberOfSeparators): ditto
6433         (numberOfHfills): ditto
6434
6435 2003-03-12  John Levon  <levon@movementarian.org>
6436
6437         * author.h:
6438         * author.C:
6439         * bufferparams.h:
6440         * bufferparams.C:
6441         * paragraph_funcs.C: fix per-buffer authorlists
6442
6443 2003-03-12  John Levon  <levon@movementarian.org>
6444
6445         * text.C: fix newline in right address
6446
6447 2003-03-12  Angus Leeming  <leeming@lyx.org>
6448
6449         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6450         duplicate those in LyXFunc::dispatch.
6451
6452         * commandtags.h:
6453         * LyXAction.C:
6454         * ToolbarDefaults.C:
6455         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6456         Add LFUN_FONTFREE_UPDATE.
6457
6458         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6459         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6460
6461         * bufferview_func.[Ch]: several new functions to facilliate
6462         transfer of data to and from the character dialog.
6463
6464 2003-03-12  John Levon  <levon@movementarian.org>
6465
6466         * buffer.C:
6467         * paragraph.h:
6468         * paragraph.C:
6469         * paragraph_funcs.C:
6470         * paragraph_pimpl.C:
6471         * sgml.C:
6472         * tabular.C:
6473         * text.C:
6474         * text3.C: remove META_NEWLINE in favour of an inset
6475
6476         * rowpainter.h:
6477         * rowpainter.C: remove paintNewline (done by inset)
6478
6479 2003-03-12  John Levon  <levon@movementarian.org>
6480
6481         * paragraph_pimpl.C: complain about bad getChar()s
6482         for a while at least
6483
6484 2003-03-12  John Levon  <levon@movementarian.org>
6485
6486         * buffer.h:
6487         * buffer.C: move paragraph read into a separate function,
6488         a little renaming to reflect that.
6489
6490         * bufferparams.h:
6491         * bufferparams.C: remove the author_ids map, not necessary now
6492
6493         * factory.h:
6494         * factory.C: moved Buffer::readInset to here
6495
6496         * paragraph_funcs.h:
6497         * paragraph_funcs.C: readParagraph free function moved from
6498         buffer.C
6499
6500         * tabular.C: name change
6501
6502 2003-03-12  John Levon  <levon@movementarian.org>
6503
6504         * buffer.C:
6505         * ParagraphParameters.C: move par params input to
6506         a read() method
6507
6508         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6509         behave like a normal read from the stream wrt reading
6510         a line vs. a \\token
6511
6512 2003-03-12  John Levon  <levon@movementarian.org>
6513
6514         * paragraph.C:
6515         * ParagraphParameters.h:
6516         * ParagraphParameters.C: move output code to a
6517         ::write() method
6518
6519 2003-03-12  John Levon  <levon@movementarian.org>
6520
6521         * BufferView.C (insertLyXFile):
6522         * buffer.h:
6523         * buffer.C:
6524         * tabular.C: use a parlist iterator for creating the
6525           document.
6526
6527 2003-03-12  John Levon  <levon@movementarian.org>
6528
6529         * buffer.C: make current_change static local not
6530           static file-scope
6531
6532 2003-03-12  John Levon  <levon@movementarian.org>
6533
6534         * buffer.C: fix insertStringAsLines for change tracking
6535
6536 2003-03-12  John Levon  <levon@movementarian.org>
6537
6538         * BufferView.C:
6539         * tabular.C:
6540         * buffer.h:
6541         * buffer.C:
6542         * bufferparams.h:
6543         * bufferparams.C: move author list into params. Rename some
6544           functions. Move the header reading into a separate token
6545           loop. Move the header token reading into BufferParams.
6546
6547 2003-03-12  John Levon  <levon@movementarian.org>
6548
6549         * changes.C: put debug inside lyxerr.debugging() checks
6550
6551 2003-03-11 André Pönitz <poenitz@gmx.net>
6552
6553         * factory.C: make it aware of InsetHFill
6554
6555 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6556
6557         * buffer.C (latexParagraphs): move function from here...
6558         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6559         args.
6560
6561 2003-03-10  Angus Leeming  <leeming@lyx.org>
6562
6563         * LyXAction.C (init): fix bug in poplating array with multiple entries
6564         with the same LFUN (spotted by JMarc).
6565
6566 2003-03-10  John Levon  <levon@movementarian.org>
6567
6568         * text.C:
6569         * text2.C: move getColumnNearX() near its
6570         only call site
6571
6572 2003-03-10  John Levon  <levon@movementarian.org>
6573
6574         * text.C: fix break before a minipage
6575
6576 2003-03-10  John Levon  <levon@movementarian.org>
6577
6578         * text.C: fix the last commit
6579
6580 2003-03-09  John Levon  <levon@movementarian.org>
6581
6582         * lyxtext.h:
6583         * text.C:
6584         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6585         bug 365 (don't break before insets unless needed). Don't
6586         return a value > last under any circumstances.
6587
6588 2003-03-09  Angus Leeming  <leeming@lyx.org>
6589
6590         * BufferView_pimpl.C (trackChanges, dispatch): call
6591         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6592
6593 2003-03-09  Angus Leeming  <leeming@lyx.org>
6594
6595         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6596         than Dialogs::showAboutlyx().
6597
6598 2003-03-09  Angus Leeming  <leeming@lyx.org>
6599
6600         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6601         than Dialogs::showTabularCreate().
6602
6603 2003-03-09  John Levon  <levon@movementarian.org>
6604
6605         * lyxtext.h:
6606         * text.C:
6607         * text2.C: 3rd arg to nextBreakPoint was always the same.
6608           Use references.
6609
6610 2003-03-08  John Levon  <levon@movementarian.org>
6611
6612         * lyxrow.C:
6613         * paragraph.C:
6614         * paragraph.h:
6615         * rowpainter.C:
6616         * text.C:
6617         * text2.C: Remove the "main" bit from the "main body"
6618           notion.
6619
6620 2003-03-08  John Levon  <levon@movementarian.org>
6621
6622         * text.C (leftMargin): The left margin of an empty
6623         manual label paragraph should not include the label width
6624         string length.
6625
6626         * text.C (prepareToPrint): don't attempt to measure hfills
6627         for empty manual label paragraphs - the answer should be 0
6628
6629 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * CutAndPaste.C: remove commented code and reindent.
6632
6633 2003-03-08  John Levon  <levon@movementarian.org>
6634
6635         * lyxfunc.h:
6636         * lyxfunc.C: move reloadBuffer()
6637
6638         * BufferView.h:
6639         * BufferView.C: to here
6640
6641         * lyxvc.C: add comment
6642
6643         * vc-backend.h:
6644         * vc-backend.C: call bv->reload() to avoid
6645           getStatus() check on MENURELOAD
6646
6647 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6648
6649         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6650         to an old format .dep file.
6651
6652 2003-03-07  Angus Leeming  <leeming@lyx.org>
6653
6654         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6655         when the LFUN_MOUSE_RELEASE should have been handled by
6656         inset->localDispatch.
6657
6658 2003-03-07  Angus Leeming  <leeming@lyx.org>
6659
6660         * BufferView_pimpl.C (dispatch):
6661         * LyXAction.C (init):
6662         * ToolbarDefaults.C (init):
6663         * commandtags.h:
6664         * lyxfunc.C (getStatus):
6665         remove LFUN_INSET_GRAPHICS.
6666
6667         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6668
6669 2003-03-07  Angus Leeming  <leeming@lyx.org>
6670
6671         * commandtags.h:
6672         * LyXAction.C (init):
6673         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6674
6675         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6676
6677         * commandtags.h:
6678         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6679
6680         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6681         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6682
6683 2003-03-07  Angus Leeming  <leeming@lyx.org>
6684
6685         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6686         remove "ert".
6687
6688 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * ParagraphList.C (front): new function
6691         (back): implement
6692
6693 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6694
6695         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6696         and top_row_offset_. removed var first_y.
6697         * text.C (top_y):
6698         * text2.C (LyXText, removeRow):
6699         * text3.C:
6700         * BufferView_pimpl.C:
6701         use these methods instead of using first_y
6702
6703 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * text2.C (pasteSelection): adjust for checkPastePossible
6706
6707         * CutAndPaste.C: remove Paragraph * buf and replace with
6708         ParagraphList paragraphs.
6709         (DeleteBuffer): delete
6710         (cutSelection): change the tc type to textclass_type
6711         (copySelection): change the tc type to textclass_type
6712         (copySelection): adjust for ParagraphList
6713         (pasteSelection): change the tc type to textclass_type
6714         (pasteSelection): adjust for Paragraphlist
6715         (nrOfParagraphs): simplify for ParagraphList
6716         (checkPastePossible): simplify for ParagraphList
6717         (checkPastePossible): remove unused arg
6718
6719         * ParagraphList.C (insert): handle the case where there are no
6720         paragraphs yet.
6721
6722         * CutAndPaste.h: make CutAndPaste a namespace.
6723
6724         * text3.C (dispatch): adjust
6725
6726         * text.C (breakParagraph): add a ParagraphList as arg
6727
6728         * paragraph_funcs.C (breakParagraph): change to take a
6729         BufferParams and a ParagraphList as args.
6730         (breakParagraphConservative): ditto
6731         (mergeParagraph): ditto
6732         (TeXDeeper): add a ParagraphList arg
6733         (TeXEnvironment): ditto
6734         (TeXOnePar): ditto
6735
6736         * buffer.C (readLyXformat2): adjust
6737         (insertStringAsLines): adjust
6738         (latexParagraphs): adjust
6739
6740         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6741         (cutSelection): adjust
6742         (pasteSelection): adjust
6743
6744         * BufferView_pimpl.C (insertInset): adjust
6745
6746 2003-03-05  Angus Leeming  <leeming@lyx.org>
6747
6748         * commandtags.h:
6749         * LyXAction.C (init):
6750         * BufferView_pimpl.C (dispatch):
6751         * lyxfunc.C (getStatus):
6752         remove LFUN_CHILD_INSERT.
6753
6754         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6755
6756 2003-03-05  Angus Leeming  <leeming@lyx.org>
6757
6758         * commandtags.h:
6759         * LyXAction.C (init):
6760         * src/factory.C (createInset):
6761         * lyxfunc.C (getStatus):
6762         * text3.C (dispatch):
6763         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6764
6765         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6766
6767 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * ParagraphList.C (insert): handle insert right before end()
6770         (erase): fix cases where it can be first or last paragraph.
6771
6772 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6775         Paragraph::next and Paragraph::previous
6776         (TeXOnePar): ditto
6777
6778         * text.C (breakParagraph): adjust
6779
6780         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6781         BufferParams& as arg.
6782         (breakParagraph): use ParagraphList::insert
6783         (breakParagraphConservative): take a Buffer* instead of a
6784         BufferParams& as arg.
6785         (breakParagraphConservative): use ParagraphList::insert.
6786
6787         * buffer.C (insertStringAsLines): un-const it
6788         (insertStringAsLines): adjust
6789
6790         * ParagraphList.C (insert): new function
6791
6792         * CutAndPaste.C (pasteSelection): adjust
6793
6794         * text.C (backspace): adjust
6795
6796         * tabular.C (SetMultiColumn): adjust
6797
6798         * CutAndPaste.C (cutSelection): adjust
6799         (pasteSelection): adjust
6800
6801         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6802         Buffer const * as arg
6803
6804         * ParagraphList.C (erase): new function
6805         * paragraph_funcs.C (mergeParagraph): use it
6806         (mergeParagraph): make it take a Buffer* instead of a
6807         BufferParams* as arg
6808
6809         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6810         as arg
6811         (breakParagraphConservative): ditto
6812
6813         * paragraph.h: remove the breakParagraph friend
6814
6815         * paragraph.C (eraseIntern): new function
6816         (setChange): new function
6817
6818         * paragraph_funcs.C (mergeParagraph): make it take a
6819         ParagraphList::iterator instead of a Paragraph *, adjust
6820         accordingly.
6821
6822         * paragraph.h: move an #endif so that the change tracking stuff
6823         also works in the NO_NEXT case.
6824
6825 2003-03-04  Angus Leeming  <leeming@lyx.org>
6826
6827         * commandtags.h:
6828         * LyXAction.C: new LFUN_INSET_MODIFY.
6829
6830         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6831         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6832
6833 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6834
6835         * several files: ws changes only
6836
6837         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6838         (TeXEnvironment): ditto
6839         (TeXDeeper): ditto
6840
6841         * buffer.C (makeLaTeXFile): adjust
6842         (latexParagraphs): make it take ParagraphList::iterator as args
6843
6844 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * buffer.C (latexParagraphs): adjust
6847
6848         * paragraph.C (TeXOnePar): move function...
6849         (optArgInset): move function...
6850         (TeXEnvironment): move function...
6851         * paragraph_pimpl.C (TeXDeeper): move function...
6852         * paragraph_funcs.C: ...here
6853
6854         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6855
6856 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * buffer.C (readInset): remove compability code for old Figure and
6859         InsetInfo insets
6860
6861 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * buffer.C: ws changes
6864         (readInset):
6865
6866         * BufferView_pimpl.C: ditto
6867         * author.C: ditto
6868         * buffer.h: ditto
6869         * bufferlist.h: ditto
6870         * changes.h: ditto
6871         * lyxfunc.C: ditto
6872
6873 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6874
6875         * converter.[Ch]: split into itself +
6876         * graph.[Ch]
6877         * format.[Ch]
6878         * Makefile.am: += graph.[Ch] + format.[Ch]
6879         * MenuBackend.C
6880         * buffer.C
6881         * exporter.C
6882         * importer.C
6883         * lyx_main.C
6884         * lyxfunc.C
6885         * lyxrc.C: added #include "format.h"
6886
6887 2003-02-27  Angus Leeming  <leeming@lyx.org>
6888
6889         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6890           a label.
6891
6892         * factory.C (createInset): add "label" to the factory.
6893
6894         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6895           string and do no more.
6896
6897 2003-02-27  Angus Leeming  <leeming@lyx.org>
6898
6899         * commandtags.h:
6900         * LyXAction.C (init):
6901         * factory.C (createInset):
6902         * BufferView_pimpl.C (dispatch):
6903           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6904
6905         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6906
6907         * lyxfunc.C (dispatch):
6908         * text3.C (dispatch): pass name to params2string.
6909
6910 2003-02-26  Angus Leeming  <leeming@lyx.org>
6911
6912         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6913           blocks together.
6914           Rearrange the ~includes. Strip out the unnecessary ones.
6915
6916         * factory.C (createInset): reformat.
6917           create new insets for the various LFUN_XYZ_APPLY lfuns.
6918
6919 2003-02-26  John Levon  <levon@movementarian.org>
6920
6921         * lyxrow.h:
6922         * lyxrow.C: add isParStart,isParEnd helpers
6923
6924         * paragraph.h: make isInserted/DeletedText take refs
6925
6926         * paragraph_funcs.h:
6927         * paragraph_funcs.C: remove #if 0'd code
6928
6929         * lyxtext.h:
6930         * text3.C:
6931         * text2.C:
6932         * text.C: use lyxrow helpers above.
6933           Move draw and paint routines to RowPainter.
6934           Make several methods use refs not pointers.
6935           Make backgroundColor() const.
6936           Add markChangeInDraw(), isInInset().
6937           Merge changeRegionCase into changeCase.
6938           Make workWidth() shouldn't-happen code into an Assert.
6939
6940         * rowpainter.h:
6941         * rowpainter.C: new class for painting a row.
6942
6943         * vspace.h:
6944         * vspace.C: make inPixels take a ref
6945
6946 2003-02-26  Angus Leeming  <leeming@lyx.org>
6947
6948         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6949         LFUN_REF_APPLY.
6950
6951 2003-02-25  John Levon  <levon@movementarian.org>
6952
6953         * ispell.C: give the forked command a more accurate name
6954
6955 2003-02-22  John Levon  <levon@movementarian.org>
6956
6957         * toc.h:
6958         * toc.C: make TocItem store an id not a Paragraph *
6959           (bug #913)
6960
6961 2003-02-21  Angus Leeming  <leeming@lyx.org>
6962
6963         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6964           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6965           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6966           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6967           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6968           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6969
6970         * BufferView_pimpl.C (dispatch):
6971         * LyXAction.C (init):
6972         * factory.C (createInset):
6973         * lyxfunc.C (getStatus, dispatch):
6974         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6975
6976 2003-02-21  Angus Leeming  <leeming@lyx.org>
6977
6978         * BufferView_pimpl.C (MenuInsertLyXFile):
6979         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6980         * lyxfunc.C (menuNew, open, doImport):
6981           no longer pass a LyXView & to fileDlg.
6982
6983 2003-02-21  Angus Leeming  <leeming@lyx.org>
6984
6985         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6986         * LyXAction.C: change, BIBKEY to BIBITEM.
6987         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6988         Change InsetBibKey to InsetBibitem.
6989         Change BIBKEY_CODE to BIBITEM_CODE.
6990         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6991         * factory.C: replace insetbib.h with insetbibitem.h.
6992         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6993         * paragraph.C: replace insetbib.h with insetbibitem.h.
6994         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6995         Change bibkey() to bibitem().
6996         * text.C: remove insetbib.h.
6997         * text2.C: replace insetbib.h with insetbibitem.h.
6998         change bibkey() to bibitem().
6999         * text3.C: remove insetbib.h.
7000         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7001
7002 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7003
7004         * lyxrc.C (output): enclose user email in quotes (in case there are
7005         several words)
7006
7007 2003-02-18  John Levon  <levon@movementarian.org>
7008
7009         * buffer.h: add std::
7010
7011 2003-02-17  John Levon  <levon@movementarian.org>
7012
7013         * SpellBase.h:
7014         * ispell.h:
7015         * ispell.C:
7016         * pspell.h:
7017         * pspell.C: reworking. Especially in ispell, a large
7018           number of clean ups and bug fixes.
7019
7020         * lyxfunc.C: fix revert to behave sensibly
7021
7022 2003-02-17 André Pönitz <poenitz@gmx.net>
7023
7024         * LyXAction.C:
7025         * commandtags.h: new LFUN_INSERT_BIBKEY
7026
7027         * layout.h:
7028         * lyxlayout.C:
7029         * buffer.C:
7030         * factory.C:
7031         * text.C:
7032         * text2.C:
7033         * text3.C:
7034         * paragraph.[Ch]:
7035         * paragraph_func.C: remove special bibkey handling
7036
7037 2003-02-17  John Levon  <levon@movementarian.org>
7038
7039         * text.C (Delete): fix case where delete at the end of
7040           the very first paragraph would not merge the pars
7041
7042 2003-02-17  John Levon  <levon@movementarian.org>
7043
7044         * lyxrow.C: fix lastPrintablePos()
7045
7046 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7047
7048         * bufferparams.C (writeLaTeX): add a std:here
7049
7050         * buffer.C: and remove a using directive there
7051
7052 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7053
7054         * buffer.C (makeLaTeXFile): move the code that generates the
7055           preamble...
7056
7057         * bufferparams.C (writeLaTeX): ... in this new method
7058
7059         * LaTeXFeatures.C (getEncodingSet): make const
7060           (getLanguages): make const
7061
7062         * MenuBackend.C (binding): returns the binding associated to this
7063           action
7064           (add): sets the status of each item by calling getStatus. Adds
7065           some intelligence.
7066           (read): add support for OptSubMenu
7067           (expand): remove extra separator at the end of expanded menu
7068
7069 2003-02-15  John Levon  <levon@movementarian.org>
7070
7071         * BufferView.C:
7072         * BufferView_pimpl.C:
7073         * bufferlist.h:
7074         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7075           inset code that had no actual effect. Remove unneeded status
7076           code.
7077
7078 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7079
7080         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7081           in preamble
7082
7083 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7084
7085         * text.C (drawLengthMarker): also draw an arrow marker for
7086           symbolic lengths (medskip...)
7087
7088 2003-02-14  John Levon  <levon@movementarian.org>
7089
7090         * tabular.h:
7091         * tabular.C: better method names
7092
7093 2003-02-14  John Levon  <levon@movementarian.org>
7094
7095         * BufferView_pimpl.C:
7096         * bufferlist.C:
7097         * buffer.C:
7098         * converter.C:
7099         * lyx_cb.C:
7100         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7101           it's a more accurate name. Remove some pointless uses.
7102
7103 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7104
7105         * text2.C (LyXText): change order of initilizers to shut off
7106           warnings
7107
7108 2003-02-14  John Levon  <levon@movementarian.org>
7109
7110         * buffer.C: use ParIterator for getParFromID()
7111
7112         * paragraph.h:
7113         * paragraph.C:
7114         * paragraph_pimpl.h:
7115         * paragraph_pimpl.C: remove unused getParFromID()
7116
7117 2003-02-14  John Levon  <levon@movementarian.org>
7118
7119         * buffer.C: remove some very old #if 0'd parse code
7120
7121 2003-02-13  John Levon  <levon@movementarian.org>
7122
7123         * text.h:
7124         * text.C:
7125         * text2.C: move hfillExpansion(), numberOfSeparators(),
7126           rowLast(), rowLastPrintable(), numberofHfills(),
7127           numberOfLabelHfills() ...
7128
7129         * lyxrow.h:
7130         * lyxrow.C: ... to member functions here.
7131
7132         * paragraph.h:
7133         * paragraph.C:
7134         * lyxtext.h:
7135         * text.C: remove LyXText::beginningOfMainBody(), and call
7136           p->beginningOfMainBody() directly. Move the check for
7137           LABEL_MANUAL into the latter.
7138
7139         * text.h:
7140         * text.C:
7141         * text2.C:
7142         * vspace.C:
7143         * BufferView.h:
7144         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7145
7146         * text.h:
7147         * text.C:
7148         * text2.C:
7149         * text3.C:
7150         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7151           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7152
7153 2003-02-13  John Levon  <levon@movementarian.org>
7154
7155         * CutAndPaste.C: remove debug
7156
7157 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7158
7159         * paragraph.C (asString): remove two unused variables
7160
7161         * lyxtextclass.C (readTitleType):
7162           (Read):
7163           (LyXTextClass): handle new members titletype_ and titlename_
7164
7165         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7166
7167 2003-02-09  John Levon  <levon@movementarian.org>
7168
7169         * buffer.h:
7170         * buffer.C: replace hand-coded list with a map for the dep clean
7171
7172 2003-02-08  John Levon  <levon@movementarian.org>
7173
7174         * LaTeX.C: consolidate code into showRunMessage() helper
7175
7176 2003-02-08  John Levon  <levon@movementarian.org>
7177
7178         * lyxfind.C:
7179         * lyxtext.h:
7180         * text2.C:
7181         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7182           and pass the size in explicitly
7183
7184         * BufferView_pimpl.h:
7185         * BufferView_pimpl.C:
7186         * BufferView.h:
7187         * BufferView.C: add getCurrentChange()
7188
7189         * BufferView_pimpl.h:
7190         * BufferView_pimpl.C: handle change lfuns
7191
7192         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7193           for changes. Mark pasted paragraphs as new.
7194
7195         * support/lyxtime.h:
7196         * support/lyxtime.C:
7197         * DepTable.C: abstract time_t as lyx::time_type
7198
7199         * LColor.h:
7200         * LColor.C: add colours for new text, deleted text, changebars
7201
7202         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7203           package use "usenames" option.
7204
7205         * commandtags.h:
7206         * lyxfunc.C:
7207         * LyXAction.C: add change lfuns
7208
7209         * Makefile.am:
7210         * author.h:
7211         * author.C: author handling
7212
7213         * buffer.h:
7214         * buffer.C: add a per-buffer author list, with first entry as
7215           current author. Handle new .lyx tokens for change tracking. Output
7216           author list to .lyx file. Output dvipost stuff to .tex preamble.
7217           Bump lyx format to 222.
7218
7219         * bufferlist.h:
7220         * bufferlist.C: add setCurrentAuthor() to reset current author details
7221           in all buffers.
7222
7223         * bufferparams.h:
7224         * bufferparams.C: add param for tracking
7225
7226         * bufferview_funcs.C: output change info in minibuffer
7227
7228         * Makefile.am:
7229         * changes.h:
7230         * changes.C: add change-tracking structure
7231
7232         * debug.h:
7233         * debug.C: add CHANGES debug flag
7234
7235         * lyxfind.h:
7236         * lyxfind.C: add code for finding the next change piece
7237
7238         * lyxrc.h:
7239         * lyxrc.C: add user_name and user_email
7240
7241         * lyxrow.h:
7242         * lyxrow.C: add a metric for the top of the text line
7243
7244         * lyxtext.h:
7245         * text.C: implement accept/rejectChange()
7246
7247         * lyxtext.h:
7248         * text.C: paint changebars. Paint new/deleted text in the chosen
7249         colours. Strike through deleted text.
7250
7251         * paragraph.h:
7252         * paragraph.C:
7253         * paragraph_pimpl.h:
7254         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7255           in the current change to the insert functions. Rework erase to
7256           mark text as deleted, adding an eraseIntern() and a range-based
7257           erase(). Implement per-paragraph change lookup and
7258           accept/reject.
7259
7260         * paragraph_funcs.C: Fixup paste for change tracking.
7261
7262         * tabular.C: mark added row/columns as new.
7263
7264         * text.C: fix rowLast() to never return -1. Don't allow
7265           spellchecking of deleted text. Track transpose changes. Don't
7266           allow paragraph break or merge where appropriate.
7267
7268         * text2.C: leave cursor at end of selection after a cut.
7269
7270 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7271
7272         * text.C (getLengthMarkerHeight):
7273         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7274         visible on screen too.
7275
7276 2003-02-07  John Levon  <levon@movementarian.org>
7277
7278         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7279
7280 2003-02-05  Angus Leeming  <leeming@lyx.org>
7281
7282         * lyxserver.C (read_ready): revert my patch of 11 September last year
7283         as it sends PC cpu through the roof. Presumably this means that
7284         the lyxserver will no longer run on an Alpha...
7285
7286 2003-01-30  Angus Leeming  <leeming@lyx.org>
7287
7288         * factory.C (createInset): create an InsetCommandParam of type "index"
7289         and use it to 'do the right thing'.
7290
7291         * text2.C (getStringToIndex): ensure that cursor position is always
7292         reset to the reset_cursor position.
7293
7294 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7295
7296         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7297         disabled.
7298
7299 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7300
7301         * bufferview.C:
7302         * lyxcb.C:
7303         * lyxfunc.C: Output messages with identical spelling, punctuation,
7304         and spaces
7305
7306 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7307
7308         * MenuBackend.C (expandFormats): List only viewable export formats
7309         in "View" menu
7310
7311         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7312         message
7313
7314         * lyxfunc.C (getStatus): Make sure that formats other than
7315         "fax" can also be disabled
7316
7317 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7318
7319         * text3.C (dispatch): put the lfuns that insert insets in 3
7320         groups, and call doInsertInset with appropriate arguments.
7321         (doInsertInset): new function, that creates an inset and inserts
7322         it according to some boolean parameters.
7323
7324 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * buffer.C (readFile): remember to pass on 'par' when calling
7327         readFile recursively.
7328
7329 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7330
7331         * MenuBackend.C (expandFormats): add "..." to import formats.
7332
7333 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7334
7335         * paragraph.C (asString): Remove XForms RTL hacks.
7336
7337 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7338         * buffer.C: fix typo
7339
7340 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * Makefile.am (LIBS): delete var
7343         (lyx_LDADD): add @LIBS@ here instead.
7344
7345 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7346
7347         * Clarify the meaning of "wheel mouse jump"
7348
7349 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7350
7351         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7352         tabular in a float
7353
7354 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7355
7356         * importer.C (Loaders): do not preallocate 3 elements in the
7357         vector, since one ends up with 6 elements otherwise
7358
7359 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7360
7361         * DepTable.C (write): write the file name as last element of the
7362         .dep file (because it may contain spaces)
7363         (read): read info in the right order
7364
7365 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7366
7367         * paragraph_pimpl.C (simpleTeXBlanks):
7368         (simpleTeXSpecialChars):
7369         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7370
7371         * tabular.C (latex): add some missing case statements. Reindent.
7372
7373         * MenuBackend.C (expandToc): remove unused variable.
7374
7375 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7376
7377         * LColor.C:
7378         * LaTeX.C:
7379         * LyXAction.C:
7380         * MenuBackend.C:
7381         * buffer.C:
7382         * exporter.C:
7383         * lyxfunc.C:
7384         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7385         and the like.
7386
7387 2003-01-05  John Levon  <levon@movementarian.org>
7388
7389         * BufferView.h:
7390         * BufferView.C: add getEncoding()
7391
7392         * kbsequence.h:
7393         * kbsequence.C: do not store last keypress
7394
7395         * lyxfunc.h:
7396         * lyxfunc.C: store last keypress here instead. Pass encoding
7397           to getISOEncoded()
7398
7399 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7400
7401         * lyx_main.C (init): remove annoying error message when following
7402         symbolic links (bug #780)
7403
7404 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7405
7406         * text.C (insertChar):
7407         * lyxrc.C (getDescription): remove extra spaces
7408
7409 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7410
7411         * lyxrc.C (getDescription): remove extra spaces
7412
7413 2002-12-20  John Levon  <levon@movementarian.org>
7414
7415         * text3.C: hack fix for page up/down across tall rows
7416
7417 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7418
7419         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7420         not been invoked
7421
7422 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7423
7424         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7425         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7426         thesaurus is not compiled in
7427
7428 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7429
7430         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7431
7432 2002-12-16  Angus Leeming  <leeming@lyx.org>
7433
7434         * lyxrc.[Ch]:
7435         * lyx_main.C (init): remove override_x_deadkeys stuff.
7436
7437 2002-12-12  John Levon  <levon@movementarian.org>
7438
7439         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7440           insert. Only remove shift modifier under strict
7441           circumstances.
7442
7443 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7444
7445         * MenuBackend.C (expandToc): fix crash.
7446
7447 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7448
7449         * MenuBackend.C (expandToc): gettext on float names.
7450
7451 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7452
7453         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7454         implement bool empty() [bug 490]
7455
7456 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7459
7460 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * several files: ws changes
7463
7464 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * text2.C (setCounter): clean up a bit, use boost.format.
7467         (updateCounters): initialize par upon declaration.
7468
7469         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7470         if the layout exists. We do not just store the layout any more.
7471         (SwitchLayoutsBetweenClasses): use boost.format
7472
7473 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7474
7475         * converter.C (convert): if from and to files are the same, use a
7476         temporary files as intermediary
7477
7478 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7479
7480         * commandtags.h:
7481         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7482
7483 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7484
7485         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7486
7487 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7488
7489         * tabular.C (asciiPrintCell): use string(size, char) instead of
7490         explicit loop.
7491
7492         * sgml.C (openTag): fix order of arguments to string constructor
7493         (closeTag): ditto
7494
7495         * lyxfunc.C (dispatch): use boost.format
7496
7497         * lots of files: change "c" -> 'c'
7498
7499 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7500
7501         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7502
7503 2002-11-25  Angus Leeming  <leeming@lyx.org>
7504
7505         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7506
7507         * lyx_main.C (init): compile fix.
7508
7509 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * lyx_cb.C (start): boost.formatify
7512         do not include <iostream>
7513
7514         * lengthcommon.C: ws only
7515
7516         * boost-inst.C,BoostFormat.h: add more explict instantations
7517
7518 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * lots of files: handle USE_BOOST_FORMAT
7521
7522 2002-11-21  John Levon  <levon@movementarian.org>
7523
7524         * pspell.C: fix compile
7525
7526 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7527
7528         * lyxfunc.C (dispatch): use boost::format
7529         (open): ditto
7530         (doImport): ditto
7531
7532         * lyxfont.C (stateText): use boost::format
7533
7534         * lyx_main.C (LyX): use boost::format
7535         (init): ditto
7536         (queryUserLyXDir): ditto
7537         (readRcFile): ditto
7538         (parse_dbg): ditto
7539         (typedef boost::function): use the recommened syntax.
7540
7541         * importer.C (Import): use boost::format
7542
7543         * debug.C (showLevel): use boost::format
7544
7545         * converter.C (view): use boost::format
7546         (convert): ditto
7547         (move): ditto
7548         (scanLog): ditto
7549
7550         * bufferview_funcs.C (currentState): use boost::format
7551
7552         * bufferlist.C (emergencyWrite): use boost::format
7553
7554         * buffer.C (readLyXformat2): use boost::format
7555         (parseSingleLyXformat2Token): ditto
7556
7557         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7558
7559         * LaTeX.C (run): use boost::format
7560
7561         * Chktex.C (scanLogFile): use boost::format
7562
7563         * BufferView_pimpl.C (savePosition): use boost::format
7564         (restorePosition): ditto
7565         (MenuInsertLyXFile): ditto
7566
7567         * BoostFormat.h: help file for explicit instation.
7568
7569 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7570
7571         * tabular.C (latex): Support for block alignment in fixed width
7572         columns.
7573
7574 2002-11-17  John Levon  <levon@movementarian.org>
7575
7576         * BufferView_pimpl.C:
7577         * lyx_cb.C:
7578         * lyxfunc.C: split filedialog into open/save
7579
7580 2002-11-08  Juergen Vigna  <jug@sad.it>
7581
7582         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7583         by my last patch (hopefully).
7584
7585 2002-11-08  John Levon  <levon@movementarian.org>
7586
7587         * iterators.h:
7588         * iterators.C:
7589         * buffer.h:
7590         * buffer.C:
7591         * paragraph.h:
7592         * paragraph.C:
7593         * toc.h:
7594         * toc.C: ParConstIterator, and use it (from Lars)
7595
7596 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7597
7598         * lyxtextclass.[Ch]: revise and add doxygen comments
7599
7600 2002-11-07  John Levon  <levon@movementarian.org>
7601
7602         * text.C: fix progress value for spellchecker
7603
7604         * toc.C: fix navigate menu for insetwrap inside minipage
7605
7606         * paragraph_funcs.C: added FIXME for suspect code
7607
7608 2002-11-07  John Levon  <levon@movementarian.org>
7609
7610         * BufferView_pimpl.C: fix redrawing of insets
7611           on buffer switch
7612
7613 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7614
7615         * text2.C (updateCounters): fix bug 668
7616
7617 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7618
7619         * text3.C (dispatch): Do not make the buffer dirty when moving the
7620         cursor.
7621
7622 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * vc-backend.C: STRCONV
7625         (scanMaster): ditto
7626
7627         * text2.C (setCounter): STRCONV
7628
7629         * paragraph.C (asString): STRCONV
7630
7631         * lyxlength.C (asString): STRCONV
7632         (asLatexString): ditto
7633
7634         * lyxgluelength.C (asString): STRCONV
7635         (asLatexString): ditto
7636
7637         * lyxfunc.C (dispatch): STRCONV
7638         (open): ditto
7639
7640         * lyxfont.C (stateText): STRCONV
7641
7642         * importer.C (Import): STRCONV
7643
7644         * counters.C (labelItem): STRCONV
7645         (numberLabel): ditto
7646         (numberLabel): remove unused ostringstream o
7647
7648         * chset.C: STRCONV
7649         (loadFile): ditto
7650
7651         * bufferview_funcs.C (currentState): STRCONV
7652
7653         * buffer.C (readFile): STRCONV
7654         (asciiParagraph): ditto
7655         (makeLaTeXFile): ditto
7656
7657         * Spacing.C (writeEnvirBegin): STRCONV
7658
7659         * LaTeXFeatures.C (getLanguages): STRCONV
7660         (getPackages): ditto
7661         (getMacros): ditto
7662         (getBabelOptions): ditto
7663         (getTClassPreamble): ditto
7664         (getLyXSGMLEntities): ditto
7665         (getIncludedFiles): ditto
7666
7667         * LaTeX.C: STRCONV
7668         (run): ditto
7669         (scanAuxFile): ditto
7670         (deplog): ditto
7671
7672         * LString.h: add the STRCONV macros
7673
7674         * BufferView_pimpl.C (savePosition): STRCONV
7675         (restorePosition): ditto
7676         (MenuInsertLyXFile): ditto
7677
7678         * vc-backend.C (scanMaster): change from submatch[...] to
7679         submatch.str(...)
7680
7681         * funcrequest.C: include config.h
7682
7683         * factory.C: include config.h
7684
7685         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7686
7687         * box.C: include config.h
7688
7689         * LaTeX.C (scanAuxFile): change from submatch[...] to
7690         submatch.str(...)
7691         (deplog): ditto
7692
7693 2002-10-25  Angus Leeming  <leeming@lyx.org>
7694
7695         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7696
7697         * ispell.[Ch] (setError): new method.
7698         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7699         Use setError() insetead of goto END.
7700
7701         * lyx_cb.C (AutoSave): move out child process into new class
7702         AutoSaveBuffer.
7703
7704 2002-10-30  John Levon  <levon@movementarian.org>
7705
7706         * text3.C: make start appendix undoable
7707
7708 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7709
7710         * lyxlength.C (inPixels): Fix returned value.
7711
7712         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7713         environment.
7714
7715 2002-10-24  Angus Leeming  <leeming@lyx.org>
7716
7717         * lyxgluelength.h: no need to forward declare BufferParams
7718         or BufferView, so don't.
7719
7720 2002-10-21  John Levon  <levon@movementarian.org>
7721
7722         * BufferView.C: menuUndo ->undo, redo
7723
7724         * BufferView.h: document, remove dead, make some methods private
7725
7726         * paragraph_funcs.h:
7727         * paragraph_funcs.C:
7728         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7729
7730         * buffer.h:
7731         * buffer.C:
7732         * sgml.h:
7733         * sgml.C: move sgml open/close tag into sgml.C
7734
7735         * bufferview_funcs.h: unused prototype
7736
7737         * lyxfunc.h:
7738         * lyxfunc.C: remove unused
7739
7740         * lyxtext.h:
7741         * text.C: remove unused
7742
7743 2002-10-21  John Levon  <levon@movementarian.org>
7744
7745         * BufferView.h:
7746         * BufferView.C:
7747         * BufferView_pimpl.h:
7748         * BufferView_pimpl.C: fix mouse wheel handling based on
7749           patch from Darren Freeman
7750
7751 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7752
7753         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7754
7755 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7756
7757         * lyxlength.C (inPixels): Fix hanfling of negative length.
7758         Fix LyXLength::MU case.
7759
7760 2002-10-16  John Levon  <levon@movementarian.org>
7761
7762         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7763
7764 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7765
7766         * converter.C (view): add support for $$i (file name) and $$p
7767         (file path) for the viewer command. If $$i is not specified, then
7768         it is appended to the command (for compatibility with old syntax)
7769
7770 2002-10-14  Juergen Vigna  <jug@sad.it>
7771
7772         * undo_funcs.C (textHandleUndo): alter the order in which the
7773         new undopar is added to the LyXText, as we have to set first
7774         the right prev/next and then add it as otherwise the rebuild of
7775         LyXText is not correct. Also reset the cursor to the right paragraph,
7776         with this IMO we could remove the hack in "redoParagraphs()".
7777
7778 2002-10-09  Angus Leeming  <leeming@lyx.org>
7779
7780         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7781         to turn off an optimisation if a new inset is to be inserted.
7782
7783 2002-10-11 André Pönitz <poenitz@gmx.net>
7784
7785         * lyxtext.h: make some functions public to allow access
7786         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7787
7788 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7789
7790         * text3.C (dispatch): when changing layout, avoid an infinite loop
7791         [bug #652]
7792
7793 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7794
7795         * lyxrc.C (read): treat a viewer or converter command of "none" as
7796         if it were empty.
7797
7798         * MenuBackend.C (expandFormats): for an update, also allow the
7799         formats that are not viewable
7800
7801         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7802         script if it is newer than the lyxrc.defaults in user directory
7803
7804 2002-10-07 André Pönitz <poenitz@gmx.net>
7805
7806         * text.C: Vitaly Lipatov's small i18n fix
7807
7808 2002-09-25  Angus Leeming  <leeming@lyx.org>
7809
7810         * ispell.h: doxygen fix.
7811
7812 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7813
7814         * buffer.h (readFile): Add a new argument to the method, to allow
7815         reading of old-format templates.
7816
7817 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7818
7819         * toc.C (getTocList): Get TOC from InsetWrap.
7820
7821 2002-09-16  John Levon  <levon@movementarian.org>
7822
7823         * lyxfunc.C: check tabular for cut/copy too
7824
7825 2002-09-12  John Levon  <levon@movementarian.org>
7826
7827         * LyXAction.C: tidy
7828
7829         * factory.h:
7830         * factory.C: add header
7831
7832         * paragraph_funcs.h:
7833         * paragraph_funcs.C: cleanup
7834
7835 2002-09-11  John Levon  <levon@movementarian.org>
7836
7837         * PrinterParams.h: odd/even default to true
7838
7839 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7840
7841         * PrinterParams.h: update printer parameters for new xforms dialog
7842
7843 2002-09-11  Angus Leeming  <leeming@lyx.org>
7844
7845         * lyxserver.C (read_ready): re-write to make it more transparent
7846         and to make it work in coherent fashion under Tru64 Unix.
7847
7848 2002-09-11  André Pönitz <poenitz@gmx.net>
7849
7850         * commandtags.h:
7851         * LyXAction.C:
7852         * text3.C: implement LFUN_WORDSEL
7853
7854 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7857         make floatlist_ a boost::shared_ptr<FloatList>
7858
7859         * lyxtextclass.C: include FloatList.h
7860         (LyXTextClass): initialize floatlist_
7861         (TextClassTags): add TC_NOFLOAT
7862         (Read): match "nofloat" to TC_NOFLOAT and use it.
7863         (readFloat): modify call to floatlist_
7864         (floats): ditto
7865         (floats): ditto
7866
7867         * FloatList.[Ch] (FloatList): remove commented out float
7868         initialization.
7869         (erase): new function
7870
7871 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7872
7873         * MenuBackend.C (expandToc): fix crash when there is no document
7874         open
7875
7876 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7877
7878         * many files: Add insetwrap.
7879
7880 2002-09-09  John Levon  <levon@movementarian.org>
7881
7882         * text2.C: remove confusing and awkward depth wraparound
7883
7884 2002-09-09  John Levon  <levon@movementarian.org>
7885
7886         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7887
7888         * buffer.h:
7889         * buffer.C: remove getIncludeonlyList()
7890
7891         * paragraph.C:
7892         * lyxfunc.C: remove headers
7893
7894 2002-09-09  Juergen Vigna  <jug@sad.it>
7895
7896         * text.C (getColumnNearX): fix form Michael this is most
7897         probably a cut&paste bug.
7898
7899 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7900
7901         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7902
7903         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7904         references, ws changes.
7905
7906         * text2.C (init): update counters after init
7907         (insertParagraph): no need to set counter on idividual paragraphs.
7908         (setCounter): access the counters object in the textclass object
7909         on in the buffer object.
7910         (updateCounters): ditto
7911
7912         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7913         shared_ptr<Counters> to avoid loading counters.h in all
7914         compilation units.
7915         (LyXTextClass): initialize ctrs_
7916         (TextClassTags): add TC_COUNTER, and ...
7917         (Read): use it here.
7918         (CounterTags): new tags
7919         (readCounter): new function
7920         (counters): new funtion
7921         (defaultLayoutName): return a const reference
7922
7923         * counters.C (Counters): remove contructor
7924         (newCounter): remove a couple of unneeded statements.
7925         (newCounter): simplify a bit.
7926         (numberLabel): some small formatting changes.
7927
7928         * buffer.[Ch]: remove all traces of counters, move the Counters
7929         object to the LyXTextClass.
7930
7931 2002-09-06  Alain Castera  <castera@in2p3.fr>
7932
7933         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7934         package to set the horizontal alignment on fixed width columns.
7935
7936         * lyx_sty.C:
7937         * lyx_sty.h: added tabularnewline macro def.
7938
7939         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7940
7941 2002-09-06  John Levon  <levon@movementarian.org>
7942
7943         * LyXAction.C: tooltips for sub/superscript
7944
7945         * MenuBackend.C: a bit more verbose
7946
7947         * lyxfunc.C: tiny clean
7948
7949         * undo_funcs.C: document undo_frozen
7950
7951 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7952
7953         * counters.C (Counters): add missing algorithm counter.
7954
7955         * text2.C (setCounter): lookup the counter with layouts latexname
7956         instead of by section number.
7957         (setCounter): use a hackish way to lookup the correct enum
7958         counter.
7959         a float name->type change
7960         reset enum couners with counter name directly instead of depth value.
7961
7962         * counters.C (Counters): remove the push_backs, change to use the
7963         float type not the float name.
7964         (labelItem): remove unused string, float name->type change
7965
7966         * counters.h: don't include vector, loose the enums and sects vectors
7967
7968 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7971         (Read): add float->TC_FLOAT to textclassTags
7972         (Read): and handle it in the switch
7973         (readFloat): new function
7974
7975         * FloatList.C (FloatList): comment out the hardcoded float
7976         definitions.
7977
7978         * lyxlayout.h: ws change.
7979
7980 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7981
7982         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7983
7984 2002-09-03  Angus Leeming  <leeming@lyx.org>
7985
7986         * BufferView_pimpl.h: qualified name is not allowed in member
7987         declaration: WorkArea & Pimpl::workarea() const;
7988
7989         * factory.C: added using std::endl directive.
7990
7991         * text3.C: added using std::find and std::vector directives.
7992
7993 2002-08-29  André Pönitz <poenitz@gmx.net>
7994
7995         * lyxtext.h:
7996         * text2.C: remove unused member number_of_rows
7997
7998         * Makefile.am:
7999         * BufferView2.C: remove file, move contents to...
8000         * BufferView.C: ... here
8001
8002         * BufferView_pimpl.C:
8003         * factory.C: move more inset creation to factory
8004
8005         * vspace.C: avoid direct usage of LyXText, ws changes
8006
8007         * BufferView.[Ch]:
8008                 don't provide direct access to WorkArea, use two simple
8009                 acessors haveSelction() and workHeight() instead
8010
8011
8012 2002-08-29  John Levon  <levon@movementarian.org>
8013
8014         * BufferView_pimpl.C (dispatch): do not continue when
8015           no buffer
8016
8017 2002-08-28  André Pönitz <poenitz@gmx.net>
8018
8019         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8020
8021         * BufferView.h:
8022         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8023
8024 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8025
8026         * buffer.C: increment LYX_FORMAT to 221
8027
8028         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8029         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8030
8031         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8032
8033         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8034
8035 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8036
8037         * factory.C (createInset): use LyXTextClass::floats
8038
8039         * MenuBackend.C (expandFloatListInsert):
8040         (expandFloatInsert):
8041         (expandToc):
8042
8043         * text2.C (setCounter):
8044
8045         * LaTeXFeatures.C (useFloat):
8046         (getFloatDefinitions):
8047
8048         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8049
8050         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8051         floatlist_, with accessor floats().
8052
8053         * FloatList.h: remove global FloatList
8054
8055 2002-08-26  André Pönitz <poenitz@gmx.net>
8056
8057         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8058
8059         * BufferView.h:
8060         * BufferView2.C:
8061         * BufferView_pimpl.C:
8062         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8063
8064 2002-08-25  John Levon  <levon@movementarian.org>
8065
8066         * LyXAction.C: fix margin note description
8067
8068 2002-08-24  John Levon  <levon@movementarian.org>
8069
8070         * buffer.C:
8071         * bufferlist.C:
8072         * bufferview_funcs.C:
8073         * lyxfont.C:
8074         * undo_funcs.C: cleanups
8075
8076         * lyxfunc.C: disable CUT/COPY when no selection
8077
8078 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8079
8080         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8081         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8082
8083         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8084         Add backward compatibility to "mono", "gray" and "no".
8085
8086 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8087
8088         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8089         (and file_format >= 200).
8090
8091 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8092
8093         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8094
8095 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8096
8097         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8098
8099 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8100
8101         * BufferView_pimpl.C:
8102         * LyXAction.C:
8103         * buffer.C:
8104         * commandtags.h:
8105         * lyxfunc.C:
8106         * paragraph.[Ch]:
8107         * text2.C:
8108         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8109         inset and code to make it  work with the paragraph code. The inset
8110         can be anywhere in the paragraph, but will only do the expected
8111         thing in LaTeX if the layout file contains the parameter line
8112                         OptionalArgs    1
8113         (or more generally, a nonzero value) for that layout.
8114
8115 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8116
8117         * paragraph.h: remove the declaration of undefined counters class
8118         function.
8119
8120 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8121
8122         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8123         Dr. Richard Hawkins.
8124
8125 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8126
8127         * paragraph_funcs.h: remove some unneeded includes
8128
8129         * text.C (backspace): pasteParagraph now in global scipe
8130
8131         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8132         (pasteSelection): ditto
8133
8134         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8135         * paragraph_funcs.C (pasteParagraph): ... here
8136
8137 2002-08-20  André Pönitz <poenitz@gmx.net>
8138
8139         * commandtags.h: new LFUNs for swapping/copying table row/colums
8140
8141         * LyXAction.C:
8142         * lyxfunc.C: support for new lfuns
8143
8144 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8145
8146         * tabular.C:
8147         * buffer.[Ch]: remove NO_COMPABILITY stuff
8148
8149 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8150
8151         * boost.C (throw_exception): new file, with helper function for
8152         boost compiled without exceptions.
8153
8154         * paragraph.h:
8155         * lyxlength.C:
8156         * buffer.C:
8157         * ParameterStruct.h:
8158         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8159
8160         * bufferlist.C (emergencyWriteAll): use boost bind
8161
8162         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8163
8164         * text.C: include paragraph_funcs.h
8165         (breakParagraph): breakParagraph is now in global scope
8166
8167         * paragraph_funcs.[Ch]: new files
8168
8169         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8170         global scope
8171
8172         * buffer.C: include paragraph_funcs.h
8173         (insertStringAsLines): breakParagraph is now in global scope
8174
8175         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8176         paragraph_funcs.C
8177
8178         * CutAndPaste.C: include paragraph_funcs.h
8179         (cutSelection): breakParagraphConservative is now in global scope
8180         (pasteSelection): ditto
8181
8182         * buffer.h: declare oprator== and operator!= for
8183         Buffer::inset_iterator
8184
8185         * bufferlist.C (emergencyWrite): don't use fmt(...)
8186
8187         * text3.C: add using std::endl
8188
8189         * BufferView.C (moveCursorUpdate): remove default arg
8190
8191 2002-08-20  André Pönitz <poenitz@gmx.net>
8192
8193         * buffer.[Ch]: move inline functions to .C
8194
8195         * BufferView2.C:
8196         * BufferView_pimpl.C:
8197         * text.C:
8198         * buffer.[Ch]: use improved inset_iterator
8199
8200         * buffer.C:
8201         * paragraph.[Ch]: write one paragraph at a time
8202
8203 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8204
8205         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8206         style if style is not specified.
8207
8208 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8209
8210         * text2.C (setCounter): when searching for right label for a
8211         caption, make sure to recurse to parent insets (so that a caption
8212         in a minipage in a figure float works) (bug #568)
8213
8214 2002-08-20  André Pönitz <poenitz@gmx.net>
8215
8216         * text3.C: new file for LyXText::dispatch() and helpers
8217
8218         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8219
8220         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8221
8222 2002-08-19  André Pönitz <poenitz@gmx.net>
8223
8224         * lyxtext.h:
8225         * text.C: new LyXText::dispatch()
8226
8227         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8228
8229 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8230
8231         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8232
8233         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8234         Hebrew text.
8235
8236 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8237
8238         * Makefile.am: use $(variables) instead of @substitutions@
8239
8240 2002-08-15  André Pönitz <poenitz@gmx.net>
8241
8242         * lyxfunc.C:
8243         * BufferView_pimpl.C: streamlining mathed <-> outer world
8244         interaction
8245
8246         * commandtags.h:
8247         * LyXAction.C: remove unused LFUN_MATH
8248
8249 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8252
8253 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8254
8255         * paragraph.C (Paragraph): reformat a bit
8256         (cutIntoMinibuffer): use builtin InsetList function instad of
8257         doing it manually.
8258         (getInset): ditto
8259
8260         * buffer.C: include boost/bind.hpp, add using std::for_each
8261         (writeFileAscii): use ParagraphList iterators
8262         (validate): use for_each for validate traversal of paragraphs
8263         (getBibkeyList): use ParagraphList iterators
8264         (resizeInsets): use for_each to resizeInsetsLyXText for all
8265         paragraphs.
8266         (getParFromID): use ParagraphList iterators
8267
8268         * BufferView2.C (lockInset): use paragraph list and iterators
8269
8270 2002-08-14  John Levon  <levon@movementarian.org>
8271
8272         * lyxserver.C: remove spurious xforms include
8273
8274 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8275
8276         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8277
8278 2002-08-13  André Pönitz <poenitz@gmx.net>
8279
8280         * LyXAction.[Ch]:
8281         * lyxfunc.C: further cleaning
8282
8283 2002-08-13  André Pönitz <poenitz@gmx.net>
8284
8285         * funcrequest.h: new constructor
8286
8287         * funcrequest.C: move stuff here from .h
8288
8289         * Makefile.am:
8290         * BufferView_pimpl.C:
8291         * LyXAction.C:
8292         * toc.C:
8293         * lyxfunc.C: subsequent changes
8294
8295         * lyxfunc.h: new view() member function
8296
8297         * lyxfunc.C: subsequent changes
8298
8299 2002-08-13  Angus Leeming  <leeming@lyx.org>
8300
8301         * BufferView2.C:
8302         * BufferView_pimpl.C:
8303         * buffer.C:
8304         * converter.C:
8305         * importer.C:
8306         * lyxfunc.C:
8307         * lyxvc.C:
8308         * toc.C:
8309         * vc-backend.C:
8310         changes due to the changed LyXView interface that now returns references
8311         to member variables not pointers.
8312
8313 2002-08-13  Angus Leeming  <leeming@lyx.org>
8314
8315         * WordLangTuple (word, lang_code): return references to strings,
8316         not strings.
8317
8318         * BufferView.h:
8319         * SpellBase.h:
8320         * lyxtext.h: forward-declare WordLangTuple.
8321
8322         * BufferView2.C:
8323         * ispell.C:
8324         * pspell.C:
8325         * text.C: #include "WordLangTuple.h".
8326
8327         * lyxtext.h:
8328         * text.C: (selectNextWordToSpellcheck): constify return type.
8329
8330 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8331
8332         * buffer.C:
8333         * buffer.h:
8334         * lyxtext.h:
8335         * paragraph.C:
8336         * paragraph_pimpl.h:
8337         * text.C:
8338         * text2.C:
8339         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8340         suggested by Angus.
8341         Made updateCounter always count from start of buffer, and removed
8342         second argument (par).
8343         Reverted floats number display to '#'. Perhaps I'll try again when the
8344         code base is sanitized a bit.
8345
8346 2002-08-12  Angus Leeming  <leeming@lyx.org>
8347
8348         * buffer.[Ch] (getLabelList): constify.
8349
8350 2002-08-07  André Pönitz <poenitz@gmx.net>
8351
8352         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8353
8354         * funcrequest.h: extension to keep mouse (x,y) position
8355
8356 2002-08-12  Juergen Vigna  <jug@sad.it>
8357
8358         * BufferView2.C (insertErrors): forbid undo when inserting error
8359         insets.
8360
8361         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8362
8363 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * ParagraphList.[Ch]: new files
8366
8367         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8368
8369         * BufferView2.C (lockInset): ParagraphList changes
8370         * toc.C: ditto
8371         * text2.C: ditto
8372         * bufferlist.C: ditto
8373         * buffer.h: ditto
8374         * buffer.C: ditto
8375
8376 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8377
8378         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8379         unused class variable counter_,
8380
8381         * paragraph.[Ch] (getFirstCounter): delete unused function
8382
8383         * counters.C: include LAssert.h
8384         (reset): add a new function with no arg, change other version to
8385         not have def. arg and to not allow empty arg.
8386
8387         * text2.C (setCounter): remove empty arg from call to Counters::reset
8388
8389 2002-08-11  John Levon  <levon@movementarian.org>
8390
8391         * Makefile.am: add WordLangTuple.h
8392
8393 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8396         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8397
8398         * insets/insettext.C: InsetList changes
8399
8400         * graphics/GraphicsSupport.C (operator()): InsetList changes
8401
8402         * toc.C (getTocList): InsetList changes
8403
8404         * paragraph_pimpl.[Ch]: InsetList changes
8405
8406         * paragraph.[Ch]: InsetList changes
8407
8408         * buffer.C (inset_iterator): InsetList changes
8409         (setParagraph): ditto
8410         * buffer.h (inset_iterator): ditto
8411         * iterators.C (operator++): ditto
8412         * iterators.h: ditto
8413
8414         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8415
8416         * InsetList.[Ch]: new files, most InsetList handling moved out of
8417         paragraph.C.
8418
8419         * BufferView2.C (removeAutoInsets): InsetList changes
8420         (lockInset): ditto
8421         (ChangeInsets): ditto
8422
8423 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8424
8425         * paragraph_pimpl.h (empty): new function
8426
8427         * paragraph.[Ch] (empty): new function
8428
8429         * other files: use the new Paragraph::empty function
8430
8431 2002-08-09  John Levon  <levon@movementarian.org>
8432
8433         * lyxtext.h: remove unused refresh_height
8434
8435 2002-08-09  John Levon  <levon@movementarian.org>
8436
8437         * Makefile.am:
8438         * sgml.h:
8439         * sgml.C:
8440         * buffer.C:
8441         * paragraph.h:
8442         * paragraph.C: move sgml char escaping out of paragraph
8443
8444         * paragraph.h:
8445         * paragraph.C: remove id setter
8446
8447         * buffer.C:
8448         * paragraph.C:
8449         * paragraph_pimpl.C: remove dead tex_code_break_column
8450
8451         * bufferview_funcs.C: small cleanup
8452
8453         * lyxfunc.C: remove dead proto
8454
8455         * lyxtext.h: make some stuff private. Remove some dead stuff.
8456
8457         * lyxgluelength.C: make as[LyX]String() readable
8458
8459 2002-08-08  John Levon  <levon@movementarian.org>
8460
8461         * LyXAction.h:
8462         * LyXAction.C:
8463         * MenuBackend.C:
8464         * ToolbarDefaults.C:
8465         * lyxfunc.C:
8466         * lyxrc.C:
8467         * toc.C: lyxaction cleanup
8468
8469 2002-08-08  John Levon  <levon@movementarian.org>
8470
8471         * BufferView2.C: small cleanup
8472
8473         * lyxfind.h:
8474         * lyxfind.C: move unnecessary header into the .C
8475
8476 2002-08-08  John Levon  <levon@movementarian.org>
8477
8478         * funcrequest.h: just tedious nonsense
8479
8480         * lyx_main.h:
8481         * lyx_main.C: cleanups
8482
8483         * buffer.C:
8484         * vspace.C: remove dead header lyx_main.h
8485
8486 2002-08-07  Angus Leeming  <leeming@lyx.org>
8487
8488         * Paragraph.[Ch]:
8489         * paragraph_pimpl.h:
8490         Forward declare class Counters in paragraph.h by moving the ctrs member
8491         variable into Paragraph::Pimpl.
8492         (counters): new method, returning a reference to pimpl_->ctrs.
8493
8494         * text2.C: ensuing changes.
8495
8496 2002-08-07  John Levon  <levon@movementarian.org>
8497
8498         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8499
8500         * BufferView_pimpl.C: announce X selection on double/triple
8501           click
8502
8503         * lyx_main.C: use correct bool in batch dispatch
8504
8505         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8506
8507 2002-08-07  André Pönitz <poenitz@gmx.net>
8508
8509         * funcrequest.h: new class to wrap a kb_action and its argument
8510
8511         * BufferView.[Ch]:
8512         * BufferView_pimpl[Ch]:
8513         * LaTeX.C:
8514         * LyXAction.[Ch]:
8515         * lyxfunc.[Ch]:
8516         * lyxrc.C: subsequent changes
8517
8518
8519 2002-08-07  John Levon  <levon@movementarian.org>
8520
8521         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8522           document options change.
8523
8524 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8525
8526         * counters.[Ch]
8527         * text2.C
8528         * paragraph.[Ch]
8529         * makefile.am: move counters functionality over from
8530         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8531
8532 2002-08-06  John Levon  <levon@movementarian.org>
8533
8534         * WordLangTuple.h: new file for word + language code tuple
8535
8536         * SpellBase.h:
8537         * pspell.h:
8538         * pspell.C:
8539         * ispell.h:
8540         * ispell.C:
8541         * lyxtext.h:
8542         * text.C:
8543         * text2.C:
8544         * BufferView.h:
8545         * BufferView2.C: use WordLangTuple
8546
8547         * layout.h:
8548         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8549
8550 2002-08-06  John Levon  <levon@movementarian.org>
8551
8552         * lyx_main.C: fix cmdline batch handling
8553
8554 2002-08-06  André Pönitz <poenitz@gmx.net>
8555
8556         * lyxrc.C: set default for show_banner to true
8557
8558 2002-08-06  John Levon  <levon@movementarian.org>
8559
8560         * pspell.C: fix a crash, and allow new aspell to work
8561
8562 2002-08-06  John Levon  <levon@movementarian.org>
8563
8564         * lyxfunc.C:
8565         * kbmap.C: small cleanup
8566
8567         * vspace.h:
8568         * vspace.C: add const
8569
8570 2002-08-05  John Levon  <levon@movementarian.org>
8571
8572         * LyXAction.C: back to tabular-insert
8573
8574 2002-08-04  John Levon  <levon@movementarian.org>
8575
8576         * BufferView.h:
8577         * BufferView.C: cosmetic change
8578
8579         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8580
8581         * bufferlist.C:
8582         * buffer.h:
8583         * buffer.C:
8584         * lyxcb.h:
8585         * lyxcb.C:
8586         * lyxserver.C:
8587         * lyxvc.C:
8588         * vc-backend.C:
8589         * BufferView2.C: purge all "Lyx" not "LyX" strings
8590
8591         * lyxcursor.h:
8592         * lyxcursor.C: attempt to add some documentation
8593
8594         * lyxfunc.C:
8595         * commandtags.h:
8596         * LyXAction.C:
8597         * ToolbarDefaults.C:
8598         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8599           merge with LFUN_TABULAR_INSERT
8600
8601         * Makefile.am:
8602         * SpellBase.h:
8603         * ispell.h:
8604         * ispell.C:
8605         * pspell.h:
8606         * pspell.C: split up i/pspell implementations into separate
8607           files, many cleanups
8608
8609         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8610
8611         * text2.C: some cleanup
8612
8613         * lyxfunc.C: don't check for isp_command == "none" any more, it
8614           didn't make any sense
8615
8616 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8617
8618         * counters.[Ch]
8619         * text2.C
8620         * paragraph.[Ch]
8621         * makefile.am: move counters functionality over
8622         from text2.C/paragraph.[Ch] to counters.[Ch], and
8623         make proper C++.
8624 2002-08-02  John Levon  <levon@movementarian.org>
8625
8626         * buffer.C: s/lyxconvert/lyx2lyx/
8627
8628 2002-08-02  Angus Leeming  <leeming@lyx.org>
8629
8630         * lyxlex.C: revert John's change as it breaks reading of the user
8631         preamble.
8632
8633 2002-08-02  Angus Leeming  <leeming@lyx.org>
8634
8635         * importer.C (Import):
8636         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8637         changes due to LyXView::view() now returning a boost::shared_ptr.
8638
8639 2002-08-02  John Levon  <levon@movementarian.org>
8640
8641         * lyxlex.C: small cleanup
8642
8643 2002-08-02  John Levon  <levon@movementarian.org>
8644
8645         * text2.C (status): small cleanup, no logic change
8646
8647 2002-08-01  John Levon  <levon@movementarian.org>
8648
8649         * buffer.h:
8650         * buffer.C (writeFile): don't output alerts, caller
8651           handles this
8652
8653         * bufferlist.C:
8654         * lyx_cb.C: from above
8655
8656         * lyxfunc.C: allow to open non-existent files
8657
8658 2002-07-31  John Levon  <levon@movementarian.org>
8659
8660         * lyxserver.C: don't let incidental errors get
8661           in the way (errno)
8662
8663 2002-07-30  John Levon  <levon@movementarian.org>
8664
8665         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8666
8667 2002-07-30  John Levon  <levon@movementarian.org>
8668
8669         * lyxserver.h:
8670         * lyxserver.C: remove I/O callback too
8671
8672 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8673
8674         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8675         log.
8676
8677 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8678
8679         * many files: strip,frontStrip -> trim,ltrim,rtrim
8680
8681 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8682
8683         * PrinterParams.h: remove extern containsOnly, and include
8684         support/lstrings.h instead.
8685
8686         * LaTeX.C (scanAuxFile): modify because of strip changes
8687         (deplog): ditto
8688         * buffer.C (makeLaTeXFile): ditto
8689         * bufferparams.C (writeFile): ditt
8690         * lyxfont.C (stateText): ditto
8691         * lyxserver.C (read_ready): ditto
8692         * vc-backend.C (scanMaster): ditto
8693
8694         * BufferView_pimpl.h: ws changes
8695
8696         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8697
8698 2002-07-26  André Pönitz <poenitz@gmx.net>
8699
8700         * kb_sequence.C: remove unnedred usings
8701
8702 2002-07-26  Juergen Vigna  <jug@sad.it>
8703
8704         * lyxfind.C (LyXReplace): we have to check better if the returned
8705         text is not of theLockingInset()->getLockingInset().
8706
8707 2002-07-25  Juergen Vigna  <jug@sad.it>
8708
8709         * lyxfind.C (LyXReplace): don't replace if we don't get the
8710         right LyXText.
8711
8712         * undo_funcs.C (createUndo): remove debugging code.
8713
8714 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8715
8716         * buffer.C (parseSingleLyXformat2Token): Use default placement
8717         when reading old floats.
8718
8719         * FloatList.C (FloatList): Change the default placement of figure
8720         and tables to "tbp".
8721
8722 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8723
8724         * MenuBackend.C: using std::max
8725
8726 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8727
8728         * MenuBackend.C (expandToc):
8729         (expandToc2): code moved from xforms menu frontend. It is now
8730         generic and TOCs are transparent to menu frontends.
8731
8732 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8733
8734         * toc.C (getTocList): protect against buf=0
8735
8736         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8737         Menu as first parameter. Now, this calls itself recursively to
8738         expand a whole tree (this will be useful for TOC handling)
8739         (expandFloatInsert): remove 'wide' version of floats
8740
8741         * MenuBackend.h (submenuname): returns the name of the submenu.
8742         (submenu): returns the submenu itself, provided it has been
8743         created by MenuBackend::expand
8744
8745 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8746
8747         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8748         insets which have noFontChange == true. (bug #172)
8749
8750 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8751
8752         * BufferView_pimpl.C: add connection objects and use them...
8753         (Pimpl): here.
8754
8755 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8756
8757         * MenuBackend.C (expandLastfiles):
8758         (expandDocuments):
8759         (expandFormats):
8760         (expandFloatListInsert):
8761         (expandFloatInsert):
8762         (expand): split expand in parts
8763
8764 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8765
8766         * lyx_gui.C: use lyx_gui::exit()
8767
8768 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8769
8770         * LyXAction.C: show the failing pseudo action
8771
8772 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8773
8774         * buffer.C (readFile): Run the lyxconvert script in order to read
8775         old files.
8776
8777 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * LyXAction.C:
8780         * commandtags.h:
8781         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8782
8783 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8784
8785         * LyXAction.C:
8786         * commandtags.h:
8787         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8788
8789 2002-07-22  Herbert Voss  <voss@lyx.org>
8790
8791         * lengthcommon.C:
8792         * lyxlength.[Ch]: add support for the vertical lengths
8793
8794 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8795
8796         * toc.[Ch]: std:: fixes
8797
8798 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8799
8800         * lyxrc.C: do not include lyx_main.h
8801
8802         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8803         for layouts
8804
8805         * lyxrc.C:
8806         * encoding.C:
8807         * bufferlist.C:
8808         * BufferView2.C: include "lyxlex.h"
8809
8810         * tabular.h:
8811         * bufferparams.h: do not #include "lyxlex.h"
8812
8813         * lyxtextclasslist.C (Add): remove method
8814         (classlist): renamed to classlist_
8815
8816         * paragraph_pimpl.C:
8817         * paragraph.C:
8818         * text2.C:
8819         * CutAndPaste.C:
8820         * bufferview_funcs.C:
8821         * bufferlist.C:
8822         * text.C:
8823         * LaTeXFeatures.C:
8824         * buffer.C:
8825         * toc.C (getTocList): use BufferParams::getLyXTextClass
8826
8827         * toc.C (getTocList): use InsetFloat::addToToc
8828
8829         * toc.[Ch]: new files, containing helper functions to handle table
8830         of contents
8831
8832         * lyxfunc.C (dispatch): no need to remove spaces around command
8833         given as a string
8834         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8835         first command of the sequence; it is not very clever, but I do not
8836         have a better idea, actually
8837
8838         * LyXAction.C (LookupFunc): make sure to remove space at the
8839         beginning and end of the command
8840
8841 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * MenuBackend.C (getMenubar): new method: return the menubar of
8844         this menu set
8845         (read): treat differently reading of menu and menubar (in
8846         particular, the menubar has no name now)
8847         (Menu::menubar): remove
8848
8849         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8850         saving is finished
8851
8852 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8853
8854         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8855         a bibitem inset in a RTL paragraph.
8856
8857 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8858
8859         * paragraph_pimpl.C: constify
8860
8861         * BufferView_pimpl.C:
8862         * LaTeX.C:
8863         * lyxfunc.C: fix dispatch in a nicer way
8864
8865 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8866
8867         * lyxfunc.C (dispatch):
8868         * BufferView_pimpl.C:
8869         * BufferView_pimpl.h:
8870         * BufferView.C:
8871         * BufferView.h: rename Dispatch() to dispatch()
8872
8873         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8874
8875         * lyxlayout.C (Read): honor DependsOn tag
8876
8877         * lyxlayout.[Ch] (depends_on): new method
8878
8879         * version.C.in: update lyx_docversion
8880
8881         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8882
8883         * paragraph.C (validate): remove from here...
8884         * paragraph_pimpl.C (validate): ... and move here
8885         (isTextAt): make it const
8886
8887         * buffer.C (getLists): ws cleanup
8888
8889 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8890
8891         * language.C (read): Use iso8859-1 encoding in latex_lang
8892         (this prevents LyX from crashing when using iso10646-1 encoding).
8893
8894 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8895
8896         * text2.C (toggleInset): if cursor is inside an inset, close the
8897         inset and leave cursor _after_ it
8898
8899 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8900
8901         * lyxfunc.C: move minibuffer completion handling out of here
8902
8903 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8904
8905         * BufferView_pimpl.C:
8906         * LaTeX.C: fix dispatch calls
8907
8908 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8909
8910         * text.C (drawChars): Fix Arabic text rendering.
8911
8912 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8913
8914         * LyXAction.C:
8915         * commandtags.h:
8916         * lyxfunc.C: remove message-push/pop
8917
8918         * lyxserver.C:
8919         * lyxfunc.h:
8920         * lyxfunc.C: rationalise some code by removing verboseDispatch
8921           in favour of a bool argument to dispatch()
8922
8923 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * lyx_main.C (init): make sure to read symlinks as absolute paths
8926
8927 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8928
8929         * lyxfunc.h:
8930         * lyxfunc.C: no need for commandshortcut to be a member
8931
8932 2002-07-15  André Pönitz <poenitz@gmx.net>
8933
8934         * converter.C: add support for $$s (scripts from lib/scripts dir)
8935         * lyx_main.C: white space
8936
8937 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * bufferlist.C:
8940         * lyxrc.h:
8941         * lyxrc.C: remove second exit confirmation
8942
8943 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8944
8945         * BufferView.h:
8946         * BufferView.C:
8947         * BufferView2.C:
8948         * BufferView_pimpl.h:
8949         * BufferView_pimpl.C:
8950         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8951
8952 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8953
8954         * MenuBackend.C (expand): add numeric shortcuts to document menu
8955
8956         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8957
8958 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8959
8960         * lyxfont.C (setLyXFamily):
8961         (setLyXSeries):
8962         (setLyXShape):
8963         (setLyXSize):
8964         (setLyXMisc):
8965         (lyxRead):
8966         * debug.C (value):
8967         * buffer.C (asciiParagraph): use ascii_lowercase
8968
8969 2002-07-15  Mike Fabian  <mfabian@suse.de>
8970
8971         * lyxlex_pimpl.C (search_kw):
8972         * lyxlex.C (getLongString):
8973         * converter.h (operator<):
8974         * converter.C (operator<):
8975         * buffer.C (parseSingleLyXformat2Token):
8976         (asciiParagraph):
8977         * ToolbarDefaults.C (read):
8978         * MenuBackend.C (checkShortcuts):
8979         (read):
8980         * LColor.C (getFromGUIName):
8981         (getFromLyXName): use the compare_ascii_no_case instead of
8982         compare_no_case, because in turkish, 'i' is not the lowercase
8983         version of 'I', and thus turkish locale breaks parsing of tags.
8984
8985 2002-07-16  Angus Leeming  <leeming@lyx.org>
8986
8987         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8988         now takes a Buffer const & argument.
8989
8990 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * BufferView.C (resize): check there's a buffer to resize
8993
8994 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8995
8996         * lyxfunc.C: remove dead code
8997
8998         * lyxserver.h:
8999         * lyxserver.C: use lyx_guii::set_read_callback
9000
9001 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9002
9003         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9004         an inset in a RTL paragraph.
9005
9006 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * lyxfunc.C: repaint after a font size update
9009
9010 2002-07-15  André Pönitz <poenitz@gmx.net>
9011
9012         * lyxlength.C: inBP should be able to return negative values
9013
9014 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9015
9016         * lyxfunc.C: use lyx_gui::update_fonts()
9017
9018 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * lyxfunc.C: use lyx_gui::update_color()
9021
9022 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9023
9024         * bufferlist.C:
9025         * lyxfunc.h:
9026         * lyxfunc.C:
9027         * lyxrc.h:
9028         * lyxrc.C: remove file->new asks for name option, and let
9029           buffer-new take an argument
9030
9031 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9032
9033         * BufferView_pimpl.C: remove unneeded extra repaint()
9034
9035 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9036
9037         * LyXAction.C: allow command-sequence with NoBuffer
9038
9039         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9040
9041 2002-07-10  Angus Leeming  <leeming@lyx.org>
9042
9043         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9044
9045 2002-07-09  Angus Leeming  <leeming@lyx.org>
9046
9047         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9048
9049 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * lengthcommon.h: whitespace
9052
9053         * lyxfunc.C: update scrollbar after goto paragraph
9054
9055         * lyxtext.h: factor out page break drawing, and fix it so
9056           page break/added space paints as selected nicely
9057
9058 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * BufferView_pimpl.C: add FIXMEs, clean up a little
9061
9062 2002-07-09  André Pönitz <poenitz@gmx.net>
9063
9064         * lyxfont.[Ch]: support for wasy symbols
9065
9066 2002-07-08  André Pönitz <poenitz@gmx.net>
9067
9068         * BufferView_pimpl.C: apply John's patch for #93.
9069
9070 2002-07-05  Angus Leeming  <leeming@lyx.org>
9071
9072         * BufferView_pimpl.C (buffer): generate previews if desired.
9073
9074         * LColor.h: add "preview" to the color enum.
9075
9076         * LColor.C (LColor): add a corresponding entry to the items array.
9077
9078         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9079         with this buffer.
9080
9081 2002-07-05  Angus Leeming  <leeming@lyx.org>
9082
9083         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9084         The body of the code is now in the method that is passed an ostream &
9085         rather than a file name.
9086         Pass an additional only_preamble parameter, useful for the forthcoming
9087         preview stuff.
9088
9089 2002-07-03  André Pönitz <poenitz@gmx.net>
9090
9091         * lyxfunc.C: simplify getStatus() a bit for math stuff
9092
9093 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9094
9095         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9096
9097 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9098
9099         * text.C (changeRegionCase): do not change case of all the
9100         document when region ends at paragraph end (bug #461)
9101
9102 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9103
9104         * paragraph.C (startTeXParParams):
9105         (endTeXParParams): add \protect when necessary
9106
9107 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9108
9109         * BufferView_pimpl.C (workAreaExpose): remove warning
9110
9111 2002-06-27  Angus Leeming  <leeming@lyx.org>
9112
9113         * Makefile.am: add lyxlayout_ptr_fwd.h.
9114
9115 2002-06-26  André Pönitz <poenitz@gmx.net>
9116
9117         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9118
9119 2002-06-25  Angus Leeming  <leeming@lyx.org>
9120
9121         * lyxfunc.C (dispatch): Comment out the call to
9122         grfx::GCache::changeDisplay. The method no longer exists now that the
9123         pixmap generation part of the graphics loader has been moved into
9124         InsetGraphics.
9125
9126 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9127
9128         * text2.C: layout as layout
9129
9130         * text.C: layout as layout
9131
9132         * tabular.C (OldFormatRead): layout as layout
9133
9134         * paragraph_pimpl.C (TeXDeeper): layout as layout
9135         (realizeFont): layout as layout
9136
9137         * paragraph.C (writeFile): layout as layout
9138         (validate): layout as layout
9139         (getFont): layout as layout
9140         (getLabelFont): layout as layout
9141         (getLayoutFont): layout as layout
9142         (breakParagraph): layout as layout
9143         (stripLeadingSpaces): layout as layout
9144         (getEndLabel): layout as layout
9145         (getMaxDepthAfter): layout as layout
9146         (applyLayout): layout as layout
9147         (TeXOnePar): layout as layout
9148         (simpleTeXOnePar): layout as layout
9149         (TeXEnvironment): layout as layout
9150         (layout): layout as layout
9151         (layout): layout as layout
9152
9153         * lyxtextclass.C (compare_name): new functor to work with
9154         shared_ptr, layout as layout
9155         (Read): layout as layout
9156         (hasLayout): layout as layout
9157         (operator): layout as layout
9158         (delete_layout): layout as layout
9159         (defaultLayout): layout as layout
9160
9161         * lyxlayout_ptr_fwd.h: new file
9162
9163         * lyxlayout.C (Read): layout as layout
9164
9165         * lyx_cb.C (MenuInsertLabel): layout as layout
9166
9167         * bufferlist.C (newFile): layout as layout
9168
9169         * buffer.C (readLyXformat2): layout as layout
9170         (parseSingleLyXformat2Token): layout as layout
9171         (insertStringAsLines): layout as layout
9172         (asciiParagraph): layout as layout
9173         (latexParagraphs): layout as layout
9174         (makeLinuxDocFile): layout as layout
9175         (simpleLinuxDocOnePar): layout as layout
9176         (makeDocBookFile): layout as layout
9177         (simpleDocBookOnePar): layout as layout
9178         (getLists): layout as layout
9179
9180         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9181
9182         * CutAndPaste.C (cutSelection): layout as layout
9183         (pasteSelection): layout as layout
9184         (SwitchLayoutsBetweenClasses): layout as layout
9185
9186         * BufferView_pimpl.C (Dispatch): layout as layout
9187         (smartQuote): layout as layout
9188
9189         * BufferView2.C (unlockInset): layout as layout
9190
9191 2002-06-24  André Pönitz <poenitz@gmx.net>
9192
9193         * lyxfunc.C: fix #487
9194
9195 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9196
9197         * lyxrc.h:
9198         * lyxrc.C:
9199         * lyxfunc.C: remove display_shortcuts, show_banner
9200
9201 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * Buffer_pimpl.C: oops, update on resize
9204
9205 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9206
9207         * buffer.C:
9208         * converter.C:
9209         * exporter.C:
9210         * lyxfunc.C:
9211         * BufferView.h:
9212         * BufferView.C: use repaint()
9213
9214         * BufferView_pimpl.h:
9215         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9216           as it's a clearer description. Remove superfluous
9217           redraws.
9218
9219 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * text.C: fix bug 488. Not ideal, but getting
9222           getWord() to work properly for the insets that
9223           matter is more difficult ...
9224
9225 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * BufferView_pimpl.C:
9228         * LyXAction.C:
9229         * commandtags.h:
9230         * lyxfunc.C: remove the six million index lyxfuncs to just
9231           one, and DTRT (bug 458)
9232
9233 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9234
9235         * BufferView.h:
9236         * BufferView.C:
9237         * BufferView_pimpl.h:
9238         * BufferView_pimpl.C: clean up resize() stuff,
9239           and unnecessary updateScreen()s
9240
9241 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9242
9243         * BufferView.h:
9244         * BufferView.C:
9245         * BufferView_pimpl.h:
9246         * BufferView_pimpl.C:
9247         * lyxfind.h:
9248         * lyxfind.C:
9249         * minibuffer.C: remove focus management of workarea,
9250           not needed. Use screen's greyOut()
9251
9252 2002-06-17  Herbert Voss  <voss@lyx.org>
9253
9254         * converter.C: (convert) do not post a message, when converting
9255         fails, let the calling function decide what to do in this case
9256
9257 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9258
9259         * lyxfunc.C: tidy up a little
9260
9261 2002-06-16    <alstrup@diku.dk>
9262
9263         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9264         Got rid of FORMS_H_LOCATION include. Now we are
9265         GUII.
9266
9267 2002-06-15  LyX Development team  <lyx@rilke>
9268
9269         * buffer.[Ch] (sgmlOpenTag):
9270         (sgmlCloseTag): Added support for avoiding pernicious mixed
9271         content. Return number of lines written.
9272
9273         (makeLinuxDocFile):
9274         (makeDocBookFile): Fixed calls to sgml*Tag.
9275         Simple white space clean.
9276
9277         (simpleDocBookOnePar): Simple white space clean.
9278
9279         * tabular.[Ch] (docBook): Renamed to docbook and got another
9280         argument to related with the pernicious mixed content.
9281
9282         (docbookRow): Fixed calls for docbook inset method.
9283
9284 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9285
9286         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9287         so it's X11 independent.
9288
9289         * kb*.[Ch]: ditto.
9290
9291         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9292
9293 2002-06-15  Lyx Development team  <lyx@electronia>
9294
9295         * intl.h: Renamed getTrans to getTransManager.
9296
9297 2002-06-14  Angus Leeming  <leeming@lyx.org>
9298
9299         * Makefile.am: nuke forgotten stl_string_fwd.h.
9300
9301 2002-06-12  Angus Leeming  <leeming@lyx.org>
9302
9303         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9304
9305 2002-06-13  Angus Leeming  <leeming@lyx.org>
9306
9307         * LaTeX.C:
9308         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9309
9310 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9311
9312         * kbmap.C (getiso): add support for cyrillic and greek
9313
9314 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * BufferView.h:
9317         * BufferView.C:
9318         * BufferView_pimpl.h:
9319         * BufferView_pimpl.C: move bogus scrolling logic
9320           to xforms
9321
9322 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9323
9324         * lyxfunc.C:
9325         * BufferView_pimpl.C: view->resize() change
9326
9327 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9328
9329         * BufferView_pimpl.C: topCursorVisible
9330           prototype change
9331
9332 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9333
9334         * Makefile.am:
9335         * lyx_gui.h:
9336         * lyx_gui.C: move to frontends/
9337
9338         * main.C:
9339         * lyx_main.h:
9340         * lyx_main.C: changes from above
9341
9342 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * intl.C:
9345         * intl.h:
9346         * kbmap.C:
9347         * kbsequence.C:
9348         * lyx_cb.C:
9349         * lyx_main.C: minor tidy
9350
9351 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * BufferView_pimpl.h:
9354         * BufferView_pimpl.C:
9355         * BufferView.h:
9356         * BufferView.C: make painter() const,
9357           remove dead code
9358
9359         * BufferView2.C: use screen() accessor
9360
9361         * lyx_main.h:
9362         * lyx_main.C: some minor cleanup
9363
9364 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * BufferView_pimpl.h:
9367         * BufferView_pimpl.C: remove enter/leaveView,
9368           use workHeight()
9369
9370 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9371
9372         * BufferView.h:
9373         * BufferView.C:
9374         * BufferView2.C:
9375         * BufferView_pimpl.h:
9376         * BufferView_pimpl.C: only construct screen once,
9377           rename
9378
9379         * lyxrc.C: remove pointless comment
9380
9381 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9382
9383         * BufferView.h:
9384         * BufferView.C: remove active() and belowMouse()
9385
9386         * BufferView_pimpl.h:
9387         * BufferView_pimpl.C: use workarea() not workarea_,
9388           and make it use a scoped_ptr instead
9389
9390 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9391
9392         * lyx_gui.C: add debug message on BadWindow
9393
9394 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9395
9396         * sp_spell.C: fdopen is not part of the C++ standard.
9397
9398         * paragraph.C (InsetIterator): use >= instead of ==
9399
9400 2002-06-07  Angus Leeming  <leeming@lyx.org>
9401
9402         Fixes needed to compile with Compaq cxx 6.5.
9403         * BufferView_pimpl.C:
9404         * DepTable.C:
9405         * buffer.C:
9406         * converter.C:
9407         * encoding.C:
9408         * lyx_gui.C:
9409         * lyx_main.C:
9410         * lyxtextclasslist.C:
9411         * minibuffer.C:
9412         * sp_spell.C:
9413         * tabular_funcs.C:
9414         * vc-backend.C:
9415         all c-library variables have been moved into namespace std. Wrap
9416         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9417
9418         * lyxlength.C:
9419         * tabular-old.C:
9420         * tabular.C:
9421         Add a using std::abs declaration.
9422
9423         * kbmap.h (modifier_pair):
9424         * paragraph.h (InsetTable, InsetList):
9425         * lyxfont.h (FontBits):
9426         type definition made public.
9427
9428         * bufferlist.C (emergencyWriteAll): the compiler complains that
9429         there is more than one possible lyx::class_fun template to choose from.
9430         I re-named the void specialisation as lyx::void_class_fun.
9431
9432         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9433
9434         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9435         the compiler is is unable to find tostr in write_attribute.
9436
9437 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9438
9439         * buffer.C (sgmlError): hide #warning
9440
9441 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9442
9443         * xtl/*: get rid of xtl, which is not in use anyway
9444
9445         * LyXAction.C (init):
9446         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9447         were unimplemented xtl experimentation
9448
9449 2002-06-04  André Pönitz <poenitz@gmx.net>
9450
9451         * lyxfunc.C: disable array operation on simple formulae
9452
9453 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9454
9455         * converter.C: constify a bit
9456
9457 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9458
9459         * lyx_gui.C: check xforms version correctly
9460
9461 2002-04-30  Herbert Voss  <voss@lyx.org>
9462
9463         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9464         "keep" option
9465
9466 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9467
9468         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9469           attempt to register it with a VCS)
9470
9471 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * lyx_main.C (init): honor variables LYX_DIR_13x and
9474         LYX_USERDIR_13x
9475
9476 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9477
9478         * buffer.h:
9479         * buffer.C:
9480         * lyx_main.C: fix a crash on bad command line,
9481           and give a useful exit status on error
9482
9483         * lyxfunc.C (doImport): allow -i lyx to work
9484
9485 2002-03-30  André Pönitz <poenitz@gmx.net>
9486
9487         * lyxfunc.C: mathed font changes
9488
9489 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * LaTeX.C:
9492         * importer.h:
9493         * importer.C:
9494         * lyx_sty.h:
9495         * lyx_sty.C:
9496         * lyxlex.C:
9497         * lyxrow.h:
9498         * lyxtext.h:
9499         * paragraph.h:
9500         * paragraph.C:
9501         * texrow.h:
9502         * texrow.C:
9503         * text.C:
9504         * trans_mgr.h: srcdocs, and some minor cleanups
9505
9506 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9507
9508         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9509         call getFont all the time)
9510
9511 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9512
9513         * switch from SigC signals to boost::signals
9514
9515 2002-05-29  André Pönitz <poenitz@gmx.net>
9516
9517         * paragraph_pimpl.C (getChar): don't call size() too often...
9518
9519 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9520
9521         * paragraph_pimpl.C (insertChar): do not try to update tables when
9522         appending (pos == size())
9523
9524         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9525         in order to reduce drastically the number of comparisons needed to
9526         parse a large document
9527
9528 2002-05-29  André Pönitz <poenitz@gmx.net>
9529
9530         * text.C:
9531         * text2.C:
9532         * lyxtextclass.C:
9533         * sp_pspell.h:
9534         * textclasslist.[Ch]:
9535         * sp_ispell.h: whitespace change
9536
9537 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9538
9539         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9540         lyxaction directly now.
9541
9542 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * trans.C:
9545         * lyxfont.C:
9546         * lyxvc.C: remove unused headers
9547
9548 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * Makefile.am:
9551         * buffer.h:
9552         * undostack.h:
9553         * undostack.C:
9554         * undo_funcs.h:
9555         * undo_funcs.C: some cleanups. Use shared_ptr
9556           and a template for the undo stacks.
9557
9558 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * BufferView_pimpl.h:
9561         * BufferView_pimpl.C:
9562         * kbmap.h:
9563         * kbmap.C:
9564         * kbsequence.h:
9565         * kbsequence.C:
9566         * lyxfunc.h:
9567         * lyxfunc.C:
9568         * text2.C: use key_state/mouse_state
9569
9570 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9571
9572         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9573         and LSubstring
9574
9575         * chset.C: change include order
9576         (loadFile): use boost regex and get rid of LRegex and LSubstring
9577
9578         * Makefile.am (BOOST_LIBS): new variable
9579         (lyx_LDADD): use it
9580
9581         * LaTeX.C: change include order.
9582         (scanAuxFile): use boost regex and get rid of LRegex and
9583         LSubstring
9584         (deplog): ditto
9585
9586 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * ColorHandler.h:
9589         * ColorHandler.C:
9590         * FontInfo.h:
9591         * FontInfo.C: moved to frontends/xforms/
9592
9593         * FontLoader.h:
9594         * FontLoader.C: moved into frontends for GUIIzation
9595
9596         * Makefile.am:
9597         * lyx_gui.C:
9598         * lyxfont.C:
9599         * lyxfunc.C: changes from above
9600
9601 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * LColor.C: remove spurious X include
9604
9605         * BufferView_pimpl.C:
9606         * Makefile.am:
9607         * font.h:
9608         * font.C:
9609         * text.C:
9610         * text2.C: move font metrics to frontends/
9611
9612 2002-05-24  Juergen Vigna  <jug@sad.it>
9613
9614         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9615         setting the undo_cursor.
9616
9617         * ParagraphParameters.h: include local includes first.
9618
9619 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * BufferView_pimpl.C:
9622         * BufferView_pimpl.h:
9623         * Makefile.am:
9624         * WorkArea.h:
9625         * WorkArea.C:
9626         * screen.C: move WorkArea into frontends/
9627
9628         * lyxscreen.h:
9629         * screen.C:
9630         * text.C:
9631         * BufferView.C:
9632         * BufferView2.C: move LyXScreen into frontends/
9633
9634         * lyxlookup.h:
9635         * lyxlookup.C:
9636         * lyx_gui.C: move lyxlookup into frontends/xforms/
9637
9638 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9639
9640         * BufferView2.C:
9641         * BufferView_pimpl.C:
9642         * FontLoader.C:
9643         * LyXView.h:
9644         * LyXView.C:
9645         * Makefile.am:
9646         * WorkArea.C:
9647         * XFormsView.h:
9648         * XFormsView.C:
9649         * buffer.C:
9650         * bufferlist.C:
9651         * bufferview_funcs.C:
9652         * converter.C:
9653         * importer.C:
9654         * lyx_cb.C:
9655         * lyx_gui.C:
9656         * lyx_main.C:
9657         * lyx_find.C:
9658         * lyxfunc.C:
9659         * lyxvc.C:
9660         * minibuffer.C:
9661         * text.C:
9662         * text2.C:
9663         * trans.C:
9664         * vc-backend.C: move LyX/XFormsView into frontends/
9665
9666 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9667
9668         * Makefile.am:
9669         * PainterBase.C:
9670         * PainterBase.h:
9671         * Painter.C:
9672         * Painter.h:
9673         * WorkArea.C:
9674         * WorkArea.h:
9675         * screen.C:
9676         * tabular.C:
9677         * text.C:
9678         * text2.C: move Painter to frontends/
9679
9680 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9681
9682         * buffer.C: comment out some some code that depend upon lyx_format
9683         < 220
9684
9685         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9686         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9687
9688         * buffer.h (NO_COMPABILITY): turn off compability
9689
9690         * ColorHandler.C: include scoped_array.hpp
9691
9692         * font.C: Use more specific smart_ptr header.
9693         * Painter.C: ditto
9694         * gettext.C: ditto
9695         * ShareContainer.h: ditto
9696         * lyx_main.h: ditto
9697         * kbmap.h: ditto
9698         * FontInfo.h: ditto
9699         * BufferView_pimpl.h: ditto
9700         * ColorHandler.h: ditto
9701
9702         * kbmap.C (defkey): change call to shared_ptr::reset
9703
9704 2002-05-21  Juergen Vigna  <jug@sad.it>
9705
9706         * buffer.C (insertErtContents): fix to insert ert asis if it is
9707         non empty. Skip it completely if it contains only whitespaces.
9708
9709 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * BufferView_pimpl.C:
9712         * BufferView2.C: clear selection on paste (bug 393)
9713
9714 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * DepTable.C: include ctime
9717
9718 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9719
9720         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9721
9722 2002-05-14  Juergen Vigna  <jug@sad.it>
9723
9724         * text.C (breakParagraph): fixed function to honor the keepempty
9725         layout in the right maner and also to permit the right breaking
9726         algorithm on empty or non empyt keepempty paragraphs.
9727
9728         * paragraph.C (breakParagraph): we have to check also if the par
9729         is really empty (!size()) for isempty otherwise we do the wrong
9730         paragraph break.
9731
9732 2002-05-10  Juergen Vigna  <jug@sad.it>
9733
9734         * buffer.[Ch] : The following are only changes to the ert
9735         compatibility read reading old LaTeX layout and font stuff and
9736         convert it to ERTInsets.
9737
9738         * buffer.h: added isErtInset().
9739
9740         * buffer.C (struct ErtComp): add a fromlayout bool to check
9741         if we're inside a LaTeX layout.
9742         (isErtInset): new helper function.
9743         (insertErtContents): look for other ert insets before this one
9744         and insert the contents there, so that we don't have subsequent
9745         ERT insets with nothing between them. This way we create only one
9746         inset with multiple paragraphs. Also check if we don't insert only
9747         spaces ' ' as they are ignored anyway afterwards in the .tex file
9748         so if we have only spaces we will ignore this latex part in the
9749         new file.
9750         (parseSingleLyXformat2Token \\layout): better compatibility when
9751         reading layout-latex stuff.
9752         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9753         language tag.
9754         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9755         stuff after reading the inset only get the information back from
9756         the stack.
9757
9758 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9759
9760         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9761
9762         * LaTeXFeatures.C (getBabelOptions): New method.
9763
9764 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9765
9766         * BufferView_pimpl.C (Dispatch): work around missing argument for
9767         'layout'
9768
9769 2002-05-08  Juergen Vigna  <jug@sad.it>
9770
9771         * text.C (leftMargin): handle paragraph leftindent.
9772
9773         * paragraph.C (writeFile): write the new \\leftindent tag.
9774         (validate): handle leftindent code.
9775         (TeXEnvironment): handle paragraphleftindent code again.
9776
9777         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9778
9779         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9780         for paragrap_extra indent code and new token \\leftindent.
9781         (latexParagraphs): handle the leftindent as environment.
9782
9783         * ParameterStruct.h: added leftindent support.
9784
9785         * ParagraphParameters.C (leftIndent): added support functions for
9786         the paragraph left indent.
9787
9788         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9789         more appropriate.
9790
9791 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9792
9793         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9794         inside insetERT.
9795
9796         * text.C (computeBidiTables): No bidi in insetERT.
9797
9798         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9799         in RTL documents.
9800
9801 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9802
9803         * version.C.in: pre 5
9804
9805 2002-05-02  José Matos  <jamatos@fep.up.pt>
9806         * buffer.C (makeDocBookFile): white space changes, add newline to
9807         command styles.
9808         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9809
9810         * tabular.C (docBook): fix typo.
9811
9812 2002-05-03  Juergen Vigna  <jug@sad.it>
9813
9814         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9815         change in LyXText as we can not be sure it was not freed.
9816         (drawOneRow): remove unused code.
9817
9818         * text.C (drawInset): redo the calculation of the need_break_row as
9819         it could have a row which was already freed.
9820         (draw): look at the return value of drawInset and return false if
9821         it also returned false.
9822         (paintRowText): look at the return value of draw and return false if
9823         it also returned false.
9824
9825         * lyxtext.h: added bool return type to drawInset() and draw() so that
9826         if we have a change in the row so that the rowbreak has to be redone
9827         we abort drawing as it will be called again.
9828
9829 2002-05-02  Juergen Vigna  <jug@sad.it>
9830
9831         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9832         a change in the maintext also if we're inside an inset.
9833         (Dispatch): set the cursor again after a break line and after the
9834         screen has been updated as it could be we're in a different row.
9835
9836         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9837         to set the cursor behind the pargraph with > size().
9838         (setCursor): check also for the same paragraph when checking where
9839         to put the cursor if we have a NFR inset.
9840
9841         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9842         parts of layout read further up as it still was in the wrong
9843         position.
9844
9845 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * screen.C (drawFromTo): change sine fullRebreak always return
9848         true.
9849
9850         * buffer.C (parseSingleLyXformat2Token): reindent some
9851
9852         * BufferView_pimpl.C (update): change since fullRebreak always
9853         return true.
9854         (Dispatch): git rid of the last hardcoded "Standard"s.
9855
9856 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9857
9858         * text2.[Ch] (fullRebreak): make it return void now that we always
9859         returned true.
9860
9861 2002-04-30  Juergen Vigna  <jug@sad.it>
9862
9863         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9864         ert compatibility check for "latex" layout.
9865
9866 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9867
9868         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9869         minipages: use col% instead of p%, and also use the current font.
9870         (makeLaTeXFile): Fix use babel condition.
9871         (parseSingleLyXformat2Token): Correct font when reading old floats.
9872
9873 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9874
9875         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9876         inserting list of floats.
9877
9878 2002-04-25  Herbert Voss  <voss@lyx.org>
9879
9880         * MenuBackend.C (expand): don't add the graphics extensions to the
9881         export menu
9882
9883 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9884
9885         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9886         non-existing layout, do not complain if it was the default layout
9887         of the original class (bug #342)
9888
9889 2002-04-24  Juergen Vigna  <jug@sad.it>
9890
9891         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9892         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9893
9894 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9895
9896         * buffer.C (getBibkeyList): If using \bibliography, return the
9897         option field with the reference itself. Enables us to provide natbib
9898         support when using \bibliography.
9899
9900 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9901
9902         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9903
9904         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9905         natbib is provided by the LaTeX class.
9906
9907 2002-04-23  Juergen Vigna  <jug@sad.it>
9908
9909         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9910         Wakeup functions.
9911
9912         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9913
9914 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9915
9916         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9917
9918         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9919         ensuremath around textordmasculine, textordfeminine and
9920         textdegree.
9921
9922 2002-04-19  Juergen Vigna  <jug@sad.it>
9923
9924         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9925         reinitializing the buffer otherwise row-dimensions may be wrong.
9926         (update): reset also the selection cursors if they do exits otherwise
9927         their x/y positions may be wrong.
9928
9929         * text2.C (cursorDown): don't enter the inset if we came from a row
9930         above and are one row over the inset.
9931
9932         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9933         really leaving an inset.
9934
9935 2002-04-18  Juergen Vigna  <jug@sad.it>
9936
9937         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9938         of the selected paragraph does not have the selected layout also if
9939         the last one had!
9940
9941         * text2.C (setLayout): fixed bug which did not change last selected
9942         paragraph.
9943
9944         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9945         changed the read and substituted \\end_float with \\end_inset!
9946
9947         * BufferView_pimpl.C (cursorPrevious):
9948         (cursorNext): fixed to make it work with rows heigher than the work
9949         area without moving the cursor only the draw of the row.
9950         (workAreaMotionNotify): fix jumping over high rows.
9951
9952 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9953
9954         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9955         Ressler.
9956
9957 2002-04-16  Juergen Vigna  <jug@sad.it>
9958
9959         * text2.C (setCursor): set also the irow().
9960         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9961         (cursorUp):
9962         (cursorDown): support for locking an inset if the x_fix value goes
9963         inside it. That way I can transverse insets too with cursor up/down.
9964
9965         * lyxrow.h: added irow helper function same as other (i) functions.
9966
9967         * BufferView_pimpl.C (cursorPrevious):
9968         (cursorNext): fixed for insets!
9969
9970 2002-04-15  Juergen Vigna  <jug@sad.it>
9971
9972         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9973         position otherwise it is wrong in some cases.
9974
9975         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9976         inside the inset before the call.
9977
9978 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9979
9980         * buffer.[Ch] (getBibkeyList): make it const.
9981
9982 2002-04-12  Juergen Vigna  <jug@sad.it>
9983
9984         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9985
9986         * text2.C (getCursorX): new helper function
9987         (setCursor): compute also ix_
9988         (setCursorFromCoordinates): set also ix.
9989
9990         * lyxcursor.h: added ix_ and helper functions.
9991
9992         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9993
9994         * buffer.C (insertStringAsLines): dont break paragraph if the this
9995         paragraph is inside an inset which does not permit it!
9996
9997         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9998         also with no chars on this paragraph.
9999         (paintRowText): only paint stuff if it's inside the workarea!
10000
10001         * paragraph.C (breakParagraph): honor keepempty flag and break the
10002         paragraph always below not above.
10003
10004         * BufferView2.C (unlockInset): update the paragraph layout on inset
10005         unlock as we changed paragraph in such a case.
10006
10007         * lyxfind.C (LyXFind): clear the former selection if not found!
10008
10009         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10010         again called in insertChar().
10011
10012         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10013         an inset which uses the whole row!
10014         (rightMargin): ditto.
10015         (insertChar): force a rebreak if we inserted an inset!
10016
10017 2002-03-28  Herbert Voss  <voss@lyx.org>
10018
10019         * lyxlength.[Ch]: add inBP() to get the right PS-point
10020         units (BigPoint). With inPixels we have rounding errors
10021
10022 2002-04-11  Juergen Vigna  <jug@sad.it>
10023
10024         * text2.C (setCursorFromCoordinates): set iy to the right value.
10025         (setCursor): add check if row->previous exists!
10026
10027         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10028         an old float_type as this was the case in the old code!
10029
10030         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10031
10032         * BufferView2.C (showLockedInsetCursor): use iy
10033         (fitLockedInsetCursor): ditto
10034
10035         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10036         locked insets as there we have the right value now.
10037
10038         * lyxcursor.C: added iy_ variable and iy functions to set to the
10039         baseline of cursor-y of the locked inset.
10040
10041         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10042         (setCursor): fixed for insets which need a full row.
10043
10044         * text.C (rowLastPrintable): don't ignore the last space when before
10045         an inset which needs a full row.
10046         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10047         as last character of a row when before a inset which needs a full row.
10048
10049 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10050
10051         * version.C.in: update date
10052
10053         * text2.C (fullRebreak): try to always return true and see what
10054         happens...
10055
10056 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10057
10058         * MenuBackend.C (expand): use Floating::listName
10059
10060         * FloatList.C (FloatList): add listName argument to the built-in
10061         floats
10062
10063         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10064         text associated with the float.
10065
10066 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10067
10068         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10069
10070 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10071
10072         * ShareContainer.h: add a couple of missing typenames.
10073
10074 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10075
10076         * lyxrc.C (getDescription): use _() correctly rather than N_().
10077
10078 2002-03-28  Herbert Voss  <voss@lyx.org>
10079
10080         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10081         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10082
10083 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10084
10085         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10086         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10087
10088 2002-03-29  Juergen Vigna  <jug@sad.it>
10089
10090         * lyxfunc.C (dispatch): add a missing fitCursor call.
10091
10092         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10093         it was scrolled by a cursor move, so return the bool status.
10094
10095         * BufferView.C (fitCursor): return the bool flag also to the outside
10096         world as this is needed.
10097
10098         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10099
10100         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10101         call the edit() as it is not needed (and wrong) IMO.
10102         (workAreaButtonPress): set the screen_first variable before evt.
10103         unlock the inset as this may change screen_first and then we have
10104         a wrong y position for the click!
10105
10106 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10107
10108         * MenuBackend.C (expand): another translation that I missed
10109
10110 2002-03-28  Juergen Vigna  <jug@sad.it>
10111
10112         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10113
10114         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10115
10116 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10119
10120         * MenuBackend.C (expand): fix export/view/update when there is no
10121         document open.
10122
10123 2002-03-27  Herbert Voss  <voss@lyx.org>
10124
10125         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10126         and text%
10127
10128 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10129
10130         * bufferview_funcs.C (currentState): only show paragraph number
10131         for is DEVEL_VERSION is set.
10132
10133         * lyxfunc.C (dispatch): put warning in INFO channel
10134
10135         * MenuBackend.C (expand): translate the name of floats
10136
10137         * FloatList.C (FloatList): mark the float names for translation
10138
10139         * converter.C (convert): use LibScriptSearch
10140
10141 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10142
10143         * MenuBackend.C (defaults): fix default menu (we might as well get
10144         rid of it...)
10145
10146 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10149         directory.
10150
10151 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10152
10153         * lyxvc.C: reorder includes.
10154
10155 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10158           properly
10159
10160 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * CutAndPaste.C: change layouts earlier on paste
10163           to avoid crashing when calling getFont()
10164
10165 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10166
10167         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10168         irritating #error.
10169
10170 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10171
10172         * WorkArea.C: remove 'Pending' debug message.
10173
10174         * most files: ws cleanup
10175
10176         * buffer.[Ch]: ws changes
10177
10178         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10179
10180 2002-03-21  Juergen Vigna  <jug@sad.it>
10181
10182         * tabular.C (SetMultiColumn): collapse also the contents of the
10183         cells and set the last border right. Added a Buffer const * param.
10184
10185 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10186
10187         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10188         linking or not.
10189
10190 2002-03-19  Juergen Vigna  <jug@sad.it>
10191
10192         * text2.C (clearSelection): reset also xsel_cache.
10193
10194         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10195         where it needs to be called (John tells us to do so too :)
10196         (selectionLost): reset sel_cache.
10197
10198         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10199
10200 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * text2.C (setCursorIntern): put debuging code in INSETS channel
10203
10204 2002-03-19  André Pönitz <poenitz@gmx.net>
10205
10206         * lyxfunc.C: tiny whitespace change
10207
10208 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10209
10210         * ToolbarDefaults.C (init):
10211         * LyXAction.C (init):
10212         * commandtags.h:
10213         * BufferView_pimpl.C (Dispatch):
10214         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10215
10216 2002-03-19  Allan Rae  <rae@lyx.org>
10217
10218         * exporter.C (Export): removeAutoInsets before doing anything else.
10219         While I've just introduced a dependency on BufferView this really is
10220         the best place to clean the buffer otherwise you need to cleanup in
10221         a dozen places before calling export or cleanup in a dozen functions
10222         that export calls.
10223
10224         * converter.C (runLaTeX):
10225         (scanLog): Better handling of removeAutoInsets and screen updates.
10226
10227         * lyxfunc.C (dispatch): small whitespace changes
10228
10229 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10230
10231         * WorkArea.C (C_WorkAreaEvent): return a value.
10232         (event_cb): return 1 if we handled the event, 0 otherwise.
10233
10234         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10235
10236 2002-03-18  Juergen Vigna  <jug@sad.it>
10237
10238         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10239         (GetAdditionalWidth): ditto.
10240         (RightLine): ditto.
10241         (LeftLine): ditto.
10242
10243         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10244         inset if we're there actually (probably not used right now but this
10245         is the direction to go for unifying code).
10246         (paste): disable code to clear the selection.
10247
10248         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10249         inside an InsetText and move the check further up as it is in the
10250         wrong place.
10251
10252         * text2.C (pasteSelection): set a selection over the pasted text.
10253
10254 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10255
10256         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10257         and libgraphics to build on Cygwin.
10258
10259 2002-03-15  Juergen Vigna  <jug@sad.it>
10260
10261         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10262         inserting an Inset into the paragraph. I know this is not the best
10263         fix but we already use current_view in CutAndPaste so we will remove
10264         all of it's using at the same time.
10265
10266         * buffer.C (sgmlError): deactivated function till it is rewritten in
10267         the right mode, now it can create problems.
10268
10269         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10270         before accessing it.
10271
10272 2002-03-14  Juergen Vigna  <jug@sad.it>
10273
10274         * undo_funcs.C (textHandleUndo): do the right thing when updating
10275         the inset after the undo/redo.
10276
10277         * text2.C (setCursor): just some testcode for #44 not ready yet.
10278
10279         * undo_funcs.C (textHandleUndo): set the next() and previous()
10280         pointers of the paragraph to 0 before deleting otherwise we have
10281         problems with the Paragraph::[destructor].
10282
10283         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10284         on a paragraph insertion.
10285
10286 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10287
10288         * buffer.C (asciiParagraph): use += operator for char append to
10289         string.
10290
10291         * paragraph.C (getFontSettings): compare >= not just >
10292         (highestFontInRange): ditto
10293         (setFont): ditto
10294
10295 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * paragraph.C: change several algorithm to be more appripriate for
10298         the problem domain. This is lookip in FontList and in the InsetList.
10299
10300 2002-03-13  André Pönitz <poenitz@gmx.net>
10301
10302         * commandtags.h:
10303         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10304
10305 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * commandtags.h:
10308         * LyXAction.C:
10309         * lyxfunc.C:
10310         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10311
10312 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10313
10314         * Painter.C (display): anon helper function, adjust code for this
10315         change.
10316         (pixmap): remove function.
10317
10318         * Painter.h: remove private display variable.
10319
10320         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10321
10322 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10323
10324         * WorkArea.[Ch]: remove figinset_canvas cruft.
10325
10326 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327
10328         * lyxtextclass.C (operator): add one item cache optimization.
10329
10330         * bufferlist.h: doxy changes
10331
10332         * bufferlist.C: ws changes
10333
10334         * DepTable.[Ch] (ext_exist): place const in the right spot.
10335
10336         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10337         call resizeInsets.
10338         (workAreaExpose): call resizeInsets when the with BufferView changes.
10339         (Dispatch): adjust for protectedBlank removal
10340         (specialChar): call updateInset if the insert went ok.
10341
10342         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10343         specialChar instead.
10344
10345         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10346
10347         * BufferView.h: doxy change
10348
10349         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10350
10351         * lyxtextclass.C (operator[]): remove non-const version
10352         (defaultLayout): remove non-const version
10353
10354 2002-03-12  Juergen Vigna  <jug@sad.it>
10355
10356         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10357         did resize the LyXText too.
10358
10359         * buffer.C (readLyXformat2): set layout information on newly allocated
10360         paragraphs.
10361
10362         * tabular.C (OldFormatRead): set layout information on the paragraph.
10363
10364 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10365
10366         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10367
10368 2002-03-11  Juergen Vigna  <jug@sad.it>
10369
10370         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10371         plainly wrong.
10372         (resizeCurrentBuffer): force also the insets to resize themselfes.
10373         (moveCursorUpdate): fixed up for InsetText.
10374
10375 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10376
10377         * commandtags.h:
10378         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10379         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10380         value of Dialogs::tooltipsEnabled().
10381         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10382
10383 2002-03-08  Juergen Vigna  <jug@sad.it>
10384
10385         * BufferView_pimpl.C (updateInset): update inset inside inset also
10386         if it isn't inside theLockingInset().
10387
10388 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10389
10390         * buffer.C (asciiParagraph): redo some of the word and line length
10391         handling.
10392         (getLists): look for Caption instead of caption.
10393
10394 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10395
10396         * buffer.C (Buffer): initialize niceFile to true
10397         (makeLaTeXFile):
10398         (makeLinuxDocFile):
10399         (makeDocBookFile): make sure niceFile is true on exit
10400
10401 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10402
10403         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10404
10405 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10406
10407         * LyXSendto.C: remove.
10408         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10409         * lyx_gui.C: remove now-redundant comment.
10410         * ColorHandler.h: remove forward declaration of class WorkArea.
10411         * lyxfunc.C: remove #include "WorkArea.h".
10412
10413 2002-03-07  Juergen Vigna  <jug@sad.it>
10414
10415         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10416         got moved away with the DEPM and also set the inset_owner always
10417         right which before could have been omitted.
10418
10419 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10420
10421         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10422         wanted layout is not found.
10423
10424 2002-03-07  Juergen Vigna  <jug@sad.it>
10425
10426         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10427
10428 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10429
10430         * paragraph.C (breakParagraph): use default layout not layout of
10431         prev paragraph.
10432         (Paragraph): clear ParagraphParameters.
10433
10434 2002-03-06  Juergen Vigna  <jug@sad.it>
10435
10436         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10437         otherwise it would not be a valid lenght. Fixed a special case in
10438         the minipage compatibility read where we end the document with a
10439         minipage.
10440
10441         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10442         was set as it could be 0 for InsetTexts first entry.
10443
10444 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10445
10446         * paragraph.C (writeFile): if layout is empty write out
10447         defaultLayoutName().
10448
10449         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10450         file without named layout we set layout to defaultLayoutName().
10451
10452 2002-03-06  Juergen Vigna  <jug@sad.it>
10453
10454         * CutAndPaste.C (copySelection): set layout for new paragraph.
10455
10456         * text.C (prepareToPrint): leave ERT inset left aligned
10457         (leftMargin): don't indent paragraphs inside ERT insets
10458
10459 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * paragraph.C (breakParagraph): dont call clear do the work manually
10462
10463         * paragraph.[Ch] (clear): remove function
10464
10465 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10466
10467         * paragraph.C (Paragraph): dont call clear, the work has already
10468         been done.
10469
10470         * lyxtextclass.C (operator): assert if n is empty
10471
10472         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10473         work manually instead.
10474
10475 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10476
10477         * BufferView_pimpl.C: protect selectionLost against text == 0
10478
10479 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10480
10481         * text.C (breakParagraph): fix a setting layout to '0' problem.
10482
10483 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10484
10485         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10486         final location of file, for the included files, and graphics.
10487
10488 2002-03-05  Juergen Vigna  <jug@sad.it>
10489
10490         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10491
10492 2002-03-04  Juergen Vigna  <jug@sad.it>
10493
10494         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10495
10496         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10497         last column of multicolumn cells.
10498         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10499
10500 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10501
10502         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10503         file if it doesn't go to a temporary file.
10504
10505         * buffer.C (sgmlOpenTag):
10506         (sgmlCloseTag):  remove extra newline insertion.
10507
10508 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * text.C (getRowNearY): comment out debug msg
10511
10512 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * text2.C: first -> first_y
10515
10516         * text.C (getRowNearY): add some attemts at a possible
10517         optimization, not working.
10518
10519         * tabular.[Ch]: add BufferParams to several function so that newly
10520         created paragraph can be initialized to he default layotu for the
10521         buffers textclass.
10522
10523         * tabular-old.C (ReadOld): add buf->params to call of Init
10524
10525         * screen.C: rename text->first to text->first_y
10526
10527         * paragraph.C (breakParagraph): always set layout in the broken
10528         paragraph
10529
10530         * lyxtextclass.C (Read): remove lowercase
10531         (hasLayout): ditto
10532         (operator): ditto
10533         (delete_layout): ditto
10534
10535         * lyxtext.h: rename first -> first_y
10536
10537         * lyxlayout.C (Read): remove lowercase
10538         (name): ditto
10539         (setName): ditto
10540         (obsoleted_by): ditto
10541
10542         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10543
10544         * buffer.C (insertErtContents): add params are to InsetERT
10545         (parseSingleLyXformat2Token): add code to check if a paragraphs
10546         layout really exist.
10547         (parseSingleLyXformat2Token): add params to several inset
10548         constructors
10549         (asciiParagraph): remove lowercase, do the layout comparisons with
10550         no_case
10551
10552         * BufferView_pimpl.C (cursorNext): first -> first_y
10553         (resizeCurrentBuffer): first -> first_y
10554         (updateScrollbar): first -> first_y
10555         (scrollCB): first -> first_y
10556         (workAreaMotionNotify): first -> first_y
10557         (workAreaButtonPress): first -> first_y
10558         (checkInsetHit): first -> first_y
10559         (cursorPrevious): first -> first_y
10560         (cursorNext): first -> first_y
10561         (Dispatch): add buffer_->params to severl inset contructors
10562
10563 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10564
10565         * lyxlayout.C (Read): remove some debug info that I forgot.
10566
10567         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10568         clean up the code slightly.
10569         (makeLinuxDocFile): ditto
10570         (makeDocBookFile): ditto
10571
10572         * text2.C: layout as string
10573
10574         * text.C: layout as string
10575
10576         * paragraph_pimpl.C: layout as string
10577
10578         * paragraph.[Ch]: layout as string
10579
10580         * lyxtextclasslist.[Ch]: layout as string
10581
10582         * lyxtextclass.[Ch]: layout as string
10583
10584         * lyxtext.h: layout as string
10585
10586         * lyxlayout.[Ch]: layout as string
10587
10588         * lyx_cb.C: layout as string
10589
10590         * bufferview_funcs.C: layout as string
10591
10592         * bufferparams.C: layout as string
10593
10594         * buffer.C: layout as string
10595
10596         * LyXView.[Ch]: layout as string
10597
10598         * LaTeXFeatures.[Ch]: layout as string
10599
10600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10601
10602         * BufferView_pimpl.C: change current_layout to string, remove
10603         lyx::layout_type.
10604         (Dispatch):
10605         (smartQuote):
10606         (insertInset):
10607         (workAreaButtonRelease): layout as string
10608
10609         * BufferView2.C (unlockInset): adjust
10610
10611         * vspace.C (asLatexCommand): use an explict temp variable.
10612
10613 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10614
10615         * Makefile.am: use FRONTEND_*
10616
10617 2002-03-01  Juergen Vigna  <jug@sad.it>
10618
10619         * tabular.C (SetWidthOfMulticolCell): changed to something better
10620         I hope but still work in progress.
10621         (recalculateMulticolumnsOfColumn): renamed function from
10622         recalculateMulticolCells as it is more appropriate now.
10623         (SetWidthOfCell): calculate multicols better.
10624
10625 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10628
10629         * lyxfunc.C (processKeySym): print sequence also if it is
10630         `deleted' (complete)
10631
10632         * kbsequence.C (print): print sequence even if it is deleted
10633         (complete would be a better word, actually).
10634
10635         * lyxfunc.C (dispatch): print complete options after a prefix key
10636
10637         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10638
10639 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10640
10641         * text2.C (setCharFont): eliminate setCharFont code duplication.
10642
10643 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10644
10645         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10646         LFUN_TABULAR_FEATURE (bug #177)
10647
10648 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10649
10650         * Makefile.am: remove figure.h
10651
10652 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10653
10654         * Bufferview_pimpl.C:
10655         * CutAndPasteC:
10656         * LaTeX.C:
10657         * LyXSendto.C:
10658         * buffer.C:
10659         * bufferlist.C:
10660         * converter.C:
10661         * language.C:
10662         * lyxfunc.C:
10663         * lyxvc.C:
10664         * paragraph.C:
10665         * text.C:
10666         * text2.C: remove #include "lyx_gui_misc.h".
10667
10668         * LaTeX.C: added #include <cstdio>
10669
10670 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10671
10672         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10673         that the paragraph following this one can have.
10674
10675         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10676
10677         * vspace.C (asLatexCommand): fix bogus gcc warning
10678
10679         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10680
10681 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10682
10683         * text2.C (setLayout): get rid of redundant code
10684
10685 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10686
10687         * text2.C (incDepth): make sure depth cannot be increased beyond
10688         reasonable values.
10689
10690 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10691
10692         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10693         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10694
10695         * PainterBase.h (image):
10696         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10697         a LyXImage const *.
10698
10699 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * BufferView.C:
10702         * BufferView.h:
10703         * BufferView_pimpl.C:
10704         * BufferView_pimpl.h:
10705         * LaTeXFeatures.C:
10706         * LyXAction.C:
10707         * LyXView.C:
10708         * Makefile.am:
10709         * UpdateList.h:
10710         * UpdateList.C:
10711         * buffer.C:
10712         * figure.h:
10713         * figureForm.C:
10714         * figureForm.h:
10715         * figure_form.C:
10716         * figure_form.h:
10717         * lyx_cb.C:
10718         * lyx_gui.C:
10719         * lyx_gui_misc.C:
10720         * lyxfunc.C:
10721         * sp_base.h:
10722         * sp_ispell.h:
10723         * sp_pspell.h:
10724         * sp_spell.C: remove fig inset, and the crap house of
10725           cards that follows it
10726
10727 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * Makefile.am:
10730         * lyxserver.C:
10731         * os2_defines.h:
10732         * os2_errortable.h:
10733         * nt_defines.h: move .h into support/
10734
10735         * vms_defines.h: remove
10736
10737         * WorkArea.C: add space in debug output
10738
10739         * text2.C:
10740         * paragraph.C:
10741         * buffer.C: add WITH_WARNINGS
10742
10743         * vc-backend.h:
10744         * vc-backend.C:
10745         * bufferlist.C: s/retrive/retrieve/, add docs
10746
10747         * vspace.h:
10748         * vspace.C:
10749         * kbmap.h:
10750         * lyxlength.h:
10751         * lyxgluelength.h:
10752         * length_common.h:
10753         * chset.h:
10754         * chset.C: add docs
10755
10756         * lyxgui.C: add ID to X error handler
10757
10758         * lyxtestclass.c: fix typo
10759
10760 2002-02-26  Juergen Vigna  <jug@sad.it>
10761
10762         * tabular_funcs.C (write_attribute): changed so that some default
10763         attributes are not written at all.
10764         (getTokenValue): set default values before trying to read the
10765         value so we have the return value always set as default if we don't
10766         find the token we search for.
10767
10768         * tabular.C (Write): write bools as bools not as strings!
10769
10770 2002-02-22  Juergen Vigna  <jug@sad.it>
10771
10772         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10773         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10774
10775         * text.C (leftMargin): don't add an indent for paragraphs inside
10776         tabular cells (fix #208).
10777
10778 2002-02-21  José Matos  <jamatos@fep.up.pt>
10779
10780         * tabular.C (docBook): fixed support for long tables.
10781
10782 2002-02-20  Juergen Vigna  <jug@sad.it>
10783
10784         * text2.C (getFont): get the drawing font of the Inset if this
10785         paragraph is inside an inset (only important for InsetERT for now).
10786
10787         * buffer.C (insertErtContents): use new lanugage params in ERT
10788         constructor.
10789
10790         * CutAndPaste.C: commenting out seemingly uneeded code.
10791
10792 2002-02-19  Allan Rae  <rae@lyx.org>
10793
10794         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10795         Iterators might be simple to use but they also get invalidated.
10796         (removeAutoInsets): renamed saved cursor tracking variables and added
10797         some comments to clarify what everything does.
10798
10799 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10800
10801         * Chktex.C:
10802         * LaTeX.C:
10803         * LyXSendto.C:
10804         * converter.C:
10805         * lyx_cb.C:
10806         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10807         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10808
10809         * lyxfunc.C:
10810         * vc-backend.h: remove #include "support/syscall.h"
10811
10812         * LaTeX.C:
10813         * LyXSendto.C:
10814         * converter.C: rearrange #includes in Lars' approved fashion.
10815
10816         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10817         forward declare class Timeout in the header file.
10818
10819         * XFormsView.C: changes due to the above.
10820
10821         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10822         similar to LyXView.
10823
10824         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10825         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10826
10827 2002-02-18  José Matos  <jamatos@fep.up.pt>
10828
10829         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10830         insets contents.
10831
10832 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10833
10834         * a lot of small ws changes
10835         * add a lot of using std::XXX
10836         * use std construcs some places where approp.
10837         * use some exisint stuff from lyxfunctional where approp.
10838         * Make file changes to use partial linking (lets test this now...)
10839
10840 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10841
10842         * Chktex.C:
10843         * buffer.C:
10844         remove #include "support/syscontr.h" as it's redundant. Always has been.
10845
10846         * Chktex.C:
10847         * LaTeX.C:
10848         * LyXSendto.C:
10849         * converter.C:
10850         * lyx_cb.C:
10851         * vc-backend.C:
10852         change Systemcalls::System to Systemcalls::Wait and
10853         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10854         No change of functionality, just reflects the stripped down Systemcalls
10855         class.
10856
10857 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10858
10859         * debug.[Ch]: add a GRAPHICS type to the enum.
10860
10861 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10862
10863         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10864
10865         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10866         there is an inset.
10867
10868 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10869
10870         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10871         match the changes below.
10872
10873         * text2.C (toggleInset): if there is not editable inset at cursor
10874         position, try to see if cursor is _inside_ a collapsable inset
10875         and close it.
10876
10877 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10880         document menu has a nice checkbox
10881
10882 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10883
10884         * lyxlength.C (asLatexString): change PW to output as percent of
10885         \textwidth.
10886
10887         * lengthcommon.C: change '%' to 't%'
10888
10889         * lyxfunc.C (dispatch): a few comments from Martin
10890
10891 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10892
10893         * WorkArea.h:
10894         * WorkArea.C:
10895         * BufferView_pimpl.h:
10896         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10897           the X selection.
10898
10899 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10900
10901         * vspace.C (inPixels): fix compiler warning
10902
10903 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10904
10905         * lyxfunc.C (getStatus): fix status message for disabled commands.
10906
10907 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10908
10909         * BufferView_pimpl.C: fix crash on close buffer
10910         during selection (#227)
10911
10912 2002-01-27  Herbert Voss  <voss@lyx.org>
10913
10914         * buffer.C: link old Figure to new graphic inset
10915
10916 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10917
10918         * FontLoader.C (getFontinfo): Change the latex font names in order
10919         to match the names of type1inst.
10920
10921 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10922
10923         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10924
10925         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10926         (extchanged): ditto
10927         (ext_exist): ditto
10928         (remove_files_with_extension): ditto
10929         (remove_file): ditto
10930         (write): ditto
10931
10932         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10933         document is smaller than the work area height. Do not initialize
10934         static variables to 0.
10935
10936 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10937
10938         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10939
10940         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10941         LFUN_LAYOUT_PARAGRAPHS.
10942
10943         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10944         tabular. It is possible to provide a possible cell, which will
10945         typically be the actcell from the corresponding insettabular
10946
10947         * lyxfunc.C (getStatus): small cleanup; disable
10948         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10949         true
10950
10951 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10954
10955         * paragraph.C (startTeXParParams):
10956         (endTeXParParams): new methods. The LaTeX code to
10957         start/end paragraph formatting
10958         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10959         empty (fixes bug #200)
10960
10961         * vspace.C (inPixels): adapt to the change below
10962         (inPixels): [later] more cleanups (remove unused variables)
10963
10964         * lyxlength.C (inPixels): change to use a width and a height as
10965         parameter.
10966
10967 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10968
10969         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10970         Replaced with \paperwidth
10971
10972         * DepTable.C (insert): add std:: qualifier
10973
10974 2002-01-18  Allan Rae  <rae@lyx.org>
10975
10976         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10977         updated also?
10978
10979         * text.C (drawInset): Turned out I didn't know enough about how
10980         rebreaking worked.  This fixes most of the redraw problems.  I see
10981         an occasional cursor trail when a line is broken now and the cursor
10982         placement can seem out by a few pixels also after a rebreak.
10983
10984 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * buffer.C (parseSingleLyXformat2Token): update because minipage
10987         width is now a LyXLength
10988
10989         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10990
10991         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10992         math insets
10993
10994 2002-01-17  Juergen Vigna  <jug@sad.it>
10995
10996         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10997
10998         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10999         is set correctly and the inset is updated correctly.
11000
11001 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11002
11003         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11004         the beginning of the loop.
11005
11006 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * lyxrc.C: improve help for use_scalable_fonts
11009
11010 2002-01-17  Allan Rae  <rae@lyx.org>
11011
11012         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11013
11014 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11017         make sure to set their inset_owner to the right value (bug #171)
11018
11019 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11020
11021         * DepTable.h
11022         * DepTable.C: Implement mtime checking to reduce time spent doing
11023         CRCs.
11024
11025 2002-01-16  Juergen Vigna  <jug@sad.it>
11026
11027         * tabular.C (GetAdditionalHeight): one of error fixed.
11028
11029         * lyxrc.C (output): small fix in writing use_pspell.
11030
11031 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11032
11033         * sp_base.h: #include LString.h
11034
11035 2002-01-16  Allan Rae  <rae@lyx.org>
11036
11037         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11038         Can someone check this please?
11039
11040         * text.C (drawInset): It was possible that p.row would be removed by
11041         breakAgainOneRow upsetting a few other settings.  There may be another
11042         small tweak possible by setting need_break_row = 0 when p.row has been
11043         removed but I don't know enough about the logic here.
11044
11045 2002-01-15  Allan Rae  <rae@lyx.org>
11046
11047         * text.C (insertChar): removed conditional truism.
11048
11049         * BufferView2.C (removeAutoInsets): More tweaks.
11050         cur_par_prev could be a stray pointer.  Check for trailing empty line
11051         in case last line was cur_par and only had an error inset on it.
11052
11053 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11056         absolute
11057
11058         * vc-backend.C (most methods):
11059         * exporter.C (Export):
11060         * converter.C (convert):
11061         (runLaTeX):
11062         * LyXSendto.C (SendtoApplyCB):
11063         * lyxfunc.C (dispatch):
11064         (menuNew):
11065         (open):
11066         (doImport):
11067         * lyx_cb.C (AutoSave):
11068         (InsertAsciiFile):
11069         * BufferView_pimpl.C (MenuInsertLyXFile):
11070         * buffer.C (runChktex): use Buffer::filePath().
11071
11072         * buffer.h: rename filename to filename_; rename filepath to
11073         filepath_ and make it private
11074         (filePath): new method
11075
11076         * buffer.C (writeFile): use fileName()
11077         (getLatexName):
11078
11079         * lyx_main.C (init): fix starting  of LyX when the binary is a
11080         link from so,ewhere else.
11081
11082         * minibuffer.C: include <cctype> for isprint
11083
11084 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11085
11086         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11087         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11088         name clash with InsetCollapsable's width function.
11089
11090 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11091
11092         * lastfiles.C: include <iterator>
11093
11094 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11095
11096         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11097         std::count.
11098
11099         * buffer.C (makeLaTeXFile): ditto.
11100         Also make loop operation more transparent.
11101
11102 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11103
11104         * ToolbarDefaults.C: remove trailing comma closing namespace.
11105
11106         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11107
11108         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11109         as in WorkArea.
11110
11111         * trans.C (Load): comment out unused variable, allowed.
11112
11113 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * minibuffer.[Ch] (append_char): new method to recieve input from the
11116         drop-down completion browser. If a key was pressed, then recieve this
11117         char and append it to the existing string.
11118         (peek_event): modify the positioning data passed to the completion
11119         browser so that it can be placed above the minibuffer rather than below.
11120 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * LyXAction.C (init): alloe error-next for readonly documents.
11123
11124         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11125         count.
11126
11127 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11128
11129         * bufferlist.C (readFile): create the buffer _after_ checking that
11130         the file exists.
11131
11132         * lyxfunc.C (verboseDispatch): fix handling of arguments
11133
11134         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11135
11136         * lyxrc.C: use string::erase() instead of initializing to "".
11137
11138
11139 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * BufferView_pimpl.h:
11142         * BufferView_pimpl.C:
11143         * WorkArea.h:
11144         * WorkArea.C:
11145         * text2.C: tell X when we have made a selection for copying
11146
11147 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * BufferView_pimpl.C (MenuInsertLyXFile):
11150         * lyxfunc.C (menuNew):
11151         (open):
11152         (doImport): add shortcuts to directory buttons
11153
11154         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11155         open a float)
11156
11157         * lyxfunc.C (setStatusMessage):
11158         (getStatusMessage): new methods
11159         (getStatus):use setStatusMessage instead of setErrorMessage
11160         (dispatch): when function is disabled, set error message here
11161         [instead of in getStatus previously]
11162
11163         * BufferView_pimpl.C (workAreaButtonRelease): update
11164         toolbar/menubar here too.
11165
11166 2002-01-13  Allan Rae  <rae@lyx.org>
11167
11168         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11169         Now seems indestructible.  Remaining task is to audit all other
11170         code affected by deleteEmptyParagraphMechanism.  One small quirk
11171         left is that an empty document with an error in the preamble can
11172         be made to report an error but no error box appears.  I don't know
11173         where it goes.
11174         (removeAutoInsets): Improved comments.
11175
11176 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * Thesaurus.h:
11179         * Thesaurus.C: update for Aiksaurus 0.14
11180
11181 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11182
11183         * text2.C (firstParagraph): removed member function, all uses
11184         replaces with ownerParagraph
11185         (redoParagraphs): here
11186         (updateInset): here
11187         (toggleAppendix): here
11188         * BufferView2.C (insertErrors): here
11189         (setCursorFromRow): here
11190
11191 2002-01-13  Allan Rae  <rae@lyx.org>
11192
11193         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11194         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11195         There is still a way to segfault this although you may have to do this
11196         multiple times: Have an InsetERT with an unknown command in it.
11197         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11198         <down-arrow>, <Enter> again, View->DVI, BANG!
11199
11200         * text2.C (setCursor):
11201         (deleteEmptyParagraphMechanism):
11202         * lyxtext.h (setCursor):
11203         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11204         Making use of the return value may help fix other bugs.
11205
11206 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11209
11210         * LyXView.C (updateMenubar): call MenuBar::update here
11211         (updateToolbar): but not here
11212         (showState): do not update toolbar/menubar
11213
11214         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11215         should need to care about that.
11216
11217         * lyxfunc.C (verboseDispatch): simplify a bit
11218         (getStatus): have a version which takes a pseudoaction, and
11219         another which requires a (kb_action,string).
11220
11221         * LyXAction.C (retrieveActionArg): make it work also when action
11222         is not a pseudo-action.
11223         (getActionName): simplify a bit
11224         (helpText):
11225
11226 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11227
11228         * lyxfunc.C (verboseDispatch): new families of methods with
11229         several ways to specify a command and a bool to indicate whether
11230         the command name and shortcut should be displayed in minibuffer
11231         (eventually, we could extend that to a finer bitmask like
11232         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11233         (dispatch): the pristine dispatch command which just, well,
11234         dispatchs! Note it still sets its result to minibuffer; I'm not
11235         sure we want that.
11236
11237         * lyxfunc.h: remove setHintMessage
11238
11239         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11240
11241 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * BufferView_pimpl.C (specialChar): delete new inset if we have
11244         not been able to insert it.
11245
11246         * kbmap.C: revert to using int instead of kb_action, since all we
11247         are dealing with is pseudo-actions.
11248
11249         * LyXAction.C (searchActionArg): change to return int instead of
11250         kb_action, since the result is a pseudoaction.
11251
11252 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11253
11254         * buffer.C (insertErtContents): Fix (partially) the font bug.
11255
11256 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11257
11258         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11259         as the other one is broken on my machine!
11260
11261 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11262
11263         * commandtags.h:
11264         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11265
11266 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11267
11268         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11269         reflect their actual use. Provide compatibility code for older lyxrc
11270         files.
11271
11272         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11273         FL_NORMAL_STYLE.
11274         change names of popup font variables in line with the changes to lyxrc.C
11275
11276 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * buffer.C (asciiParagraph): avoid outputing a word twice after
11279         an inset.
11280
11281         * lyxrc.C (getDescription): document that document_path and
11282         template_path can be empty.
11283
11284 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11285
11286         * LaTeXFeatures.C (getMacros):
11287         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11288
11289         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11290
11291         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11292         getPackages.
11293         (getPackages): rename feature "floats" to "float". Use an array to
11294         iterate over 'simple' features (i.e. just a \usepackage). Add
11295         handling of "amsmath" (renamed from "amsstyle").
11296
11297 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11298
11299         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11300         features list.
11301
11302 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11303
11304         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11305         FuncStaus::FuncStatus & FuncStaus::some_method().
11306
11307 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11308
11309         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11310         of the func_satus stuff. Edited and massaged in various ways by
11311         JMarc.
11312
11313         * lyxfunc.C (getStatus): use FuncStatus
11314
11315 2002-01-08  Juergen Vigna  <jug@sad.it>
11316
11317         * text.C (nextBreakPoint): use function Inset::isChar().
11318
11319         * paragraph.C (TeXOnePar): use function
11320         Inset::forceDefaultParagraphs.
11321
11322         * buffer.C (latexParagraphs): use function
11323         Inset::forceDefaultParagraphs.
11324
11325 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11326
11327         * lyx_gui.C (init): set the style of the menu popups to
11328         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11329
11330 2002-01-07  Juergen Vigna  <jug@sad.it>
11331
11332         * text.C (setHeightOfRow): small fix
11333         (prepareToPrint): don't look at alignment if we don't have the place
11334         for doing it.
11335
11336 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11337
11338         * box.C: New file. Move the Box methods and functions out of box.h,
11339         following Lars' suggestion.
11340
11341 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11342
11343         * box.h: #include "support/LOstream.h", needed for inlined function.
11344
11345         * lyxtextclass.C:
11346         * lyxtextclasslist.C: added some using std declarations.
11347
11348 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11349
11350         * box.h: make signed dimensions to allow insets wider than
11351           the screen (bug #162)
11352
11353         * BufferView_pimpl.C: add some insetHit debug
11354
11355 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11356
11357         * vc-backend.C: add FIXME
11358
11359 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * lyxfunc.C (getStatus): enable code for showing math font status
11362         in toolbar/menu.
11363
11364 2002-01-07  Juergen Vigna  <jug@sad.it>
11365
11366         * text.C (nextBreakPoint): removed debug output not needed anymore.
11367
11368 2002-01-06  Juergen Vigna  <jug@sad.it>
11369
11370         * text.C (nextBreakPoint): fixed up this function we had this bug
11371         since ever but now hopefully we break row better.
11372         (insertChar): we have to check if an inset is the next char as it
11373         could now happen that a large inset is causing a break.
11374
11375 2002-01-05  Juergen Vigna  <jug@sad.it>
11376
11377         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11378         if it doesn't like to be drawed.
11379
11380 2002-01-04  Juergen Vigna  <jug@sad.it>
11381
11382         * BufferView2.C (lockInset): forgot to set a cursor.
11383
11384         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11385
11386 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11387
11388         * FormMathsPanel.C:
11389         * FormMathsPanel.h
11390         * MathsSymbols.C:
11391         * form_maths_panel.C:
11392         * form_maths_panel.h:
11393         * form_maths_panel.fd: implemented sub- and super- buttons in math
11394         panel.
11395
11396         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11397         (or ^ space) to be used as in TeX (req'd by André).
11398
11399         * lyxfunc.C: Allow ^ and _ again to be used both as
11400         super/subscript (mathed) and as themselves (in text).
11401
11402 2002-01-03  Allan Rae  <rae@lyx.org>
11403
11404         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11405         "LyX" or the filename of the current buffer if it has one.  This is a
11406         modified form of John Levon's patch.
11407
11408         * XFormsView.C (setWindowTitle): also set icon title.
11409
11410         * LyXView.h (setWindowTitle): signature changed.
11411         * XFormsView.h (setWindowTitle): ditto.
11412
11413 2002-01-02  Juergen Vigna  <jug@sad.it>
11414
11415         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11416
11417 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * screen.C (topCursorVisible): introduce a temp var for
11420         text->cursor.row(), handle the case where this row is null. (kindo
11421         hachish)
11422
11423         * text2.C (setCursor): add a couple of asserts.
11424
11425         * paragraph.h (inset_iterator): add -> operator
11426
11427         * paragraph.[Ch] (autoDeleteInsets): remove member function
11428
11429         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11430         cursor pos correctly and handle inset deletion by itself.
11431         (insertErrors): move iterator declaration out of for expression
11432
11433         * lyxtextclass.C: add <algorithm>
11434
11435         * Makefile.am: added the new files to sources, removed layout.C
11436
11437         * layout.C: removed file
11438
11439         * layout.h: remove LYX_DUMMY_LAYOUT
11440
11441         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11442         layout.
11443
11444         * lyxlayout.[Ch]:
11445         * lyxtextclass.[Ch]:
11446         * lyxtextclasslist.[Ch]: new files
11447
11448         * include order changes to a lot of files, also changes because of
11449         the six new files.
11450
11451 2001-12-27  Juergen Vigna  <jug@sad.it>
11452
11453         * buffer.C (asciiParagraph): more fixes.
11454
11455         * tabular.C (ascii): make ascii export support export of only the
11456         data separated by a column-delimiter.
11457         (ascii): better support for ascii export.
11458
11459         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11460
11461 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * tabular_funcs.C: use a "using std::getline" instead of the
11464         previous fix from Angus (necessary for cxx + lyxstring)
11465
11466 2001-12-24  Juergen Vigna  <jug@sad.it>
11467
11468         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11469
11470         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11471         problems. First check a minipage also if we have some ert-contents
11472         (not only on par->size(), second set the right depth of the paragraph
11473         on the relink to the root-paragraph-list!
11474
11475         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11476         which then did not anymore update the main paragraphs on undo/redo!
11477
11478 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11479
11480         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11481         code. Support all font-changing funcs (even those which are not in
11482         menu currently). Support for reporting font settings in
11483         mathed (disabled until Andre provides a function on mathed's side).
11484
11485         * func_status.h (toggle): small helper function to set toggle
11486         state on a flag.
11487
11488 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11489
11490         * tabular_funcs.C: getline -> std::getline
11491
11492 2001-12-21  Juergen Vigna  <jug@sad.it>
11493
11494         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11495         accessed and could be 0 (I couldn't generate this but it seems
11496         Michael could!).
11497
11498 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11499
11500         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11501         * tabular_funcs.h: here and include iosfwd
11502
11503 2001-12-20  Juergen Vigna  <jug@sad.it>
11504
11505         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11506         inside inset but undo_par was.
11507
11508 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * Thesaurus.C: always include <config.h> in sources.
11511
11512         * Painter.h:
11513         * lyxlookup.h:
11514         * box.h: do not include <config.h> in header files
11515
11516         * text.C (paintLastRow): remove unused variable
11517
11518         * text.C (transformChar):
11519         (insertChar):
11520         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11521
11522         * Painter.C (text):
11523         * font.C (width): rewrite to use uppercase() instead of
11524         islower/toupper.
11525
11526         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11527
11528 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * lyxfind.C: clean up of find failure position change
11531
11532 2001-12-20  Juergen Vigna  <jug@sad.it>
11533
11534         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11535
11536         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11537         (TeXRow): added to LaTeX a single tabular row.
11538         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11539         (Latex): simplified and finally good LT-h/f support.
11540         (various_functions): just small adaptions for LT-h/f support.
11541
11542         * tabular_funcs.[hC]: added and moved here all not classfunctions
11543         of LyXTabular.
11544
11545 2001-12-19  Juergen Vigna  <jug@sad.it>
11546
11547         * tabular.[Ch]: better support for longtabular options (not finished
11548         yet!)
11549
11550 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11551
11552         * text.C (paintLastRow): use the label font instead of the font of
11553         the last character to compute the size of *_BOX. This makes more
11554         sense and avoids a crash with empty paragraphs.
11555         Use Painter::rectangle to draw EMPTY_BOX.
11556
11557 2001-12-19  Juergen Vigna  <jug@sad.it>
11558
11559         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11560         the paragraphs if the replaced paragraph is not the first one!
11561         Tried to delete not used paragraphs but does not work yet so for
11562         now it's inside #ifdef's and by default off!
11563
11564 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11565
11566         * MenuBackend.C: include "lyx_main.h" instead of declaring
11567         lastfiles (actually was declared as LastFiles* instead of a
11568         scoped_ptr).
11569
11570 2001-12-17  Juergen Vigna  <jug@sad.it>
11571
11572         * tabular.C (AppendColumn): applied John's fix
11573
11574 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * BufferView.h:
11577         * BufferView.C:
11578         * BufferView_pimpl.h:
11579         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11580
11581         * Makefile.am:
11582         * box.h: new start of class for above
11583
11584         * lyxfunc.C: ignore space-only minibuffer dispatches.
11585           Show the command name when it doesn't exist
11586
11587         * minibuffer.C: don't add empty lines to the history
11588
11589         * minibuffer.C: add a space on dropdown completion
11590
11591 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * text.C: fix line above/below drawing in insets
11594
11595 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * lyxlength.C (LyXLength): Initialize private variables.
11598
11599 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11600
11601         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11602         when inserting error insets.
11603
11604 2001-12-13  Juergen Vigna  <jug@sad.it>
11605
11606         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11607         actually sometimes the before-paragraph.
11608         (setUndo): don't clear the redostack if we're not actually undoing!
11609
11610 2001-12-06  Juergen Vigna  <jug@sad.it>
11611
11612         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11613         and fixed redoing of main paragraph, so we can use it now ;)
11614
11615         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11616
11617 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11618
11619         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11620         Juergen's request
11621
11622 2001-12-13  André Pönitz <poenitz@gmx.net>
11623
11624         * undostack.[Ch]:
11625         * undo_func.C: minor cleanup
11626
11627 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11628
11629         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11630         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11631         font in urw-fonts package which is marked as -urw-fontspecific and
11632         does not work (incidentally, changing the encoding in the
11633         fonts.dir of this package to -adobe-fontspecific fixes the
11634         problem).
11635
11636         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11637         is a crash when undoing first paragraph (Juergen, please take a
11638         look). THis does not mean the undo fix is wrong, just that it
11639         uncovers problems.
11640
11641         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11642         the (Paragraph*) version when needed instead of duplicating the
11643         code.
11644
11645         * text.C (workWidth): use Inset::parOwner to find out where the
11646         inset has been inserted. This is a huge performance gain for large
11647         documents with lots of insets. If Inset::parOwner is not set, fall
11648         back on the brute force method
11649
11650         * paragraph_pimpl.C (insertInset):
11651         * paragraph.C (Paragraph):
11652         (cutIntoMinibuffer): set parOwner of insets when
11653         inserting/removing them
11654
11655         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11656
11657 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11658
11659         * commandtags.h:
11660         * LyXAction.C:
11661         * lyx_main.C:
11662         * lyxfunc.C:
11663         * mathed/formulabase.C:
11664         * mathed/math_cursor.[Ch]:
11665         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11666
11667
11668 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11669
11670         * lyxlength.[Ch] (operator!=): new function
11671
11672 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673
11674         * text.C (workWidth): use Inset::parOwner to find out where the
11675         inset has been inserted. This is a huge performance gain for large
11676         documents with lots of insets. If Inset::parOwner is not set, fall
11677         back on the brute force method
11678
11679         * paragraph_pimpl.C (insertInset):
11680         * paragraph.C (Paragraph):
11681         (cutIntoMinibuffer): set parOwner of insets when
11682         inserting/removing them
11683
11684         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11685
11686 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11687
11688         * tabular-old.C (getTokenValue):
11689         * tabular.C (getTokenValue):
11690         (write_attribute): new versions for LyXLength
11691         (everywhere): adjust the use of widths
11692
11693         * tabular.h: change the type of widths from string to LyXLength
11694
11695 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11696
11697         * paragraph.C: fixed missing line number count when exporting
11698         Environments to LaTeX file
11699
11700         * buffer.C: added informational message for checking line numbers.
11701
11702 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11703
11704         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11705         paragraph, do the 'double space' part, but not the 'empty
11706         paragraph' one.
11707
11708         * text.C (workWidth): small optimization
11709         (getLengthMarkerHeight): use minimal size for negative lengths.
11710
11711 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11712
11713         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11714
11715         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11716
11717 2001-12-11  André Pönitz <poenitz@gmx.net>
11718
11719         * FontLoader.C:
11720         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11721
11722 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * text2.C: keep selection on a setFont()
11725
11726 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * lyx_cb.C: another bv->text misuse, from insert label
11729
11730 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11731
11732         * kbsequence.h:
11733         * kbsequence.C: re-instate nmodifier mask
11734
11735 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11736
11737         * lyx_main.h: make lyxGUI private.
11738
11739 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * lyxfind.C: place the cursor correctly on failed search
11742
11743 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11744
11745         * text.C (getLengthMarkerHeight): for small heights, the arrows
11746         are not always on top/bottom of the text
11747         (drawLengthMarker): smaller arrows; take the left margin in
11748         account; draw also vfills.
11749         (paintFirstRow):
11750         (paintLastRow): remove special code for vfill and standard spaces,
11751         since everything is handled in drawLengthMarker now.
11752
11753 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11754
11755         * buffer.C (insertErtContents): try to handle font and language
11756         interaction a bit better.g
11757
11758         * ColorHandler.C (updateColor): change the hash to cover the whole
11759         LColor enum, ws cleanup
11760         (getGCLinepars): ditto
11761         (getGCLinepars): only lookup in the linecache once.
11762
11763 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11764
11765         * iterators.C (operator++): Make the iterator more robust
11766
11767         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11768         (John's patch)
11769         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11770
11771 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * lyxtext.h:
11774         * text.C: better added space drawing
11775
11776 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11777
11778         * LyXView.C:
11779         * BufferView2.C: fix layout combo update on inset unlock
11780
11781 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * Makefile.am: don't compile unused files
11784
11785 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11786
11787         * lyxfunc.C:
11788         * commandtags.h:
11789         * LyXAction.C: remove old LFUN_LAYOUTNO
11790
11791 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11792
11793         * paragraph_pimpl.h:
11794         * paragraph_pimpl.C: isTextAt() doesn't need font param
11795
11796 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * lyxlex.h:
11799         * lyxlex.C: little cleanup
11800
11801 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * BufferView_pimpl.C: fix insertAscii for insets
11804
11805 2001-12-05  Juergen Vigna  <jug@sad.it>
11806
11807         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11808         set the right font on the "multi" paragraph paste!
11809
11810 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * trans_decl.h:
11813         * trans_mgr.[Ch]:
11814         * trans.[Ch]:
11815         * lyxgluelength.C:
11816         * lyxlength.C: remove out-commented code.
11817
11818         * BufferView_pimpl:
11819         * CutAndPaste.C:
11820         * DepTable.C:
11821         * buffer.C:
11822         * chset.C:
11823         * lastfiles.C:
11824         * lyxlex.C:
11825         * lyxlex_pimpl.C:
11826         * lyxserver.C:
11827         * screen.C:
11828         * tabular-old.C:
11829         * tabular.C:
11830         * text.C:
11831         * trans_mgr.C:
11832         * vc-backend.C: change "while(" to "while ("
11833
11834         * lyxlength.[Ch]: add zero function to check if length is zero or
11835         not
11836         * lyxgluelength.C: use it
11837
11838 2001-12-05  Allan Rae  <rae@lyx.org>
11839
11840         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11841         Works for 2.95.3, from what I understand of Garst's reports this should
11842         work for other g++ versions.  We're screwed if the abs(int) definition
11843         changed between bugfix releases of gcc.
11844
11845 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * text.C: fix chapter label offset !
11848
11849 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * lyxtext.h:
11852         * text.C: fix hfill at end of line, clean up
11853
11854 2001-12-04  Juergen Vigna  <jug@sad.it>
11855
11856         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11857         that we force an update of the inset and it's owners if neccessary.
11858
11859 2001-12-03  Juergen Vigna  <jug@sad.it>
11860
11861         * text.C (rowLast): simplified code
11862
11863 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * lyxfunc.C: fix show options on timeout
11866
11867 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * screen.C (topCursorVisible): scroll half a page when the cursor
11870         reached top of bottom of screen
11871
11872 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * minibuffer.C: deactivate on loss of focus
11875
11876 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * vspace.[Ch] (operator!=): add operator.
11879
11880 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * BufferView_pimpl.C: refuse to open an inset when
11883         there's a selection.
11884
11885 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * BufferView_pimpl.C: allow to click on RHS of full row insets
11888
11889 2001-11-30  Juergen Vigna  <jug@sad.it>
11890
11891         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11892         insets for undo reasons.
11893
11894 2001-11-28  André Pönitz <poenitz@gmx.net>
11895
11896         * vspace.[Ch]: cosmetical changes
11897
11898 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * LyXAction.h:
11901         * LyXAction.C:
11902         * lyxfunc.h:
11903         * lyxfunc.C:
11904         * kbmap.h:
11905         * kbmap.C:
11906         * lyxrc.C:
11907         * kbsequence.h:
11908         * kbsequence.C: part re-write of old kb code
11909
11910         * Painter.C:
11911         * WorkArea.C: remove Lgb_bug_find_hack
11912
11913 2001-11-30  José Matos <jamatos@fep.up.pt>
11914
11915         * buffer.C (makeDocBookFile): add a comment to point a hack.
11916         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11917         Fixed a double write of labels.
11918
11919 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11920
11921         * LaTeX.C:
11922         * LaTeX.h Fixed bug in LaTeX class where it would not
11923         re-run latex if no depfiles were changed, but the .dvi was removed.
11924
11925 2001-11-28  André Pönitz <poenitz@gmx.net>
11926
11927         * all the files from the change on 2001/11/26:
11928         use lyx::layout_type instead of LyXTextClass::size_type
11929         use lyx::textclass_type instead of LyXTextClassList::size_type
11930
11931 2001-11-29  Juergen Vigna  <jug@sad.it>
11932
11933         * text.C: added support for paragraph::isFreeSpacing()
11934
11935         * buffer.C: same as above
11936
11937         * paragraph.h: inserted isFreeSpacing() function to enable
11938         FreeSpacing inside InsetERT.
11939
11940         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11941         of the paragraph's in the cut/copy buffer to 0!
11942
11943         * text2.C (removeRow): remove the assert as it can!
11944
11945         * lyxtext.h: added helper function firstRow returning firstrow and
11946         made firstrow private again.
11947
11948         * BufferView2.C (lockInset): don't relock if we're already locked!
11949
11950         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11951         the only paragraph.
11952         (removeRow): added Assert::(firstrow)
11953
11954         * debug.C: forgot to add INSETTEXT here.
11955
11956 2001-11-28  Juergen Vigna  <jug@sad.it>
11957
11958         * sp_spell.C (initialize): changed error text to more general
11959         spellchecker command use (not only ispell!)
11960
11961         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11962
11963         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11964
11965 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * vspace.C: initialise lyxgluelength on failure
11968
11969 2001-11-28  Allan Rae  <rae@lyx.org>
11970
11971         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11972         declaration & definition that looks like a function declaration.
11973
11974 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11975
11976         * BufferView2.C (copy):
11977         (copyEnvironment): do not clear the selection when doing a copy.
11978
11979         * text.C (paintFirstRow): compilation fix
11980
11981 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11982
11983         * tabular.C (Latex): correct line count when writing latex.
11984
11985 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11986
11987         * paragraph_pimpl.h:
11988         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11989           bug a bit
11990
11991 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * text.C:
11994         * LColor.h:
11995         * LColor.C: change vfillline->added_space
11996
11997         * text.C: add markers and text for added space
11998
11999         * vspace.C: fix comment
12000
12001 2001-11-28  André Pönitz <poenitz@gmx.net>
12002
12003         * paragraph.C: whitespace changes
12004         * all the other files from the change on 2001/11/26:
12005         change *::pos_type into lyx::pos_type
12006
12007 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12008
12009         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12010         language of the document when inserting error insets.
12011
12012 2001-11-26  André Pönitz <poenitz@gmx.net>
12013
12014         * BufferView_pimpl.[Ch]:
12015         *       CutAndPaste.C:
12016         * buffer.[Ch]:
12017         * lyxcursor.[Ch]:
12018         * lyxfind.C:
12019         * lyxfunc.C:
12020         * lyxrow.[Ch]:
12021         * paragraph.[Ch]:
12022         * paragraph_pimpl.[Ch]:
12023         * sp_spell.C:
12024         * text.C:
12025         * text2.C: reduce header dependencies, introduce type for positions
12026
12027 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12028
12029         * <various>: change to use Alert.h
12030
12031 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12032
12033         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12034         when encountering an unknown token.
12035         (readLyXformat2): Show an error message if there were unknown tokens.
12036
12037 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * BufferView2.C:
12040         * BufferView_pimpl.C:
12041         * buffer.C:
12042         * paragraph.h:
12043         * text.C:
12044         * text2.C: use par->isInset()
12045
12046 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * paragraph_pimpl.h:
12049         * paragraph_pimpl.C: cleanup
12050
12051 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12052
12053         * text2.C (removeRow):
12054         * text.C (setHeightOfRow): remove useless (and costly) call to
12055         getRow.
12056
12057 2001-11-20  Allan Rae  <rae@lyx.org>
12058
12059         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12060         Now need Inset*::checkInsertChar() to return true for appropriate
12061         cases so that the characters in the minibuffer will actually be
12062         inserted.
12063
12064 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * text.C: change the order of the includes.
12067         (workWidth): initialize it at once.
12068         (workWidth): make maxw unsigned
12069         (setHeightOfRow): remove unused variable (inset)
12070         (selectSelectedWord): remove unused variable (inset)
12071         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12072
12073 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12074
12075         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12076         server is not running.
12077         (openConnection):
12078         (closeConnection): add debug info when server is disabled.
12079
12080         * ColorHandler.C (getGCForeground): send debug message to GUI
12081         channel.
12082
12083         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12084
12085         * kbmap.C (bind): modify because return conventions of
12086         kb_sequence::parse have changed.
12087
12088         * kbsequence.C (parse): only ignore spaces and not any stupid
12089         control character. This avoids tests like s[i] <= ' ', which are
12090         guaranteed to fail with 8bit characters and signed chars.
12091         Change return code to string::npos when there have been no error
12092         (0 was a bad idea when error is at first character)
12093
12094 2001-11-14  José Matos  <jamatos@fep.up.pt>
12095
12096         * buffer.h:
12097         * buffer.C (simpleDocBookOnePar): removed unused argument.
12098
12099 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12100
12101         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12102         insets which are part of a word. Paragraph::isLetter takes care of
12103         that now. Use Paragraph::isInset to identify insets.
12104         (selectSelectedWord): do not test for hyphenation break.
12105
12106         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12107         that protected spaces are considered as spaces.
12108
12109         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12110         Inset::isLetter.
12111
12112 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12113
12114         * lyxserver.h:
12115         * lyxserver.C: fix it. and small cleanup.
12116
12117 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12118
12119         * BufferView_pimpl.C: use inline helpers
12120
12121         * LaTeXFeatures.h:
12122         * LaTeXFeatures.C: fix typos
12123
12124         * Spacing.h:
12125         * Spacing.C: move spacing_string into class
12126
12127         * ToolbarDefaults.C: move stuff into namespace anon
12128
12129         * layout.h: update enum
12130
12131         * lyxfunc.C: use better debug
12132
12133         * minibuffer.h: fix typo
12134
12135         * debug.h:
12136         * debug.C:
12137         * WorkArea.C: add and use Debug::WORKAREA
12138
12139         * lyxtext.h:
12140         * text.C:
12141         * text2.C: code re-organisation, inline helpers
12142
12143 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12144
12145         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12146         std::vector.empty().
12147
12148 2001-11-09  Allan Rae  <rae@lyx.org>
12149
12150         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12151         '\n's after tables.  Tabular and ERT inset work now makes this no
12152         longer necessary.
12153
12154 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * minibuffer.h:
12157         * minibuffer.C: fix crash, improve drop-down completion
12158
12159 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12160
12161         * lyxserver.h:
12162         * lyxserver.C: invalidate fd's when doing endPipe()
12163
12164 2001-11-08  José Matos  <jamatos@fep.up.pt>
12165
12166         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12167         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12168
12169         * paragraph.h:
12170         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12171
12172 2001-11-07  José Matos  <jamatos@fep.up.pt>
12173
12174         * buffer.h:
12175         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12176         const qualifier.
12177
12178         * buffer.C (sgmlOpenTag):
12179         * buffer.C (sgmlCloseTag): removed debug info.
12180
12181         * buffer.h (sgmlOpenTag):
12182         * buffer.h (sgmlCloseTag): made public.
12183
12184 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12185
12186         * buffer.C (saveParamsAsDefaults):
12187         * lyx_cb.C (MenuLayoutSave): remove
12188
12189         * LyXAction.C (init):
12190         * commandtags.h:
12191         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12192
12193 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12194
12195         * buffer.C (setPaperStuff): removed from here...
12196
12197         * bufferparams.C (setPaperStuff): ... and moved there.
12198
12199 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * minibuffer.h:
12202         * minibuffer.C:
12203         * XFormsView.C: add support for drop-down completion
12204
12205 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12206
12207         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12208         commands.
12209
12210 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12213         disabled.
12214
12215 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12216
12217         * lyx_main.C: change ref to known bugs
12218
12219 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12220
12221         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12222         to work around older babel problems.
12223
12224 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12225
12226         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12227
12228 2001-10-24  Juergen Vigna  <jug@sad.it>
12229
12230         * tabular-old.C (ReadOld): below variable changes reflected.
12231
12232         * tabular.[Ch]: added ltType struct for longtable header/footer
12233         defines and changed all instances where they are used. Added
12234         future support for double top/bottom rows.
12235
12236 2001-10-24  José Matos  <jamatos@fep.up.pt>
12237
12238         * buffer.h (docbookHandleCaption):
12239         * buffer.C (docbookHandleCaption): removed unused function.
12240         (makeDocBookFile): moved docbook supported version to v4.1.
12241
12242 2001-10-24  José Matos  <jamatos@fep.up.pt>
12243
12244         * tabular.h:
12245         * tabular.C (docbookRow): new function to export docbook code of a row.
12246         (DocBook): now honors the longtable flags.
12247
12248 2001-10-23  José Matos  <jamatos@fep.up.pt>
12249
12250         * LaTeXFeatures.h:
12251         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12252         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12253
12254         * buffer.C (makeLinuxDocFile):
12255         (makeDocBookFile): reworked the preamble, more clean, and with
12256         support for lyx defined entities. Changed the document declaration
12257         to be more XML friendly.
12258
12259         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12260         if we need to output XML that should be done with a filter.
12261
12262 2001-10-22  Juergen Vigna  <jug@sad.it>
12263
12264         * sp_pspell.h (class PSpell): add alive function needed in the
12265         controller to see if the spellchecker could be started.
12266
12267 2001-10-22  Juergen Vigna  <jug@sad.it>
12268
12269         * buffer.C (insertStringAsLines): modify the font for inserting
12270         chars in certain conditions by calling checkInsertChar(font).
12271
12272 2001-10-19  Juergen Vigna  <jug@sad.it>
12273
12274         * text.C (workWidth): use getRow instead of wrong algorithm.
12275         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12276
12277 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * lyxserver.h:
12280         * lyxserver.C:
12281         * lyx_main.h:
12282         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12283
12284 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12285
12286         * text.C (workWidth): do not search for the exact row when
12287         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12288         optimization for big documents.
12289
12290 2001-10-18  Juergen Vigna  <jug@sad.it>
12291
12292         * text.C (workWidth): new function with added Inset * parameter.
12293
12294 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12295
12296         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12297
12298         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12299         change return type of getColumnNearX.
12300
12301
12302         * text.C (changeRegionCase): use uppercase/lowercase instead of
12303         toupper/tolower.
12304         (leftMargin):
12305         (rightMargin): simplify code by factoring out the uses of
12306         textclasslist.
12307         (labelFill):
12308         (numberOfHfills):
12309         (setHeightOfRow):
12310         (appendParagraph): use Paragraph::size_type
12311
12312 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12313
12314         * vspace.C (asLatexString): add a missing break
12315
12316 2001-10-15  Herbert Voss  <voss@perce.de>
12317
12318         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12319
12320 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12321
12322         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12323         is not available.
12324
12325 2001-10-10  André Pönitz <poenitz@gmx.net>
12326
12327         * lyxfunc.C: removed greek_kb_flag.
12328
12329 2001-10-10  Herbert Voss  <voss@perce.de>
12330
12331         * lyx_main.C: delete global string help_lyxdir.
12332
12333 2001-10-09  Herbert Voss  <voss@perce.de>
12334
12335         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12336
12337         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12338
12339         * lyx_main.C: added global string help_lyxdir.
12340
12341         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12342
12343 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12344
12345         * lyxrc.C (set_font_norm_type): support iso8859-4
12346
12347 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12348
12349         * LaTeX.C (deplog): add another regex for MikTeX
12350
12351 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12352
12353         * lyxrc.C (set_font_norm_type): support iso8859-3
12354
12355 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12358
12359         * LaTeXFeatures.C: remove special case of french and index
12360
12361         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12362         before \begin{document}). This solves several incompatibilities.
12363
12364 2001-10-03  Garst Reese  <reese@isn.net>
12365
12366         * lyx_cb.C: change CheckTex error msg.
12367
12368 2001-10-03  José Matos  <jamatos@fep.up.pt>
12369
12370         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12371
12372 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12373
12374         * .cvsignore: update
12375
12376         * lyx_main.C (commandLineVersionInfo): use new style version info.
12377
12378         * buffer.C (writeFile):
12379         (makeLaTeXFile):
12380         (makeLinuxDocFile):
12381         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12382
12383         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12384
12385         * version.h: update to use stuff in version.C
12386
12387         * version.C.in: new file. Contains version information determined
12388         at compile time. This is a merging of version.h and
12389         version_info.h.in.
12390
12391 2001-10-03  Juergen Vigna  <jug@sad.it>
12392
12393         * BufferView_pimpl.C (update): don't change "dirty" status in
12394         updateInset call.
12395
12396 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12397
12398         * WorkArea.C (c-tor): re-position version string slightly.
12399
12400 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12401
12402         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12403         revert to previous code.
12404
12405         WorkArea.[Ch]: (show, destroySplash): methods removed.
12406
12407         WorkArea.C: rework code so that it's an amalgam of the codes before and
12408         after the splash screen was moved to WorkArea.
12409
12410 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12411
12412         * lyxrc.C (read):
12413         * vspace.C (inPixels):
12414         (lyx_advance):
12415         * kbmap.C (bind):
12416         * buffer.C (insertStringAsLines):
12417         (asciiParagraph): fix types to be large enough
12418
12419         * lyxlex_pimpl.h: change member status from short to int
12420
12421         * layout.h: fix type of endlabeltype
12422
12423         * kbmap.C (bind):
12424         * kbsequence.C (parse): change return type to string::size_type
12425
12426         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12427         variable
12428
12429         * Bullet.C (bulletSize):
12430         (bulletEntry): do not use short ints as parameters
12431
12432         * BufferView2.C (insertLyXFile): change a char to an int.
12433
12434         * WorkArea.C (WorkArea): remove unneeded floats in computation
12435
12436 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12439
12440         * paragraph.C (asString): Do not ignore newline/hfill chars when
12441         copying to the clipboard.
12442
12443 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12444
12445         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12446         after a multi-line inset.
12447
12448 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12449
12450         * paragraph.C (validate): Set NeedLyXFootnoteCode
12451
12452 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12453
12454         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12455         and decrease-error to decrease.
12456
12457 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12460         it more readable (should be equivalent)
12461
12462 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12463
12464         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12465
12466 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12467
12468         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12469         of a cursor (row, etc.) after a character has been deleted
12470         (deleteEmptyParagraphMechanism): call the method above on _all_
12471         cursors held by the LyXText when a double space has been
12472         detected/deleted.
12473
12474 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12475
12476         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12477         pixmap.
12478         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12479
12480         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12481         background. Use greyOut() and the new show() methods to toggle between
12482         the foreground and background. Add code to remove the splash after
12483         its initial showing.
12484
12485         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12486         (create_forms): no longer call Dialogs::showSplash.
12487
12488 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12489
12490         * .cvsignore: add version_info.h
12491
12492 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12493
12494         * version_info.h.in: new file
12495
12496         * Makefile.am: add version_info.h.in
12497
12498         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12499         version_info.h instead of VERSION_INFO
12500
12501 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12504         The ERT inset now returns string().
12505
12506 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12507
12508         * lyxtext.h, text.C (selectNextWord): renamed as
12509         selectNextWordToSpellcheck.
12510
12511         * text.C (selectNextWordToSpellcheck): Modified to not select
12512         words inside an ERT inset.
12513
12514 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12515
12516         * lyx_cb.C (MenuLayoutSave): change a bit the question
12517
12518         * sp_base.h: include <sys/types.h>
12519
12520 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12521
12522         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12523
12524 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12525
12526         * several files: fix typos in user-visible strings
12527
12528 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12529
12530         * text2.C (pasteSelection): do not set the selection, since it
12531         will be cleared later. Actually, the intent was to fix the way the
12532         selection was set, but I figured rmoving the code was just as good.
12533
12534 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12535
12536         * FontLoader.C (available): Check if font is available without
12537         loading the font.
12538
12539 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12540
12541         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12542
12543 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12544
12545         * lyxrc.[Ch]: added display_graphics variable and associated code.
12546
12547 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12548
12549         * bufferparams.C (hasClassDefaults): new method. Returns true if
12550         the buffer parameters correspond to known class defaults
12551
12552 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12553
12554         * XFormsView.C (show): set minimum size to the main window.
12555
12556 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12557
12558         * text2.C (copySelection):
12559         (cutSelection):
12560         * lyxfind.C (LyXReplace):
12561         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12562         LyXText::selectionAsString.
12563
12564         * paragraph.C (asString): add "label" argument to the second form
12565
12566         * text2.C (selectionAsString): add "label" argument and pass it to
12567         Paragraph::asString.
12568
12569 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12570
12571         * lyx_main.C (commandLineHelp): remove version information
12572
12573 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12574
12575         * lyx_main.C: add -version commandline option
12576
12577 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * paragraph.h: make the optional constructor arg required instead.
12580         some modifications to other files because of this.
12581
12582         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12583
12584         * lyxserver.C (C_LyXComm_callback): make it static
12585
12586         * lyx_main.C (error_handler): make it static
12587
12588         * lyx_gui.C (LyX_XErrHandler): make it static
12589
12590         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12591
12592         * WorkArea.C: make the extern "C" methods static.
12593
12594         * Makefile.am (lyx_LDADD): simplify
12595
12596 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12597
12598         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12599         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12600
12601         * LyXAction.C (init):
12602         * lyxfunc.C (dispatch): associated code removal.
12603
12604 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12605
12606         * lyxfont.h (isSymbolFont): shut off warning
12607
12608         * text.C (setHeightOfRow):
12609         (getVisibleRow): fix crash with empty paragraphs which have a
12610         bottom line
12611
12612 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12613
12614         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12615         code.
12616
12617 2001-09-04  José Matos  <jamatos@fep.up.pt>
12618         * buffer.C
12619         * buffer.h
12620         * tabular.C (docbook): rename docBook method to docbook.
12621
12622 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12623
12624         * Makefile.am: add dependencies to main.o.
12625
12626 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12627
12628         * FontLoader.C (available): Return false if !lyxrc.use_gui
12629
12630 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12631
12632         * FontInfo.C (query):
12633         * converter.C (view):
12634         * importer.C (Import):
12635         * exporter.C (Export): Can not -> cannot.
12636
12637 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * BufferView_pimpl.C: allow to create index inset even if
12640           string is empty
12641
12642 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * buffer.C (getLists): replace boost::tie code with an explicit pair
12645         as boost::tie can break some compilers.
12646
12647         * iterators.h: Added a std:: declaration to the return type of
12648         ParIterator::size.
12649
12650 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12653           case.
12654
12655 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12656
12657         * iterators.[Ch]: New files. Provide paragraph iterators.
12658
12659         * buffer.C (changeLanguage): Use paragraph iterators.
12660         (isMultiLingual): ditto
12661
12662         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12663
12664 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12665
12666         * FontLoader.C: Support for cmr font.
12667
12668 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12669
12670         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12671         (available): New method.
12672
12673         * FontInfo.C (getFontname): Use scalable fonts even when
12674         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12675         found.
12676
12677 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * converter.C (Formats::view): reverted! Incorrect fix.
12680
12681 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12682
12683         * converter.C (Formats::view): only output the -paper option
12684         if the dvi viewer is xdvi, thereby fixing bug #233429.
12685
12686 2001-08-23  Herbert Voss  <voss@perce>
12687
12688         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12689
12690 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12691
12692         * Spacing.h (Spacing): Set space to Default on in the default
12693         constructor.
12694
12695 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * vc-backend.h (RCS::versionString): add RCS to version
12698         (CVS::versionString): add CVS to version
12699
12700         * vc-backend.C (scanMaster): do not add CVS to version.
12701         (scanMaster): do not add RCS to version
12702
12703         * lyxvc.C (versionString): new method
12704
12705         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12706
12707 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12708
12709         * Spacing.C (set): initialize fval
12710
12711 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12712
12713         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12714         " or \.
12715
12716 2001-08-16  Juergen Vigna  <jug@sad.it>
12717
12718         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12719
12720 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12721
12722         * BufferView_pimpl.C:
12723         * figureForm.C:
12724         * lyxtext.h:
12725         * text2.C: setParagraph takes linespacing now
12726
12727 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * LyxAction.C: add internal LFUN_CITATION_INSERT
12730
12731         * LyXView.C: actually apply fix
12732
12733         * bufferlist.C: fix open non-existent file
12734
12735         * lyxfind.C: fix indentation
12736
12737         * lyxfunc.C: remove unneeded assert, fix typo
12738
12739 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12740
12741         * MenuBackend.C: use "Floatname List"
12742
12743 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12744
12745         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12746         when converting LaTeX layout to insetERT.
12747         Generate a non-collapsed float when reading old float
12748
12749 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12750
12751         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12752         ERT insets.
12753
12754 2001-08-13  Juergen Vigna  <jug@sad.it>
12755
12756         * text.C (fill): return 0 instead of 20 as this seems to be the more
12757         correct value.
12758
12759 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12760
12761         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12762         lyxrc.font_norm.
12763
12764 2001-08-13  Juergen Vigna  <jug@sad.it>
12765
12766         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12767         casesensitive off.
12768         (SearchBackward): comment out the unlocking of the inset_owner this
12769         should not be needed!
12770
12771 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12772
12773         * Many files: Remove inherit_language, and add latex_language
12774
12775         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12776         collapsible insets.
12777
12778 2001-08-10  Juergen Vigna  <jug@sad.it>
12779
12780         * text.C (prepareToPrint): fixed hfill-width in draw!
12781
12782         * BufferView2.C (selectLastWord): save the selection cursor as this
12783         now is cleared in the function LyXText::clearSelection!
12784
12785 2001-08-08  Juergen Vigna  <jug@sad.it>
12786
12787         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12788         BACKSPACE type functions.
12789
12790         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12791         is only cutted from the document but not put in the cut-buffer, where
12792         still the old stuff should be.
12793
12794         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12795
12796         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12797
12798         * tabular.C (SetWidthOfCell): fixed special case where the width
12799         was not updated!
12800         (LeftLine): handle '|' in align_special.
12801         (RightLine): ditto
12802         (LeftAlreadyDrawed): ditto
12803         (SetWidthOfCell): ditto
12804
12805 2001-08-07  Juergen Vigna  <jug@sad.it>
12806
12807         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12808
12809 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12812         * lyxlex.[hC]: ditto
12813
12814 2001-08-06  Juergen Vigna  <jug@sad.it>
12815
12816         * text.C (getVisibleRow): fix up row clearing a bit.
12817
12818 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * minibuffer.C: make sure the X server sees the changes in the input.
12821
12822 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * paragraph.C (getFont): split into...
12825         (getLabelFont): this
12826         (getLayoutFont): and this
12827         * paragraph_pimpl.C (realizeFont): calling this
12828
12829         * text2.C (getFont): split into...
12830         (getLayoutFont): this
12831         (getLabelFont): and this
12832         (realizeFont): all three calling this
12833
12834         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12835         files where used.
12836
12837 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12840
12841 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12842
12843         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12844         layouts from the Quote inset insertion.
12845
12846 2001-08-03  Juergen Vigna  <jug@sad.it>
12847
12848         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12849
12850         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12851         only if status not is already CHANGED_IN_DRAW (second level).
12852
12853         * text.C (draw): don't set the need_break_row when inside an
12854         InsetText LyXText.
12855
12856 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * buffer.C (parseSingleLyXformat2Token): handle more latex
12859         conversion cases.
12860
12861         * bufferview_funcs.[hC]: change function names to
12862         begin with small char, adjust other files.
12863
12864 2001-08-02  André Pönitz <poenitz@gmx.net>
12865
12866         * lyxfunc.C:
12867         BufferView_pimpl.C: remove broken special code for math-greek
12868
12869 2001-08-02  Juergen Vigna  <jug@sad.it>
12870
12871         * BufferView_pimpl.C (update): redone this function so that we
12872         update the text again if there was a CHANGE_IN_DRAW.
12873
12874         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12875         (drawFromTo): added a new internal bool which is used by draw() and
12876         redraw() function.
12877         (general): some cursor drawing problems fixed.
12878
12879 2001-08-01  Juergen Vigna  <jug@sad.it>
12880
12881         * lyxfind.C (LyXFind): fixed
12882         (SearchForward): ditto
12883         (SearchBackward): ditto
12884
12885         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12886         spurius drawing of the cursor in the main area.
12887
12888         * text2.C (status): small fix which could lead to a segfault!
12889         (clearSelection): remove unneeded BufferView param.
12890
12891 2001-08-01  André Pönitz <poenitz@gmx.net>
12892
12893         * lyxfunc.C: small change due to changed mathed interface
12894
12895 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12896
12897         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12898
12899 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12900
12901         * lyxfunc.c: fail gracefully if file doesn't exist
12902
12903         * LyXSendto.C:
12904         * buffer.C:
12905         * lyxfunc.C:
12906         * BufferView_pimpl.C: IsDirWriteable() proto changed
12907
12908         * LyXView.C: fix updateWindowTitle() to store the last title
12909
12910 2001-07-31  Juergen Vigna  <jug@sad.it>
12911
12912         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12913         the font (wrong since using of Paragraph::highestFontInRange).
12914
12915         * paragraph.C (highestFontInRange): added a default_size parameter.
12916
12917         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12918         (setHeightOfRow): reformat
12919
12920 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * converter.[hC] + affected files: move to (inital-char)lowercase
12923         function names.
12924
12925         * ParagraphParameters.C (ParagraphParameters): remove commented code
12926
12927         * PainterBase.[Ch]: remove commented code
12928
12929         * LaTeXFeatures.h: add "bool floats" for float.sty
12930
12931         * LaTeXFeatures.C (LaTeXFeatures): init floats
12932         (require): handle float
12933         (getPackages): do it with floats
12934
12935 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12936
12937         * BufferView_pimpl.C (Dispatch): improve handling of
12938         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12939
12940         * commandtags.h: #include lyxfont.h here temporarily to avoid
12941         keybinding bug.
12942
12943         * bufferlist.h: include LString.h here.
12944
12945 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12946
12947         * text2.C (getStringToIndex): new method.
12948
12949 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12950
12951         * *: Reduced header file dependencies all over.
12952
12953 2001-07-30  Baruch Even  <baruch@lyx.org>
12954
12955         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12956
12957 2001-07-29  Baruch Even  <baruch@lyx.org>
12958
12959         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12960
12961 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * ParameterStruct.h (endif): add a default constructor to make
12964         sure that all variables is initialized.
12965
12966         * ParagraphParameters.C (ParagraphParameters): adjust
12967
12968 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12969
12970         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12971         index; also, check that there is something to index, and that it
12972         does not span over several paragraphs.
12973         (doubleClick): use WHOLE_WORD_STRICT for double click.
12974
12975         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12976
12977         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12978         scheme.
12979
12980 2001-07-26  Baruch Even  <baruch@lyx.org>
12981
12982         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12983         an InsetFig figure, backwards compatible reading of old figure code.
12984
12985 2001-07-27  Juergen Vigna  <jug@sad.it>
12986
12987         * text2.C: font.realize function adaption.
12988
12989         * text.C (draw): add a warnings lyxerr text if needed.
12990
12991         * layout.C: font.realize function adaption.
12992
12993         * language.C: add inherit_language and implement it's handlings
12994
12995         * bufferview_funcs.C (StyleReset): remove language parameter from
12996         font creation (should be language_inherit now).
12997
12998         * bufferparams.C (writeFile): handle ignore_language.
12999
13000         * paragraph.C (getFontSettings): the language has to be resolved
13001         otherwise we have problems in LyXFont!
13002
13003         * lyxfont.C (lyxWriteChanges): added document_language parameter
13004         (update): removed unneeded language parameter
13005
13006         * paragraph.C (validate): fixed wrong output of color-package when
13007         using interface colors for certain fonts in certain environments,
13008         which should not seen as that on the final output.
13009
13010 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13011
13012         * BufferView_pimpl.C:
13013         * Thesaurus.h:
13014         * Thesaurus.C:
13015         * Makefile.am:
13016         * commandtags.h:
13017         * LyXAction.C: add thesaurus support
13018
13019         * lyxfind.h:
13020         * lyxfind.C: add "once" parameter, for thesaurus, to not
13021           move to the next match
13022
13023 2001-07-26  Juergen Vigna  <jug@sad.it>
13024
13025         * lyxfont.C (realize): honor ignore_language too!
13026         (resolved): ditto.
13027
13028         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13029
13030         * text.C (draw): one place more for ignore_language to not draw
13031         itself!
13032
13033 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13034
13035         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13036
13037 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13040         the minipage conversion problem.
13041
13042 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13043
13044         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13045         insert an inset.
13046
13047 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13048
13049         * BufferView.h: don't forward declare WorkArea
13050
13051         * BufferView.C: don't include WorkArea.h
13052
13053 2001-07-25  André Pönitz <poenitz@gmx.net>
13054
13055         * commandtags.h:
13056         * LyXAction.C:
13057         * lyxfunc.C:  new LFUN 'math-space'
13058
13059         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13060
13061 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13062
13063         * text2.C (toggleInset): call open/close
13064
13065 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * lyxfunc.C (dispatch): add debug for the disabled case
13068
13069         * font.C (buttonText): make similar to rectText
13070
13071         * buffer.C (readInset): comment out parsing of insetlist and
13072         insttheorem
13073
13074         * PainterBase.C (rectText): small correction
13075
13076         * BufferView_pimpl.C: comment out insettheorem and insetlist
13077         * LyXAction.C: ditto
13078         * commandtags.h: ditto
13079
13080 2001-07-24  Juergen Vigna  <jug@sad.it>
13081
13082         * text.C (draw): honor the ignore_language.
13083
13084         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13085
13086 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13087
13088         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13089         char inset.
13090
13091 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13092
13093         * lyxtext.h: remove unused (and unimplemented) methods
13094
13095 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13096
13097         * text.C (getVisibleRow): honor background color
13098
13099         * PainterBase.h:
13100         * Painter.h: remove default color argument for fillRectangle
13101
13102         * text.C (backgroundColor): new method
13103
13104 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * text.C (getVisibleRow): adjust
13107
13108         * font.[Ch] (rectText): new method, metrics
13109         (buttonText): new method, metrics
13110
13111         * PainterBase.[hC]: make rectText and buttonText always draw and take
13112         fewer paramteres.
13113
13114 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13115
13116         * ToolbarDefaults.C (read):
13117         * MenuBackend.C (read): allow escaping in all strings
13118
13119         * BufferView_pimpl.C (insertAndEditInset): new method.
13120         (Dispatch): use insertAndEditInset whenever appropriate.
13121
13122         * BufferView_pimpl.C (insertNote): removed
13123
13124         * BufferView_pimpl.C (smartQuote): new method, moved from
13125         BufferView; if an insetquote cannot be inserted, insert a '"'
13126         character instead.
13127
13128         * BufferView2.C: remove insertCorrectQuote();
13129
13130         * lyxfunc.C (getStatus): Add support for all remaingin
13131         inset-insert lfuns.
13132
13133         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13134
13135         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13136         command (necessary to pass " as parameter of self-insert.
13137
13138         * text.C (selectWordWhenUnderCursor):
13139         (selectWord): add word_location parameter
13140         (selectWordWhenUnderCursor): same + remove special code for word
13141         boundary.
13142         (selectNextWord): use kind() to guess type of insetspecialchar,
13143         not latex().
13144
13145         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13146         (insertErtContents): create ert insets as collapsed.
13147         (readInset): better compatibility code for Info inset.
13148
13149 2001-07-20  Juergen Vigna  <jug@sad.it>
13150
13151         * lyxfunc.C (dispatch): use always LyXFind now!
13152
13153         * text2.C (init): add a reinit flag so that the LyXText can be
13154         reinited instead of deleted and reallocated (used in InsetText).
13155
13156         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13157
13158         * text.C: ditto
13159
13160         * text2.C: ditto
13161
13162 2001-07-18  Juergen Vigna  <jug@sad.it>
13163
13164         * text.C (selectNextWord): handle insets inside inset by calling
13165         always the bv->text functions so that we can go up the_locking_inset!
13166
13167         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13168         in strange locations when inside an inset!
13169
13170         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13171         handling to include insets.
13172
13173         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13174
13175 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13176
13177         * LyXAction.C (init):
13178         * commandtags.h:
13179         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13180         LIGATURE_BREAK, since the name is so stupid.
13181
13182 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13183
13184         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13185         InsetInfos.
13186
13187         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13188
13189         * sp_form.[Ch]: remove.
13190
13191         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13192
13193         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13194         InsetInfo.
13195
13196         * src/buffer.C (readInset): ditto.
13197
13198 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13199
13200         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13201         menuSeparator(), endOfSentenceDot(), ldots() and
13202         hyphenationPoint(), which are therefore removed.
13203         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13204
13205         * LyXAction.C (init):
13206         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13207
13208         * paragraph.C (getWord): removed.
13209
13210         * BufferView_pimpl.C (Dispatch): use last word or selection for
13211         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13212
13213         * lyx_main.C (queryUserLyXDir): do not ask before creating
13214         user_dir, except if it has been named explicitely.
13215
13216 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13219         a document of zero size.
13220
13221 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13224         approriately in the c-tor and in require().
13225         (getPackages): output the appropriate LaTeX for natbib support.
13226
13227         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13228         variables "use_natbib" and "use_numerical_citations" when reading the
13229         LyX file.
13230         (readInset): read the various natbib cite commands.
13231         (validate): white-space change.
13232
13233         * bufferparams.[Ch]: new variables "bool use_natbib" and
13234         "bool use_numerical_citations".
13235         (writeFile): output them in the LyX file.
13236
13237 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13238
13239         * lyxfunc.C (getStatus): add support for all the inset insertion
13240         commands.
13241
13242         * text2.C (insertInset):
13243         * paragraph.C (insetAllowed):
13244         * BufferView_pimpl.C (insertInset): update to take in account the
13245         renaming of insertInsetAllowed
13246
13247         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13248
13249         * text2.C (getInset): new method. returns inset at cursor position.
13250
13251         * BufferView_pimpl.C (Dispatch): changes because of this.
13252
13253         * LyXAction.C (init): rename open-stuff to inset-toggle.
13254
13255         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13256
13257         * text2.C (toggleInset): renamed from openStuff; use
13258         Inset::open().
13259
13260 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13261
13262         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13263
13264         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13265
13266 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13267
13268         * buffer.C (readLyXformat2): Add filename to the error dialog
13269
13270 2001-07-18  Juergen Vigna  <jug@sad.it>
13271
13272         * tabular.C (GetCellNumber): put an assert here instead of the check!
13273
13274 2001-07-17  Juergen Vigna  <jug@sad.it>
13275
13276         * BufferView_pimpl.C (toggleSelection): adapted too.
13277
13278         * text.C (selectNextWord): adapted for use with insets.
13279         (selectSelectedWord): ditto
13280
13281 2001-07-17  Juergen Vigna  <jug@sad.it>
13282
13283         * sp_spell.C (PSpell): fix initialitation order.
13284
13285 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * paragraph.C: spacing
13288
13289 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13290
13291         * sp_spell.C: repair language selection for pspell
13292
13293 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * lyxfunc.h: change more methods to begin with lower char.
13296
13297 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13298
13299         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13300         for unknown layouts.
13301
13302 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13303
13304         * buffer.C (readLyXformat2): Generate an error dialog if there are
13305         unknown layouts.
13306
13307 2001-07-16  Juergen Vigna  <jug@sad.it>
13308
13309         * sp_spell.C: always compile ISpell part.
13310
13311         * lyxrc.C: added use_pspell entry and it's handling.
13312
13313 2001-07-13  Juergen Vigna  <jug@sad.it>
13314
13315         * sp_spell.C: removed double includes.
13316
13317 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13318
13319         Consistent use of Lsstream.h:
13320         * Lsstream.h: added using std::stringstream for consistencies sake.
13321
13322         * buffer.C: removed using std::stringstream
13323
13324         * lyxfont.C (stateText):
13325         * paragraph.C (asString):
13326         * text.C (selectNextWord, selectSelectedWord):
13327         * text2.C (setCounter):
13328         * vspace.C (asString, asLatexString):
13329         std::ostringstream -> ostringstream.
13330
13331 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13332
13333         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13334         * commandtags.h: add LFUN_HELP_ABOUTLYX
13335         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13336
13337 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13338
13339         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13340         cursorToggle()
13341         * lyx_gui_misc.C: remove spellchecker
13342         * lyxfunc.C: showSpellchecker
13343         * sp_base.h: added
13344         * sp_ispell.h: added
13345         * sp_pspell.h: added
13346         * sp_spell.C: added
13347         * sp_form.[Ch]: removed
13348         * spellchecker.[Ch]: removed
13349
13350 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13351
13352         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13353         is set.
13354         (simpleTeXSpecialChars): Simply print the input character without
13355         any special translation if pass_thru is set.
13356
13357         * layout.h: Added bool pass_thru to layout class for being able to
13358         implement pass through of a paragraph for Literate Programming.
13359
13360         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13361         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13362         * layout.C (Read): add "passthru" to list of layout tags and add
13363         code to set the pass_thru boolean when it is read.
13364
13365 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * trans_decl.h: remove allowed from KmodInfo
13368
13369         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13370         remove allowed code
13371         (Load): adjust
13372
13373         * paragraph_pimpl.C (erase): use boost::prior
13374
13375         * Painter.C (text): use data() instead of c_str() when length is
13376         also provided.
13377         * WorkArea.C (putClipboard): ditto
13378         * font.h (width): ditto
13379
13380         * BufferView2.C: use it-> instead of (*it). for iterators
13381         * texrow.C: ditto
13382         * paragraph_pimpl.C: ditto
13383         * paragraph.C: ditto
13384         * minibuffer.C: ditto
13385         * language.C: ditto
13386         * kbmap.C: ditto
13387         * encoding.C: ditto
13388         * counters.C: ditto
13389         * converter.C: ditto
13390         * chset.C: ditto
13391         * Variables.C: ditto
13392         * TextCache.C: ditto
13393         * MenuBackend.C: ditto
13394         * LyXAction.C: ditto
13395         * LColor.C: ditto
13396         * FloatList.C: ditto
13397         * DepTable.C: ditto
13398         * ColorHandler.C (LyXColorHandler): ditto
13399
13400 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13401
13402         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13403
13404         * text2.C (openStuff): reintroduce this method (which had been
13405         nuked in NEW_INSETS frenzy).
13406
13407         * lyxfunc.C (Dispatch): when an action has not been handled, use
13408         its name in the error message, not its number.
13409
13410         * paragraph.C (inInset): change method name to begin with lowercase.
13411
13412         * undo_funcs.C:
13413         * text2.C: updates because of this.
13414
13415 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * ToolbarDefaults.C (add): add spaces in error message
13418
13419 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13422         (readLyXformat2): rename return_par to first_par, use lyxlex's
13423         pushToken and remove the manual push handling.
13424         (parseSingleLyXformat2Token): add another ert comp. variable:
13425         in_tabular, rename return_par to first_par. handle newlines better
13426
13427 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13428
13429         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13430
13431 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13432
13433         * text2.C (getParFromID): removed
13434
13435         * buffer.C (getParFromID): new method moved form lyxtext.
13436         * BufferView2.C (insertErrors): adjust
13437         (setCursorFromRow): adjust
13438         * BufferView_pimpl.C (restorePosition): adjust
13439         * lyxfunc.C (Dispatch): adjust
13440         * undo_funcs.C (textUndo): adjust
13441         (textRedo): adjust
13442         (textHandleUndo): adjust
13443         (textHandleUndo): adjust
13444
13445 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * buffer.C: up' the LYX_FORMAT
13448
13449         * lyxfont.h: turn NO_LATEX on as default
13450
13451         * buffer.C (insertErtContents): new methods of tex style compability.
13452         (parseSingleLyXformat2Token): use it several places.
13453         * tabular.C (OldFormatRead): and here
13454
13455 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13456
13457         * text2.C: remove some commented code.
13458         reindent file.
13459
13460         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13461         * trans.C: changes because of the above.
13462
13463 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13464
13465         * text2.C (setCounter): Fix counters bug with bibliography layout.
13466
13467 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13468
13469         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13470         own member functions
13471         (simpleTeXSpecialChars): ditto
13472
13473 2001-07-06  Juergen Vigna  <jug@sad.it>
13474
13475         * a lot of files: changed the access to LyXText::status and the
13476         call of undo-functions.
13477
13478         * undo.[Ch]: added a inset_id to the undo informations.
13479
13480         * undo_funcs.[Ch]: added and moved here all undo functions.
13481
13482         * lyxtext.h: give the status enum a weight, made status_ a private
13483         variable and made accessor functions for it, removed the whole bunch
13484         of undo-functions as they are now in their own file, make some
13485         functions publically available. Added function ownerParagraph with
13486         int parameter.
13487
13488         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13489         made InInset() a const function, added getParFromID() function.
13490
13491         * buffer.[Ch]: added const version for inset_iterator functions,
13492         added getInsetFromID() function.
13493
13494         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13495         changed undo functions for new version.
13496
13497 2001-07-05  Juergen Vigna  <jug@sad.it>
13498
13499         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13500         unknow mechanism does not call the proper constructor but only this
13501         one also if I request the other!?
13502
13503 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13504
13505         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13506
13507         * text2.C (LyXText): use initialization lists.
13508
13509         * lyxtext.h (Selection): initialize set_ and mark_
13510         (init): remove method
13511
13512 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13513
13514         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13515
13516 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * screen.[Ch]: change method names to begin with lowercase
13519
13520         * BufferView_pimpl.C (updateScrollbar): simplify further and
13521         hopefully make it a bit faster.
13522
13523 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13526         calling directly xforms functions.
13527
13528         * Painter.C (Painter):
13529         * lyx_cb.C (MenuWrite):
13530         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13531         fl_display.
13532
13533         * lyx_gui.C: remove bogus guiruntime extern declaration.
13534
13535 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13538         in NEW_INSETS
13539         (redoDrawingOfParagraph): ditto
13540         (redoParagraphs): ditto
13541         (cutSelection): don't create a object for CutAndPaste use the
13542         static method directly
13543         (pasteSelection): ditto
13544
13545         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13546         LyXview (+ rename)
13547
13548 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * modifications to some other files because of this.
13551
13552         * Makefile.am (lyx_SOURCES): add XFormsView
13553
13554         * XFormsView.[Ch]: new files
13555
13556         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13557         the main window. Move the gui dependent stuff to XFormsView
13558
13559 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13560
13561         * tabular.C (GetCellInset): update cur_cell also in the row/col
13562         version of this function.
13563
13564         * lyxfunc.C: no need to include figure_form.h here.
13565
13566         * FontLoader.h:
13567         * lyxfunc.h:
13568         * lyxscreen.h:
13569         * text2.C:
13570         * lyxvc.C: no need to include forms.h here.
13571
13572 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13573
13574         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13575
13576         * lyxfunc.C (Dispatch):
13577         * Spacing.C (set):
13578         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13579         constructor argument.
13580
13581 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13582
13583         * paragraph.C (Paragraph): dont't clear, and just set layout.
13584         (makeSameLayout): use params's copy contructor.
13585
13586         * ParagraphParameters.[Ch] (makeSame): delete method
13587
13588 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * Variables.[Ch]: fix indentation, rename set to isSet
13591
13592 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13593
13594         * lyxfunc.C (Dispatch): fix typo
13595
13596 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13597
13598         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13599         upper_bound.
13600
13601         * bufferlist.C: include assert.h for emergencyWrite().
13602
13603 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13606           give up at last (bug #425202) !
13607
13608 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13609
13610         * lyx_gui_misc.C:
13611         * sp_form.h:
13612         * sp_form.C:
13613         * spellchecker.h:
13614         * spellchecker.C: strip spellchecker options and bring up
13615           preferences tab instead
13616
13617 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13620         the istringstream constructor
13621
13622 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13623
13624         * paragraph.C (getLayout): fix return value
13625
13626         * paragraph.h: do not declare getLayout as inline.
13627
13628         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13629
13630 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13631
13632         * lyxcursor.h (operator<): new func
13633         (operator>): new func
13634         (operator>=): new func
13635         (operator<=): new func
13636
13637         * text.C (changeCase): use selection.start and selection.end
13638         (changeRegionCase): require from to be <= to. Require par to be a
13639         valid paragraph.
13640
13641         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13642
13643 2001-06-27  Juergen Vigna  <jug@sad.it>
13644
13645         * text.C (cursorLeftOneWord): changed to return the cursor and added
13646         overlay with BufferView * parameter which calls this one.
13647         (getWord): added
13648         (selectWord): use new getWord function.
13649         (changeCase): renamed from changeWordCase as and extended to work
13650         also on selections.
13651
13652         * lyxtext.h: added enum word_location
13653
13654         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13655         changeCase as this operates now also on selections.
13656
13657 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13658
13659         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13660
13661         * many files: send debug output to Debug::INFO instead of
13662         Debug::ANY.
13663
13664         * converter.C (View):
13665         (Convert):
13666         (Move): send debug output to Debug::FILES instead of console.
13667
13668 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13669
13670         * lyxfunc.C (getStatus): use func_status
13671
13672         * func_status.h: new header, describing the results of
13673         LyXFunc::getStatus;
13674
13675         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13676         LFUN_MATH_HALIGN.
13677
13678 2001-06-25  The LyX Project  <jug@sad.it>
13679
13680         * buffer.C (sgmlOpenTag):
13681         (sgmlCloseTag):
13682         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13683
13684 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13685
13686         * text2.C: remove some dead code
13687
13688         * tabular.C (GetCellInset): store the last cell checked (gotten)
13689
13690         * tabular.h: add the helper for the speedup
13691
13692         * lyxtext.h: remove some dead code
13693
13694 2001-06-26  The LyX Project  <Asger>
13695
13696         * paragraph.C: Change export to LaTeX of alignment to
13697         \begin{center} and family for better roundtrip work with reLyX.
13698
13699         * Tune the math drawing a bit.
13700
13701 2001-06-25  The LyX Project  <Asger>
13702
13703         * LColor.C (LColor): New color for math background. New color
13704         for buttons.
13705
13706 2001-06-25  The LyX Project  <jug@sad.it>
13707
13708         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13709
13710         * lyxfunc.C (Open):
13711         * bufferlist.C (newFile): do not restrict to files ending with
13712         .lyx
13713
13714         * BufferView_pimpl.C (MenuInsertLyXFile):
13715
13716 2001-06-24  The LyX Project  <jug@sad.it>
13717
13718         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13719         of compare_no_case
13720
13721 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * lyxtext.h: rename most methods to begin with a small char.
13724         Lots of changes because of this.
13725
13726         * paragraph.C (Paragraph): do not call fitToSize
13727         (erase): call Pimpl::erase
13728         (insertChar): call Pimpl::insertChar
13729         (insertInset): call Pipl::insertInset
13730         (breakParagraph): do not call fitToSize
13731         (breakParagraphConservative): do not call fitToSize
13732         (fitToSize): remove method
13733
13734         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13735
13736 2001-06-24  The LyX Project  <Asger>
13737
13738         * Fix Qt compilation^2
13739
13740 2001-06-24  The LyX Project  <jug@sad.it>
13741
13742         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13743         depthHook(getDepth()-1).
13744
13745         * paragraph.h:
13746         * ParagraphParameters.h:
13747         * ParameterStruct.h: change type of depth to unsigned int ==
13748         depth_type. Many adaptations to other files before of that.
13749
13750 2001-06-24  The LyX Project  <Asger>
13751
13752         * Fix Qt compilation.
13753
13754 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13755
13756         * paragraph.h: renamed several methods to begin with small letter.
13757         several changes to many parts of the code because of this.
13758
13759 2001-06-23  The LyX Project  <jug@sad.it>
13760
13761         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13762         rewritten to discard all double spaces when KeepEmpty is off
13763         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13764         to only handle newlines but not fiddle with spaces and friends.
13765
13766         * lyxfunc.C (MenuNew): when doing 'new from template', use
13767         template_path as default directory
13768
13769 2001-06-23  The LyX Project  <Asger>
13770
13771         * Clean-up of header file includes all over
13772         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13773
13774 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * paragraph.h: renamed from lyxparagraph.h
13777
13778 2001-06-23  Asger  <lyx@violet.home.sad.it>
13779
13780         * Buffer.h: Removed Buffer::resize
13781         * BufferList.h: Removed BufferList::resize
13782         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13783         the document lazily when we change the width, or the font settings.
13784
13785 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13788
13789 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13790
13791         * buffer.h: remove out of date comment
13792
13793 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13794
13795         * lyxscreen.h:
13796         * screen.C: fix "theoretical" GC leak
13797
13798 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13799
13800         * LaTeX.C (scanAuxFile):
13801         (deplog): remove trailing \r when reading stream (useful under
13802         win32)
13803
13804 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13805
13806         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13807         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13808         and BufferView::theLockingInset(Inset*), so should use them and not
13809         access bv_->text->the_locking_inset directly.
13810
13811         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13812
13813 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13814
13815         * Makefile.am:
13816         * tex-defs.h: remove old unused file
13817
13818 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13819
13820         * BufferView_pimpl.C: fix typo, remove minibuffer message
13821           when buffer has loaded
13822
13823 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13824
13825         * lyxfunc.C (Dispatch): use stringstream
13826         (MenuNew): use stringstream
13827         (Open): use stringstream
13828
13829         * importer.C (Import): use stringstream
13830
13831         * bufferview_funcs.C (CurrentState): use stringstream
13832
13833         * LaTeX.C (run): use stringstream
13834
13835         * BufferView_pimpl.C (savePosition): use stringstream
13836         (restorePosition): use stringstream
13837         (MenuInsertLyXFile): use stringstream
13838
13839 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13840
13841         * BufferView.C:
13842         * Bullet.C:
13843         * ColorHandler.C:
13844         * FontInfo.C:
13845         * FontLoader.C:
13846         * LColor.C:
13847         * LaTeXFeatures.C:
13848         * Painter.C:
13849         * gettext.C:
13850         * lyx_gui_misc.C:
13851         * lyxserver.C:
13852         * vspace.C: removed // -*- C++ -*- as first line.
13853
13854         * lyxfind.h:
13855         * version.h: added // -*- C++ -*- as first line.
13856
13857 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13860
13861         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13862         of string
13863
13864 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13865
13866         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13867         of floats.
13868
13869 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * gettext.C: include LString.h even when --disable-nls is on.
13872
13873 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13874
13875         * converter.h (Get): changed argument type from int to
13876         FormatList::size_type to avoid unnecessary conversion.
13877
13878         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13879         before using it.
13880
13881 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13882
13883         * gettext.h: include LString.h even when --disable-nls is on.
13884
13885 2001-06-07  Juergen Vigna  <jug@sad.it>
13886
13887         * text.C (BreakAgain): subst spaces with tabs.
13888
13889         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13890         (resizeInsetsLyXText): set force on resizeLyXText.
13891
13892 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * gettext.h (gettext_init):
13895         (locale_init): use a real definition instead of a macro
13896
13897 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13898
13899         * Bufferview_pimpl.C:
13900         * LColor.h:
13901         * LColor.C: further lcolor tidies
13902
13903 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13904
13905         * BufferView_pimpl.C (updateScrollbar): simplify.
13906
13907         * BufferView2.C: don't include insets/insetinfo.h, change
13908         prototype for insertInset and call the Pimpl version. let
13909         updateInset call Pimpl version.
13910
13911         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13912         gotoInset to BufferView::Pimpl
13913
13914 2001-06-01  Juergen Vigna  <jug@sad.it>
13915
13916         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13917         inside a LockingInset (is the update needed at all?).
13918
13919 2001-05-31  Juergen Vigna  <jug@sad.it>
13920
13921         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13922         here not the old one otherwise how should we compare it afterwards
13923         if it's the same!
13924
13925 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13926
13927         * lyxfont.C:
13928         * tabular.C:
13929         * tabular-old.C:
13930         * FontInfo.C: bring C functions into global namespace when
13931         necessary
13932
13933 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * LString.h: make sure config.h has been loaded before LString.h.
13936
13937         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13938         (one for each char read by EatLine!).
13939
13940         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13941         variables.
13942
13943 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13946         to the same as the par we break from
13947
13948 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13951
13952         * MenuBackend.C (expand): also create menu entries for wide
13953         versions of the floats.
13954
13955         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13956
13957         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13958
13959         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13960         frontends/Makefile.am
13961
13962         * text2.C: adjust
13963         * text.C: adjust
13964
13965
13966         * tabular.C (getTokenValue): add std::
13967
13968         * tabular-old.C (getTokenValue): add std::
13969         (getTokenValue): ditto
13970         (getTokenValue): ditto
13971
13972         * screen.C (ToggleSelection): adjust
13973
13974         * lyxtext.h: put selection cursors inside a Selection struct.
13975
13976         * lyxfunc.C (moveCursorUpdate): adjust
13977
13978         * lyxfont.C (latexWriteStartChanges): add std::
13979
13980         * lyxfind.C: adjust
13981
13982         * font.h: delete with(char const *, LyXFont const &)
13983
13984         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13985
13986         * FontInfo.C (getFontname): add std::
13987
13988         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13989         (workAreaButtonPress): adjust
13990         (tripleClick): adjust
13991         (update): adjust
13992         (moveCursorUpdate): adjust
13993         (Dispatch): adjust
13994
13995         * BufferView2.C (gotoInset): adjust
13996
13997 2001-05-30  Juergen Vigna  <jug@sad.it>
13998
13999         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14000         to check pspell I add this as default as I now have new pspell
14001         libraries and they seem to use this.
14002
14003 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14004
14005         * text2.C (CutSelection): make the cursor valid before the call to
14006         ClearSelection.
14007
14008 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14009
14010         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14011         relied on 0 terminated strings and other horrors. Bug found due to
14012         the new assert in lyxstring!
14013
14014         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14015         KP_ keys.
14016
14017 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14018
14019         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14020         to latinkeys.bind.
14021
14022         * lyxfunc.C (processKeySym): change method of getting to the
14023         self-insert char.
14024
14025         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14026         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14027         * BufferView_pimpl.[Ch]: here as private methods.
14028
14029 2001-05-28  Juergen Vigna  <jug@sad.it>
14030
14031         * text.C (SetHeightOfRow): added the update() call again as it is
14032         needed to initialize inset dimensions!
14033
14034 2001-05-16  Juergen Vigna  <jug@sad.it>
14035
14036         * text2.C (SetCharFont): Add new function with BufferView * and
14037         bool toggleall parameters for setting insets internal fonts.
14038         (SetFont): Freeze the undo as we may change fonts in Insets and
14039         all this change should be inside only one Undo!
14040
14041         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14042         setting font's in insets as for them we have the SetFont function!
14043
14044 2001-05-15  Juergen Vigna  <jug@sad.it>
14045
14046         * text2.C (ClearSelection): to be sure we REALLY don't have any
14047         selection anymore!
14048
14049         * tabular.C (TeXCellPreamble): fixed the left border problem for
14050         multicolumn cells.
14051
14052 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14053
14054         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14055         dependancy file
14056
14057 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14058
14059         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14060         LFUN_BREAKPARAGRAPH.
14061
14062         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14063         help test to "internal only", similar for LFUN_INSERT_URL
14064
14065         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14066         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14067         auto_region_delete and deadkeys.
14068
14069 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14070
14071         * LColor.h:
14072         * LColor.C: remove some dead entries, tidy a little
14073
14074 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14075
14076         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14077         commented code.
14078         (Dispatch): implement LFUN_ESCAPE
14079
14080         * commandtags.h: add LFUN_ESCAPE
14081
14082         * LyXAction.C (init): add entry for LFUN_ESCAPE
14083
14084         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14085         Remove commented code.
14086         (insertNote): moved here
14087         (open_new_inset): moved here
14088
14089         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14090         BufferView_pimpl
14091
14092 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14093
14094         * kbmap.C (findbinding): clean it up and make it work correctly.
14095
14096         * lyx_main.C (init): do not pass argc and argv as parameters
14097
14098 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14099
14100         * buffer.C: fix path for OS/2 & Win32
14101
14102         * lyx_gui.C:
14103         * lyx_main:
14104         * lyx_main.C: Added os:: class.
14105
14106         * os2_defines.h: update
14107
14108 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14109
14110         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14111         better by trying again with reduced state.
14112
14113 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * lyxrc.C (read): print error about invalid key sequence only when
14116         debugging (because not all latinX keysyms are known to some X
14117         servers)
14118
14119         * kbsequence.C (getiso): add a few std:: qualifiers
14120         (getiso): comment out extra return statement.
14121
14122 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14123
14124         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14125         handling.
14126         (Dispatch): enhance the accent inset a bit. (not perfect)
14127
14128 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14129
14130         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14131
14132 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14133
14134         * bufferlist.C (emergencyWrite): fix assert() call
14135
14136 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14137
14138         * text.C (InsertChar): Added trivial patch to only send the "you
14139         can not do multiple spaces this way" message once during a
14140         session.
14141
14142 2001-05-08  Baruch Even  <baruch@lyx.org>
14143
14144         * Makefile.am: Changed order of libraries to get LyX to link properly
14145         with the gnome frontend.
14146
14147 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * LaTeXFeatures.h: add a std:: qualifier
14150
14151 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * paragraph.C (String): use stringstream
14154
14155 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14156
14157         * paragraph.C (writeFile): remove footflag arg
14158
14159         * buffer.C (makeLaTeXFile): use stringstream
14160         (latexParagraphs): remove footnot gurba
14161
14162         * LaTeXFeatures.C (getPackages): use stringstream
14163         (getMacros): likewise
14164         (getTClassPreamble): likewise
14165         (getFloatDefinitions): new method
14166
14167         * paragraph.C (writeFile): reindent
14168         (Erase): reindent
14169
14170         * WorkArea.h: revert the xpos + etc changes.
14171
14172         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14173
14174         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14175
14176         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14177         (pasteSelection): likewise
14178         * text2.C (CreateUndo): likewise
14179
14180 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * minibuffer.C (peek_event): temporarily reduce the functionality
14183         of the minibuffer (to allow args on lfuns)
14184
14185         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14186         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14187
14188         * buffer.C (readInset): add compability reading of old float
14189         lists, add reading of new style float list.
14190         (readInset): avoid reevaluation of inscmd.getCmdName()
14191         (getLists): reindent
14192
14193         * MenuBackend.C (MenuItem): implement parsing of
14194         md_floatlistinsert and md_floatinsert.
14195         (expand::LastFiles): move initalizaton of iterators out of loop,
14196         avoid reevaluation.
14197         (expand::Documents): introduce typdedef vector<string> Strings,
14198         and use it.
14199         (expand::ExportFormats): introduce typedef vector<Format const *>
14200         Formats, and use it.
14201         (expand): implement FloatListInsert and FloatInsert.
14202
14203         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14204         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14205         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14206
14207         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14208         handling.
14209         (Dispatch::LFUN_FLOAT_LIST): implement
14210
14211 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14212
14213         * LaTeX.C (run): Fix problem with --export code.
14214
14215 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14216
14217         * BufferView.[Ch] (workarea): removed.
14218         (getClipboard) new method; wrapper for workarea()->getClipboard()
14219
14220         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14221         bug.
14222
14223         * WorkArea.h (width, height, xpos, ypos): These methods all
14224         returned the dimensions of the work_area sub-area of WorkArea,
14225         resulting in a position error if the WorkArea were resized. Now
14226         return the dimensions of the entire WorkArea.
14227
14228         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14229
14230 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14231
14232         * LaTeX.C (deplog): correct the syntax of regex reg1
14233
14234 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14235
14236         * undo.C: remove !NEW_INSETS cruft
14237
14238 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14239
14240         * text2.C: remove !NEW_INSETS cruft
14241
14242         * text.C: remove !NEW_INSETS cruft
14243
14244         * tabular.C: remove !NEW_INSETS cruft
14245
14246         * spellchecker.C: remove !NEW_INSETS cruft
14247
14248         * lyxtext.h: remove !NEW_INSETS cruft
14249
14250         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14251
14252         * lyxfunc.C: remove !NEW_INSETS cruft
14253
14254         * lyxfind.C: remove !NEW_INSETS cruft
14255
14256         * lyx_cb.C: remove !NEW_INSETS cruft
14257
14258         * figureForm.C: remove  !NEW_INSETS cruft
14259
14260         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14261
14262         * buffer.[Ch]: remove !NEW_INSETS cruft
14263
14264         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14265
14266         * CutAndPaste.C: remove !NEW_INSETS cruft
14267
14268         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14269
14270         * BufferView2.C: remove !NEW_INSETS cruft
14271
14272         * BufferView.h: remove !NEW_INSETS cruft
14273
14274 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14275
14276         * Lsstream.h: include LString.h before the sstream headers to
14277         fix problem with gcc 2.95.3 and lyxstring
14278
14279 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * lyx_main.C: add using directives when needed for C functions
14282         declared in std:: namespace.
14283
14284 2001-04-27  Juergen Vigna  <jug@sad.it>
14285
14286         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14287         (SetHeightOfRow): comment out the update call should not be needed!
14288
14289 2001-04-13  Juergen Vigna  <jug@sad.it>
14290
14291         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14292         (LyXTabular): tried to minimize operator= operations (and realized
14293         hopfully Lars wish).
14294
14295 2001-04-27  Juergen Vigna  <jug@sad.it>
14296
14297         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14298
14299 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14302
14303         * buffer.C (readInset): hack to make listof algorithm work
14304
14305         * BufferView_pimpl.C: hack to make listof algorithm work
14306
14307 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14308
14309         * LyXAction.C: removed all !NEW_INSETS cruft
14310         (init): moved lfun_item in method
14311
14312         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14313
14314 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14315
14316         * BufferView2.C (theLockingInset): white space.
14317
14318 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * minibuffer.C: include <iostream>
14321
14322         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14323
14324         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14325
14326         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14327
14328         * text.[Ch] (TransposeChars): new method
14329
14330 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14331
14332         * call message directly through LyXView instead of through LyXFunc
14333         * BufferView2.C: adjust
14334         * BufferView_pimpl.C: adjust
14335         * FontLoader.C: adjust
14336         * buffer.C: adjust
14337         * bufferview_funcs.C: adjust
14338         * converter.C: adjust
14339         * figureForm.C: adjust
14340         * importer.C: adjust
14341         * lyx_cb.C: adjust
14342         * lyx_gui_misc.C: adjust
14343         * lyxfunc.C: adjust
14344         * lyxvc.C: adjust
14345         * text2.C: adjust
14346         + more files in subdirs
14347
14348         * lyxparagraph.h (size): move up int file
14349         (GetLayout): ditto
14350
14351         * adjust all uses of Assert to lyx::Assert.
14352
14353         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14354         lyxfunctional in namespace lyx
14355         * layout.C (hasLayout): ditto
14356         (GetLayout): ditto
14357         (GetLayout): ditto
14358         (delete_layout): ditto
14359         (NumberOfClass): ditto
14360         * converter.C (GetFormat): ditto
14361         (GetNumber): ditto
14362         (Add): ditto
14363         (Delete): ditto
14364         (SetViewer): ditto
14365         * bufferlist.C (getFileNames): ditto
14366         (emergencyWriteAll): ditto
14367         (exists): ditto
14368         (getBuffer): ditto
14369         * MenuBackend.C (hasSubmenu): ditto
14370         (hasMenu): ditto
14371         (getMenu): ditto
14372         * BufferView_pimpl.C (getInsetByCode): ditto
14373
14374 2001-04-18  Juergen Vigna  <jug@sad.it>
14375
14376         * vspace.C (asLatexString): fixed the 100% problem.
14377
14378 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14379
14380         * lyxfunc.C (Dispatch):
14381         * minibuffer.C:
14382         * minibuffer.h: add a few std:: qualifiers
14383
14384 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * minibuffer.[Ch]: reimplement so that commands is initiated and
14387         run from lyxfunc, simplified som handling, and made the completion
14388         and history code for complete. wip.
14389
14390         * lyxfunc.C (processKeySym): call message
14391         (miniDispatch): new temporary method
14392         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14393         (LFUN_MESSAGE): implement
14394         (LFUN_MESSAGE_PUSH): implement
14395         (LFUN_MESSAGE_POP): implement
14396         (initMiniBuffer): the initial/defualt minibuffer message.
14397
14398         * lyxfont.[Ch]: inline some more getters
14399
14400         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14401
14402         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14403
14404         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14405         (AutoSave): use LFUN_MESSAGE
14406         (Reconfigure): ditto
14407
14408         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14409
14410         * figureForm.C: use LFUN_MESSAGE
14411
14412         * converter.C (runLaTeX): use LFUN_MESSAGE
14413
14414         * bufferview_funcs.C: use LFUN_MESSAGE
14415         (Melt): ditto
14416         (changeDepth): ditto
14417
14418         * bufferparams.h: use boost::
14419
14420         * bufferlist.h: inherit privately from noncopyable
14421
14422         * bufferlist.C (loadLyXFile): remove some commented code.
14423
14424         * buffer.C (runChktex): use LFUN_MESSAGE
14425
14426         * ShareContainer.h: inherit privately from noncopyable
14427
14428         * ParagraphParameters.[hC] (depth): inline it.
14429
14430         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14431         methods.
14432         (message): new method
14433         (messagePush): ditto
14434         (messagePop): ditto
14435         (show): init minibuffer
14436         (showState): direct call
14437
14438         * LaTeX.[Ch]: inherit privately from noncopyable
14439         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14440         instead of WriteStatus.
14441
14442         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14443
14444         * BufferView_pimpl.C (buffer): don't init minibuffer
14445         (workAreaButtonPress): use LFUN_MESSAGE
14446         (workAreaButtonRelease): ditto
14447         (savePosition): ditto
14448         (restorePosition): ditto
14449         (MenuInsertLyXFile): ditto
14450         (workAreaExpose): don't init minibuffer
14451         (update): remove commented code, simplify
14452
14453         * BufferView2.C (openStuff): use LFUN_MESSAGE
14454         (toggleFloat): ditto
14455         (menuUndo): ditto
14456         (menuRedo): ditto
14457         (copyEnvironment): ditto
14458         (pasteEnvironment): ditto
14459         (copy): ditto
14460         (cut): ditto
14461         (paste): ditto
14462         (gotoInset): ditto
14463         (updateInset): remove some commented code
14464
14465         * lastfiles.h: inherit privately from noncopyable
14466         * layout.h: ditto
14467         * lyx_gui.h: ditto
14468         * lyx_main.h: ditto
14469         * lyxlex.h: ditto
14470         * lyxlex_pimpl.h: ditto
14471
14472         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14473         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14474         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14475
14476         * LyXAction.h: inherit privately from noncopyable, add methods
14477         func_begin, func_end, returning iterators to the func map.
14478
14479         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14480         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14481         (func_begin): new method
14482         (func_end): new method
14483
14484         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14485         and not)
14486         (copySelection): ditto
14487         (pasteSelection): ditto
14488
14489         * BufferView.C: whitespace change
14490         * BufferView.h: inherit privately from noncopyable
14491
14492 2001-04-16  Allan Rae  <rae@lyx.org>
14493
14494         * tabular-old.C (l_getline):
14495         * spellchecker.C (sc_check_word):
14496         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14497         an unrecognised preprocessor directive.  So ensure they're wrapped.
14498
14499 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14500
14501         * src/exporter.C (Export): Give an error message when path to file
14502         contains spaces.
14503
14504 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14505
14506         * LaTeX.C (deplog): Always check that foundfile exists.
14507
14508 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14509
14510         * lyx_main.h:
14511         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14512
14513 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * tabular.[Ch] (getLabelList): implement new method
14516
14517         * minibuffer.h: comment ouf setTiimer
14518
14519         * minibuffer.C (ExecutingCB): constify res
14520         (peek_event): constify s
14521         (Set): constify ntext
14522         (Init): constify nicename
14523
14524         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14525
14526         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14527         (savePosition): use two params to Minibuffer::Set
14528         (restorePosition): ditto
14529
14530 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14531
14532         * lyx_main.C: include language.h
14533
14534         * Makefile.am (lyx_main.o): add language.h
14535
14536 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14537
14538         * exporter.C:
14539         * paragraph.C:
14540         * screen.C:
14541         * tabular.C:
14542         * CutAndPaste.C: include gettext.h
14543
14544         * lyxfont.h: remove old hack with ON and OFF.
14545
14546         * lyxparagraph.h:
14547         * lyxfont.h: do not include language.h...
14548
14549         * BufferView2.C:
14550         * LaTeXFeatures.C:
14551         * Painter.C:
14552         * bufferview_funcs.C:
14553         * font.C:
14554         * lyxfont.C:
14555         * text.C:
14556         * text2.C:
14557         * trans_mgr.C:
14558         * paragraph.C: ... but do it here instead
14559
14560 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14561
14562         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14563
14564         * tabular.C: small reformat
14565
14566         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14567         NEW_INSETS version
14568         (GetChar): ditto
14569         (BreakParagraph): ditto
14570         (SetOnlyLayout): ditto
14571         (SetLayout): ditto
14572
14573         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14574         with one arg less.
14575
14576         * lastfiles.C: removed most using decl, add std:: where needed
14577
14578         * buffer.C: ws changes
14579
14580         * MenuBackend.C (class compare_format): put into anon namespace
14581         (expand): constify label, names, action, action2
14582         (expand):
14583
14584         * text.C (SingleWidth): constify font
14585         (IsBoundary): constify rtl2
14586         (GetVisibleRow): constify ww
14587
14588         * LaTeX.C (deplog): constify logfile
14589
14590         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14591         start_x, end_x
14592         (workAreaExpose): constify widthChange, heightChange
14593
14594         * lyxrow.C (par): moved
14595         (height): moved
14596         (next): moved
14597         * lyxrow.h: as inlines here
14598
14599         * lyxfont.h (shape): moved from lyxfont.C
14600         (emph): moved from lyxfont.C
14601
14602         * lyxfont.C (LyXFont): use initialization list for all
14603         constructors
14604         (shape): move to lyxfont.h as inline
14605         (emph): move to lyxfont.h as inline
14606
14607
14608 2001-04-04  Juergen Vigna  <jug@sad.it>
14609
14610         * vspace.C: had to include stdio.h for use of sscanf
14611
14612 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14613
14614         * BufferView.h:
14615         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14616         independent of xforms.
14617
14618 2001-04-02  Juergen Vigna  <jug@sad.it>
14619
14620         * spellchecker.C: fixed namespace placing!
14621
14622 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14623
14624         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14625         the LyXParagraph * is 0.
14626
14627 2001-03-29  Juergen Vigna  <jug@sad.it>
14628
14629         * vspace.C: added support for %, c%, p%, l%.
14630         (stringFromUnit): added helper function.
14631         (asLatexString): changed to give right results for the %-values.
14632
14633         * buffer.C: convert the widthp in a width%.
14634
14635 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14636
14637         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14638         figureForm.[Ch].
14639
14640         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14641         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14642
14643         * lyx_cb.[Ch]: see above.
14644
14645         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14646         form1.[Ch].
14647
14648         * form1.[Ch]:
14649         * lyx.[Ch]: replaced by figure_form.[Ch].
14650
14651         * lyx_gui.C:
14652         * lyx_gui_misc.C:
14653         * lyxfunc.C: changed headers associated with above changes.
14654
14655 2001-03-27  Juergen Vigna  <jug@sad.it>
14656
14657         * BufferView_pimpl.C: set the temporary cursor right!
14658
14659 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14660
14661         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14662
14663 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14664
14665         * LString.h: removed "using std::getline"!
14666
14667         * BufferView_pimpl.C (Dispatch): changes due to changes in
14668         InsetInclude::Params.
14669
14670         * buffer.C (tag_name): removed redundant break statements as they were
14671         producing lots of warnings with my compiler.
14672
14673 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14674
14675         * LString.h: add "using std::getline" when using the real <string>.
14676
14677 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14678
14679         * buffer.C: removed bitset usage.
14680         PAR_TAG moved to an anonymous name space.
14681         (tag_name): new funtion, also in the anonymous namespace.
14682         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14683         (makeDocBookFile): clean code. Completed transition from string arrays
14684         to string vectors.
14685         (SimpleDocBookOnePar): code clean.
14686
14687 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14688
14689         * tabular.C: add some comments.
14690
14691 2001-03-22  Juergen Vigna  <jug@sad.it>
14692
14693         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14694         compatibility read a bit and fixed bug with minipage in different
14695         depth.
14696
14697 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14698
14699         * buffer.C (pop_tag): removed.
14700         (push_tag): removed.
14701         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14702         array replaced with vector. Added support for CDATA sections.
14703         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14704         at any nest level.
14705         (makeDocBookFile): XML conformant declaration of CDATA section,
14706         fixed bug related to <emphasis> in the first paragraph char.
14707         (sgmlOpenTag): exclude empty tags.
14708         (sgmlCloseTag): ditto.
14709
14710         * buffer.h (pop_tag): removed.
14711         (push_tag): removed.
14712
14713 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14714
14715         * language.h (Languages): added size_type and size().
14716
14717 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14718
14719         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14720         response on compability reading of minipages. One probliem is that
14721         the old usage of minipages was «flertydig»
14722
14723         * several files here and in subdirs: don't use static at file
14724         scope use anon namespaces instead.
14725
14726 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14727
14728         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14729         LaTeX output. This is necessary for Literate document
14730         processing.
14731
14732 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14733
14734         * buffer.C: insert hfill when needed.
14735
14736         * tabular.C (l_getline): use string::erase, small whitespace change.
14737
14738         * BufferView_pimpl.C: try the anon namespace.
14739         * WorkArea.C: ditto
14740
14741 2001-03-16  Juergen Vigna  <jug@sad.it>
14742
14743         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14744         otherwise it won't open options-dialogs.
14745
14746         * buffer.C: honor pextraWidth(p) on converting minipages.
14747
14748         * tabular.C (l_getline): changed the functions to strip trailing \r.
14749
14750 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14751
14752         * BufferView_pimpl.C:
14753         * minibuffer..C: added "using SigC::slot" declaration.
14754
14755 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14756
14757         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14758
14759         * text2.C: ditto
14760
14761         * text.C: ditto
14762
14763         * paragraph.C: ditto
14764
14765         * lyxtext.h: NO_PEXTRA
14766
14767         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14768
14769         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14770         * ParameterStruct.h: ditto
14771         * ParagraphParameters.h: ditto
14772         * lyxparagraph.h: ditto
14773
14774 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14775
14776         * buffer.C: add compability for minipage alignment.
14777         (latexParagraphs): remove unwanted pextra check.
14778
14779         * several files: remove CXX_WORKING_NAMESPACES
14780
14781         * buffer.C (pop_tag): tie is in namespace boost
14782
14783         * BufferView.h: noncopyable is in namespace boost
14784         * lyxlex.h: ditto
14785         * lyx_main.h: ditto
14786         * lyx_gui.h: ditto
14787         * layout.h: ditto
14788         * lastfiles.h: ditto
14789         * bufferlist.h: ditto
14790         * ShareContainer.h: ditto
14791         * LyXView.h: ditto
14792         * LyXAction.h: ditto
14793         * LaTeX.h: ditto
14794
14795 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14796
14797         * Merging changes from BRANCH_MVC back into HEAD.
14798
14799         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14800
14801 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14802
14803         * BufferView_pimpl.C: change from intl.C
14804
14805         * combox.h:
14806         * combox.C:
14807         * Makefile.am: move combox.*
14808
14809         * form1.h:
14810         * form1.C:
14811         * lyx_gui.C:
14812         * intl.h:
14813         * intl.C: remove dialog (covered by prefs)
14814
14815 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14816
14817         * lyxfunc.C (Dispatch): removed redundant break statement.
14818
14819 2001-03-14  Juergen Vigna  <jug@sad.it>
14820
14821         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14822
14823 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14824
14825         * buffer.C: add hack to fix compability reading of minipages.
14826
14827 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14828
14829         * buffer.C (getLists): Cleanup.
14830
14831 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * lyxfont.C (update): don't honor toggleall on font size.
14834
14835 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * bmtable.c:
14838         * bmtable.h:
14839         * Makefile.am: moved to frontends/xforms/
14840
14841         * lyx_gui_misc.C:
14842         * lyxfunc.C:
14843         * BufferView_pimpl.C: changes for moved mathpanel
14844
14845 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14846
14847         * gettext.h: fix gettext_init() in --disable-nls
14848
14849 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14850
14851         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14852
14853 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * lyx.C:
14856         * lyx.h: strip external form
14857
14858 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14859
14860         * BufferView_pimpl.C: add comment, destroySplash()
14861
14862 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14863
14864         * BufferView_pimpl.C:
14865         * LyXAction.C:
14866         * buffer.C:
14867         * commandtags.h:
14868         * lyxfunc.C: use re-worked insetinclude
14869
14870 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14871
14872         * buffer.C: add using std::stringstream.
14873
14874         * lyx_cb.C: readd using std::ios.
14875
14876         * buffer.C: add using std::map.
14877
14878         * BufferView_pimpl.C: add using std::vector.
14879
14880         * ShareContainer.h: add std:: to swap.
14881
14882         * buffer.h: add some typedefs
14883         * buffer.C (getLists): use them
14884         (getLists): renamed from getTocList.
14885         add a counter for the different float types and use it in the
14886         generated string.
14887         (getLists): use the same counter for the NEW_INSETS and the "non"
14888         NEW_INSETS
14889
14890         * lyx_cb.h: remove unused items, includes, using etc.
14891
14892         * ShareContainer.h: remove some commented code, add more comments
14893         and "documentation".
14894
14895 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14896
14897         * buffer.C (getTocList): make the list also when NEW_INSETS is
14898         defined.
14899
14900         * buffer.h: remove TocType
14901
14902         * buffer.C (getTocList): change to return a map<string,
14903         vector<TocItem> >, implement for dynamic number of list.
14904
14905         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14906         * text2.C (PasteSelection): adjust
14907         * CutAndPaste.C (pasteSelection): adjust
14908
14909         * FloatList.C (FloatList): update from the new_insets branch.
14910         * Floating.[Ch]: ditto
14911         * LaTeXFeatures.C: ditto
14912         * buffer.C: ditto
14913         * lyxlex_pimpl.C: ditto
14914
14915         * paragraph.C (Last): remove when NEW_INSETS is defined.
14916
14917         * other file: changes because of the above.
14918
14919 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14920
14921         * lyxparagraph.h: rename next to next_, previous to previous_,
14922         make them private for NEW_INSETS. Rename Next() to next(),
14923         Previous() to previous().
14924
14925         * other files: changes because of the above.
14926
14927 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14928
14929         * BufferView.h:
14930         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14931         problem.
14932
14933 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14934
14935         * main.C (main): pass lyx_localedir to gettext_init().
14936
14937         * gettext.h: remove locale_init and gettext_init macros
14938
14939         * gettext.C (locale_init): new function
14940         (gettext_init): new function
14941
14942         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14943         setlocale().
14944
14945 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14946
14947         * Moved credits to frontends:
14948         * credits.[Ch]: removed
14949         * credits_form.[Ch]: removed
14950         * lyx_gui_misc.C: remove credits stuff
14951         * Makefile.am:
14952
14953 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14954
14955         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14956
14957         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14958         unneeded destructor.
14959
14960         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14961         a standalone pointer again.
14962
14963         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14964
14965 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * Makefile.am:
14968         * filedlg.h:
14969         * filedlg.C:
14970         * LyXAction.C:
14971         * ToolbarDefaults.C:
14972         * bufferlist.C:
14973         * commandtags.h:
14974         * form1.C:
14975         * form1.h:
14976         * lyx_cb.C:
14977         * lyx_cb.h:
14978         * lyxfunc.h:
14979         * lyxfunc.C:
14980         * BufferView_pimpl.C: use new file dialog in GUII
14981
14982         * lyx_cb.h:
14983         * lyx_cb.C: remove LayoutsCB to Toolbar
14984
14985 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14986
14987         * ShareContainer.h (get): add std:: qualifier
14988
14989 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * ShareContainer.h: define a proper ShareContainer::value_type
14992         type (and use typename to please compaq cxx)
14993
14994 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14995
14996         * lyxparagraph.h: move serveral local vars to
14997         ParameterStruct/ParagraphParameters., use ShareContainer in
14998         FontTable., make vars in FontTable private and add getter and
14999         setter.
15000
15001         * paragraph.C: changes because of the above.
15002
15003         * lyxfont.h: remove copy constructor and copy assignment. (the
15004         default ones is ok), move number inside FontBits. move inlines to
15005         lyxfont.C
15006
15007         * lyxfont.C: add number to initializaton of statics, move several
15008         inlines here. constify several local vars. some whitespace
15009         cleanup. Dont hide outerscope variables.
15010
15011         * Spacing.h: add two new constructors to match the set methods.
15012
15013         * ShareContainer.h: new file, will perhaps be moved to support
15014
15015         * ParameterStruct.h: new file
15016
15017         * ParagraphParameters.h: new file
15018
15019         * ParagraphParameters.C: new file
15020
15021         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15022         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15023
15024         * BufferView_pimpl.C: ParagraphParameter changes.
15025         * buffer.C: Likewise.
15026         * bufferview_funcs.C: Likewise.
15027         * text.C: Likewise.
15028         * text2.C: Likewise.
15029
15030 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * lyxfind.C (LyXReplace): do not redefine default argument in
15033         implementation.
15034         (IsStringInText): ditto
15035         (SearchForward): ditto
15036         (SearchBackward): ditto
15037
15038 2001-03-06  Juergen Vigna  <jug@sad.it>
15039
15040         * lyxfind.C (IsStringInText): put parentes around expressions.
15041
15042 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15043
15044         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15045
15046 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15047
15048         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15049
15050         * stl_string_fwd.h: add comment
15051
15052         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15053
15054         * tabular.h:
15055         * tabular.C: remove unused DocBook methods
15056
15057         * intl.C:
15058         * language.C:
15059         * paragraph.C:
15060         * buffer.C:
15061         killed DO_USE_DEFAULT_LANGUAGE
15062
15063 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * lyx_gui.C: do not include language.h.
15066
15067         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15068         arguments in function implementation.
15069
15070 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15071
15072         * BufferView_pimpl.C: add <ctime>
15073
15074 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15075
15076         * BufferView_pimpl.C: add using std::find_if
15077
15078 2001-02-27  José Matos  <jamatos@fep.up.pt>
15079
15080         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15081         by OnlyPath.
15082
15083 2001-02-11  José Matos  <jamatos@fep.up.pt>
15084
15085         * buffer.C (makeDocBookFile): command styles now have a parameter as
15086         "title" by default.
15087
15088 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15089
15090         * layout_forms.[Ch]: removed
15091         * lyx_cb.[Ch]: out character
15092         * lyx_gui.C: out character
15093         * lyx_gui_misc.C: out character
15094         * bufferview_funcs.C: : out character,
15095         added toggleall as parameter in ToggleAndShow
15096
15097 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15100
15101         * text2.C (SetCurrentFont): Disable number property at boundary.
15102
15103 2001-02-26  Juergen Vigna  <jug@sad.it>
15104
15105         * lyxfunc.C (getStatus): added a string argument override function so
15106         that this is correctly called from LyXFunc::Dispatch if it contains a
15107         do_not_use_argument which is used!
15108         (Dispatch): added check for "custom" export and call appropriate func.
15109
15110 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * lyxrc.C: Add language_command_local, language_use_babel and
15113         language_global_options.
15114
15115         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15116
15117         * buffer.C (makeLaTeXFile): Use language_use_babel and
15118         language_global_options.
15119
15120 2001-02-23  Juergen Vigna  <jug@sad.it>
15121
15122         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15123         which works with LyXText and putted it inside BufferView. Here now we
15124         only call for that part the BufferView::Dispatch() function.
15125
15126         * BufferView.C (Dispatch): added.
15127
15128         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15129         functions which needs to use a LyXText over from LyXFunc.
15130         (MenuInsertLyXFile): added
15131         (getInsetByCode): added
15132         (moveCursorUpdate): added
15133         (static TEXT): added
15134
15135 2001-02-22  Juergen Vigna  <jug@sad.it>
15136
15137         * BufferView_pimpl.C (update): call a status update to see if LyXText
15138         needs it.
15139
15140 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15141
15142         * vc-backend.C (revert): implement for CVS
15143         (getLog): implement for CVS
15144
15145 2001-02-20  Juergen Vigna  <jug@sad.it>
15146
15147         * text2.C (ClearSelection): added BufferView param for inset_owner call
15148
15149         * lyxfunc.C (TEXT): added this function and use it instead of
15150         directly owner->view()-text of getLyXText().
15151
15152 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15153
15154         * src/layout_forms.C: out preamble
15155         * src/layout_forms.h: out preamble
15156         * src/lyx_cb.C: out preamble
15157         * src/lyx_cb.h: out preamble
15158         * src/lyx_gui.C: out preamble
15159         * src/lyx_gui_misc.C: out preamble
15160         * src/lyxfunc.C: connect with guii preamble
15161
15162 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15163
15164         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15165
15166 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15169         whether to run bibtex.
15170
15171 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15174
15175 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15176
15177         * Makefile.am (lyx_SOURCES): removed bibforms.h
15178
15179         * vspace.h: doxygen
15180
15181         * text.C (GetVisibleRow): make several local vars const
15182
15183         * tabular.C: small cleanup.
15184
15185         * lyxserver.C (callback): use compare instead of strncmp
15186
15187         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15188         inlines to after class or to paragraph.C
15189
15190         * lyxfont.h: remove friend operator!=
15191
15192         * converter.h: move friend bool operator< to non friend and after
15193         class def.
15194
15195         * combox.h: small cleanup
15196
15197         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15198         to inlines after class def.
15199
15200         * buffer.C (pop_tag): use string operations instead of strcmp
15201
15202         * bmtable.c: doxygen, small cleanup
15203
15204         * LaTeX.h: remove friend operator==
15205
15206 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15207
15208         * screen.C:
15209         * lyxrc.[Ch]:
15210         * lyxfunc.C:
15211         * lyxfont.[Ch]:
15212         * lyx_cb.C:
15213         * intl.[Ch]:
15214         * commandtags.h:
15215         * buffer.C:
15216         * WorkArea.[Ch]:
15217         * LyXAction.C:
15218         * BufferView_pimpl.C:
15219         * BufferView.[Ch]: remove cruft
15220
15221 2001-02-14  Juergen Vigna  <jug@sad.it>
15222
15223         * lyxfunc.C: removed #if 0 unused code
15224
15225         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15226
15227         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15228
15229         * text2.C (SetSelection): added a BufferView * parameter
15230
15231 2001-02-13  Juergen Vigna  <jug@sad.it>
15232
15233         * lyxfunc.C (Dispatch): fixed protected blank problem.
15234         * BufferView2.C (protectedBlank): added LyxText * parameter.
15235
15236         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15237         (AppendColumn): same as above for column_info.
15238
15239         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15240         (moveCursorUpdate): use a LyXText param for support of InsetText.
15241
15242         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15243         (tripleClick): ditto
15244
15245         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15246
15247         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15248
15249         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15250
15251         * text2.C (SetSelection): set correct update status if inset_owner
15252         (ToggleFree): ditto
15253
15254 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15255
15256         * tabular.C: remove some commented code.
15257
15258 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15259
15260         * BufferView_pimpl.C: call hideSplash()
15261
15262         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15263
15264         * include_form.h:
15265         * bibforms.h: remove
15266
15267         * lyxfunc.C:
15268         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15269           add LFUN_CHILD_CREATE
15270
15271         * counters.h: fix tiny typo
15272
15273         * lyx_cb.C:
15274         * lyx.h:
15275         * lyx_gui.C:
15276         * lyx.C: move splash to frontends/xforms/
15277
15278         * lyx_gui_misc.C: move Include and Bibform to frontends
15279
15280         * lyxvc.h: clarify comment
15281
15282         * vspace.C: tiny housekeeping
15283
15284 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15285
15286         * text.C (PrepareToPrint): RTL Fix.
15287
15288         * paragraph.C (GetUChar): New method.
15289         (String):  Use GetUChar.
15290
15291         * buffer.C (asciiParagraph): Use GetUChar.
15292
15293 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15294
15295         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15296
15297 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * buffer.h:
15300         * buffer.C: rename to getLogName(), handle
15301           build log / latex log nicely
15302
15303 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15304
15305         * MenuBackend.C:
15306         * MenuBackend.h: remove support for reference menuitem type.
15307
15308 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15309
15310         * BufferView_pimpl.C: housekeeping
15311         * BufferView_pimpl.h:
15312         * LyXView.h:
15313         * Makefile.am:
15314         * Timeout.C:
15315         * Timeout.h:
15316         * minibuffer.h: move Timeout GUI-I
15317
15318 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15319
15320         * lyxrc.C (read): Update converters data-structures.
15321
15322 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15323
15324         * LaTeX.h (operator!=): add operator != for Aux_Info
15325
15326 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15327
15328         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15329
15330         * LaTeXLog.C: deleted, useful code moved to Buffer
15331
15332         * buffer.h:
15333         * buffer.C: new function getLatexLogName()
15334
15335         * lyx_gui_misc.C:
15336         * lyx_gui.C:
15337         * lyxvc.C:
15338         * lyxvc.h:
15339         * lyxfunc.C: use frontends for LaTeX and VC logs
15340
15341 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15342
15343         * LaTeX.h: yet another std:: that Allan forgot.
15344
15345         * Variables.C (set): renamed from isset(), because this clashes
15346         with some HP-UX macros (grr).
15347
15348 2001-02-06  Allan Rae  <rae@lyx.org>
15349
15350         * LaTeX.h: Another bug fix.  Missing std:: this time.
15351
15352 2001-02-04  Allan Rae  <rae@lyx.org>
15353
15354         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15355         floats problem. I've left it commented out because it's not quite
15356         correct.  It should also test that the current object is a table or
15357         figure inset.  But I haven't gotten around to figuring out how to do
15358         that.  I *think* it'll be something like: "table" == inset.type()
15359
15360         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15361         bool.
15362
15363 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15364
15365         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15366         all the citation/databases/styles in the auxilary file.
15367         (run): Rerun latex if there was a babel language error.
15368
15369 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15370
15371         * text.C (Backspace): Preserve the font when changing newline char
15372         with a space.
15373         (BreakParagraph): If the cursor is before a space, delete the space.
15374
15375         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15376
15377 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15378
15379         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15380         new argument (code).
15381         (ChangeCitationsIfUnique): New method.
15382
15383         * paragraph.C (GetPositionOfInset): Handle bibkey.
15384
15385 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * BufferView_pimpl.h: change type of Position::par_pos to
15388         LyXParagraph::size_type.
15389
15390 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * BufferView_pimpl.C (savePosition, restorePosition): Write
15393         messages to minibuffer.
15394
15395 2001-01-28  José Matos  <jamatos@fep.up.pt>
15396
15397         * buffer.C (makeDocBookFile): adds support for document language.
15398         A silly restriction on the name of LatexCommand types where removed.
15399         Added support for CDATA sections, allows to chars unescaped, used
15400         among others in code, to avoid escape < and >.
15401
15402 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15403
15404         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15405         saved positions instrad of a stack. Furthermore, a position is
15406         stored using paragraph id/paragraph position.
15407
15408         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15409         Remove LFUN_REF_BACK.
15410
15411 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15412
15413         * converter.C (dvipdfm_options): New method.
15414
15415 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15416
15417         * vspace.C (isValidLength): Fix for empty input string.
15418
15419 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15420
15421         * LyXAction.C (init): change description of LFUN_FIGURE to
15422         "Insert Graphics"
15423
15424 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15425
15426         * LaTeX.C: add using directive
15427
15428 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15429
15430         * MenuBackend.C (expand): Fix the sorting of the formats.
15431
15432 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15433
15434         * lyx_main.C: tiny error message fix
15435
15436 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15437
15438         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15439         calling fl_initialize(). This fixes the problem with ',' as
15440         decimal separator in text files.
15441
15442 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15443
15444         * trans.C (process): Fix the keymap bug.
15445
15446 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15447
15448         * LaTeX.C (scanAuxFiles): New method. Provides support for
15449         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15450         (scanLogFile) Scan for "run BibTeX" messages.
15451
15452         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15453         OT1 font encoding. Also, load the aecompl package if the ae
15454         package is loaded.
15455
15456         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15457
15458 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * texrow.C (increasePos): turn two error messages into debug
15461         messages.
15462
15463 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15464
15465         * LaTeX.C (scanAux): Handle the \@input macro.
15466         (runBibTeX): Use scanAux().
15467
15468         * language.C (latex_options_): New field.
15469
15470         * LaTeXFeatures.C (getMacros): Add language macros.
15471
15472         * buffer.C (makeLaTeXFile): Small fix.
15473
15474 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15475
15476         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15477
15478         * text2.C: add a using directive.
15479
15480 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15481
15482         * BufferView2.C:
15483         * lyx_gui_misc.h:
15484         * lyxfr1.C:
15485         * lyxfunc.C: kill LyXBell.
15486
15487 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15488
15489         * text.C (IsBoundary): Remove the error message
15490
15491         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15492
15493         * lyxrc.C (setDefaults): Correct initialization value for
15494         font_norm_type.
15495
15496 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15497
15498         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15499         gotoError().
15500
15501         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15502         and GotoNextNote().
15503
15504         * src/LyXAction.C: Added reference-next.
15505
15506         * text.C (InsertChar): Use contains instead of strchr.
15507
15508         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15509
15510 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15511
15512         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15513         alignment commands (when needed).
15514
15515         * text.C (InsertChar): Add ':' to number separator chars.