]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Simplify the mechanics of generating the 'inactive' pixmap.
[lyx.git] / src / ChangeLog
1 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * debug.C (showLevel): do not forget the end-of-line marker
4
5 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * kbmap.C (read): do not stop parsing a bind file when an error
8         occurs (bug 1575)
9
10 2004-04-29  Angus Leeming  <leeming@lyx.org>
11
12         * cursor.C:
13         * factory.C:
14         * pariterator.C:
15         * text2.C: wrap a bunch of #warning statements
16         inside #ifdef WITH_WARNINGS blocks.
17
18 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
19
20         * buffer.C: increment format to 233.
21
22 2004-04-28  Angus Leeming  <leeming@lyx.org>
23
24         * BufferView_pimpl.C:
25         * lyxfunc.C:
26         * text3.C:
27         s/updateToolbar()/updateToolbars()/
28         s/Toolbar.h/Toolbars.h/
29
30 2004-04-28  Angus Leeming  <leeming@lyx.org>
31
32         * BufferView.[Ch] (c-tor):
33         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
34         No longer passes these data to the WorkArea generator.
35
36 2004-04-28  Angus Leeming  <leeming@lyx.org>
37
38         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
39
40 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
41
42         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
43
44 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * output_latex.C (TeXEnvironment): make sure that there is a line
47         break before \end{foo} for the last paragraph of a document
48         (TeXOnePar): if the paragraph is at the end of the document (or
49         inset) and the language has to be reset, then make sure that the
50         line break is _before_ the language command, not after (fixes bug
51         1225); also make sure that the language reset command is the first
52         thing after the paragraph (to ensure proper nesting of
53         environments and thus fix bug 1404)
54
55 2004-04-21  John Levon  <levon@movementarian.org>
56
57         * ToolbarBackend.h:
58         * ToolbarBackend.C: make "name" be a programmatic name
59         and a gui_name field.
60
61         * lyxfunc.C: display the minibuffer on M-x
62
63 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
66         (bug 1526)
67
68 2004-04-19  Angus Leeming  <leeming@lyx.org>
69
70         * BufferView_pimpl.C (setBuffer): changed preview interface.
71
72         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
73         possible values.
74
75 2004-04-19  John Levon  <levon@movementarian.org>
76
77         * BufferView_pimpl.C:
78         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
79
80 2004-04-05  Angus Leeming  <leeming@lyx.org>
81
82         * text.C (redoParagraphs): add call to updateCounters(), thereby
83         fixing the missing "Figure #:" label from the caption of a
84         figure float.
85
86 2004-04-13  Angus Leeming  <leeming@lyx.org>
87
88         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
89         cursor is clicked out of an inset.
90
91 2004-04-13  Angus Leeming  <leeming@lyx.org>
92
93         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
94         than an InsetOld one.
95
96 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
97
98         * format.[Ch]: add editor to Format
99         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
100         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
101
102 2004-04-08  André Pönitz  <poenitz@gmx.net>
103
104         * metricsinfo.h: remove PainterInfo::width member
105
106 2004-04-08  Angus Leeming  <leeming@lyx.org>
107
108         * lyx_sty.C (boldsymbol_def): modify so that it outputs
109         "\providecommand" rather than "\newcommand", thereby preventing
110         clashes with packages that define "\boldsymbol" themselves.
111         Eg, beamer.
112
113 2004-04-08  Angus Leeming  <leeming@lyx.org>
114
115         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
116         thereby squashing an unnecessary warning.
117
118 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
119
120         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
121         setBuffer()
122
123 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
124
125         * BufferView.C (setCursor): call redoParagraph (some insets could
126         have been opened)
127         (putSelectionAt): remove the 'double update' trick
128
129         * BufferView_pimpl.C (fitCursor): call refreshPar
130         (workAreaDispatch): remove an uneeded update call
131         (dispatch): remove some manual update calls
132
133         * cursor.[Ch]: remove cached_y_, updatePos
134         (selHandle): set noUpdate when appropriate
135
136         * lyxfunc.C (dispatch): track if we need an update
137
138         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
139
140         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
141         (paintSelection): cheap optimization, do not call cursorX when not
142         needed
143         (paintPars): change signature
144         (refreshPar): add
145         (paintText): adjust
146         (paintTextInset): adjust
147
148         * text.C: adjust
149
150 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * lengthcommon.C: compilation fix: remove explicit array size from
153         unit_name[] and friends
154
155 2004-04-05  Angus Leeming  <leeming@lyx.org>
156
157         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
158
159         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
160         present only for the preferences dialog.
161         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
162
163 2004-04-05  Angus Leeming  <leeming@lyx.org>
164
165         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
166         to enable the frontends to export changes to lyxrc correctly.
167
168         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
169
170 2004-04-07  André Pönitz  <poenitz@gmx.net>
171
172         * cursor.[Ch] (selClear, adjust): remove math
173
174         * cursor_slice.C: more agressive assert
175
176         * lyxfunc.C:
177         * BufferView_pimpl.C: rework mouse event dispatch
178
179         * dociterator.C:
180         * paragraph.C:
181         * text2.C:
182         * text3.C: adjust
183
184 2004-04-05  André Pönitz  <poenitz@gmx.net>
185
186         * cursor.[Ch] (valign, halign...): remove unneeded functions
187
188 2004-04-05  Angus Leeming  <leeming@lyx.org>
189
190         * lyxlength.[Ch] (unit_name et al.): const-correct.
191
192 2004-04-05  Angus Leeming  <leeming@lyx.org>
193
194         * BufferView_pimpl.C:
195         * buffer.C:
196         * counters.C:
197         * cursor.C:
198         * lyxfunc.C
199         * paragraph.C:
200         * pariterator.C:
201         * text.C:
202         * text2.C:
203         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
204
205 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
206
207         * text3.C (getStatus): add LFUN_BEGINNINGBUF
208
209 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
210
211         * lyxfind.C: add a couple of inTexted() tests + other small fixes
212         * BufferView_pimpl.[Ch] (getStatus)
213         * BufferView.[Ch] (getStatus): add
214         * lyxfunc.C (getStatus): move lfuns handled in
215         BufferView::dispatch to te function above
216         * Cursor.C (setSelection): set selection() = true
217
218 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
219
220         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
221
222 2004-03-31  Angus Leeming  <leeming@lyx.org>
223
224         * lyxfunc.C (dispatch): Fall through to the generic
225         Dialogs::show("preamble").
226
227 2004-03-31  Angus Leeming  <leeming@lyx.org>
228
229         * lyxfunc.C (dispatch): Fall through to the generic
230         Dialogs::show("spellchecker").
231
232 2004-03-31  Angus Leeming  <leeming@lyx.org>
233
234         * lyxfunc.C (getStatus, dispatch): changed invocation of the
235         preferences dialog.
236
237 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
238
239         * BufferView.C
240         * cursor.[Ch]
241         * dociterator.[Ch]:
242         * insetiterator.[Ch]:
243         * lyxfind.C:
244         * lyxfunc.C:
245         * pariterator.[Ch]:
246         * text2.C:
247         * undo.[Ch]: s/DocumentIterator/DocIterator/g
248
249 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
250
251         * BufferView.C (setCursor, putSelectionAt): call edit to open the
252         insets where we are putting the cursor.
253
254 2004-03-31  Angus Leeming  <leeming@lyx.org>
255
256         * lfuns.h:
257         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
258
259         * lyxrc.[Ch] (read, write): overloaded member functions taking
260         a std::[io]stream arguments.
261
262         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
263
264 2004-03-31  Angus Leeming  <leeming@lyx.org>
265
266         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
267         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
268
269         * lyxtextclass.C (load): if the text class couldn't be loaded, then
270         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
271
272 2004-03-31  Angus Leeming  <leeming@lyx.org>
273
274         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
275         the LFUN_ALL_INSETS_TOGGLE code.
276
277 2004-03-30  Angus Leeming  <leeming@lyx.org>
278
279         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
280         has died. Fall through to the generic Dialogs::show("document").
281
282 2004-03-30  Angus Leeming  <leeming@lyx.org>
283
284         * lfuns.h:
285         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
286         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
287
288         * lyxfunc.C (getStatus, dispatch): define the actions for these
289         lfuns. Little more than a cut and pste job from ControlDocument.C
290
291         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
292
293 2004-03-30  Angus Leeming  <leeming@lyx.org>
294
295         * lfuns.h:
296         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
297         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
298
299         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
300         open/closed state of ollapsable insets. Usage:
301
302         all-inset-toggle <state> <name>, where
303         <state> == "open" || "closed" || "toggle" and
304         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
305
306         * lyxtext.h, text2.C (toggleInset): removed.
307
308         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
309         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
310         now passes LFUN_INSET_TOGGLE to the found inset.
311
312         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
313         is now invoked as "all-insets-toggle toggle branch".
314
315 2004-03-30  Angus Leeming  <leeming@lyx.org>
316
317         * dociterator.C:
318         * insetiterator.C:
319         * pariterator.[Ch]: added/corrected header blurb.
320
321 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * dociterator.[Ch]: add an inset_ member
324         (backwardPos): implemented
325         (backwardPos, forwardPos): use inset_ when the stack is empty.
326         (doc_iterator_begin, doc_iterator_end): implemented
327         * pariterator.[Ch]: adjust, add begin, end
328         * insetiterator.[Ch]: adjust, add begin, end
329         * cursor.C:
330         * document.C:
331         * BufferView.C:
332         * BufferView_pimpl.C:
333         * CutAndPaste.C: adjust
334
335 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
336
337         * buffer.C: increment file format to 232.
338         * LaTeXFeatures.C: add bibtopic package.
339         * bufferparams.[Ch]: param \use_bibtopic.
340
341         * lyxrc.[Ch]: add lyxrc bibtex_command
342         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
343
344         * buffer.C: increment file format to 231.
345
346 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * dociterator.C: implement forwardPar
349         * iterators.[Ch]: remove, replaced by
350         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
351         * BufferView.C:
352         * BufferView_pimpl.C:
353         * CutAndPaste.C:
354         * buffer.C:
355         * bufferview_funcs.C:
356         * cursor.C:
357         * lyxfind.C
358         * lyxfunc.C
359         * paragraph_funcs.C
360         * toc.C:
361         * Makefile.am: adjust
362
363 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
364
365         * CutAndPaste.C (pasteSelection): fix 2 crashes
366         (eraseSelection): fix a crash
367         * paragraph_funcs.C: remove a warning
368
369 2004-03-28  Angus Leeming  <leeming@lyx.org>
370
371         * lfuns.h:
372         * LyXAction.C (init): new LFUN_PRINT.
373
374         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
375
376 2004-03-27  Angus Leeming  <leeming@lyx.org>
377
378         * lfuns.h:
379         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
380
381         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
382
383 2004-03-27  Angus Leeming  <leeming@lyx.org>
384
385         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
386         insetlist always contains non-null pointers to insets.
387
388 2004-03-26  Angus Leeming  <leeming@lyx.org>
389
390         * src/BufferView_pimpl.C:
391         * src/CutAndPaste.C:
392         * src/buffer.C:
393         * src/iterators.C:
394         * src/output_plaintext.C:
395         * src/outputparams.h:
396         * src/paragraph_funcs.C:
397         * src/rowpainter.C:
398         * src/text.C:
399         * src/text2.C:
400         * src/frontends/controllers/ControlErrorList.C:
401         * src/frontends/gtk/FileDialogPrivate.C:
402         * src/frontends/gtk/GPainter.C:
403         * src/frontends/gtk/GToolbar.C:
404         * src/frontends/qt2/QRef.C:
405         * src/mathed/math_scriptinset.C: squash compiler warnings.
406
407 2004-03-26  Angus Leeming  <leeming@lyx.org>
408
409         * ispell.C (LaunchIspell::start):
410         * lyx_cb.C (AutoSaveBuffer::start):
411         invoke run(DontWait) rather than runNonBlocking().
412
413 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
416
417 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
418
419         * kbsequence.C (print): adjust
420
421         * kbmap.C (printKeySym): rename and change signature
422         (printKey): use LyXKeySym::print()
423
424 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * undo.C: add using std::advance to compile for stlport
427
428 2004-03-24  Angus Leeming  <leeming@lyx.org>
429
430         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
431         it leads to a crash when no buffer is present.
432
433 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434             Martin Vermeer  <martin.vermeer@hut.fi>
435
436         * lyxfunc.C (dispatch):
437         * bufferparams.C (readToken): use the new LColor::setColor
438
439         * LColor.[Ch] (setColor): new version that takes two strings as
440         argument and creates a new color entry if necessary
441
442 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
443
444         * buffer.C (makeLaTeXFile): if the main latex file that is
445         processed is usually a subdocument of some master, then pretend
446         for a while that it is actually the master
447
448 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
449
450         * buffer.C (getLabelList):
451         (getBibkeyList): use getMasterBuffer()
452         (getMasterBuffer): new method. Returns the main document in the
453         case where one is using included documents.
454
455 2004-03-25  André Pönitz  <poenitz@gmx.net>
456
457         * Makefile.am:
458         * iterators.[Ch]:
459         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
460
461         * ParagraphList_fwd.h: change ParagraphList to a std::vector
462
463         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
464         text*.C over here. Rename namespace CutAndPaste to lyx::cap
465
466         * ParameterStruct.h: merge with ParagraphParameters
467
468         * lyxtext.h: remove LyXText::parOffset() and getPar()
469
470         * text3.C: Remove all 'manual' update calls. We do now one per user
471         interaction which is completely sufficient.
472
473         * Bidi.C:
474         * BufferView.[Ch]:
475         * BufferView_pimpl.C:
476         * FontIterator.[Ch]:
477         * MenuBackend.C:
478         * ParagraphParameters.[Ch]:
479         * buffer.C:
480         * buffer.h:
481         * bufferlist.C:
482         * cursor.[Ch]:
483         * cursor_slice.[Ch]:
484         * dociterator.[Ch]:
485         * errorlist.[Ch]:
486         * factory.C:
487         * lfuns.h:
488         * lyxfind.C:
489         * lyxfunc.C:
490         * output_docbook.[Ch]:
491         * output_latex.[Ch]:
492         * output_linuxdoc.[Ch]:
493         * output_plaintext.[Ch]:
494         * paragraph.[Ch]:
495         * paragraph_funcs.[Ch]:
496         * paragraph_pimpl.[Ch]:
497         * rowpainter.C:
498         * tabular.[Ch]:
499         * text.C:
500         * text2.C:
501         * toc.C:
502         * undo.[Ch]: adjust
503
504         * frontends/controllers/ControlDocument.C:
505         * frontends/controllers/ControlErrorList.C:
506         * frontends/controllers/ControlSpellchecker.C:
507         * insets/inset.C:
508         * insets/inset.h:
509         * insets/insetbase.h:
510         * insets/insetbibitem.C:
511         * insets/insetbox.C:
512         * insets/insetbranch.C:
513         * insets/insetcaption.C:
514         * insets/insetcharstyle.C:
515         * insets/insetcharstyle.h:
516         * insets/insetcollapsable.C:
517         * insets/insetcollapsable.h:
518         * insets/insetert.C:
519         * insets/insetfloat.C:
520         * insets/insetfoot.C:
521         * insets/insetmarginal.C:
522         * insets/insetnote.C:
523         * insets/insetoptarg.C:
524         * insets/insettabular.C:
525         * insets/insettext.C:
526         * insets/insettext.h:
527         * insets/insetwrap.C:
528         * mathed/math_mboxinset.C:
529         * mathed/math_nestinset.C:
530         * mathed/math_scriptinset.C:
531         * mathed/math_scriptinset.h:
532         * support/types.h:
533
534 2004-03-24  Angus Leeming  <leeming@lyx.org>
535
536         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
537         deal with any child processes that have finished but are waiting to
538         communicate this fact to the rest of LyX.
539
540 2004-03-24  Angus Leeming  <leeming@lyx.org>
541
542         64-bit compile fixes.
543
544         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
545         (c-tor): pass lyx::pos_types rather than ints.
546
547         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
548         lyx::pos_type.
549
550         * text.C (Delete): compile fix.
551         (getPar): ensure that function declaration is the same as that in
552         the header file.
553
554 2004-03-23  Angus Leeming  <leeming@lyx.org>
555
556         * ispell.C (LaunchIspell):
557         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
558         a boost::shred_ptr rather than a std::auto_ptr.
559
560 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * lyxfunc.C (getStatus): handle read-only buffers correctly;
563         handle LFUN_FILE_INSERT_*
564
565         * lyxrc.C (setDefaults, getDescription, output, read):
566         * lyxrc.h: remove ps_command
567
568 2004-03-22  Angus Leeming  <leeming@lyx.org>
569
570         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
571         Ensure that error_handler is processed once only and that all data
572         is saved before attempting to output any warning messages.
573
574         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
575
576 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
577
578         * tabular.C (TeXRow): crash fix (from Kayvan and André)
579
580 2004-03-19  André Pönitz  <poenitz@gmx.net>
581
582         * cursor.[Ch] (reset): take main text inset as argument
583
584         * BufferView: adjust
585         * BufferView_pimpl.C: adjust
586
587         * paragraph.[Ch]: fix completely broken operator=()
588
589 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * LColor.C (getFromLyXName): make sure that the color name is used
592         as lowercase.
593
594 2004-03-17  Angus Leeming  <leeming@lyx.org>
595
596         * lfuns.h:
597         * LyXAction.C (init): remove LFUN_FORKS_KILL.
598
599         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
600         dialog and to kill a forked process.
601
602 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
603
604         * text2.C (setCursorFromCoordinates): fix font problem
605
606 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
609         bogus "rebuild cursor" code
610
611 2004-03-11  André Pönitz  <poenitz@gmx.net>
612
613         * buffer.[Ch]: use InsetText instead of LyXText as container for
614         the main lyx text.
615
616         * dociterator.[Ch]: drop the BufferView * member which is not needed
617         anymore after the change to buffer.C
618
619         * paragraph_funcs.C:
620         * text.C:
621         * text2.C:
622         * BufferView.[Ch]:
623         * BufferView_pimpl.[Ch]:
624         * cursor.[Ch]:
625         * cursor_slice.[Ch]: adjust
626
627         * text3.C: fix bug in mathDispatch
628
629 2004-03-08  André Pönitz  <poenitz@gmx.net>
630
631         * undo.[Ch]: use 'StableDocumentIterator' as base for
632         the Undo struct.
633
634 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
635
636         * LaTeXFeatures.C:
637         * bufferparams.[Ch]: add jurabib support and param.
638
639         * LaTeX.C: add FIXME/comment.
640
641 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
642
643         * buffer.C: increment file format to 230.
644
645 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
646
647         * cursor.C (dispatch): avoid infinite loops
648
649 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
650
651         * rowpainter.C (paintSelection): fix x coordinates
652
653 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
654
655         * text.C (rowBreakPoint): fix breaking before displayed insets
656
657 2004-03-01  André Pönitz  <poenitz@gmx.net>
658
659         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
660
661         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
662
663         * Makefile.am:
664         * BufferView.C:
665         * BufferView_pimpl.C:
666         * buffer.C:
667         * lyxfind.C:
668         * lyxfunc.C:
669         * text.C:
670         * text2.C:
671         * text3.C: adjust
672
673 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
674
675         * lyxtext.h:
676         * text.C:
677         * text2.C:
678         * rowpainter.C:
679         * BufferView_pimpl.C: rename textwidth -> maxwidth,
680         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
681
682 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
683
684         * Bidi.[Ch] (computeTables): const correctness
685         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
686         fill_hfill, fill_label_hfill and x from Row
687         * lyxtext.h: prepareToPrint returns a RowMetrics
688         * rowPainter.C: adjust
689         * text.C (prepareToPrint): use width, not textWidth. adjust
690         (redoParagraphInternal, cursorX): adjust
691         * text2.C (getColumnNearX): adjust
692         (init): put a default value to the top LyXText::width
693
694 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
697
698 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
699
700         * lyxtext.h: add FontIterator class
701
702         * text.C (FontIterator, operator*, operator->, operator++): add
703         (rowBreakPoint, setRowWidth): adjust (fixing a
704         rebreaking bug)
705
706 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * BufferView_pimpl.C (workAreaDispatch): allow also
709         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
710
711 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
712
713         * text.C (rowBreakPoint): fix a bug showing with very large insets
714
715 2004-02-25  André Pönitz  <poenitz@gmx.net>
716
717         * text3.C:
718         * cursor.[Ch]: move some mathed specific code to mathed
719
720 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
721
722         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
723         use_tempdir in preferences
724         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
725         tempfile creation
726         * lyx_main.C: ensure that tempdir is valid
727         * lyxlex.h: correct typo
728         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
729         * paragraph.[Ch] (isMultiLingual): make const
730         * cursor.[Ch] (openable): make const
731
732 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
733
734         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
735
736 2004-02-20  André Pönitz  <poenitz@gmx.net>
737
738         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
739
740         * cursor.[Ch]: prepare for localized getStatus()
741
742         * lyxtext.h:
743         * tabular.C:
744         * text.C:
745         * text2.C:
746         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
747
748 2004-02-20  André Pönitz  <poenitz@gmx.net>
749
750         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
751
752 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
753
754         * text2.C (setCursorFromCoordinates): switch to absolute coords
755         (cursorUp): adjust
756         (cursorDown): adjust
757         * text3.C (dispatch): adjust
758
759 2004-02-16  André Pönitz  <poenitz@gmx.net>
760
761         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
762           insets/ChangeLog)
763
764         * cursor_slice.[Ch]: remove unneeded acessor function
765
766         * lyxtext.h: rename rtl() to isRTL()
767
768         * rowpainter.C:
769         * tabular.C:
770         * text.C:
771         * text2.C:
772         * text3.C: adjust
773
774 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
775
776         * rowpainter.C (paintSelection): coord fix
777
778 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
779
780         * Spacing.C: compile fix
781
782 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
783
784         * cursor.C (dispatch): restore current_ before returning
785
786 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
787
788         * text2.C (cursorUp, cursorDown): fix coords
789         (moveUp): fix crash
790
791 2004-02-12  André Pönitz  <poenitz@gmx.net>
792
793         * lyxtext.h:
794         * text.C:
795         * text2.C:
796         * text3.C: add LCursor & parameter to most cursor movement functions
797           remove usage of LyXText::cursorRow() and cursorPar()
798
799         * cursor.[Ch]: add textRow() needed members
800
801         * BufferView.C:
802         * BufferView_pimpl.C:
803         * paragraph.[Ch]:
804         * BufferView.C:
805         * BufferView_pimpl.C: adjust
806
807 2004-02-11  André Pönitz  <poenitz@gmx.net>
808
809         * lyxfunc.C:
810         * BufferView.[Ch]:
811         * BufferView_pimpl.C: shift undo/redo handling
812
813         * cursor.[Ch]: fix mathed crash
814
815         * lyxfind.C:
816         * lyxtext.h: move selectionAsText to LCursor
817
818         * output_latex.C:
819         * paragraph.C:
820         * text.C:
821         * text2.C:
822         * text3.C: adjust
823
824         * rowpainter.C: fix excessive drawing
825
826 2004-02-06  André Pönitz  <poenitz@gmx.net>
827
828         * BufferView.[Ch]:
829         * BufferView_pimpl.[Ch]:
830         * text3.C: move some text specific LFUN handling
831
832 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
833
834         * text3.C (checkInsetHit): adjust coords
835         * text2.C (getColumnNearX): adjust coords
836         (edit): adjust coords
837         * text.C (getRowNearY): add two asserts
838
839 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
840
841         * converter.C:
842         * format.C: add using std::distance to compile on gcc 2.95/stlport
843
844 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
845
846         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
847
848 2004-02-04  André Pönitz  <poenitz@gmx.net>
849
850         * BufferView.[Ch] (insertInset):
851         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
852
853         * text2.C:
854         * text3.C: adjust
855
856 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
857
858         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
859         on the default clause of the switch
860         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
861         wasn't catched by LCursor::dispatch
862
863 2004-02-03  André Pönitz  <poenitz@gmx.net>
864
865         * BufferView.C:
866         * cursor.[Ch]: some additional asserts
867
868         * undo.[Ch]: remove LyXText dependency in interface
869
870         * lyxfunc.C: adjust
871
872         * lyxtext.h (firstPar, lastPar): remove dead functions
873
874         * text.C:
875         * text2.C:
876         * text3.C:
877         * paragraph.[Ch]: adjust
878
879 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
880
881         * lyxfind.C (find): fix argument order in call to ::find
882
883 2004-02-02  André Pönitz  <poenitz@gmx.net>
884
885         * cursor.[Ch]: remove direct access to anchor
886
887         * text.C: remove findText() hack
888
889 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
890
891         * iterators.[Ch] (lockPath): remove in favour of...
892         * BufferView.[Ch] (setCursor): this addition
893         * BufferView.C (putSelectionAt): adjust
894         * undo.C (performUndoOrRedo): adjust
895         * lyxfunc.C (dispatch): adjust
896
897 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
898
899         * iterators.C (lockPath): add a missing slice
900         * undo.C (performUndoOrRedo): remove redundant positioning code
901
902 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
903
904         * vc-backend.C (scanMaster): ";" -> ';'
905
906 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
907
908         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
909         std::binary_function
910
911         * lyxtextclass.C (compare_name): rename to...
912         (LayoutNamesEqual): ...this
913
914         * lyxlex_pimpl.C (compare_tags): inherit from
915         std::binary_function, put back into anon namespace
916
917         * lyxfind.C (MatchString): inherig from std::binary_function
918         (findChange): use empty() istead of !size()
919
920         * format.C (FormatNamesEqual): new functor
921         (getFormat): use it
922         (getNumber): use it
923         (add): use it
924         (erase): use it
925         (setViewer): use it
926
927         * converter.C (compare_Converter): rename to...
928         (ConverterEqual): ...this, and fixup a bit.
929         (getConverter): use it, and make function const
930         (getNumber): use it, and make function const
931         (add): use it
932         (erase): use it:
933
934         * bufferlist.C: add using boost::bind
935
936         * MenuBackend.C (MenuNamesEqual): new functor
937         (hasMenu): use it, and make function const
938         (hasSubmenu): use nested bind to get rid of compare_memfun.
939
940 2004-01-30  André Pönitz  <poenitz@gmx.net>
941
942         * BufferView_pimpl.C:
943         * cursor.C:
944         * cursor.h:
945         * cursor_slice.[Ch]:
946         * lyxfunc.C:
947         * lyxtext.h:
948         * paragraph_funcs.C:
949         * paragraph_funcs.h:
950         * rowpainter.C:
951         * text.C:
952         * text2.C:
953         * text3.C: move some of the edit(x,y) handling to the insets
954         some coordinate changes.
955
956 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
957
958         * text.C: add using statements for std::advance and std::distance
959
960         * paragraph.C: add using statement for std::distance
961
962         * lyxfind.C: add using statement for std::advance
963
964         * cursor.C (region): remove std:: from swap
965         (openable): use nucleus in stead of operator->
966
967         * BufferView.C: add using statements for std::distance and std::swap
968
969 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * iterators.C: Remove the pimple, move the needed structures to
972         the header file. Create accessor for the positions stack.
973         (asPosIterator): remove function
974
975         * PosIterator.C (PosIterator): move constructors to top of file
976         (PosIterator): reimplement the constructor taking a ParIterator in
977         terms of setFrom.
978         (setFrom): new function
979         (operator!=): inline it
980
981 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
982
983         * lyxfind.C (replaceAll): use std::advance
984
985         * iterators.h: inherit from std::iterator.
986
987         * PosIterator.C (advance, distance): remove
988         * PosIterator.h: interit from std::iterator.
989
990 2004-01-26  André Pönitz  <poenitz@gmx.net>
991
992         * BufferView.[Ch]:
993         * BufferView_pimpl.[Ch]:
994         * InsetList.[Ch]:
995         * PosIterator.[Ch]:
996         * buffer.h:
997         * bufferview_funcs.C:
998         * cursor.[Ch]:
999         * cursor_slice.h:
1000         * factory.[Ch]:
1001         * iterators.[Ch]:
1002         * lyxfind.C:
1003         * lyxfunc.C:
1004         * lyxtext.h:
1005         * output_docbook.C:
1006         * output_latex.C:
1007         * output_linuxdoc.C:
1008         * output_plaintext.C:
1009         * paragraph.[Ch]:
1010         * paragraph_funcs.[Ch]:
1011         * paragraph_pimpl.[Ch]:
1012         * rowpainter.C:
1013         * tabular.C:
1014         * tabular.h:
1015         * text.C:
1016         * text2.C:
1017         * text3.C: more IU:  dumps most of the rest of the mathcursor
1018     implementation into cursor.[Ch]; "globalize" a bit of it.
1019
1020 2004-01-25  Angus Leeming  <leeming@lyx.org>
1021
1022         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1023
1024 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1025
1026         * LaTeXFeatures.h: add nice_ and nice() const
1027         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1028
1029 2004-01-20  André Pönitz  <poenitz@gmx.net>
1030
1031         * BufferView.[Ch]:
1032         * BufferView_pimpl.C:
1033         * PosIterator.C:
1034         * bufferview_funcs.C:
1035         * cursor.[Ch]:
1036         * cursor_slice.[Ch]:
1037         * factory.C:
1038         * iterators.C:
1039         * lyx_cb.C:
1040         * lyxfind.C:
1041         * lyxfunc.C:
1042         * lyxtext.h:
1043         * rowpainter.C:
1044         * text.C:
1045         * text2.C:
1046         * text3.C:
1047         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1048           LCursor and mathcursor parts to LCursor and InsetBase.
1049
1050 2004-01-15  André Pönitz  <poenitz@gmx.net>
1051
1052         * cursor_slice.[Ch]: add a few covienience functions
1053
1054         * funcrequest.[Ch]: remove BufferView * member
1055
1056         * BufferView_pimpl.C:
1057         * cursor.C:
1058         * factory.[Ch]:
1059         * lyxfind.[Ch]:
1060         * lyxfunc.C:
1061         * lyxtext.h:
1062         * text3.C:
1063         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1064
1065 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1066
1067         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1068         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1069
1070 2004-01-13  André Pönitz  <poenitz@gmx.net>
1071
1072         * textcursor.[Ch]:
1073         * lyxtext.h: hide cursor and selection anchor behind accessor function
1074
1075         * BufferView.C:
1076         * BufferView_pimpl.[Ch]:
1077         * PosIterator.C:
1078         * bufferview_funcs.C:
1079         * cursor.h:
1080         * lyxfind.C:
1081         * lyxfunc.C:
1082         * text.C:
1083         * text2.C:
1084         * text3.C:
1085         * undo.C: adjust
1086
1087         * cursor.h:
1088         * cursor_slice.[Ch]: some integer type changes for inset unification
1089
1090         * lyxcursor.[hC]: remove, it's CursorSlice now.
1091
1092         * Makefile.am:
1093         * BufferView_pimpl.[Ch]:
1094         * bufferview_funcs.C:
1095         * cursor_slice.C:
1096         * lyxtext.h:
1097         * text.C:
1098         * text2.C:
1099         * text3.C:
1100         * textcursor.[Ch]: adjust
1101
1102 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1103
1104         * text2.C (undoSpan): add and use
1105         * text.C (breakParagraph): use undoSpan (fix bug 578)
1106         * lyxtext.h: adjust
1107
1108 2004-01-08  Angus Leeming  <leeming@lyx.org>
1109
1110         * BufferView_pimpl.C (MenuInsertLyXFile):
1111         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1112         * lyxfunc.C (menuNew, open, doImport):
1113         FileFilterList change to the FileDialog open and save functions.
1114
1115 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1116
1117         * ShareContainer.h: make isEqual and isUnique adaptable
1118
1119         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1120
1121 2004-01-07  Angus Leeming  <leeming@lyx.org>
1122
1123         * LyXAction.C:
1124         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1125
1126         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1127
1128         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1129         functions replacing find, replace and replaceAll.
1130
1131         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1132         LFUN_WORDFIND(FORWARD|BACKWARD).
1133
1134 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1135
1136         * text.C (breakParagraph): remove an outdated #warning
1137
1138 2004-01-07  André Pönitz  <poenitz@gmx.net>
1139
1140         * lyxfind.C: somewhat clearer logic
1141
1142         * text.C: prevent crash in cursorX on unitialized row cache
1143
1144 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1145
1146         * lyxcursor.[Ch] (operator>): add
1147         * textcursor.C (selStart, selEnd): use std::min and std::max
1148
1149 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1150
1151         * Chktex.C: include boost/format.hpp
1152
1153 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1154
1155         * InsetList.C: replace functor MathcIt with adaptable functor
1156         InsetTablePosLess
1157         (insetIterator): modify accordingly
1158
1159         * BranchList.h: move the BranchNamesEqual functor here from...
1160         * BranchList.C: ... to here
1161
1162         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1163         SameName and match.
1164         (add): replace a finding loop with std::find_if.
1165
1166 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * output_docbook.C: moving LatexParam functionality into
1169         .layout files
1170
1171 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1172
1173         * buffer.C: increment format to 229.
1174
1175 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1176
1177         * LaTeXFeatures.C:
1178         * lyx_sty.[Ch]: remove minipageindent_def
1179
1180         * LyXAction.C:
1181         * factory.C:
1182         * lfuns.h:
1183         * lyxfunc.C:
1184         * text3.C: remove LFUN_INSET_MINIPAGE
1185
1186 2003-12-28  Angus Leeming  <leeming@lyx.org>
1187
1188         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1189
1190 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1191
1192         * text2.C (setParagraph): fix off-by-one crash
1193
1194 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1195
1196         * output_docbook.C: header stuff for AGU
1197
1198 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1199
1200         * text2.C (redoCursor): remove
1201         * text.C:
1202         * text3.C:
1203         * BufferView_pimpl.C: remove calls to redoCursor and
1204         setCursor(cursor.par(), cursor.pos()) all around
1205
1206 2003-12-15  Angus Leeming  <leeming@lyx.org>
1207
1208         * buffer.C: up the format to 228.
1209
1210 2003-12-15  André Pönitz  <poenitz@gmx.net>
1211
1212         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1213         slices
1214
1215         * Makefile.am:
1216
1217         * BufferView_pimpl.C:
1218         * cursor.[Ch]:
1219         * lyxcursor.[Ch]:
1220         * rowpainter.[Ch]:
1221         * lyxtext.h:
1222         * text.C:
1223         * text2.C:
1224         * text3.C: adjust
1225
1226 2003-12-15  Angus Leeming  <leeming@lyx.org>
1227
1228         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1229         than getFromGUIName to manipulate the color.
1230
1231 2003-12-14  Angus Leeming  <leeming@lyx.org>
1232
1233         * BranchList.[Ch]: minimize the API.
1234         (Branch::getBranch, getColor): now return a 'const &'.
1235         (Branch::setSelected) now returns a bool set to true if the
1236         selection status changes.
1237         (BranchList::clear, size, getColor, setColor, setSelected,
1238         allBranches, allSelected, separator): removed.
1239         (BranchList::find): new functions, returning the Branch with
1240         the given name.
1241         (BranchList::add, remove): return a bool indicating that
1242         the operation was successful.
1243
1244         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1245         new InsetBranch::isBranchSlected member function.
1246
1247         * LColor.[Ch]: mimimize the API.
1248         (fill): renamed as addColor and made private.
1249         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1250         versions of these functions taking a string arg have been removed.
1251
1252         * bufferparams.C (readToken):
1253         * lyxfunc.C (dispatch):
1254         * lyxrc.C (read): changes due to the altered BranchList and
1255         LColor APIs.
1256
1257         * factory.C (createInset, readInset): changes due to altered
1258         InsetBranch c-tor.
1259
1260 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1261
1262         * factory.C:
1263         * lyxfunc.C: remove insetminipage. "minipage-insert"
1264         now produces a frameless minipage box inset.
1265
1266 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * textcursor.[Ch] (selStart,selEnd): add new methods
1269         remove selection::start, end, use LyXCursor::operator<
1270         * lyxcursor.[Ch] (operator<): add
1271         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1272         * BufferView.[Ch] (unsetXSel): add
1273         * text2.C (clearSelection): use unsetXSel,adjust
1274         * text.C: adjust
1275         * text3.C: adjust
1276         * rowpainter.C: adjust
1277         * bufferview_funcs.C (put_selection_at): adjust
1278
1279 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1280
1281         * BufferView_pimpl.C: small coord. correction
1282
1283 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1284
1285         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1286         dragging over the splash screen.
1287
1288 2003-12-11  Angus Leeming  <leeming@lyx.org>
1289
1290         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1291         as it is now handled in LyXText::dispatch.
1292
1293         * text3.C (doInsertInset): remove a level of nesting.
1294
1295 2003-12-11  Angus Leeming  <leeming@lyx.org>
1296
1297         * factory.C (createInset): changes due to the changed interface to
1298         InsetCommandMailer::string2params.
1299
1300 2003-12-10  Angus Leeming  <leeming@lyx.org>
1301
1302         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1303         'dialog-show-new-inset <inset name>'
1304
1305 2003-12-10  Angus Leeming  <leeming@lyx.org>
1306
1307         * buffer.C: up the format to 227.
1308
1309         * factory.C: the box inset is now identified simply by 'Box'.
1310
1311 2003-12-10  Angus Leeming  <leeming@lyx.org>
1312
1313         * buffer.C: up the format to 226.
1314
1315         * factory.C: the note inset is now identified simply by 'Note'.
1316
1317 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1318
1319         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1320         when a pit is enough. Standarize a couple of loops.
1321
1322 2003-12-05  Angus Leeming  <leeming@lyx.org>
1323
1324         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1325         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1326         data to the re-worked "log" dialog.
1327
1328 2003-12-03  André Pönitz  <poenitz@gmx.net>
1329
1330         * PosIterator.C:
1331         * iterators.C:
1332         * lyxtext.h:
1333         * output_latex.C:
1334         * paragraph_funcs.C:
1335         * text.C:
1336         * text2.C: use Inset::getText instead of Inset::getParagraph
1337
1338 2003-12-03  André Pönitz  <poenitz@gmx.net>
1339
1340         * buffer.[Ch]:
1341         * lyxtext.h:
1342         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1343         InsetText::read() as LyXText::read()
1344
1345 2003-12-02  Angus Leeming  <leeming@lyx.org>
1346
1347         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1348         type. Add a comment in the implementation that the function uses
1349         the stream's bad() function rather than fail() as the std::streams
1350         would do.
1351
1352 2003-12-02  André Pönitz  <poenitz@gmx.net>
1353
1354         * lyxlex.[Ch]: make interface more similar to std::stream
1355
1356         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1357
1358 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1359
1360         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1361
1362 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1363
1364         * vspace.[Ch]: remove VSpace::NONE
1365
1366 2003-12-01  André Pönitz  <poenitz@gmx.net>
1367
1368         * buffer.[Ch]:
1369         * lyxtext.h: move ParagraphList member to LyXText
1370         rename LyXText::ownerParagraphs to LyXText::paragraph
1371
1372         * CutAndPaste.C:
1373         * bufferview_funcs.C:
1374         * iterators.[Ch]:
1375         * lyx_cb.C:
1376         * paragraph.C:
1377         * rowpainter.C:
1378         * tabular.C:
1379         * text.C:
1380         * text2.C:
1381         * text3.C: adjust
1382
1383         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1384
1385         * undo.C: fix cursor positioning
1386
1387 2003-12-01  John Levon  <levon@movementarian.org>
1388
1389         * BufferView_pimpl.C: fix a crash on exit with
1390         a buffer open
1391
1392 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1393
1394         * BranchList.C: fix setSelected() method.
1395
1396 2003-11-28  André Pönitz  <poenitz@gmx.net>
1397
1398         * ParagraphParameters.[Ch]:
1399         * ParameterStruct.h: remove space above/below from Paragraph to
1400          InsetVSpace
1401
1402         * BufferView_pimpl.C:
1403         * factory.C:
1404         * lyxfunc.C:
1405         * lyxtext.h:
1406         * output_latex.C:
1407         * paragraph.C:
1408         * paragraph_funcs.C:
1409         * rowpainter.[Ch]:
1410         * text.C:
1411         * text2.C:
1412         * text3.C: adjust
1413
1414 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1415
1416         * factory.C: Syntax change for CharStyles
1417
1418 2003-11-28  André Pönitz  <poenitz@gmx.net>
1419
1420         * BufferView.[Ch]:
1421         * BufferView.[Ch]:
1422         * buffer.[Ch]:
1423         * buffer.[Ch]: move LyXText member
1424
1425 2003-11-28  André Pönitz  <poenitz@gmx.net>
1426
1427         * BufferView.[Ch]: make LyXText * text a private member
1428
1429         * BufferView_pimpl.C:
1430         * cursor.C:
1431         * iterators.C:
1432         * lyx_cb.C:
1433         * lyxfind.C:
1434         * lyxtext.h:
1435         * rowpainter.[Ch]:
1436         * text.C:
1437         * text2.C:
1438         * undo.C: adjust
1439
1440         * output_plaintext.C: cleanup
1441
1442 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1443
1444         * buffer.C:
1445         * lyxtextclass.[Ch]: parametrize SGML document header
1446
1447 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1448
1449         * converter.[Ch]:
1450         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1451         getFlavor().
1452
1453 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1454
1455         * text2.C (setFont): rework using PosIterator (no more recursive)
1456         (setCharFont): no more needed
1457         (setLayout): no more selection cursors fiddling (done by redoCursor)
1458         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1459         destroy remaining ones)
1460
1461 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1462
1463         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1464         * lyxtext.h: ditto
1465         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1466         selection cursors
1467         * lyxfunc.C: adjust
1468         * text3.C: adjust + re-allow multi par depth changes
1469         * textcursor.C: simplify a bit
1470
1471 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1472
1473         * src/buffer.C:
1474         * src/lyxlayout.C:
1475         * src/lyxlayout.h:
1476         * src/lyxtext.h:
1477         * src/output_docbook.C:
1478         * src/output_latex.C:
1479         * src/paragraph.C:
1480         * src/paragraph.h:
1481         * src/sgml.C:
1482         * src/sgml.h:
1483         * src/text2.C: Introducing a number of tags parametrizing various
1484         XML formats that we may want to support
1485
1486 2003-11-25  André Pönitz  <poenitz@gmx.net>
1487
1488         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1489
1490         * lyxtext.h (leftMargin/rightMargin): simplify interface
1491
1492         * rowpainter.C:
1493         * text.C:
1494         * text2.C:
1495         * text3.C: adjust
1496
1497 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1498
1499         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1500         master file to any child files. Fixes bug 546.
1501
1502 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1503
1504         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1505
1506 2003-11-24  André Pönitz  <poenitz@gmx.net>
1507
1508         * rowpainter.C: simplification
1509
1510         * text2.C (updateCounters): remove call to redoParagraph on
1511         changed labels as this is far too expensive.
1512
1513 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1514
1515         * converter.C (convert): fix a crash: this function gets
1516         called with buffer == 0 from importer code.
1517
1518 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1519
1520         * text3.C (cursorPrevious): make sure that we do not compare
1521         iterators form different containers.
1522         (cursorNext): ditto
1523
1524         * rowpainter.C (paintSelection): make sure that we do not compare
1525         iterators from different containers.
1526
1527         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1528         iterators from different ParagraphList containers.
1529         [NEXT] ditto
1530
1531         * text2.C (LyXText): change order of initialization slightly
1532         (operator=): new function. copy all variables except cache_par_
1533         (moveUp): make sure that we do not compare iterators from
1534         different ParagraphList constainers.
1535         (moveDown): ditto
1536
1537         * text.C (firstPar): new function
1538         (lastPar): new function
1539         (endPar): new function
1540
1541         * lyxtext.h: move things around and group public functions, public
1542         variables, private functions, private variables
1543
1544 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1545
1546         * factory.C: change call to InsetERT constructor to avoid
1547         additional invocation of method status
1548         * text2.C (toggleInset): remove redundant update() call
1549         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1550         instead of a Bufferview pointer
1551
1552 2003-11-21  André Pönitz  <poenitz@gmx.net>
1553
1554         * rowpainter.C: simplification
1555
1556 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1557
1558         * text3.C (dispatch): make possible to extend a word/row selection
1559         with the mouse
1560
1561 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1562
1563         * lyxtext.h: x0_,y0_ -> xo_,yo_
1564         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1565         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1566         * rowpainter.C (paintRows): paint full paragraphs
1567
1568 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1571         screen coordinates)
1572
1573 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1574
1575         * lyxtext.h: add x0_, y0_
1576         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1577         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1578
1579 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1580
1581         * text2.C (setCursorIntern): move the x_target update here *
1582         * text3.C: change some bv() to true/false in calls to
1583         cursorUp/Down/Right/Left
1584         * cursor.C: use helper function.
1585
1586 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1587
1588         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1589         * paragraph_funcs.[Ch]: correct comment
1590         * rowpainter.C: do not paint selections away from bv->cursor()
1591         Fix a long standing selection painting bug.
1592         * text3.C: generalize mouse-selection code to LyXTexts other that
1593         top one
1594         * textcursor.C: do not use y coords if we can use par offsets
1595
1596 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1597
1598         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1599         cursor position after e.g. inset insert)
1600
1601 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1602
1603         * lyxfind.C (replace): adjust to locking removal + some
1604         code simplification
1605
1606 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1607
1608         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1609         of the path
1610
1611 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1612
1613         * lyxlayout.[Ch]:
1614         * output_docbook.C: XML sanitation: new layout
1615         parameters InnerTag and CommandDepth
1616
1617 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1618
1619         * BufferView_pimpl.C:
1620         * factory.C:
1621         * text3.C: Fix the insertion and modification of button-style
1622         insets
1623
1624 2003-11-13  André Pönitz  <poenitz@gmx.net>
1625
1626         * InsetList.[Ch]: remove deleteLyXText
1627
1628         * paragraph.[Ch]: cache beginOfBody position
1629
1630         * Bidi.C:
1631         * text.C:
1632         * text2.C:
1633         * text3.C: remove superfluous update() calls
1634
1635         * vspace.C: cleanup
1636
1637 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1638
1639         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1640         * BufferView.C (fitLockedInsetCursor): remove
1641         * cursor.[Ch] (getDim): add
1642         * text.C (getRowNearY): add faster version
1643         * text3.C: remove some update calls
1644
1645 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1646
1647         * LaTeXFeatures.C:
1648         * LyXAction.C:
1649         * MenuBackend.C:
1650         * MenuBackend.h:
1651         * dispatchresult.h:
1652         * factory.C:
1653         * lfuns.h:
1654         * lyxfunc.C:
1655         * lyxtextclass.C:
1656         * lyxtextclass.h:
1657         * text3.C: The Character Style /XML short element patch.
1658
1659 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1660
1661         * text3.C:
1662         * factory.C: Small step to solving 'unable to insert some insets'
1663         problem
1664
1665 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1666
1667         * cursor.[Ch] (updatePos): new function for updating the y
1668         position of the tip inset
1669         * bufferview_funcs.C (put_selection_at):
1670         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1671
1672 2003-11-11  André Pönitz  <poenitz@gmx.net>
1673
1674         * text.C: remove big comment on invalid Paragraph pointers as it is
1675         not valid anymore
1676
1677 2003-11-11  André Pönitz  <poenitz@gmx.net>
1678
1679         * text_funcs.[Ch]: merge with ...
1680
1681         * text.C: ... this
1682
1683         * lyxtext.h:
1684         * text2.C:
1685         * text3.C: adjust
1686
1687         * Makefile.am: remove text_funcs.[Ch]
1688
1689 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1690
1691         * cursor.C (getPos): return absolute cached y coord
1692
1693         * BufferView_pimpl.C (fitCursor): new simplistic code
1694         (workAreaDispatch): add a fitCursor call
1695
1696 2003-11-10  André Pönitz  <poenitz@gmx.net>
1697
1698         * BufferView.[Ch]:
1699         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1700
1701 2003-11-10  André Pönitz  <poenitz@gmx.net>
1702
1703         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1704         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1705         indicate that the cursor needs to leave an inset
1706
1707         * lyxtext.h: remove inset locking
1708
1709         * cursor.[Ch]: re-implement functionality provided by inset locking
1710
1711         * BufferView.[Ch]:
1712         * BufferView_pimpl.[Ch]:
1713         * LyXAction.C:
1714         * bufferview_funcs.[Ch]:
1715         * factory.C:
1716         * funcrequest.[Ch]:
1717         * iterators.C:
1718         * lyx_cb.C:
1719         * lyxfind.C:
1720         * lyxfunc.C:
1721         * text.C:
1722         * text2.C:
1723         * text3.C:
1724         * undo.C: adjust
1725
1726 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1727
1728         * PosIterator.[Ch]: replace the stack with a vector, add inset
1729         accesor
1730         * iterators.[C]: adjust
1731
1732 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1733
1734         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1735         replaced
1736         * paragraph_funcs.C (readParToken): put the correct id in the
1737         error item, not the id of the top paragraph
1738
1739 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1740
1741         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1742         * bufferview_funcs.C (put_selection_at): use the above
1743
1744 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1745
1746         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1747
1748 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1749
1750         * output_linuxdoc.h:
1751         * output_plaintext.h:
1752         * output.h:
1753         * output_docbook.h: add #include statements
1754
1755 2003-11-05  José Matos  <jamatos@lyx.org>
1756
1757         * output_docbook.[Ch]:
1758         * output_latex.[Ch]:
1759         * output_linuxdoc.[Ch]:
1760         * output_plaintext.[Ch]: New files for output formats.
1761         * output.[Ch]: New file for helper functions.
1762
1763         * buffer.[Ch]:
1764         * paragraph_funcs.[Ch]: output functions moved to new files.
1765
1766         * outputparams.h: rename of latexrunparams.h
1767
1768         * LaTeX.[Ch]:
1769         * buffer.[Ch]:
1770         * bufferlist.[Ch]:
1771         * converter.[Ch]:
1772         * exporter.C:
1773         * paragraph.[Ch]:
1774         * paragraph_funcs.[Ch]:
1775         * paragraph_pimpl.[Ch]:
1776         * tabular.[Ch]: rename ascii to plaintext
1777         and LatexRunParams to OutputParams.
1778
1779 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1780
1781         * iterators.[Ch] (text): require bv argument
1782         * undo.C (recordUndo):
1783         * lyxfunc.C (dispatch):
1784         * bufferview_funcs.C (put_selection_at): adjust
1785
1786 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1787
1788         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1789
1790 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1793         nestings
1794
1795 2003-11-04  André Pönitz  <poenitz@gmx.net>
1796
1797         * cursor.[Ch]: restructure
1798
1799         * BufferView.[Ch]:
1800         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1801
1802         * iterators.[Ch] (asCursor): remove
1803
1804         * lfuns.h: remove LFUN_INSET_EDIT
1805
1806         * lyxfunc.C:
1807         * tabular.C:
1808         * text.C:
1809         * text2.C:
1810         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1811
1812 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * lyxfind.[Ch]: complete overhaul
1815         * BufferView_pimpl.C:
1816         * lyxfunc.C: adjust
1817         * paragraph.[Ch] (insert): add
1818
1819 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1820
1821         * BufferView.[Ch]:
1822         * lyxtext.h:
1823         * text.C: remove dead spellcheck code
1824
1825 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1826
1827         * dispatchresult.h: add a val setter
1828
1829         * cursor.C (dispatch): use a tempvar for data_[i]
1830
1831 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1832
1833         * PosIterator.[Ch]: compile fix
1834
1835 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1836
1837         * text.C (cursorPar): deactivate the cursor cache
1838
1839 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1842
1843 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1844
1845         * text3.C (dispatch): adjust for new DisptchResult semantics.
1846
1847         * lyxfunc.C (dispatch): handle update when return from
1848         Cursor::dispatch, adjust for new DispatchResult semantics.
1849
1850         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1851         DispatchResult(true) mean to not update. Add class functions for
1852         setting dispatched and update, as well as reading.
1853
1854         * cursor.C (dispatch): don't handle update here
1855
1856 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1857
1858         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1859         * trans_mgr.C: adjust
1860
1861         * paragraph_funcs.C (readParToken): exception safety
1862
1863         * lyxvc.h: store the vcs pointer in a scoped_ptr
1864         * lyxvc.C: adjust
1865
1866         * lyxsocket.C (serverCallback): exception safety
1867
1868         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1869
1870         * ispell.C (clone): make it return a auto_ptr
1871
1872         * factory.C (createInset): exception safety
1873         (readInset): exception safety
1874
1875         * bufferlist.C (newBuffer): exception safety
1876
1877         * Thesaurus.C (Thesaurus): use initialization for aik_
1878
1879         * MenuBackend.C (expandToc): exception safety.
1880
1881 2003-11-03  André Pönitz  <poenitz@gmx.net>
1882
1883         * buffer.C:
1884         * buffer.h:
1885         * bufferview_funcs.C: remove getInsetFromId()
1886
1887         * lyxcursor.[Ch]:
1888         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1889
1890         * lyxfunc.C:
1891         * text2.C:
1892         * text3.C: adjust
1893
1894 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1895
1896         * PosIterator.C (distance, advance): new
1897         * bufferview_funcs.[Ch] (put_selection_at): new
1898         * iterators.[Ch] (lockPath): new
1899
1900 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1901
1902         * iterators.[Ch] (asPosIterator): added
1903         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1904         * PosIterator.[Ch]: added
1905
1906 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1907
1908         * text3.C:
1909         * lyxfunc.C:
1910         * cursor.C (dispatch):
1911         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1912
1913         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1914         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1915         contructor, add a class function dispatched. Remove operator>=
1916
1917 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1918
1919         * debug.C: only use the default constructor for debugstream
1920         (lyxerr) here.
1921
1922         * main.C (main): include debug.h and setup the lyxerr streambuf
1923         here.
1924
1925 2003-10-31  José Matos  <jamatos@lyx.org>
1926
1927         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1928
1929         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1930         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1931         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1932         * paragraph_pimpl.C (simpleTeXSpecialC):
1933         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1934         add LatexRunParams argument.
1935
1936         * exporter.C (Export): change call accordingly.
1937
1938         * latexrunparams.h: add new member to take care of the other backends.
1939 2003-10-30  José Matos  <jamatos@lyx.org>
1940
1941         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1942         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1943         factorise code for paragraph output.
1944         * buffer.[Ch]:
1945         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1946         move functions.
1947
1948 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1949
1950         * text3.C (dispatch):
1951         * lyxfunc.C (dispatch):
1952         * cursor.C (dispatch):
1953         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1954
1955         * dispatchresult.h: make the dispatch_result_t ctor explicit
1956
1957 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1958
1959         * sgml.[Ch]:
1960         * buffer.C: small refactoring of docbook stuff
1961
1962 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1963
1964         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1965         meaning.
1966
1967 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1968
1969         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1970         operator dispatch_result_t, and operators for == != and >=
1971
1972         * cursor.C (dispatch): adjust for operator dispatch_result_t
1973         removal. comment out call to update
1974
1975         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1976
1977 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1978
1979         * text3.C:
1980         * text2.C:
1981         * text.C:
1982         * lyxtext.h:
1983         * lyxfunc.C:
1984         * cursor.C:
1985         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1986         (dispatch):
1987
1988         * dispatchresult.h: new file, DispatchResult broken out of
1989         insets/insetbase.h
1990
1991         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1992
1993 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1994
1995         * text.C (rowBreakPoint): put a hack inside #if 0
1996
1997 2003-10-28  André Pönitz  <poenitz@gmx.net>
1998
1999         * lyxtext.h:
2000         * metricsinfo.C:
2001         * paragraph_funcs.C:
2002         * rowpainter.C:
2003         * text.C:
2004         * text2.C: general cleanup (lots of small stuff)
2005
2006 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2007
2008         * text2.C (cursorEnd): simple fix to the "end key goes to one
2009         before the end on last row" bug
2010
2011 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2012
2013         * text.C (backspace): fix the "zombie characters"
2014
2015 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2016
2017         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2018
2019 2003-10-27  André Pönitz  <poenitz@gmx.net>
2020
2021         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2022
2023         * factory.C: handle new InsetPagebreak, InsetLine
2024
2025         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2026         and move handling into new InsetPagebreak, InsetLine
2027
2028         * BufferView_pimpl.C:
2029         * LyXAction.C:
2030         * ParagraphParameters.C:
2031         * ParameterStruct.h:
2032         * lyxfunc.C:
2033         * lyxtext.h:
2034         * paragraph.C:
2035         * paragraph.h:
2036         * paragraph_funcs.C:
2037         * paragraph_pimpl.C:
2038         * rowpainter.C:
2039         * text.C:
2040         * text2.C:
2041         * text3.C: adjust
2042
2043 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2044
2045         * text.C:
2046         * lyxrow_funcs.[Ch]:
2047         * Bidi.C:
2048         * paragraph.C:
2049         * lyxtext.h:
2050         * rowpainter.C:
2051         * text2.C:
2052         * text3.C: remove lastPos uses in favour of Row::endpos
2053
2054 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2055
2056         * undo.C (performUndoOrRedo): fix two crashes by setting a
2057         cursor by hand and reordering some calls. Use bv->lockInset instead
2058         of inset->edit because the latter loses cursor information
2059
2060 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2061
2062         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2063         by Martin
2064         (rowBreakPoint): fix width. change point to point + 1.
2065         Add a missing check.
2066
2067 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2068
2069         * MenuBackend.C:
2070         * lyxfunc.C: fix (at least partly) the problems
2071         with the Nav menu and headers inside branch insets
2072         reported by Kayvan
2073
2074 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2075
2076         * paragraph.C (getChar): add strong asserts
2077
2078         * lyxrow_funcs.C (lastPos): remove hideous hack
2079
2080         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2081         (fill): adjust to that (avoid an infinite loop)
2082
2083 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2084
2085         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2086
2087 2003-10-23  André Pönitz  <poenitz@gmx.net>
2088
2089         * RowList_fwd.h: change list<> to vector<> to gain speed
2090         after suggestion from Alfredo
2091
2092 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2093
2094         * lyxtext.h: move the bidi stuff from here...
2095         * text.C: and here
2096         * text2.C: and here
2097         * Bidi.[Ch]: ... to here
2098
2099 2003-10-23  André Pönitz  <poenitz@gmx.net>
2100
2101         * lyxtext.h:
2102         * text.C (isLastRow, isFirstRow): new functions
2103
2104         * paragraph.h: new width cache member
2105
2106         * rowpainter.C: replace RowList::iterator with Row & where possible
2107
2108         * lyxfunc.C: replace several view()->text with a single call
2109
2110         * toc.C: fix 'unused' warning
2111
2112 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2113
2114         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2115         when woring with stream::pos_type
2116         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2117
2118 2003-10-22  André Pönitz  <poenitz@gmx.net>
2119
2120         * lyxtext.h:
2121         * text.C: use Row & instead of RowList::iterator
2122
2123         * lyxrow.h: rename end() to endpos()
2124
2125         * rowpainter.C:
2126         * text.C:
2127         * text2.C: adjust
2128
2129 2003-10-22  Angus Leeming  <leeming@lyx.org>
2130
2131         * buffer.[Ch] (fully_loaded): new member function, returning true
2132         only when the file has been loaded fully.
2133         Used to prevent the premature generation of previews and by the
2134         citation inset to prevent computation of the natbib-style label.
2135
2136         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2137         templates are all set up.
2138
2139         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2140
2141 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2142
2143         * text.C: fixed an "oops" in the "is a bit silly"
2144         bug fix
2145
2146 2003-10-21  André Pönitz  <poenitz@gmx.net>
2147
2148         * FuncStatus.[Ch]: small stuff, whitespace
2149
2150         * lyxfont.[Ch]: operator<<() for debug reasons
2151
2152         * lyxfunc.C:
2153         * lyxrow_funcs.C:
2154         * lyxtext.h: whitespace, spelling
2155
2156         * paragraph.C: naming of variables
2157
2158         * text.C:
2159         * text2.C: small stuff
2160
2161
2162 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2163
2164         * text.C: (1) finish off the inset display() work;
2165         (2) fix the "is a bit silly" bug (accessing char
2166         past end of par).
2167
2168 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * text.C: re-introduce display() for insets, fixing the
2171         various bugs (stretch of line above, math inset
2172         positioning, ...)
2173
2174 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2175
2176         * text.C (rightMargin): remove spurious semicolon
2177
2178         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2179         1415)
2180
2181 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2182
2183         * text3.C: fix one crash due to wrong cursor def
2184
2185 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2186
2187         * vc-backend.C (scanMaster): make the regex static
2188
2189         * LaTeX.C (scanAuxFile): make the regexs static
2190
2191         * text3.C (doInsertInset, dispatch, dispatch):
2192         * text2.C (cursorUp, cursorDown):
2193         * text.C (selectNextWordToSpellcheck):
2194         * BufferView_pimpl.C (dispatch):
2195         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2196
2197 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2198
2199         * lyxsocket.C: include <cerrno>
2200
2201 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * lyxfunc.C (dispatch): remove textcache stuff
2204
2205         * bufferlist.C (release): remove textcache stuff
2206         (closeAll): ditto
2207
2208         * TextCache.C: delete file
2209         * TextCache.h: delete file
2210
2211         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2212
2213         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2214         delete of the bv_->text.
2215         (resizeCurrentBuffer): remove texcache stuff
2216         (workAreaResize): ditto
2217
2218 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2219
2220         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2221         action.
2222
2223 2003-10-16  André Pönitz  <poenitz@gmx.net>
2224
2225         * lyxrow.[Ch]:
2226         * paragraph.h:
2227         * rowpainter.C:
2228         * text.C:
2229         * text2.C:
2230         * text3.C: speed up by storing y positions per paragraph plus per-row
2231         offset instead of having a 'full' y position in the row.
2232
2233 2003-10-15  André Pönitz  <poenitz@gmx.net>
2234
2235         * iterators.[Ch]:
2236         * iterators.[Ch]:
2237         * undo.[Ch]: make undo aware of inner insets
2238
2239 2003-10-14  Angus Leeming  <leeming@lyx.org>
2240
2241         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2242         static member functions LyX::ref() and LyX::cref.
2243         (lastfiles): new accessor functions for the new lastfiles_ member var.
2244         (addLyXView, views_): add a new LyXView to the list of views_.
2245         (updateInset): loop over all LyXViews to call their own updateInset
2246         member function, returning a pointer to the Buffer owning the inset.
2247
2248         * BufferView_pimpl.C (loadLyXFile):
2249         * MenuBackend.C (expandLastfiles):
2250         * bufferlist.C (MenuWrite, QuitLyX):
2251         lastfiles is no longer a global variable.
2252         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2253
2254         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2255         static function. Access through LyX::cref().emergencyCleanup().
2256
2257 2003-10-14  André Pönitz  <poenitz@gmx.net>
2258
2259         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2260
2261         * undo.[Ch]: restoring part of 'undo in insets'
2262
2263         * Makefile.am:
2264         * undo_funcs.[Ch]: merge with undo.[Ch]
2265
2266         * tabular.C: small cleansing stuff
2267
2268 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2269
2270         * paragraph_funcs.C (readParToken): report unknown insets as error
2271         boxes. Use the outer paragraph as location (also for unknown
2272         tokens).
2273
2274         * factory.C (readInset): do not abort on reading an unknown inset.
2275         Eat it and return 0.
2276
2277 2003-10-13  Angus Leeming  <leeming@lyx.org>
2278
2279         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2280
2281         * lyxrc.C: displayTranslator is now a function,
2282         declared in GraphicsTypes.h.
2283
2284 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2285
2286         * format.C: new placeholder $$a to pass the socket address.
2287
2288         * bufferlist.[Ch]: new function getBufferFromTmp.
2289
2290         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2291           files in the temporary dir.
2292
2293 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2294
2295         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2296
2297         * Makefile.am: add lyxsocket.[Ch].
2298
2299         * lyx_main.C (error_handler): handle SIGPIPE.
2300
2301 2003-10-13  André Pönitz  <poenitz@gmx.net>
2302
2303         * BufferView_pimpl.C:
2304         * lyxtext.h:
2305         * text.C:
2306         * text2.C:
2307         * text3.C:
2308         * undo_funcs.[Ch]: use paroffset_type instead of
2309           ParagraphList::iterators to prevent multiple conversion
2310           (and get a more robust interface)
2311
2312 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2313
2314         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2315         * lyxtext.h: ditto
2316         * text3.C (dispatch): ditto
2317
2318 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2319
2320         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2321         move the onlyfile, use onlyfile instead of foundfile in a couple
2322         of places.
2323
2324         * DepTable.C (update): flush the error stream a bit more
2325
2326 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2327
2328         * lyxserver.C (callback): adjust
2329
2330         * lyxfunc.C (getStatus): add a missing brace in commented code
2331         (ensureBufferClean): reindent
2332         (dispatch): delete version taking a string
2333
2334 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2335
2336         * LaTeX.C (deplog): move found file handlig from here...
2337         (handleFoundFile): .. to new function here.
2338         (deplog): make sure to discover several files mentioned on the
2339         same log line.
2340
2341 2003-10-10  André Pönitz  <poenitz@gmx.net>
2342
2343         * lyxfunc.C:
2344         * lyxtext.h:
2345         * tabular.C:
2346         * text.C:
2347         * text2.C:
2348         * text3.C: fix some of the tabular crashes
2349
2350 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2351
2352         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2353
2354         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2355
2356 2003-10-09  André Pönitz  <poenitz@gmx.net>
2357
2358         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2359
2360         * BufferView.C:
2361         * BufferView_pimpl.C:
2362         * bufferview_funcs.C:
2363         * lyx_cb.C:
2364         * lyxcursor.C:
2365         * lyxfind.C:
2366         * lyxfunc.C:
2367         * lyxtext.h:
2368         * text.C:
2369         * text2.C:
2370         * text3.C:
2371         * text_funcs.[Ch]:
2372         * textcursor.[Ch]:
2373         * undo_funcs.C: adjust
2374
2375 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2376
2377         * text2.C (incrementItemDepth): new function, use a backtracking
2378         algorithm to discover the correct item depth.
2379         (resetEnumCounterIfNeeded): new function, use a backtracking
2380         algorithm to discover if counter reset is needed.
2381         (setCounter): use them. Simplify a bit. Add different labels for
2382         different item depths for itemize.
2383
2384         * paragraph.C (Paragraph): remove initialization of enumdepth
2385         (operator=): ditto
2386
2387         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2388         enumerate and itemize. Change the type of itemdepth to signed char.
2389
2390 2003-10-08  André Pönitz  <poenitz@gmx.net>
2391
2392         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2393           thing assignable.
2394         * text.C:
2395         * text2.C: adjust
2396
2397         * tabular.[Ch]: fix crash after 'row-insert'
2398
2399 2003-10-08  Angus Leeming  <leeming@lyx.org>
2400
2401         Fix doxygen warnings.
2402
2403         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2404         Remove CutAndPaste:: prefix from header file declaration.
2405
2406         * LColor.h (fill): remove LColor:: prefix from declaration.
2407
2408         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2409         use lyx::depth_type rather than Paragraph::depth_type so that
2410         header file and .C file match.
2411
2412         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2413
2414         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2415         * aspell.C: \file aspell_local.C -> \file aspell.C
2416         * gettext.C: \file gettext.C -> \file src/gettext.C
2417         * gettext.h: \file gettext.h -> \file src/gettext.h
2418         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2419         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2420         * text.C: \file text.C -> \file src/text.C
2421
2422         * toc.C: move comment so that doxygen is not confused.
2423
2424 2003-10-07  Angus Leeming  <leeming@lyx.org>
2425
2426         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2427
2428 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2429
2430         * aspell.C:
2431         * aspell_local.h: add forgotten std::string's.
2432
2433 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2434
2435         * LaTeXFeatures.C:
2436         * LyXAction.C:
2437         * factory.C:
2438         * lfuns.h:
2439         * lyxfunc.C:
2440         * text3.C: The Box patch. Fancybox support, minipage, parbox
2441
2442 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2443
2444         * CutAndPaste.h:
2445         * DepTable.h:
2446         * FloatList.h:
2447         * LaTeXFeatures.h:
2448         * ParagraphParameters.h:
2449         * TextCache.h:
2450         * Thesaurus.h:
2451         * bufferlist.h:
2452         * exporter.h:
2453         * importer.h:
2454         * lastfiles.h:
2455         * lyxfind.h:
2456         * lyxfont.h:
2457         * lyxlex.h:
2458         * lyxtextclasslist.h:
2459         * messages.h:
2460         * paragraph.h:
2461         * paragraph_pimpl.C:
2462         * textcursor.h: add <string> and other small fixes to make Lars'
2463         std::string patch compile with STLport.
2464
2465 2003-10-06  Angus Leeming  <leeming@lyx.org>
2466
2467         * LColor.h: Add missing #include <string>.
2468
2469 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * All most all file in all subdirs: Make <string> be the prefered
2472         way of getting to std::string, add using declarations.
2473
2474 2003-10-06  André Pönitz  <poenitz@gmx.net>
2475
2476         * metricsinfo.C: initialize LyXFont before changing attribute.
2477         (fixes the 'math in \emph is upright' bug)
2478
2479 2003-10-06  André Pönitz  <poenitz@gmx.net>
2480
2481         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2482
2483 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2484
2485         * graph.C:
2486         * paragraph_pimpl.C: Small fixes to build using STLport
2487
2488 2003-10-02  André Pönitz  <poenitz@gmx.net>
2489
2490         * lyxfunc.C:
2491         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2492
2493 2003-10-01  André Pönitz  <poenitz@gmx.net>
2494
2495         * factory.C: assert early
2496
2497 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * lyx_main.C: remove the global debug object
2500
2501         * debug.h: adjust for new debugstream
2502
2503         * debug.C: adjust for new debugstream and keep the global debug
2504         object here.
2505
2506 2003-09-22  Angus Leeming  <leeming@lyx.org>
2507
2508         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2509         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2510         an incomplete class LyXFont.
2511
2512 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2513
2514         * factory.C: bug fix in branches
2515
2516 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2517
2518         * lyxfunc.C (processKeySym): adjust
2519         (dispatch): adjust
2520         (dispatch): change arg name from ev to func, adjust
2521         (sendDispatchMessage): ditto
2522
2523         * lyx_main.C (defaultKeyBindings): adjust keybindings
2524         (deadKeyBindings): ditto
2525
2526         * kbsequence.C (addkey): return a FuncRequest
2527
2528         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2529
2530         * kbmap.C (bind): take a FuncRequest as arg, adjust
2531         (read): adjust
2532         (lookup): adjust
2533         (defkey): change to take a FuncRequest as arg, adjust
2534         (findbinding): take a FuncRequest as arg, adjust.
2535
2536         * funcrequest.h (operator=): added
2537
2538         * funcrequest.C (FuncRequest): default kb_action changed from
2539         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2540
2541         * buffer.C (dispatch): simplify
2542         (dispatch): adjust to take a FuncRequest as arg, adjust
2543
2544         * boost.C (assertion_failed): change assertion message slightly
2545
2546         * ToolbarBackend.C (read): simplify
2547
2548         * MenuBackend.C (binding): adjust call to findbinding, add a
2549         message if no binding is found.
2550         (read): simplify
2551         (expandToc): correct by adding a empty FuncRequest
2552
2553         * LyXAction.C: include <boost/assert.hpp>
2554         (isPseudoAction): delete function
2555         (LookupFunc): change name to...
2556         (lookupFunc): this. change return type to FuncRequest.
2557         (getActionName): take kb_action as arg, simplify
2558         (funcHasFlag): add an assert, simplify.
2559
2560 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2561
2562         * toc.C (action): return a FuncRequest, simplify
2563
2564         * lyxfunc.C (processKeySym): adjust
2565         (getStatus): delete version that takes an int.
2566         (getStatus): adjust
2567         (dispatch): delete version that takes action as int
2568         (dispatch): adjust
2569         (sendDispatchMessage): simplify and adjust
2570
2571         * funcrequest.C (getArg): take unsigned int as arg
2572
2573         * ToolbarBackend.C (read): adjust
2574         (add): delete version that takes func as a string.
2575         (getIton): take a FuncRequest as arg
2576
2577         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2578         action.
2579
2580         * MenuBackend.C (MenuItem): add a new construct that only takes a
2581         Kind, simplify the constructor use for submenus.
2582         (add): adjust
2583         (expandLastfiles): adjust
2584         (expandDocuments): adjust
2585         (expandFormats): adjust
2586         (expandFloatListInsert): adjust
2587         (expandFloatInsert): adjust
2588         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2589
2590         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2591         Remove class variables lyx_pseudo_map and lyx_arg_map
2592
2593         * LyXAction.C (searchActionArg): delete function
2594         (getPseudoAction): delete function
2595         (retrieveActionArg): delete function
2596         (LookupFunc): make it return kb_action, simplify.
2597         (getActionName): simplify
2598
2599         * factory.C (createInset): fix new bug
2600
2601 2003-09-19  Angus Leeming  <leeming@lyx.org>
2602
2603         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2604         masterFilename_ parameter in the include inset.
2605
2606         * factory.C (createInset): changes due to the changes to InsetInclude.
2607
2608 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2609
2610         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2611
2612 2003-09-18  Angus Leeming  <leeming@lyx.org>
2613
2614         * buffer.C:
2615         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2616         Inset::fillWithBibKeys.
2617         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2618
2619 2003-09-18  Angus Leeming  <leeming@lyx.org>
2620
2621         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2622         variables.
2623         (ctor): pass and store a 'Buffer const &'
2624         (buffer): new member function.
2625
2626         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2627         '*this' to the LaTeXFeatures ctor.
2628
2629 2003-09-18  Angus Leeming  <leeming@lyx.org>
2630
2631         * LColor.h:
2632         * lyxfont.C:
2633         * lyxfont.h:
2634         * lyxtext.h:
2635         * text.C: rename EnumLColor as LColor_color.
2636
2637 2003-09-18  Angus Leeming  <leeming@lyx.org>
2638
2639         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2640         remove #include "insets/insetbase.h" from cursor.h.
2641
2642 2003-09-18  Angus Leeming  <leeming@lyx.org>
2643
2644         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2645         InsetOld_code to remove #include "inset.h".
2646
2647         * iterators.C: add #include "insets/inset.h"
2648
2649 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2650
2651         * BufferView.C: remove more locking stuff that apparently doesn't
2652         do anything sensible.
2653
2654 2003-09-16  André Pönitz  <poenitz@gmx.net>
2655
2656         * paragraph.[Ch]:
2657         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2658           performance boost.
2659
2660 2003-09-16  Angus Leeming  <leeming@lyx.org>
2661
2662         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2663
2664         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2665         arg/return type.
2666
2667         * paragraph.h: remove #include "lyxfont.h". Forward declare
2668         LyXFont_size.
2669
2670 2003-09-16  Angus Leeming  <leeming@lyx.org>
2671
2672         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2673         of support/textutils.h.
2674         (isWord): move the contents of support/textutils.h's IsWordChar here.
2675
2676         * buffer.C:
2677         * lyxfind.C:
2678         * rowpainter.C:
2679         * text.C:
2680         * text2.C: add #include "paragraph.h".
2681
2682         * rowpainter.C:
2683         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2684
2685 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2686
2687         * main.C:
2688         * lyx_main.C:
2689         * lyx_cb.C:
2690         * buffer.C:
2691         * LaTeX.C: use namespace alias for lyx::support::os
2692
2693 2003-09-16  Angus Leeming  <leeming@lyx.org>
2694
2695         * bufferparams.C:
2696         * bufferview_funcs.C:
2697         * factory.C:
2698         * lyxfunc.C:
2699         * paragraph_pimpl.C:
2700         * rowpainter.C:
2701         * text.C: add #include "LColor.h".
2702
2703 2003-09-16  Angus Leeming  <leeming@lyx.org>
2704
2705         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2706         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2707         return LyXFont &.
2708         Store the FontBits::color variable as an int rather than as an
2709         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2710         file.
2711
2712         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2713         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2714         string calls together.
2715
2716         * lyxrc.C: add #include "LColor.h".
2717
2718 2003-09-15  Angus Leeming  <leeming@lyx.org>
2719
2720         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2721         a cow_ptr.
2722
2723 2003-09-15  Angus Leeming  <leeming@lyx.org>
2724
2725         * LColor.h: add an EnumLColor wrapper for LColor::color.
2726
2727         * lyxfont.[Ch] (color, setColor, realColor):
2728         * lyxtext.h, text.C (backgroundColor):
2729         pass EnumLColor args to/from the functions, rather than LColor::color
2730         ones.
2731
2732         * lyxfont.h:
2733         * lyxtext.h: forward declare EnumLColor.
2734
2735         * lyx_main.C: add #include "LColor.h".
2736
2737 2003-09-15  Angus Leeming  <leeming@lyx.org>
2738
2739         * .cvsignore: add lyx-gtk.
2740
2741 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * Chktex.C
2744         * LaTeX.C
2745         * LaTeXFeatures.C
2746         * ParagraphParameters.C
2747         * Spacing.C
2748         * buffer.C
2749         * bufferparams.C
2750         * bufferview_funcs.C
2751         * chset.C
2752         * counters.C
2753         * funcrequest.C
2754         * lyxfont.C
2755         * lyxgluelength.C
2756         * lyxlength.C
2757         * paragraph.C
2758         * paragraph_funcs.C
2759         * text3.C
2760         * vc-backend.C: remove usage of STRCONV
2761
2762 2003-09-15  Angus Leeming  <leeming@lyx.org>
2763
2764         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2765         explicitly define the color passed to the painter.
2766
2767 2003-09-15  Angus Leeming  <leeming@lyx.org>
2768
2769         * bufferparams.C (BufferParams): reorder member initializers to avoid
2770         compiler warning.
2771
2772 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2773
2774         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2775         * text.C (updateRowPositions): remove an unusual nop
2776
2777 2003-09-12  André Pönitz  <poenitz@gmx.net>
2778
2779         * BufferView_pimpl.C:
2780         * Bullet.C:
2781         * layout.h:
2782         * lyxfunc.C:
2783         * lyxlayout.[Ch]:
2784         * lyxtextclass.C:
2785         * rowpainter.C:
2786         * text.C:
2787         * text2.C:
2788         * Counters.[Ch]: finish the 'automatic counters' job
2789
2790 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2791
2792         * aspell.C: include <boost/assert.cpp> (compile fix)
2793
2794 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2795
2796         * boost.C (assertion_failed): use lyx::support::abort instead of
2797         assert.
2798
2799 2003-09-10  Angus Leeming  <leeming@lyx.org>
2800
2801         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2802         with their _fwd progeny.
2803
2804 2003-09-09  Angus Leeming  <leeming@lyx.org>
2805
2806         134 files throughtout the source tree: replace 'using namespace abc;'
2807         directives with the appropriate 'using abc::xyz;' declarations.
2808
2809 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2810
2811         * boost.C (emergencyCleanup): moved here from LAssert.c
2812         (assertion_failed): new function, called by BOOST_ASSERT
2813
2814         * several files: change Assert to BOOST_ASSERT
2815
2816 2003-09-09  Angus Leeming  <leeming@lyx.org>
2817
2818         * buffer.[Ch]: Add an Impl class and move Buffer's member
2819         variables into it. As a result move several header files out of
2820         buffer.h.
2821
2822         Add header files to lots of .C files all over the tree as a result.
2823
2824 2003-09-09  Angus Leeming  <leeming@lyx.org>
2825
2826         * buffer.[Ch]: make Buffer's member variables private. Add
2827         accessor functions.
2828
2829         Lots of changes all over the tree as a result.
2830
2831 2003-09-08  Angus Leeming  <leeming@lyx.org>
2832
2833         * graph.C: #include <config.h>.
2834
2835 2003-09-08  Angus Leeming  <leeming@lyx.org>
2836
2837         * BranchList.C:
2838         * BufferView.C:
2839         * BufferView_pimpl.C:
2840         * CutAndPaste.C:
2841         * DepTable.C:
2842         * LaTeX.C:
2843         * LaTeXFeatures.C:
2844         * LyXAction.C:
2845         * MenuBackend.C:
2846         * TextCache.C:
2847         * aspell.C:
2848         * buffer.C:
2849         * bufferlist.C:
2850         * changes.C:
2851         * chset.C:
2852         * converter.C:
2853         * counters.C:
2854         * debug.C:
2855         * graph.C:
2856         * ispell.C:
2857         * lyx_cb.C:
2858         * lyxfind.C:
2859         * lyxfunc.C:
2860         * lyxlex_pimpl.C:
2861         * lyxrc.C:
2862         * lyxrow.C:
2863         * paragraph.C:
2864         * rowpainter.C:
2865         * texrow.C:
2866         * text.C:
2867         * text2.C:
2868         * toc.C: remove redundant using directives.
2869
2870 2003-09-07  Angus Leeming  <leeming@lyx.org>
2871
2872         * LaTeXFeatures.h: remove #include "support/types.h".
2873         * ToolbarBackend.h: remove #include <algorithm>.
2874         * changes.h: remove #include <ctime>.
2875         * debug.h: remove #include <iosfwd>.
2876         * graph.h: remove #include "support/std_string.h".
2877         * lyx_main.h: remove #include <csignal>.
2878         * lyxlex_pimpl.h: remove #include <fstream>.
2879         * sgml.h: remove #include <algorithm>, <utility>.
2880         * toc.h: remove #include "support/std_ostream.h".
2881         Add #include <iosfwd>.
2882
2883 2003-09-07  Angus Leeming  <leeming@lyx.org>
2884
2885         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2886
2887         * converter.h: forward declare LatexRunParams.
2888         * encoding.h: remove #include "lyxrc.h".
2889         * lyxtext.h: remove #include "LColor.h".
2890         * lyxtextclass.h: remove #include "support/types.h".
2891         * trans.h: remove #include "tex-accent.h".
2892         * trans_mgr.h: remove #include "tex-accent.h".
2893         * insets/inset.h: remove #include "support/types.h", <vector>.
2894         * insets/insetcollapsable.h: remove #include "LColor.h".
2895         * insets/insetinclude.h: remove #include "dimension.h".
2896         * insets/insetlatexaccent.h: remove #include "dimension.h".
2897         * insets/insetoptarg.h:: remove #include "insettext.h".
2898         * insets/insettext.h: remove #include "dimension.h",
2899         <boost/shared_ptr.hpp>
2900
2901         * insets/renderers.h: add #include "dimension.h".
2902         * insets/updatableinset.h: add #include "support/types.h".
2903
2904         * many .C files: Associated changes.
2905
2906 2003-09-06  Angus Leeming  <leeming@lyx.org>
2907
2908         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2909         one, inside testInvariant.
2910
2911         * PrinterParams.C: new file.
2912         * PrinterParams.[Ch]: move the function bodies out of line.
2913
2914 2003-09-06  Angus Leeming  <leeming@lyx.org>
2915
2916         * ParagraphParameters.h: forward declare ParameterStruct rather than
2917         including its header file.
2918         (depth): moved out-of-line.
2919
2920 2003-09-06  Angus Leeming  <leeming@lyx.org>
2921
2922         * BufferView_pimpl.h:
2923         * kbmap.h:
2924         * kbsequence.h:
2925         * lyxfunc.h: forward declare LyXKeySym rather than
2926         #include "frontends/LyXKeySym.h".
2927
2928         * BufferView_pimpl.C:
2929         * kbmap.C:
2930         * kbsequence.C:
2931         * lyxfunc.C: associated changes.
2932
2933 2003-09-06  Angus Leeming  <leeming@lyx.org>
2934
2935         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2936         As a result, can remove the #include "insets/inset.h" from BufferView.h
2937
2938 2003-09-06  Angus Leeming  <leeming@lyx.org>
2939
2940         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2941         As a result, can remove the #include "insets/inset.h" from BufferView.h
2942
2943 2003-09-06  Angus Leeming  <leeming@lyx.org>
2944
2945         * buffer_funcs.C:
2946         * buffer.h:
2947         * bufferlist.C:
2948         * BufferView.C:
2949         * bufferview_funcs.C:
2950         * BufferView_pimpl.C:
2951         * CutAndPaste.C:
2952         * lyx_cb.C:
2953         * lyxfunc.C:
2954         * paragraph.h:
2955         * ParagraphParameters.C:
2956         * tabular.C:
2957         * text3.C:
2958         * toc.C:
2959         * undo_funcs.C:
2960         * frontends/controllers/ControlDocument.C:
2961         * insets/insetcaption.C: rearrange the #includes into some sort of
2962         coherent order.
2963
2964         * buffer.h: remove #includes ErrorList.h, undo.h
2965
2966 2003-09-06  Angus Leeming  <leeming@lyx.org>
2967
2968         * support/types.h: add a 'depth_type' typedef, used to store the
2969         nesting depth of a paragraph.
2970
2971         * paragraph.h:
2972         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2973         defining explicitly.
2974
2975         * buffer.h:
2976         * paragraph_funcs.h:
2977         * ParagraphParameters.h:
2978         * sgml.h: use lyx::depth_type rather than Paragraph or
2979         ParameterStruct's depth_type.
2980
2981         * buffer.h
2982         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2983
2984         * BufferView.C:
2985         * BufferView_pimpl.C:
2986         * CutAndPaste.C:
2987         * ParagraphParameters.C:
2988         * buffer_funcs.C:
2989         * bufferlist.C:
2990         * bufferview_funcs.C:
2991         * lyx_cb.C:
2992         * lyxfunc.C:
2993         * tabular.C:
2994         * text3.C:
2995         * toc.C:
2996         * undo_funcs.C:
2997         * frontends/LyXView.C:
2998         * frontends/controllers/ControlDocument.C:
2999         * frontends/controllers/ControlErrorList.C:
3000         * insets/insetbibitem.C:
3001         * insets/insetbranch.C:
3002         * insets/insetcaption.C:
3003         * insets/insetcollapsable.C:
3004         * insets/insetenv.C:
3005         * insets/insetert.C:
3006         * insets/insetfloat.C:
3007         * insets/insetfoot.C:
3008         * insets/insetfootlike.C:
3009         * insets/insetnewline.C:
3010         * insets/insetquotes.C:
3011         * insets/insettabular.C:
3012         * insets/insettext.C:
3013         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3014
3015         * frontends/controllers/ControlChanges.C: #include "changes.h".
3016
3017 2003-09-06  Angus Leeming  <leeming@lyx.org>
3018
3019         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3020         than #including paragraph.h.
3021
3022         * ParagraphList.h:
3023         * RowList.h: deleted. Superfluous.
3024
3025         * CutAndPaste.h:
3026         * iterators.h:
3027         * lyxcursor.h:
3028         * lyxtext.h:
3029         * text_funcs.h:
3030         * undo.h:
3031         * undo_funcs.h:
3032         * insets/inset.h:
3033         * insets/insettext.h: use ParagraphList_fwd.h rather than
3034         ParagraphList.h.
3035
3036         * paragraph.h: don't forward declare ParagraphList.
3037
3038         * buffer.h:
3039         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3040         rather than ParagraphList.h. paragraph.h is still needed for the
3041         Paragraph::depth_type parameters.
3042
3043         * textcursor.h: enable it to compile stand-alone in light of the
3044         above changes.
3045
3046         * bufferview_funcs.C:
3047         * iterators.C:
3048         * lyxfunc.C:
3049         * lyxrow_funcs.C:
3050         * paragraph.C:
3051         * rowpainter.C:
3052         * text.C:
3053         * text2.C:
3054         * text3.C:
3055         * text_funcs.C:
3056         * textcursor.C:
3057         * undo.C:
3058         * frontends/controllers/ControlParagraph.C:
3059         * frontends/controllers/ControlTabular.C:
3060         * insets/insetmarginal.C:
3061         * insets/insetminipage.C:
3062         * insets/insetnote.C:
3063         * insets/insetoptarg.C: add header files needed to compile again.
3064
3065 2003-09-06  Angus Leeming  <leeming@lyx.org>
3066
3067         * RowList_fwd.h: new file, forward-declaring Row rather than
3068         #including lyxrow.h.
3069
3070         * lyxrow_funcs.h:
3071         * lyxtext.h:
3072         * paragraph.h:
3073         * insets/insettext.h: use it instead of RowList.h
3074
3075         * bufferview_funcs.C:
3076         * lyxfunc.C:
3077         * lyxrow_funcs.C:
3078         * paragraph.C:
3079         * rowpainter.C:
3080         * text.C:
3081         * text2.C:
3082         * text3.C: #include "RowList.h".
3083
3084 2003-09-05  Angus Leeming  <leeming@lyx.org>
3085
3086         * factory.C (createInset):
3087         * vspace.C (c-tor): replace sscanf call with an istringstream.
3088         * ispell.C: re-add missing HP/UX headers.
3089         * lyxserver.C: re-add missing  os2 headers.
3090
3091 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3092
3093         * BranchList.C:
3094         * graph.C:
3095         * ispell.C:
3096         * lastfiles.C:
3097         * lyx_cb.C:
3098         * lyxserver.C:
3099         * texrow.C:
3100         * text3.C: re-add missing system headers, needed for 2.95.2.
3101
3102 2003-09-05  Angus Leeming  <leeming@lyx.org>
3103
3104         Changes most place everywhere due to the removal of using directives
3105         from support/std_sstream.h.
3106
3107 2003-09-05  Angus Leeming  <leeming@lyx.org>
3108
3109         Replace LString.h with support/std_string.h,
3110         Lsstream.h with support/std_sstream.h,
3111         support/LIstream.h with support/std_istream.h,
3112         support/LOstream.h with support/std_ostream.h.
3113
3114         Changes resulting throughout the tree.
3115
3116 2003-09-05  Angus Leeming  <leeming@lyx.org>
3117
3118         * sgml.h: ensure that the header file can be compiled stand-alone.
3119         * *.C: strip out redundant #includes. (320 in total.)
3120
3121 2003-09-04  Angus Leeming  <leeming@lyx.org>
3122
3123         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3124         here (from getPackages).
3125
3126         * debug.[Ch]: add a new EXTERNAL tag.
3127
3128 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3129
3130         * text2.C (cursorEnd): simplify
3131         (setCursor): adjust
3132         (getColumnNearX): adjust
3133
3134         * text.C (computeBidiTables): adjust
3135         (fill): adjust
3136
3137         * rowpainter.C (paintChars): adjust
3138         (paintSelection): adjust
3139         (paintChangeBar): adjust
3140         (paintText): adjust
3141
3142         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3143         lastPos instead.
3144         (numberOfSeparators): adjust
3145
3146 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3147
3148         * LyXAction.C:
3149         * box.[Ch]:
3150         * lfuns.h:
3151         * lyxfunc.C:
3152         * text3.C: Restricts the mouse click functionality
3153         of insets like bibtex, include, toc and floatlist to the visible
3154         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3155         up the dialogs. Cursor has to be in front of the inset (i.e.
3156         start of row) for this to function.
3157
3158 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3159
3160         * bufferview_funcs.C (currentState): output row information
3161
3162 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3163
3164         * bufferview_funcs.C (currentState): output paragraph position
3165
3166 2003-09-04  Angus Leeming  <leeming@lyx.org>
3167
3168         * FloatList.h: move out #include "Floating.h".
3169         * LaTeX.h: move out #include "DepTable.h".
3170         * LyXAction.h: move out #include "funcrequest.h".
3171         * buffer.h: move out #include "author.h", "iterators.h".
3172         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3173         * lyx_main.h: move out #include "errorlist.h".
3174         * lyxfunc.h: move out #include "FuncStatus.h".
3175         * lyxtext: move out #include "lyxcursor.h".
3176         * paragraph_pimpl.h: move out #include "counters.h".
3177
3178 2003-09-03  Angus Leeming  <leeming@lyx.org>
3179
3180         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3181         preamble_snippets list, enabling us to add snippets to the preamble
3182         only if the snippet was not there already.
3183
3184 2003-09-04  Angus Leeming  <leeming@lyx.org>
3185
3186         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3187
3188 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3191         update
3192
3193 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3194
3195         * BranchList.C: point fix, earlier forgotten
3196
3197 2003-09-02  Angus Leeming  <leeming@lyx.org>
3198
3199         * box.C (contains): renamed from 'contained' after a fantastic
3200         amount of hot air.
3201
3202 2003-09-02  John Levon  <levon@movementarian.org>
3203
3204         * BufferView.C:
3205         * lyxcursor.h:
3206         * lyxcursor.C:
3207         * lyxfunc.C:
3208         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3209
3210 2003-09-02  John Levon  <levon@movementarian.org>
3211
3212         * text2.C: simplification of cursorEnd(), including partial
3213         fix for bug 1376
3214
3215 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * buffer.C (readFile): add a space
3218
3219 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3220
3221         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3222
3223 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3224
3225         * buffer.C (readFile): new function, take a filename and a
3226         ParagraphList::iterator
3227         (readFile): adjust
3228         (readFile): adjust, make it private. don't use setStream, make
3229         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3230         always contain the filename.
3231
3232         * BufferView.C (insertLyXFile): simplify and make it work for
3233         gzipped files.
3234
3235 2003-08-30  John Levon  <levon@movementarian.org>
3236
3237         * Makefile.am: fix dist (from Kayvan)
3238
3239 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3240
3241         * most files: change to use const Buffer refs
3242
3243 2003-08-27  André Pönitz  <poenitz@gmx.net>
3244
3245         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3246         on top of ownerPar().
3247
3248 2003-08-27  John Levon  <levon@movementarian.org>
3249
3250         * funcrequest.C: properly initialise POD members
3251
3252 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3253
3254         * lyxtext.h (top_y): move top_y from here
3255         * text.C:
3256         * text2.C:
3257         * text3.C:
3258         * BufferView.[Ch]:
3259         * BufferView_pimpl.[Ch]: to here
3260         * frontends/screen.C:
3261         * insets/insettabular.C:
3262         * insets/insettext.C: adjust
3263         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3264
3265 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * BufferView.[Ch]:
3268         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3269
3270 2003-08-26  André Pönitz  <poenitz@gmx.net>
3271
3272         * paragraph_func.[Ch] (outerPar): new function
3273
3274         * paragraph.C:
3275         * paragraph_funcs.C:
3276         * paragraph_funcs.h:
3277         * paragraph_pimpl.C:
3278         * text2.C: remove Inset::par_owner
3279
3280 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3281
3282         * lyxrow_funcs.C:
3283         * lyxtext.h:
3284         * text.C:
3285         * text2.C: eliminates the needFullRow/display() stuff
3286         altogether, putting the logic in metrics/draw in the insets.
3287
3288 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * text2.C (redoParagraphInternal, redoParagraphs):
3291         * text.C (redoParagraph): add a call to updateRowPositions at the
3292         end of each 'metrics-like' call. Remove all others.
3293         (getRow): remove the 'y-computing' version.
3294         (getRowNearY): do not compute nor return the real y. Solve the
3295         'y < 0' problem and simplify.
3296
3297 2003-08-22  Angus Leeming  <leeming@lyx.org>
3298
3299         * *.[Ch]: clean-up of licence and author blurbs.
3300         Also move config.h out of a few .h files and into a few .C files.
3301
3302 2003-08-22  André Pönitz  <poenitz@gmx.net>
3303
3304         * lyxrow.[Ch]: add x_ and *fill_ members
3305
3306         * lyxtext.h:
3307         * text.C:
3308         * rowpainter.C:
3309         * text2.C: adjust/remove prepareToPrint() calls
3310
3311 2003-08-22  André Pönitz  <poenitz@gmx.net>
3312
3313         * lyxrow.[Ch]: add  end_ member
3314
3315         * lyxrow_funcs.C: use LyXRow::end_
3316
3317         * lyxtext.h (singleWidth): add LyXFont parameter
3318
3319         * rowpainter.C:
3320         * text2.C: adjust LyXText::singleWidth() calls
3321
3322         * text.C (redoParagraph): simplify row breaking logic
3323
3324
3325 2003-08-19  André Pönitz  <poenitz@gmx.net>
3326
3327         * funcrequest.C: initialize button_ member
3328
3329         * text3.C:
3330         * rowpainter.[Ch]: interface consolidation
3331
3332 2003-08-18  André Pönitz  <poenitz@gmx.net>
3333
3334         * BufferView.C:
3335         * BufferView_pimpl.C:
3336         * lyxfind.C:
3337         * paragraph_funcs.C:
3338         * rowpainter.C:
3339         * text3.C: remove LyXScreen::draw() and fitCursor calls
3340
3341         * BranchList.h: remove spurious semicolons
3342
3343         * MenuBackend.C: fix branchlist related crash
3344
3345 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * BranchList.[Ch]:
3348         * InsetList.[Ch]:
3349         * LColor.[Ch]:
3350         * LyXAction.C:
3351         * Makefile.am:
3352         * MenuBackend.[Ch]:
3353         * bufferparams.[Ch]:
3354         * factory.C:
3355         * lfuns.h:
3356         * lyxfunc.C:
3357         * text3.C: implements the 'branch inset'
3358         idea. This allows the output of various versions of a document
3359         from a single source version, selectively outputing or suppressing
3360         output of parts of the text.
3361         This implementation contains a 'branch list editor' in a separate
3362         tab of the document settings dialog. Branches are user definable
3363         and have a "display colour" to distinguish them on-screen.
3364
3365         ColorHandler was somewhat cleaned up.
3366         (1) make possible a dynamically growing LColor list by allowing
3367         the graphic context cache to grow along (vector);
3368         (2) eliminate an IMHO unnecessary step in colour allocation.
3369
3370 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3371
3372         * BufferView_pimpl.C: compile fix
3373
3374 2003-08-15  André Pönitz  <poenitz@gmx.net>
3375
3376         * rowpainter.C: remove extra metrics calls
3377
3378         * lyxtext.h: merge the two constructors into a single one,
3379           pass reference to owner's par list
3380
3381         * BufferView_pimpl.C:
3382         * text.C:
3383         * text2.C: adjust
3384
3385 2003-08-15  André Pönitz  <poenitz@gmx.net>
3386
3387         * lyxrow_funcs.[Ch]:
3388         * lyxtext.h:
3389         * paragraph.h:
3390         * paragraph_funcs.C:
3391         * rowpainter.C:
3392         * text.C:
3393         * text2.C:
3394         * text3.C:
3395         * text_funcs.C: split LyXText::rowlist_ into individual
3396         Paragraph::rows_ chunks
3397
3398         * BufferView.[Ch]:
3399         * BufferView_pimpl.[Ch]:
3400         * lyxfind.C:
3401         * lyxtext.h:
3402         * text3.C: remove toggleSelection()
3403
3404 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3405
3406         * bufferlist.C: beautify two alerts (shorter text of buttons)
3407         * buffer.C: Remove redundant ' ' from message
3408         * tabular.h:
3409         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3410         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3411         rename VALIGN_CENTER to VALIGN_MIDDLE
3412
3413 2003-08-11  André Pönitz  <poenitz@gmx.net>
3414
3415         * lyxtext.h (getPar):
3416         * text.C: new function
3417
3418 2003-08-11  André Pönitz  <poenitz@gmx.net>
3419
3420         * Makefile.am:
3421         * tracer.[Ch]: remove unneeded files
3422
3423         * InsetList.[Ch]: remove resizeInsetsLyXText()
3424
3425         * lyxtext.h:
3426         * text.C:
3427         * text2.C:
3428         * text3.C: merge insertParagraphs() and appendParagraph()
3429         remove breakAgain(), update()
3430
3431         * BufferView_pimpl.[Ch]:
3432         * bufferview_funcs.[Ch]:
3433         * lyxfunc.C:
3434         * paragraph.[Ch]:
3435         * rowpainter.C:
3436         * tabular.C: adjust after text & InsetList changes.
3437
3438 2003-08-08  André Pönitz  <poenitz@gmx.net>
3439
3440         * text.C (insertChar, backspace): replace rowlist fiddling
3441         with rebreak of full par
3442
3443         * lyxtext.h:
3444         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3445         checkParagraph, updateInset): removed
3446
3447 2003-08-07  André Pönitz  <poenitz@gmx.net>
3448
3449         * paragraph.C:
3450         * text3.C: merge some LFUN handlers, remove dead code
3451
3452 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3453
3454         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3455
3456 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3457
3458         * text2.C (DEPM): fix part of bug 1255 and 1256
3459
3460 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3461
3462         * BufferView_pimpl.C (workAreaDispatch): change to use
3463         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3464         that are no mouse related.
3465
3466 2003-08-05  André Pönitz  <poenitz@gmx.net>
3467
3468         * BufferView.[Ch]:
3469         * BufferView_pimpl.[Ch]:
3470         * bufferview_funcs.C:
3471         * text2.C:
3472         * text3.C: rip out "deep update"
3473
3474         * textcursor.[Ch] (last_sel_cursor): remove unused member
3475
3476 2003-08-04  André Pönitz  <poenitz@gmx.net>
3477
3478         * BufferView.[Ch]:
3479         * BufferView_pimpl.[Ch]:
3480         * ParagraphParameters.C:
3481         * bufferview_funcs.C:
3482         * lyx_cb.C:
3483         * lyxfind.C:
3484         * lyxfunc.C:
3485         * text.C:
3486         * text2.C:
3487         * text3.C: replace "complicated" BufferView::update(...) calls with
3488         simpler ones.
3489
3490         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3491
3492 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3493
3494         * Makefile.am (lyx_SOURCES): add paper.h
3495
3496 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3497
3498         * Makefile.am: move things around so that both lyx-qt and
3499         lyx-xforms can be built (according to --with-frontend). Then lyx
3500         is a symbolic link to lyx-[firstfrontend]
3501
3502 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3503
3504         * Always use std::endl with lyxerr
3505
3506 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3507
3508         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3509
3510 2003-08-01  André Pönitz  <poenitz@gmx.net>
3511
3512         * BufferView.[Ch]:
3513         * BufferView_pimpl.[Ch]:
3514         * lyxfunc.C:
3515         * text3.C: merge BufferView::repaint() and BufferView::update()
3516
3517 2003-08-01  José Matos  <jamatos@lyx.org>
3518
3519         * buffer.[Ch]: file_format is no longer a buffer data element.
3520
3521 2003-08-01  André Pönitz  <poenitz@gmx.net>
3522
3523         * BufferView.C:
3524         * lyxtext.h:
3525         * text.C:
3526         * text2.C: make redoParagraph more independent of current cursor
3527
3528         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3529         * text.C:
3530         * text2.C: remove unneeded members
3531
3532 2003-07-30  André Pönitz  <poenitz@gmx.net>
3533
3534         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3535
3536         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3537           create a single function...
3538
3539         * paragraph_funcs.C (moveItem): ... here.
3540
3541         * text.C:
3542           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3543
3544 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3545
3546         * LColor.[Ch]: Add comment and greyedout logical colors.
3547
3548 2003-07-30  André Pönitz  <poenitz@gmx.net>
3549
3550         * tabular.C: don't use Assert too heavily. This crashes where it
3551           shouldn't
3552
3553 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3556         is disabled (bug 1232)
3557
3558 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3559
3560         * factory.C: limited 'arg' scope
3561
3562 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3563
3564         * factory.C: fixed Note submenu issues
3565
3566 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3567
3568         * factory.C: submenu for Note/Comment/Greyedout
3569
3570 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3571
3572         * lyx_main.C (LyX):
3573         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3574
3575 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3576
3577         * LaTeXFeatures.C:
3578         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3579         greyedout. Patch provided by Jürgen Spitzmüller.
3580
3581 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3582
3583         * kbmap.C (read): fix error message when reading bind files
3584
3585 2003-07-29  Angus Leeming  <leeming@lyx.org>
3586
3587         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3588         certainly does not do what it purports to do. I am doing it, and
3589         us, a favour by killing it.
3590
3591 2003-07-28  José Matos  <jamatos@lyx.org>
3592
3593         * buffer.C (readBody, do_writeFile):
3594         * paragraph.C(readParagraph): \end_document replaces \the_end.
3595
3596 2003-07-29  André Pönitz  <poenitz@gmx.net>
3597
3598         * BufferView.[Ch]:
3599         * BufferView_pimpl.[Ch]:
3600         * lyxfunc.C:
3601         * text2.C:
3602         * text3.C:
3603         * textcursor.[Ch]: remove toggleToggle & Co
3604
3605 2003-07-28  José Matos  <jamatos@fep.up.pt>
3606
3607         * buffer.C (readParagraph):
3608         * params_func (readParToken, readParagraph):
3609         * paragraph.C (write): \layout -> \begin_layout.
3610
3611 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * lyxlex_pimpl.C (setFile): clean up slightly.
3614
3615         * bufferparams.h: add compressed var
3616
3617         * buffer_funcs.C (readFile): adjust for LyXLex change
3618         (newFile): ditto + simplify
3619
3620         * buffer.C (writeFile): handle writing of compressed files
3621
3622         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3623         Check if the file is compressed and set a bufferparm if so.
3624
3625         * Makefile.am (lyx_LDADD): remove explicit -lz
3626
3627 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3628
3629         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3630         makeDocBookFile): put the real LyX version in the first line of
3631         the file
3632
3633         * version.h:
3634         * version.C.in: remove lyx_docversion
3635
3636         * tabular.C (write_attribute): add a template-based version to
3637         write enums properly
3638
3639 2003-07-28  André Pönitz  <poenitz@gmx.net>
3640
3641         * lyxtext.h:
3642         * text.C:
3643         * text2.C:
3644         * text3.C: use doubles again for x-coordinates. They are needed.
3645
3646 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * messages.C (getLocaleDir): use lyx_localedir()
3649
3650         * lyxlex_pimpl.C (setFile): compress stuff
3651
3652         * buffer.C (writeFile): add some compression stuff
3653         (do_writeFile): new func, dont call expliti close... will this
3654         breake anything?
3655
3656         * Makefile.am (lyx_LDADD): add -lz
3657
3658 2003-07-28  José Matos  <jamatos@fep.up.pt>
3659
3660         * buffer.C: increment file format.
3661         * paragraph_funcs (readParagraph, readParToken):
3662         * paragraph.C (readParagraph): add \end_layout.
3663
3664 2003-07-27  Angus Leeming  <leeming@lyx.org>
3665
3666         * Makefile.am: remove special casing for configure-time setting of
3667         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3668
3669         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3670         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3671
3672 2003-07-26  André Pönitz  <poenitz@gmx.net>
3673
3674         * paragraph_func.[Ch]:
3675         * paragraph.C (realizeFont): inline it whereever it is used
3676
3677         * rowpainter.C:
3678         * text.C:
3679         * text2.C:
3680         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3681
3682
3683 2003-07-26  André Pönitz  <poenitz@gmx.net>
3684
3685         *       lyxtext.h:
3686         * text.C:
3687         * text2.C: get rid of LyXText::need_break_row
3688
3689 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3690
3691         * toc.[Ch]: put namespace toc inside namespace lyx
3692
3693         * MenuBackend.C (expandToc2): adjust for lyx::toc
3694         (expandToc): ditto
3695
3696         * lyxfunc.C (dispatch): adjust for lyx::find
3697
3698         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3699         lyx::find instead. Reorganize a bit.
3700         (LyXReplace): rename to replace
3701         (LyXFind): rename to find
3702
3703         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3704         (dispatch): ditto
3705
3706 2003-07-26  André Pönitz  <poenitz@gmx.net>
3707
3708         * text.C (setHeightOfRow): restrict scope of temporary variable
3709
3710         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3711           code (never has been used?)
3712
3713 2003-07-27  Asger Alstrup  <alstrup@local>
3714
3715         * text.C (fill): Optimise algorithm to exploit that we can reuse
3716         the LyXFont for many characters.
3717         (setHeightOfRow): Same thing.
3718         (rowBreakPoint): Same thing.
3719
3720 2003-07-26  Asger Alstrup  <alstrup@local>
3721
3722         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3723
3724         * text.C (singleWidth): Spurious font copying in hot-spot
3725         singleWidth avoided. Reorder tests for arabic for efficiency.
3726
3727         * text.C (fill): handle empty paragraphs better.
3728
3729 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3730
3731         * ispell.C:
3732         * encoding.h: add includes
3733
3734         * lyxrc.C: remove reading of bind files
3735
3736         * lyx_main.C (init): setup bindings and menus only if we have a
3737         gui.
3738
3739         * kbmap.C (read): new method. Do the actual reading of bind
3740         files.
3741
3742         * converter.C (dvipdfm_options):
3743         * bufferparams.C:
3744         * lyxrc.C (read):
3745         (output): adapt PAPER_* enums.
3746
3747         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3748
3749         * bufferparams.h: remove paper-related enums from there
3750
3751         * paper.h: New file. A trivial header file to hold paper-related
3752         enums. It should later expand to contain many paper-related
3753         horrors access.
3754
3755         * lyxrc.C: declare extern displayTranslator
3756
3757 2003-07-27  José Matos  <jamatos@fep.up.pt>
3758
3759         * tabular.[Ch] (linuxdoc): add support for tables and figures
3760         (linuxdoc).
3761
3762 2003-07-27  José Matos  <jamatos@fep.up.pt>
3763
3764         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3765         consistency in both functions.
3766         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3767
3768 2003-07-26  Asger Alstrup  <alstrup@local>
3769
3770         * rowpainter.C (paintRows): Change algorithm to work directly on
3771         the insets rather than asking every character in the document
3772         whether its an inset.
3773
3774 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3775
3776         * buffer.C (openFileWrite): factorize some code
3777
3778 2003-07-26  Angus Leeming  <leeming@lyx.org>
3779
3780         * lyx_cb.C:
3781         * lyx_main.[Ch]: replace occurances of system_tempdir with
3782         os::getTmpDir().
3783
3784 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3785
3786         * rename Inset to InsetOld
3787
3788 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3789
3790         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3791         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3792         which I think is a bit clearer. EDIT is gone, since it was
3793         premature optimisation, and broken for mathed anyway.
3794         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3795         with cursor positioning in insets as well (math insets still do not
3796         work, but that's a different story anyway.) It mysteriously
3797         crashes sometimes with undo in the first paragraph, but I'm fairly
3798         confident that this is a compiler bug.
3799
3800 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * paragraph.C (Paragraph): adjust for new clone return type
3803         (operator==): ditto
3804         (copyIntoMinibuffer): ditto
3805
3806 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3807
3808         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3809         by not having a special case, and always doing a full rebreak of
3810         the document after undo.
3811
3812 2003-07-23  Angus Leeming  <leeming@lyx.org>
3813
3814         * factory.C (createInset): InsetExternal::setParams now takes a
3815         Buffer const * arg.
3816
3817 2003-07-23  Angus Leeming  <leeming@lyx.org>
3818
3819         * factory.C (createInset): changed interface to the external and
3820         graphics mailers' string2params functions.
3821
3822 2003-07-23  Angus Leeming  <leeming@lyx.org>
3823
3824         * factory.C (createInset): pass a
3825         Buffer const * parameter to InsetExternalMailer's string2params.
3826
3827 2003-07-22  John Levon  <levon@movementarian.org>
3828
3829         * Thesaurus.h: include the right aiksaurus header
3830
3831 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3832
3833         * MenuBackend.C (expand): check menu shortcuts unconditionally
3834
3835 2003-07-21  Angus Leeming  <leeming@lyx.org>
3836
3837         * factory.C (createInset): pass a
3838         buffer_path parameter to InsetGraphicsMailer's string2params.
3839
3840 2003-07-21  Angus Leeming  <leeming@lyx.org>
3841
3842         * BufferView_pimpl.C (buffer):
3843         * buffer.C (d-tor):
3844         * lyx_main.C (LyX):
3845         * lyxfunc.C (dispatch):
3846         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3847         rather than the grfx shortcut.
3848
3849 2003-07-21  André Pönitz  <poenitz@gmx.net>
3850
3851         * rowpainter.C: remove unused variables
3852
3853         * tabular_funcs.C:
3854         * tabular_funcs.h: move to tabular.C
3855         * Makefile.am: adjust
3856
3857         * tabular.[Ch]: basic optical cleaning
3858
3859         * author.h: pass references, not values
3860
3861 2003-07-18  André Pönitz  <poenitz@gmx.net>
3862
3863         * lyxtext.h:
3864         * metricsinfo.C:
3865         * metricsinfo.h:
3866         * rowpainter.C:
3867         * text.C:
3868         * text2.C:
3869         * text3.C: two-phase drawing for InsetText and InsetTabular
3870         some float -> int changes.
3871
3872 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3873
3874         * lyx_main.C: fix the fix
3875
3876 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3877
3878         * lyx_main.C: fix a crash in batch mode if no files specified
3879         * converter.C: ws
3880
3881 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3882
3883         * format.[Ch] (papersize): moved to BufferParams
3884         * converter.[Ch] (dvips_options): moved to BufferParams
3885         (dvipdfm_options): moved to anon namespace
3886         * bufferparams.[Ch]: added above functions.
3887
3888 2003-07-17  André Pönitz  <poenitz@gmx.net>
3889
3890         * lyxtext.h:
3891         * rowpainter.C:
3892         * text2.C: don't call inset->update() anymore
3893
3894         * metricsinfo.[Ch]: add convenience constructor
3895
3896 2003-07-16  André Pönitz  <poenitz@gmx.net>
3897
3898         * lyxcursor.[Ch]:
3899         * lyxfunc.[Ch]:
3900         * text.C:
3901         * text2.C: replace the LyXCursor::irow_ member with
3902          on-demand computation of the value
3903
3904 2003-07-16  John Levon  <levon@movementarian.org>
3905
3906         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3907
3908 2003-07-15  André Pönitz  <poenitz@gmx.net>
3909
3910         * text.C:
3911         * text2.C: remove no more needed refresh_row
3912
3913 2003-07-15  André Pönitz  <poenitz@gmx.net>
3914
3915         * lyxtext.h:
3916         * rowpainter.C:
3917         * text2.C:
3918         * text3.C: refresh_status tristate -> need_update bool
3919
3920 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3921
3922         * lyxtext.h (init): remove reinit argument (act as if always true)
3923         * text2.C: adjust to that
3924
3925 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3926
3927         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3928         * text3.C: use it to delete selections in some cases
3929         (bugs 441, 673, 702, 954).
3930
3931 2003-07-14  André Pönitz  <poenitz@gmx.net>
3932
3933         * rowpainter.[Ch]: reduce interface
3934
3935 2003-07-14  André Pönitz  <poenitz@gmx.net>
3936
3937         * BufferView_pimpl.C:
3938         * text2.C: adjust after removing unused BufferView * argument
3939
3940 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3941
3942         * text2.C (init): fix a crash fired on resize
3943
3944 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3945
3946         * buffer.[Ch]: added new closing signal
3947         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3948         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3949         BufferView::Pimpl via the closing the signal
3950
3951 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3952
3953         * buffer.[Ch]: take out all bv-related from buffer
3954         * BufferView.C:
3955         * BufferView_pimpl.[Ch]: connect to new signals
3956         * CutAndPaste.C: removed useless asserts
3957         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3958         * lyxvc.[Ch]:
3959         * vc-backend.[Ch]:
3960         * lyxfunc.C: moved view-related funciontality from vc here
3961         * paragraph.C: removed outdated comments
3962         * text.C: ws
3963
3964 2003-07-10  André Pönitz  <poenitz@gmx.net>
3965
3966         * BufferView_pimpl.C:
3967         * tabular.h:
3968         * tabular_funcs.C:
3969         * text.C:
3970         * text2.C: remove InsetText::InnerCache, clean up consequences
3971
3972 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3973
3974         * ispell.C: fix two typos in error messages
3975
3976 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3977
3978         * Extend Note inset to other forms of annotation like Comment
3979         and Greyedout. Right button click gives dialog.
3980
3981         Files modified or added (+):
3982
3983         * insetnote.[Ch]
3984         * FormNote.[Ch]      +
3985         * ControlNote.[Ch]   +
3986         * form_note.fd       +
3987         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3988         frontends/controllers
3989         * xforms/Dialogs.C
3990         * factory.C
3991
3992 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3993
3994         * aspell.C: add missing namespace lyx::support
3995
3996 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3997
3998         * BufferView.[Ch] (newFile): Add
3999         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4000         * LaTeX.[Ch] (message): added this signal and use it
4001         * buffer.[Ch] (busy, message): added these signals and use them
4002         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4003         * converter.C:
4004         * exporter.C:
4005         * format.C:
4006         * importer.C: use buffer signals instead of direct bv calling
4007         * lyx_cb.[Ch] (ShowMessage): removed
4008         * lyx_main.C:
4009         * lyxfunc.C:
4010         * paragraph_funcs.C:
4011         * text2.C: use buffer signals
4012
4013 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4014
4015         * introduce namespace lyx::graphics
4016
4017 2003-07-02  André Pönitz  <poenitz@gmx.net>
4018
4019         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4020
4021 2003-07-01  André Pönitz  <poenitz@gmx.net>
4022
4023         * text.C:
4024         * text2.C:
4025         * text3.C:
4026         * text_funcs.[Ch]:
4027         * textcursor.h:
4028         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4029           text*.C to text_func.C
4030
4031 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * introduce namespace lyx::support
4034
4035 2003-06-30  André Pönitz  <poenitz@gmx.net>
4036
4037         * Chktex.C:
4038         * funcrequest.C:
4039         * lyxtext.h:
4040         * text.C: re-enable --with-included-string
4041
4042 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * textcursor.C: add <config.h>
4045
4046         * text.C (getWord): remove const from word_location arg
4047
4048         * lyxvc.C (getLogFile): fix const type order
4049
4050         * lyxtext.h: remove const from word_location arg, add arg name
4051
4052         * lyxlayout.h: currect type on labeltype.
4053
4054         * importer.C: correct \file
4055
4056         * converter.C (intToFormat): use std:: on ret val, ws changes
4057
4058         * bufferlist.h: correct \file
4059
4060         * buffer.C (makeLinuxDocFile): fix const type order
4061         (makeDocBookFile): ditto
4062         (fillWithBibKeys): use std:: on stdlib args.
4063
4064         * CutAndPaste.C: fix authors.
4065         (availableSelections): use std:: on return vector
4066
4067 2003-06-27  André Pönitz  <poenitz@gmx.net>
4068
4069         * BufferView_pimpl.C:
4070         * bufferview_funcs.C:
4071         * lyxcursor.C:
4072         * lyxcursor.h:
4073         * lyxfunc.C:
4074         * lyxtext.h:
4075         * rowpainter.C:
4076         * text.C:
4077         * text2.C:
4078         * text3.C: remove LyXCursor::row_ member
4079
4080         * lyxtext.h:
4081         * text.C: rename fullRebreak() to partialRebreak() and implement
4082           a fullRebreak() that really bereks fully
4083
4084         * textcursor.h: new struct for cursor-related data
4085
4086 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4087
4088         * lyx_main.C (LyX): get full path of document loaded on the
4089         command line
4090
4091 2003-06-26  André Pönitz  <poenitz@gmx.net>
4092
4093         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4094           remove unused/broken operator>,<,>=.
4095
4096         *       text.C: remove only use of broken operator<= in an Assert().
4097
4098 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4101         moved errorlist_.clear to showErrorList
4102
4103 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4104
4105         * converter.C (scanLog, runLaTeX):
4106         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4107         move the bv->showErrorList call to the callers
4108         * lyxfunc.C: i.e. here...
4109         * text2.C: and here
4110         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4111         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4112         namespace, the second to...
4113         * buffer_funcs (BufferFormat, parseErrors): added
4114         * errorlist.C (ErrorList(TeXErrors const &)): removed
4115
4116 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4117
4118         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4119
4120 2003-06-24  "Garst R. Reese" <reese@isn.net>
4121
4122         * debug.C: fix typo
4123
4124 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4125
4126         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4127
4128         * version.C.in: change docversion to 1.4
4129
4130 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4131
4132         * buffer.C: fix a bug just introduced
4133
4134 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4135
4136         * buffer.[Ch]: added the parseError signal and use it, removed
4137         sgmlError
4138         * BufferView.[Ch] (addError): moved to ...
4139         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4140         to the Buffer::parseError signal to catch (guess what) parse errors
4141         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4142
4143 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4144
4145         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4146         ability to create a buffer and to return an existing one from
4147         the list. Moved these functions to...
4148         * buffer_funcs.[Ch]: added
4149         * BufferView.[Ch] (loadLyXFile): added
4150         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4151         job removed from bufferlist::loadLyXFile.
4152         * buffer.C (setReadOnly): make it work without view
4153         (i.e added an if (users))
4154
4155 2003-06-19  Angus Leeming  <leeming@lyx.org>
4156
4157         * lfuns.h:
4158         * LyXAction.C (init):
4159         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4160         with LFUN_DIALOG_SHOW <name> <data>.
4161
4162 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4163
4164         * CutAndPaste.C (availableSelections): small compilation fix for
4165         ancient (gcc 2.9x) compilers
4166
4167 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * text3.C (cursorNext): add tmp var
4170
4171         * text2.C (updateCounters): for function calling out of for clause
4172         (replaceSelectionWithString): ditto
4173         (insertStringAsParagraphs): ditto
4174         (getColumnNearX): add tmp var
4175         (setCursorFromCoordinates): add tmp var
4176         (cursorDownParagraph): add tmp var
4177         (deleteEmptyParagraphMechanism): add tmp var
4178
4179         * text.C (insertChar): add tmp var
4180
4181         * rowpainter.C (paintDepthBar): add tmp var
4182
4183         * CutAndPaste.C (availableSelections): potentially check all
4184         paragraphs in a cut to fill the shown strings.
4185
4186 2003-06-18  André Pönitz  <poenitz@gmx.net>
4187
4188         * kbmap.[Ch]: use vector<> instead of list<>
4189
4190 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4191
4192         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4193         pasteSelection with index
4194
4195         * text2.C (pasteSelection): modify, call pasteSelection with index
4196
4197         * paragraph.C (asString): reimplement version with no interval to
4198         call the one with interval.
4199
4200         * lyxtext.h: add index arg to pasteSelection
4201
4202         * MenuBackend.C (MenuItem): handle PasteRecent
4203         (Menu::read::Menutags): add md_pasterecent
4204         (read): handle it
4205         (expandPasteRecent): new function
4206         (expand): use it
4207
4208         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4209
4210         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4211         the limited stack
4212         (availableSelections): new function
4213
4214 2003-06-17  Angus Leeming  <leeming@lyx.org>
4215
4216         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4217
4218 2003-06-17  Angus Leeming  <leeming@lyx.org>
4219
4220         * lfuns.h:
4221         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4222
4223         * lyxfunc.C (dispatch): invoke it.
4224
4225 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4226
4227         * iterators.C (operator++, ParPosition): reintroduce some
4228         const_cast for the benefit of older compilers.
4229
4230 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4231
4232         * text3.C (dispatch): do not modify clipboard when doing
4233         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4234         LFUN_DELETE_SKIP on a selection selection
4235
4236 2003-06-16  André Pönitz  <poenitz@gmx.net>
4237
4238         * BufferView.C:
4239         * buffer.C:
4240         * buffer.h:
4241         * paragraph.C:
4242         * tabular.[Ch]: IU of clone() and getLabelList();
4243
4244 2003-06-13  André Pönitz  <poenitz@gmx.net>
4245
4246         * tabular.h: compactification
4247
4248 2003-06-12  André Pönitz  <poenitz@gmx.net>
4249
4250         * tabular.C:
4251         * tabular.h:
4252         * tabular_funcs.h: some renaming plus whitespace
4253
4254 2003-06-12  André Pönitz  <poenitz@gmx.net>
4255
4256         * BufferView.C:
4257         * BufferView_pimpl.C:
4258         * CutAndPaste.C:
4259         * buffer.C:
4260         * iterators.[Ch]:
4261         * lyxfunc.C:
4262         * text.C:
4263         * toc.C: Return a Paragraph & for ParIterator::operator*()
4264
4265 2003-06-11  John Levon  <levon@movementarian.org>
4266
4267         * lyx_main.C:
4268         * ToolbarBackend.h:
4269         * ToolbarBackend.C: add "Toolbars" section and
4270         put the flags there
4271
4272 2003-06-10  Angus Leeming  <leeming@lyx.org>
4273
4274         * lfuns.h:
4275         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4276
4277         * lyxfunc.C (dispatch): invoke it.
4278
4279 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4280
4281         * main.C: protect <ios> with HAVE_IOS
4282         (main): protect sync_with_stdio with HAVE_IOS
4283
4284 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4285
4286         * text2.C (cutSelection): adjust
4287         (pasteSelection): adjust
4288
4289         * messages.C: handle get of empty string
4290
4291         * main.C (main): use sync_with_stdio(false)
4292
4293         * lyxfunc.C (dispatch): adjust
4294
4295         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4296         (WriteAs): remove unneeded BufferView arg.
4297
4298         * bufferparams.h: use correct types on papersize, papersize2 and
4299         paperpackage.
4300
4301         * bufferparams.C (readToken): adjust for type
4302         (writeLaTeX): add missing cases to switch.
4303
4304         * bufferlist.C (quitWriteBuffer): adjust
4305         (close): adjust
4306
4307         * buffer.C (asciiParagraph): remove some commented code.
4308
4309         * CutAndPaste.C: remove current_view extern variable.
4310         (cutSelection): add BufferParams arg.
4311         (eraseSelection): add BufferParams arg.
4312         (pasteSelection): add Buffer const & arg
4313
4314 2003-06-07  John Levon  <levon@movementarian.org>
4315
4316         * buffer.C:
4317         * paragraph_funcs.C:
4318         * paragraph_pimpl.C:
4319         * text.C:
4320         * text2.C:
4321         * paragraph.h:
4322         * paragraph.C: allow InsetERT to freely space lines,
4323         and some consolidation of code
4324
4325 2003-06-06  José Matos  <jamatos@fep.up.pt>
4326
4327         * buffer.C (makeDocBookFile): fix bug #821
4328
4329 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4330
4331         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4332
4333 2003-06-04  Angus Leeming  <leeming@lyx.org>
4334
4335         * buffer.C: bump format to 224.
4336
4337 2003-06-05  André Pönitz  <poenitz@gmx.net>
4338
4339         * text2.C (redoParagraphs): remove two const_cast<>
4340
4341 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4342
4343         * ParagraphList.h: remove last remnants of NO_STD_LIST
4344
4345 2003-06-03  Angus Leeming  <leeming@lyx.org>
4346
4347         * factory.C (createInset): small change to the way InsetExternal's params
4348         are set.
4349
4350 2003-06-04  André Pönitz  <poenitz@gmx.net>
4351
4352         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4353
4354         * paragraph_pimpl.h:
4355         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4356
4357         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4358
4359         * undo_funcs.C: make some simple cases of undo work again
4360
4361 2003-06-03  John Levon  <levon@movementarian.org>
4362
4363         * ispell.C: HPUX doesn't have sys/select.h
4364         (from Albert Chin)
4365
4366 2003-06-03  John Levon  <levon@movementarian.org>
4367
4368         * CutAndPaste.C: update tabular and include inset
4369         buffer references
4370
4371         * buffer.h:
4372         * paragraph.h:
4373         * paragraph.C: remove owningBuffer(), don't pass Buffer
4374         to clone()
4375
4376         * factory.C: insetGraphicsParams changed
4377
4378 2003-06-02  John Levon  <levon@movementarian.org>
4379
4380         * LyXAction.C:
4381         * factory.C:
4382         * lfuns.h:
4383         * lyxfunc.C:
4384         * text3.C: remove insetparent
4385
4386 2003-06-02  John Levon  <levon@movementarian.org>
4387
4388         * buffer.h:
4389         * buffer.C: fix inset_iterator.end(), move out of line
4390         (bug 1149)
4391
4392 2003-06-01  John Levon  <levon@movementarian.org>
4393
4394         * text3.C: use a proper cut/paste when doing inset
4395         insert (from Jürgen Spitzmüller)
4396
4397 2003-06-01  John Levon  <levon@movementarian.org>
4398
4399         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4400
4401 2003-05-30  André Pönitz  <poenitz@gmx.net>
4402
4403         * rowpainter.C: unify second drawing phase
4404
4405 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * trans_mgr.C: remove one case of current_view
4408
4409         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4410
4411         * paragraph_funcs.h: remove paragraph.h include
4412
4413         * paragraph.h: delete NO_STD_LIST stuff
4414
4415         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4416
4417         * buffer.h: remove paragraph.h include
4418
4419         * ParagraphList.C: delete file
4420
4421         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4422
4423         * toc.C (getTocList): adjust
4424
4425         * paragraph_pimpl.C (validate): adjust
4426
4427         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4428
4429         * paragraph.C (Paragraph): adjust
4430         (getPositionOfInset): use const_iterator, adjust
4431         (bibitem): use const_iterator, adjust
4432         (setInsetOwner): adjust
4433
4434         * iterators.C (operator++): adjust
4435
4436         * InsetList.[Ch]: Replace selfmade iterator with standard
4437         vector::iterator also introduce const_iterator. Remove getPos,
4438         getInset and setInset from InsetTable. Adjust accordingly.
4439
4440         * BufferView.C (lockInset): adjust
4441         (ChangeInsets): adjust
4442
4443         * tabular.[Ch]: delete commented same_id functions
4444
4445 2003-05-28  John Levon  <levon@movementarian.org>
4446
4447         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4448
4449 2003-05-28  André Pönitz  <poenitz@gmx.net>
4450
4451         * metricsinfo.[Ch]: remove 'fullredraw' member
4452
4453 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4454
4455         * lyxtextclass.C (operator): remove caching.
4456
4457 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4458
4459         * text3.C: adjust
4460
4461         * text2.C (cursorBottom): adjust
4462         (setCounter): use ParagraphList::find, adjust
4463
4464         * text.C (workWidth): use ParagraphList::find, adjust
4465
4466         * lyxcursor.C (LyXCursor): adjust
4467
4468         * buffer.C (inset_iterator): adjust
4469
4470         * ParagraphList.h: make iterator(value_type) private, make
4471         ParagraphList a friend of iterator.
4472
4473         * ParagraphList.C (find): new function
4474
4475         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4476
4477 2003-05-27  André Pönitz  <poenitz@gmx.net>
4478
4479         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4480
4481 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4482
4483         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4484
4485 2003-05-26  John Levon  <levon@movementarian.org>
4486
4487         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4488
4489 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4490
4491         * remove same_id from function signatures, adjust.
4492
4493 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4496
4497         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4498
4499         * paragraph.C (Paragraph): get rid of same_ids parameter
4500
4501         * ParagraphList.C (insert): adjust
4502         (push_back): adjust
4503
4504 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4505
4506         * paragraph_funcs.C (breakParagraph): adjust
4507         (breakParagraphConservative): adjust
4508
4509         * buffer.C (readParagraph): adjust
4510
4511         * ParagraphList.C (insert): take a reference instead of a pointer
4512         (insert): adjust
4513
4514         * paragraph.[Ch] (id): new function
4515
4516         * bufferlist.C (newFile): adjust
4517
4518         * ParagraphList.C (ParagraphList): adjust
4519         (assign): adjust
4520         (push_back): take a reference instead of a pointer.
4521
4522         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4523
4524         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4525         instead.
4526
4527         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4528         set else use old code.
4529
4530         * ParagraphList.C: remove all NO_NEXT code and only compile this
4531         code of NO_STD_LIST is set.
4532
4533 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4534
4535         * BufferView_pimpl.C:
4536         * TextCache.C:
4537         * TextCache.h:
4538         * bufferlist.C:
4539         * errorlist.h:
4540         * format.C:
4541         * format.h:
4542         * graph.C:
4543         * lyxfunc.C:
4544         * lyxrc.C:
4545         * graphics/GraphicsConverter.C:
4546         * graphics/PreviewLoader.C: header adjustment
4547
4548 2003-05-23  Angus Leeming  <leeming@lyx.org>
4549
4550         * LaTeXFeatures.[Ch] (useBabel): new method.
4551         * bufferparams.C (writeLaTeX): use it.
4552
4553 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4554
4555         * ParagraphList.h (set): remove unused function.
4556
4557 2003-05-23  André Pönitz  <poenitz@gmx.net>
4558
4559         * BufferView.C:
4560         * BufferView_pimpl.C:
4561         * buffer.C:
4562         * buffer.h:
4563         * lyxfunc.C:
4564         * undo_funcs.C: setUndo reworked
4565
4566         * iterators.[Ch]: add access to topmost ParagraphList
4567
4568         * lyxtext.[Ch] (workWidth): add a const
4569
4570 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4571
4572         * texrow.[Ch] (increasePos): remove function
4573         * exporter.C (export): removed unused var and outdated comment
4574
4575 2003-05-23  Angus Leeming  <leeming@lyx.org>
4576
4577         * latexrunparams.h: rename fragile as moving_arg.
4578         * paragraph.C (simpleTeXOnePar): ditto.
4579         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4580
4581 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4584         (createUndo): ditto
4585         (textUndoOrRedo): comment out a currently unused var.
4586
4587         * paragraph.h (NO_NEXT): enable NO_NEXT
4588
4589         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4590
4591         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4592
4593         * exporter.C (Export): adjust for removeAutoInsets removal.
4594
4595         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4596
4597         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4598
4599         * BufferView.[Ch] (removeAutoInsets): delete function
4600
4601 2003-05-22  Angus Leeming  <leeming@lyx.org>
4602
4603         * latexrunparams.h: add a free_spacing variable.
4604
4605         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4606         to pass moving_arg, as the data is stored in runparams.fragile.
4607
4608         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4609         to Inset::latexOptional or to simpleTeXOnePar.
4610
4611         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4612         free_spacing arg to Inset::latexOptional.
4613
4614         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4615         free_spacing arg.
4616
4617 2003-05-22  Angus Leeming  <leeming@lyx.org>
4618
4619         * latexrunparams.h: add fragile and use_babel variables.
4620
4621         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4622         * buffer.C (makeLaTeXFile): store this returned value in
4623         runparams.use_babel, thus passing it to the inset::latex methods.
4624
4625         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4626         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4627
4628         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4629         longer has a fragile arg, as it is stored in runparams.fragile.
4630
4631         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4632         moving_arg parameter as the data is stored in runparams.fragile.
4633
4634         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4635         a fragile parameter as the data is stored in runparams.fragile.
4636
4637 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4640
4641 2003-05-22  Angus Leeming  <leeming@lyx.org>
4642
4643         * latexrunparams.h: add a 'bool nice' which defaults to false.
4644
4645         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4646         now encapsulated within runparams.
4647
4648         * bufferlist.C (updateIncludedTeXfiles):
4649         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4650
4651 2003-05-22  Angus Leeming  <leeming@lyx.org>
4652
4653         * latexrunparams.h: new file containing struct LatexRunParams.
4654         * Makefile.am: add new file.
4655
4656         * LaTeX.[Ch] (c-tor, run):
4657         * buffer.[Ch] (makeLaTeXFile):
4658         * bufferlist.[Ch] (updateIncludedTeXfiles):
4659         * converter.C (convert, scanLog):
4660         * converter.[Ch] (runLaTeX):
4661         * exporter.C (Export):
4662         * paragraph.[Ch] (simpleTeXOnePar):
4663         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4664         * paragraph_funcs.[Ch] (latexParagraphs):
4665         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4666         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4667         pass around a LatexRunParams parameter.
4668
4669 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4670
4671         * paragraph.[Ch]: remove unused constructor
4672
4673         * ParagraphList.C (erase): new function, taking two iterators
4674
4675 2003-05-22  André Pönitz  <poenitz@gmx.net>
4676
4677         * undo_funcs.C: remove duplicated code
4678
4679         * iterator.[Ch]: operator=
4680
4681 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * tabular.C (SetMultiColumn): ws changes
4684
4685         * rowpainter.C (paintFirst): get rid of a ->previous
4686
4687         * lyx_cb.C (getPossibleLabel): parlist simplification
4688
4689         * BufferView.C (ChangeInsets): simplify slightly.
4690
4691 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4692
4693         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4694         * lfuns.h: new LFUN_SPACE
4695         * lyxfunc.C: protected space has a new lfun
4696         * paragraph_funcs.C: read new space insets
4697         * text3.C:
4698         * factory.C: handle new space insets
4699
4700 2003-05-22  André Pönitz  <poenitz@gmx.net>
4701
4702         * BufferView.C:
4703         * BufferView_pimpl.C:
4704         * buffer.[Ch]:
4705         * lyxfunc.C:
4706         * undo_funcs.C: return a ParIterator from getParFromID.
4707
4708         * iterators.[Ch]: add two const's
4709
4710 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4711
4712         * toc.C (getTocList): adjust
4713
4714         * iterators.[Ch]: rework for parlist
4715
4716         * buffer.C (par_iterator_begin): adjust
4717         (par_iterator_end): adjust
4718
4719         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4720
4721         * BufferView.C (removeAutoInsets): adjust
4722         (ChangeInsets): adjust
4723
4724 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * text.C (top_y): fix bug 1110
4727
4728 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4729
4730         * errorlist.[Ch]: added
4731         * buffer.C:
4732         * BufferView.[Ch]:
4733         * BufferView_pimpl.C:
4734         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4735         instead
4736
4737 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * Makefile.am: ensure that lyx is relinked upon changes to the
4740         various "convenience" libs.
4741
4742 2003-05-20  Angus Leeming  <leeming@lyx.org>
4743
4744         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4745         files are compiled in alphabetical order again.
4746
4747         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4748
4749 2003-05-19  Angus Leeming  <leeming@lyx.org>
4750
4751         * gettext.[Ch]: remove "char const * _(char const *)".
4752
4753 2003-05-19  André Pönitz  <poenitz@gmx.net>
4754
4755         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4756
4757         * Makefile.am:
4758         * BufferView.C:
4759         * DepTable.h:
4760         * LaTeXFeatures.C:
4761         * buffer.C:
4762         * lyxfont.C:
4763         * lyxlex.h:
4764         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4765
4766 2003-05-19  André Pönitz  <poenitz@gmx.net>
4767
4768         * buffer.C:
4769         * lyxlayout.[Ch]:
4770         * lyxtextclass.[Ch]:
4771         * paragraph.C:
4772         * paragraph_funcs.[Ch]:
4773         * text2.C:
4774         * text3.C: more insetenv work
4775
4776 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4777
4778         * ParagraphParameters.C (params2string): small bug fixed
4779
4780 2003-05-16  André Pönitz  <poenitz@gmx.net>
4781
4782         * debug.C:
4783         * bufferview_funcs.C: patch from Kornel Benko to prevent
4784           crash when _(...) is called twice in a statement
4785
4786 2003-05-16  André Pönitz  <poenitz@gmx.net>
4787
4788         * BufferView.C:
4789         * lyxfunc.C:
4790         * text.C:
4791         * text2.C:
4792         * text3.C:
4793         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4794
4795 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4796
4797         * lyx_main.C (init): remove spurious static_cast
4798
4799 2003-05-14  André Pönitz  <poenitz@gmx.net>
4800
4801         * BufferView.C: fix format string
4802
4803 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4804
4805         * BufferView.[Ch] (insertErrors): removed
4806         * BufferView.[Ch] (showErrorList): added
4807         * buffer.C (runChkTeX):
4808         * converter.C (scanLog): call showErrorList instead of inserterrors
4809
4810 2003-05-13  André Pönitz  <poenitz@gmx.net>
4811
4812         * BufferView_pimpl.C:
4813         * buffer.C:
4814         * bufferview_func.C:
4815         * MenuBackend.C:
4816         * lyxfunc.C:
4817         * lyxrc.C:
4818         * tex-accent.C:
4819         * text3.C:
4820         * toc.C:
4821         * tabular_funcs.h: tostr() from its own header
4822
4823         * ParagraphParameters.C:
4824         * ToolbarBackend.C:
4825         * bufferparams.C:
4826         * format.C:
4827         * lyxlex_pimpl.C:
4828         * text3.C: STRCONV()
4829
4830 2003-05-12  André Pönitz  <poenitz@gmx.net>
4831
4832         * BufferView.C:
4833         * BufferView_pimpl.C:
4834         * CutAndPaste.C:
4835         * LaTeX.C:
4836         * LaTeXFeatures.C:
4837         * ParagraphParameters.C:
4838         * buffer.C:
4839         * bufferlist.C:
4840         * bufferparams.C:
4841         * bufferview_funcs.C:
4842         * converter.C:
4843         * counters.C:
4844         * debug.C:
4845         * exporter.C:
4846         * format.C:
4847         * importer.C:
4848         * lyx_cb.C:
4849         * lyx_main.C:
4850         * lyxfont.C:
4851         * lyxfunc.C:
4852         * lyxvc.C:
4853         * paragraph.C:
4854         * paragraph_funcs.C:
4855         * tabular.C:
4856         * tabular_funcs.C:
4857         * text2.C:
4858         * text3.C:  boost::format -> bformat  all over the place
4859
4860
4861 2003-05-09  André Pönitz  <poenitz@gmx.net>
4862
4863         * LColor.[Ch]: Pimpl the #include <map> away
4864
4865 2003-05-09  John Levon  <levon@movementarian.org>
4866
4867         * bufferlist.C: never remove emergency saves
4868
4869 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4870
4871         * Makefile.am: better lib building
4872
4873 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4874
4875         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4876         instead.
4877         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4878         (simpleTeXSpecialChars): adjust
4879         (simpleTeXSpecialChars): adjust
4880         * paragraph.C (simpleTeXOnePar): adjust
4881         * buffer.C (makeLaTeXFile): adjust
4882
4883         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4884
4885         * text2.C (changeDepth): parlist cleanup
4886         (getColumnNearX): ditto
4887
4888         * rowpainter.C (getLabelFont): parlist cleanup
4889
4890         * bufferlist.C (newFile): parlist cleanup
4891
4892         * CutAndPaste.C (eraseSelection): parlist cleanup
4893
4894         * BufferView_pimpl.C (trackChanges): parlist cleanup
4895         (dispatch): ditto
4896
4897         * BufferView.C (lockInset): parlist cleanup.
4898         (ChangeInsets): ditto
4899
4900 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * CutAndPaste.h: Update file header.
4903
4904         * CutAndPaste.C: Update file header.
4905         Store the parts cut out of the Document in a limited_stack.
4906         (copySelection): adjust
4907         (pasteSelection): new function, takes the index in the limited stack.
4908         (nrOfParagraphs): adjust
4909         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4910         simplify error inset insertion.
4911         (checkPastePossible): adjust
4912
4913 2003-05-06  John Levon  <levon@movementarian.org>
4914
4915         * text2.C: don't cast wrap inset to float
4916
4917 2003-05-05  André Pönitz  <poenitz@gmx.net>
4918
4919         * iterator.C:
4920         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4921
4922         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4923           few naked Paragraph *.
4924
4925 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4926
4927         * bufferparams.C: Output warning if a document with missing
4928         TeX document class is loaded
4929         * exporter.C: Disable TeX exports if the document class is missing
4930         * lyxtextclass.C:
4931         * lyxtextclass.h:
4932         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4933         isTeXClassAvailable()
4934
4935 2003-05-03  John Levon  <levon@movementarian.org>
4936
4937         * BufferView.h:
4938         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4939         explicit cursor show/hide
4940
4941         * BufferView_pimpl.h:
4942         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4943         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4944
4945         * lyxfunc.C: hide cursor before dispatching.
4946
4947         * lyx_cb.C:
4948         * lyxfind.C:
4949         * text.C:
4950         * text3.C: remove explicit cursor hides
4951
4952 2003-05-02  André Pönitz  <poenitz@gmx.net>
4953
4954         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4955
4956         * undo_funcs.C:
4957         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4958           linked lists
4959
4960         * text2.C: tiny whitespace
4961
4962 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * undo_funcs.C: almost only ws changes.
4965
4966         * ParagraphList.C (splice): just return if pl is empty.
4967
4968 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * ParagraphList.C (splice): new function.
4971
4972         * CutAndPaste.C (pasteSelection): use it
4973
4974 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * CutAndPaste.C (pasteSelection): remove the last next and
4977         previous from this file.
4978
4979 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4980
4981         * CutAndPaste.C (pasteSelection): more clean up, user proper
4982         ParagraphList functions for pasteing.
4983
4984         * ParagraphList.C (insert): new function, three arg insert
4985
4986 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * ParagraphList.C (insert): new function, three arg insert
4989
4990         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4991         not on paragraphs.
4992
4993 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4996
4997 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5000
5001 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5004         (copySelection): clean up a bit.
5005         (pasteSelection): use make_pair
5006
5007         * ParagraphList.C (ParagraphList): implement copy constructor
5008         (operator=): implement, base on copy constructor.
5009         (assign): new func
5010
5011         * paragraph.C (erase): return a bool
5012
5013         * paragraph_pimpl.C (erasePos): remove function, move contents...
5014         (erase): ... here. Return a bool.
5015         (erase): call erase instead of erasePos.
5016
5017 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5018
5019         * ParagraphList.h: define PitPosPair
5020         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5021         ParagraphList, fix a bug on pasting multiple pars
5022         * text2.C: change interface to C&P
5023
5024 2003-04-30  André Pönitz  <poenitz@gmx.net>
5025
5026         * undo_func.C: revert part of yesterday's patch 2
5027
5028 2003-04-30  John Levon  <levon@movementarian.org>
5029
5030         * LColor.C: s/tabular/table/
5031
5032 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * text3.C (dispatch): do not convert iterator -> pointer
5035         * undo_funcs.C (setCursorParUndo): ditto
5036         * text_funcs.C (transposeChars): ditto
5037
5038         * text2.C (setLayout): ws changes only
5039
5040         * text.C (breakParagraph): do not convert iterator -> pointer
5041         (insertChar): ditto
5042         (acceptChange): ditto
5043         (rejectChange): ditto
5044         (changeCase): ditto
5045         (Delete): ditto
5046         (backspace): ditto
5047
5048         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5049         pointer
5050
5051 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5052
5053         * text3.C (gotoInset): YABG (yet another bad getChar)
5054
5055 2003-04-29  André Pönitz  <poenitz@gmx.net>
5056
5057         * paragraph.h: make operator= private unimplemented as long as
5058           it is unusable
5059
5060         * ParagraphList.C: whitespace
5061
5062         * paragraph.[Ch]:
5063         * paragraph_pimpl.[Ch]:
5064         * paragraph_funcs.C:
5065         * CutAndPaste.C:
5066         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5067
5068         * text2.C:
5069           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5070
5071 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5074         * paragraph.[Ch] (erase):
5075         * paragraph_pimpl.[Ch] (erase): change return type and value
5076         * text2.C (cutSelection): some rework
5077
5078 2003-04-28  John Levon  <levon@movementarian.org>
5079
5080         * bufferlist.C: changes for unsaved changes dialog
5081
5082 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * bufferlist.C (newFile): set language (messages_) for new
5085         documents also.
5086
5087         * buffer.C (readFile): ws changes only.
5088
5089 2003-04-28  André Pönitz  <poenitz@gmx.net>
5090
5091         * undo_funcs.C:
5092         * lyxfunc.C:
5093         * buffer.[Ch]:
5094         * BufferView_pimpl.C:
5095         * BufferView.C: getParFromID related ParagraphList::iterator changes
5096
5097 2003-04-28  André Pönitz  <poenitz@gmx.net>
5098
5099         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5100           Changes
5101
5102 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5103
5104         * messages.C: remove one more localedir class variable.
5105
5106 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * messages.C (getLocaleDir): singleton generation function
5109         (Pimpl): use it.
5110         (Messages): add a default constructor.
5111
5112         * main.C (main): do not setup localedir here, do not call
5113         gettext_init.
5114
5115         * gettext.C (_): use it.
5116         (gettext_init): delete funciton
5117
5118 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * gettext.C (getLyXMessages): new singleton generating function.
5121
5122         * buffer.C (updateDocLang): adjust
5123
5124         * Makefile.am (messages.o): add target
5125         (main.o): remove target
5126
5127 2003-04-27  John Levon  <levon@movementarian.org>
5128
5129         * bufferlist.C:
5130         * lyx_cb.C:
5131         * lyxfunc.C:
5132         * lyxvc.C: specify cancel button in Alert::prompt
5133
5134 2003-04-26  John Levon  <levon@movementarian.org>
5135
5136         * text3.C:
5137         * lyxfunc.C:
5138         * lfuns.h:
5139         * LyXAction.C: add LFUN_INSET_SETTINGS
5140
5141         * lyxfunc.C: don't enable tabular-feature when there's
5142         just any locking inset
5143
5144 2003-04-26  John Levon  <levon@movementarian.org>
5145
5146         * bufferlist.C: re-add Cancel to buffer close question
5147
5148         * lyxfunc.C: fix import UI a bit
5149
5150 2003-04-25  John Levon  <levon@movementarian.org>
5151
5152         * gettext.C: remove the broken asserts for now
5153
5154 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * messages.C: make case where setlocale cannot comply work better.
5157
5158         * buffer.C (updateDocLang): new function
5159         (changeLanguage): use it
5160         (readFile): use it
5161
5162         * text2.C (setCounter): use B_ a bit.
5163
5164         * lyxlayout.C (Read): be sure to trim the label strings.
5165
5166         * messages.C (Messages): fix typo in comment
5167
5168         * buffer.C (readFile): set message_ after file is loaded.
5169         (makeDocBookFile): remove double return
5170         (changeLanguage): reset message_ upon language change.
5171         (B_): new func, use this to get translated buffer strings.
5172
5173         * main.C: add myself and Jean Marc as authors.
5174
5175 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5176
5177         * messages.[hC]: pimplify Messages, and three different pimpls to be
5178         used in different circumstances.
5179
5180         * gettext.[Ch]: change for use with new message code.
5181
5182 2003-04-24 André Pönitz <poenitz@gmx.net>
5183
5184         * factory.C: support for eqref
5185
5186 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * messages.[Ch]: add missing char
5189
5190         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5191
5192         * messages.[Ch]: New files
5193
5194 2003-04-18  John Levon  <levon@movementarian.org>
5195
5196         * BufferView.h:
5197         * BufferView.C:
5198         * BufferView_pimpl.C:
5199         * lfuns.h:
5200         * LyXAction.C:
5201         * lyxtext.h:
5202         * text2.C: remove layout-copy/paste (bug 778)
5203
5204 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5205
5206         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5207
5208 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5209
5210         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5211         if they succeed. Act accordingly.
5212
5213 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * text2.C (setCharFont): adjust
5216         (setCounter): adjust
5217         (insertStringAsLines): adjust
5218
5219         * text.C (leftMargin): adjust
5220         (setHeightOfRow): adjust
5221
5222         * rowpainter.C (paintFirst): adjust
5223         (paintLast): adjust
5224
5225         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5226         (outerHook): ditto
5227         (isFirstInSequence): ditto
5228         (getEndLabel): ditto
5229         (outerFont): adjust
5230
5231         * paragraph.C (getParLanguage): comment out some hard stuff.
5232
5233         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5234         (sgmlError): ditto
5235         (simpleDocBookOnePar): ditto
5236         (makeDocBookFile): use ParagraphList::iterator
5237
5238         * CutAndPaste.C (pasteSelection): adjust
5239
5240 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5241
5242         * text2.C (getFont): adjust
5243         (getLayoutFont): adjust
5244         (getLabelFont): adjust
5245
5246         * paragraph_funcs.C (TeXOnePar): adjust
5247
5248         * buffer.C (simpleLinuxDocOnePar): adjust
5249         (simpleDocBookOnePar): adjust
5250
5251         * CutAndPaste.C (pasteSelection): adjust
5252
5253         * BufferView.C (getEncoding): adjust
5254
5255         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5256
5257 2003-04-16  John Levon  <levon@movementarian.org>
5258
5259         * lyxfind.C: use parlist stuff for search/changes
5260
5261 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5264
5265         * text2.C (deleteEmptyParagraphMechanism): adjust
5266
5267         * text2.[Ch] (ownerParagraph): delete func (both of them
5268
5269 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5272
5273 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * ParagraphList.C: prepare for NO_NEXT
5276
5277 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5278
5279         * text2.C (getFont): adjust
5280         (getLayoutFont): adjust
5281         (getLabelFont): adjust
5282
5283         * paragraph.C (getFont): adjust
5284         (getLabelFont): adjust
5285         (getLayoutFont): adjust
5286
5287         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5288
5289 2003-04-15  John Levon  <levon@movementarian.org>
5290
5291         From Angus Leeming
5292
5293         * lyx_main.C: handle Include in .ui files
5294
5295 2003-04-15  John Levon  <levon@movementarian.org>
5296
5297         * MenuBackend.C: make the doc files length shorter
5298
5299         * ToolbarBackend.h:
5300         * ToolbarBackend.C: handle toolbar placement flags,
5301         Minibuffer
5302
5303 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5306         adjust
5307
5308         * paragraph_funcs.C (TeXOnePar): adjust
5309
5310         * paragraph.C (getLabelFont): add outerfont arg, adjust
5311         (getLayoutFont): ditto
5312         (simpleTeXOnePar): adjust
5313
5314         * paragraph_pimpl.C (realizeFont): delete func
5315
5316 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5317
5318         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5319         row argument, constify cur argument.
5320
5321 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * text2.C (getFont): adjust
5324         (getLayoutFont): adjust
5325         (getLabelFont): adjust
5326
5327         * paragraph_funcs.C (TeXOnePar): adjust
5328         (outerFont): new func...
5329         (realizeFont): ...moved out from here, changed this to facilitate
5330         transition
5331
5332         * paragraph.C (getFont): take outerfont as arg, adjust
5333         (simpleTeXOnePar): add outerfont arg, adjust
5334
5335         * buffer.C (simpleLinuxDocOnePar): adjust
5336         (simpleDocBookOnePar): adjust
5337
5338         * CutAndPaste.C (pasteSelection): adjust
5339
5340         * BufferView.C (getEncoding): adjust
5341
5342 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5343
5344         * text2.C (setCharFont): adjust
5345         (setCounter): adjust
5346
5347         * text.C (leftMargin): adjust
5348         (setHeightOfRow): adjust
5349
5350         * rowpainter.C (paintFirst): adjust
5351         (paintLast): adjust
5352
5353         * paragraph_pimpl.C (realizeFont): adjust
5354
5355         * paragraph.C (isFirstInSequence): move from here...
5356         * paragraph_funcs.C (isFirstInSequence): ...to here
5357
5358         * paragraph.C (outerHook): move from here...
5359         * paragraph_funcs.C (outerHook): ...to here
5360
5361         * paragraph.C (depthHook): move from here...
5362         * paragraph_funcs.C (depthHook): ...to here
5363
5364         * paragraph.C (getEndLabel): move from here...
5365         * paragraph_funcs.C (getEndLabel): ...to here
5366
5367         * text2.C (realizeFont): move from here...
5368         * paragraph_funcs.C (realizeFont): ...to here
5369
5370 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5373
5374 2003-04-14  Angus Leeming  <leeming@lyx.org>
5375
5376         * LColor.[Ch]: scrap LColor mathcursor.
5377
5378 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * lyxlex.[Ch] (text): delete function
5381         * trans.C (Load): adjust
5382         * paragraph_funcs.C (readParToken): adjust
5383
5384 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5385
5386         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5387         vector<char> instead of a char[].
5388
5389         * lyxlex_pimpl.C (getString): adjust
5390         (next): adjust
5391         (lex): use getString
5392         (eatLine): adjust
5393         (nextToken): adjust
5394
5395         * lyxlex.C (text): use pimpl_->getString()
5396         (getBool): ditto
5397         (findToken): ditto
5398
5399 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5402         (makeFontEntriesLayoutSpecific): temp var for par.size()
5403         (setLayout): temp var for ownerParagraphs().end()
5404         (fullRebreak): temp var for rows().end()
5405         (selectionAsString): temp var for boost::next(startpit), realize
5406         that the while really is a regular for loop.
5407         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5408         setCursor in one place.
5409         (setParagraph): temp vr for ownerParagraphs().end()
5410         (updateCounters): make the while loop a for loop
5411         (cutSelection): temp var for ownerParagraphs().end()
5412         (updateInset): make the do {} while() a regular for loop
5413         (getCursorX): use temp vars
5414         (setCurrentFont): use temp vars
5415         (getColumnNearX): use temp vars
5416
5417 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * text.C (transformChar): use temp var for getChar
5420         (computeBidiTables): use temp var for row->par()
5421         (fill): move temp vars for row->par() and pit->layout() earlier in
5422         the function.
5423         (labelFill): use temp var for row->par()
5424         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5425         asc and desc, realize that pit never changes and that firstpit is
5426         just a duplicate and not needed. Exchange rit->par() with pit in a
5427         lot of places.
5428         (breakAgain): use a temp var for boost::next(rit)
5429         (breakAgainOneRow): ditto
5430         (breakParagraph): use a temp var for rows().begin()
5431         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5432         (cursorRightOneWord): use temp var for cursor.par() and
5433         cursor.pos(), remove usage of tmpcursor.
5434         (cursorLeftOneWord): use temp var for cursor.par() and
5435         cursor.pos() only set cur at end of function.
5436
5437 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * text.C, text2.C: exchange all usage of Paragraph::next with
5440         boost::next(ParagraphList::iterator)
5441
5442         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5443
5444         * text2.C (cursorTop): simplify implementation
5445         (cursorBottom): ditto
5446         (setParagraph): use ParagraphList::iterator
5447         (setCurrentFont): adjust
5448         (getColumnNearX): adjust
5449         (cursorRight): adjust
5450         (cursorLeft): remove usage of Paragraph::previous
5451         (cursorUpParagraph): ditto
5452         (deleteEmptyParagraphMechanism): slight cleanup
5453
5454         * text.C (isBoundary): take a Paragraph const & instead of a
5455         pointer as arg.
5456         (addressBreakPoint): ditto
5457         (leftMargin): remove usage of Paragraph::previous.
5458         (setHeightOfRow): ditto
5459         (cursorLeftOneWord): ditto
5460         (selectNextWordToSpellcheck): ditto
5461         (Delete): ditto
5462         (backspace): ditto
5463         (breakParagraph): remove one usage of Paragraph::next
5464         (redoParagraph): ditto
5465         (acceptChange): ditto
5466         (insertChar): adjust
5467         (rowBreakPoint): adjust
5468
5469         * bufferview_funcs.C (toggleAndShow): adjust
5470
5471 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5472
5473         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5474         methods to access it.
5475         * lyxtext.h:
5476         * text.C: Added updateRowPositions to compute all row positions.
5477         Make top_y and getRowNearY() to use the cached y position
5478
5479 2003-04-11  John Levon  <levon@movementarian.org>
5480
5481         * text.C (rowBreakPoint): reintroduce the labelEnd
5482         checks, code copied from the row fill stuff. Deep voodoo.
5483
5484         * text.C (fill): add a comment and debugging for the
5485         next poor soul.
5486
5487 2003-04-11  John Levon  <levon@movementarian.org>
5488
5489         * text.C: make sure fullrow insets get wrapped to the next line,
5490         even when they're in a manual label
5491
5492 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * text2.C (insertParagraph): make it take ParagraphList::iterator
5495         as arg.
5496         (setLayout): make it return ParagraphList::iterator
5497         (redoParagraphs): ditto
5498         (setCounter): ditto
5499         (checkParagraph): ditto
5500
5501         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5502
5503         * text2.C: adjust several funcs.
5504         (realizeFont): take a ParagraphList::iterator as arg.
5505         (getLayoutFont): ditto
5506         (getLabelFont): ditto
5507         (setCharFont): ditto
5508
5509         * text.C: adjust several funcs.
5510
5511 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5512
5513         * text.C (selectNextWordToSpellcheck): don't accidentally
5514         skip insets
5515
5516 2003-04-10  John Levon  <levon@movementarian.org>
5517
5518         * ToolbarBackend.C (getIcon): special handling for
5519         LFUN_MATH_DELIM
5520
5521 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5522
5523         * text2.C (cursorRight): a getChar assert fixed
5524
5525 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * text2.C (getFont): change to take a ParagraphList::iterator
5528         instead of Paragraph*
5529         Adjust several functions.
5530
5531         * text.C (transformChar): change to take a ParagraphList::iterator
5532         instead of Paragraph*
5533         (singleWidth): ditto
5534         Adjust several functions.
5535
5536         * rowpainter.C: adjust several functions
5537         * rowpainter.h:store a ParagraphList::iterator and not a
5538         Paragraph&.
5539
5540
5541 2003-04-09  John Levon  <levon@movementarian.org>
5542
5543         * lyxfunc.C:
5544         * lfuns.h:
5545         * LyXAction.h:
5546         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5547         and the "help" bits as well
5548
5549 2003-04-09  John Levon  <levon@movementarian.org>
5550
5551         * ToolbarBackend.h:
5552         * ToolbarBackend.C: allow multiple toolbars
5553
5554 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * undo_funcs.C (setCursorParUndo): adjust
5557
5558         * text_funcs.C (transposeChars): adjust
5559
5560         * text3.C (gotoNextInset): adjust
5561         (dispatch): adjust
5562
5563         * text2.C (setLayout): adjust
5564         (changeDepth): adjust
5565         (setFont): adjust
5566         (redoParagraphs): adjust
5567         (selectionAsString): adjust
5568         (setParagraph): adjust
5569         (insertInset): adjust
5570         (cutSelection): adjust
5571         (copySelection): adjust
5572         (pasteSelection): adjust
5573         (insertStringAsLines): adjust
5574         (updateInset): adjust
5575         (setCursor): change to take a ParagraphList::iterator parameter
5576         (setCursorIntern): change to take a ParagraphList::iterator parameter
5577         (setCurrentFont): adjust
5578         (cursorLeft): adjust
5579         (cursorRight): adjust
5580         (deleteEmptyParagraphMechanism): adjust
5581
5582         * text.C (breakParagraph): adjust
5583         (insertChar): adjust
5584         (acceptChange): adjust
5585         (rejectChange): adjust
5586         (selectNextWordToSpellcheck): adjust
5587         (changeCase): adjust
5588         (Delete): adjust
5589         (backspace): adjust
5590
5591         * lyxfind.C (SearchForward): adjust
5592         (SearchBackward): adjust
5593         (nextChange): adjust
5594
5595         * lyxcursor.C (par): adjust
5596
5597         * lyxcursor.h: store a ParagraphList::iterator instead of a
5598         Paragraph*
5599
5600         * lyx_cb.C (getPossibleLabel): adjust
5601
5602         * bufferview_funcs.C (toggleAndShow): adjust
5603
5604         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5605         (dispatch): adjust
5606
5607         * BufferView.C (removeAutoInsets): adjust
5608         (lockedInsetStoreUndo): adjust
5609
5610 2003-04-09  John Levon  <levon@movementarian.org>
5611
5612         * ToolbarBackend.C: try icon without argument
5613         if with argument fails
5614
5615 2003-04-08  John Levon  <levon@movementarian.org>
5616
5617         * ToolbarBackend.h:
5618         * ToolbarBackend.C: add getIcon(), handle tooltip,
5619         and change from "Icon" to "Item".
5620
5621 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5622
5623         * BufferView.C (lockInset): another bad getchar crunched
5624
5625 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5626
5627         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5628         again)
5629
5630 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5631
5632         * lyxfind.C (searchForward, searchBackwards): bug 782
5633
5634 2003-04-07  John Levon  <levon@movementarian.org>
5635
5636         * paragraph.C: remove dead comment
5637
5638         * text.C: remove troublesome depth-fiddling code
5639         in leftMargin() and rightMargin() (bug 1017)
5640
5641         * text.C: fix breaking of rows in nested lists
5642         (bug 1004)
5643
5644         * text2.C (updateCounters): fix up depth values
5645         (bug 1013)
5646
5647 2003-04-07  John Levon  <levon@movementarian.org>
5648
5649         * BufferView_pimpl.C: clear message when doc finishes resizing,
5650         and after a mouse event
5651
5652         * lyxfunc.C: clear message after exiting inset
5653
5654 2003-04-07  John Levon  <levon@movementarian.org>
5655
5656         * bufferview_funcs.C: show math status not outside
5657         status in the statusbar
5658
5659 2003-04-07  John Levon  <levon@movementarian.org>
5660
5661         * lyxfunc.C: note status changed after a depth change
5662
5663 2003-04-04  Angus Leeming  <leeming@lyx.org>
5664
5665         * LaTeX.h: move AuxInfo operator==, != out of line.
5666         Remove LaTeX virtual destructor; nothing derives from it.
5667         Move operator()() out of public area and rename it startscript().
5668         Change protected for private.
5669
5670 2003-04-04  Angus Leeming  <leeming@lyx.org>
5671
5672         * lyxfunc.C:
5673         * text2.C: remove unneeded #includes.
5674
5675 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * text2.C (dEPM): fix the heigth of the next row
5678
5679 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5680
5681         * text.C: squashed an invalid getChar requester + some ws changes
5682
5683 2003-04-03  John Levon  <levon@movementarian.org>
5684
5685         * bufferview_funcs.h:
5686         * bufferview_funcs.C:
5687         * lyxfunc.C:
5688         * lyxtext.h:
5689         * text2.C: make getStatus work for the env depth lfuns
5690
5691 2003-04-03  John Levon  <levon@movementarian.org>
5692
5693         * bufferview_funcs.h:
5694         * bufferview_funcs.C:
5695         * lyxfunc.C:
5696         * lyxtext.h:
5697         * text2.C: parlistize decDepth(), by merging it with incDepth()
5698
5699 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * lyxrow.h: store a ParagraphList::iterator instead of a
5702         Paragraph* and adjust other class functions to suit.
5703
5704         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5705         above.
5706
5707 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5708
5709         * text2.C (setCursor): do not anchor to cursor row for the time being
5710
5711 2003-04-02  John Levon  <levon@movementarian.org>
5712
5713         * LyXAction.C:
5714         * lfuns.h:
5715         * lyx_main.C:
5716         * lyxtext.h:
5717         * text.C:
5718         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5719
5720 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * paragraph.h: make ParagraphList and ParagraphList::iterator
5723         friends of Paragraph.
5724
5725         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5726
5727         * ParagraphList.C: Use the private next_ and previous_ from
5728         Paragraph.
5729
5730 2003-04-01  John Levon  <levon@movementarian.org>
5731
5732         * ToolbarBackend.h:
5733         * ToolbarBackend.C:
5734         * Makefile.am: rename, remove defaults gunk
5735
5736         * MenuBackend.h:
5737         * MenuBackend.C: remove defaults gunk
5738
5739         * Languages.h:
5740         * Languages.C: remove defaults gunk
5741
5742         * lyx_main.h:
5743         * lyx_main.C: error out if files couldn't be found.
5744
5745 2003-04-02  John Levon  <levon@movementarian.org>
5746
5747         * text2.C: make incDepth() use parlist
5748
5749 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * undo_funcs.C (firstUndoParagraph): adjust
5752
5753         * text3.C (gotoInset): adjust
5754         (dispatch): adjust, and rewrite loop.
5755
5756         * text2.C (init): adjust, and rewrite loop.
5757         (redoParagraphs): adjust
5758         (updateInset): adjust, and rewrite loop.
5759         (deleteEmptyParagraphMechanism): adjust
5760
5761         * tabular.C (LyXTabular): adjust
5762         (SetMultiColumn): adjust
5763         (TeXRow): adjust
5764
5765         * lyxtext.[Ch] (ownerParagraph): delete function
5766         (ownerParagraphs): new function returns a ParagraphList.
5767
5768         * BufferView.C (removeAutoInsets): adjust
5769         (insertErrors): adjust
5770         (setCursorFromRow): adjust
5771
5772 2003-04-01  Angus Leeming  <leeming@lyx.org>
5773
5774         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5775         in the frontends.
5776
5777 2003-04-02  John Levon  <levon@movementarian.org>
5778
5779         * lyxtext.h:
5780         * text.C:
5781         * Makefile.am:
5782         * text_funcs.h:
5783         * text_funcs.C: make transposeChars a free function
5784
5785         * lyxrow_funcs.C: remove wrong comment
5786
5787 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5788
5789         * lyxtext.h: adjust
5790         * rowpainter.C: adjust
5791         * text.C: adjust
5792         * text2.C: adjust
5793         * text3.C: adjust
5794
5795         * lyxrow_funcs. [Ch]: new files
5796
5797         * lyxrow.[Ch]: remove next and previous pointers
5798         (next,previous): remove accessor functions
5799         (isParEnd): move to lyxrow_funcs
5800         (lastPos): move to lyxrow_funcs
5801         (nextRowIsAllInset): move to lyxrow_funcs
5802         (lastPrintablePos): move to lyxrow_funcs
5803         (numberOfSeparators): move to lyxrow_funcs
5804         (numberOfHfills): move to lyxrow_funcs
5805         (numberOfLabelHfills): move to lyxrow_funcs
5806         (hfillExpansion): move to lyxrow_funcs
5807
5808         * lyxfunc.C: adjust
5809
5810         * bufferview_funcs.C (toggleAndShow): adjust
5811
5812         * RowList.h: Remove class RowList from file leave just a
5813         std::list<Row>.
5814
5815         * RowList.C: delete file
5816
5817         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5818         and lyxrow_funcs.h
5819
5820 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * text3.C (cursorPrevious): adjust
5823         (cursorNext): adjust
5824         (dispatch): adjust
5825
5826         * text2.C (redoHeightOfParagraph): adjust
5827         (redoDrawingOfParagraph): adjust
5828         (setCursor): adjust
5829
5830         * text.C (breakParagraph): adjust
5831         (insertChar): adjust
5832         (backspace): adjust
5833
5834         * rowpainter.C (RowPainter): adjust
5835         (leftMargin): simplify and adjust
5836         (most rowpainter functions): adjust.
5837
5838         * rowpainter.h: store the row as RowList::iterator not as Row*
5839
5840         * lyxcursor.C (row): taka RowList::iterator as arg
5841         (irow): ditto
5842
5843         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5844         of Row*.
5845
5846 2003-04-01  Angus Leeming  <leeming@lyx.org>
5847
5848         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5849         stuff like bool Bool.
5850
5851 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5852
5853         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5854         rewrite a loop
5855
5856 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5857
5858         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5859         RowList::iterator.
5860
5861         * lyxtext.h (rows): drop one version and leve a const variant that
5862         returns a RowList::iterator.
5863
5864 2003-03-31  Angus Leeming  <leeming@lyx.org>
5865
5866         * text.C (fill): ensure that the signature is the same as that in the
5867         header file.
5868
5869 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * text2.C (redoParagraphs): adjust
5872         (updateCounters): adjust
5873         (checkParagraph): adjust
5874         (getColumnNearX): adjust and reformat a bit.
5875
5876         * text.C (top_y): adjust
5877         (workWidth): adjust
5878         (leftMargin): adjust
5879         (prepareToPrint): adjust
5880         (getRow): adjust
5881         (getRowNearY): adjust
5882
5883         * lyxtext.h: make rowlist_ mutable.
5884
5885         * RowList.h: add const_iterator
5886         * RowList.C: adjust for RowList::const_iterator.
5887
5888         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5889         adjust.
5890
5891 2003-03-31  John Levon  <levon@movementarian.org>
5892
5893         * lyxrc.h:
5894         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5895
5896         * lyx_main.C: set default fonts from using lyx_gui funcs
5897
5898         * exporter.C: pdf_mode moved from lyxrc
5899
5900         * lyx_cb.C:
5901         * lyxfunc.C: changes from above
5902
5903 2003-03-31  John Levon  <levon@movementarian.org>
5904
5905         * lyx_main.C: fix to the last fix
5906
5907 2003-03-31  John Levon  <levon@movementarian.org>
5908
5909         * bufferlist.C: "Load original" -> "Load Original"
5910
5911         * converter.C:
5912         * exporter.C:
5913         * importer.C:
5914         * lyx_main.C:
5915         * format.C: more Alert cleanups
5916
5917 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * text2.C (removeParagraph): make it take a RowList::iterator as
5920         arg, adjust.
5921         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5922         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5923
5924         * text.C (anchor_row): make it take a RowList::iterator as arg,
5925         adjust.
5926         (computeBidiTables): make it take a const reference to Row instead
5927         of Row pointer, adjust.
5928         (leftMargin): make it take a RowList::iterator as arg, adjust.
5929         (rowBreakPoint): adjust
5930         (breakAgainOneRow): make it take a RowList::iterator as arg,
5931         adjust.
5932         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5933
5934         * bufferview_funcs.C (toggleAndShow): adjust
5935
5936 2003-03-30  John Levon  <levon@movementarian.org>
5937
5938         * Makefile.am:
5939         * BoostFormat.h:
5940         * boost-inst.C: moved to support
5941
5942         * several files: changes as a result
5943
5944 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5945
5946         * text2.C (LyXText): adjust.
5947         (init): adjust
5948         (removeRow): make it take a RowList::iterator as arg, adjust.
5949         (fullRebreak): adjust
5950         (deleteEmptyParagraphMechanism): adjust
5951         (clearPaint): adjust
5952         (postPaint): adjust
5953
5954         * text.C (top_y): adjust
5955         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5956         (breakAgain): make it take a RowList::iterator as arg, adjust.
5957         (breakParagraph): adjust
5958         (insertChar): adjust
5959         (backspace): adjust
5960
5961         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5962         need_break_row, and refresh_row.
5963
5964         * text3.C (dispatch): adjust
5965
5966         * text2.C (checkParagraph): adjust
5967         (setCursor): adjust
5968         (setCursorFromCoordinates): adjust
5969
5970         * text.C (top_y): adjust
5971         (workWidth): adjust
5972         (getRow): make it return a RowList::iterator, adjust
5973         (getRowNearY): make it return a RowList::iterator, adjust
5974
5975         * text2.C (init): adjust
5976         (insertRow): remove function
5977         (insertParagraph): adjust
5978         (redoParagraphs): adjust
5979         (fullRebreak): adjust
5980         (updateCounters): adjust
5981
5982         * text.C (top_y): rewrite to use RowList iterators.
5983         (top_y): adjust
5984         (setHeightOfRow): rewrite to sue RowList iterators.
5985         (appendParagraph): adjust
5986         (breakAgain): adjust
5987         (breakAgainOneRow): adjust
5988         (breakParagraph): adjust
5989         (getRow): adjust
5990         (getRowNearY): adjust, and remove commented code.
5991
5992         * lyxtext.h (firstRow): delete function
5993         (lastRow): delete function
5994         (rows): new function (const and non-const versions.)
5995         (insertRow): delete function
5996
5997         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5998
5999 2003-03-29  John Levon  <levon@movementarian.org>
6000
6001         * BufferView_pimpl.C: always update scrollbar top
6002         because pasting text when we're anchored could mean we
6003         miss an update altogether
6004
6005 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * text2.C (init): use rowlist_.end() and not 0.
6008         (insertRow): change to take a RowList::iterator as arg, adjust
6009         for this.
6010         (insertParagraph): change to take a RowList::iterator as arg,
6011         adjust for this.
6012         (redoParagraphs): remove some debug msgs.
6013
6014         * text.C (appendParagraph): change to take a RowList::iterator
6015         arg, adjust for this.
6016         (breakAgain): add an assert
6017         (breakAgainOneRow): ditto
6018
6019 2003-03-29  John Levon  <levon@movementarian.org>
6020
6021         * text2.C: do not clear selection after inc/decDepth
6022         (bug 550)
6023
6024 2003-03-29  John Levon  <levon@movementarian.org>
6025
6026         * BufferView.C:
6027         * buffer.C: fix broken strerrors according to Lars
6028
6029 2003-03-29  John Levon  <levon@movementarian.org>
6030
6031         * converters.C: more Alert cleanups
6032
6033 2003-03-29  John Levon  <levon@movementarian.org>
6034
6035         * bufferview_funcs.C: remove pointless Alert
6036
6037         * buffer.C: fix confusing error message when
6038         a template is chmoded 000
6039
6040 2003-03-29  John Levon  <levon@movementarian.org>
6041
6042         * BufferView.C:
6043         * BufferView.h:
6044         * BufferView_pimpl.C: Alert fixes
6045
6046         * Makefile.am:
6047         * tabular.C:
6048         * tabular-old.C: remove unused table compat reading
6049
6050 2003-03-29  John Levon  <levon@movementarian.org>
6051
6052         * BufferView.C:
6053         * buffer.C:
6054         * lyx_cb.h:
6055         * lyx_cb.C: more Alert cleanups
6056
6057         * lyxfunc.C: don't allow chktex if not latex document
6058
6059 2003-03-29  John Levon  <levon@movementarian.org>
6060
6061         * lyx_cb.C:
6062         * BufferView.C:
6063         * buffer.C: warnings pushed down from support/,
6064         kill err_alert
6065
6066 2003-03-29  John Levon  <levon@movementarian.org>
6067
6068         * lyxfunc.C: safety check for C-r (revert)
6069
6070 2003-03-29  John Levon  <levon@movementarian.org>
6071
6072         * bufferlist.h:
6073         * bufferlist.C: several UI fixes using Alert::prompt.
6074         Fix the pointless looping quit code. Fix stupid revert
6075         behaviour (bug 938)
6076
6077         * lyxvc.h:
6078         * lyxvc.C:
6079         * lyx_cb.C: use Alert::prompt
6080
6081         * lyx_main.C: remove a silly question
6082
6083         * lyxfunc.C: remove a couple of silly questions,
6084         use Alert::prompt
6085
6086 2003-03-28  John Levon  <levon@movementarian.org>
6087
6088         * text2.C: fix bug 974 (End on empty par)
6089
6090 2003-03-28  John Levon  <levon@movementarian.org>
6091
6092         * BufferView_pimpl.C:
6093         * LyXAction.C:
6094         * lfuns.h: remove do-nothing math greek lfuns
6095
6096 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6097
6098         * lyxgluelength.h (isValidGlueLength): add default arg on
6099         parameter 2. Remove default arg from friend in class.
6100
6101         * lyxlength.h (isValidLength): add default arg on parameter 2.
6102         Remove default arg from friend in class.
6103
6104         * text2.C (LyXText): adjust, initialize refresh_row.
6105         (init): adjust
6106         (removeRow): adjust
6107         (insertRow): adjust
6108         (insertParagraph): adjst
6109         (redoParagraphs): adjust
6110         (fullRebreak): adjust
6111         (updateCounters): adjust
6112         (deleteEmptyParagraphMechanism): first attempt at fixing a
6113         crashing bug.
6114
6115         * text.C (top_y): adjust
6116         (setHeightOfRow): adjust
6117         (getRow): adjust
6118         (getRowNearY): adjust
6119
6120         * lyxtext.h: include RowList.h
6121         (~LyXText): not needed anymore, deleted.
6122         (firstRow): modify for RowList
6123         (lastRow): new function
6124         Delete firstrow and lastrow class variables, add a Rowlist
6125         rowlist_ class variable.
6126
6127         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6128         paragraph is empty.
6129
6130         * RowList.C (insert): fix case where it == begin().
6131
6132 2003-03-26  Angus Leeming  <leeming@lyx.org>
6133
6134         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6135         the thesaurus dialog.
6136
6137 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6140
6141         * RowList.[Ch]: new files
6142
6143         * ParagraphList.C (erase): handle the case where it == begin
6144         correctly.
6145
6146 2003-03-25  John Levon  <levon@movementarian.org>
6147
6148         * Makefile.am:
6149         * aspell_local.h:
6150         * aspell.C: add new aspell support
6151
6152         * lyxrc.h:
6153         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6154         have it accessible.
6155
6156 2003-03-25  Angus Leeming  <leeming@lyx.org>
6157
6158         * lfuns.h:
6159         * LyXAction.C (init): new LFUN_INSET_INSERT.
6160
6161         * BufferView_pimpl.C (dispatch): split out part of the
6162         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6163
6164         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6165         LFUN_INSET_APPLY.
6166
6167 2003-03-25  Angus Leeming  <leeming@lyx.org>
6168
6169         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6170
6171 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6172
6173         * text2.C:
6174         * text3.C: remove useless row->height(0)
6175
6176 2003-03-25  John Levon  <levon@movementarian.org>
6177
6178         * lyxtext.h:
6179         * text2.C:
6180         * text3.C: rename the refreshing stuff to better names
6181
6182 2003-03-24  John Levon  <levon@movementarian.org>
6183
6184         * BufferView_pimpl.h:
6185         * BufferView_pimpl.C: update layout choice on a mouse
6186         press/release
6187
6188 2003-03-23  John Levon  <levon@movementarian.org>
6189
6190         * Makefile.am: fix commandtags.h reference
6191
6192 2003-03-22  John Levon  <levon@movementarian.org>
6193
6194         * BufferView_pimpl.C:
6195         * lyxtext.h:
6196         * rowpainter.C:
6197         * rowpainter.h:
6198         * text.C:
6199         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6200
6201 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * lyxtext.h:
6204         * text.C: take the rtl methods out of line
6205
6206 2003-03-21 André Pönitz <poenitz@gmx.net>
6207
6208         * metricsinfo.[Ch]: new files containing structures to be passed around
6209         during the two-phase-drawing...
6210
6211 2003-03-21 André Pönitz <poenitz@gmx.net>
6212
6213         * lyxtextclass.C: read 'environment' tag.
6214
6215 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6216
6217         * text2.C (removeRow): fix bug 964
6218
6219 2003-03-20  John Levon  <levon@movementarian.org>
6220
6221         * rowpainter.C:
6222         * text.C:
6223         * text2.C: paint cleanups. Inset::update() dropped font
6224         parameter
6225
6226 2003-03-19  John Levon  <levon@movementarian.org>
6227
6228         * lyxfunc.C: only fitcursor/markDirty if available()
6229
6230 2003-03-19  John Levon  <levon@movementarian.org>
6231
6232         * commandtags.h: rename to ...
6233
6234         * lfuns.h: ... this, and renumber / cleanup
6235
6236 2003-03-19  John Levon  <levon@movementarian.org>
6237
6238         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6239         fit the cursor after an lfun
6240
6241         * BufferView.h:
6242         * BufferView.C:
6243         * BufferView_pimpl.h:
6244         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6245
6246         * LyXAction.C: layout-character should have ReadOnly
6247
6248         * ParagraphParameters.C:
6249         * buffer.C:
6250         * bufferview_funcs.C:
6251         * lyx_cb.C:
6252         * lyxfind.C:
6253         * lyxtext.h:
6254         * text.C:
6255         * text2.C:
6256         * text3.C:
6257         * undo_funcs.C: changes from above
6258
6259 2003-03-18  John Levon  <levon@movementarian.org>
6260
6261         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6262         remove it from update()
6263
6264         * lyxfunc.C: update layout choice after an lfun
6265
6266         * text3.C: remove extra updateLayoutChoice()s
6267
6268 2003-03-18  John Levon  <levon@movementarian.org>
6269
6270         * text.C: top_y change means full repaint, fix
6271         a drawing bug with cursor movement
6272
6273 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6274
6275         * lyxtext.h:
6276         * text.C:
6277         * text2.C: anchor row on setCursor
6278
6279 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6280
6281         * lyxtext.h: remove almost all mutable keywords
6282         * text.C:
6283         * text2.C:
6284         * text3.C: remove const keywords accordingly
6285
6286 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6289         anon namespace
6290         (TeXEnvironment): ditto
6291         (TeXOnePar): ditto
6292
6293 2003-03-17  John Levon  <levon@movementarian.org>
6294
6295         * text.C (rowBreakPoint): remove attempt to fix displayed
6296         math insets inside a manual label
6297
6298 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * lyxtext.h: remove BufferView* as first arg from almost all class
6301         functions.
6302         * other files: adjust.
6303
6304 2003-03-17  John Levon  <levon@movementarian.org>
6305
6306         * lyxtext.h:
6307         * undo_funcs.C:
6308         * text2.C: more paint cleanups
6309
6310         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6311
6312         * rowpainter.h:
6313         * rowpainter.C: remove "smart" background painting code
6314
6315 2003-03-16  John Levon  <levon@movementarian.org>
6316
6317         * lyxtext.h:
6318         * text.C:
6319         * text2.C:
6320         * text3.C: add helper functions for setting refresh_row/y
6321
6322 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6323
6324         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6325         newline inset which *can* get inserted in the pass_thru layouts.
6326         This is primarily for literate documents.
6327
6328 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6329
6330         * buffer.C: increment LYX_FORMAT to 223
6331
6332 2003-03-14 André Pönitz <poenitz@gmx.net>
6333
6334         * textclass.h: prepare for environment handling, ws changes
6335         * lyxlayout.C: read latexheader and latexfooter tags
6336
6337 2003-03-14  John Levon  <levon@movementarian.org>
6338
6339         * text2.C: rewrite ::status() a bit
6340
6341 2003-03-13  John Levon  <levon@movementarian.org>
6342
6343         * lyxtext.h: add some docs
6344
6345 2003-03-13  John Levon  <levon@movementarian.org>
6346
6347         * lyxtext.h:
6348         * text.C:
6349         * text2.C:
6350         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6351
6352 2003-03-13  John Levon  <levon@movementarian.org>
6353
6354         * text3.C: fix appendix redrawing
6355
6356 2003-03-13  John Levon  <levon@movementarian.org>
6357
6358         * text.C (setHeightOfRow):
6359         * rowpainter.h:
6360         * rowpainter.C: make appendix mark have the text
6361           "Appendix" so the user knows what it is
6362
6363         * LColor.h:
6364         * LColor.C: s/appendixline/appendix/ from above
6365
6366 2003-03-13  John Levon  <levon@movementarian.org>
6367
6368         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6369
6370         * text.C: fix a getChar(pos) bug properly
6371
6372 2003-03-13  Angus Leeming  <leeming@lyx.org>
6373
6374         * commandtags.h:
6375         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6376         Probably only temporary. Let's see how things pan out.
6377
6378         * BufferView.C (unlockInset):
6379         * BufferView_pimpl.C (fitCursor):
6380         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6381
6382         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6383         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6384
6385         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6386         new functions that convert ParagraphParameters to and from a string.
6387
6388         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6389         BufferView::Pimpl's dispatch.
6390         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6391
6392 2003-03-13 André Pönitz <poenitz@gmx.net>
6393
6394         * lyxfunc.C:
6395         * text3.C:
6396         * factory.C: make it aware of InsetEnv
6397
6398 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * text2.C (setCursor): never ask for one past last
6401         (setCursor): add some debugging messages.
6402
6403         * text.C (singleWidth): never ask for one past last
6404         (singleWidth): ditto
6405         (leftMargin): ditto
6406         (rightMargin): ditto
6407         (rowBreakPoint): ditto
6408         (setHeightOfRow): ditto
6409         (prepareToPrint): ditto
6410
6411         * rowpainter.C (paintBackground): never ask for one past last
6412         (paintText): never ask for one past last
6413
6414         * paragraph_pimpl.C (getChar): make the assert stricter, never
6415         allow the one past last pos to be taken
6416
6417         * paragraph.C (getChar): ws changes only
6418
6419         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6420         (numberOfSeparators): ditto
6421         (numberOfHfills): ditto
6422
6423 2003-03-12  John Levon  <levon@movementarian.org>
6424
6425         * author.h:
6426         * author.C:
6427         * bufferparams.h:
6428         * bufferparams.C:
6429         * paragraph_funcs.C: fix per-buffer authorlists
6430
6431 2003-03-12  John Levon  <levon@movementarian.org>
6432
6433         * text.C: fix newline in right address
6434
6435 2003-03-12  Angus Leeming  <leeming@lyx.org>
6436
6437         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6438         duplicate those in LyXFunc::dispatch.
6439
6440         * commandtags.h:
6441         * LyXAction.C:
6442         * ToolbarDefaults.C:
6443         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6444         Add LFUN_FONTFREE_UPDATE.
6445
6446         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6447         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6448
6449         * bufferview_func.[Ch]: several new functions to facilliate
6450         transfer of data to and from the character dialog.
6451
6452 2003-03-12  John Levon  <levon@movementarian.org>
6453
6454         * buffer.C:
6455         * paragraph.h:
6456         * paragraph.C:
6457         * paragraph_funcs.C:
6458         * paragraph_pimpl.C:
6459         * sgml.C:
6460         * tabular.C:
6461         * text.C:
6462         * text3.C: remove META_NEWLINE in favour of an inset
6463
6464         * rowpainter.h:
6465         * rowpainter.C: remove paintNewline (done by inset)
6466
6467 2003-03-12  John Levon  <levon@movementarian.org>
6468
6469         * paragraph_pimpl.C: complain about bad getChar()s
6470         for a while at least
6471
6472 2003-03-12  John Levon  <levon@movementarian.org>
6473
6474         * buffer.h:
6475         * buffer.C: move paragraph read into a separate function,
6476         a little renaming to reflect that.
6477
6478         * bufferparams.h:
6479         * bufferparams.C: remove the author_ids map, not necessary now
6480
6481         * factory.h:
6482         * factory.C: moved Buffer::readInset to here
6483
6484         * paragraph_funcs.h:
6485         * paragraph_funcs.C: readParagraph free function moved from
6486         buffer.C
6487
6488         * tabular.C: name change
6489
6490 2003-03-12  John Levon  <levon@movementarian.org>
6491
6492         * buffer.C:
6493         * ParagraphParameters.C: move par params input to
6494         a read() method
6495
6496         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6497         behave like a normal read from the stream wrt reading
6498         a line vs. a \\token
6499
6500 2003-03-12  John Levon  <levon@movementarian.org>
6501
6502         * paragraph.C:
6503         * ParagraphParameters.h:
6504         * ParagraphParameters.C: move output code to a
6505         ::write() method
6506
6507 2003-03-12  John Levon  <levon@movementarian.org>
6508
6509         * BufferView.C (insertLyXFile):
6510         * buffer.h:
6511         * buffer.C:
6512         * tabular.C: use a parlist iterator for creating the
6513           document.
6514
6515 2003-03-12  John Levon  <levon@movementarian.org>
6516
6517         * buffer.C: make current_change static local not
6518           static file-scope
6519
6520 2003-03-12  John Levon  <levon@movementarian.org>
6521
6522         * buffer.C: fix insertStringAsLines for change tracking
6523
6524 2003-03-12  John Levon  <levon@movementarian.org>
6525
6526         * BufferView.C:
6527         * tabular.C:
6528         * buffer.h:
6529         * buffer.C:
6530         * bufferparams.h:
6531         * bufferparams.C: move author list into params. Rename some
6532           functions. Move the header reading into a separate token
6533           loop. Move the header token reading into BufferParams.
6534
6535 2003-03-12  John Levon  <levon@movementarian.org>
6536
6537         * changes.C: put debug inside lyxerr.debugging() checks
6538
6539 2003-03-11 André Pönitz <poenitz@gmx.net>
6540
6541         * factory.C: make it aware of InsetHFill
6542
6543 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6544
6545         * buffer.C (latexParagraphs): move function from here...
6546         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6547         args.
6548
6549 2003-03-10  Angus Leeming  <leeming@lyx.org>
6550
6551         * LyXAction.C (init): fix bug in poplating array with multiple entries
6552         with the same LFUN (spotted by JMarc).
6553
6554 2003-03-10  John Levon  <levon@movementarian.org>
6555
6556         * text.C:
6557         * text2.C: move getColumnNearX() near its
6558         only call site
6559
6560 2003-03-10  John Levon  <levon@movementarian.org>
6561
6562         * text.C: fix break before a minipage
6563
6564 2003-03-10  John Levon  <levon@movementarian.org>
6565
6566         * text.C: fix the last commit
6567
6568 2003-03-09  John Levon  <levon@movementarian.org>
6569
6570         * lyxtext.h:
6571         * text.C:
6572         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6573         bug 365 (don't break before insets unless needed). Don't
6574         return a value > last under any circumstances.
6575
6576 2003-03-09  Angus Leeming  <leeming@lyx.org>
6577
6578         * BufferView_pimpl.C (trackChanges, dispatch): call
6579         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6580
6581 2003-03-09  Angus Leeming  <leeming@lyx.org>
6582
6583         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6584         than Dialogs::showAboutlyx().
6585
6586 2003-03-09  Angus Leeming  <leeming@lyx.org>
6587
6588         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6589         than Dialogs::showTabularCreate().
6590
6591 2003-03-09  John Levon  <levon@movementarian.org>
6592
6593         * lyxtext.h:
6594         * text.C:
6595         * text2.C: 3rd arg to nextBreakPoint was always the same.
6596           Use references.
6597
6598 2003-03-08  John Levon  <levon@movementarian.org>
6599
6600         * lyxrow.C:
6601         * paragraph.C:
6602         * paragraph.h:
6603         * rowpainter.C:
6604         * text.C:
6605         * text2.C: Remove the "main" bit from the "main body"
6606           notion.
6607
6608 2003-03-08  John Levon  <levon@movementarian.org>
6609
6610         * text.C (leftMargin): The left margin of an empty
6611         manual label paragraph should not include the label width
6612         string length.
6613
6614         * text.C (prepareToPrint): don't attempt to measure hfills
6615         for empty manual label paragraphs - the answer should be 0
6616
6617 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6618
6619         * CutAndPaste.C: remove commented code and reindent.
6620
6621 2003-03-08  John Levon  <levon@movementarian.org>
6622
6623         * lyxfunc.h:
6624         * lyxfunc.C: move reloadBuffer()
6625
6626         * BufferView.h:
6627         * BufferView.C: to here
6628
6629         * lyxvc.C: add comment
6630
6631         * vc-backend.h:
6632         * vc-backend.C: call bv->reload() to avoid
6633           getStatus() check on MENURELOAD
6634
6635 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6636
6637         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6638         to an old format .dep file.
6639
6640 2003-03-07  Angus Leeming  <leeming@lyx.org>
6641
6642         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6643         when the LFUN_MOUSE_RELEASE should have been handled by
6644         inset->localDispatch.
6645
6646 2003-03-07  Angus Leeming  <leeming@lyx.org>
6647
6648         * BufferView_pimpl.C (dispatch):
6649         * LyXAction.C (init):
6650         * ToolbarDefaults.C (init):
6651         * commandtags.h:
6652         * lyxfunc.C (getStatus):
6653         remove LFUN_INSET_GRAPHICS.
6654
6655         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6656
6657 2003-03-07  Angus Leeming  <leeming@lyx.org>
6658
6659         * commandtags.h:
6660         * LyXAction.C (init):
6661         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6662
6663         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6664
6665         * commandtags.h:
6666         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6667
6668         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6669         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6670
6671 2003-03-07  Angus Leeming  <leeming@lyx.org>
6672
6673         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6674         remove "ert".
6675
6676 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6677
6678         * ParagraphList.C (front): new function
6679         (back): implement
6680
6681 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6682
6683         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6684         and top_row_offset_. removed var first_y.
6685         * text.C (top_y):
6686         * text2.C (LyXText, removeRow):
6687         * text3.C:
6688         * BufferView_pimpl.C:
6689         use these methods instead of using first_y
6690
6691 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * text2.C (pasteSelection): adjust for checkPastePossible
6694
6695         * CutAndPaste.C: remove Paragraph * buf and replace with
6696         ParagraphList paragraphs.
6697         (DeleteBuffer): delete
6698         (cutSelection): change the tc type to textclass_type
6699         (copySelection): change the tc type to textclass_type
6700         (copySelection): adjust for ParagraphList
6701         (pasteSelection): change the tc type to textclass_type
6702         (pasteSelection): adjust for Paragraphlist
6703         (nrOfParagraphs): simplify for ParagraphList
6704         (checkPastePossible): simplify for ParagraphList
6705         (checkPastePossible): remove unused arg
6706
6707         * ParagraphList.C (insert): handle the case where there are no
6708         paragraphs yet.
6709
6710         * CutAndPaste.h: make CutAndPaste a namespace.
6711
6712         * text3.C (dispatch): adjust
6713
6714         * text.C (breakParagraph): add a ParagraphList as arg
6715
6716         * paragraph_funcs.C (breakParagraph): change to take a
6717         BufferParams and a ParagraphList as args.
6718         (breakParagraphConservative): ditto
6719         (mergeParagraph): ditto
6720         (TeXDeeper): add a ParagraphList arg
6721         (TeXEnvironment): ditto
6722         (TeXOnePar): ditto
6723
6724         * buffer.C (readLyXformat2): adjust
6725         (insertStringAsLines): adjust
6726         (latexParagraphs): adjust
6727
6728         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6729         (cutSelection): adjust
6730         (pasteSelection): adjust
6731
6732         * BufferView_pimpl.C (insertInset): adjust
6733
6734 2003-03-05  Angus Leeming  <leeming@lyx.org>
6735
6736         * commandtags.h:
6737         * LyXAction.C (init):
6738         * BufferView_pimpl.C (dispatch):
6739         * lyxfunc.C (getStatus):
6740         remove LFUN_CHILD_INSERT.
6741
6742         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6743
6744 2003-03-05  Angus Leeming  <leeming@lyx.org>
6745
6746         * commandtags.h:
6747         * LyXAction.C (init):
6748         * src/factory.C (createInset):
6749         * lyxfunc.C (getStatus):
6750         * text3.C (dispatch):
6751         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6752
6753         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6754
6755 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6756
6757         * ParagraphList.C (insert): handle insert right before end()
6758         (erase): fix cases where it can be first or last paragraph.
6759
6760 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6761
6762         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6763         Paragraph::next and Paragraph::previous
6764         (TeXOnePar): ditto
6765
6766         * text.C (breakParagraph): adjust
6767
6768         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6769         BufferParams& as arg.
6770         (breakParagraph): use ParagraphList::insert
6771         (breakParagraphConservative): take a Buffer* instead of a
6772         BufferParams& as arg.
6773         (breakParagraphConservative): use ParagraphList::insert.
6774
6775         * buffer.C (insertStringAsLines): un-const it
6776         (insertStringAsLines): adjust
6777
6778         * ParagraphList.C (insert): new function
6779
6780         * CutAndPaste.C (pasteSelection): adjust
6781
6782         * text.C (backspace): adjust
6783
6784         * tabular.C (SetMultiColumn): adjust
6785
6786         * CutAndPaste.C (cutSelection): adjust
6787         (pasteSelection): adjust
6788
6789         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6790         Buffer const * as arg
6791
6792         * ParagraphList.C (erase): new function
6793         * paragraph_funcs.C (mergeParagraph): use it
6794         (mergeParagraph): make it take a Buffer* instead of a
6795         BufferParams* as arg
6796
6797         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6798         as arg
6799         (breakParagraphConservative): ditto
6800
6801         * paragraph.h: remove the breakParagraph friend
6802
6803         * paragraph.C (eraseIntern): new function
6804         (setChange): new function
6805
6806         * paragraph_funcs.C (mergeParagraph): make it take a
6807         ParagraphList::iterator instead of a Paragraph *, adjust
6808         accordingly.
6809
6810         * paragraph.h: move an #endif so that the change tracking stuff
6811         also works in the NO_NEXT case.
6812
6813 2003-03-04  Angus Leeming  <leeming@lyx.org>
6814
6815         * commandtags.h:
6816         * LyXAction.C: new LFUN_INSET_MODIFY.
6817
6818         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6819         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6820
6821 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6822
6823         * several files: ws changes only
6824
6825         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6826         (TeXEnvironment): ditto
6827         (TeXDeeper): ditto
6828
6829         * buffer.C (makeLaTeXFile): adjust
6830         (latexParagraphs): make it take ParagraphList::iterator as args
6831
6832 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * buffer.C (latexParagraphs): adjust
6835
6836         * paragraph.C (TeXOnePar): move function...
6837         (optArgInset): move function...
6838         (TeXEnvironment): move function...
6839         * paragraph_pimpl.C (TeXDeeper): move function...
6840         * paragraph_funcs.C: ...here
6841
6842         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6843
6844 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * buffer.C (readInset): remove compability code for old Figure and
6847         InsetInfo insets
6848
6849 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * buffer.C: ws changes
6852         (readInset):
6853
6854         * BufferView_pimpl.C: ditto
6855         * author.C: ditto
6856         * buffer.h: ditto
6857         * bufferlist.h: ditto
6858         * changes.h: ditto
6859         * lyxfunc.C: ditto
6860
6861 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6862
6863         * converter.[Ch]: split into itself +
6864         * graph.[Ch]
6865         * format.[Ch]
6866         * Makefile.am: += graph.[Ch] + format.[Ch]
6867         * MenuBackend.C
6868         * buffer.C
6869         * exporter.C
6870         * importer.C
6871         * lyx_main.C
6872         * lyxfunc.C
6873         * lyxrc.C: added #include "format.h"
6874
6875 2003-02-27  Angus Leeming  <leeming@lyx.org>
6876
6877         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6878           a label.
6879
6880         * factory.C (createInset): add "label" to the factory.
6881
6882         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6883           string and do no more.
6884
6885 2003-02-27  Angus Leeming  <leeming@lyx.org>
6886
6887         * commandtags.h:
6888         * LyXAction.C (init):
6889         * factory.C (createInset):
6890         * BufferView_pimpl.C (dispatch):
6891           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6892
6893         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6894
6895         * lyxfunc.C (dispatch):
6896         * text3.C (dispatch): pass name to params2string.
6897
6898 2003-02-26  Angus Leeming  <leeming@lyx.org>
6899
6900         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6901           blocks together.
6902           Rearrange the ~includes. Strip out the unnecessary ones.
6903
6904         * factory.C (createInset): reformat.
6905           create new insets for the various LFUN_XYZ_APPLY lfuns.
6906
6907 2003-02-26  John Levon  <levon@movementarian.org>
6908
6909         * lyxrow.h:
6910         * lyxrow.C: add isParStart,isParEnd helpers
6911
6912         * paragraph.h: make isInserted/DeletedText take refs
6913
6914         * paragraph_funcs.h:
6915         * paragraph_funcs.C: remove #if 0'd code
6916
6917         * lyxtext.h:
6918         * text3.C:
6919         * text2.C:
6920         * text.C: use lyxrow helpers above.
6921           Move draw and paint routines to RowPainter.
6922           Make several methods use refs not pointers.
6923           Make backgroundColor() const.
6924           Add markChangeInDraw(), isInInset().
6925           Merge changeRegionCase into changeCase.
6926           Make workWidth() shouldn't-happen code into an Assert.
6927
6928         * rowpainter.h:
6929         * rowpainter.C: new class for painting a row.
6930
6931         * vspace.h:
6932         * vspace.C: make inPixels take a ref
6933
6934 2003-02-26  Angus Leeming  <leeming@lyx.org>
6935
6936         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6937         LFUN_REF_APPLY.
6938
6939 2003-02-25  John Levon  <levon@movementarian.org>
6940
6941         * ispell.C: give the forked command a more accurate name
6942
6943 2003-02-22  John Levon  <levon@movementarian.org>
6944
6945         * toc.h:
6946         * toc.C: make TocItem store an id not a Paragraph *
6947           (bug #913)
6948
6949 2003-02-21  Angus Leeming  <leeming@lyx.org>
6950
6951         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6952           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6953           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6954           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6955           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6956           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6957
6958         * BufferView_pimpl.C (dispatch):
6959         * LyXAction.C (init):
6960         * factory.C (createInset):
6961         * lyxfunc.C (getStatus, dispatch):
6962         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6963
6964 2003-02-21  Angus Leeming  <leeming@lyx.org>
6965
6966         * BufferView_pimpl.C (MenuInsertLyXFile):
6967         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6968         * lyxfunc.C (menuNew, open, doImport):
6969           no longer pass a LyXView & to fileDlg.
6970
6971 2003-02-21  Angus Leeming  <leeming@lyx.org>
6972
6973         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6974         * LyXAction.C: change, BIBKEY to BIBITEM.
6975         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6976         Change InsetBibKey to InsetBibitem.
6977         Change BIBKEY_CODE to BIBITEM_CODE.
6978         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6979         * factory.C: replace insetbib.h with insetbibitem.h.
6980         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6981         * paragraph.C: replace insetbib.h with insetbibitem.h.
6982         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6983         Change bibkey() to bibitem().
6984         * text.C: remove insetbib.h.
6985         * text2.C: replace insetbib.h with insetbibitem.h.
6986         change bibkey() to bibitem().
6987         * text3.C: remove insetbib.h.
6988         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6989
6990 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6991
6992         * lyxrc.C (output): enclose user email in quotes (in case there are
6993         several words)
6994
6995 2003-02-18  John Levon  <levon@movementarian.org>
6996
6997         * buffer.h: add std::
6998
6999 2003-02-17  John Levon  <levon@movementarian.org>
7000
7001         * SpellBase.h:
7002         * ispell.h:
7003         * ispell.C:
7004         * pspell.h:
7005         * pspell.C: reworking. Especially in ispell, a large
7006           number of clean ups and bug fixes.
7007
7008         * lyxfunc.C: fix revert to behave sensibly
7009
7010 2003-02-17 André Pönitz <poenitz@gmx.net>
7011
7012         * LyXAction.C:
7013         * commandtags.h: new LFUN_INSERT_BIBKEY
7014
7015         * layout.h:
7016         * lyxlayout.C:
7017         * buffer.C:
7018         * factory.C:
7019         * text.C:
7020         * text2.C:
7021         * text3.C:
7022         * paragraph.[Ch]:
7023         * paragraph_func.C: remove special bibkey handling
7024
7025 2003-02-17  John Levon  <levon@movementarian.org>
7026
7027         * text.C (Delete): fix case where delete at the end of
7028           the very first paragraph would not merge the pars
7029
7030 2003-02-17  John Levon  <levon@movementarian.org>
7031
7032         * lyxrow.C: fix lastPrintablePos()
7033
7034 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7035
7036         * bufferparams.C (writeLaTeX): add a std:here
7037
7038         * buffer.C: and remove a using directive there
7039
7040 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7041
7042         * buffer.C (makeLaTeXFile): move the code that generates the
7043           preamble...
7044
7045         * bufferparams.C (writeLaTeX): ... in this new method
7046
7047         * LaTeXFeatures.C (getEncodingSet): make const
7048           (getLanguages): make const
7049
7050         * MenuBackend.C (binding): returns the binding associated to this
7051           action
7052           (add): sets the status of each item by calling getStatus. Adds
7053           some intelligence.
7054           (read): add support for OptSubMenu
7055           (expand): remove extra separator at the end of expanded menu
7056
7057 2003-02-15  John Levon  <levon@movementarian.org>
7058
7059         * BufferView.C:
7060         * BufferView_pimpl.C:
7061         * bufferlist.h:
7062         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7063           inset code that had no actual effect. Remove unneeded status
7064           code.
7065
7066 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7067
7068         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7069           in preamble
7070
7071 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7072
7073         * text.C (drawLengthMarker): also draw an arrow marker for
7074           symbolic lengths (medskip...)
7075
7076 2003-02-14  John Levon  <levon@movementarian.org>
7077
7078         * tabular.h:
7079         * tabular.C: better method names
7080
7081 2003-02-14  John Levon  <levon@movementarian.org>
7082
7083         * BufferView_pimpl.C:
7084         * bufferlist.C:
7085         * buffer.C:
7086         * converter.C:
7087         * lyx_cb.C:
7088         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7089           it's a more accurate name. Remove some pointless uses.
7090
7091 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7092
7093         * text2.C (LyXText): change order of initilizers to shut off
7094           warnings
7095
7096 2003-02-14  John Levon  <levon@movementarian.org>
7097
7098         * buffer.C: use ParIterator for getParFromID()
7099
7100         * paragraph.h:
7101         * paragraph.C:
7102         * paragraph_pimpl.h:
7103         * paragraph_pimpl.C: remove unused getParFromID()
7104
7105 2003-02-14  John Levon  <levon@movementarian.org>
7106
7107         * buffer.C: remove some very old #if 0'd parse code
7108
7109 2003-02-13  John Levon  <levon@movementarian.org>
7110
7111         * text.h:
7112         * text.C:
7113         * text2.C: move hfillExpansion(), numberOfSeparators(),
7114           rowLast(), rowLastPrintable(), numberofHfills(),
7115           numberOfLabelHfills() ...
7116
7117         * lyxrow.h:
7118         * lyxrow.C: ... to member functions here.
7119
7120         * paragraph.h:
7121         * paragraph.C:
7122         * lyxtext.h:
7123         * text.C: remove LyXText::beginningOfMainBody(), and call
7124           p->beginningOfMainBody() directly. Move the check for
7125           LABEL_MANUAL into the latter.
7126
7127         * text.h:
7128         * text.C:
7129         * text2.C:
7130         * vspace.C:
7131         * BufferView.h:
7132         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7133
7134         * text.h:
7135         * text.C:
7136         * text2.C:
7137         * text3.C:
7138         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7139           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7140
7141 2003-02-13  John Levon  <levon@movementarian.org>
7142
7143         * CutAndPaste.C: remove debug
7144
7145 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7146
7147         * paragraph.C (asString): remove two unused variables
7148
7149         * lyxtextclass.C (readTitleType):
7150           (Read):
7151           (LyXTextClass): handle new members titletype_ and titlename_
7152
7153         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7154
7155 2003-02-09  John Levon  <levon@movementarian.org>
7156
7157         * buffer.h:
7158         * buffer.C: replace hand-coded list with a map for the dep clean
7159
7160 2003-02-08  John Levon  <levon@movementarian.org>
7161
7162         * LaTeX.C: consolidate code into showRunMessage() helper
7163
7164 2003-02-08  John Levon  <levon@movementarian.org>
7165
7166         * lyxfind.C:
7167         * lyxtext.h:
7168         * text2.C:
7169         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7170           and pass the size in explicitly
7171
7172         * BufferView_pimpl.h:
7173         * BufferView_pimpl.C:
7174         * BufferView.h:
7175         * BufferView.C: add getCurrentChange()
7176
7177         * BufferView_pimpl.h:
7178         * BufferView_pimpl.C: handle change lfuns
7179
7180         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7181           for changes. Mark pasted paragraphs as new.
7182
7183         * support/lyxtime.h:
7184         * support/lyxtime.C:
7185         * DepTable.C: abstract time_t as lyx::time_type
7186
7187         * LColor.h:
7188         * LColor.C: add colours for new text, deleted text, changebars
7189
7190         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7191           package use "usenames" option.
7192
7193         * commandtags.h:
7194         * lyxfunc.C:
7195         * LyXAction.C: add change lfuns
7196
7197         * Makefile.am:
7198         * author.h:
7199         * author.C: author handling
7200
7201         * buffer.h:
7202         * buffer.C: add a per-buffer author list, with first entry as
7203           current author. Handle new .lyx tokens for change tracking. Output
7204           author list to .lyx file. Output dvipost stuff to .tex preamble.
7205           Bump lyx format to 222.
7206
7207         * bufferlist.h:
7208         * bufferlist.C: add setCurrentAuthor() to reset current author details
7209           in all buffers.
7210
7211         * bufferparams.h:
7212         * bufferparams.C: add param for tracking
7213
7214         * bufferview_funcs.C: output change info in minibuffer
7215
7216         * Makefile.am:
7217         * changes.h:
7218         * changes.C: add change-tracking structure
7219
7220         * debug.h:
7221         * debug.C: add CHANGES debug flag
7222
7223         * lyxfind.h:
7224         * lyxfind.C: add code for finding the next change piece
7225
7226         * lyxrc.h:
7227         * lyxrc.C: add user_name and user_email
7228
7229         * lyxrow.h:
7230         * lyxrow.C: add a metric for the top of the text line
7231
7232         * lyxtext.h:
7233         * text.C: implement accept/rejectChange()
7234
7235         * lyxtext.h:
7236         * text.C: paint changebars. Paint new/deleted text in the chosen
7237         colours. Strike through deleted text.
7238
7239         * paragraph.h:
7240         * paragraph.C:
7241         * paragraph_pimpl.h:
7242         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7243           in the current change to the insert functions. Rework erase to
7244           mark text as deleted, adding an eraseIntern() and a range-based
7245           erase(). Implement per-paragraph change lookup and
7246           accept/reject.
7247
7248         * paragraph_funcs.C: Fixup paste for change tracking.
7249
7250         * tabular.C: mark added row/columns as new.
7251
7252         * text.C: fix rowLast() to never return -1. Don't allow
7253           spellchecking of deleted text. Track transpose changes. Don't
7254           allow paragraph break or merge where appropriate.
7255
7256         * text2.C: leave cursor at end of selection after a cut.
7257
7258 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7259
7260         * text.C (getLengthMarkerHeight):
7261         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7262         visible on screen too.
7263
7264 2003-02-07  John Levon  <levon@movementarian.org>
7265
7266         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7267
7268 2003-02-05  Angus Leeming  <leeming@lyx.org>
7269
7270         * lyxserver.C (read_ready): revert my patch of 11 September last year
7271         as it sends PC cpu through the roof. Presumably this means that
7272         the lyxserver will no longer run on an Alpha...
7273
7274 2003-01-30  Angus Leeming  <leeming@lyx.org>
7275
7276         * factory.C (createInset): create an InsetCommandParam of type "index"
7277         and use it to 'do the right thing'.
7278
7279         * text2.C (getStringToIndex): ensure that cursor position is always
7280         reset to the reset_cursor position.
7281
7282 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7283
7284         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7285         disabled.
7286
7287 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7288
7289         * bufferview.C:
7290         * lyxcb.C:
7291         * lyxfunc.C: Output messages with identical spelling, punctuation,
7292         and spaces
7293
7294 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7295
7296         * MenuBackend.C (expandFormats): List only viewable export formats
7297         in "View" menu
7298
7299         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7300         message
7301
7302         * lyxfunc.C (getStatus): Make sure that formats other than
7303         "fax" can also be disabled
7304
7305 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7306
7307         * text3.C (dispatch): put the lfuns that insert insets in 3
7308         groups, and call doInsertInset with appropriate arguments.
7309         (doInsertInset): new function, that creates an inset and inserts
7310         it according to some boolean parameters.
7311
7312 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7313
7314         * buffer.C (readFile): remember to pass on 'par' when calling
7315         readFile recursively.
7316
7317 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7318
7319         * MenuBackend.C (expandFormats): add "..." to import formats.
7320
7321 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7322
7323         * paragraph.C (asString): Remove XForms RTL hacks.
7324
7325 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7326         * buffer.C: fix typo
7327
7328 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7329
7330         * Makefile.am (LIBS): delete var
7331         (lyx_LDADD): add @LIBS@ here instead.
7332
7333 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7334
7335         * Clarify the meaning of "wheel mouse jump"
7336
7337 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7338
7339         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7340         tabular in a float
7341
7342 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7343
7344         * importer.C (Loaders): do not preallocate 3 elements in the
7345         vector, since one ends up with 6 elements otherwise
7346
7347 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7348
7349         * DepTable.C (write): write the file name as last element of the
7350         .dep file (because it may contain spaces)
7351         (read): read info in the right order
7352
7353 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7354
7355         * paragraph_pimpl.C (simpleTeXBlanks):
7356         (simpleTeXSpecialChars):
7357         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7358
7359         * tabular.C (latex): add some missing case statements. Reindent.
7360
7361         * MenuBackend.C (expandToc): remove unused variable.
7362
7363 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7364
7365         * LColor.C:
7366         * LaTeX.C:
7367         * LyXAction.C:
7368         * MenuBackend.C:
7369         * buffer.C:
7370         * exporter.C:
7371         * lyxfunc.C:
7372         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7373         and the like.
7374
7375 2003-01-05  John Levon  <levon@movementarian.org>
7376
7377         * BufferView.h:
7378         * BufferView.C: add getEncoding()
7379
7380         * kbsequence.h:
7381         * kbsequence.C: do not store last keypress
7382
7383         * lyxfunc.h:
7384         * lyxfunc.C: store last keypress here instead. Pass encoding
7385           to getISOEncoded()
7386
7387 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7388
7389         * lyx_main.C (init): remove annoying error message when following
7390         symbolic links (bug #780)
7391
7392 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7393
7394         * text.C (insertChar):
7395         * lyxrc.C (getDescription): remove extra spaces
7396
7397 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7398
7399         * lyxrc.C (getDescription): remove extra spaces
7400
7401 2002-12-20  John Levon  <levon@movementarian.org>
7402
7403         * text3.C: hack fix for page up/down across tall rows
7404
7405 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7406
7407         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7408         not been invoked
7409
7410 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7411
7412         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7413         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7414         thesaurus is not compiled in
7415
7416 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7417
7418         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7419
7420 2002-12-16  Angus Leeming  <leeming@lyx.org>
7421
7422         * lyxrc.[Ch]:
7423         * lyx_main.C (init): remove override_x_deadkeys stuff.
7424
7425 2002-12-12  John Levon  <levon@movementarian.org>
7426
7427         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7428           insert. Only remove shift modifier under strict
7429           circumstances.
7430
7431 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * MenuBackend.C (expandToc): fix crash.
7434
7435 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * MenuBackend.C (expandToc): gettext on float names.
7438
7439 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7440
7441         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7442         implement bool empty() [bug 490]
7443
7444 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7447
7448 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * several files: ws changes
7451
7452 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * text2.C (setCounter): clean up a bit, use boost.format.
7455         (updateCounters): initialize par upon declaration.
7456
7457         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7458         if the layout exists. We do not just store the layout any more.
7459         (SwitchLayoutsBetweenClasses): use boost.format
7460
7461 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7462
7463         * converter.C (convert): if from and to files are the same, use a
7464         temporary files as intermediary
7465
7466 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7467
7468         * commandtags.h:
7469         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7470
7471 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7472
7473         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7474
7475 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7476
7477         * tabular.C (asciiPrintCell): use string(size, char) instead of
7478         explicit loop.
7479
7480         * sgml.C (openTag): fix order of arguments to string constructor
7481         (closeTag): ditto
7482
7483         * lyxfunc.C (dispatch): use boost.format
7484
7485         * lots of files: change "c" -> 'c'
7486
7487 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7488
7489         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7490
7491 2002-11-25  Angus Leeming  <leeming@lyx.org>
7492
7493         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7494
7495         * lyx_main.C (init): compile fix.
7496
7497 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * lyx_cb.C (start): boost.formatify
7500         do not include <iostream>
7501
7502         * lengthcommon.C: ws only
7503
7504         * boost-inst.C,BoostFormat.h: add more explict instantations
7505
7506 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7507
7508         * lots of files: handle USE_BOOST_FORMAT
7509
7510 2002-11-21  John Levon  <levon@movementarian.org>
7511
7512         * pspell.C: fix compile
7513
7514 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7515
7516         * lyxfunc.C (dispatch): use boost::format
7517         (open): ditto
7518         (doImport): ditto
7519
7520         * lyxfont.C (stateText): use boost::format
7521
7522         * lyx_main.C (LyX): use boost::format
7523         (init): ditto
7524         (queryUserLyXDir): ditto
7525         (readRcFile): ditto
7526         (parse_dbg): ditto
7527         (typedef boost::function): use the recommened syntax.
7528
7529         * importer.C (Import): use boost::format
7530
7531         * debug.C (showLevel): use boost::format
7532
7533         * converter.C (view): use boost::format
7534         (convert): ditto
7535         (move): ditto
7536         (scanLog): ditto
7537
7538         * bufferview_funcs.C (currentState): use boost::format
7539
7540         * bufferlist.C (emergencyWrite): use boost::format
7541
7542         * buffer.C (readLyXformat2): use boost::format
7543         (parseSingleLyXformat2Token): ditto
7544
7545         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7546
7547         * LaTeX.C (run): use boost::format
7548
7549         * Chktex.C (scanLogFile): use boost::format
7550
7551         * BufferView_pimpl.C (savePosition): use boost::format
7552         (restorePosition): ditto
7553         (MenuInsertLyXFile): ditto
7554
7555         * BoostFormat.h: help file for explicit instation.
7556
7557 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7558
7559         * tabular.C (latex): Support for block alignment in fixed width
7560         columns.
7561
7562 2002-11-17  John Levon  <levon@movementarian.org>
7563
7564         * BufferView_pimpl.C:
7565         * lyx_cb.C:
7566         * lyxfunc.C: split filedialog into open/save
7567
7568 2002-11-08  Juergen Vigna  <jug@sad.it>
7569
7570         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7571         by my last patch (hopefully).
7572
7573 2002-11-08  John Levon  <levon@movementarian.org>
7574
7575         * iterators.h:
7576         * iterators.C:
7577         * buffer.h:
7578         * buffer.C:
7579         * paragraph.h:
7580         * paragraph.C:
7581         * toc.h:
7582         * toc.C: ParConstIterator, and use it (from Lars)
7583
7584 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7585
7586         * lyxtextclass.[Ch]: revise and add doxygen comments
7587
7588 2002-11-07  John Levon  <levon@movementarian.org>
7589
7590         * text.C: fix progress value for spellchecker
7591
7592         * toc.C: fix navigate menu for insetwrap inside minipage
7593
7594         * paragraph_funcs.C: added FIXME for suspect code
7595
7596 2002-11-07  John Levon  <levon@movementarian.org>
7597
7598         * BufferView_pimpl.C: fix redrawing of insets
7599           on buffer switch
7600
7601 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7602
7603         * text2.C (updateCounters): fix bug 668
7604
7605 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7606
7607         * text3.C (dispatch): Do not make the buffer dirty when moving the
7608         cursor.
7609
7610 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * vc-backend.C: STRCONV
7613         (scanMaster): ditto
7614
7615         * text2.C (setCounter): STRCONV
7616
7617         * paragraph.C (asString): STRCONV
7618
7619         * lyxlength.C (asString): STRCONV
7620         (asLatexString): ditto
7621
7622         * lyxgluelength.C (asString): STRCONV
7623         (asLatexString): ditto
7624
7625         * lyxfunc.C (dispatch): STRCONV
7626         (open): ditto
7627
7628         * lyxfont.C (stateText): STRCONV
7629
7630         * importer.C (Import): STRCONV
7631
7632         * counters.C (labelItem): STRCONV
7633         (numberLabel): ditto
7634         (numberLabel): remove unused ostringstream o
7635
7636         * chset.C: STRCONV
7637         (loadFile): ditto
7638
7639         * bufferview_funcs.C (currentState): STRCONV
7640
7641         * buffer.C (readFile): STRCONV
7642         (asciiParagraph): ditto
7643         (makeLaTeXFile): ditto
7644
7645         * Spacing.C (writeEnvirBegin): STRCONV
7646
7647         * LaTeXFeatures.C (getLanguages): STRCONV
7648         (getPackages): ditto
7649         (getMacros): ditto
7650         (getBabelOptions): ditto
7651         (getTClassPreamble): ditto
7652         (getLyXSGMLEntities): ditto
7653         (getIncludedFiles): ditto
7654
7655         * LaTeX.C: STRCONV
7656         (run): ditto
7657         (scanAuxFile): ditto
7658         (deplog): ditto
7659
7660         * LString.h: add the STRCONV macros
7661
7662         * BufferView_pimpl.C (savePosition): STRCONV
7663         (restorePosition): ditto
7664         (MenuInsertLyXFile): ditto
7665
7666         * vc-backend.C (scanMaster): change from submatch[...] to
7667         submatch.str(...)
7668
7669         * funcrequest.C: include config.h
7670
7671         * factory.C: include config.h
7672
7673         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7674
7675         * box.C: include config.h
7676
7677         * LaTeX.C (scanAuxFile): change from submatch[...] to
7678         submatch.str(...)
7679         (deplog): ditto
7680
7681 2002-10-25  Angus Leeming  <leeming@lyx.org>
7682
7683         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7684
7685         * ispell.[Ch] (setError): new method.
7686         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7687         Use setError() insetead of goto END.
7688
7689         * lyx_cb.C (AutoSave): move out child process into new class
7690         AutoSaveBuffer.
7691
7692 2002-10-30  John Levon  <levon@movementarian.org>
7693
7694         * text3.C: make start appendix undoable
7695
7696 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7697
7698         * lyxlength.C (inPixels): Fix returned value.
7699
7700         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7701         environment.
7702
7703 2002-10-24  Angus Leeming  <leeming@lyx.org>
7704
7705         * lyxgluelength.h: no need to forward declare BufferParams
7706         or BufferView, so don't.
7707
7708 2002-10-21  John Levon  <levon@movementarian.org>
7709
7710         * BufferView.C: menuUndo ->undo, redo
7711
7712         * BufferView.h: document, remove dead, make some methods private
7713
7714         * paragraph_funcs.h:
7715         * paragraph_funcs.C:
7716         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7717
7718         * buffer.h:
7719         * buffer.C:
7720         * sgml.h:
7721         * sgml.C: move sgml open/close tag into sgml.C
7722
7723         * bufferview_funcs.h: unused prototype
7724
7725         * lyxfunc.h:
7726         * lyxfunc.C: remove unused
7727
7728         * lyxtext.h:
7729         * text.C: remove unused
7730
7731 2002-10-21  John Levon  <levon@movementarian.org>
7732
7733         * BufferView.h:
7734         * BufferView.C:
7735         * BufferView_pimpl.h:
7736         * BufferView_pimpl.C: fix mouse wheel handling based on
7737           patch from Darren Freeman
7738
7739 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7740
7741         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7742
7743 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7744
7745         * lyxlength.C (inPixels): Fix hanfling of negative length.
7746         Fix LyXLength::MU case.
7747
7748 2002-10-16  John Levon  <levon@movementarian.org>
7749
7750         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7751
7752 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7753
7754         * converter.C (view): add support for $$i (file name) and $$p
7755         (file path) for the viewer command. If $$i is not specified, then
7756         it is appended to the command (for compatibility with old syntax)
7757
7758 2002-10-14  Juergen Vigna  <jug@sad.it>
7759
7760         * undo_funcs.C (textHandleUndo): alter the order in which the
7761         new undopar is added to the LyXText, as we have to set first
7762         the right prev/next and then add it as otherwise the rebuild of
7763         LyXText is not correct. Also reset the cursor to the right paragraph,
7764         with this IMO we could remove the hack in "redoParagraphs()".
7765
7766 2002-10-09  Angus Leeming  <leeming@lyx.org>
7767
7768         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7769         to turn off an optimisation if a new inset is to be inserted.
7770
7771 2002-10-11 André Pönitz <poenitz@gmx.net>
7772
7773         * lyxtext.h: make some functions public to allow access
7774         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7775
7776 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7777
7778         * text3.C (dispatch): when changing layout, avoid an infinite loop
7779         [bug #652]
7780
7781 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7782
7783         * lyxrc.C (read): treat a viewer or converter command of "none" as
7784         if it were empty.
7785
7786         * MenuBackend.C (expandFormats): for an update, also allow the
7787         formats that are not viewable
7788
7789         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7790         script if it is newer than the lyxrc.defaults in user directory
7791
7792 2002-10-07 André Pönitz <poenitz@gmx.net>
7793
7794         * text.C: Vitaly Lipatov's small i18n fix
7795
7796 2002-09-25  Angus Leeming  <leeming@lyx.org>
7797
7798         * ispell.h: doxygen fix.
7799
7800 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7801
7802         * buffer.h (readFile): Add a new argument to the method, to allow
7803         reading of old-format templates.
7804
7805 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7806
7807         * toc.C (getTocList): Get TOC from InsetWrap.
7808
7809 2002-09-16  John Levon  <levon@movementarian.org>
7810
7811         * lyxfunc.C: check tabular for cut/copy too
7812
7813 2002-09-12  John Levon  <levon@movementarian.org>
7814
7815         * LyXAction.C: tidy
7816
7817         * factory.h:
7818         * factory.C: add header
7819
7820         * paragraph_funcs.h:
7821         * paragraph_funcs.C: cleanup
7822
7823 2002-09-11  John Levon  <levon@movementarian.org>
7824
7825         * PrinterParams.h: odd/even default to true
7826
7827 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7828
7829         * PrinterParams.h: update printer parameters for new xforms dialog
7830
7831 2002-09-11  Angus Leeming  <leeming@lyx.org>
7832
7833         * lyxserver.C (read_ready): re-write to make it more transparent
7834         and to make it work in coherent fashion under Tru64 Unix.
7835
7836 2002-09-11  André Pönitz <poenitz@gmx.net>
7837
7838         * commandtags.h:
7839         * LyXAction.C:
7840         * text3.C: implement LFUN_WORDSEL
7841
7842 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7843
7844         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7845         make floatlist_ a boost::shared_ptr<FloatList>
7846
7847         * lyxtextclass.C: include FloatList.h
7848         (LyXTextClass): initialize floatlist_
7849         (TextClassTags): add TC_NOFLOAT
7850         (Read): match "nofloat" to TC_NOFLOAT and use it.
7851         (readFloat): modify call to floatlist_
7852         (floats): ditto
7853         (floats): ditto
7854
7855         * FloatList.[Ch] (FloatList): remove commented out float
7856         initialization.
7857         (erase): new function
7858
7859 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7860
7861         * MenuBackend.C (expandToc): fix crash when there is no document
7862         open
7863
7864 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7865
7866         * many files: Add insetwrap.
7867
7868 2002-09-09  John Levon  <levon@movementarian.org>
7869
7870         * text2.C: remove confusing and awkward depth wraparound
7871
7872 2002-09-09  John Levon  <levon@movementarian.org>
7873
7874         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7875
7876         * buffer.h:
7877         * buffer.C: remove getIncludeonlyList()
7878
7879         * paragraph.C:
7880         * lyxfunc.C: remove headers
7881
7882 2002-09-09  Juergen Vigna  <jug@sad.it>
7883
7884         * text.C (getColumnNearX): fix form Michael this is most
7885         probably a cut&paste bug.
7886
7887 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7890
7891         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7892         references, ws changes.
7893
7894         * text2.C (init): update counters after init
7895         (insertParagraph): no need to set counter on idividual paragraphs.
7896         (setCounter): access the counters object in the textclass object
7897         on in the buffer object.
7898         (updateCounters): ditto
7899
7900         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7901         shared_ptr<Counters> to avoid loading counters.h in all
7902         compilation units.
7903         (LyXTextClass): initialize ctrs_
7904         (TextClassTags): add TC_COUNTER, and ...
7905         (Read): use it here.
7906         (CounterTags): new tags
7907         (readCounter): new function
7908         (counters): new funtion
7909         (defaultLayoutName): return a const reference
7910
7911         * counters.C (Counters): remove contructor
7912         (newCounter): remove a couple of unneeded statements.
7913         (newCounter): simplify a bit.
7914         (numberLabel): some small formatting changes.
7915
7916         * buffer.[Ch]: remove all traces of counters, move the Counters
7917         object to the LyXTextClass.
7918
7919 2002-09-06  Alain Castera  <castera@in2p3.fr>
7920
7921         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7922         package to set the horizontal alignment on fixed width columns.
7923
7924         * lyx_sty.C:
7925         * lyx_sty.h: added tabularnewline macro def.
7926
7927         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7928
7929 2002-09-06  John Levon  <levon@movementarian.org>
7930
7931         * LyXAction.C: tooltips for sub/superscript
7932
7933         * MenuBackend.C: a bit more verbose
7934
7935         * lyxfunc.C: tiny clean
7936
7937         * undo_funcs.C: document undo_frozen
7938
7939 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7940
7941         * counters.C (Counters): add missing algorithm counter.
7942
7943         * text2.C (setCounter): lookup the counter with layouts latexname
7944         instead of by section number.
7945         (setCounter): use a hackish way to lookup the correct enum
7946         counter.
7947         a float name->type change
7948         reset enum couners with counter name directly instead of depth value.
7949
7950         * counters.C (Counters): remove the push_backs, change to use the
7951         float type not the float name.
7952         (labelItem): remove unused string, float name->type change
7953
7954         * counters.h: don't include vector, loose the enums and sects vectors
7955
7956 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7959         (Read): add float->TC_FLOAT to textclassTags
7960         (Read): and handle it in the switch
7961         (readFloat): new function
7962
7963         * FloatList.C (FloatList): comment out the hardcoded float
7964         definitions.
7965
7966         * lyxlayout.h: ws change.
7967
7968 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7969
7970         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7971
7972 2002-09-03  Angus Leeming  <leeming@lyx.org>
7973
7974         * BufferView_pimpl.h: qualified name is not allowed in member
7975         declaration: WorkArea & Pimpl::workarea() const;
7976
7977         * factory.C: added using std::endl directive.
7978
7979         * text3.C: added using std::find and std::vector directives.
7980
7981 2002-08-29  André Pönitz <poenitz@gmx.net>
7982
7983         * lyxtext.h:
7984         * text2.C: remove unused member number_of_rows
7985
7986         * Makefile.am:
7987         * BufferView2.C: remove file, move contents to...
7988         * BufferView.C: ... here
7989
7990         * BufferView_pimpl.C:
7991         * factory.C: move more inset creation to factory
7992
7993         * vspace.C: avoid direct usage of LyXText, ws changes
7994
7995         * BufferView.[Ch]:
7996                 don't provide direct access to WorkArea, use two simple
7997                 acessors haveSelction() and workHeight() instead
7998
7999
8000 2002-08-29  John Levon  <levon@movementarian.org>
8001
8002         * BufferView_pimpl.C (dispatch): do not continue when
8003           no buffer
8004
8005 2002-08-28  André Pönitz <poenitz@gmx.net>
8006
8007         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8008
8009         * BufferView.h:
8010         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8011
8012 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8013
8014         * buffer.C: increment LYX_FORMAT to 221
8015
8016         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8017         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8018
8019         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8020
8021         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8022
8023 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8024
8025         * factory.C (createInset): use LyXTextClass::floats
8026
8027         * MenuBackend.C (expandFloatListInsert):
8028         (expandFloatInsert):
8029         (expandToc):
8030
8031         * text2.C (setCounter):
8032
8033         * LaTeXFeatures.C (useFloat):
8034         (getFloatDefinitions):
8035
8036         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8037
8038         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8039         floatlist_, with accessor floats().
8040
8041         * FloatList.h: remove global FloatList
8042
8043 2002-08-26  André Pönitz <poenitz@gmx.net>
8044
8045         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8046
8047         * BufferView.h:
8048         * BufferView2.C:
8049         * BufferView_pimpl.C:
8050         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8051
8052 2002-08-25  John Levon  <levon@movementarian.org>
8053
8054         * LyXAction.C: fix margin note description
8055
8056 2002-08-24  John Levon  <levon@movementarian.org>
8057
8058         * buffer.C:
8059         * bufferlist.C:
8060         * bufferview_funcs.C:
8061         * lyxfont.C:
8062         * undo_funcs.C: cleanups
8063
8064         * lyxfunc.C: disable CUT/COPY when no selection
8065
8066 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8067
8068         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8069         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8070
8071         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8072         Add backward compatibility to "mono", "gray" and "no".
8073
8074 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8075
8076         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8077         (and file_format >= 200).
8078
8079 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8080
8081         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8082
8083 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8084
8085         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8086
8087 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8088
8089         * BufferView_pimpl.C:
8090         * LyXAction.C:
8091         * buffer.C:
8092         * commandtags.h:
8093         * lyxfunc.C:
8094         * paragraph.[Ch]:
8095         * text2.C:
8096         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8097         inset and code to make it  work with the paragraph code. The inset
8098         can be anywhere in the paragraph, but will only do the expected
8099         thing in LaTeX if the layout file contains the parameter line
8100                         OptionalArgs    1
8101         (or more generally, a nonzero value) for that layout.
8102
8103 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * paragraph.h: remove the declaration of undefined counters class
8106         function.
8107
8108 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8109
8110         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8111         Dr. Richard Hawkins.
8112
8113 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * paragraph_funcs.h: remove some unneeded includes
8116
8117         * text.C (backspace): pasteParagraph now in global scipe
8118
8119         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8120         (pasteSelection): ditto
8121
8122         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8123         * paragraph_funcs.C (pasteParagraph): ... here
8124
8125 2002-08-20  André Pönitz <poenitz@gmx.net>
8126
8127         * commandtags.h: new LFUNs for swapping/copying table row/colums
8128
8129         * LyXAction.C:
8130         * lyxfunc.C: support for new lfuns
8131
8132 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * tabular.C:
8135         * buffer.[Ch]: remove NO_COMPABILITY stuff
8136
8137 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * boost.C (throw_exception): new file, with helper function for
8140         boost compiled without exceptions.
8141
8142         * paragraph.h:
8143         * lyxlength.C:
8144         * buffer.C:
8145         * ParameterStruct.h:
8146         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8147
8148         * bufferlist.C (emergencyWriteAll): use boost bind
8149
8150         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8151
8152         * text.C: include paragraph_funcs.h
8153         (breakParagraph): breakParagraph is now in global scope
8154
8155         * paragraph_funcs.[Ch]: new files
8156
8157         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8158         global scope
8159
8160         * buffer.C: include paragraph_funcs.h
8161         (insertStringAsLines): breakParagraph is now in global scope
8162
8163         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8164         paragraph_funcs.C
8165
8166         * CutAndPaste.C: include paragraph_funcs.h
8167         (cutSelection): breakParagraphConservative is now in global scope
8168         (pasteSelection): ditto
8169
8170         * buffer.h: declare oprator== and operator!= for
8171         Buffer::inset_iterator
8172
8173         * bufferlist.C (emergencyWrite): don't use fmt(...)
8174
8175         * text3.C: add using std::endl
8176
8177         * BufferView.C (moveCursorUpdate): remove default arg
8178
8179 2002-08-20  André Pönitz <poenitz@gmx.net>
8180
8181         * buffer.[Ch]: move inline functions to .C
8182
8183         * BufferView2.C:
8184         * BufferView_pimpl.C:
8185         * text.C:
8186         * buffer.[Ch]: use improved inset_iterator
8187
8188         * buffer.C:
8189         * paragraph.[Ch]: write one paragraph at a time
8190
8191 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8192
8193         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8194         style if style is not specified.
8195
8196 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8197
8198         * text2.C (setCounter): when searching for right label for a
8199         caption, make sure to recurse to parent insets (so that a caption
8200         in a minipage in a figure float works) (bug #568)
8201
8202 2002-08-20  André Pönitz <poenitz@gmx.net>
8203
8204         * text3.C: new file for LyXText::dispatch() and helpers
8205
8206         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8207
8208         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8209
8210 2002-08-19  André Pönitz <poenitz@gmx.net>
8211
8212         * lyxtext.h:
8213         * text.C: new LyXText::dispatch()
8214
8215         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8216
8217 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8218
8219         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8220
8221         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8222         Hebrew text.
8223
8224 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8225
8226         * Makefile.am: use $(variables) instead of @substitutions@
8227
8228 2002-08-15  André Pönitz <poenitz@gmx.net>
8229
8230         * lyxfunc.C:
8231         * BufferView_pimpl.C: streamlining mathed <-> outer world
8232         interaction
8233
8234         * commandtags.h:
8235         * LyXAction.C: remove unused LFUN_MATH
8236
8237 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8238
8239         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8240
8241 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * paragraph.C (Paragraph): reformat a bit
8244         (cutIntoMinibuffer): use builtin InsetList function instad of
8245         doing it manually.
8246         (getInset): ditto
8247
8248         * buffer.C: include boost/bind.hpp, add using std::for_each
8249         (writeFileAscii): use ParagraphList iterators
8250         (validate): use for_each for validate traversal of paragraphs
8251         (getBibkeyList): use ParagraphList iterators
8252         (resizeInsets): use for_each to resizeInsetsLyXText for all
8253         paragraphs.
8254         (getParFromID): use ParagraphList iterators
8255
8256         * BufferView2.C (lockInset): use paragraph list and iterators
8257
8258 2002-08-14  John Levon  <levon@movementarian.org>
8259
8260         * lyxserver.C: remove spurious xforms include
8261
8262 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8265
8266 2002-08-13  André Pönitz <poenitz@gmx.net>
8267
8268         * LyXAction.[Ch]:
8269         * lyxfunc.C: further cleaning
8270
8271 2002-08-13  André Pönitz <poenitz@gmx.net>
8272
8273         * funcrequest.h: new constructor
8274
8275         * funcrequest.C: move stuff here from .h
8276
8277         * Makefile.am:
8278         * BufferView_pimpl.C:
8279         * LyXAction.C:
8280         * toc.C:
8281         * lyxfunc.C: subsequent changes
8282
8283         * lyxfunc.h: new view() member function
8284
8285         * lyxfunc.C: subsequent changes
8286
8287 2002-08-13  Angus Leeming  <leeming@lyx.org>
8288
8289         * BufferView2.C:
8290         * BufferView_pimpl.C:
8291         * buffer.C:
8292         * converter.C:
8293         * importer.C:
8294         * lyxfunc.C:
8295         * lyxvc.C:
8296         * toc.C:
8297         * vc-backend.C:
8298         changes due to the changed LyXView interface that now returns references
8299         to member variables not pointers.
8300
8301 2002-08-13  Angus Leeming  <leeming@lyx.org>
8302
8303         * WordLangTuple (word, lang_code): return references to strings,
8304         not strings.
8305
8306         * BufferView.h:
8307         * SpellBase.h:
8308         * lyxtext.h: forward-declare WordLangTuple.
8309
8310         * BufferView2.C:
8311         * ispell.C:
8312         * pspell.C:
8313         * text.C: #include "WordLangTuple.h".
8314
8315         * lyxtext.h:
8316         * text.C: (selectNextWordToSpellcheck): constify return type.
8317
8318 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8319
8320         * buffer.C:
8321         * buffer.h:
8322         * lyxtext.h:
8323         * paragraph.C:
8324         * paragraph_pimpl.h:
8325         * text.C:
8326         * text2.C:
8327         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8328         suggested by Angus.
8329         Made updateCounter always count from start of buffer, and removed
8330         second argument (par).
8331         Reverted floats number display to '#'. Perhaps I'll try again when the
8332         code base is sanitized a bit.
8333
8334 2002-08-12  Angus Leeming  <leeming@lyx.org>
8335
8336         * buffer.[Ch] (getLabelList): constify.
8337
8338 2002-08-07  André Pönitz <poenitz@gmx.net>
8339
8340         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8341
8342         * funcrequest.h: extension to keep mouse (x,y) position
8343
8344 2002-08-12  Juergen Vigna  <jug@sad.it>
8345
8346         * BufferView2.C (insertErrors): forbid undo when inserting error
8347         insets.
8348
8349         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8350
8351 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * ParagraphList.[Ch]: new files
8354
8355         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8356
8357         * BufferView2.C (lockInset): ParagraphList changes
8358         * toc.C: ditto
8359         * text2.C: ditto
8360         * bufferlist.C: ditto
8361         * buffer.h: ditto
8362         * buffer.C: ditto
8363
8364 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8367         unused class variable counter_,
8368
8369         * paragraph.[Ch] (getFirstCounter): delete unused function
8370
8371         * counters.C: include LAssert.h
8372         (reset): add a new function with no arg, change other version to
8373         not have def. arg and to not allow empty arg.
8374
8375         * text2.C (setCounter): remove empty arg from call to Counters::reset
8376
8377 2002-08-11  John Levon  <levon@movementarian.org>
8378
8379         * Makefile.am: add WordLangTuple.h
8380
8381 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8382
8383         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8384         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8385
8386         * insets/insettext.C: InsetList changes
8387
8388         * graphics/GraphicsSupport.C (operator()): InsetList changes
8389
8390         * toc.C (getTocList): InsetList changes
8391
8392         * paragraph_pimpl.[Ch]: InsetList changes
8393
8394         * paragraph.[Ch]: InsetList changes
8395
8396         * buffer.C (inset_iterator): InsetList changes
8397         (setParagraph): ditto
8398         * buffer.h (inset_iterator): ditto
8399         * iterators.C (operator++): ditto
8400         * iterators.h: ditto
8401
8402         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8403
8404         * InsetList.[Ch]: new files, most InsetList handling moved out of
8405         paragraph.C.
8406
8407         * BufferView2.C (removeAutoInsets): InsetList changes
8408         (lockInset): ditto
8409         (ChangeInsets): ditto
8410
8411 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8412
8413         * paragraph_pimpl.h (empty): new function
8414
8415         * paragraph.[Ch] (empty): new function
8416
8417         * other files: use the new Paragraph::empty function
8418
8419 2002-08-09  John Levon  <levon@movementarian.org>
8420
8421         * lyxtext.h: remove unused refresh_height
8422
8423 2002-08-09  John Levon  <levon@movementarian.org>
8424
8425         * Makefile.am:
8426         * sgml.h:
8427         * sgml.C:
8428         * buffer.C:
8429         * paragraph.h:
8430         * paragraph.C: move sgml char escaping out of paragraph
8431
8432         * paragraph.h:
8433         * paragraph.C: remove id setter
8434
8435         * buffer.C:
8436         * paragraph.C:
8437         * paragraph_pimpl.C: remove dead tex_code_break_column
8438
8439         * bufferview_funcs.C: small cleanup
8440
8441         * lyxfunc.C: remove dead proto
8442
8443         * lyxtext.h: make some stuff private. Remove some dead stuff.
8444
8445         * lyxgluelength.C: make as[LyX]String() readable
8446
8447 2002-08-08  John Levon  <levon@movementarian.org>
8448
8449         * LyXAction.h:
8450         * LyXAction.C:
8451         * MenuBackend.C:
8452         * ToolbarDefaults.C:
8453         * lyxfunc.C:
8454         * lyxrc.C:
8455         * toc.C: lyxaction cleanup
8456
8457 2002-08-08  John Levon  <levon@movementarian.org>
8458
8459         * BufferView2.C: small cleanup
8460
8461         * lyxfind.h:
8462         * lyxfind.C: move unnecessary header into the .C
8463
8464 2002-08-08  John Levon  <levon@movementarian.org>
8465
8466         * funcrequest.h: just tedious nonsense
8467
8468         * lyx_main.h:
8469         * lyx_main.C: cleanups
8470
8471         * buffer.C:
8472         * vspace.C: remove dead header lyx_main.h
8473
8474 2002-08-07  Angus Leeming  <leeming@lyx.org>
8475
8476         * Paragraph.[Ch]:
8477         * paragraph_pimpl.h:
8478         Forward declare class Counters in paragraph.h by moving the ctrs member
8479         variable into Paragraph::Pimpl.
8480         (counters): new method, returning a reference to pimpl_->ctrs.
8481
8482         * text2.C: ensuing changes.
8483
8484 2002-08-07  John Levon  <levon@movementarian.org>
8485
8486         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8487
8488         * BufferView_pimpl.C: announce X selection on double/triple
8489           click
8490
8491         * lyx_main.C: use correct bool in batch dispatch
8492
8493         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8494
8495 2002-08-07  André Pönitz <poenitz@gmx.net>
8496
8497         * funcrequest.h: new class to wrap a kb_action and its argument
8498
8499         * BufferView.[Ch]:
8500         * BufferView_pimpl[Ch]:
8501         * LaTeX.C:
8502         * LyXAction.[Ch]:
8503         * lyxfunc.[Ch]:
8504         * lyxrc.C: subsequent changes
8505
8506
8507 2002-08-07  John Levon  <levon@movementarian.org>
8508
8509         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8510           document options change.
8511
8512 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8513
8514         * counters.[Ch]
8515         * text2.C
8516         * paragraph.[Ch]
8517         * makefile.am: move counters functionality over from
8518         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8519
8520 2002-08-06  John Levon  <levon@movementarian.org>
8521
8522         * WordLangTuple.h: new file for word + language code tuple
8523
8524         * SpellBase.h:
8525         * pspell.h:
8526         * pspell.C:
8527         * ispell.h:
8528         * ispell.C:
8529         * lyxtext.h:
8530         * text.C:
8531         * text2.C:
8532         * BufferView.h:
8533         * BufferView2.C: use WordLangTuple
8534
8535         * layout.h:
8536         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8537
8538 2002-08-06  John Levon  <levon@movementarian.org>
8539
8540         * lyx_main.C: fix cmdline batch handling
8541
8542 2002-08-06  André Pönitz <poenitz@gmx.net>
8543
8544         * lyxrc.C: set default for show_banner to true
8545
8546 2002-08-06  John Levon  <levon@movementarian.org>
8547
8548         * pspell.C: fix a crash, and allow new aspell to work
8549
8550 2002-08-06  John Levon  <levon@movementarian.org>
8551
8552         * lyxfunc.C:
8553         * kbmap.C: small cleanup
8554
8555         * vspace.h:
8556         * vspace.C: add const
8557
8558 2002-08-05  John Levon  <levon@movementarian.org>
8559
8560         * LyXAction.C: back to tabular-insert
8561
8562 2002-08-04  John Levon  <levon@movementarian.org>
8563
8564         * BufferView.h:
8565         * BufferView.C: cosmetic change
8566
8567         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8568
8569         * bufferlist.C:
8570         * buffer.h:
8571         * buffer.C:
8572         * lyxcb.h:
8573         * lyxcb.C:
8574         * lyxserver.C:
8575         * lyxvc.C:
8576         * vc-backend.C:
8577         * BufferView2.C: purge all "Lyx" not "LyX" strings
8578
8579         * lyxcursor.h:
8580         * lyxcursor.C: attempt to add some documentation
8581
8582         * lyxfunc.C:
8583         * commandtags.h:
8584         * LyXAction.C:
8585         * ToolbarDefaults.C:
8586         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8587           merge with LFUN_TABULAR_INSERT
8588
8589         * Makefile.am:
8590         * SpellBase.h:
8591         * ispell.h:
8592         * ispell.C:
8593         * pspell.h:
8594         * pspell.C: split up i/pspell implementations into separate
8595           files, many cleanups
8596
8597         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8598
8599         * text2.C: some cleanup
8600
8601         * lyxfunc.C: don't check for isp_command == "none" any more, it
8602           didn't make any sense
8603
8604 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8605
8606         * counters.[Ch]
8607         * text2.C
8608         * paragraph.[Ch]
8609         * makefile.am: move counters functionality over
8610         from text2.C/paragraph.[Ch] to counters.[Ch], and
8611         make proper C++.
8612 2002-08-02  John Levon  <levon@movementarian.org>
8613
8614         * buffer.C: s/lyxconvert/lyx2lyx/
8615
8616 2002-08-02  Angus Leeming  <leeming@lyx.org>
8617
8618         * lyxlex.C: revert John's change as it breaks reading of the user
8619         preamble.
8620
8621 2002-08-02  Angus Leeming  <leeming@lyx.org>
8622
8623         * importer.C (Import):
8624         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8625         changes due to LyXView::view() now returning a boost::shared_ptr.
8626
8627 2002-08-02  John Levon  <levon@movementarian.org>
8628
8629         * lyxlex.C: small cleanup
8630
8631 2002-08-02  John Levon  <levon@movementarian.org>
8632
8633         * text2.C (status): small cleanup, no logic change
8634
8635 2002-08-01  John Levon  <levon@movementarian.org>
8636
8637         * buffer.h:
8638         * buffer.C (writeFile): don't output alerts, caller
8639           handles this
8640
8641         * bufferlist.C:
8642         * lyx_cb.C: from above
8643
8644         * lyxfunc.C: allow to open non-existent files
8645
8646 2002-07-31  John Levon  <levon@movementarian.org>
8647
8648         * lyxserver.C: don't let incidental errors get
8649           in the way (errno)
8650
8651 2002-07-30  John Levon  <levon@movementarian.org>
8652
8653         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8654
8655 2002-07-30  John Levon  <levon@movementarian.org>
8656
8657         * lyxserver.h:
8658         * lyxserver.C: remove I/O callback too
8659
8660 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8661
8662         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8663         log.
8664
8665 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8666
8667         * many files: strip,frontStrip -> trim,ltrim,rtrim
8668
8669 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * PrinterParams.h: remove extern containsOnly, and include
8672         support/lstrings.h instead.
8673
8674         * LaTeX.C (scanAuxFile): modify because of strip changes
8675         (deplog): ditto
8676         * buffer.C (makeLaTeXFile): ditto
8677         * bufferparams.C (writeFile): ditt
8678         * lyxfont.C (stateText): ditto
8679         * lyxserver.C (read_ready): ditto
8680         * vc-backend.C (scanMaster): ditto
8681
8682         * BufferView_pimpl.h: ws changes
8683
8684         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8685
8686 2002-07-26  André Pönitz <poenitz@gmx.net>
8687
8688         * kb_sequence.C: remove unnedred usings
8689
8690 2002-07-26  Juergen Vigna  <jug@sad.it>
8691
8692         * lyxfind.C (LyXReplace): we have to check better if the returned
8693         text is not of theLockingInset()->getLockingInset().
8694
8695 2002-07-25  Juergen Vigna  <jug@sad.it>
8696
8697         * lyxfind.C (LyXReplace): don't replace if we don't get the
8698         right LyXText.
8699
8700         * undo_funcs.C (createUndo): remove debugging code.
8701
8702 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8703
8704         * buffer.C (parseSingleLyXformat2Token): Use default placement
8705         when reading old floats.
8706
8707         * FloatList.C (FloatList): Change the default placement of figure
8708         and tables to "tbp".
8709
8710 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8711
8712         * MenuBackend.C: using std::max
8713
8714 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8715
8716         * MenuBackend.C (expandToc):
8717         (expandToc2): code moved from xforms menu frontend. It is now
8718         generic and TOCs are transparent to menu frontends.
8719
8720 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8721
8722         * toc.C (getTocList): protect against buf=0
8723
8724         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8725         Menu as first parameter. Now, this calls itself recursively to
8726         expand a whole tree (this will be useful for TOC handling)
8727         (expandFloatInsert): remove 'wide' version of floats
8728
8729         * MenuBackend.h (submenuname): returns the name of the submenu.
8730         (submenu): returns the submenu itself, provided it has been
8731         created by MenuBackend::expand
8732
8733 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8736         insets which have noFontChange == true. (bug #172)
8737
8738 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8739
8740         * BufferView_pimpl.C: add connection objects and use them...
8741         (Pimpl): here.
8742
8743 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * MenuBackend.C (expandLastfiles):
8746         (expandDocuments):
8747         (expandFormats):
8748         (expandFloatListInsert):
8749         (expandFloatInsert):
8750         (expand): split expand in parts
8751
8752 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8753
8754         * lyx_gui.C: use lyx_gui::exit()
8755
8756 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8757
8758         * LyXAction.C: show the failing pseudo action
8759
8760 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8761
8762         * buffer.C (readFile): Run the lyxconvert script in order to read
8763         old files.
8764
8765 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * LyXAction.C:
8768         * commandtags.h:
8769         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8770
8771 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8772
8773         * LyXAction.C:
8774         * commandtags.h:
8775         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8776
8777 2002-07-22  Herbert Voss  <voss@lyx.org>
8778
8779         * lengthcommon.C:
8780         * lyxlength.[Ch]: add support for the vertical lengths
8781
8782 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8783
8784         * toc.[Ch]: std:: fixes
8785
8786 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8787
8788         * lyxrc.C: do not include lyx_main.h
8789
8790         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8791         for layouts
8792
8793         * lyxrc.C:
8794         * encoding.C:
8795         * bufferlist.C:
8796         * BufferView2.C: include "lyxlex.h"
8797
8798         * tabular.h:
8799         * bufferparams.h: do not #include "lyxlex.h"
8800
8801         * lyxtextclasslist.C (Add): remove method
8802         (classlist): renamed to classlist_
8803
8804         * paragraph_pimpl.C:
8805         * paragraph.C:
8806         * text2.C:
8807         * CutAndPaste.C:
8808         * bufferview_funcs.C:
8809         * bufferlist.C:
8810         * text.C:
8811         * LaTeXFeatures.C:
8812         * buffer.C:
8813         * toc.C (getTocList): use BufferParams::getLyXTextClass
8814
8815         * toc.C (getTocList): use InsetFloat::addToToc
8816
8817         * toc.[Ch]: new files, containing helper functions to handle table
8818         of contents
8819
8820         * lyxfunc.C (dispatch): no need to remove spaces around command
8821         given as a string
8822         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8823         first command of the sequence; it is not very clever, but I do not
8824         have a better idea, actually
8825
8826         * LyXAction.C (LookupFunc): make sure to remove space at the
8827         beginning and end of the command
8828
8829 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8830
8831         * MenuBackend.C (getMenubar): new method: return the menubar of
8832         this menu set
8833         (read): treat differently reading of menu and menubar (in
8834         particular, the menubar has no name now)
8835         (Menu::menubar): remove
8836
8837         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8838         saving is finished
8839
8840 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8841
8842         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8843         a bibitem inset in a RTL paragraph.
8844
8845 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8846
8847         * paragraph_pimpl.C: constify
8848
8849         * BufferView_pimpl.C:
8850         * LaTeX.C:
8851         * lyxfunc.C: fix dispatch in a nicer way
8852
8853 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8854
8855         * lyxfunc.C (dispatch):
8856         * BufferView_pimpl.C:
8857         * BufferView_pimpl.h:
8858         * BufferView.C:
8859         * BufferView.h: rename Dispatch() to dispatch()
8860
8861         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8862
8863         * lyxlayout.C (Read): honor DependsOn tag
8864
8865         * lyxlayout.[Ch] (depends_on): new method
8866
8867         * version.C.in: update lyx_docversion
8868
8869         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8870
8871         * paragraph.C (validate): remove from here...
8872         * paragraph_pimpl.C (validate): ... and move here
8873         (isTextAt): make it const
8874
8875         * buffer.C (getLists): ws cleanup
8876
8877 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8878
8879         * language.C (read): Use iso8859-1 encoding in latex_lang
8880         (this prevents LyX from crashing when using iso10646-1 encoding).
8881
8882 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * text2.C (toggleInset): if cursor is inside an inset, close the
8885         inset and leave cursor _after_ it
8886
8887 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8888
8889         * lyxfunc.C: move minibuffer completion handling out of here
8890
8891 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8892
8893         * BufferView_pimpl.C:
8894         * LaTeX.C: fix dispatch calls
8895
8896 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8897
8898         * text.C (drawChars): Fix Arabic text rendering.
8899
8900 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8901
8902         * LyXAction.C:
8903         * commandtags.h:
8904         * lyxfunc.C: remove message-push/pop
8905
8906         * lyxserver.C:
8907         * lyxfunc.h:
8908         * lyxfunc.C: rationalise some code by removing verboseDispatch
8909           in favour of a bool argument to dispatch()
8910
8911 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8912
8913         * lyx_main.C (init): make sure to read symlinks as absolute paths
8914
8915 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8916
8917         * lyxfunc.h:
8918         * lyxfunc.C: no need for commandshortcut to be a member
8919
8920 2002-07-15  André Pönitz <poenitz@gmx.net>
8921
8922         * converter.C: add support for $$s (scripts from lib/scripts dir)
8923         * lyx_main.C: white space
8924
8925 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8926
8927         * bufferlist.C:
8928         * lyxrc.h:
8929         * lyxrc.C: remove second exit confirmation
8930
8931 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8932
8933         * BufferView.h:
8934         * BufferView.C:
8935         * BufferView2.C:
8936         * BufferView_pimpl.h:
8937         * BufferView_pimpl.C:
8938         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8939
8940 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8941
8942         * MenuBackend.C (expand): add numeric shortcuts to document menu
8943
8944         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8945
8946 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8947
8948         * lyxfont.C (setLyXFamily):
8949         (setLyXSeries):
8950         (setLyXShape):
8951         (setLyXSize):
8952         (setLyXMisc):
8953         (lyxRead):
8954         * debug.C (value):
8955         * buffer.C (asciiParagraph): use ascii_lowercase
8956
8957 2002-07-15  Mike Fabian  <mfabian@suse.de>
8958
8959         * lyxlex_pimpl.C (search_kw):
8960         * lyxlex.C (getLongString):
8961         * converter.h (operator<):
8962         * converter.C (operator<):
8963         * buffer.C (parseSingleLyXformat2Token):
8964         (asciiParagraph):
8965         * ToolbarDefaults.C (read):
8966         * MenuBackend.C (checkShortcuts):
8967         (read):
8968         * LColor.C (getFromGUIName):
8969         (getFromLyXName): use the compare_ascii_no_case instead of
8970         compare_no_case, because in turkish, 'i' is not the lowercase
8971         version of 'I', and thus turkish locale breaks parsing of tags.
8972
8973 2002-07-16  Angus Leeming  <leeming@lyx.org>
8974
8975         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8976         now takes a Buffer const & argument.
8977
8978 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8979
8980         * BufferView.C (resize): check there's a buffer to resize
8981
8982 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * lyxfunc.C: remove dead code
8985
8986         * lyxserver.h:
8987         * lyxserver.C: use lyx_guii::set_read_callback
8988
8989 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8990
8991         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8992         an inset in a RTL paragraph.
8993
8994 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8995
8996         * lyxfunc.C: repaint after a font size update
8997
8998 2002-07-15  André Pönitz <poenitz@gmx.net>
8999
9000         * lyxlength.C: inBP should be able to return negative values
9001
9002 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9003
9004         * lyxfunc.C: use lyx_gui::update_fonts()
9005
9006 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * lyxfunc.C: use lyx_gui::update_color()
9009
9010 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * bufferlist.C:
9013         * lyxfunc.h:
9014         * lyxfunc.C:
9015         * lyxrc.h:
9016         * lyxrc.C: remove file->new asks for name option, and let
9017           buffer-new take an argument
9018
9019 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9020
9021         * BufferView_pimpl.C: remove unneeded extra repaint()
9022
9023 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9024
9025         * LyXAction.C: allow command-sequence with NoBuffer
9026
9027         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9028
9029 2002-07-10  Angus Leeming  <leeming@lyx.org>
9030
9031         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9032
9033 2002-07-09  Angus Leeming  <leeming@lyx.org>
9034
9035         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9036
9037 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * lengthcommon.h: whitespace
9040
9041         * lyxfunc.C: update scrollbar after goto paragraph
9042
9043         * lyxtext.h: factor out page break drawing, and fix it so
9044           page break/added space paints as selected nicely
9045
9046 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9047
9048         * BufferView_pimpl.C: add FIXMEs, clean up a little
9049
9050 2002-07-09  André Pönitz <poenitz@gmx.net>
9051
9052         * lyxfont.[Ch]: support for wasy symbols
9053
9054 2002-07-08  André Pönitz <poenitz@gmx.net>
9055
9056         * BufferView_pimpl.C: apply John's patch for #93.
9057
9058 2002-07-05  Angus Leeming  <leeming@lyx.org>
9059
9060         * BufferView_pimpl.C (buffer): generate previews if desired.
9061
9062         * LColor.h: add "preview" to the color enum.
9063
9064         * LColor.C (LColor): add a corresponding entry to the items array.
9065
9066         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9067         with this buffer.
9068
9069 2002-07-05  Angus Leeming  <leeming@lyx.org>
9070
9071         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9072         The body of the code is now in the method that is passed an ostream &
9073         rather than a file name.
9074         Pass an additional only_preamble parameter, useful for the forthcoming
9075         preview stuff.
9076
9077 2002-07-03  André Pönitz <poenitz@gmx.net>
9078
9079         * lyxfunc.C: simplify getStatus() a bit for math stuff
9080
9081 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9082
9083         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9084
9085 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * text.C (changeRegionCase): do not change case of all the
9088         document when region ends at paragraph end (bug #461)
9089
9090 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9091
9092         * paragraph.C (startTeXParParams):
9093         (endTeXParParams): add \protect when necessary
9094
9095 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9096
9097         * BufferView_pimpl.C (workAreaExpose): remove warning
9098
9099 2002-06-27  Angus Leeming  <leeming@lyx.org>
9100
9101         * Makefile.am: add lyxlayout_ptr_fwd.h.
9102
9103 2002-06-26  André Pönitz <poenitz@gmx.net>
9104
9105         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9106
9107 2002-06-25  Angus Leeming  <leeming@lyx.org>
9108
9109         * lyxfunc.C (dispatch): Comment out the call to
9110         grfx::GCache::changeDisplay. The method no longer exists now that the
9111         pixmap generation part of the graphics loader has been moved into
9112         InsetGraphics.
9113
9114 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9115
9116         * text2.C: layout as layout
9117
9118         * text.C: layout as layout
9119
9120         * tabular.C (OldFormatRead): layout as layout
9121
9122         * paragraph_pimpl.C (TeXDeeper): layout as layout
9123         (realizeFont): layout as layout
9124
9125         * paragraph.C (writeFile): layout as layout
9126         (validate): layout as layout
9127         (getFont): layout as layout
9128         (getLabelFont): layout as layout
9129         (getLayoutFont): layout as layout
9130         (breakParagraph): layout as layout
9131         (stripLeadingSpaces): layout as layout
9132         (getEndLabel): layout as layout
9133         (getMaxDepthAfter): layout as layout
9134         (applyLayout): layout as layout
9135         (TeXOnePar): layout as layout
9136         (simpleTeXOnePar): layout as layout
9137         (TeXEnvironment): layout as layout
9138         (layout): layout as layout
9139         (layout): layout as layout
9140
9141         * lyxtextclass.C (compare_name): new functor to work with
9142         shared_ptr, layout as layout
9143         (Read): layout as layout
9144         (hasLayout): layout as layout
9145         (operator): layout as layout
9146         (delete_layout): layout as layout
9147         (defaultLayout): layout as layout
9148
9149         * lyxlayout_ptr_fwd.h: new file
9150
9151         * lyxlayout.C (Read): layout as layout
9152
9153         * lyx_cb.C (MenuInsertLabel): layout as layout
9154
9155         * bufferlist.C (newFile): layout as layout
9156
9157         * buffer.C (readLyXformat2): layout as layout
9158         (parseSingleLyXformat2Token): layout as layout
9159         (insertStringAsLines): layout as layout
9160         (asciiParagraph): layout as layout
9161         (latexParagraphs): layout as layout
9162         (makeLinuxDocFile): layout as layout
9163         (simpleLinuxDocOnePar): layout as layout
9164         (makeDocBookFile): layout as layout
9165         (simpleDocBookOnePar): layout as layout
9166         (getLists): layout as layout
9167
9168         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9169
9170         * CutAndPaste.C (cutSelection): layout as layout
9171         (pasteSelection): layout as layout
9172         (SwitchLayoutsBetweenClasses): layout as layout
9173
9174         * BufferView_pimpl.C (Dispatch): layout as layout
9175         (smartQuote): layout as layout
9176
9177         * BufferView2.C (unlockInset): layout as layout
9178
9179 2002-06-24  André Pönitz <poenitz@gmx.net>
9180
9181         * lyxfunc.C: fix #487
9182
9183 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * lyxrc.h:
9186         * lyxrc.C:
9187         * lyxfunc.C: remove display_shortcuts, show_banner
9188
9189 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * Buffer_pimpl.C: oops, update on resize
9192
9193 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9194
9195         * buffer.C:
9196         * converter.C:
9197         * exporter.C:
9198         * lyxfunc.C:
9199         * BufferView.h:
9200         * BufferView.C: use repaint()
9201
9202         * BufferView_pimpl.h:
9203         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9204           as it's a clearer description. Remove superfluous
9205           redraws.
9206
9207 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9208
9209         * text.C: fix bug 488. Not ideal, but getting
9210           getWord() to work properly for the insets that
9211           matter is more difficult ...
9212
9213 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * BufferView_pimpl.C:
9216         * LyXAction.C:
9217         * commandtags.h:
9218         * lyxfunc.C: remove the six million index lyxfuncs to just
9219           one, and DTRT (bug 458)
9220
9221 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9222
9223         * BufferView.h:
9224         * BufferView.C:
9225         * BufferView_pimpl.h:
9226         * BufferView_pimpl.C: clean up resize() stuff,
9227           and unnecessary updateScreen()s
9228
9229 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * BufferView.h:
9232         * BufferView.C:
9233         * BufferView_pimpl.h:
9234         * BufferView_pimpl.C:
9235         * lyxfind.h:
9236         * lyxfind.C:
9237         * minibuffer.C: remove focus management of workarea,
9238           not needed. Use screen's greyOut()
9239
9240 2002-06-17  Herbert Voss  <voss@lyx.org>
9241
9242         * converter.C: (convert) do not post a message, when converting
9243         fails, let the calling function decide what to do in this case
9244
9245 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9246
9247         * lyxfunc.C: tidy up a little
9248
9249 2002-06-16    <alstrup@diku.dk>
9250
9251         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9252         Got rid of FORMS_H_LOCATION include. Now we are
9253         GUII.
9254
9255 2002-06-15  LyX Development team  <lyx@rilke>
9256
9257         * buffer.[Ch] (sgmlOpenTag):
9258         (sgmlCloseTag): Added support for avoiding pernicious mixed
9259         content. Return number of lines written.
9260
9261         (makeLinuxDocFile):
9262         (makeDocBookFile): Fixed calls to sgml*Tag.
9263         Simple white space clean.
9264
9265         (simpleDocBookOnePar): Simple white space clean.
9266
9267         * tabular.[Ch] (docBook): Renamed to docbook and got another
9268         argument to related with the pernicious mixed content.
9269
9270         (docbookRow): Fixed calls for docbook inset method.
9271
9272 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9273
9274         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9275         so it's X11 independent.
9276
9277         * kb*.[Ch]: ditto.
9278
9279         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9280
9281 2002-06-15  Lyx Development team  <lyx@electronia>
9282
9283         * intl.h: Renamed getTrans to getTransManager.
9284
9285 2002-06-14  Angus Leeming  <leeming@lyx.org>
9286
9287         * Makefile.am: nuke forgotten stl_string_fwd.h.
9288
9289 2002-06-12  Angus Leeming  <leeming@lyx.org>
9290
9291         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9292
9293 2002-06-13  Angus Leeming  <leeming@lyx.org>
9294
9295         * LaTeX.C:
9296         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9297
9298 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9299
9300         * kbmap.C (getiso): add support for cyrillic and greek
9301
9302 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9303
9304         * BufferView.h:
9305         * BufferView.C:
9306         * BufferView_pimpl.h:
9307         * BufferView_pimpl.C: move bogus scrolling logic
9308           to xforms
9309
9310 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * lyxfunc.C:
9313         * BufferView_pimpl.C: view->resize() change
9314
9315 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9316
9317         * BufferView_pimpl.C: topCursorVisible
9318           prototype change
9319
9320 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9321
9322         * Makefile.am:
9323         * lyx_gui.h:
9324         * lyx_gui.C: move to frontends/
9325
9326         * main.C:
9327         * lyx_main.h:
9328         * lyx_main.C: changes from above
9329
9330 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * intl.C:
9333         * intl.h:
9334         * kbmap.C:
9335         * kbsequence.C:
9336         * lyx_cb.C:
9337         * lyx_main.C: minor tidy
9338
9339 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * BufferView_pimpl.h:
9342         * BufferView_pimpl.C:
9343         * BufferView.h:
9344         * BufferView.C: make painter() const,
9345           remove dead code
9346
9347         * BufferView2.C: use screen() accessor
9348
9349         * lyx_main.h:
9350         * lyx_main.C: some minor cleanup
9351
9352 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9353
9354         * BufferView_pimpl.h:
9355         * BufferView_pimpl.C: remove enter/leaveView,
9356           use workHeight()
9357
9358 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9359
9360         * BufferView.h:
9361         * BufferView.C:
9362         * BufferView2.C:
9363         * BufferView_pimpl.h:
9364         * BufferView_pimpl.C: only construct screen once,
9365           rename
9366
9367         * lyxrc.C: remove pointless comment
9368
9369 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9370
9371         * BufferView.h:
9372         * BufferView.C: remove active() and belowMouse()
9373
9374         * BufferView_pimpl.h:
9375         * BufferView_pimpl.C: use workarea() not workarea_,
9376           and make it use a scoped_ptr instead
9377
9378 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * lyx_gui.C: add debug message on BadWindow
9381
9382 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9383
9384         * sp_spell.C: fdopen is not part of the C++ standard.
9385
9386         * paragraph.C (InsetIterator): use >= instead of ==
9387
9388 2002-06-07  Angus Leeming  <leeming@lyx.org>
9389
9390         Fixes needed to compile with Compaq cxx 6.5.
9391         * BufferView_pimpl.C:
9392         * DepTable.C:
9393         * buffer.C:
9394         * converter.C:
9395         * encoding.C:
9396         * lyx_gui.C:
9397         * lyx_main.C:
9398         * lyxtextclasslist.C:
9399         * minibuffer.C:
9400         * sp_spell.C:
9401         * tabular_funcs.C:
9402         * vc-backend.C:
9403         all c-library variables have been moved into namespace std. Wrap
9404         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9405
9406         * lyxlength.C:
9407         * tabular-old.C:
9408         * tabular.C:
9409         Add a using std::abs declaration.
9410
9411         * kbmap.h (modifier_pair):
9412         * paragraph.h (InsetTable, InsetList):
9413         * lyxfont.h (FontBits):
9414         type definition made public.
9415
9416         * bufferlist.C (emergencyWriteAll): the compiler complains that
9417         there is more than one possible lyx::class_fun template to choose from.
9418         I re-named the void specialisation as lyx::void_class_fun.
9419
9420         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9421
9422         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9423         the compiler is is unable to find tostr in write_attribute.
9424
9425 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9426
9427         * buffer.C (sgmlError): hide #warning
9428
9429 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9430
9431         * xtl/*: get rid of xtl, which is not in use anyway
9432
9433         * LyXAction.C (init):
9434         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9435         were unimplemented xtl experimentation
9436
9437 2002-06-04  André Pönitz <poenitz@gmx.net>
9438
9439         * lyxfunc.C: disable array operation on simple formulae
9440
9441 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9442
9443         * converter.C: constify a bit
9444
9445 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * lyx_gui.C: check xforms version correctly
9448
9449 2002-04-30  Herbert Voss  <voss@lyx.org>
9450
9451         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9452         "keep" option
9453
9454 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9457           attempt to register it with a VCS)
9458
9459 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9460
9461         * lyx_main.C (init): honor variables LYX_DIR_13x and
9462         LYX_USERDIR_13x
9463
9464 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9465
9466         * buffer.h:
9467         * buffer.C:
9468         * lyx_main.C: fix a crash on bad command line,
9469           and give a useful exit status on error
9470
9471         * lyxfunc.C (doImport): allow -i lyx to work
9472
9473 2002-03-30  André Pönitz <poenitz@gmx.net>
9474
9475         * lyxfunc.C: mathed font changes
9476
9477 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * LaTeX.C:
9480         * importer.h:
9481         * importer.C:
9482         * lyx_sty.h:
9483         * lyx_sty.C:
9484         * lyxlex.C:
9485         * lyxrow.h:
9486         * lyxtext.h:
9487         * paragraph.h:
9488         * paragraph.C:
9489         * texrow.h:
9490         * texrow.C:
9491         * text.C:
9492         * trans_mgr.h: srcdocs, and some minor cleanups
9493
9494 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9495
9496         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9497         call getFont all the time)
9498
9499 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9500
9501         * switch from SigC signals to boost::signals
9502
9503 2002-05-29  André Pönitz <poenitz@gmx.net>
9504
9505         * paragraph_pimpl.C (getChar): don't call size() too often...
9506
9507 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9508
9509         * paragraph_pimpl.C (insertChar): do not try to update tables when
9510         appending (pos == size())
9511
9512         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9513         in order to reduce drastically the number of comparisons needed to
9514         parse a large document
9515
9516 2002-05-29  André Pönitz <poenitz@gmx.net>
9517
9518         * text.C:
9519         * text2.C:
9520         * lyxtextclass.C:
9521         * sp_pspell.h:
9522         * textclasslist.[Ch]:
9523         * sp_ispell.h: whitespace change
9524
9525 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9526
9527         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9528         lyxaction directly now.
9529
9530 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9531
9532         * trans.C:
9533         * lyxfont.C:
9534         * lyxvc.C: remove unused headers
9535
9536 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * Makefile.am:
9539         * buffer.h:
9540         * undostack.h:
9541         * undostack.C:
9542         * undo_funcs.h:
9543         * undo_funcs.C: some cleanups. Use shared_ptr
9544           and a template for the undo stacks.
9545
9546 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9547
9548         * BufferView_pimpl.h:
9549         * BufferView_pimpl.C:
9550         * kbmap.h:
9551         * kbmap.C:
9552         * kbsequence.h:
9553         * kbsequence.C:
9554         * lyxfunc.h:
9555         * lyxfunc.C:
9556         * text2.C: use key_state/mouse_state
9557
9558 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9559
9560         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9561         and LSubstring
9562
9563         * chset.C: change include order
9564         (loadFile): use boost regex and get rid of LRegex and LSubstring
9565
9566         * Makefile.am (BOOST_LIBS): new variable
9567         (lyx_LDADD): use it
9568
9569         * LaTeX.C: change include order.
9570         (scanAuxFile): use boost regex and get rid of LRegex and
9571         LSubstring
9572         (deplog): ditto
9573
9574 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * ColorHandler.h:
9577         * ColorHandler.C:
9578         * FontInfo.h:
9579         * FontInfo.C: moved to frontends/xforms/
9580
9581         * FontLoader.h:
9582         * FontLoader.C: moved into frontends for GUIIzation
9583
9584         * Makefile.am:
9585         * lyx_gui.C:
9586         * lyxfont.C:
9587         * lyxfunc.C: changes from above
9588
9589 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9590
9591         * LColor.C: remove spurious X include
9592
9593         * BufferView_pimpl.C:
9594         * Makefile.am:
9595         * font.h:
9596         * font.C:
9597         * text.C:
9598         * text2.C: move font metrics to frontends/
9599
9600 2002-05-24  Juergen Vigna  <jug@sad.it>
9601
9602         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9603         setting the undo_cursor.
9604
9605         * ParagraphParameters.h: include local includes first.
9606
9607 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * BufferView_pimpl.C:
9610         * BufferView_pimpl.h:
9611         * Makefile.am:
9612         * WorkArea.h:
9613         * WorkArea.C:
9614         * screen.C: move WorkArea into frontends/
9615
9616         * lyxscreen.h:
9617         * screen.C:
9618         * text.C:
9619         * BufferView.C:
9620         * BufferView2.C: move LyXScreen into frontends/
9621
9622         * lyxlookup.h:
9623         * lyxlookup.C:
9624         * lyx_gui.C: move lyxlookup into frontends/xforms/
9625
9626 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9627
9628         * BufferView2.C:
9629         * BufferView_pimpl.C:
9630         * FontLoader.C:
9631         * LyXView.h:
9632         * LyXView.C:
9633         * Makefile.am:
9634         * WorkArea.C:
9635         * XFormsView.h:
9636         * XFormsView.C:
9637         * buffer.C:
9638         * bufferlist.C:
9639         * bufferview_funcs.C:
9640         * converter.C:
9641         * importer.C:
9642         * lyx_cb.C:
9643         * lyx_gui.C:
9644         * lyx_main.C:
9645         * lyx_find.C:
9646         * lyxfunc.C:
9647         * lyxvc.C:
9648         * minibuffer.C:
9649         * text.C:
9650         * text2.C:
9651         * trans.C:
9652         * vc-backend.C: move LyX/XFormsView into frontends/
9653
9654 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9655
9656         * Makefile.am:
9657         * PainterBase.C:
9658         * PainterBase.h:
9659         * Painter.C:
9660         * Painter.h:
9661         * WorkArea.C:
9662         * WorkArea.h:
9663         * screen.C:
9664         * tabular.C:
9665         * text.C:
9666         * text2.C: move Painter to frontends/
9667
9668 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9669
9670         * buffer.C: comment out some some code that depend upon lyx_format
9671         < 220
9672
9673         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9674         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9675
9676         * buffer.h (NO_COMPABILITY): turn off compability
9677
9678         * ColorHandler.C: include scoped_array.hpp
9679
9680         * font.C: Use more specific smart_ptr header.
9681         * Painter.C: ditto
9682         * gettext.C: ditto
9683         * ShareContainer.h: ditto
9684         * lyx_main.h: ditto
9685         * kbmap.h: ditto
9686         * FontInfo.h: ditto
9687         * BufferView_pimpl.h: ditto
9688         * ColorHandler.h: ditto
9689
9690         * kbmap.C (defkey): change call to shared_ptr::reset
9691
9692 2002-05-21  Juergen Vigna  <jug@sad.it>
9693
9694         * buffer.C (insertErtContents): fix to insert ert asis if it is
9695         non empty. Skip it completely if it contains only whitespaces.
9696
9697 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * BufferView_pimpl.C:
9700         * BufferView2.C: clear selection on paste (bug 393)
9701
9702 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9703
9704         * DepTable.C: include ctime
9705
9706 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9707
9708         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9709
9710 2002-05-14  Juergen Vigna  <jug@sad.it>
9711
9712         * text.C (breakParagraph): fixed function to honor the keepempty
9713         layout in the right maner and also to permit the right breaking
9714         algorithm on empty or non empyt keepempty paragraphs.
9715
9716         * paragraph.C (breakParagraph): we have to check also if the par
9717         is really empty (!size()) for isempty otherwise we do the wrong
9718         paragraph break.
9719
9720 2002-05-10  Juergen Vigna  <jug@sad.it>
9721
9722         * buffer.[Ch] : The following are only changes to the ert
9723         compatibility read reading old LaTeX layout and font stuff and
9724         convert it to ERTInsets.
9725
9726         * buffer.h: added isErtInset().
9727
9728         * buffer.C (struct ErtComp): add a fromlayout bool to check
9729         if we're inside a LaTeX layout.
9730         (isErtInset): new helper function.
9731         (insertErtContents): look for other ert insets before this one
9732         and insert the contents there, so that we don't have subsequent
9733         ERT insets with nothing between them. This way we create only one
9734         inset with multiple paragraphs. Also check if we don't insert only
9735         spaces ' ' as they are ignored anyway afterwards in the .tex file
9736         so if we have only spaces we will ignore this latex part in the
9737         new file.
9738         (parseSingleLyXformat2Token \\layout): better compatibility when
9739         reading layout-latex stuff.
9740         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9741         language tag.
9742         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9743         stuff after reading the inset only get the information back from
9744         the stack.
9745
9746 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9747
9748         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9749
9750         * LaTeXFeatures.C (getBabelOptions): New method.
9751
9752 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9753
9754         * BufferView_pimpl.C (Dispatch): work around missing argument for
9755         'layout'
9756
9757 2002-05-08  Juergen Vigna  <jug@sad.it>
9758
9759         * text.C (leftMargin): handle paragraph leftindent.
9760
9761         * paragraph.C (writeFile): write the new \\leftindent tag.
9762         (validate): handle leftindent code.
9763         (TeXEnvironment): handle paragraphleftindent code again.
9764
9765         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9766
9767         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9768         for paragrap_extra indent code and new token \\leftindent.
9769         (latexParagraphs): handle the leftindent as environment.
9770
9771         * ParameterStruct.h: added leftindent support.
9772
9773         * ParagraphParameters.C (leftIndent): added support functions for
9774         the paragraph left indent.
9775
9776         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9777         more appropriate.
9778
9779 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9780
9781         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9782         inside insetERT.
9783
9784         * text.C (computeBidiTables): No bidi in insetERT.
9785
9786         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9787         in RTL documents.
9788
9789 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9790
9791         * version.C.in: pre 5
9792
9793 2002-05-02  José Matos  <jamatos@fep.up.pt>
9794         * buffer.C (makeDocBookFile): white space changes, add newline to
9795         command styles.
9796         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9797
9798         * tabular.C (docBook): fix typo.
9799
9800 2002-05-03  Juergen Vigna  <jug@sad.it>
9801
9802         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9803         change in LyXText as we can not be sure it was not freed.
9804         (drawOneRow): remove unused code.
9805
9806         * text.C (drawInset): redo the calculation of the need_break_row as
9807         it could have a row which was already freed.
9808         (draw): look at the return value of drawInset and return false if
9809         it also returned false.
9810         (paintRowText): look at the return value of draw and return false if
9811         it also returned false.
9812
9813         * lyxtext.h: added bool return type to drawInset() and draw() so that
9814         if we have a change in the row so that the rowbreak has to be redone
9815         we abort drawing as it will be called again.
9816
9817 2002-05-02  Juergen Vigna  <jug@sad.it>
9818
9819         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9820         a change in the maintext also if we're inside an inset.
9821         (Dispatch): set the cursor again after a break line and after the
9822         screen has been updated as it could be we're in a different row.
9823
9824         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9825         to set the cursor behind the pargraph with > size().
9826         (setCursor): check also for the same paragraph when checking where
9827         to put the cursor if we have a NFR inset.
9828
9829         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9830         parts of layout read further up as it still was in the wrong
9831         position.
9832
9833 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9834
9835         * screen.C (drawFromTo): change sine fullRebreak always return
9836         true.
9837
9838         * buffer.C (parseSingleLyXformat2Token): reindent some
9839
9840         * BufferView_pimpl.C (update): change since fullRebreak always
9841         return true.
9842         (Dispatch): git rid of the last hardcoded "Standard"s.
9843
9844 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9845
9846         * text2.[Ch] (fullRebreak): make it return void now that we always
9847         returned true.
9848
9849 2002-04-30  Juergen Vigna  <jug@sad.it>
9850
9851         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9852         ert compatibility check for "latex" layout.
9853
9854 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9855
9856         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9857         minipages: use col% instead of p%, and also use the current font.
9858         (makeLaTeXFile): Fix use babel condition.
9859         (parseSingleLyXformat2Token): Correct font when reading old floats.
9860
9861 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9862
9863         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9864         inserting list of floats.
9865
9866 2002-04-25  Herbert Voss  <voss@lyx.org>
9867
9868         * MenuBackend.C (expand): don't add the graphics extensions to the
9869         export menu
9870
9871 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9874         non-existing layout, do not complain if it was the default layout
9875         of the original class (bug #342)
9876
9877 2002-04-24  Juergen Vigna  <jug@sad.it>
9878
9879         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9880         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9881
9882 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9883
9884         * buffer.C (getBibkeyList): If using \bibliography, return the
9885         option field with the reference itself. Enables us to provide natbib
9886         support when using \bibliography.
9887
9888 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9889
9890         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9891
9892         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9893         natbib is provided by the LaTeX class.
9894
9895 2002-04-23  Juergen Vigna  <jug@sad.it>
9896
9897         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9898         Wakeup functions.
9899
9900         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9901
9902 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9905
9906         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9907         ensuremath around textordmasculine, textordfeminine and
9908         textdegree.
9909
9910 2002-04-19  Juergen Vigna  <jug@sad.it>
9911
9912         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9913         reinitializing the buffer otherwise row-dimensions may be wrong.
9914         (update): reset also the selection cursors if they do exits otherwise
9915         their x/y positions may be wrong.
9916
9917         * text2.C (cursorDown): don't enter the inset if we came from a row
9918         above and are one row over the inset.
9919
9920         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9921         really leaving an inset.
9922
9923 2002-04-18  Juergen Vigna  <jug@sad.it>
9924
9925         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9926         of the selected paragraph does not have the selected layout also if
9927         the last one had!
9928
9929         * text2.C (setLayout): fixed bug which did not change last selected
9930         paragraph.
9931
9932         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9933         changed the read and substituted \\end_float with \\end_inset!
9934
9935         * BufferView_pimpl.C (cursorPrevious):
9936         (cursorNext): fixed to make it work with rows heigher than the work
9937         area without moving the cursor only the draw of the row.
9938         (workAreaMotionNotify): fix jumping over high rows.
9939
9940 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9941
9942         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9943         Ressler.
9944
9945 2002-04-16  Juergen Vigna  <jug@sad.it>
9946
9947         * text2.C (setCursor): set also the irow().
9948         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9949         (cursorUp):
9950         (cursorDown): support for locking an inset if the x_fix value goes
9951         inside it. That way I can transverse insets too with cursor up/down.
9952
9953         * lyxrow.h: added irow helper function same as other (i) functions.
9954
9955         * BufferView_pimpl.C (cursorPrevious):
9956         (cursorNext): fixed for insets!
9957
9958 2002-04-15  Juergen Vigna  <jug@sad.it>
9959
9960         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9961         position otherwise it is wrong in some cases.
9962
9963         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9964         inside the inset before the call.
9965
9966 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9967
9968         * buffer.[Ch] (getBibkeyList): make it const.
9969
9970 2002-04-12  Juergen Vigna  <jug@sad.it>
9971
9972         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9973
9974         * text2.C (getCursorX): new helper function
9975         (setCursor): compute also ix_
9976         (setCursorFromCoordinates): set also ix.
9977
9978         * lyxcursor.h: added ix_ and helper functions.
9979
9980         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9981
9982         * buffer.C (insertStringAsLines): dont break paragraph if the this
9983         paragraph is inside an inset which does not permit it!
9984
9985         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9986         also with no chars on this paragraph.
9987         (paintRowText): only paint stuff if it's inside the workarea!
9988
9989         * paragraph.C (breakParagraph): honor keepempty flag and break the
9990         paragraph always below not above.
9991
9992         * BufferView2.C (unlockInset): update the paragraph layout on inset
9993         unlock as we changed paragraph in such a case.
9994
9995         * lyxfind.C (LyXFind): clear the former selection if not found!
9996
9997         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9998         again called in insertChar().
9999
10000         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10001         an inset which uses the whole row!
10002         (rightMargin): ditto.
10003         (insertChar): force a rebreak if we inserted an inset!
10004
10005 2002-03-28  Herbert Voss  <voss@lyx.org>
10006
10007         * lyxlength.[Ch]: add inBP() to get the right PS-point
10008         units (BigPoint). With inPixels we have rounding errors
10009
10010 2002-04-11  Juergen Vigna  <jug@sad.it>
10011
10012         * text2.C (setCursorFromCoordinates): set iy to the right value.
10013         (setCursor): add check if row->previous exists!
10014
10015         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10016         an old float_type as this was the case in the old code!
10017
10018         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10019
10020         * BufferView2.C (showLockedInsetCursor): use iy
10021         (fitLockedInsetCursor): ditto
10022
10023         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10024         locked insets as there we have the right value now.
10025
10026         * lyxcursor.C: added iy_ variable and iy functions to set to the
10027         baseline of cursor-y of the locked inset.
10028
10029         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10030         (setCursor): fixed for insets which need a full row.
10031
10032         * text.C (rowLastPrintable): don't ignore the last space when before
10033         an inset which needs a full row.
10034         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10035         as last character of a row when before a inset which needs a full row.
10036
10037 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10038
10039         * version.C.in: update date
10040
10041         * text2.C (fullRebreak): try to always return true and see what
10042         happens...
10043
10044 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10045
10046         * MenuBackend.C (expand): use Floating::listName
10047
10048         * FloatList.C (FloatList): add listName argument to the built-in
10049         floats
10050
10051         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10052         text associated with the float.
10053
10054 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10057
10058 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10059
10060         * ShareContainer.h: add a couple of missing typenames.
10061
10062 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10063
10064         * lyxrc.C (getDescription): use _() correctly rather than N_().
10065
10066 2002-03-28  Herbert Voss  <voss@lyx.org>
10067
10068         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10069         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10070
10071 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10074         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10075
10076 2002-03-29  Juergen Vigna  <jug@sad.it>
10077
10078         * lyxfunc.C (dispatch): add a missing fitCursor call.
10079
10080         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10081         it was scrolled by a cursor move, so return the bool status.
10082
10083         * BufferView.C (fitCursor): return the bool flag also to the outside
10084         world as this is needed.
10085
10086         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10087
10088         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10089         call the edit() as it is not needed (and wrong) IMO.
10090         (workAreaButtonPress): set the screen_first variable before evt.
10091         unlock the inset as this may change screen_first and then we have
10092         a wrong y position for the click!
10093
10094 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10095
10096         * MenuBackend.C (expand): another translation that I missed
10097
10098 2002-03-28  Juergen Vigna  <jug@sad.it>
10099
10100         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10101
10102         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10103
10104 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10105
10106         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10107
10108         * MenuBackend.C (expand): fix export/view/update when there is no
10109         document open.
10110
10111 2002-03-27  Herbert Voss  <voss@lyx.org>
10112
10113         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10114         and text%
10115
10116 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * bufferview_funcs.C (currentState): only show paragraph number
10119         for is DEVEL_VERSION is set.
10120
10121         * lyxfunc.C (dispatch): put warning in INFO channel
10122
10123         * MenuBackend.C (expand): translate the name of floats
10124
10125         * FloatList.C (FloatList): mark the float names for translation
10126
10127         * converter.C (convert): use LibScriptSearch
10128
10129 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10130
10131         * MenuBackend.C (defaults): fix default menu (we might as well get
10132         rid of it...)
10133
10134 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10135
10136         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10137         directory.
10138
10139 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * lyxvc.C: reorder includes.
10142
10143 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10146           properly
10147
10148 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * CutAndPaste.C: change layouts earlier on paste
10151           to avoid crashing when calling getFont()
10152
10153 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10154
10155         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10156         irritating #error.
10157
10158 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10159
10160         * WorkArea.C: remove 'Pending' debug message.
10161
10162         * most files: ws cleanup
10163
10164         * buffer.[Ch]: ws changes
10165
10166         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10167
10168 2002-03-21  Juergen Vigna  <jug@sad.it>
10169
10170         * tabular.C (SetMultiColumn): collapse also the contents of the
10171         cells and set the last border right. Added a Buffer const * param.
10172
10173 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10174
10175         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10176         linking or not.
10177
10178 2002-03-19  Juergen Vigna  <jug@sad.it>
10179
10180         * text2.C (clearSelection): reset also xsel_cache.
10181
10182         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10183         where it needs to be called (John tells us to do so too :)
10184         (selectionLost): reset sel_cache.
10185
10186         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10187
10188 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * text2.C (setCursorIntern): put debuging code in INSETS channel
10191
10192 2002-03-19  André Pönitz <poenitz@gmx.net>
10193
10194         * lyxfunc.C: tiny whitespace change
10195
10196 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10197
10198         * ToolbarDefaults.C (init):
10199         * LyXAction.C (init):
10200         * commandtags.h:
10201         * BufferView_pimpl.C (Dispatch):
10202         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10203
10204 2002-03-19  Allan Rae  <rae@lyx.org>
10205
10206         * exporter.C (Export): removeAutoInsets before doing anything else.
10207         While I've just introduced a dependency on BufferView this really is
10208         the best place to clean the buffer otherwise you need to cleanup in
10209         a dozen places before calling export or cleanup in a dozen functions
10210         that export calls.
10211
10212         * converter.C (runLaTeX):
10213         (scanLog): Better handling of removeAutoInsets and screen updates.
10214
10215         * lyxfunc.C (dispatch): small whitespace changes
10216
10217 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10218
10219         * WorkArea.C (C_WorkAreaEvent): return a value.
10220         (event_cb): return 1 if we handled the event, 0 otherwise.
10221
10222         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10223
10224 2002-03-18  Juergen Vigna  <jug@sad.it>
10225
10226         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10227         (GetAdditionalWidth): ditto.
10228         (RightLine): ditto.
10229         (LeftLine): ditto.
10230
10231         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10232         inset if we're there actually (probably not used right now but this
10233         is the direction to go for unifying code).
10234         (paste): disable code to clear the selection.
10235
10236         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10237         inside an InsetText and move the check further up as it is in the
10238         wrong place.
10239
10240         * text2.C (pasteSelection): set a selection over the pasted text.
10241
10242 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10243
10244         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10245         and libgraphics to build on Cygwin.
10246
10247 2002-03-15  Juergen Vigna  <jug@sad.it>
10248
10249         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10250         inserting an Inset into the paragraph. I know this is not the best
10251         fix but we already use current_view in CutAndPaste so we will remove
10252         all of it's using at the same time.
10253
10254         * buffer.C (sgmlError): deactivated function till it is rewritten in
10255         the right mode, now it can create problems.
10256
10257         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10258         before accessing it.
10259
10260 2002-03-14  Juergen Vigna  <jug@sad.it>
10261
10262         * undo_funcs.C (textHandleUndo): do the right thing when updating
10263         the inset after the undo/redo.
10264
10265         * text2.C (setCursor): just some testcode for #44 not ready yet.
10266
10267         * undo_funcs.C (textHandleUndo): set the next() and previous()
10268         pointers of the paragraph to 0 before deleting otherwise we have
10269         problems with the Paragraph::[destructor].
10270
10271         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10272         on a paragraph insertion.
10273
10274 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10275
10276         * buffer.C (asciiParagraph): use += operator for char append to
10277         string.
10278
10279         * paragraph.C (getFontSettings): compare >= not just >
10280         (highestFontInRange): ditto
10281         (setFont): ditto
10282
10283 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10284
10285         * paragraph.C: change several algorithm to be more appripriate for
10286         the problem domain. This is lookip in FontList and in the InsetList.
10287
10288 2002-03-13  André Pönitz <poenitz@gmx.net>
10289
10290         * commandtags.h:
10291         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10292
10293 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10294
10295         * commandtags.h:
10296         * LyXAction.C:
10297         * lyxfunc.C:
10298         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10299
10300 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10301
10302         * Painter.C (display): anon helper function, adjust code for this
10303         change.
10304         (pixmap): remove function.
10305
10306         * Painter.h: remove private display variable.
10307
10308         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10309
10310 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10311
10312         * WorkArea.[Ch]: remove figinset_canvas cruft.
10313
10314 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * lyxtextclass.C (operator): add one item cache optimization.
10317
10318         * bufferlist.h: doxy changes
10319
10320         * bufferlist.C: ws changes
10321
10322         * DepTable.[Ch] (ext_exist): place const in the right spot.
10323
10324         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10325         call resizeInsets.
10326         (workAreaExpose): call resizeInsets when the with BufferView changes.
10327         (Dispatch): adjust for protectedBlank removal
10328         (specialChar): call updateInset if the insert went ok.
10329
10330         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10331         specialChar instead.
10332
10333         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10334
10335         * BufferView.h: doxy change
10336
10337         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10338
10339         * lyxtextclass.C (operator[]): remove non-const version
10340         (defaultLayout): remove non-const version
10341
10342 2002-03-12  Juergen Vigna  <jug@sad.it>
10343
10344         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10345         did resize the LyXText too.
10346
10347         * buffer.C (readLyXformat2): set layout information on newly allocated
10348         paragraphs.
10349
10350         * tabular.C (OldFormatRead): set layout information on the paragraph.
10351
10352 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10353
10354         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10355
10356 2002-03-11  Juergen Vigna  <jug@sad.it>
10357
10358         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10359         plainly wrong.
10360         (resizeCurrentBuffer): force also the insets to resize themselfes.
10361         (moveCursorUpdate): fixed up for InsetText.
10362
10363 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10364
10365         * commandtags.h:
10366         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10367         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10368         value of Dialogs::tooltipsEnabled().
10369         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10370
10371 2002-03-08  Juergen Vigna  <jug@sad.it>
10372
10373         * BufferView_pimpl.C (updateInset): update inset inside inset also
10374         if it isn't inside theLockingInset().
10375
10376 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10377
10378         * buffer.C (asciiParagraph): redo some of the word and line length
10379         handling.
10380         (getLists): look for Caption instead of caption.
10381
10382 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10383
10384         * buffer.C (Buffer): initialize niceFile to true
10385         (makeLaTeXFile):
10386         (makeLinuxDocFile):
10387         (makeDocBookFile): make sure niceFile is true on exit
10388
10389 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10390
10391         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10392
10393 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10394
10395         * LyXSendto.C: remove.
10396         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10397         * lyx_gui.C: remove now-redundant comment.
10398         * ColorHandler.h: remove forward declaration of class WorkArea.
10399         * lyxfunc.C: remove #include "WorkArea.h".
10400
10401 2002-03-07  Juergen Vigna  <jug@sad.it>
10402
10403         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10404         got moved away with the DEPM and also set the inset_owner always
10405         right which before could have been omitted.
10406
10407 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10408
10409         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10410         wanted layout is not found.
10411
10412 2002-03-07  Juergen Vigna  <jug@sad.it>
10413
10414         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10415
10416 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10417
10418         * paragraph.C (breakParagraph): use default layout not layout of
10419         prev paragraph.
10420         (Paragraph): clear ParagraphParameters.
10421
10422 2002-03-06  Juergen Vigna  <jug@sad.it>
10423
10424         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10425         otherwise it would not be a valid lenght. Fixed a special case in
10426         the minipage compatibility read where we end the document with a
10427         minipage.
10428
10429         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10430         was set as it could be 0 for InsetTexts first entry.
10431
10432 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10433
10434         * paragraph.C (writeFile): if layout is empty write out
10435         defaultLayoutName().
10436
10437         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10438         file without named layout we set layout to defaultLayoutName().
10439
10440 2002-03-06  Juergen Vigna  <jug@sad.it>
10441
10442         * CutAndPaste.C (copySelection): set layout for new paragraph.
10443
10444         * text.C (prepareToPrint): leave ERT inset left aligned
10445         (leftMargin): don't indent paragraphs inside ERT insets
10446
10447 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10448
10449         * paragraph.C (breakParagraph): dont call clear do the work manually
10450
10451         * paragraph.[Ch] (clear): remove function
10452
10453 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10454
10455         * paragraph.C (Paragraph): dont call clear, the work has already
10456         been done.
10457
10458         * lyxtextclass.C (operator): assert if n is empty
10459
10460         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10461         work manually instead.
10462
10463 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * BufferView_pimpl.C: protect selectionLost against text == 0
10466
10467 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10468
10469         * text.C (breakParagraph): fix a setting layout to '0' problem.
10470
10471 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10472
10473         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10474         final location of file, for the included files, and graphics.
10475
10476 2002-03-05  Juergen Vigna  <jug@sad.it>
10477
10478         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10479
10480 2002-03-04  Juergen Vigna  <jug@sad.it>
10481
10482         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10483
10484         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10485         last column of multicolumn cells.
10486         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10487
10488 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10489
10490         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10491         file if it doesn't go to a temporary file.
10492
10493         * buffer.C (sgmlOpenTag):
10494         (sgmlCloseTag):  remove extra newline insertion.
10495
10496 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10497
10498         * text.C (getRowNearY): comment out debug msg
10499
10500 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10501
10502         * text2.C: first -> first_y
10503
10504         * text.C (getRowNearY): add some attemts at a possible
10505         optimization, not working.
10506
10507         * tabular.[Ch]: add BufferParams to several function so that newly
10508         created paragraph can be initialized to he default layotu for the
10509         buffers textclass.
10510
10511         * tabular-old.C (ReadOld): add buf->params to call of Init
10512
10513         * screen.C: rename text->first to text->first_y
10514
10515         * paragraph.C (breakParagraph): always set layout in the broken
10516         paragraph
10517
10518         * lyxtextclass.C (Read): remove lowercase
10519         (hasLayout): ditto
10520         (operator): ditto
10521         (delete_layout): ditto
10522
10523         * lyxtext.h: rename first -> first_y
10524
10525         * lyxlayout.C (Read): remove lowercase
10526         (name): ditto
10527         (setName): ditto
10528         (obsoleted_by): ditto
10529
10530         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10531
10532         * buffer.C (insertErtContents): add params are to InsetERT
10533         (parseSingleLyXformat2Token): add code to check if a paragraphs
10534         layout really exist.
10535         (parseSingleLyXformat2Token): add params to several inset
10536         constructors
10537         (asciiParagraph): remove lowercase, do the layout comparisons with
10538         no_case
10539
10540         * BufferView_pimpl.C (cursorNext): first -> first_y
10541         (resizeCurrentBuffer): first -> first_y
10542         (updateScrollbar): first -> first_y
10543         (scrollCB): first -> first_y
10544         (workAreaMotionNotify): first -> first_y
10545         (workAreaButtonPress): first -> first_y
10546         (checkInsetHit): first -> first_y
10547         (cursorPrevious): first -> first_y
10548         (cursorNext): first -> first_y
10549         (Dispatch): add buffer_->params to severl inset contructors
10550
10551 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * lyxlayout.C (Read): remove some debug info that I forgot.
10554
10555         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10556         clean up the code slightly.
10557         (makeLinuxDocFile): ditto
10558         (makeDocBookFile): ditto
10559
10560         * text2.C: layout as string
10561
10562         * text.C: layout as string
10563
10564         * paragraph_pimpl.C: layout as string
10565
10566         * paragraph.[Ch]: layout as string
10567
10568         * lyxtextclasslist.[Ch]: layout as string
10569
10570         * lyxtextclass.[Ch]: layout as string
10571
10572         * lyxtext.h: layout as string
10573
10574         * lyxlayout.[Ch]: layout as string
10575
10576         * lyx_cb.C: layout as string
10577
10578         * bufferview_funcs.C: layout as string
10579
10580         * bufferparams.C: layout as string
10581
10582         * buffer.C: layout as string
10583
10584         * LyXView.[Ch]: layout as string
10585
10586         * LaTeXFeatures.[Ch]: layout as string
10587
10588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10589
10590         * BufferView_pimpl.C: change current_layout to string, remove
10591         lyx::layout_type.
10592         (Dispatch):
10593         (smartQuote):
10594         (insertInset):
10595         (workAreaButtonRelease): layout as string
10596
10597         * BufferView2.C (unlockInset): adjust
10598
10599         * vspace.C (asLatexCommand): use an explict temp variable.
10600
10601 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * Makefile.am: use FRONTEND_*
10604
10605 2002-03-01  Juergen Vigna  <jug@sad.it>
10606
10607         * tabular.C (SetWidthOfMulticolCell): changed to something better
10608         I hope but still work in progress.
10609         (recalculateMulticolumnsOfColumn): renamed function from
10610         recalculateMulticolCells as it is more appropriate now.
10611         (SetWidthOfCell): calculate multicols better.
10612
10613 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10614
10615         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10616
10617         * lyxfunc.C (processKeySym): print sequence also if it is
10618         `deleted' (complete)
10619
10620         * kbsequence.C (print): print sequence even if it is deleted
10621         (complete would be a better word, actually).
10622
10623         * lyxfunc.C (dispatch): print complete options after a prefix key
10624
10625         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10626
10627 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10628
10629         * text2.C (setCharFont): eliminate setCharFont code duplication.
10630
10631 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10632
10633         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10634         LFUN_TABULAR_FEATURE (bug #177)
10635
10636 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10637
10638         * Makefile.am: remove figure.h
10639
10640 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10641
10642         * Bufferview_pimpl.C:
10643         * CutAndPasteC:
10644         * LaTeX.C:
10645         * LyXSendto.C:
10646         * buffer.C:
10647         * bufferlist.C:
10648         * converter.C:
10649         * language.C:
10650         * lyxfunc.C:
10651         * lyxvc.C:
10652         * paragraph.C:
10653         * text.C:
10654         * text2.C: remove #include "lyx_gui_misc.h".
10655
10656         * LaTeX.C: added #include <cstdio>
10657
10658 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10661         that the paragraph following this one can have.
10662
10663         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10664
10665         * vspace.C (asLatexCommand): fix bogus gcc warning
10666
10667         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10668
10669 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10670
10671         * text2.C (setLayout): get rid of redundant code
10672
10673 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10674
10675         * text2.C (incDepth): make sure depth cannot be increased beyond
10676         reasonable values.
10677
10678 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10679
10680         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10681         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10682
10683         * PainterBase.h (image):
10684         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10685         a LyXImage const *.
10686
10687 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * BufferView.C:
10690         * BufferView.h:
10691         * BufferView_pimpl.C:
10692         * BufferView_pimpl.h:
10693         * LaTeXFeatures.C:
10694         * LyXAction.C:
10695         * LyXView.C:
10696         * Makefile.am:
10697         * UpdateList.h:
10698         * UpdateList.C:
10699         * buffer.C:
10700         * figure.h:
10701         * figureForm.C:
10702         * figureForm.h:
10703         * figure_form.C:
10704         * figure_form.h:
10705         * lyx_cb.C:
10706         * lyx_gui.C:
10707         * lyx_gui_misc.C:
10708         * lyxfunc.C:
10709         * sp_base.h:
10710         * sp_ispell.h:
10711         * sp_pspell.h:
10712         * sp_spell.C: remove fig inset, and the crap house of
10713           cards that follows it
10714
10715 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10716
10717         * Makefile.am:
10718         * lyxserver.C:
10719         * os2_defines.h:
10720         * os2_errortable.h:
10721         * nt_defines.h: move .h into support/
10722
10723         * vms_defines.h: remove
10724
10725         * WorkArea.C: add space in debug output
10726
10727         * text2.C:
10728         * paragraph.C:
10729         * buffer.C: add WITH_WARNINGS
10730
10731         * vc-backend.h:
10732         * vc-backend.C:
10733         * bufferlist.C: s/retrive/retrieve/, add docs
10734
10735         * vspace.h:
10736         * vspace.C:
10737         * kbmap.h:
10738         * lyxlength.h:
10739         * lyxgluelength.h:
10740         * length_common.h:
10741         * chset.h:
10742         * chset.C: add docs
10743
10744         * lyxgui.C: add ID to X error handler
10745
10746         * lyxtestclass.c: fix typo
10747
10748 2002-02-26  Juergen Vigna  <jug@sad.it>
10749
10750         * tabular_funcs.C (write_attribute): changed so that some default
10751         attributes are not written at all.
10752         (getTokenValue): set default values before trying to read the
10753         value so we have the return value always set as default if we don't
10754         find the token we search for.
10755
10756         * tabular.C (Write): write bools as bools not as strings!
10757
10758 2002-02-22  Juergen Vigna  <jug@sad.it>
10759
10760         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10761         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10762
10763         * text.C (leftMargin): don't add an indent for paragraphs inside
10764         tabular cells (fix #208).
10765
10766 2002-02-21  José Matos  <jamatos@fep.up.pt>
10767
10768         * tabular.C (docBook): fixed support for long tables.
10769
10770 2002-02-20  Juergen Vigna  <jug@sad.it>
10771
10772         * text2.C (getFont): get the drawing font of the Inset if this
10773         paragraph is inside an inset (only important for InsetERT for now).
10774
10775         * buffer.C (insertErtContents): use new lanugage params in ERT
10776         constructor.
10777
10778         * CutAndPaste.C: commenting out seemingly uneeded code.
10779
10780 2002-02-19  Allan Rae  <rae@lyx.org>
10781
10782         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10783         Iterators might be simple to use but they also get invalidated.
10784         (removeAutoInsets): renamed saved cursor tracking variables and added
10785         some comments to clarify what everything does.
10786
10787 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10788
10789         * Chktex.C:
10790         * LaTeX.C:
10791         * LyXSendto.C:
10792         * converter.C:
10793         * lyx_cb.C:
10794         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10795         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10796
10797         * lyxfunc.C:
10798         * vc-backend.h: remove #include "support/syscall.h"
10799
10800         * LaTeX.C:
10801         * LyXSendto.C:
10802         * converter.C: rearrange #includes in Lars' approved fashion.
10803
10804         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10805         forward declare class Timeout in the header file.
10806
10807         * XFormsView.C: changes due to the above.
10808
10809         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10810         similar to LyXView.
10811
10812         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10813         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10814
10815 2002-02-18  José Matos  <jamatos@fep.up.pt>
10816
10817         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10818         insets contents.
10819
10820 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10821
10822         * a lot of small ws changes
10823         * add a lot of using std::XXX
10824         * use std construcs some places where approp.
10825         * use some exisint stuff from lyxfunctional where approp.
10826         * Make file changes to use partial linking (lets test this now...)
10827
10828 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10829
10830         * Chktex.C:
10831         * buffer.C:
10832         remove #include "support/syscontr.h" as it's redundant. Always has been.
10833
10834         * Chktex.C:
10835         * LaTeX.C:
10836         * LyXSendto.C:
10837         * converter.C:
10838         * lyx_cb.C:
10839         * vc-backend.C:
10840         change Systemcalls::System to Systemcalls::Wait and
10841         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10842         No change of functionality, just reflects the stripped down Systemcalls
10843         class.
10844
10845 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10846
10847         * debug.[Ch]: add a GRAPHICS type to the enum.
10848
10849 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10850
10851         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10852
10853         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10854         there is an inset.
10855
10856 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10859         match the changes below.
10860
10861         * text2.C (toggleInset): if there is not editable inset at cursor
10862         position, try to see if cursor is _inside_ a collapsable inset
10863         and close it.
10864
10865 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10866
10867         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10868         document menu has a nice checkbox
10869
10870 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * lyxlength.C (asLatexString): change PW to output as percent of
10873         \textwidth.
10874
10875         * lengthcommon.C: change '%' to 't%'
10876
10877         * lyxfunc.C (dispatch): a few comments from Martin
10878
10879 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10880
10881         * WorkArea.h:
10882         * WorkArea.C:
10883         * BufferView_pimpl.h:
10884         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10885           the X selection.
10886
10887 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10888
10889         * vspace.C (inPixels): fix compiler warning
10890
10891 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10892
10893         * lyxfunc.C (getStatus): fix status message for disabled commands.
10894
10895 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10896
10897         * BufferView_pimpl.C: fix crash on close buffer
10898         during selection (#227)
10899
10900 2002-01-27  Herbert Voss  <voss@lyx.org>
10901
10902         * buffer.C: link old Figure to new graphic inset
10903
10904 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10905
10906         * FontLoader.C (getFontinfo): Change the latex font names in order
10907         to match the names of type1inst.
10908
10909 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10910
10911         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10912
10913         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10914         (extchanged): ditto
10915         (ext_exist): ditto
10916         (remove_files_with_extension): ditto
10917         (remove_file): ditto
10918         (write): ditto
10919
10920         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10921         document is smaller than the work area height. Do not initialize
10922         static variables to 0.
10923
10924 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10925
10926         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10927
10928         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10929         LFUN_LAYOUT_PARAGRAPHS.
10930
10931         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10932         tabular. It is possible to provide a possible cell, which will
10933         typically be the actcell from the corresponding insettabular
10934
10935         * lyxfunc.C (getStatus): small cleanup; disable
10936         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10937         true
10938
10939 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10942
10943         * paragraph.C (startTeXParParams):
10944         (endTeXParParams): new methods. The LaTeX code to
10945         start/end paragraph formatting
10946         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10947         empty (fixes bug #200)
10948
10949         * vspace.C (inPixels): adapt to the change below
10950         (inPixels): [later] more cleanups (remove unused variables)
10951
10952         * lyxlength.C (inPixels): change to use a width and a height as
10953         parameter.
10954
10955 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10956
10957         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10958         Replaced with \paperwidth
10959
10960         * DepTable.C (insert): add std:: qualifier
10961
10962 2002-01-18  Allan Rae  <rae@lyx.org>
10963
10964         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10965         updated also?
10966
10967         * text.C (drawInset): Turned out I didn't know enough about how
10968         rebreaking worked.  This fixes most of the redraw problems.  I see
10969         an occasional cursor trail when a line is broken now and the cursor
10970         placement can seem out by a few pixels also after a rebreak.
10971
10972 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * buffer.C (parseSingleLyXformat2Token): update because minipage
10975         width is now a LyXLength
10976
10977         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10978
10979         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10980         math insets
10981
10982 2002-01-17  Juergen Vigna  <jug@sad.it>
10983
10984         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10985
10986         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10987         is set correctly and the inset is updated correctly.
10988
10989 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10990
10991         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10992         the beginning of the loop.
10993
10994 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10995
10996         * lyxrc.C: improve help for use_scalable_fonts
10997
10998 2002-01-17  Allan Rae  <rae@lyx.org>
10999
11000         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11001
11002 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11005         make sure to set their inset_owner to the right value (bug #171)
11006
11007 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11008
11009         * DepTable.h
11010         * DepTable.C: Implement mtime checking to reduce time spent doing
11011         CRCs.
11012
11013 2002-01-16  Juergen Vigna  <jug@sad.it>
11014
11015         * tabular.C (GetAdditionalHeight): one of error fixed.
11016
11017         * lyxrc.C (output): small fix in writing use_pspell.
11018
11019 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11020
11021         * sp_base.h: #include LString.h
11022
11023 2002-01-16  Allan Rae  <rae@lyx.org>
11024
11025         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11026         Can someone check this please?
11027
11028         * text.C (drawInset): It was possible that p.row would be removed by
11029         breakAgainOneRow upsetting a few other settings.  There may be another
11030         small tweak possible by setting need_break_row = 0 when p.row has been
11031         removed but I don't know enough about the logic here.
11032
11033 2002-01-15  Allan Rae  <rae@lyx.org>
11034
11035         * text.C (insertChar): removed conditional truism.
11036
11037         * BufferView2.C (removeAutoInsets): More tweaks.
11038         cur_par_prev could be a stray pointer.  Check for trailing empty line
11039         in case last line was cur_par and only had an error inset on it.
11040
11041 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11042
11043         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11044         absolute
11045
11046         * vc-backend.C (most methods):
11047         * exporter.C (Export):
11048         * converter.C (convert):
11049         (runLaTeX):
11050         * LyXSendto.C (SendtoApplyCB):
11051         * lyxfunc.C (dispatch):
11052         (menuNew):
11053         (open):
11054         (doImport):
11055         * lyx_cb.C (AutoSave):
11056         (InsertAsciiFile):
11057         * BufferView_pimpl.C (MenuInsertLyXFile):
11058         * buffer.C (runChktex): use Buffer::filePath().
11059
11060         * buffer.h: rename filename to filename_; rename filepath to
11061         filepath_ and make it private
11062         (filePath): new method
11063
11064         * buffer.C (writeFile): use fileName()
11065         (getLatexName):
11066
11067         * lyx_main.C (init): fix starting  of LyX when the binary is a
11068         link from so,ewhere else.
11069
11070         * minibuffer.C: include <cctype> for isprint
11071
11072 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11073
11074         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11075         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11076         name clash with InsetCollapsable's width function.
11077
11078 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11079
11080         * lastfiles.C: include <iterator>
11081
11082 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11083
11084         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11085         std::count.
11086
11087         * buffer.C (makeLaTeXFile): ditto.
11088         Also make loop operation more transparent.
11089
11090 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11091
11092         * ToolbarDefaults.C: remove trailing comma closing namespace.
11093
11094         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11095
11096         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11097         as in WorkArea.
11098
11099         * trans.C (Load): comment out unused variable, allowed.
11100
11101 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * minibuffer.[Ch] (append_char): new method to recieve input from the
11104         drop-down completion browser. If a key was pressed, then recieve this
11105         char and append it to the existing string.
11106         (peek_event): modify the positioning data passed to the completion
11107         browser so that it can be placed above the minibuffer rather than below.
11108 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11109
11110         * LyXAction.C (init): alloe error-next for readonly documents.
11111
11112         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11113         count.
11114
11115 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11116
11117         * bufferlist.C (readFile): create the buffer _after_ checking that
11118         the file exists.
11119
11120         * lyxfunc.C (verboseDispatch): fix handling of arguments
11121
11122         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11123
11124         * lyxrc.C: use string::erase() instead of initializing to "".
11125
11126
11127 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * BufferView_pimpl.h:
11130         * BufferView_pimpl.C:
11131         * WorkArea.h:
11132         * WorkArea.C:
11133         * text2.C: tell X when we have made a selection for copying
11134
11135 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11136
11137         * BufferView_pimpl.C (MenuInsertLyXFile):
11138         * lyxfunc.C (menuNew):
11139         (open):
11140         (doImport): add shortcuts to directory buttons
11141
11142         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11143         open a float)
11144
11145         * lyxfunc.C (setStatusMessage):
11146         (getStatusMessage): new methods
11147         (getStatus):use setStatusMessage instead of setErrorMessage
11148         (dispatch): when function is disabled, set error message here
11149         [instead of in getStatus previously]
11150
11151         * BufferView_pimpl.C (workAreaButtonRelease): update
11152         toolbar/menubar here too.
11153
11154 2002-01-13  Allan Rae  <rae@lyx.org>
11155
11156         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11157         Now seems indestructible.  Remaining task is to audit all other
11158         code affected by deleteEmptyParagraphMechanism.  One small quirk
11159         left is that an empty document with an error in the preamble can
11160         be made to report an error but no error box appears.  I don't know
11161         where it goes.
11162         (removeAutoInsets): Improved comments.
11163
11164 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * Thesaurus.h:
11167         * Thesaurus.C: update for Aiksaurus 0.14
11168
11169 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11170
11171         * text2.C (firstParagraph): removed member function, all uses
11172         replaces with ownerParagraph
11173         (redoParagraphs): here
11174         (updateInset): here
11175         (toggleAppendix): here
11176         * BufferView2.C (insertErrors): here
11177         (setCursorFromRow): here
11178
11179 2002-01-13  Allan Rae  <rae@lyx.org>
11180
11181         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11182         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11183         There is still a way to segfault this although you may have to do this
11184         multiple times: Have an InsetERT with an unknown command in it.
11185         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11186         <down-arrow>, <Enter> again, View->DVI, BANG!
11187
11188         * text2.C (setCursor):
11189         (deleteEmptyParagraphMechanism):
11190         * lyxtext.h (setCursor):
11191         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11192         Making use of the return value may help fix other bugs.
11193
11194 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11195
11196         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11197
11198         * LyXView.C (updateMenubar): call MenuBar::update here
11199         (updateToolbar): but not here
11200         (showState): do not update toolbar/menubar
11201
11202         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11203         should need to care about that.
11204
11205         * lyxfunc.C (verboseDispatch): simplify a bit
11206         (getStatus): have a version which takes a pseudoaction, and
11207         another which requires a (kb_action,string).
11208
11209         * LyXAction.C (retrieveActionArg): make it work also when action
11210         is not a pseudo-action.
11211         (getActionName): simplify a bit
11212         (helpText):
11213
11214 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11215
11216         * lyxfunc.C (verboseDispatch): new families of methods with
11217         several ways to specify a command and a bool to indicate whether
11218         the command name and shortcut should be displayed in minibuffer
11219         (eventually, we could extend that to a finer bitmask like
11220         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11221         (dispatch): the pristine dispatch command which just, well,
11222         dispatchs! Note it still sets its result to minibuffer; I'm not
11223         sure we want that.
11224
11225         * lyxfunc.h: remove setHintMessage
11226
11227         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11228
11229 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11230
11231         * BufferView_pimpl.C (specialChar): delete new inset if we have
11232         not been able to insert it.
11233
11234         * kbmap.C: revert to using int instead of kb_action, since all we
11235         are dealing with is pseudo-actions.
11236
11237         * LyXAction.C (searchActionArg): change to return int instead of
11238         kb_action, since the result is a pseudoaction.
11239
11240 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11241
11242         * buffer.C (insertErtContents): Fix (partially) the font bug.
11243
11244 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11245
11246         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11247         as the other one is broken on my machine!
11248
11249 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11250
11251         * commandtags.h:
11252         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11253
11254 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11255
11256         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11257         reflect their actual use. Provide compatibility code for older lyxrc
11258         files.
11259
11260         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11261         FL_NORMAL_STYLE.
11262         change names of popup font variables in line with the changes to lyxrc.C
11263
11264 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * buffer.C (asciiParagraph): avoid outputing a word twice after
11267         an inset.
11268
11269         * lyxrc.C (getDescription): document that document_path and
11270         template_path can be empty.
11271
11272 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11273
11274         * LaTeXFeatures.C (getMacros):
11275         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11276
11277         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11278
11279         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11280         getPackages.
11281         (getPackages): rename feature "floats" to "float". Use an array to
11282         iterate over 'simple' features (i.e. just a \usepackage). Add
11283         handling of "amsmath" (renamed from "amsstyle").
11284
11285 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11286
11287         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11288         features list.
11289
11290 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11291
11292         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11293         FuncStaus::FuncStatus & FuncStaus::some_method().
11294
11295 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11296
11297         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11298         of the func_satus stuff. Edited and massaged in various ways by
11299         JMarc.
11300
11301         * lyxfunc.C (getStatus): use FuncStatus
11302
11303 2002-01-08  Juergen Vigna  <jug@sad.it>
11304
11305         * text.C (nextBreakPoint): use function Inset::isChar().
11306
11307         * paragraph.C (TeXOnePar): use function
11308         Inset::forceDefaultParagraphs.
11309
11310         * buffer.C (latexParagraphs): use function
11311         Inset::forceDefaultParagraphs.
11312
11313 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11314
11315         * lyx_gui.C (init): set the style of the menu popups to
11316         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11317
11318 2002-01-07  Juergen Vigna  <jug@sad.it>
11319
11320         * text.C (setHeightOfRow): small fix
11321         (prepareToPrint): don't look at alignment if we don't have the place
11322         for doing it.
11323
11324 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11325
11326         * box.C: New file. Move the Box methods and functions out of box.h,
11327         following Lars' suggestion.
11328
11329 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11330
11331         * box.h: #include "support/LOstream.h", needed for inlined function.
11332
11333         * lyxtextclass.C:
11334         * lyxtextclasslist.C: added some using std declarations.
11335
11336 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11337
11338         * box.h: make signed dimensions to allow insets wider than
11339           the screen (bug #162)
11340
11341         * BufferView_pimpl.C: add some insetHit debug
11342
11343 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11344
11345         * vc-backend.C: add FIXME
11346
11347 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11348
11349         * lyxfunc.C (getStatus): enable code for showing math font status
11350         in toolbar/menu.
11351
11352 2002-01-07  Juergen Vigna  <jug@sad.it>
11353
11354         * text.C (nextBreakPoint): removed debug output not needed anymore.
11355
11356 2002-01-06  Juergen Vigna  <jug@sad.it>
11357
11358         * text.C (nextBreakPoint): fixed up this function we had this bug
11359         since ever but now hopefully we break row better.
11360         (insertChar): we have to check if an inset is the next char as it
11361         could now happen that a large inset is causing a break.
11362
11363 2002-01-05  Juergen Vigna  <jug@sad.it>
11364
11365         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11366         if it doesn't like to be drawed.
11367
11368 2002-01-04  Juergen Vigna  <jug@sad.it>
11369
11370         * BufferView2.C (lockInset): forgot to set a cursor.
11371
11372         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11373
11374 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11375
11376         * FormMathsPanel.C:
11377         * FormMathsPanel.h
11378         * MathsSymbols.C:
11379         * form_maths_panel.C:
11380         * form_maths_panel.h:
11381         * form_maths_panel.fd: implemented sub- and super- buttons in math
11382         panel.
11383
11384         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11385         (or ^ space) to be used as in TeX (req'd by André).
11386
11387         * lyxfunc.C: Allow ^ and _ again to be used both as
11388         super/subscript (mathed) and as themselves (in text).
11389
11390 2002-01-03  Allan Rae  <rae@lyx.org>
11391
11392         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11393         "LyX" or the filename of the current buffer if it has one.  This is a
11394         modified form of John Levon's patch.
11395
11396         * XFormsView.C (setWindowTitle): also set icon title.
11397
11398         * LyXView.h (setWindowTitle): signature changed.
11399         * XFormsView.h (setWindowTitle): ditto.
11400
11401 2002-01-02  Juergen Vigna  <jug@sad.it>
11402
11403         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11404
11405 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * screen.C (topCursorVisible): introduce a temp var for
11408         text->cursor.row(), handle the case where this row is null. (kindo
11409         hachish)
11410
11411         * text2.C (setCursor): add a couple of asserts.
11412
11413         * paragraph.h (inset_iterator): add -> operator
11414
11415         * paragraph.[Ch] (autoDeleteInsets): remove member function
11416
11417         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11418         cursor pos correctly and handle inset deletion by itself.
11419         (insertErrors): move iterator declaration out of for expression
11420
11421         * lyxtextclass.C: add <algorithm>
11422
11423         * Makefile.am: added the new files to sources, removed layout.C
11424
11425         * layout.C: removed file
11426
11427         * layout.h: remove LYX_DUMMY_LAYOUT
11428
11429         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11430         layout.
11431
11432         * lyxlayout.[Ch]:
11433         * lyxtextclass.[Ch]:
11434         * lyxtextclasslist.[Ch]: new files
11435
11436         * include order changes to a lot of files, also changes because of
11437         the six new files.
11438
11439 2001-12-27  Juergen Vigna  <jug@sad.it>
11440
11441         * buffer.C (asciiParagraph): more fixes.
11442
11443         * tabular.C (ascii): make ascii export support export of only the
11444         data separated by a column-delimiter.
11445         (ascii): better support for ascii export.
11446
11447         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11448
11449 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * tabular_funcs.C: use a "using std::getline" instead of the
11452         previous fix from Angus (necessary for cxx + lyxstring)
11453
11454 2001-12-24  Juergen Vigna  <jug@sad.it>
11455
11456         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11457
11458         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11459         problems. First check a minipage also if we have some ert-contents
11460         (not only on par->size(), second set the right depth of the paragraph
11461         on the relink to the root-paragraph-list!
11462
11463         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11464         which then did not anymore update the main paragraphs on undo/redo!
11465
11466 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11469         code. Support all font-changing funcs (even those which are not in
11470         menu currently). Support for reporting font settings in
11471         mathed (disabled until Andre provides a function on mathed's side).
11472
11473         * func_status.h (toggle): small helper function to set toggle
11474         state on a flag.
11475
11476 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11477
11478         * tabular_funcs.C: getline -> std::getline
11479
11480 2001-12-21  Juergen Vigna  <jug@sad.it>
11481
11482         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11483         accessed and could be 0 (I couldn't generate this but it seems
11484         Michael could!).
11485
11486 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11487
11488         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11489         * tabular_funcs.h: here and include iosfwd
11490
11491 2001-12-20  Juergen Vigna  <jug@sad.it>
11492
11493         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11494         inside inset but undo_par was.
11495
11496 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * Thesaurus.C: always include <config.h> in sources.
11499
11500         * Painter.h:
11501         * lyxlookup.h:
11502         * box.h: do not include <config.h> in header files
11503
11504         * text.C (paintLastRow): remove unused variable
11505
11506         * text.C (transformChar):
11507         (insertChar):
11508         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11509
11510         * Painter.C (text):
11511         * font.C (width): rewrite to use uppercase() instead of
11512         islower/toupper.
11513
11514         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11515
11516 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * lyxfind.C: clean up of find failure position change
11519
11520 2001-12-20  Juergen Vigna  <jug@sad.it>
11521
11522         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11523
11524         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11525         (TeXRow): added to LaTeX a single tabular row.
11526         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11527         (Latex): simplified and finally good LT-h/f support.
11528         (various_functions): just small adaptions for LT-h/f support.
11529
11530         * tabular_funcs.[hC]: added and moved here all not classfunctions
11531         of LyXTabular.
11532
11533 2001-12-19  Juergen Vigna  <jug@sad.it>
11534
11535         * tabular.[Ch]: better support for longtabular options (not finished
11536         yet!)
11537
11538 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * text.C (paintLastRow): use the label font instead of the font of
11541         the last character to compute the size of *_BOX. This makes more
11542         sense and avoids a crash with empty paragraphs.
11543         Use Painter::rectangle to draw EMPTY_BOX.
11544
11545 2001-12-19  Juergen Vigna  <jug@sad.it>
11546
11547         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11548         the paragraphs if the replaced paragraph is not the first one!
11549         Tried to delete not used paragraphs but does not work yet so for
11550         now it's inside #ifdef's and by default off!
11551
11552 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * MenuBackend.C: include "lyx_main.h" instead of declaring
11555         lastfiles (actually was declared as LastFiles* instead of a
11556         scoped_ptr).
11557
11558 2001-12-17  Juergen Vigna  <jug@sad.it>
11559
11560         * tabular.C (AppendColumn): applied John's fix
11561
11562 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * BufferView.h:
11565         * BufferView.C:
11566         * BufferView_pimpl.h:
11567         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11568
11569         * Makefile.am:
11570         * box.h: new start of class for above
11571
11572         * lyxfunc.C: ignore space-only minibuffer dispatches.
11573           Show the command name when it doesn't exist
11574
11575         * minibuffer.C: don't add empty lines to the history
11576
11577         * minibuffer.C: add a space on dropdown completion
11578
11579 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * text.C: fix line above/below drawing in insets
11582
11583 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11584
11585         * lyxlength.C (LyXLength): Initialize private variables.
11586
11587 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11588
11589         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11590         when inserting error insets.
11591
11592 2001-12-13  Juergen Vigna  <jug@sad.it>
11593
11594         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11595         actually sometimes the before-paragraph.
11596         (setUndo): don't clear the redostack if we're not actually undoing!
11597
11598 2001-12-06  Juergen Vigna  <jug@sad.it>
11599
11600         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11601         and fixed redoing of main paragraph, so we can use it now ;)
11602
11603         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11604
11605 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11608         Juergen's request
11609
11610 2001-12-13  André Pönitz <poenitz@gmx.net>
11611
11612         * undostack.[Ch]:
11613         * undo_func.C: minor cleanup
11614
11615 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11616
11617         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11618         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11619         font in urw-fonts package which is marked as -urw-fontspecific and
11620         does not work (incidentally, changing the encoding in the
11621         fonts.dir of this package to -adobe-fontspecific fixes the
11622         problem).
11623
11624         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11625         is a crash when undoing first paragraph (Juergen, please take a
11626         look). THis does not mean the undo fix is wrong, just that it
11627         uncovers problems.
11628
11629         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11630         the (Paragraph*) version when needed instead of duplicating the
11631         code.
11632
11633         * text.C (workWidth): use Inset::parOwner to find out where the
11634         inset has been inserted. This is a huge performance gain for large
11635         documents with lots of insets. If Inset::parOwner is not set, fall
11636         back on the brute force method
11637
11638         * paragraph_pimpl.C (insertInset):
11639         * paragraph.C (Paragraph):
11640         (cutIntoMinibuffer): set parOwner of insets when
11641         inserting/removing them
11642
11643         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11644
11645 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11646
11647         * commandtags.h:
11648         * LyXAction.C:
11649         * lyx_main.C:
11650         * lyxfunc.C:
11651         * mathed/formulabase.C:
11652         * mathed/math_cursor.[Ch]:
11653         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11654
11655
11656 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11657
11658         * lyxlength.[Ch] (operator!=): new function
11659
11660 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11661
11662         * text.C (workWidth): use Inset::parOwner to find out where the
11663         inset has been inserted. This is a huge performance gain for large
11664         documents with lots of insets. If Inset::parOwner is not set, fall
11665         back on the brute force method
11666
11667         * paragraph_pimpl.C (insertInset):
11668         * paragraph.C (Paragraph):
11669         (cutIntoMinibuffer): set parOwner of insets when
11670         inserting/removing them
11671
11672         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11673
11674 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11675
11676         * tabular-old.C (getTokenValue):
11677         * tabular.C (getTokenValue):
11678         (write_attribute): new versions for LyXLength
11679         (everywhere): adjust the use of widths
11680
11681         * tabular.h: change the type of widths from string to LyXLength
11682
11683 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11684
11685         * paragraph.C: fixed missing line number count when exporting
11686         Environments to LaTeX file
11687
11688         * buffer.C: added informational message for checking line numbers.
11689
11690 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11691
11692         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11693         paragraph, do the 'double space' part, but not the 'empty
11694         paragraph' one.
11695
11696         * text.C (workWidth): small optimization
11697         (getLengthMarkerHeight): use minimal size for negative lengths.
11698
11699 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11700
11701         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11702
11703         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11704
11705 2001-12-11  André Pönitz <poenitz@gmx.net>
11706
11707         * FontLoader.C:
11708         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11709
11710 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * text2.C: keep selection on a setFont()
11713
11714 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * lyx_cb.C: another bv->text misuse, from insert label
11717
11718 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * kbsequence.h:
11721         * kbsequence.C: re-instate nmodifier mask
11722
11723 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11724
11725         * lyx_main.h: make lyxGUI private.
11726
11727 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * lyxfind.C: place the cursor correctly on failed search
11730
11731 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11732
11733         * text.C (getLengthMarkerHeight): for small heights, the arrows
11734         are not always on top/bottom of the text
11735         (drawLengthMarker): smaller arrows; take the left margin in
11736         account; draw also vfills.
11737         (paintFirstRow):
11738         (paintLastRow): remove special code for vfill and standard spaces,
11739         since everything is handled in drawLengthMarker now.
11740
11741 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11742
11743         * buffer.C (insertErtContents): try to handle font and language
11744         interaction a bit better.g
11745
11746         * ColorHandler.C (updateColor): change the hash to cover the whole
11747         LColor enum, ws cleanup
11748         (getGCLinepars): ditto
11749         (getGCLinepars): only lookup in the linecache once.
11750
11751 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11752
11753         * iterators.C (operator++): Make the iterator more robust
11754
11755         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11756         (John's patch)
11757         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11758
11759 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * lyxtext.h:
11762         * text.C: better added space drawing
11763
11764 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * LyXView.C:
11767         * BufferView2.C: fix layout combo update on inset unlock
11768
11769 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11770
11771         * Makefile.am: don't compile unused files
11772
11773 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * lyxfunc.C:
11776         * commandtags.h:
11777         * LyXAction.C: remove old LFUN_LAYOUTNO
11778
11779 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * paragraph_pimpl.h:
11782         * paragraph_pimpl.C: isTextAt() doesn't need font param
11783
11784 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * lyxlex.h:
11787         * lyxlex.C: little cleanup
11788
11789 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * BufferView_pimpl.C: fix insertAscii for insets
11792
11793 2001-12-05  Juergen Vigna  <jug@sad.it>
11794
11795         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11796         set the right font on the "multi" paragraph paste!
11797
11798 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11799
11800         * trans_decl.h:
11801         * trans_mgr.[Ch]:
11802         * trans.[Ch]:
11803         * lyxgluelength.C:
11804         * lyxlength.C: remove out-commented code.
11805
11806         * BufferView_pimpl:
11807         * CutAndPaste.C:
11808         * DepTable.C:
11809         * buffer.C:
11810         * chset.C:
11811         * lastfiles.C:
11812         * lyxlex.C:
11813         * lyxlex_pimpl.C:
11814         * lyxserver.C:
11815         * screen.C:
11816         * tabular-old.C:
11817         * tabular.C:
11818         * text.C:
11819         * trans_mgr.C:
11820         * vc-backend.C: change "while(" to "while ("
11821
11822         * lyxlength.[Ch]: add zero function to check if length is zero or
11823         not
11824         * lyxgluelength.C: use it
11825
11826 2001-12-05  Allan Rae  <rae@lyx.org>
11827
11828         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11829         Works for 2.95.3, from what I understand of Garst's reports this should
11830         work for other g++ versions.  We're screwed if the abs(int) definition
11831         changed between bugfix releases of gcc.
11832
11833 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * text.C: fix chapter label offset !
11836
11837 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * lyxtext.h:
11840         * text.C: fix hfill at end of line, clean up
11841
11842 2001-12-04  Juergen Vigna  <jug@sad.it>
11843
11844         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11845         that we force an update of the inset and it's owners if neccessary.
11846
11847 2001-12-03  Juergen Vigna  <jug@sad.it>
11848
11849         * text.C (rowLast): simplified code
11850
11851 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * lyxfunc.C: fix show options on timeout
11854
11855 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * screen.C (topCursorVisible): scroll half a page when the cursor
11858         reached top of bottom of screen
11859
11860 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * minibuffer.C: deactivate on loss of focus
11863
11864 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * vspace.[Ch] (operator!=): add operator.
11867
11868 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * BufferView_pimpl.C: refuse to open an inset when
11871         there's a selection.
11872
11873 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * BufferView_pimpl.C: allow to click on RHS of full row insets
11876
11877 2001-11-30  Juergen Vigna  <jug@sad.it>
11878
11879         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11880         insets for undo reasons.
11881
11882 2001-11-28  André Pönitz <poenitz@gmx.net>
11883
11884         * vspace.[Ch]: cosmetical changes
11885
11886 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11887
11888         * LyXAction.h:
11889         * LyXAction.C:
11890         * lyxfunc.h:
11891         * lyxfunc.C:
11892         * kbmap.h:
11893         * kbmap.C:
11894         * lyxrc.C:
11895         * kbsequence.h:
11896         * kbsequence.C: part re-write of old kb code
11897
11898         * Painter.C:
11899         * WorkArea.C: remove Lgb_bug_find_hack
11900
11901 2001-11-30  José Matos <jamatos@fep.up.pt>
11902
11903         * buffer.C (makeDocBookFile): add a comment to point a hack.
11904         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11905         Fixed a double write of labels.
11906
11907 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11908
11909         * LaTeX.C:
11910         * LaTeX.h Fixed bug in LaTeX class where it would not
11911         re-run latex if no depfiles were changed, but the .dvi was removed.
11912
11913 2001-11-28  André Pönitz <poenitz@gmx.net>
11914
11915         * all the files from the change on 2001/11/26:
11916         use lyx::layout_type instead of LyXTextClass::size_type
11917         use lyx::textclass_type instead of LyXTextClassList::size_type
11918
11919 2001-11-29  Juergen Vigna  <jug@sad.it>
11920
11921         * text.C: added support for paragraph::isFreeSpacing()
11922
11923         * buffer.C: same as above
11924
11925         * paragraph.h: inserted isFreeSpacing() function to enable
11926         FreeSpacing inside InsetERT.
11927
11928         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11929         of the paragraph's in the cut/copy buffer to 0!
11930
11931         * text2.C (removeRow): remove the assert as it can!
11932
11933         * lyxtext.h: added helper function firstRow returning firstrow and
11934         made firstrow private again.
11935
11936         * BufferView2.C (lockInset): don't relock if we're already locked!
11937
11938         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11939         the only paragraph.
11940         (removeRow): added Assert::(firstrow)
11941
11942         * debug.C: forgot to add INSETTEXT here.
11943
11944 2001-11-28  Juergen Vigna  <jug@sad.it>
11945
11946         * sp_spell.C (initialize): changed error text to more general
11947         spellchecker command use (not only ispell!)
11948
11949         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11950
11951         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11952
11953 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * vspace.C: initialise lyxgluelength on failure
11956
11957 2001-11-28  Allan Rae  <rae@lyx.org>
11958
11959         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11960         declaration & definition that looks like a function declaration.
11961
11962 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11963
11964         * BufferView2.C (copy):
11965         (copyEnvironment): do not clear the selection when doing a copy.
11966
11967         * text.C (paintFirstRow): compilation fix
11968
11969 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11970
11971         * tabular.C (Latex): correct line count when writing latex.
11972
11973 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * paragraph_pimpl.h:
11976         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11977           bug a bit
11978
11979 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * text.C:
11982         * LColor.h:
11983         * LColor.C: change vfillline->added_space
11984
11985         * text.C: add markers and text for added space
11986
11987         * vspace.C: fix comment
11988
11989 2001-11-28  André Pönitz <poenitz@gmx.net>
11990
11991         * paragraph.C: whitespace changes
11992         * all the other files from the change on 2001/11/26:
11993         change *::pos_type into lyx::pos_type
11994
11995 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11996
11997         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11998         language of the document when inserting error insets.
11999
12000 2001-11-26  André Pönitz <poenitz@gmx.net>
12001
12002         * BufferView_pimpl.[Ch]:
12003         *       CutAndPaste.C:
12004         * buffer.[Ch]:
12005         * lyxcursor.[Ch]:
12006         * lyxfind.C:
12007         * lyxfunc.C:
12008         * lyxrow.[Ch]:
12009         * paragraph.[Ch]:
12010         * paragraph_pimpl.[Ch]:
12011         * sp_spell.C:
12012         * text.C:
12013         * text2.C: reduce header dependencies, introduce type for positions
12014
12015 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * <various>: change to use Alert.h
12018
12019 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12020
12021         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12022         when encountering an unknown token.
12023         (readLyXformat2): Show an error message if there were unknown tokens.
12024
12025 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * BufferView2.C:
12028         * BufferView_pimpl.C:
12029         * buffer.C:
12030         * paragraph.h:
12031         * text.C:
12032         * text2.C: use par->isInset()
12033
12034 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * paragraph_pimpl.h:
12037         * paragraph_pimpl.C: cleanup
12038
12039 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12040
12041         * text2.C (removeRow):
12042         * text.C (setHeightOfRow): remove useless (and costly) call to
12043         getRow.
12044
12045 2001-11-20  Allan Rae  <rae@lyx.org>
12046
12047         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12048         Now need Inset*::checkInsertChar() to return true for appropriate
12049         cases so that the characters in the minibuffer will actually be
12050         inserted.
12051
12052 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12053
12054         * text.C: change the order of the includes.
12055         (workWidth): initialize it at once.
12056         (workWidth): make maxw unsigned
12057         (setHeightOfRow): remove unused variable (inset)
12058         (selectSelectedWord): remove unused variable (inset)
12059         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12060
12061 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12062
12063         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12064         server is not running.
12065         (openConnection):
12066         (closeConnection): add debug info when server is disabled.
12067
12068         * ColorHandler.C (getGCForeground): send debug message to GUI
12069         channel.
12070
12071         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12072
12073         * kbmap.C (bind): modify because return conventions of
12074         kb_sequence::parse have changed.
12075
12076         * kbsequence.C (parse): only ignore spaces and not any stupid
12077         control character. This avoids tests like s[i] <= ' ', which are
12078         guaranteed to fail with 8bit characters and signed chars.
12079         Change return code to string::npos when there have been no error
12080         (0 was a bad idea when error is at first character)
12081
12082 2001-11-14  José Matos  <jamatos@fep.up.pt>
12083
12084         * buffer.h:
12085         * buffer.C (simpleDocBookOnePar): removed unused argument.
12086
12087 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12090         insets which are part of a word. Paragraph::isLetter takes care of
12091         that now. Use Paragraph::isInset to identify insets.
12092         (selectSelectedWord): do not test for hyphenation break.
12093
12094         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12095         that protected spaces are considered as spaces.
12096
12097         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12098         Inset::isLetter.
12099
12100 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12101
12102         * lyxserver.h:
12103         * lyxserver.C: fix it. and small cleanup.
12104
12105 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12106
12107         * BufferView_pimpl.C: use inline helpers
12108
12109         * LaTeXFeatures.h:
12110         * LaTeXFeatures.C: fix typos
12111
12112         * Spacing.h:
12113         * Spacing.C: move spacing_string into class
12114
12115         * ToolbarDefaults.C: move stuff into namespace anon
12116
12117         * layout.h: update enum
12118
12119         * lyxfunc.C: use better debug
12120
12121         * minibuffer.h: fix typo
12122
12123         * debug.h:
12124         * debug.C:
12125         * WorkArea.C: add and use Debug::WORKAREA
12126
12127         * lyxtext.h:
12128         * text.C:
12129         * text2.C: code re-organisation, inline helpers
12130
12131 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12132
12133         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12134         std::vector.empty().
12135
12136 2001-11-09  Allan Rae  <rae@lyx.org>
12137
12138         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12139         '\n's after tables.  Tabular and ERT inset work now makes this no
12140         longer necessary.
12141
12142 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * minibuffer.h:
12145         * minibuffer.C: fix crash, improve drop-down completion
12146
12147 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * lyxserver.h:
12150         * lyxserver.C: invalidate fd's when doing endPipe()
12151
12152 2001-11-08  José Matos  <jamatos@fep.up.pt>
12153
12154         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12155         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12156
12157         * paragraph.h:
12158         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12159
12160 2001-11-07  José Matos  <jamatos@fep.up.pt>
12161
12162         * buffer.h:
12163         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12164         const qualifier.
12165
12166         * buffer.C (sgmlOpenTag):
12167         * buffer.C (sgmlCloseTag): removed debug info.
12168
12169         * buffer.h (sgmlOpenTag):
12170         * buffer.h (sgmlCloseTag): made public.
12171
12172 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12173
12174         * buffer.C (saveParamsAsDefaults):
12175         * lyx_cb.C (MenuLayoutSave): remove
12176
12177         * LyXAction.C (init):
12178         * commandtags.h:
12179         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12180
12181 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12182
12183         * buffer.C (setPaperStuff): removed from here...
12184
12185         * bufferparams.C (setPaperStuff): ... and moved there.
12186
12187 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12188
12189         * minibuffer.h:
12190         * minibuffer.C:
12191         * XFormsView.C: add support for drop-down completion
12192
12193 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12194
12195         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12196         commands.
12197
12198 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12199
12200         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12201         disabled.
12202
12203 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * lyx_main.C: change ref to known bugs
12206
12207 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12208
12209         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12210         to work around older babel problems.
12211
12212 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12213
12214         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12215
12216 2001-10-24  Juergen Vigna  <jug@sad.it>
12217
12218         * tabular-old.C (ReadOld): below variable changes reflected.
12219
12220         * tabular.[Ch]: added ltType struct for longtable header/footer
12221         defines and changed all instances where they are used. Added
12222         future support for double top/bottom rows.
12223
12224 2001-10-24  José Matos  <jamatos@fep.up.pt>
12225
12226         * buffer.h (docbookHandleCaption):
12227         * buffer.C (docbookHandleCaption): removed unused function.
12228         (makeDocBookFile): moved docbook supported version to v4.1.
12229
12230 2001-10-24  José Matos  <jamatos@fep.up.pt>
12231
12232         * tabular.h:
12233         * tabular.C (docbookRow): new function to export docbook code of a row.
12234         (DocBook): now honors the longtable flags.
12235
12236 2001-10-23  José Matos  <jamatos@fep.up.pt>
12237
12238         * LaTeXFeatures.h:
12239         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12240         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12241
12242         * buffer.C (makeLinuxDocFile):
12243         (makeDocBookFile): reworked the preamble, more clean, and with
12244         support for lyx defined entities. Changed the document declaration
12245         to be more XML friendly.
12246
12247         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12248         if we need to output XML that should be done with a filter.
12249
12250 2001-10-22  Juergen Vigna  <jug@sad.it>
12251
12252         * sp_pspell.h (class PSpell): add alive function needed in the
12253         controller to see if the spellchecker could be started.
12254
12255 2001-10-22  Juergen Vigna  <jug@sad.it>
12256
12257         * buffer.C (insertStringAsLines): modify the font for inserting
12258         chars in certain conditions by calling checkInsertChar(font).
12259
12260 2001-10-19  Juergen Vigna  <jug@sad.it>
12261
12262         * text.C (workWidth): use getRow instead of wrong algorithm.
12263         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12264
12265 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * lyxserver.h:
12268         * lyxserver.C:
12269         * lyx_main.h:
12270         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12271
12272 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12273
12274         * text.C (workWidth): do not search for the exact row when
12275         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12276         optimization for big documents.
12277
12278 2001-10-18  Juergen Vigna  <jug@sad.it>
12279
12280         * text.C (workWidth): new function with added Inset * parameter.
12281
12282 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12285
12286         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12287         change return type of getColumnNearX.
12288
12289
12290         * text.C (changeRegionCase): use uppercase/lowercase instead of
12291         toupper/tolower.
12292         (leftMargin):
12293         (rightMargin): simplify code by factoring out the uses of
12294         textclasslist.
12295         (labelFill):
12296         (numberOfHfills):
12297         (setHeightOfRow):
12298         (appendParagraph): use Paragraph::size_type
12299
12300 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * vspace.C (asLatexString): add a missing break
12303
12304 2001-10-15  Herbert Voss  <voss@perce.de>
12305
12306         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12307
12308 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12309
12310         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12311         is not available.
12312
12313 2001-10-10  André Pönitz <poenitz@gmx.net>
12314
12315         * lyxfunc.C: removed greek_kb_flag.
12316
12317 2001-10-10  Herbert Voss  <voss@perce.de>
12318
12319         * lyx_main.C: delete global string help_lyxdir.
12320
12321 2001-10-09  Herbert Voss  <voss@perce.de>
12322
12323         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12324
12325         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12326
12327         * lyx_main.C: added global string help_lyxdir.
12328
12329         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12330
12331 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12332
12333         * lyxrc.C (set_font_norm_type): support iso8859-4
12334
12335 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12336
12337         * LaTeX.C (deplog): add another regex for MikTeX
12338
12339 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12340
12341         * lyxrc.C (set_font_norm_type): support iso8859-3
12342
12343 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12344
12345         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12346
12347         * LaTeXFeatures.C: remove special case of french and index
12348
12349         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12350         before \begin{document}). This solves several incompatibilities.
12351
12352 2001-10-03  Garst Reese  <reese@isn.net>
12353
12354         * lyx_cb.C: change CheckTex error msg.
12355
12356 2001-10-03  José Matos  <jamatos@fep.up.pt>
12357
12358         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12359
12360 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12361
12362         * .cvsignore: update
12363
12364         * lyx_main.C (commandLineVersionInfo): use new style version info.
12365
12366         * buffer.C (writeFile):
12367         (makeLaTeXFile):
12368         (makeLinuxDocFile):
12369         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12370
12371         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12372
12373         * version.h: update to use stuff in version.C
12374
12375         * version.C.in: new file. Contains version information determined
12376         at compile time. This is a merging of version.h and
12377         version_info.h.in.
12378
12379 2001-10-03  Juergen Vigna  <jug@sad.it>
12380
12381         * BufferView_pimpl.C (update): don't change "dirty" status in
12382         updateInset call.
12383
12384 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * WorkArea.C (c-tor): re-position version string slightly.
12387
12388 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12389
12390         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12391         revert to previous code.
12392
12393         WorkArea.[Ch]: (show, destroySplash): methods removed.
12394
12395         WorkArea.C: rework code so that it's an amalgam of the codes before and
12396         after the splash screen was moved to WorkArea.
12397
12398 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12399
12400         * lyxrc.C (read):
12401         * vspace.C (inPixels):
12402         (lyx_advance):
12403         * kbmap.C (bind):
12404         * buffer.C (insertStringAsLines):
12405         (asciiParagraph): fix types to be large enough
12406
12407         * lyxlex_pimpl.h: change member status from short to int
12408
12409         * layout.h: fix type of endlabeltype
12410
12411         * kbmap.C (bind):
12412         * kbsequence.C (parse): change return type to string::size_type
12413
12414         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12415         variable
12416
12417         * Bullet.C (bulletSize):
12418         (bulletEntry): do not use short ints as parameters
12419
12420         * BufferView2.C (insertLyXFile): change a char to an int.
12421
12422         * WorkArea.C (WorkArea): remove unneeded floats in computation
12423
12424 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12425
12426         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12427
12428         * paragraph.C (asString): Do not ignore newline/hfill chars when
12429         copying to the clipboard.
12430
12431 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12432
12433         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12434         after a multi-line inset.
12435
12436 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * paragraph.C (validate): Set NeedLyXFootnoteCode
12439
12440 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12441
12442         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12443         and decrease-error to decrease.
12444
12445 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12448         it more readable (should be equivalent)
12449
12450 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12451
12452         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12453
12454 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12457         of a cursor (row, etc.) after a character has been deleted
12458         (deleteEmptyParagraphMechanism): call the method above on _all_
12459         cursors held by the LyXText when a double space has been
12460         detected/deleted.
12461
12462 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12463
12464         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12465         pixmap.
12466         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12467
12468         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12469         background. Use greyOut() and the new show() methods to toggle between
12470         the foreground and background. Add code to remove the splash after
12471         its initial showing.
12472
12473         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12474         (create_forms): no longer call Dialogs::showSplash.
12475
12476 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12477
12478         * .cvsignore: add version_info.h
12479
12480 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12481
12482         * version_info.h.in: new file
12483
12484         * Makefile.am: add version_info.h.in
12485
12486         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12487         version_info.h instead of VERSION_INFO
12488
12489 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12490
12491         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12492         The ERT inset now returns string().
12493
12494 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12495
12496         * lyxtext.h, text.C (selectNextWord): renamed as
12497         selectNextWordToSpellcheck.
12498
12499         * text.C (selectNextWordToSpellcheck): Modified to not select
12500         words inside an ERT inset.
12501
12502 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12503
12504         * lyx_cb.C (MenuLayoutSave): change a bit the question
12505
12506         * sp_base.h: include <sys/types.h>
12507
12508 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12509
12510         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12511
12512 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12513
12514         * several files: fix typos in user-visible strings
12515
12516 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12517
12518         * text2.C (pasteSelection): do not set the selection, since it
12519         will be cleared later. Actually, the intent was to fix the way the
12520         selection was set, but I figured rmoving the code was just as good.
12521
12522 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12523
12524         * FontLoader.C (available): Check if font is available without
12525         loading the font.
12526
12527 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12528
12529         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12530
12531 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12532
12533         * lyxrc.[Ch]: added display_graphics variable and associated code.
12534
12535 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12536
12537         * bufferparams.C (hasClassDefaults): new method. Returns true if
12538         the buffer parameters correspond to known class defaults
12539
12540 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * XFormsView.C (show): set minimum size to the main window.
12543
12544 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12545
12546         * text2.C (copySelection):
12547         (cutSelection):
12548         * lyxfind.C (LyXReplace):
12549         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12550         LyXText::selectionAsString.
12551
12552         * paragraph.C (asString): add "label" argument to the second form
12553
12554         * text2.C (selectionAsString): add "label" argument and pass it to
12555         Paragraph::asString.
12556
12557 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12558
12559         * lyx_main.C (commandLineHelp): remove version information
12560
12561 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12562
12563         * lyx_main.C: add -version commandline option
12564
12565 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * paragraph.h: make the optional constructor arg required instead.
12568         some modifications to other files because of this.
12569
12570         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12571
12572         * lyxserver.C (C_LyXComm_callback): make it static
12573
12574         * lyx_main.C (error_handler): make it static
12575
12576         * lyx_gui.C (LyX_XErrHandler): make it static
12577
12578         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12579
12580         * WorkArea.C: make the extern "C" methods static.
12581
12582         * Makefile.am (lyx_LDADD): simplify
12583
12584 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12585
12586         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12587         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12588
12589         * LyXAction.C (init):
12590         * lyxfunc.C (dispatch): associated code removal.
12591
12592 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12593
12594         * lyxfont.h (isSymbolFont): shut off warning
12595
12596         * text.C (setHeightOfRow):
12597         (getVisibleRow): fix crash with empty paragraphs which have a
12598         bottom line
12599
12600 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12601
12602         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12603         code.
12604
12605 2001-09-04  José Matos  <jamatos@fep.up.pt>
12606         * buffer.C
12607         * buffer.h
12608         * tabular.C (docbook): rename docBook method to docbook.
12609
12610 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12611
12612         * Makefile.am: add dependencies to main.o.
12613
12614 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12615
12616         * FontLoader.C (available): Return false if !lyxrc.use_gui
12617
12618 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12619
12620         * FontInfo.C (query):
12621         * converter.C (view):
12622         * importer.C (Import):
12623         * exporter.C (Export): Can not -> cannot.
12624
12625 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * BufferView_pimpl.C: allow to create index inset even if
12628           string is empty
12629
12630 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12631
12632         * buffer.C (getLists): replace boost::tie code with an explicit pair
12633         as boost::tie can break some compilers.
12634
12635         * iterators.h: Added a std:: declaration to the return type of
12636         ParIterator::size.
12637
12638 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12641           case.
12642
12643 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12644
12645         * iterators.[Ch]: New files. Provide paragraph iterators.
12646
12647         * buffer.C (changeLanguage): Use paragraph iterators.
12648         (isMultiLingual): ditto
12649
12650         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12651
12652 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12653
12654         * FontLoader.C: Support for cmr font.
12655
12656 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12657
12658         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12659         (available): New method.
12660
12661         * FontInfo.C (getFontname): Use scalable fonts even when
12662         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12663         found.
12664
12665 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12666
12667         * converter.C (Formats::view): reverted! Incorrect fix.
12668
12669 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12670
12671         * converter.C (Formats::view): only output the -paper option
12672         if the dvi viewer is xdvi, thereby fixing bug #233429.
12673
12674 2001-08-23  Herbert Voss  <voss@perce>
12675
12676         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12677
12678 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12679
12680         * Spacing.h (Spacing): Set space to Default on in the default
12681         constructor.
12682
12683 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12684
12685         * vc-backend.h (RCS::versionString): add RCS to version
12686         (CVS::versionString): add CVS to version
12687
12688         * vc-backend.C (scanMaster): do not add CVS to version.
12689         (scanMaster): do not add RCS to version
12690
12691         * lyxvc.C (versionString): new method
12692
12693         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12694
12695 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * Spacing.C (set): initialize fval
12698
12699 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12700
12701         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12702         " or \.
12703
12704 2001-08-16  Juergen Vigna  <jug@sad.it>
12705
12706         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12707
12708 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * BufferView_pimpl.C:
12711         * figureForm.C:
12712         * lyxtext.h:
12713         * text2.C: setParagraph takes linespacing now
12714
12715 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * LyxAction.C: add internal LFUN_CITATION_INSERT
12718
12719         * LyXView.C: actually apply fix
12720
12721         * bufferlist.C: fix open non-existent file
12722
12723         * lyxfind.C: fix indentation
12724
12725         * lyxfunc.C: remove unneeded assert, fix typo
12726
12727 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * MenuBackend.C: use "Floatname List"
12730
12731 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12732
12733         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12734         when converting LaTeX layout to insetERT.
12735         Generate a non-collapsed float when reading old float
12736
12737 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12738
12739         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12740         ERT insets.
12741
12742 2001-08-13  Juergen Vigna  <jug@sad.it>
12743
12744         * text.C (fill): return 0 instead of 20 as this seems to be the more
12745         correct value.
12746
12747 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12748
12749         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12750         lyxrc.font_norm.
12751
12752 2001-08-13  Juergen Vigna  <jug@sad.it>
12753
12754         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12755         casesensitive off.
12756         (SearchBackward): comment out the unlocking of the inset_owner this
12757         should not be needed!
12758
12759 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12760
12761         * Many files: Remove inherit_language, and add latex_language
12762
12763         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12764         collapsible insets.
12765
12766 2001-08-10  Juergen Vigna  <jug@sad.it>
12767
12768         * text.C (prepareToPrint): fixed hfill-width in draw!
12769
12770         * BufferView2.C (selectLastWord): save the selection cursor as this
12771         now is cleared in the function LyXText::clearSelection!
12772
12773 2001-08-08  Juergen Vigna  <jug@sad.it>
12774
12775         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12776         BACKSPACE type functions.
12777
12778         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12779         is only cutted from the document but not put in the cut-buffer, where
12780         still the old stuff should be.
12781
12782         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12783
12784         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12785
12786         * tabular.C (SetWidthOfCell): fixed special case where the width
12787         was not updated!
12788         (LeftLine): handle '|' in align_special.
12789         (RightLine): ditto
12790         (LeftAlreadyDrawed): ditto
12791         (SetWidthOfCell): ditto
12792
12793 2001-08-07  Juergen Vigna  <jug@sad.it>
12794
12795         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12796
12797 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12798
12799         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12800         * lyxlex.[hC]: ditto
12801
12802 2001-08-06  Juergen Vigna  <jug@sad.it>
12803
12804         * text.C (getVisibleRow): fix up row clearing a bit.
12805
12806 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12807
12808         * minibuffer.C: make sure the X server sees the changes in the input.
12809
12810 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * paragraph.C (getFont): split into...
12813         (getLabelFont): this
12814         (getLayoutFont): and this
12815         * paragraph_pimpl.C (realizeFont): calling this
12816
12817         * text2.C (getFont): split into...
12818         (getLayoutFont): this
12819         (getLabelFont): and this
12820         (realizeFont): all three calling this
12821
12822         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12823         files where used.
12824
12825 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12826
12827         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12828
12829 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12830
12831         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12832         layouts from the Quote inset insertion.
12833
12834 2001-08-03  Juergen Vigna  <jug@sad.it>
12835
12836         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12837
12838         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12839         only if status not is already CHANGED_IN_DRAW (second level).
12840
12841         * text.C (draw): don't set the need_break_row when inside an
12842         InsetText LyXText.
12843
12844 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * buffer.C (parseSingleLyXformat2Token): handle more latex
12847         conversion cases.
12848
12849         * bufferview_funcs.[hC]: change function names to
12850         begin with small char, adjust other files.
12851
12852 2001-08-02  André Pönitz <poenitz@gmx.net>
12853
12854         * lyxfunc.C:
12855         BufferView_pimpl.C: remove broken special code for math-greek
12856
12857 2001-08-02  Juergen Vigna  <jug@sad.it>
12858
12859         * BufferView_pimpl.C (update): redone this function so that we
12860         update the text again if there was a CHANGE_IN_DRAW.
12861
12862         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12863         (drawFromTo): added a new internal bool which is used by draw() and
12864         redraw() function.
12865         (general): some cursor drawing problems fixed.
12866
12867 2001-08-01  Juergen Vigna  <jug@sad.it>
12868
12869         * lyxfind.C (LyXFind): fixed
12870         (SearchForward): ditto
12871         (SearchBackward): ditto
12872
12873         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12874         spurius drawing of the cursor in the main area.
12875
12876         * text2.C (status): small fix which could lead to a segfault!
12877         (clearSelection): remove unneeded BufferView param.
12878
12879 2001-08-01  André Pönitz <poenitz@gmx.net>
12880
12881         * lyxfunc.C: small change due to changed mathed interface
12882
12883 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12884
12885         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12886
12887 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12888
12889         * lyxfunc.c: fail gracefully if file doesn't exist
12890
12891         * LyXSendto.C:
12892         * buffer.C:
12893         * lyxfunc.C:
12894         * BufferView_pimpl.C: IsDirWriteable() proto changed
12895
12896         * LyXView.C: fix updateWindowTitle() to store the last title
12897
12898 2001-07-31  Juergen Vigna  <jug@sad.it>
12899
12900         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12901         the font (wrong since using of Paragraph::highestFontInRange).
12902
12903         * paragraph.C (highestFontInRange): added a default_size parameter.
12904
12905         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12906         (setHeightOfRow): reformat
12907
12908 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * converter.[hC] + affected files: move to (inital-char)lowercase
12911         function names.
12912
12913         * ParagraphParameters.C (ParagraphParameters): remove commented code
12914
12915         * PainterBase.[Ch]: remove commented code
12916
12917         * LaTeXFeatures.h: add "bool floats" for float.sty
12918
12919         * LaTeXFeatures.C (LaTeXFeatures): init floats
12920         (require): handle float
12921         (getPackages): do it with floats
12922
12923 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12924
12925         * BufferView_pimpl.C (Dispatch): improve handling of
12926         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12927
12928         * commandtags.h: #include lyxfont.h here temporarily to avoid
12929         keybinding bug.
12930
12931         * bufferlist.h: include LString.h here.
12932
12933 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12934
12935         * text2.C (getStringToIndex): new method.
12936
12937 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12938
12939         * *: Reduced header file dependencies all over.
12940
12941 2001-07-30  Baruch Even  <baruch@lyx.org>
12942
12943         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12944
12945 2001-07-29  Baruch Even  <baruch@lyx.org>
12946
12947         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12948
12949 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * ParameterStruct.h (endif): add a default constructor to make
12952         sure that all variables is initialized.
12953
12954         * ParagraphParameters.C (ParagraphParameters): adjust
12955
12956 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12957
12958         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12959         index; also, check that there is something to index, and that it
12960         does not span over several paragraphs.
12961         (doubleClick): use WHOLE_WORD_STRICT for double click.
12962
12963         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12964
12965         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12966         scheme.
12967
12968 2001-07-26  Baruch Even  <baruch@lyx.org>
12969
12970         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12971         an InsetFig figure, backwards compatible reading of old figure code.
12972
12973 2001-07-27  Juergen Vigna  <jug@sad.it>
12974
12975         * text2.C: font.realize function adaption.
12976
12977         * text.C (draw): add a warnings lyxerr text if needed.
12978
12979         * layout.C: font.realize function adaption.
12980
12981         * language.C: add inherit_language and implement it's handlings
12982
12983         * bufferview_funcs.C (StyleReset): remove language parameter from
12984         font creation (should be language_inherit now).
12985
12986         * bufferparams.C (writeFile): handle ignore_language.
12987
12988         * paragraph.C (getFontSettings): the language has to be resolved
12989         otherwise we have problems in LyXFont!
12990
12991         * lyxfont.C (lyxWriteChanges): added document_language parameter
12992         (update): removed unneeded language parameter
12993
12994         * paragraph.C (validate): fixed wrong output of color-package when
12995         using interface colors for certain fonts in certain environments,
12996         which should not seen as that on the final output.
12997
12998 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * BufferView_pimpl.C:
13001         * Thesaurus.h:
13002         * Thesaurus.C:
13003         * Makefile.am:
13004         * commandtags.h:
13005         * LyXAction.C: add thesaurus support
13006
13007         * lyxfind.h:
13008         * lyxfind.C: add "once" parameter, for thesaurus, to not
13009           move to the next match
13010
13011 2001-07-26  Juergen Vigna  <jug@sad.it>
13012
13013         * lyxfont.C (realize): honor ignore_language too!
13014         (resolved): ditto.
13015
13016         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13017
13018         * text.C (draw): one place more for ignore_language to not draw
13019         itself!
13020
13021 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13022
13023         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13024
13025 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13028         the minipage conversion problem.
13029
13030 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13033         insert an inset.
13034
13035 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13036
13037         * BufferView.h: don't forward declare WorkArea
13038
13039         * BufferView.C: don't include WorkArea.h
13040
13041 2001-07-25  André Pönitz <poenitz@gmx.net>
13042
13043         * commandtags.h:
13044         * LyXAction.C:
13045         * lyxfunc.C:  new LFUN 'math-space'
13046
13047         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13048
13049 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13050
13051         * text2.C (toggleInset): call open/close
13052
13053 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * lyxfunc.C (dispatch): add debug for the disabled case
13056
13057         * font.C (buttonText): make similar to rectText
13058
13059         * buffer.C (readInset): comment out parsing of insetlist and
13060         insttheorem
13061
13062         * PainterBase.C (rectText): small correction
13063
13064         * BufferView_pimpl.C: comment out insettheorem and insetlist
13065         * LyXAction.C: ditto
13066         * commandtags.h: ditto
13067
13068 2001-07-24  Juergen Vigna  <jug@sad.it>
13069
13070         * text.C (draw): honor the ignore_language.
13071
13072         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13073
13074 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13077         char inset.
13078
13079 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13080
13081         * lyxtext.h: remove unused (and unimplemented) methods
13082
13083 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13084
13085         * text.C (getVisibleRow): honor background color
13086
13087         * PainterBase.h:
13088         * Painter.h: remove default color argument for fillRectangle
13089
13090         * text.C (backgroundColor): new method
13091
13092 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * text.C (getVisibleRow): adjust
13095
13096         * font.[Ch] (rectText): new method, metrics
13097         (buttonText): new method, metrics
13098
13099         * PainterBase.[hC]: make rectText and buttonText always draw and take
13100         fewer paramteres.
13101
13102 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13103
13104         * ToolbarDefaults.C (read):
13105         * MenuBackend.C (read): allow escaping in all strings
13106
13107         * BufferView_pimpl.C (insertAndEditInset): new method.
13108         (Dispatch): use insertAndEditInset whenever appropriate.
13109
13110         * BufferView_pimpl.C (insertNote): removed
13111
13112         * BufferView_pimpl.C (smartQuote): new method, moved from
13113         BufferView; if an insetquote cannot be inserted, insert a '"'
13114         character instead.
13115
13116         * BufferView2.C: remove insertCorrectQuote();
13117
13118         * lyxfunc.C (getStatus): Add support for all remaingin
13119         inset-insert lfuns.
13120
13121         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13122
13123         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13124         command (necessary to pass " as parameter of self-insert.
13125
13126         * text.C (selectWordWhenUnderCursor):
13127         (selectWord): add word_location parameter
13128         (selectWordWhenUnderCursor): same + remove special code for word
13129         boundary.
13130         (selectNextWord): use kind() to guess type of insetspecialchar,
13131         not latex().
13132
13133         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13134         (insertErtContents): create ert insets as collapsed.
13135         (readInset): better compatibility code for Info inset.
13136
13137 2001-07-20  Juergen Vigna  <jug@sad.it>
13138
13139         * lyxfunc.C (dispatch): use always LyXFind now!
13140
13141         * text2.C (init): add a reinit flag so that the LyXText can be
13142         reinited instead of deleted and reallocated (used in InsetText).
13143
13144         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13145
13146         * text.C: ditto
13147
13148         * text2.C: ditto
13149
13150 2001-07-18  Juergen Vigna  <jug@sad.it>
13151
13152         * text.C (selectNextWord): handle insets inside inset by calling
13153         always the bv->text functions so that we can go up the_locking_inset!
13154
13155         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13156         in strange locations when inside an inset!
13157
13158         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13159         handling to include insets.
13160
13161         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13162
13163 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * LyXAction.C (init):
13166         * commandtags.h:
13167         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13168         LIGATURE_BREAK, since the name is so stupid.
13169
13170 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13171
13172         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13173         InsetInfos.
13174
13175         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13176
13177         * sp_form.[Ch]: remove.
13178
13179         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13180
13181         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13182         InsetInfo.
13183
13184         * src/buffer.C (readInset): ditto.
13185
13186 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13187
13188         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13189         menuSeparator(), endOfSentenceDot(), ldots() and
13190         hyphenationPoint(), which are therefore removed.
13191         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13192
13193         * LyXAction.C (init):
13194         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13195
13196         * paragraph.C (getWord): removed.
13197
13198         * BufferView_pimpl.C (Dispatch): use last word or selection for
13199         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13200
13201         * lyx_main.C (queryUserLyXDir): do not ask before creating
13202         user_dir, except if it has been named explicitely.
13203
13204 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13207         a document of zero size.
13208
13209 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13210
13211         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13212         approriately in the c-tor and in require().
13213         (getPackages): output the appropriate LaTeX for natbib support.
13214
13215         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13216         variables "use_natbib" and "use_numerical_citations" when reading the
13217         LyX file.
13218         (readInset): read the various natbib cite commands.
13219         (validate): white-space change.
13220
13221         * bufferparams.[Ch]: new variables "bool use_natbib" and
13222         "bool use_numerical_citations".
13223         (writeFile): output them in the LyX file.
13224
13225 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13226
13227         * lyxfunc.C (getStatus): add support for all the inset insertion
13228         commands.
13229
13230         * text2.C (insertInset):
13231         * paragraph.C (insetAllowed):
13232         * BufferView_pimpl.C (insertInset): update to take in account the
13233         renaming of insertInsetAllowed
13234
13235         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13236
13237         * text2.C (getInset): new method. returns inset at cursor position.
13238
13239         * BufferView_pimpl.C (Dispatch): changes because of this.
13240
13241         * LyXAction.C (init): rename open-stuff to inset-toggle.
13242
13243         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13244
13245         * text2.C (toggleInset): renamed from openStuff; use
13246         Inset::open().
13247
13248 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13249
13250         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13251
13252         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13253
13254 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13255
13256         * buffer.C (readLyXformat2): Add filename to the error dialog
13257
13258 2001-07-18  Juergen Vigna  <jug@sad.it>
13259
13260         * tabular.C (GetCellNumber): put an assert here instead of the check!
13261
13262 2001-07-17  Juergen Vigna  <jug@sad.it>
13263
13264         * BufferView_pimpl.C (toggleSelection): adapted too.
13265
13266         * text.C (selectNextWord): adapted for use with insets.
13267         (selectSelectedWord): ditto
13268
13269 2001-07-17  Juergen Vigna  <jug@sad.it>
13270
13271         * sp_spell.C (PSpell): fix initialitation order.
13272
13273 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13274
13275         * paragraph.C: spacing
13276
13277 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13278
13279         * sp_spell.C: repair language selection for pspell
13280
13281 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * lyxfunc.h: change more methods to begin with lower char.
13284
13285 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13286
13287         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13288         for unknown layouts.
13289
13290 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13291
13292         * buffer.C (readLyXformat2): Generate an error dialog if there are
13293         unknown layouts.
13294
13295 2001-07-16  Juergen Vigna  <jug@sad.it>
13296
13297         * sp_spell.C: always compile ISpell part.
13298
13299         * lyxrc.C: added use_pspell entry and it's handling.
13300
13301 2001-07-13  Juergen Vigna  <jug@sad.it>
13302
13303         * sp_spell.C: removed double includes.
13304
13305 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13306
13307         Consistent use of Lsstream.h:
13308         * Lsstream.h: added using std::stringstream for consistencies sake.
13309
13310         * buffer.C: removed using std::stringstream
13311
13312         * lyxfont.C (stateText):
13313         * paragraph.C (asString):
13314         * text.C (selectNextWord, selectSelectedWord):
13315         * text2.C (setCounter):
13316         * vspace.C (asString, asLatexString):
13317         std::ostringstream -> ostringstream.
13318
13319 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13320
13321         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13322         * commandtags.h: add LFUN_HELP_ABOUTLYX
13323         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13324
13325 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13326
13327         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13328         cursorToggle()
13329         * lyx_gui_misc.C: remove spellchecker
13330         * lyxfunc.C: showSpellchecker
13331         * sp_base.h: added
13332         * sp_ispell.h: added
13333         * sp_pspell.h: added
13334         * sp_spell.C: added
13335         * sp_form.[Ch]: removed
13336         * spellchecker.[Ch]: removed
13337
13338 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13339
13340         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13341         is set.
13342         (simpleTeXSpecialChars): Simply print the input character without
13343         any special translation if pass_thru is set.
13344
13345         * layout.h: Added bool pass_thru to layout class for being able to
13346         implement pass through of a paragraph for Literate Programming.
13347
13348         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13349         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13350         * layout.C (Read): add "passthru" to list of layout tags and add
13351         code to set the pass_thru boolean when it is read.
13352
13353 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * trans_decl.h: remove allowed from KmodInfo
13356
13357         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13358         remove allowed code
13359         (Load): adjust
13360
13361         * paragraph_pimpl.C (erase): use boost::prior
13362
13363         * Painter.C (text): use data() instead of c_str() when length is
13364         also provided.
13365         * WorkArea.C (putClipboard): ditto
13366         * font.h (width): ditto
13367
13368         * BufferView2.C: use it-> instead of (*it). for iterators
13369         * texrow.C: ditto
13370         * paragraph_pimpl.C: ditto
13371         * paragraph.C: ditto
13372         * minibuffer.C: ditto
13373         * language.C: ditto
13374         * kbmap.C: ditto
13375         * encoding.C: ditto
13376         * counters.C: ditto
13377         * converter.C: ditto
13378         * chset.C: ditto
13379         * Variables.C: ditto
13380         * TextCache.C: ditto
13381         * MenuBackend.C: ditto
13382         * LyXAction.C: ditto
13383         * LColor.C: ditto
13384         * FloatList.C: ditto
13385         * DepTable.C: ditto
13386         * ColorHandler.C (LyXColorHandler): ditto
13387
13388 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13389
13390         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13391
13392         * text2.C (openStuff): reintroduce this method (which had been
13393         nuked in NEW_INSETS frenzy).
13394
13395         * lyxfunc.C (Dispatch): when an action has not been handled, use
13396         its name in the error message, not its number.
13397
13398         * paragraph.C (inInset): change method name to begin with lowercase.
13399
13400         * undo_funcs.C:
13401         * text2.C: updates because of this.
13402
13403 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13404
13405         * ToolbarDefaults.C (add): add spaces in error message
13406
13407 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13408
13409         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13410         (readLyXformat2): rename return_par to first_par, use lyxlex's
13411         pushToken and remove the manual push handling.
13412         (parseSingleLyXformat2Token): add another ert comp. variable:
13413         in_tabular, rename return_par to first_par. handle newlines better
13414
13415 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13418
13419 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * text2.C (getParFromID): removed
13422
13423         * buffer.C (getParFromID): new method moved form lyxtext.
13424         * BufferView2.C (insertErrors): adjust
13425         (setCursorFromRow): adjust
13426         * BufferView_pimpl.C (restorePosition): adjust
13427         * lyxfunc.C (Dispatch): adjust
13428         * undo_funcs.C (textUndo): adjust
13429         (textRedo): adjust
13430         (textHandleUndo): adjust
13431         (textHandleUndo): adjust
13432
13433 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13434
13435         * buffer.C: up' the LYX_FORMAT
13436
13437         * lyxfont.h: turn NO_LATEX on as default
13438
13439         * buffer.C (insertErtContents): new methods of tex style compability.
13440         (parseSingleLyXformat2Token): use it several places.
13441         * tabular.C (OldFormatRead): and here
13442
13443 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13444
13445         * text2.C: remove some commented code.
13446         reindent file.
13447
13448         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13449         * trans.C: changes because of the above.
13450
13451 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13452
13453         * text2.C (setCounter): Fix counters bug with bibliography layout.
13454
13455 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13456
13457         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13458         own member functions
13459         (simpleTeXSpecialChars): ditto
13460
13461 2001-07-06  Juergen Vigna  <jug@sad.it>
13462
13463         * a lot of files: changed the access to LyXText::status and the
13464         call of undo-functions.
13465
13466         * undo.[Ch]: added a inset_id to the undo informations.
13467
13468         * undo_funcs.[Ch]: added and moved here all undo functions.
13469
13470         * lyxtext.h: give the status enum a weight, made status_ a private
13471         variable and made accessor functions for it, removed the whole bunch
13472         of undo-functions as they are now in their own file, make some
13473         functions publically available. Added function ownerParagraph with
13474         int parameter.
13475
13476         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13477         made InInset() a const function, added getParFromID() function.
13478
13479         * buffer.[Ch]: added const version for inset_iterator functions,
13480         added getInsetFromID() function.
13481
13482         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13483         changed undo functions for new version.
13484
13485 2001-07-05  Juergen Vigna  <jug@sad.it>
13486
13487         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13488         unknow mechanism does not call the proper constructor but only this
13489         one also if I request the other!?
13490
13491 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13494
13495         * text2.C (LyXText): use initialization lists.
13496
13497         * lyxtext.h (Selection): initialize set_ and mark_
13498         (init): remove method
13499
13500 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13501
13502         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13503
13504 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13505
13506         * screen.[Ch]: change method names to begin with lowercase
13507
13508         * BufferView_pimpl.C (updateScrollbar): simplify further and
13509         hopefully make it a bit faster.
13510
13511 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13514         calling directly xforms functions.
13515
13516         * Painter.C (Painter):
13517         * lyx_cb.C (MenuWrite):
13518         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13519         fl_display.
13520
13521         * lyx_gui.C: remove bogus guiruntime extern declaration.
13522
13523 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13524
13525         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13526         in NEW_INSETS
13527         (redoDrawingOfParagraph): ditto
13528         (redoParagraphs): ditto
13529         (cutSelection): don't create a object for CutAndPaste use the
13530         static method directly
13531         (pasteSelection): ditto
13532
13533         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13534         LyXview (+ rename)
13535
13536 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13537
13538         * modifications to some other files because of this.
13539
13540         * Makefile.am (lyx_SOURCES): add XFormsView
13541
13542         * XFormsView.[Ch]: new files
13543
13544         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13545         the main window. Move the gui dependent stuff to XFormsView
13546
13547 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13548
13549         * tabular.C (GetCellInset): update cur_cell also in the row/col
13550         version of this function.
13551
13552         * lyxfunc.C: no need to include figure_form.h here.
13553
13554         * FontLoader.h:
13555         * lyxfunc.h:
13556         * lyxscreen.h:
13557         * text2.C:
13558         * lyxvc.C: no need to include forms.h here.
13559
13560 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13563
13564         * lyxfunc.C (Dispatch):
13565         * Spacing.C (set):
13566         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13567         constructor argument.
13568
13569 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13570
13571         * paragraph.C (Paragraph): dont't clear, and just set layout.
13572         (makeSameLayout): use params's copy contructor.
13573
13574         * ParagraphParameters.[Ch] (makeSame): delete method
13575
13576 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * Variables.[Ch]: fix indentation, rename set to isSet
13579
13580 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13581
13582         * lyxfunc.C (Dispatch): fix typo
13583
13584 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13585
13586         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13587         upper_bound.
13588
13589         * bufferlist.C: include assert.h for emergencyWrite().
13590
13591 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13592
13593         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13594           give up at last (bug #425202) !
13595
13596 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13597
13598         * lyx_gui_misc.C:
13599         * sp_form.h:
13600         * sp_form.C:
13601         * spellchecker.h:
13602         * spellchecker.C: strip spellchecker options and bring up
13603           preferences tab instead
13604
13605 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13606
13607         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13608         the istringstream constructor
13609
13610 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * paragraph.C (getLayout): fix return value
13613
13614         * paragraph.h: do not declare getLayout as inline.
13615
13616         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13617
13618 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * lyxcursor.h (operator<): new func
13621         (operator>): new func
13622         (operator>=): new func
13623         (operator<=): new func
13624
13625         * text.C (changeCase): use selection.start and selection.end
13626         (changeRegionCase): require from to be <= to. Require par to be a
13627         valid paragraph.
13628
13629         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13630
13631 2001-06-27  Juergen Vigna  <jug@sad.it>
13632
13633         * text.C (cursorLeftOneWord): changed to return the cursor and added
13634         overlay with BufferView * parameter which calls this one.
13635         (getWord): added
13636         (selectWord): use new getWord function.
13637         (changeCase): renamed from changeWordCase as and extended to work
13638         also on selections.
13639
13640         * lyxtext.h: added enum word_location
13641
13642         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13643         changeCase as this operates now also on selections.
13644
13645 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13646
13647         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13648
13649         * many files: send debug output to Debug::INFO instead of
13650         Debug::ANY.
13651
13652         * converter.C (View):
13653         (Convert):
13654         (Move): send debug output to Debug::FILES instead of console.
13655
13656 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13657
13658         * lyxfunc.C (getStatus): use func_status
13659
13660         * func_status.h: new header, describing the results of
13661         LyXFunc::getStatus;
13662
13663         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13664         LFUN_MATH_HALIGN.
13665
13666 2001-06-25  The LyX Project  <jug@sad.it>
13667
13668         * buffer.C (sgmlOpenTag):
13669         (sgmlCloseTag):
13670         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13671
13672 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * text2.C: remove some dead code
13675
13676         * tabular.C (GetCellInset): store the last cell checked (gotten)
13677
13678         * tabular.h: add the helper for the speedup
13679
13680         * lyxtext.h: remove some dead code
13681
13682 2001-06-26  The LyX Project  <Asger>
13683
13684         * paragraph.C: Change export to LaTeX of alignment to
13685         \begin{center} and family for better roundtrip work with reLyX.
13686
13687         * Tune the math drawing a bit.
13688
13689 2001-06-25  The LyX Project  <Asger>
13690
13691         * LColor.C (LColor): New color for math background. New color
13692         for buttons.
13693
13694 2001-06-25  The LyX Project  <jug@sad.it>
13695
13696         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13697
13698         * lyxfunc.C (Open):
13699         * bufferlist.C (newFile): do not restrict to files ending with
13700         .lyx
13701
13702         * BufferView_pimpl.C (MenuInsertLyXFile):
13703
13704 2001-06-24  The LyX Project  <jug@sad.it>
13705
13706         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13707         of compare_no_case
13708
13709 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13710
13711         * lyxtext.h: rename most methods to begin with a small char.
13712         Lots of changes because of this.
13713
13714         * paragraph.C (Paragraph): do not call fitToSize
13715         (erase): call Pimpl::erase
13716         (insertChar): call Pimpl::insertChar
13717         (insertInset): call Pipl::insertInset
13718         (breakParagraph): do not call fitToSize
13719         (breakParagraphConservative): do not call fitToSize
13720         (fitToSize): remove method
13721
13722         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13723
13724 2001-06-24  The LyX Project  <Asger>
13725
13726         * Fix Qt compilation^2
13727
13728 2001-06-24  The LyX Project  <jug@sad.it>
13729
13730         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13731         depthHook(getDepth()-1).
13732
13733         * paragraph.h:
13734         * ParagraphParameters.h:
13735         * ParameterStruct.h: change type of depth to unsigned int ==
13736         depth_type. Many adaptations to other files before of that.
13737
13738 2001-06-24  The LyX Project  <Asger>
13739
13740         * Fix Qt compilation.
13741
13742 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * paragraph.h: renamed several methods to begin with small letter.
13745         several changes to many parts of the code because of this.
13746
13747 2001-06-23  The LyX Project  <jug@sad.it>
13748
13749         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13750         rewritten to discard all double spaces when KeepEmpty is off
13751         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13752         to only handle newlines but not fiddle with spaces and friends.
13753
13754         * lyxfunc.C (MenuNew): when doing 'new from template', use
13755         template_path as default directory
13756
13757 2001-06-23  The LyX Project  <Asger>
13758
13759         * Clean-up of header file includes all over
13760         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13761
13762 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * paragraph.h: renamed from lyxparagraph.h
13765
13766 2001-06-23  Asger  <lyx@violet.home.sad.it>
13767
13768         * Buffer.h: Removed Buffer::resize
13769         * BufferList.h: Removed BufferList::resize
13770         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13771         the document lazily when we change the width, or the font settings.
13772
13773 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13774
13775         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13776
13777 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13778
13779         * buffer.h: remove out of date comment
13780
13781 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * lyxscreen.h:
13784         * screen.C: fix "theoretical" GC leak
13785
13786 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * LaTeX.C (scanAuxFile):
13789         (deplog): remove trailing \r when reading stream (useful under
13790         win32)
13791
13792 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13793
13794         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13795         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13796         and BufferView::theLockingInset(Inset*), so should use them and not
13797         access bv_->text->the_locking_inset directly.
13798
13799         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13800
13801 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13802
13803         * Makefile.am:
13804         * tex-defs.h: remove old unused file
13805
13806 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13807
13808         * BufferView_pimpl.C: fix typo, remove minibuffer message
13809           when buffer has loaded
13810
13811 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13812
13813         * lyxfunc.C (Dispatch): use stringstream
13814         (MenuNew): use stringstream
13815         (Open): use stringstream
13816
13817         * importer.C (Import): use stringstream
13818
13819         * bufferview_funcs.C (CurrentState): use stringstream
13820
13821         * LaTeX.C (run): use stringstream
13822
13823         * BufferView_pimpl.C (savePosition): use stringstream
13824         (restorePosition): use stringstream
13825         (MenuInsertLyXFile): use stringstream
13826
13827 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13828
13829         * BufferView.C:
13830         * Bullet.C:
13831         * ColorHandler.C:
13832         * FontInfo.C:
13833         * FontLoader.C:
13834         * LColor.C:
13835         * LaTeXFeatures.C:
13836         * Painter.C:
13837         * gettext.C:
13838         * lyx_gui_misc.C:
13839         * lyxserver.C:
13840         * vspace.C: removed // -*- C++ -*- as first line.
13841
13842         * lyxfind.h:
13843         * version.h: added // -*- C++ -*- as first line.
13844
13845 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13846
13847         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13848
13849         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13850         of string
13851
13852 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13855         of floats.
13856
13857 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * gettext.C: include LString.h even when --disable-nls is on.
13860
13861 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13862
13863         * converter.h (Get): changed argument type from int to
13864         FormatList::size_type to avoid unnecessary conversion.
13865
13866         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13867         before using it.
13868
13869 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * gettext.h: include LString.h even when --disable-nls is on.
13872
13873 2001-06-07  Juergen Vigna  <jug@sad.it>
13874
13875         * text.C (BreakAgain): subst spaces with tabs.
13876
13877         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13878         (resizeInsetsLyXText): set force on resizeLyXText.
13879
13880 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * gettext.h (gettext_init):
13883         (locale_init): use a real definition instead of a macro
13884
13885 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13886
13887         * Bufferview_pimpl.C:
13888         * LColor.h:
13889         * LColor.C: further lcolor tidies
13890
13891 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13892
13893         * BufferView_pimpl.C (updateScrollbar): simplify.
13894
13895         * BufferView2.C: don't include insets/insetinfo.h, change
13896         prototype for insertInset and call the Pimpl version. let
13897         updateInset call Pimpl version.
13898
13899         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13900         gotoInset to BufferView::Pimpl
13901
13902 2001-06-01  Juergen Vigna  <jug@sad.it>
13903
13904         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13905         inside a LockingInset (is the update needed at all?).
13906
13907 2001-05-31  Juergen Vigna  <jug@sad.it>
13908
13909         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13910         here not the old one otherwise how should we compare it afterwards
13911         if it's the same!
13912
13913 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * lyxfont.C:
13916         * tabular.C:
13917         * tabular-old.C:
13918         * FontInfo.C: bring C functions into global namespace when
13919         necessary
13920
13921 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13922
13923         * LString.h: make sure config.h has been loaded before LString.h.
13924
13925         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13926         (one for each char read by EatLine!).
13927
13928         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13929         variables.
13930
13931 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13932
13933         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13934         to the same as the par we break from
13935
13936 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13939
13940         * MenuBackend.C (expand): also create menu entries for wide
13941         versions of the floats.
13942
13943         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13944
13945         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13946
13947         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13948         frontends/Makefile.am
13949
13950         * text2.C: adjust
13951         * text.C: adjust
13952
13953
13954         * tabular.C (getTokenValue): add std::
13955
13956         * tabular-old.C (getTokenValue): add std::
13957         (getTokenValue): ditto
13958         (getTokenValue): ditto
13959
13960         * screen.C (ToggleSelection): adjust
13961
13962         * lyxtext.h: put selection cursors inside a Selection struct.
13963
13964         * lyxfunc.C (moveCursorUpdate): adjust
13965
13966         * lyxfont.C (latexWriteStartChanges): add std::
13967
13968         * lyxfind.C: adjust
13969
13970         * font.h: delete with(char const *, LyXFont const &)
13971
13972         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13973
13974         * FontInfo.C (getFontname): add std::
13975
13976         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13977         (workAreaButtonPress): adjust
13978         (tripleClick): adjust
13979         (update): adjust
13980         (moveCursorUpdate): adjust
13981         (Dispatch): adjust
13982
13983         * BufferView2.C (gotoInset): adjust
13984
13985 2001-05-30  Juergen Vigna  <jug@sad.it>
13986
13987         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13988         to check pspell I add this as default as I now have new pspell
13989         libraries and they seem to use this.
13990
13991 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * text2.C (CutSelection): make the cursor valid before the call to
13994         ClearSelection.
13995
13996 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13997
13998         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13999         relied on 0 terminated strings and other horrors. Bug found due to
14000         the new assert in lyxstring!
14001
14002         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14003         KP_ keys.
14004
14005 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14006
14007         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14008         to latinkeys.bind.
14009
14010         * lyxfunc.C (processKeySym): change method of getting to the
14011         self-insert char.
14012
14013         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14014         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14015         * BufferView_pimpl.[Ch]: here as private methods.
14016
14017 2001-05-28  Juergen Vigna  <jug@sad.it>
14018
14019         * text.C (SetHeightOfRow): added the update() call again as it is
14020         needed to initialize inset dimensions!
14021
14022 2001-05-16  Juergen Vigna  <jug@sad.it>
14023
14024         * text2.C (SetCharFont): Add new function with BufferView * and
14025         bool toggleall parameters for setting insets internal fonts.
14026         (SetFont): Freeze the undo as we may change fonts in Insets and
14027         all this change should be inside only one Undo!
14028
14029         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14030         setting font's in insets as for them we have the SetFont function!
14031
14032 2001-05-15  Juergen Vigna  <jug@sad.it>
14033
14034         * text2.C (ClearSelection): to be sure we REALLY don't have any
14035         selection anymore!
14036
14037         * tabular.C (TeXCellPreamble): fixed the left border problem for
14038         multicolumn cells.
14039
14040 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14041
14042         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14043         dependancy file
14044
14045 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14048         LFUN_BREAKPARAGRAPH.
14049
14050         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14051         help test to "internal only", similar for LFUN_INSERT_URL
14052
14053         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14054         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14055         auto_region_delete and deadkeys.
14056
14057 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14058
14059         * LColor.h:
14060         * LColor.C: remove some dead entries, tidy a little
14061
14062 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14063
14064         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14065         commented code.
14066         (Dispatch): implement LFUN_ESCAPE
14067
14068         * commandtags.h: add LFUN_ESCAPE
14069
14070         * LyXAction.C (init): add entry for LFUN_ESCAPE
14071
14072         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14073         Remove commented code.
14074         (insertNote): moved here
14075         (open_new_inset): moved here
14076
14077         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14078         BufferView_pimpl
14079
14080 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14081
14082         * kbmap.C (findbinding): clean it up and make it work correctly.
14083
14084         * lyx_main.C (init): do not pass argc and argv as parameters
14085
14086 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14087
14088         * buffer.C: fix path for OS/2 & Win32
14089
14090         * lyx_gui.C:
14091         * lyx_main:
14092         * lyx_main.C: Added os:: class.
14093
14094         * os2_defines.h: update
14095
14096 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14097
14098         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14099         better by trying again with reduced state.
14100
14101 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14102
14103         * lyxrc.C (read): print error about invalid key sequence only when
14104         debugging (because not all latinX keysyms are known to some X
14105         servers)
14106
14107         * kbsequence.C (getiso): add a few std:: qualifiers
14108         (getiso): comment out extra return statement.
14109
14110 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14111
14112         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14113         handling.
14114         (Dispatch): enhance the accent inset a bit. (not perfect)
14115
14116 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14117
14118         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14119
14120 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14121
14122         * bufferlist.C (emergencyWrite): fix assert() call
14123
14124 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14125
14126         * text.C (InsertChar): Added trivial patch to only send the "you
14127         can not do multiple spaces this way" message once during a
14128         session.
14129
14130 2001-05-08  Baruch Even  <baruch@lyx.org>
14131
14132         * Makefile.am: Changed order of libraries to get LyX to link properly
14133         with the gnome frontend.
14134
14135 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14136
14137         * LaTeXFeatures.h: add a std:: qualifier
14138
14139 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14140
14141         * paragraph.C (String): use stringstream
14142
14143 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14144
14145         * paragraph.C (writeFile): remove footflag arg
14146
14147         * buffer.C (makeLaTeXFile): use stringstream
14148         (latexParagraphs): remove footnot gurba
14149
14150         * LaTeXFeatures.C (getPackages): use stringstream
14151         (getMacros): likewise
14152         (getTClassPreamble): likewise
14153         (getFloatDefinitions): new method
14154
14155         * paragraph.C (writeFile): reindent
14156         (Erase): reindent
14157
14158         * WorkArea.h: revert the xpos + etc changes.
14159
14160         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14161
14162         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14163
14164         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14165         (pasteSelection): likewise
14166         * text2.C (CreateUndo): likewise
14167
14168 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14169
14170         * minibuffer.C (peek_event): temporarily reduce the functionality
14171         of the minibuffer (to allow args on lfuns)
14172
14173         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14174         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14175
14176         * buffer.C (readInset): add compability reading of old float
14177         lists, add reading of new style float list.
14178         (readInset): avoid reevaluation of inscmd.getCmdName()
14179         (getLists): reindent
14180
14181         * MenuBackend.C (MenuItem): implement parsing of
14182         md_floatlistinsert and md_floatinsert.
14183         (expand::LastFiles): move initalizaton of iterators out of loop,
14184         avoid reevaluation.
14185         (expand::Documents): introduce typdedef vector<string> Strings,
14186         and use it.
14187         (expand::ExportFormats): introduce typedef vector<Format const *>
14188         Formats, and use it.
14189         (expand): implement FloatListInsert and FloatInsert.
14190
14191         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14192         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14193         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14194
14195         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14196         handling.
14197         (Dispatch::LFUN_FLOAT_LIST): implement
14198
14199 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14200
14201         * LaTeX.C (run): Fix problem with --export code.
14202
14203 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * BufferView.[Ch] (workarea): removed.
14206         (getClipboard) new method; wrapper for workarea()->getClipboard()
14207
14208         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14209         bug.
14210
14211         * WorkArea.h (width, height, xpos, ypos): These methods all
14212         returned the dimensions of the work_area sub-area of WorkArea,
14213         resulting in a position error if the WorkArea were resized. Now
14214         return the dimensions of the entire WorkArea.
14215
14216         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14217
14218 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14219
14220         * LaTeX.C (deplog): correct the syntax of regex reg1
14221
14222 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14223
14224         * undo.C: remove !NEW_INSETS cruft
14225
14226 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14227
14228         * text2.C: remove !NEW_INSETS cruft
14229
14230         * text.C: remove !NEW_INSETS cruft
14231
14232         * tabular.C: remove !NEW_INSETS cruft
14233
14234         * spellchecker.C: remove !NEW_INSETS cruft
14235
14236         * lyxtext.h: remove !NEW_INSETS cruft
14237
14238         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14239
14240         * lyxfunc.C: remove !NEW_INSETS cruft
14241
14242         * lyxfind.C: remove !NEW_INSETS cruft
14243
14244         * lyx_cb.C: remove !NEW_INSETS cruft
14245
14246         * figureForm.C: remove  !NEW_INSETS cruft
14247
14248         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14249
14250         * buffer.[Ch]: remove !NEW_INSETS cruft
14251
14252         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14253
14254         * CutAndPaste.C: remove !NEW_INSETS cruft
14255
14256         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14257
14258         * BufferView2.C: remove !NEW_INSETS cruft
14259
14260         * BufferView.h: remove !NEW_INSETS cruft
14261
14262 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14263
14264         * Lsstream.h: include LString.h before the sstream headers to
14265         fix problem with gcc 2.95.3 and lyxstring
14266
14267 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14268
14269         * lyx_main.C: add using directives when needed for C functions
14270         declared in std:: namespace.
14271
14272 2001-04-27  Juergen Vigna  <jug@sad.it>
14273
14274         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14275         (SetHeightOfRow): comment out the update call should not be needed!
14276
14277 2001-04-13  Juergen Vigna  <jug@sad.it>
14278
14279         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14280         (LyXTabular): tried to minimize operator= operations (and realized
14281         hopfully Lars wish).
14282
14283 2001-04-27  Juergen Vigna  <jug@sad.it>
14284
14285         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14286
14287 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14290
14291         * buffer.C (readInset): hack to make listof algorithm work
14292
14293         * BufferView_pimpl.C: hack to make listof algorithm work
14294
14295 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14296
14297         * LyXAction.C: removed all !NEW_INSETS cruft
14298         (init): moved lfun_item in method
14299
14300         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14301
14302 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14303
14304         * BufferView2.C (theLockingInset): white space.
14305
14306 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * minibuffer.C: include <iostream>
14309
14310         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14311
14312         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14313
14314         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14315
14316         * text.[Ch] (TransposeChars): new method
14317
14318 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14319
14320         * call message directly through LyXView instead of through LyXFunc
14321         * BufferView2.C: adjust
14322         * BufferView_pimpl.C: adjust
14323         * FontLoader.C: adjust
14324         * buffer.C: adjust
14325         * bufferview_funcs.C: adjust
14326         * converter.C: adjust
14327         * figureForm.C: adjust
14328         * importer.C: adjust
14329         * lyx_cb.C: adjust
14330         * lyx_gui_misc.C: adjust
14331         * lyxfunc.C: adjust
14332         * lyxvc.C: adjust
14333         * text2.C: adjust
14334         + more files in subdirs
14335
14336         * lyxparagraph.h (size): move up int file
14337         (GetLayout): ditto
14338
14339         * adjust all uses of Assert to lyx::Assert.
14340
14341         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14342         lyxfunctional in namespace lyx
14343         * layout.C (hasLayout): ditto
14344         (GetLayout): ditto
14345         (GetLayout): ditto
14346         (delete_layout): ditto
14347         (NumberOfClass): ditto
14348         * converter.C (GetFormat): ditto
14349         (GetNumber): ditto
14350         (Add): ditto
14351         (Delete): ditto
14352         (SetViewer): ditto
14353         * bufferlist.C (getFileNames): ditto
14354         (emergencyWriteAll): ditto
14355         (exists): ditto
14356         (getBuffer): ditto
14357         * MenuBackend.C (hasSubmenu): ditto
14358         (hasMenu): ditto
14359         (getMenu): ditto
14360         * BufferView_pimpl.C (getInsetByCode): ditto
14361
14362 2001-04-18  Juergen Vigna  <jug@sad.it>
14363
14364         * vspace.C (asLatexString): fixed the 100% problem.
14365
14366 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14367
14368         * lyxfunc.C (Dispatch):
14369         * minibuffer.C:
14370         * minibuffer.h: add a few std:: qualifiers
14371
14372 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * minibuffer.[Ch]: reimplement so that commands is initiated and
14375         run from lyxfunc, simplified som handling, and made the completion
14376         and history code for complete. wip.
14377
14378         * lyxfunc.C (processKeySym): call message
14379         (miniDispatch): new temporary method
14380         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14381         (LFUN_MESSAGE): implement
14382         (LFUN_MESSAGE_PUSH): implement
14383         (LFUN_MESSAGE_POP): implement
14384         (initMiniBuffer): the initial/defualt minibuffer message.
14385
14386         * lyxfont.[Ch]: inline some more getters
14387
14388         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14389
14390         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14391
14392         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14393         (AutoSave): use LFUN_MESSAGE
14394         (Reconfigure): ditto
14395
14396         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14397
14398         * figureForm.C: use LFUN_MESSAGE
14399
14400         * converter.C (runLaTeX): use LFUN_MESSAGE
14401
14402         * bufferview_funcs.C: use LFUN_MESSAGE
14403         (Melt): ditto
14404         (changeDepth): ditto
14405
14406         * bufferparams.h: use boost::
14407
14408         * bufferlist.h: inherit privately from noncopyable
14409
14410         * bufferlist.C (loadLyXFile): remove some commented code.
14411
14412         * buffer.C (runChktex): use LFUN_MESSAGE
14413
14414         * ShareContainer.h: inherit privately from noncopyable
14415
14416         * ParagraphParameters.[hC] (depth): inline it.
14417
14418         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14419         methods.
14420         (message): new method
14421         (messagePush): ditto
14422         (messagePop): ditto
14423         (show): init minibuffer
14424         (showState): direct call
14425
14426         * LaTeX.[Ch]: inherit privately from noncopyable
14427         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14428         instead of WriteStatus.
14429
14430         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14431
14432         * BufferView_pimpl.C (buffer): don't init minibuffer
14433         (workAreaButtonPress): use LFUN_MESSAGE
14434         (workAreaButtonRelease): ditto
14435         (savePosition): ditto
14436         (restorePosition): ditto
14437         (MenuInsertLyXFile): ditto
14438         (workAreaExpose): don't init minibuffer
14439         (update): remove commented code, simplify
14440
14441         * BufferView2.C (openStuff): use LFUN_MESSAGE
14442         (toggleFloat): ditto
14443         (menuUndo): ditto
14444         (menuRedo): ditto
14445         (copyEnvironment): ditto
14446         (pasteEnvironment): ditto
14447         (copy): ditto
14448         (cut): ditto
14449         (paste): ditto
14450         (gotoInset): ditto
14451         (updateInset): remove some commented code
14452
14453         * lastfiles.h: inherit privately from noncopyable
14454         * layout.h: ditto
14455         * lyx_gui.h: ditto
14456         * lyx_main.h: ditto
14457         * lyxlex.h: ditto
14458         * lyxlex_pimpl.h: ditto
14459
14460         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14461         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14462         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14463
14464         * LyXAction.h: inherit privately from noncopyable, add methods
14465         func_begin, func_end, returning iterators to the func map.
14466
14467         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14468         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14469         (func_begin): new method
14470         (func_end): new method
14471
14472         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14473         and not)
14474         (copySelection): ditto
14475         (pasteSelection): ditto
14476
14477         * BufferView.C: whitespace change
14478         * BufferView.h: inherit privately from noncopyable
14479
14480 2001-04-16  Allan Rae  <rae@lyx.org>
14481
14482         * tabular-old.C (l_getline):
14483         * spellchecker.C (sc_check_word):
14484         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14485         an unrecognised preprocessor directive.  So ensure they're wrapped.
14486
14487 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14488
14489         * src/exporter.C (Export): Give an error message when path to file
14490         contains spaces.
14491
14492 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14493
14494         * LaTeX.C (deplog): Always check that foundfile exists.
14495
14496 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14497
14498         * lyx_main.h:
14499         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14500
14501 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * tabular.[Ch] (getLabelList): implement new method
14504
14505         * minibuffer.h: comment ouf setTiimer
14506
14507         * minibuffer.C (ExecutingCB): constify res
14508         (peek_event): constify s
14509         (Set): constify ntext
14510         (Init): constify nicename
14511
14512         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14513
14514         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14515         (savePosition): use two params to Minibuffer::Set
14516         (restorePosition): ditto
14517
14518 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * lyx_main.C: include language.h
14521
14522         * Makefile.am (lyx_main.o): add language.h
14523
14524 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14525
14526         * exporter.C:
14527         * paragraph.C:
14528         * screen.C:
14529         * tabular.C:
14530         * CutAndPaste.C: include gettext.h
14531
14532         * lyxfont.h: remove old hack with ON and OFF.
14533
14534         * lyxparagraph.h:
14535         * lyxfont.h: do not include language.h...
14536
14537         * BufferView2.C:
14538         * LaTeXFeatures.C:
14539         * Painter.C:
14540         * bufferview_funcs.C:
14541         * font.C:
14542         * lyxfont.C:
14543         * text.C:
14544         * text2.C:
14545         * trans_mgr.C:
14546         * paragraph.C: ... but do it here instead
14547
14548 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14549
14550         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14551
14552         * tabular.C: small reformat
14553
14554         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14555         NEW_INSETS version
14556         (GetChar): ditto
14557         (BreakParagraph): ditto
14558         (SetOnlyLayout): ditto
14559         (SetLayout): ditto
14560
14561         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14562         with one arg less.
14563
14564         * lastfiles.C: removed most using decl, add std:: where needed
14565
14566         * buffer.C: ws changes
14567
14568         * MenuBackend.C (class compare_format): put into anon namespace
14569         (expand): constify label, names, action, action2
14570         (expand):
14571
14572         * text.C (SingleWidth): constify font
14573         (IsBoundary): constify rtl2
14574         (GetVisibleRow): constify ww
14575
14576         * LaTeX.C (deplog): constify logfile
14577
14578         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14579         start_x, end_x
14580         (workAreaExpose): constify widthChange, heightChange
14581
14582         * lyxrow.C (par): moved
14583         (height): moved
14584         (next): moved
14585         * lyxrow.h: as inlines here
14586
14587         * lyxfont.h (shape): moved from lyxfont.C
14588         (emph): moved from lyxfont.C
14589
14590         * lyxfont.C (LyXFont): use initialization list for all
14591         constructors
14592         (shape): move to lyxfont.h as inline
14593         (emph): move to lyxfont.h as inline
14594
14595
14596 2001-04-04  Juergen Vigna  <jug@sad.it>
14597
14598         * vspace.C: had to include stdio.h for use of sscanf
14599
14600 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14601
14602         * BufferView.h:
14603         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14604         independent of xforms.
14605
14606 2001-04-02  Juergen Vigna  <jug@sad.it>
14607
14608         * spellchecker.C: fixed namespace placing!
14609
14610 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14611
14612         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14613         the LyXParagraph * is 0.
14614
14615 2001-03-29  Juergen Vigna  <jug@sad.it>
14616
14617         * vspace.C: added support for %, c%, p%, l%.
14618         (stringFromUnit): added helper function.
14619         (asLatexString): changed to give right results for the %-values.
14620
14621         * buffer.C: convert the widthp in a width%.
14622
14623 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14624
14625         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14626         figureForm.[Ch].
14627
14628         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14629         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14630
14631         * lyx_cb.[Ch]: see above.
14632
14633         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14634         form1.[Ch].
14635
14636         * form1.[Ch]:
14637         * lyx.[Ch]: replaced by figure_form.[Ch].
14638
14639         * lyx_gui.C:
14640         * lyx_gui_misc.C:
14641         * lyxfunc.C: changed headers associated with above changes.
14642
14643 2001-03-27  Juergen Vigna  <jug@sad.it>
14644
14645         * BufferView_pimpl.C: set the temporary cursor right!
14646
14647 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14648
14649         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14650
14651 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14652
14653         * LString.h: removed "using std::getline"!
14654
14655         * BufferView_pimpl.C (Dispatch): changes due to changes in
14656         InsetInclude::Params.
14657
14658         * buffer.C (tag_name): removed redundant break statements as they were
14659         producing lots of warnings with my compiler.
14660
14661 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * LString.h: add "using std::getline" when using the real <string>.
14664
14665 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14666
14667         * buffer.C: removed bitset usage.
14668         PAR_TAG moved to an anonymous name space.
14669         (tag_name): new funtion, also in the anonymous namespace.
14670         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14671         (makeDocBookFile): clean code. Completed transition from string arrays
14672         to string vectors.
14673         (SimpleDocBookOnePar): code clean.
14674
14675 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14676
14677         * tabular.C: add some comments.
14678
14679 2001-03-22  Juergen Vigna  <jug@sad.it>
14680
14681         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14682         compatibility read a bit and fixed bug with minipage in different
14683         depth.
14684
14685 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14686
14687         * buffer.C (pop_tag): removed.
14688         (push_tag): removed.
14689         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14690         array replaced with vector. Added support for CDATA sections.
14691         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14692         at any nest level.
14693         (makeDocBookFile): XML conformant declaration of CDATA section,
14694         fixed bug related to <emphasis> in the first paragraph char.
14695         (sgmlOpenTag): exclude empty tags.
14696         (sgmlCloseTag): ditto.
14697
14698         * buffer.h (pop_tag): removed.
14699         (push_tag): removed.
14700
14701 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14702
14703         * language.h (Languages): added size_type and size().
14704
14705 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14706
14707         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14708         response on compability reading of minipages. One probliem is that
14709         the old usage of minipages was «flertydig»
14710
14711         * several files here and in subdirs: don't use static at file
14712         scope use anon namespaces instead.
14713
14714 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14715
14716         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14717         LaTeX output. This is necessary for Literate document
14718         processing.
14719
14720 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14721
14722         * buffer.C: insert hfill when needed.
14723
14724         * tabular.C (l_getline): use string::erase, small whitespace change.
14725
14726         * BufferView_pimpl.C: try the anon namespace.
14727         * WorkArea.C: ditto
14728
14729 2001-03-16  Juergen Vigna  <jug@sad.it>
14730
14731         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14732         otherwise it won't open options-dialogs.
14733
14734         * buffer.C: honor pextraWidth(p) on converting minipages.
14735
14736         * tabular.C (l_getline): changed the functions to strip trailing \r.
14737
14738 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14739
14740         * BufferView_pimpl.C:
14741         * minibuffer..C: added "using SigC::slot" declaration.
14742
14743 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14744
14745         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14746
14747         * text2.C: ditto
14748
14749         * text.C: ditto
14750
14751         * paragraph.C: ditto
14752
14753         * lyxtext.h: NO_PEXTRA
14754
14755         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14756
14757         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14758         * ParameterStruct.h: ditto
14759         * ParagraphParameters.h: ditto
14760         * lyxparagraph.h: ditto
14761
14762 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14763
14764         * buffer.C: add compability for minipage alignment.
14765         (latexParagraphs): remove unwanted pextra check.
14766
14767         * several files: remove CXX_WORKING_NAMESPACES
14768
14769         * buffer.C (pop_tag): tie is in namespace boost
14770
14771         * BufferView.h: noncopyable is in namespace boost
14772         * lyxlex.h: ditto
14773         * lyx_main.h: ditto
14774         * lyx_gui.h: ditto
14775         * layout.h: ditto
14776         * lastfiles.h: ditto
14777         * bufferlist.h: ditto
14778         * ShareContainer.h: ditto
14779         * LyXView.h: ditto
14780         * LyXAction.h: ditto
14781         * LaTeX.h: ditto
14782
14783 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14784
14785         * Merging changes from BRANCH_MVC back into HEAD.
14786
14787         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14788
14789 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14790
14791         * BufferView_pimpl.C: change from intl.C
14792
14793         * combox.h:
14794         * combox.C:
14795         * Makefile.am: move combox.*
14796
14797         * form1.h:
14798         * form1.C:
14799         * lyx_gui.C:
14800         * intl.h:
14801         * intl.C: remove dialog (covered by prefs)
14802
14803 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14804
14805         * lyxfunc.C (Dispatch): removed redundant break statement.
14806
14807 2001-03-14  Juergen Vigna  <jug@sad.it>
14808
14809         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14810
14811 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14812
14813         * buffer.C: add hack to fix compability reading of minipages.
14814
14815 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * buffer.C (getLists): Cleanup.
14818
14819 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * lyxfont.C (update): don't honor toggleall on font size.
14822
14823 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14824
14825         * bmtable.c:
14826         * bmtable.h:
14827         * Makefile.am: moved to frontends/xforms/
14828
14829         * lyx_gui_misc.C:
14830         * lyxfunc.C:
14831         * BufferView_pimpl.C: changes for moved mathpanel
14832
14833 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14834
14835         * gettext.h: fix gettext_init() in --disable-nls
14836
14837 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14840
14841 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14842
14843         * lyx.C:
14844         * lyx.h: strip external form
14845
14846 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14847
14848         * BufferView_pimpl.C: add comment, destroySplash()
14849
14850 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14851
14852         * BufferView_pimpl.C:
14853         * LyXAction.C:
14854         * buffer.C:
14855         * commandtags.h:
14856         * lyxfunc.C: use re-worked insetinclude
14857
14858 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14859
14860         * buffer.C: add using std::stringstream.
14861
14862         * lyx_cb.C: readd using std::ios.
14863
14864         * buffer.C: add using std::map.
14865
14866         * BufferView_pimpl.C: add using std::vector.
14867
14868         * ShareContainer.h: add std:: to swap.
14869
14870         * buffer.h: add some typedefs
14871         * buffer.C (getLists): use them
14872         (getLists): renamed from getTocList.
14873         add a counter for the different float types and use it in the
14874         generated string.
14875         (getLists): use the same counter for the NEW_INSETS and the "non"
14876         NEW_INSETS
14877
14878         * lyx_cb.h: remove unused items, includes, using etc.
14879
14880         * ShareContainer.h: remove some commented code, add more comments
14881         and "documentation".
14882
14883 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14884
14885         * buffer.C (getTocList): make the list also when NEW_INSETS is
14886         defined.
14887
14888         * buffer.h: remove TocType
14889
14890         * buffer.C (getTocList): change to return a map<string,
14891         vector<TocItem> >, implement for dynamic number of list.
14892
14893         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14894         * text2.C (PasteSelection): adjust
14895         * CutAndPaste.C (pasteSelection): adjust
14896
14897         * FloatList.C (FloatList): update from the new_insets branch.
14898         * Floating.[Ch]: ditto
14899         * LaTeXFeatures.C: ditto
14900         * buffer.C: ditto
14901         * lyxlex_pimpl.C: ditto
14902
14903         * paragraph.C (Last): remove when NEW_INSETS is defined.
14904
14905         * other file: changes because of the above.
14906
14907 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14908
14909         * lyxparagraph.h: rename next to next_, previous to previous_,
14910         make them private for NEW_INSETS. Rename Next() to next(),
14911         Previous() to previous().
14912
14913         * other files: changes because of the above.
14914
14915 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14916
14917         * BufferView.h:
14918         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14919         problem.
14920
14921 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * main.C (main): pass lyx_localedir to gettext_init().
14924
14925         * gettext.h: remove locale_init and gettext_init macros
14926
14927         * gettext.C (locale_init): new function
14928         (gettext_init): new function
14929
14930         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14931         setlocale().
14932
14933 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14934
14935         * Moved credits to frontends:
14936         * credits.[Ch]: removed
14937         * credits_form.[Ch]: removed
14938         * lyx_gui_misc.C: remove credits stuff
14939         * Makefile.am:
14940
14941 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14942
14943         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14944
14945         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14946         unneeded destructor.
14947
14948         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14949         a standalone pointer again.
14950
14951         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14952
14953 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * Makefile.am:
14956         * filedlg.h:
14957         * filedlg.C:
14958         * LyXAction.C:
14959         * ToolbarDefaults.C:
14960         * bufferlist.C:
14961         * commandtags.h:
14962         * form1.C:
14963         * form1.h:
14964         * lyx_cb.C:
14965         * lyx_cb.h:
14966         * lyxfunc.h:
14967         * lyxfunc.C:
14968         * BufferView_pimpl.C: use new file dialog in GUII
14969
14970         * lyx_cb.h:
14971         * lyx_cb.C: remove LayoutsCB to Toolbar
14972
14973 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * ShareContainer.h (get): add std:: qualifier
14976
14977 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * ShareContainer.h: define a proper ShareContainer::value_type
14980         type (and use typename to please compaq cxx)
14981
14982 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14983
14984         * lyxparagraph.h: move serveral local vars to
14985         ParameterStruct/ParagraphParameters., use ShareContainer in
14986         FontTable., make vars in FontTable private and add getter and
14987         setter.
14988
14989         * paragraph.C: changes because of the above.
14990
14991         * lyxfont.h: remove copy constructor and copy assignment. (the
14992         default ones is ok), move number inside FontBits. move inlines to
14993         lyxfont.C
14994
14995         * lyxfont.C: add number to initializaton of statics, move several
14996         inlines here. constify several local vars. some whitespace
14997         cleanup. Dont hide outerscope variables.
14998
14999         * Spacing.h: add two new constructors to match the set methods.
15000
15001         * ShareContainer.h: new file, will perhaps be moved to support
15002
15003         * ParameterStruct.h: new file
15004
15005         * ParagraphParameters.h: new file
15006
15007         * ParagraphParameters.C: new file
15008
15009         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15010         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15011
15012         * BufferView_pimpl.C: ParagraphParameter changes.
15013         * buffer.C: Likewise.
15014         * bufferview_funcs.C: Likewise.
15015         * text.C: Likewise.
15016         * text2.C: Likewise.
15017
15018 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * lyxfind.C (LyXReplace): do not redefine default argument in
15021         implementation.
15022         (IsStringInText): ditto
15023         (SearchForward): ditto
15024         (SearchBackward): ditto
15025
15026 2001-03-06  Juergen Vigna  <jug@sad.it>
15027
15028         * lyxfind.C (IsStringInText): put parentes around expressions.
15029
15030 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15031
15032         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15033
15034 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15035
15036         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15037
15038         * stl_string_fwd.h: add comment
15039
15040         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15041
15042         * tabular.h:
15043         * tabular.C: remove unused DocBook methods
15044
15045         * intl.C:
15046         * language.C:
15047         * paragraph.C:
15048         * buffer.C:
15049         killed DO_USE_DEFAULT_LANGUAGE
15050
15051 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15052
15053         * lyx_gui.C: do not include language.h.
15054
15055         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15056         arguments in function implementation.
15057
15058 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15059
15060         * BufferView_pimpl.C: add <ctime>
15061
15062 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15063
15064         * BufferView_pimpl.C: add using std::find_if
15065
15066 2001-02-27  José Matos  <jamatos@fep.up.pt>
15067
15068         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15069         by OnlyPath.
15070
15071 2001-02-11  José Matos  <jamatos@fep.up.pt>
15072
15073         * buffer.C (makeDocBookFile): command styles now have a parameter as
15074         "title" by default.
15075
15076 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15077
15078         * layout_forms.[Ch]: removed
15079         * lyx_cb.[Ch]: out character
15080         * lyx_gui.C: out character
15081         * lyx_gui_misc.C: out character
15082         * bufferview_funcs.C: : out character,
15083         added toggleall as parameter in ToggleAndShow
15084
15085 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15086
15087         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15088
15089         * text2.C (SetCurrentFont): Disable number property at boundary.
15090
15091 2001-02-26  Juergen Vigna  <jug@sad.it>
15092
15093         * lyxfunc.C (getStatus): added a string argument override function so
15094         that this is correctly called from LyXFunc::Dispatch if it contains a
15095         do_not_use_argument which is used!
15096         (Dispatch): added check for "custom" export and call appropriate func.
15097
15098 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * lyxrc.C: Add language_command_local, language_use_babel and
15101         language_global_options.
15102
15103         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15104
15105         * buffer.C (makeLaTeXFile): Use language_use_babel and
15106         language_global_options.
15107
15108 2001-02-23  Juergen Vigna  <jug@sad.it>
15109
15110         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15111         which works with LyXText and putted it inside BufferView. Here now we
15112         only call for that part the BufferView::Dispatch() function.
15113
15114         * BufferView.C (Dispatch): added.
15115
15116         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15117         functions which needs to use a LyXText over from LyXFunc.
15118         (MenuInsertLyXFile): added
15119         (getInsetByCode): added
15120         (moveCursorUpdate): added
15121         (static TEXT): added
15122
15123 2001-02-22  Juergen Vigna  <jug@sad.it>
15124
15125         * BufferView_pimpl.C (update): call a status update to see if LyXText
15126         needs it.
15127
15128 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15129
15130         * vc-backend.C (revert): implement for CVS
15131         (getLog): implement for CVS
15132
15133 2001-02-20  Juergen Vigna  <jug@sad.it>
15134
15135         * text2.C (ClearSelection): added BufferView param for inset_owner call
15136
15137         * lyxfunc.C (TEXT): added this function and use it instead of
15138         directly owner->view()-text of getLyXText().
15139
15140 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15141
15142         * src/layout_forms.C: out preamble
15143         * src/layout_forms.h: out preamble
15144         * src/lyx_cb.C: out preamble
15145         * src/lyx_cb.h: out preamble
15146         * src/lyx_gui.C: out preamble
15147         * src/lyx_gui_misc.C: out preamble
15148         * src/lyxfunc.C: connect with guii preamble
15149
15150 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15151
15152         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15153
15154 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15155
15156         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15157         whether to run bibtex.
15158
15159 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15162
15163 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15164
15165         * Makefile.am (lyx_SOURCES): removed bibforms.h
15166
15167         * vspace.h: doxygen
15168
15169         * text.C (GetVisibleRow): make several local vars const
15170
15171         * tabular.C: small cleanup.
15172
15173         * lyxserver.C (callback): use compare instead of strncmp
15174
15175         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15176         inlines to after class or to paragraph.C
15177
15178         * lyxfont.h: remove friend operator!=
15179
15180         * converter.h: move friend bool operator< to non friend and after
15181         class def.
15182
15183         * combox.h: small cleanup
15184
15185         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15186         to inlines after class def.
15187
15188         * buffer.C (pop_tag): use string operations instead of strcmp
15189
15190         * bmtable.c: doxygen, small cleanup
15191
15192         * LaTeX.h: remove friend operator==
15193
15194 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15195
15196         * screen.C:
15197         * lyxrc.[Ch]:
15198         * lyxfunc.C:
15199         * lyxfont.[Ch]:
15200         * lyx_cb.C:
15201         * intl.[Ch]:
15202         * commandtags.h:
15203         * buffer.C:
15204         * WorkArea.[Ch]:
15205         * LyXAction.C:
15206         * BufferView_pimpl.C:
15207         * BufferView.[Ch]: remove cruft
15208
15209 2001-02-14  Juergen Vigna  <jug@sad.it>
15210
15211         * lyxfunc.C: removed #if 0 unused code
15212
15213         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15214
15215         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15216
15217         * text2.C (SetSelection): added a BufferView * parameter
15218
15219 2001-02-13  Juergen Vigna  <jug@sad.it>
15220
15221         * lyxfunc.C (Dispatch): fixed protected blank problem.
15222         * BufferView2.C (protectedBlank): added LyxText * parameter.
15223
15224         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15225         (AppendColumn): same as above for column_info.
15226
15227         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15228         (moveCursorUpdate): use a LyXText param for support of InsetText.
15229
15230         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15231         (tripleClick): ditto
15232
15233         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15234
15235         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15236
15237         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15238
15239         * text2.C (SetSelection): set correct update status if inset_owner
15240         (ToggleFree): ditto
15241
15242 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15243
15244         * tabular.C: remove some commented code.
15245
15246 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15247
15248         * BufferView_pimpl.C: call hideSplash()
15249
15250         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15251
15252         * include_form.h:
15253         * bibforms.h: remove
15254
15255         * lyxfunc.C:
15256         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15257           add LFUN_CHILD_CREATE
15258
15259         * counters.h: fix tiny typo
15260
15261         * lyx_cb.C:
15262         * lyx.h:
15263         * lyx_gui.C:
15264         * lyx.C: move splash to frontends/xforms/
15265
15266         * lyx_gui_misc.C: move Include and Bibform to frontends
15267
15268         * lyxvc.h: clarify comment
15269
15270         * vspace.C: tiny housekeeping
15271
15272 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * text.C (PrepareToPrint): RTL Fix.
15275
15276         * paragraph.C (GetUChar): New method.
15277         (String):  Use GetUChar.
15278
15279         * buffer.C (asciiParagraph): Use GetUChar.
15280
15281 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15282
15283         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15284
15285 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15286
15287         * buffer.h:
15288         * buffer.C: rename to getLogName(), handle
15289           build log / latex log nicely
15290
15291 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * MenuBackend.C:
15294         * MenuBackend.h: remove support for reference menuitem type.
15295
15296 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15297
15298         * BufferView_pimpl.C: housekeeping
15299         * BufferView_pimpl.h:
15300         * LyXView.h:
15301         * Makefile.am:
15302         * Timeout.C:
15303         * Timeout.h:
15304         * minibuffer.h: move Timeout GUI-I
15305
15306 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15307
15308         * lyxrc.C (read): Update converters data-structures.
15309
15310 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15311
15312         * LaTeX.h (operator!=): add operator != for Aux_Info
15313
15314 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15317
15318         * LaTeXLog.C: deleted, useful code moved to Buffer
15319
15320         * buffer.h:
15321         * buffer.C: new function getLatexLogName()
15322
15323         * lyx_gui_misc.C:
15324         * lyx_gui.C:
15325         * lyxvc.C:
15326         * lyxvc.h:
15327         * lyxfunc.C: use frontends for LaTeX and VC logs
15328
15329 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * LaTeX.h: yet another std:: that Allan forgot.
15332
15333         * Variables.C (set): renamed from isset(), because this clashes
15334         with some HP-UX macros (grr).
15335
15336 2001-02-06  Allan Rae  <rae@lyx.org>
15337
15338         * LaTeX.h: Another bug fix.  Missing std:: this time.
15339
15340 2001-02-04  Allan Rae  <rae@lyx.org>
15341
15342         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15343         floats problem. I've left it commented out because it's not quite
15344         correct.  It should also test that the current object is a table or
15345         figure inset.  But I haven't gotten around to figuring out how to do
15346         that.  I *think* it'll be something like: "table" == inset.type()
15347
15348         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15349         bool.
15350
15351 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15352
15353         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15354         all the citation/databases/styles in the auxilary file.
15355         (run): Rerun latex if there was a babel language error.
15356
15357 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15358
15359         * text.C (Backspace): Preserve the font when changing newline char
15360         with a space.
15361         (BreakParagraph): If the cursor is before a space, delete the space.
15362
15363         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15364
15365 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15366
15367         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15368         new argument (code).
15369         (ChangeCitationsIfUnique): New method.
15370
15371         * paragraph.C (GetPositionOfInset): Handle bibkey.
15372
15373 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15374
15375         * BufferView_pimpl.h: change type of Position::par_pos to
15376         LyXParagraph::size_type.
15377
15378 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15379
15380         * BufferView_pimpl.C (savePosition, restorePosition): Write
15381         messages to minibuffer.
15382
15383 2001-01-28  José Matos  <jamatos@fep.up.pt>
15384
15385         * buffer.C (makeDocBookFile): adds support for document language.
15386         A silly restriction on the name of LatexCommand types where removed.
15387         Added support for CDATA sections, allows to chars unescaped, used
15388         among others in code, to avoid escape < and >.
15389
15390 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15391
15392         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15393         saved positions instrad of a stack. Furthermore, a position is
15394         stored using paragraph id/paragraph position.
15395
15396         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15397         Remove LFUN_REF_BACK.
15398
15399 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15400
15401         * converter.C (dvipdfm_options): New method.
15402
15403 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * vspace.C (isValidLength): Fix for empty input string.
15406
15407 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15408
15409         * LyXAction.C (init): change description of LFUN_FIGURE to
15410         "Insert Graphics"
15411
15412 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15413
15414         * LaTeX.C: add using directive
15415
15416 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15417
15418         * MenuBackend.C (expand): Fix the sorting of the formats.
15419
15420 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15421
15422         * lyx_main.C: tiny error message fix
15423
15424 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15425
15426         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15427         calling fl_initialize(). This fixes the problem with ',' as
15428         decimal separator in text files.
15429
15430 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15431
15432         * trans.C (process): Fix the keymap bug.
15433
15434 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15435
15436         * LaTeX.C (scanAuxFiles): New method. Provides support for
15437         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15438         (scanLogFile) Scan for "run BibTeX" messages.
15439
15440         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15441         OT1 font encoding. Also, load the aecompl package if the ae
15442         package is loaded.
15443
15444         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15445
15446 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * texrow.C (increasePos): turn two error messages into debug
15449         messages.
15450
15451 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15452
15453         * LaTeX.C (scanAux): Handle the \@input macro.
15454         (runBibTeX): Use scanAux().
15455
15456         * language.C (latex_options_): New field.
15457
15458         * LaTeXFeatures.C (getMacros): Add language macros.
15459
15460         * buffer.C (makeLaTeXFile): Small fix.
15461
15462 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15465
15466         * text2.C: add a using directive.
15467
15468 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15469
15470         * BufferView2.C:
15471         * lyx_gui_misc.h:
15472         * lyxfr1.C:
15473         * lyxfunc.C: kill LyXBell.
15474
15475 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15476
15477         * text.C (IsBoundary): Remove the error message
15478
15479         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15480
15481         * lyxrc.C (setDefaults): Correct initialization value for
15482         font_norm_type.
15483
15484 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15485
15486         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15487         gotoError().
15488
15489         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15490         and GotoNextNote().
15491
15492         * src/LyXAction.C: Added reference-next.
15493
15494         * text.C (InsertChar): Use contains instead of strchr.
15495
15496         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15497
15498 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15499
15500         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15501         alignment commands (when needed).
15502
15503         * text.C (InsertChar): Add ':' to number separator chars.