]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
76ed58e39309944f18cb8dc99265eb98212673da
[lyx.git] / src / ChangeLog
1 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
4         (bug 1526)
5
6 2004-04-19  Angus Leeming  <leeming@lyx.org>
7
8         * BufferView_pimpl.C (setBuffer): changed preview interface.
9
10         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
11         possible values.
12
13 2004-04-19  John Levon  <levon@movementarian.org>
14
15         * BufferView_pimpl.C:
16         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
17
18 2004-04-05  Angus Leeming  <leeming@lyx.org>
19
20         * text.C (redoParagraphs): add call to updateCounters(), thereby
21         fixing the missing "Figure #:" label from the caption of a
22         figure float.
23
24 2004-04-13  Angus Leeming  <leeming@lyx.org>
25
26         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
27         cursor is clicked out of an inset.
28
29 2004-04-13  Angus Leeming  <leeming@lyx.org>
30
31         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
32         than an InsetOld one.
33
34 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
35
36         * format.[Ch]: add editor to Format
37         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
38         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
39
40 2004-04-08  André Pönitz  <poenitz@gmx.net>
41
42         * metricsinfo.h: remove PainterInfo::width member
43
44 2004-04-08  Angus Leeming  <leeming@lyx.org>
45
46         * lyx_sty.C (boldsymbol_def): modify so that it outputs
47         "\providecommand" rather than "\newcommand", thereby preventing
48         clashes with packages that define "\boldsymbol" themselves.
49         Eg, beamer.
50
51 2004-04-08  Angus Leeming  <leeming@lyx.org>
52
53         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
54         thereby squashing an unnecessary warning.
55
56 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
57
58         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
59         setBuffer()
60
61 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * BufferView.C (setCursor): call redoParagraph (some insets could
64         have been opened)
65         (putSelectionAt): remove the 'double update' trick
66
67         * BufferView_pimpl.C (fitCursor): call refreshPar
68         (workAreaDispatch): remove an uneeded update call
69         (dispatch): remove some manual update calls
70
71         * cursor.[Ch]: remove cached_y_, updatePos
72         (selHandle): set noUpdate when appropriate
73
74         * lyxfunc.C (dispatch): track if we need an update
75
76         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
77
78         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
79         (paintSelection): cheap optimization, do not call cursorX when not
80         needed
81         (paintPars): change signature
82         (refreshPar): add
83         (paintText): adjust
84         (paintTextInset): adjust
85
86         * text.C: adjust
87
88 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * lengthcommon.C: compilation fix: remove explicit array size from
91         unit_name[] and friends
92
93 2004-04-05  Angus Leeming  <leeming@lyx.org>
94
95         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
96
97         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
98         present only for the preferences dialog.
99         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
100
101 2004-04-05  Angus Leeming  <leeming@lyx.org>
102
103         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
104         to enable the frontends to export changes to lyxrc correctly.
105
106         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
107
108 2004-04-07  André Pönitz  <poenitz@gmx.net>
109
110         * cursor.[Ch] (selClear, adjust): remove math
111
112         * cursor_slice.C: more agressive assert
113
114         * lyxfunc.C:
115         * BufferView_pimpl.C: rework mouse event dispatch
116
117         * dociterator.C:
118         * paragraph.C:
119         * text2.C:
120         * text3.C: adjust
121
122 2004-04-05  André Pönitz  <poenitz@gmx.net>
123
124         * cursor.[Ch] (valign, halign...): remove unneeded functions
125
126 2004-04-05  Angus Leeming  <leeming@lyx.org>
127
128         * lyxlength.[Ch] (unit_name et al.): const-correct.
129
130 2004-04-05  Angus Leeming  <leeming@lyx.org>
131
132         * BufferView_pimpl.C:
133         * buffer.C:
134         * counters.C:
135         * cursor.C:
136         * lyxfunc.C
137         * paragraph.C:
138         * pariterator.C:
139         * text.C:
140         * text2.C:
141         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
142
143 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
144
145         * text3.C (getStatus): add LFUN_BEGINNINGBUF
146
147 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
148
149         * lyxfind.C: add a couple of inTexted() tests + other small fixes
150         * BufferView_pimpl.[Ch] (getStatus)
151         * BufferView.[Ch] (getStatus): add
152         * lyxfunc.C (getStatus): move lfuns handled in
153         BufferView::dispatch to te function above
154         * Cursor.C (setSelection): set selection() = true
155
156 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
157
158         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
159
160 2004-03-31  Angus Leeming  <leeming@lyx.org>
161
162         * lyxfunc.C (dispatch): Fall through to the generic
163         Dialogs::show("preamble").
164
165 2004-03-31  Angus Leeming  <leeming@lyx.org>
166
167         * lyxfunc.C (dispatch): Fall through to the generic
168         Dialogs::show("spellchecker").
169
170 2004-03-31  Angus Leeming  <leeming@lyx.org>
171
172         * lyxfunc.C (getStatus, dispatch): changed invocation of the
173         preferences dialog.
174
175 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
176
177         * BufferView.C
178         * cursor.[Ch]
179         * dociterator.[Ch]:
180         * insetiterator.[Ch]:
181         * lyxfind.C:
182         * lyxfunc.C:
183         * pariterator.[Ch]:
184         * text2.C:
185         * undo.[Ch]: s/DocumentIterator/DocIterator/g
186
187 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
188
189         * BufferView.C (setCursor, putSelectionAt): call edit to open the
190         insets where we are putting the cursor.
191
192 2004-03-31  Angus Leeming  <leeming@lyx.org>
193
194         * lfuns.h:
195         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
196
197         * lyxrc.[Ch] (read, write): overloaded member functions taking
198         a std::[io]stream arguments.
199
200         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
201
202 2004-03-31  Angus Leeming  <leeming@lyx.org>
203
204         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
205         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
206
207         * lyxtextclass.C (load): if the text class couldn't be loaded, then
208         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
209
210 2004-03-31  Angus Leeming  <leeming@lyx.org>
211
212         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
213         the LFUN_ALL_INSETS_TOGGLE code.
214
215 2004-03-30  Angus Leeming  <leeming@lyx.org>
216
217         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
218         has died. Fall through to the generic Dialogs::show("document").
219
220 2004-03-30  Angus Leeming  <leeming@lyx.org>
221
222         * lfuns.h:
223         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
224         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
225
226         * lyxfunc.C (getStatus, dispatch): define the actions for these
227         lfuns. Little more than a cut and pste job from ControlDocument.C
228
229         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
230
231 2004-03-30  Angus Leeming  <leeming@lyx.org>
232
233         * lfuns.h:
234         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
235         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
236
237         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
238         open/closed state of ollapsable insets. Usage:
239
240         all-inset-toggle <state> <name>, where
241         <state> == "open" || "closed" || "toggle" and
242         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
243
244         * lyxtext.h, text2.C (toggleInset): removed.
245
246         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
247         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
248         now passes LFUN_INSET_TOGGLE to the found inset.
249
250         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
251         is now invoked as "all-insets-toggle toggle branch".
252
253 2004-03-30  Angus Leeming  <leeming@lyx.org>
254
255         * dociterator.C:
256         * insetiterator.C:
257         * pariterator.[Ch]: added/corrected header blurb.
258
259 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
260
261         * dociterator.[Ch]: add an inset_ member
262         (backwardPos): implemented
263         (backwardPos, forwardPos): use inset_ when the stack is empty.
264         (doc_iterator_begin, doc_iterator_end): implemented
265         * pariterator.[Ch]: adjust, add begin, end
266         * insetiterator.[Ch]: adjust, add begin, end
267         * cursor.C:
268         * document.C:
269         * BufferView.C:
270         * BufferView_pimpl.C:
271         * CutAndPaste.C: adjust
272
273 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
274
275         * buffer.C: increment file format to 232.
276         * LaTeXFeatures.C: add bibtopic package.
277         * bufferparams.[Ch]: param \use_bibtopic.
278
279         * lyxrc.[Ch]: add lyxrc bibtex_command
280         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
281
282         * buffer.C: increment file format to 231.
283
284 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
285
286         * dociterator.C: implement forwardPar
287         * iterators.[Ch]: remove, replaced by
288         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
289         * BufferView.C:
290         * BufferView_pimpl.C:
291         * CutAndPaste.C:
292         * buffer.C:
293         * bufferview_funcs.C:
294         * cursor.C:
295         * lyxfind.C
296         * lyxfunc.C
297         * paragraph_funcs.C
298         * toc.C:
299         * Makefile.am: adjust
300
301 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
302
303         * CutAndPaste.C (pasteSelection): fix 2 crashes
304         (eraseSelection): fix a crash
305         * paragraph_funcs.C: remove a warning
306
307 2004-03-28  Angus Leeming  <leeming@lyx.org>
308
309         * lfuns.h:
310         * LyXAction.C (init): new LFUN_PRINT.
311
312         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
313
314 2004-03-27  Angus Leeming  <leeming@lyx.org>
315
316         * lfuns.h:
317         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
318
319         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
320
321 2004-03-27  Angus Leeming  <leeming@lyx.org>
322
323         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
324         insetlist always contains non-null pointers to insets.
325
326 2004-03-26  Angus Leeming  <leeming@lyx.org>
327
328         * src/BufferView_pimpl.C:
329         * src/CutAndPaste.C:
330         * src/buffer.C:
331         * src/iterators.C:
332         * src/output_plaintext.C:
333         * src/outputparams.h:
334         * src/paragraph_funcs.C:
335         * src/rowpainter.C:
336         * src/text.C:
337         * src/text2.C:
338         * src/frontends/controllers/ControlErrorList.C:
339         * src/frontends/gtk/FileDialogPrivate.C:
340         * src/frontends/gtk/GPainter.C:
341         * src/frontends/gtk/GToolbar.C:
342         * src/frontends/qt2/QRef.C:
343         * src/mathed/math_scriptinset.C: squash compiler warnings.
344
345 2004-03-26  Angus Leeming  <leeming@lyx.org>
346
347         * ispell.C (LaunchIspell::start):
348         * lyx_cb.C (AutoSaveBuffer::start):
349         invoke run(DontWait) rather than runNonBlocking().
350
351 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
352
353         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
354
355 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
356
357         * kbsequence.C (print): adjust
358
359         * kbmap.C (printKeySym): rename and change signature
360         (printKey): use LyXKeySym::print()
361
362 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
363
364         * undo.C: add using std::advance to compile for stlport
365
366 2004-03-24  Angus Leeming  <leeming@lyx.org>
367
368         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
369         it leads to a crash when no buffer is present.
370
371 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372             Martin Vermeer  <martin.vermeer@hut.fi>
373
374         * lyxfunc.C (dispatch):
375         * bufferparams.C (readToken): use the new LColor::setColor
376
377         * LColor.[Ch] (setColor): new version that takes two strings as
378         argument and creates a new color entry if necessary
379
380 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
381
382         * buffer.C (makeLaTeXFile): if the main latex file that is
383         processed is usually a subdocument of some master, then pretend
384         for a while that it is actually the master
385
386 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
387
388         * buffer.C (getLabelList):
389         (getBibkeyList): use getMasterBuffer()
390         (getMasterBuffer): new method. Returns the main document in the
391         case where one is using included documents.
392
393 2004-03-25  André Pönitz  <poenitz@gmx.net>
394
395         * Makefile.am:
396         * iterators.[Ch]:
397         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
398
399         * ParagraphList_fwd.h: change ParagraphList to a std::vector
400
401         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
402         text*.C over here. Rename namespace CutAndPaste to lyx::cap
403
404         * ParameterStruct.h: merge with ParagraphParameters
405
406         * lyxtext.h: remove LyXText::parOffset() and getPar()
407
408         * text3.C: Remove all 'manual' update calls. We do now one per user
409         interaction which is completely sufficient.
410
411         * Bidi.C:
412         * BufferView.[Ch]:
413         * BufferView_pimpl.C:
414         * FontIterator.[Ch]:
415         * MenuBackend.C:
416         * ParagraphParameters.[Ch]:
417         * buffer.C:
418         * buffer.h:
419         * bufferlist.C:
420         * cursor.[Ch]:
421         * cursor_slice.[Ch]:
422         * dociterator.[Ch]:
423         * errorlist.[Ch]:
424         * factory.C:
425         * lfuns.h:
426         * lyxfind.C:
427         * lyxfunc.C:
428         * output_docbook.[Ch]:
429         * output_latex.[Ch]:
430         * output_linuxdoc.[Ch]:
431         * output_plaintext.[Ch]:
432         * paragraph.[Ch]:
433         * paragraph_funcs.[Ch]:
434         * paragraph_pimpl.[Ch]:
435         * rowpainter.C:
436         * tabular.[Ch]:
437         * text.C:
438         * text2.C:
439         * toc.C:
440         * undo.[Ch]: adjust
441
442         * frontends/controllers/ControlDocument.C:
443         * frontends/controllers/ControlErrorList.C:
444         * frontends/controllers/ControlSpellchecker.C:
445         * insets/inset.C:
446         * insets/inset.h:
447         * insets/insetbase.h:
448         * insets/insetbibitem.C:
449         * insets/insetbox.C:
450         * insets/insetbranch.C:
451         * insets/insetcaption.C:
452         * insets/insetcharstyle.C:
453         * insets/insetcharstyle.h:
454         * insets/insetcollapsable.C:
455         * insets/insetcollapsable.h:
456         * insets/insetert.C:
457         * insets/insetfloat.C:
458         * insets/insetfoot.C:
459         * insets/insetmarginal.C:
460         * insets/insetnote.C:
461         * insets/insetoptarg.C:
462         * insets/insettabular.C:
463         * insets/insettext.C:
464         * insets/insettext.h:
465         * insets/insetwrap.C:
466         * mathed/math_mboxinset.C:
467         * mathed/math_nestinset.C:
468         * mathed/math_scriptinset.C:
469         * mathed/math_scriptinset.h:
470         * support/types.h:
471
472 2004-03-24  Angus Leeming  <leeming@lyx.org>
473
474         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
475         deal with any child processes that have finished but are waiting to
476         communicate this fact to the rest of LyX.
477
478 2004-03-24  Angus Leeming  <leeming@lyx.org>
479
480         64-bit compile fixes.
481
482         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
483         (c-tor): pass lyx::pos_types rather than ints.
484
485         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
486         lyx::pos_type.
487
488         * text.C (Delete): compile fix.
489         (getPar): ensure that function declaration is the same as that in
490         the header file.
491
492 2004-03-23  Angus Leeming  <leeming@lyx.org>
493
494         * ispell.C (LaunchIspell):
495         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
496         a boost::shred_ptr rather than a std::auto_ptr.
497
498 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * lyxfunc.C (getStatus): handle read-only buffers correctly;
501         handle LFUN_FILE_INSERT_*
502
503         * lyxrc.C (setDefaults, getDescription, output, read):
504         * lyxrc.h: remove ps_command
505
506 2004-03-22  Angus Leeming  <leeming@lyx.org>
507
508         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
509         Ensure that error_handler is processed once only and that all data
510         is saved before attempting to output any warning messages.
511
512         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
513
514 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
515
516         * tabular.C (TeXRow): crash fix (from Kayvan and André)
517
518 2004-03-19  André Pönitz  <poenitz@gmx.net>
519
520         * cursor.[Ch] (reset): take main text inset as argument
521
522         * BufferView: adjust
523         * BufferView_pimpl.C: adjust
524
525         * paragraph.[Ch]: fix completely broken operator=()
526
527 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * LColor.C (getFromLyXName): make sure that the color name is used
530         as lowercase.
531
532 2004-03-17  Angus Leeming  <leeming@lyx.org>
533
534         * lfuns.h:
535         * LyXAction.C (init): remove LFUN_FORKS_KILL.
536
537         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
538         dialog and to kill a forked process.
539
540 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
541
542         * text2.C (setCursorFromCoordinates): fix font problem
543
544 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
545
546         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
547         bogus "rebuild cursor" code
548
549 2004-03-11  André Pönitz  <poenitz@gmx.net>
550
551         * buffer.[Ch]: use InsetText instead of LyXText as container for
552         the main lyx text.
553
554         * dociterator.[Ch]: drop the BufferView * member which is not needed
555         anymore after the change to buffer.C
556
557         * paragraph_funcs.C:
558         * text.C:
559         * text2.C:
560         * BufferView.[Ch]:
561         * BufferView_pimpl.[Ch]:
562         * cursor.[Ch]:
563         * cursor_slice.[Ch]: adjust
564
565         * text3.C: fix bug in mathDispatch
566
567 2004-03-08  André Pönitz  <poenitz@gmx.net>
568
569         * undo.[Ch]: use 'StableDocumentIterator' as base for
570         the Undo struct.
571
572 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
573
574         * LaTeXFeatures.C:
575         * bufferparams.[Ch]: add jurabib support and param.
576
577         * LaTeX.C: add FIXME/comment.
578
579 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
580
581         * buffer.C: increment file format to 230.
582
583 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * cursor.C (dispatch): avoid infinite loops
586
587 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
588
589         * rowpainter.C (paintSelection): fix x coordinates
590
591 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
592
593         * text.C (rowBreakPoint): fix breaking before displayed insets
594
595 2004-03-01  André Pönitz  <poenitz@gmx.net>
596
597         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
598
599         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
600
601         * Makefile.am:
602         * BufferView.C:
603         * BufferView_pimpl.C:
604         * buffer.C:
605         * lyxfind.C:
606         * lyxfunc.C:
607         * text.C:
608         * text2.C:
609         * text3.C: adjust
610
611 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * lyxtext.h:
614         * text.C:
615         * text2.C:
616         * rowpainter.C:
617         * BufferView_pimpl.C: rename textwidth -> maxwidth,
618         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
619
620 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
621
622         * Bidi.[Ch] (computeTables): const correctness
623         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
624         fill_hfill, fill_label_hfill and x from Row
625         * lyxtext.h: prepareToPrint returns a RowMetrics
626         * rowPainter.C: adjust
627         * text.C (prepareToPrint): use width, not textWidth. adjust
628         (redoParagraphInternal, cursorX): adjust
629         * text2.C (getColumnNearX): adjust
630         (init): put a default value to the top LyXText::width
631
632 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
633
634         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
635
636 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
637
638         * lyxtext.h: add FontIterator class
639
640         * text.C (FontIterator, operator*, operator->, operator++): add
641         (rowBreakPoint, setRowWidth): adjust (fixing a
642         rebreaking bug)
643
644 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * BufferView_pimpl.C (workAreaDispatch): allow also
647         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
648
649 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
650
651         * text.C (rowBreakPoint): fix a bug showing with very large insets
652
653 2004-02-25  André Pönitz  <poenitz@gmx.net>
654
655         * text3.C:
656         * cursor.[Ch]: move some mathed specific code to mathed
657
658 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
659
660         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
661         use_tempdir in preferences
662         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
663         tempfile creation
664         * lyx_main.C: ensure that tempdir is valid
665         * lyxlex.h: correct typo
666         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
667         * paragraph.[Ch] (isMultiLingual): make const
668         * cursor.[Ch] (openable): make const
669
670 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
671
672         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
673
674 2004-02-20  André Pönitz  <poenitz@gmx.net>
675
676         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
677
678         * cursor.[Ch]: prepare for localized getStatus()
679
680         * lyxtext.h:
681         * tabular.C:
682         * text.C:
683         * text2.C:
684         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
685
686 2004-02-20  André Pönitz  <poenitz@gmx.net>
687
688         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
689
690 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * text2.C (setCursorFromCoordinates): switch to absolute coords
693         (cursorUp): adjust
694         (cursorDown): adjust
695         * text3.C (dispatch): adjust
696
697 2004-02-16  André Pönitz  <poenitz@gmx.net>
698
699         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
700           insets/ChangeLog)
701
702         * cursor_slice.[Ch]: remove unneeded acessor function
703
704         * lyxtext.h: rename rtl() to isRTL()
705
706         * rowpainter.C:
707         * tabular.C:
708         * text.C:
709         * text2.C:
710         * text3.C: adjust
711
712 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
713
714         * rowpainter.C (paintSelection): coord fix
715
716 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
717
718         * Spacing.C: compile fix
719
720 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
721
722         * cursor.C (dispatch): restore current_ before returning
723
724 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
725
726         * text2.C (cursorUp, cursorDown): fix coords
727         (moveUp): fix crash
728
729 2004-02-12  André Pönitz  <poenitz@gmx.net>
730
731         * lyxtext.h:
732         * text.C:
733         * text2.C:
734         * text3.C: add LCursor & parameter to most cursor movement functions
735           remove usage of LyXText::cursorRow() and cursorPar()
736
737         * cursor.[Ch]: add textRow() needed members
738
739         * BufferView.C:
740         * BufferView_pimpl.C:
741         * paragraph.[Ch]:
742         * BufferView.C:
743         * BufferView_pimpl.C: adjust
744
745 2004-02-11  André Pönitz  <poenitz@gmx.net>
746
747         * lyxfunc.C:
748         * BufferView.[Ch]:
749         * BufferView_pimpl.C: shift undo/redo handling
750
751         * cursor.[Ch]: fix mathed crash
752
753         * lyxfind.C:
754         * lyxtext.h: move selectionAsText to LCursor
755
756         * output_latex.C:
757         * paragraph.C:
758         * text.C:
759         * text2.C:
760         * text3.C: adjust
761
762         * rowpainter.C: fix excessive drawing
763
764 2004-02-06  André Pönitz  <poenitz@gmx.net>
765
766         * BufferView.[Ch]:
767         * BufferView_pimpl.[Ch]:
768         * text3.C: move some text specific LFUN handling
769
770 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
771
772         * text3.C (checkInsetHit): adjust coords
773         * text2.C (getColumnNearX): adjust coords
774         (edit): adjust coords
775         * text.C (getRowNearY): add two asserts
776
777 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
778
779         * converter.C:
780         * format.C: add using std::distance to compile on gcc 2.95/stlport
781
782 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
783
784         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
785
786 2004-02-04  André Pönitz  <poenitz@gmx.net>
787
788         * BufferView.[Ch] (insertInset):
789         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
790
791         * text2.C:
792         * text3.C: adjust
793
794 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
795
796         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
797         on the default clause of the switch
798         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
799         wasn't catched by LCursor::dispatch
800
801 2004-02-03  André Pönitz  <poenitz@gmx.net>
802
803         * BufferView.C:
804         * cursor.[Ch]: some additional asserts
805
806         * undo.[Ch]: remove LyXText dependency in interface
807
808         * lyxfunc.C: adjust
809
810         * lyxtext.h (firstPar, lastPar): remove dead functions
811
812         * text.C:
813         * text2.C:
814         * text3.C:
815         * paragraph.[Ch]: adjust
816
817 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
818
819         * lyxfind.C (find): fix argument order in call to ::find
820
821 2004-02-02  André Pönitz  <poenitz@gmx.net>
822
823         * cursor.[Ch]: remove direct access to anchor
824
825         * text.C: remove findText() hack
826
827 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
828
829         * iterators.[Ch] (lockPath): remove in favour of...
830         * BufferView.[Ch] (setCursor): this addition
831         * BufferView.C (putSelectionAt): adjust
832         * undo.C (performUndoOrRedo): adjust
833         * lyxfunc.C (dispatch): adjust
834
835 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
836
837         * iterators.C (lockPath): add a missing slice
838         * undo.C (performUndoOrRedo): remove redundant positioning code
839
840 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
841
842         * vc-backend.C (scanMaster): ";" -> ';'
843
844 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
845
846         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
847         std::binary_function
848
849         * lyxtextclass.C (compare_name): rename to...
850         (LayoutNamesEqual): ...this
851
852         * lyxlex_pimpl.C (compare_tags): inherit from
853         std::binary_function, put back into anon namespace
854
855         * lyxfind.C (MatchString): inherig from std::binary_function
856         (findChange): use empty() istead of !size()
857
858         * format.C (FormatNamesEqual): new functor
859         (getFormat): use it
860         (getNumber): use it
861         (add): use it
862         (erase): use it
863         (setViewer): use it
864
865         * converter.C (compare_Converter): rename to...
866         (ConverterEqual): ...this, and fixup a bit.
867         (getConverter): use it, and make function const
868         (getNumber): use it, and make function const
869         (add): use it
870         (erase): use it:
871
872         * bufferlist.C: add using boost::bind
873
874         * MenuBackend.C (MenuNamesEqual): new functor
875         (hasMenu): use it, and make function const
876         (hasSubmenu): use nested bind to get rid of compare_memfun.
877
878 2004-01-30  André Pönitz  <poenitz@gmx.net>
879
880         * BufferView_pimpl.C:
881         * cursor.C:
882         * cursor.h:
883         * cursor_slice.[Ch]:
884         * lyxfunc.C:
885         * lyxtext.h:
886         * paragraph_funcs.C:
887         * paragraph_funcs.h:
888         * rowpainter.C:
889         * text.C:
890         * text2.C:
891         * text3.C: move some of the edit(x,y) handling to the insets
892         some coordinate changes.
893
894 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
895
896         * text.C: add using statements for std::advance and std::distance
897
898         * paragraph.C: add using statement for std::distance
899
900         * lyxfind.C: add using statement for std::advance
901
902         * cursor.C (region): remove std:: from swap
903         (openable): use nucleus in stead of operator->
904
905         * BufferView.C: add using statements for std::distance and std::swap
906
907 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
908
909         * iterators.C: Remove the pimple, move the needed structures to
910         the header file. Create accessor for the positions stack.
911         (asPosIterator): remove function
912
913         * PosIterator.C (PosIterator): move constructors to top of file
914         (PosIterator): reimplement the constructor taking a ParIterator in
915         terms of setFrom.
916         (setFrom): new function
917         (operator!=): inline it
918
919 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
920
921         * lyxfind.C (replaceAll): use std::advance
922
923         * iterators.h: inherit from std::iterator.
924
925         * PosIterator.C (advance, distance): remove
926         * PosIterator.h: interit from std::iterator.
927
928 2004-01-26  André Pönitz  <poenitz@gmx.net>
929
930         * BufferView.[Ch]:
931         * BufferView_pimpl.[Ch]:
932         * InsetList.[Ch]:
933         * PosIterator.[Ch]:
934         * buffer.h:
935         * bufferview_funcs.C:
936         * cursor.[Ch]:
937         * cursor_slice.h:
938         * factory.[Ch]:
939         * iterators.[Ch]:
940         * lyxfind.C:
941         * lyxfunc.C:
942         * lyxtext.h:
943         * output_docbook.C:
944         * output_latex.C:
945         * output_linuxdoc.C:
946         * output_plaintext.C:
947         * paragraph.[Ch]:
948         * paragraph_funcs.[Ch]:
949         * paragraph_pimpl.[Ch]:
950         * rowpainter.C:
951         * tabular.C:
952         * tabular.h:
953         * text.C:
954         * text2.C:
955         * text3.C: more IU:  dumps most of the rest of the mathcursor
956     implementation into cursor.[Ch]; "globalize" a bit of it.
957
958 2004-01-25  Angus Leeming  <leeming@lyx.org>
959
960         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
961
962 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
963
964         * LaTeXFeatures.h: add nice_ and nice() const
965         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
966
967 2004-01-20  André Pönitz  <poenitz@gmx.net>
968
969         * BufferView.[Ch]:
970         * BufferView_pimpl.C:
971         * PosIterator.C:
972         * bufferview_funcs.C:
973         * cursor.[Ch]:
974         * cursor_slice.[Ch]:
975         * factory.C:
976         * iterators.C:
977         * lyx_cb.C:
978         * lyxfind.C:
979         * lyxfunc.C:
980         * lyxtext.h:
981         * rowpainter.C:
982         * text.C:
983         * text2.C:
984         * text3.C:
985         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
986           LCursor and mathcursor parts to LCursor and InsetBase.
987
988 2004-01-15  André Pönitz  <poenitz@gmx.net>
989
990         * cursor_slice.[Ch]: add a few covienience functions
991
992         * funcrequest.[Ch]: remove BufferView * member
993
994         * BufferView_pimpl.C:
995         * cursor.C:
996         * factory.[Ch]:
997         * lyxfind.[Ch]:
998         * lyxfunc.C:
999         * lyxtext.h:
1000         * text3.C:
1001         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1002
1003 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1006         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1007
1008 2004-01-13  André Pönitz  <poenitz@gmx.net>
1009
1010         * textcursor.[Ch]:
1011         * lyxtext.h: hide cursor and selection anchor behind accessor function
1012
1013         * BufferView.C:
1014         * BufferView_pimpl.[Ch]:
1015         * PosIterator.C:
1016         * bufferview_funcs.C:
1017         * cursor.h:
1018         * lyxfind.C:
1019         * lyxfunc.C:
1020         * text.C:
1021         * text2.C:
1022         * text3.C:
1023         * undo.C: adjust
1024
1025         * cursor.h:
1026         * cursor_slice.[Ch]: some integer type changes for inset unification
1027
1028         * lyxcursor.[hC]: remove, it's CursorSlice now.
1029
1030         * Makefile.am:
1031         * BufferView_pimpl.[Ch]:
1032         * bufferview_funcs.C:
1033         * cursor_slice.C:
1034         * lyxtext.h:
1035         * text.C:
1036         * text2.C:
1037         * text3.C:
1038         * textcursor.[Ch]: adjust
1039
1040 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1041
1042         * text2.C (undoSpan): add and use
1043         * text.C (breakParagraph): use undoSpan (fix bug 578)
1044         * lyxtext.h: adjust
1045
1046 2004-01-08  Angus Leeming  <leeming@lyx.org>
1047
1048         * BufferView_pimpl.C (MenuInsertLyXFile):
1049         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1050         * lyxfunc.C (menuNew, open, doImport):
1051         FileFilterList change to the FileDialog open and save functions.
1052
1053 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1054
1055         * ShareContainer.h: make isEqual and isUnique adaptable
1056
1057         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1058
1059 2004-01-07  Angus Leeming  <leeming@lyx.org>
1060
1061         * LyXAction.C:
1062         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1063
1064         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1065
1066         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1067         functions replacing find, replace and replaceAll.
1068
1069         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1070         LFUN_WORDFIND(FORWARD|BACKWARD).
1071
1072 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1073
1074         * text.C (breakParagraph): remove an outdated #warning
1075
1076 2004-01-07  André Pönitz  <poenitz@gmx.net>
1077
1078         * lyxfind.C: somewhat clearer logic
1079
1080         * text.C: prevent crash in cursorX on unitialized row cache
1081
1082 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1083
1084         * lyxcursor.[Ch] (operator>): add
1085         * textcursor.C (selStart, selEnd): use std::min and std::max
1086
1087 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1088
1089         * Chktex.C: include boost/format.hpp
1090
1091 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1092
1093         * InsetList.C: replace functor MathcIt with adaptable functor
1094         InsetTablePosLess
1095         (insetIterator): modify accordingly
1096
1097         * BranchList.h: move the BranchNamesEqual functor here from...
1098         * BranchList.C: ... to here
1099
1100         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1101         SameName and match.
1102         (add): replace a finding loop with std::find_if.
1103
1104 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * output_docbook.C: moving LatexParam functionality into
1107         .layout files
1108
1109 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1110
1111         * buffer.C: increment format to 229.
1112
1113 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1114
1115         * LaTeXFeatures.C:
1116         * lyx_sty.[Ch]: remove minipageindent_def
1117
1118         * LyXAction.C:
1119         * factory.C:
1120         * lfuns.h:
1121         * lyxfunc.C:
1122         * text3.C: remove LFUN_INSET_MINIPAGE
1123
1124 2003-12-28  Angus Leeming  <leeming@lyx.org>
1125
1126         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1127
1128 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1129
1130         * text2.C (setParagraph): fix off-by-one crash
1131
1132 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1133
1134         * output_docbook.C: header stuff for AGU
1135
1136 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1137
1138         * text2.C (redoCursor): remove
1139         * text.C:
1140         * text3.C:
1141         * BufferView_pimpl.C: remove calls to redoCursor and
1142         setCursor(cursor.par(), cursor.pos()) all around
1143
1144 2003-12-15  Angus Leeming  <leeming@lyx.org>
1145
1146         * buffer.C: up the format to 228.
1147
1148 2003-12-15  André Pönitz  <poenitz@gmx.net>
1149
1150         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1151         slices
1152
1153         * Makefile.am:
1154
1155         * BufferView_pimpl.C:
1156         * cursor.[Ch]:
1157         * lyxcursor.[Ch]:
1158         * rowpainter.[Ch]:
1159         * lyxtext.h:
1160         * text.C:
1161         * text2.C:
1162         * text3.C: adjust
1163
1164 2003-12-15  Angus Leeming  <leeming@lyx.org>
1165
1166         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1167         than getFromGUIName to manipulate the color.
1168
1169 2003-12-14  Angus Leeming  <leeming@lyx.org>
1170
1171         * BranchList.[Ch]: minimize the API.
1172         (Branch::getBranch, getColor): now return a 'const &'.
1173         (Branch::setSelected) now returns a bool set to true if the
1174         selection status changes.
1175         (BranchList::clear, size, getColor, setColor, setSelected,
1176         allBranches, allSelected, separator): removed.
1177         (BranchList::find): new functions, returning the Branch with
1178         the given name.
1179         (BranchList::add, remove): return a bool indicating that
1180         the operation was successful.
1181
1182         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1183         new InsetBranch::isBranchSlected member function.
1184
1185         * LColor.[Ch]: mimimize the API.
1186         (fill): renamed as addColor and made private.
1187         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1188         versions of these functions taking a string arg have been removed.
1189
1190         * bufferparams.C (readToken):
1191         * lyxfunc.C (dispatch):
1192         * lyxrc.C (read): changes due to the altered BranchList and
1193         LColor APIs.
1194
1195         * factory.C (createInset, readInset): changes due to altered
1196         InsetBranch c-tor.
1197
1198 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * factory.C:
1201         * lyxfunc.C: remove insetminipage. "minipage-insert"
1202         now produces a frameless minipage box inset.
1203
1204 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1205
1206         * textcursor.[Ch] (selStart,selEnd): add new methods
1207         remove selection::start, end, use LyXCursor::operator<
1208         * lyxcursor.[Ch] (operator<): add
1209         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1210         * BufferView.[Ch] (unsetXSel): add
1211         * text2.C (clearSelection): use unsetXSel,adjust
1212         * text.C: adjust
1213         * text3.C: adjust
1214         * rowpainter.C: adjust
1215         * bufferview_funcs.C (put_selection_at): adjust
1216
1217 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1218
1219         * BufferView_pimpl.C: small coord. correction
1220
1221 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1222
1223         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1224         dragging over the splash screen.
1225
1226 2003-12-11  Angus Leeming  <leeming@lyx.org>
1227
1228         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1229         as it is now handled in LyXText::dispatch.
1230
1231         * text3.C (doInsertInset): remove a level of nesting.
1232
1233 2003-12-11  Angus Leeming  <leeming@lyx.org>
1234
1235         * factory.C (createInset): changes due to the changed interface to
1236         InsetCommandMailer::string2params.
1237
1238 2003-12-10  Angus Leeming  <leeming@lyx.org>
1239
1240         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1241         'dialog-show-new-inset <inset name>'
1242
1243 2003-12-10  Angus Leeming  <leeming@lyx.org>
1244
1245         * buffer.C: up the format to 227.
1246
1247         * factory.C: the box inset is now identified simply by 'Box'.
1248
1249 2003-12-10  Angus Leeming  <leeming@lyx.org>
1250
1251         * buffer.C: up the format to 226.
1252
1253         * factory.C: the note inset is now identified simply by 'Note'.
1254
1255 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1256
1257         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1258         when a pit is enough. Standarize a couple of loops.
1259
1260 2003-12-05  Angus Leeming  <leeming@lyx.org>
1261
1262         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1263         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1264         data to the re-worked "log" dialog.
1265
1266 2003-12-03  André Pönitz  <poenitz@gmx.net>
1267
1268         * PosIterator.C:
1269         * iterators.C:
1270         * lyxtext.h:
1271         * output_latex.C:
1272         * paragraph_funcs.C:
1273         * text.C:
1274         * text2.C: use Inset::getText instead of Inset::getParagraph
1275
1276 2003-12-03  André Pönitz  <poenitz@gmx.net>
1277
1278         * buffer.[Ch]:
1279         * lyxtext.h:
1280         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1281         InsetText::read() as LyXText::read()
1282
1283 2003-12-02  Angus Leeming  <leeming@lyx.org>
1284
1285         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1286         type. Add a comment in the implementation that the function uses
1287         the stream's bad() function rather than fail() as the std::streams
1288         would do.
1289
1290 2003-12-02  André Pönitz  <poenitz@gmx.net>
1291
1292         * lyxlex.[Ch]: make interface more similar to std::stream
1293
1294         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1295
1296 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1297
1298         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1299
1300 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1301
1302         * vspace.[Ch]: remove VSpace::NONE
1303
1304 2003-12-01  André Pönitz  <poenitz@gmx.net>
1305
1306         * buffer.[Ch]:
1307         * lyxtext.h: move ParagraphList member to LyXText
1308         rename LyXText::ownerParagraphs to LyXText::paragraph
1309
1310         * CutAndPaste.C:
1311         * bufferview_funcs.C:
1312         * iterators.[Ch]:
1313         * lyx_cb.C:
1314         * paragraph.C:
1315         * rowpainter.C:
1316         * tabular.C:
1317         * text.C:
1318         * text2.C:
1319         * text3.C: adjust
1320
1321         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1322
1323         * undo.C: fix cursor positioning
1324
1325 2003-12-01  John Levon  <levon@movementarian.org>
1326
1327         * BufferView_pimpl.C: fix a crash on exit with
1328         a buffer open
1329
1330 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1331
1332         * BranchList.C: fix setSelected() method.
1333
1334 2003-11-28  André Pönitz  <poenitz@gmx.net>
1335
1336         * ParagraphParameters.[Ch]:
1337         * ParameterStruct.h: remove space above/below from Paragraph to
1338          InsetVSpace
1339
1340         * BufferView_pimpl.C:
1341         * factory.C:
1342         * lyxfunc.C:
1343         * lyxtext.h:
1344         * output_latex.C:
1345         * paragraph.C:
1346         * paragraph_funcs.C:
1347         * rowpainter.[Ch]:
1348         * text.C:
1349         * text2.C:
1350         * text3.C: adjust
1351
1352 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1353
1354         * factory.C: Syntax change for CharStyles
1355
1356 2003-11-28  André Pönitz  <poenitz@gmx.net>
1357
1358         * BufferView.[Ch]:
1359         * BufferView.[Ch]:
1360         * buffer.[Ch]:
1361         * buffer.[Ch]: move LyXText member
1362
1363 2003-11-28  André Pönitz  <poenitz@gmx.net>
1364
1365         * BufferView.[Ch]: make LyXText * text a private member
1366
1367         * BufferView_pimpl.C:
1368         * cursor.C:
1369         * iterators.C:
1370         * lyx_cb.C:
1371         * lyxfind.C:
1372         * lyxtext.h:
1373         * rowpainter.[Ch]:
1374         * text.C:
1375         * text2.C:
1376         * undo.C: adjust
1377
1378         * output_plaintext.C: cleanup
1379
1380 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1381
1382         * buffer.C:
1383         * lyxtextclass.[Ch]: parametrize SGML document header
1384
1385 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1386
1387         * converter.[Ch]:
1388         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1389         getFlavor().
1390
1391 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1392
1393         * text2.C (setFont): rework using PosIterator (no more recursive)
1394         (setCharFont): no more needed
1395         (setLayout): no more selection cursors fiddling (done by redoCursor)
1396         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1397         destroy remaining ones)
1398
1399 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1400
1401         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1402         * lyxtext.h: ditto
1403         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1404         selection cursors
1405         * lyxfunc.C: adjust
1406         * text3.C: adjust + re-allow multi par depth changes
1407         * textcursor.C: simplify a bit
1408
1409 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1410
1411         * src/buffer.C:
1412         * src/lyxlayout.C:
1413         * src/lyxlayout.h:
1414         * src/lyxtext.h:
1415         * src/output_docbook.C:
1416         * src/output_latex.C:
1417         * src/paragraph.C:
1418         * src/paragraph.h:
1419         * src/sgml.C:
1420         * src/sgml.h:
1421         * src/text2.C: Introducing a number of tags parametrizing various
1422         XML formats that we may want to support
1423
1424 2003-11-25  André Pönitz  <poenitz@gmx.net>
1425
1426         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1427
1428         * lyxtext.h (leftMargin/rightMargin): simplify interface
1429
1430         * rowpainter.C:
1431         * text.C:
1432         * text2.C:
1433         * text3.C: adjust
1434
1435 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1436
1437         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1438         master file to any child files. Fixes bug 546.
1439
1440 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1441
1442         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1443
1444 2003-11-24  André Pönitz  <poenitz@gmx.net>
1445
1446         * rowpainter.C: simplification
1447
1448         * text2.C (updateCounters): remove call to redoParagraph on
1449         changed labels as this is far too expensive.
1450
1451 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1452
1453         * converter.C (convert): fix a crash: this function gets
1454         called with buffer == 0 from importer code.
1455
1456 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1457
1458         * text3.C (cursorPrevious): make sure that we do not compare
1459         iterators form different containers.
1460         (cursorNext): ditto
1461
1462         * rowpainter.C (paintSelection): make sure that we do not compare
1463         iterators from different containers.
1464
1465         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1466         iterators from different ParagraphList containers.
1467         [NEXT] ditto
1468
1469         * text2.C (LyXText): change order of initialization slightly
1470         (operator=): new function. copy all variables except cache_par_
1471         (moveUp): make sure that we do not compare iterators from
1472         different ParagraphList constainers.
1473         (moveDown): ditto
1474
1475         * text.C (firstPar): new function
1476         (lastPar): new function
1477         (endPar): new function
1478
1479         * lyxtext.h: move things around and group public functions, public
1480         variables, private functions, private variables
1481
1482 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1483
1484         * factory.C: change call to InsetERT constructor to avoid
1485         additional invocation of method status
1486         * text2.C (toggleInset): remove redundant update() call
1487         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1488         instead of a Bufferview pointer
1489
1490 2003-11-21  André Pönitz  <poenitz@gmx.net>
1491
1492         * rowpainter.C: simplification
1493
1494 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1495
1496         * text3.C (dispatch): make possible to extend a word/row selection
1497         with the mouse
1498
1499 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1500
1501         * lyxtext.h: x0_,y0_ -> xo_,yo_
1502         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1503         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1504         * rowpainter.C (paintRows): paint full paragraphs
1505
1506 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1507
1508         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1509         screen coordinates)
1510
1511 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1512
1513         * lyxtext.h: add x0_, y0_
1514         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1515         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1516
1517 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1518
1519         * text2.C (setCursorIntern): move the x_target update here *
1520         * text3.C: change some bv() to true/false in calls to
1521         cursorUp/Down/Right/Left
1522         * cursor.C: use helper function.
1523
1524 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1525
1526         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1527         * paragraph_funcs.[Ch]: correct comment
1528         * rowpainter.C: do not paint selections away from bv->cursor()
1529         Fix a long standing selection painting bug.
1530         * text3.C: generalize mouse-selection code to LyXTexts other that
1531         top one
1532         * textcursor.C: do not use y coords if we can use par offsets
1533
1534 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1535
1536         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1537         cursor position after e.g. inset insert)
1538
1539 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * lyxfind.C (replace): adjust to locking removal + some
1542         code simplification
1543
1544 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1545
1546         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1547         of the path
1548
1549 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1550
1551         * lyxlayout.[Ch]:
1552         * output_docbook.C: XML sanitation: new layout
1553         parameters InnerTag and CommandDepth
1554
1555 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1556
1557         * BufferView_pimpl.C:
1558         * factory.C:
1559         * text3.C: Fix the insertion and modification of button-style
1560         insets
1561
1562 2003-11-13  André Pönitz  <poenitz@gmx.net>
1563
1564         * InsetList.[Ch]: remove deleteLyXText
1565
1566         * paragraph.[Ch]: cache beginOfBody position
1567
1568         * Bidi.C:
1569         * text.C:
1570         * text2.C:
1571         * text3.C: remove superfluous update() calls
1572
1573         * vspace.C: cleanup
1574
1575 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1576
1577         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1578         * BufferView.C (fitLockedInsetCursor): remove
1579         * cursor.[Ch] (getDim): add
1580         * text.C (getRowNearY): add faster version
1581         * text3.C: remove some update calls
1582
1583 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1584
1585         * LaTeXFeatures.C:
1586         * LyXAction.C:
1587         * MenuBackend.C:
1588         * MenuBackend.h:
1589         * dispatchresult.h:
1590         * factory.C:
1591         * lfuns.h:
1592         * lyxfunc.C:
1593         * lyxtextclass.C:
1594         * lyxtextclass.h:
1595         * text3.C: The Character Style /XML short element patch.
1596
1597 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1598
1599         * text3.C:
1600         * factory.C: Small step to solving 'unable to insert some insets'
1601         problem
1602
1603 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1604
1605         * cursor.[Ch] (updatePos): new function for updating the y
1606         position of the tip inset
1607         * bufferview_funcs.C (put_selection_at):
1608         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1609
1610 2003-11-11  André Pönitz  <poenitz@gmx.net>
1611
1612         * text.C: remove big comment on invalid Paragraph pointers as it is
1613         not valid anymore
1614
1615 2003-11-11  André Pönitz  <poenitz@gmx.net>
1616
1617         * text_funcs.[Ch]: merge with ...
1618
1619         * text.C: ... this
1620
1621         * lyxtext.h:
1622         * text2.C:
1623         * text3.C: adjust
1624
1625         * Makefile.am: remove text_funcs.[Ch]
1626
1627 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1628
1629         * cursor.C (getPos): return absolute cached y coord
1630
1631         * BufferView_pimpl.C (fitCursor): new simplistic code
1632         (workAreaDispatch): add a fitCursor call
1633
1634 2003-11-10  André Pönitz  <poenitz@gmx.net>
1635
1636         * BufferView.[Ch]:
1637         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1638
1639 2003-11-10  André Pönitz  <poenitz@gmx.net>
1640
1641         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1642         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1643         indicate that the cursor needs to leave an inset
1644
1645         * lyxtext.h: remove inset locking
1646
1647         * cursor.[Ch]: re-implement functionality provided by inset locking
1648
1649         * BufferView.[Ch]:
1650         * BufferView_pimpl.[Ch]:
1651         * LyXAction.C:
1652         * bufferview_funcs.[Ch]:
1653         * factory.C:
1654         * funcrequest.[Ch]:
1655         * iterators.C:
1656         * lyx_cb.C:
1657         * lyxfind.C:
1658         * lyxfunc.C:
1659         * text.C:
1660         * text2.C:
1661         * text3.C:
1662         * undo.C: adjust
1663
1664 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1665
1666         * PosIterator.[Ch]: replace the stack with a vector, add inset
1667         accesor
1668         * iterators.[C]: adjust
1669
1670 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1671
1672         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1673         replaced
1674         * paragraph_funcs.C (readParToken): put the correct id in the
1675         error item, not the id of the top paragraph
1676
1677 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1680         * bufferview_funcs.C (put_selection_at): use the above
1681
1682 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1683
1684         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1685
1686 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1687
1688         * output_linuxdoc.h:
1689         * output_plaintext.h:
1690         * output.h:
1691         * output_docbook.h: add #include statements
1692
1693 2003-11-05  José Matos  <jamatos@lyx.org>
1694
1695         * output_docbook.[Ch]:
1696         * output_latex.[Ch]:
1697         * output_linuxdoc.[Ch]:
1698         * output_plaintext.[Ch]: New files for output formats.
1699         * output.[Ch]: New file for helper functions.
1700
1701         * buffer.[Ch]:
1702         * paragraph_funcs.[Ch]: output functions moved to new files.
1703
1704         * outputparams.h: rename of latexrunparams.h
1705
1706         * LaTeX.[Ch]:
1707         * buffer.[Ch]:
1708         * bufferlist.[Ch]:
1709         * converter.[Ch]:
1710         * exporter.C:
1711         * paragraph.[Ch]:
1712         * paragraph_funcs.[Ch]:
1713         * paragraph_pimpl.[Ch]:
1714         * tabular.[Ch]: rename ascii to plaintext
1715         and LatexRunParams to OutputParams.
1716
1717 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1718
1719         * iterators.[Ch] (text): require bv argument
1720         * undo.C (recordUndo):
1721         * lyxfunc.C (dispatch):
1722         * bufferview_funcs.C (put_selection_at): adjust
1723
1724 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1725
1726         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1727
1728 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1729
1730         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1731         nestings
1732
1733 2003-11-04  André Pönitz  <poenitz@gmx.net>
1734
1735         * cursor.[Ch]: restructure
1736
1737         * BufferView.[Ch]:
1738         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1739
1740         * iterators.[Ch] (asCursor): remove
1741
1742         * lfuns.h: remove LFUN_INSET_EDIT
1743
1744         * lyxfunc.C:
1745         * tabular.C:
1746         * text.C:
1747         * text2.C:
1748         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1749
1750 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1751
1752         * lyxfind.[Ch]: complete overhaul
1753         * BufferView_pimpl.C:
1754         * lyxfunc.C: adjust
1755         * paragraph.[Ch] (insert): add
1756
1757 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1758
1759         * BufferView.[Ch]:
1760         * lyxtext.h:
1761         * text.C: remove dead spellcheck code
1762
1763 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1764
1765         * dispatchresult.h: add a val setter
1766
1767         * cursor.C (dispatch): use a tempvar for data_[i]
1768
1769 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1770
1771         * PosIterator.[Ch]: compile fix
1772
1773 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1774
1775         * text.C (cursorPar): deactivate the cursor cache
1776
1777 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1778
1779         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1780
1781 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1782
1783         * text3.C (dispatch): adjust for new DisptchResult semantics.
1784
1785         * lyxfunc.C (dispatch): handle update when return from
1786         Cursor::dispatch, adjust for new DispatchResult semantics.
1787
1788         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1789         DispatchResult(true) mean to not update. Add class functions for
1790         setting dispatched and update, as well as reading.
1791
1792         * cursor.C (dispatch): don't handle update here
1793
1794 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1795
1796         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1797         * trans_mgr.C: adjust
1798
1799         * paragraph_funcs.C (readParToken): exception safety
1800
1801         * lyxvc.h: store the vcs pointer in a scoped_ptr
1802         * lyxvc.C: adjust
1803
1804         * lyxsocket.C (serverCallback): exception safety
1805
1806         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1807
1808         * ispell.C (clone): make it return a auto_ptr
1809
1810         * factory.C (createInset): exception safety
1811         (readInset): exception safety
1812
1813         * bufferlist.C (newBuffer): exception safety
1814
1815         * Thesaurus.C (Thesaurus): use initialization for aik_
1816
1817         * MenuBackend.C (expandToc): exception safety.
1818
1819 2003-11-03  André Pönitz  <poenitz@gmx.net>
1820
1821         * buffer.C:
1822         * buffer.h:
1823         * bufferview_funcs.C: remove getInsetFromId()
1824
1825         * lyxcursor.[Ch]:
1826         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1827
1828         * lyxfunc.C:
1829         * text2.C:
1830         * text3.C: adjust
1831
1832 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1833
1834         * PosIterator.C (distance, advance): new
1835         * bufferview_funcs.[Ch] (put_selection_at): new
1836         * iterators.[Ch] (lockPath): new
1837
1838 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1839
1840         * iterators.[Ch] (asPosIterator): added
1841         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1842         * PosIterator.[Ch]: added
1843
1844 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * text3.C:
1847         * lyxfunc.C:
1848         * cursor.C (dispatch):
1849         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1850
1851         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1852         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1853         contructor, add a class function dispatched. Remove operator>=
1854
1855 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1856
1857         * debug.C: only use the default constructor for debugstream
1858         (lyxerr) here.
1859
1860         * main.C (main): include debug.h and setup the lyxerr streambuf
1861         here.
1862
1863 2003-10-31  José Matos  <jamatos@lyx.org>
1864
1865         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1866
1867         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1868         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1869         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1870         * paragraph_pimpl.C (simpleTeXSpecialC):
1871         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1872         add LatexRunParams argument.
1873
1874         * exporter.C (Export): change call accordingly.
1875
1876         * latexrunparams.h: add new member to take care of the other backends.
1877 2003-10-30  José Matos  <jamatos@lyx.org>
1878
1879         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1880         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1881         factorise code for paragraph output.
1882         * buffer.[Ch]:
1883         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1884         move functions.
1885
1886 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1887
1888         * text3.C (dispatch):
1889         * lyxfunc.C (dispatch):
1890         * cursor.C (dispatch):
1891         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1892
1893         * dispatchresult.h: make the dispatch_result_t ctor explicit
1894
1895 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1896
1897         * sgml.[Ch]:
1898         * buffer.C: small refactoring of docbook stuff
1899
1900 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1903         meaning.
1904
1905 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1906
1907         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1908         operator dispatch_result_t, and operators for == != and >=
1909
1910         * cursor.C (dispatch): adjust for operator dispatch_result_t
1911         removal. comment out call to update
1912
1913         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1914
1915 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1916
1917         * text3.C:
1918         * text2.C:
1919         * text.C:
1920         * lyxtext.h:
1921         * lyxfunc.C:
1922         * cursor.C:
1923         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1924         (dispatch):
1925
1926         * dispatchresult.h: new file, DispatchResult broken out of
1927         insets/insetbase.h
1928
1929         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1930
1931 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1932
1933         * text.C (rowBreakPoint): put a hack inside #if 0
1934
1935 2003-10-28  André Pönitz  <poenitz@gmx.net>
1936
1937         * lyxtext.h:
1938         * metricsinfo.C:
1939         * paragraph_funcs.C:
1940         * rowpainter.C:
1941         * text.C:
1942         * text2.C: general cleanup (lots of small stuff)
1943
1944 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1945
1946         * text2.C (cursorEnd): simple fix to the "end key goes to one
1947         before the end on last row" bug
1948
1949 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1950
1951         * text.C (backspace): fix the "zombie characters"
1952
1953 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1954
1955         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1956
1957 2003-10-27  André Pönitz  <poenitz@gmx.net>
1958
1959         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1960
1961         * factory.C: handle new InsetPagebreak, InsetLine
1962
1963         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1964         and move handling into new InsetPagebreak, InsetLine
1965
1966         * BufferView_pimpl.C:
1967         * LyXAction.C:
1968         * ParagraphParameters.C:
1969         * ParameterStruct.h:
1970         * lyxfunc.C:
1971         * lyxtext.h:
1972         * paragraph.C:
1973         * paragraph.h:
1974         * paragraph_funcs.C:
1975         * paragraph_pimpl.C:
1976         * rowpainter.C:
1977         * text.C:
1978         * text2.C:
1979         * text3.C: adjust
1980
1981 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1982
1983         * text.C:
1984         * lyxrow_funcs.[Ch]:
1985         * Bidi.C:
1986         * paragraph.C:
1987         * lyxtext.h:
1988         * rowpainter.C:
1989         * text2.C:
1990         * text3.C: remove lastPos uses in favour of Row::endpos
1991
1992 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1993
1994         * undo.C (performUndoOrRedo): fix two crashes by setting a
1995         cursor by hand and reordering some calls. Use bv->lockInset instead
1996         of inset->edit because the latter loses cursor information
1997
1998 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1999
2000         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2001         by Martin
2002         (rowBreakPoint): fix width. change point to point + 1.
2003         Add a missing check.
2004
2005 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2006
2007         * MenuBackend.C:
2008         * lyxfunc.C: fix (at least partly) the problems
2009         with the Nav menu and headers inside branch insets
2010         reported by Kayvan
2011
2012 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2013
2014         * paragraph.C (getChar): add strong asserts
2015
2016         * lyxrow_funcs.C (lastPos): remove hideous hack
2017
2018         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2019         (fill): adjust to that (avoid an infinite loop)
2020
2021 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2022
2023         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2024
2025 2003-10-23  André Pönitz  <poenitz@gmx.net>
2026
2027         * RowList_fwd.h: change list<> to vector<> to gain speed
2028         after suggestion from Alfredo
2029
2030 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2031
2032         * lyxtext.h: move the bidi stuff from here...
2033         * text.C: and here
2034         * text2.C: and here
2035         * Bidi.[Ch]: ... to here
2036
2037 2003-10-23  André Pönitz  <poenitz@gmx.net>
2038
2039         * lyxtext.h:
2040         * text.C (isLastRow, isFirstRow): new functions
2041
2042         * paragraph.h: new width cache member
2043
2044         * rowpainter.C: replace RowList::iterator with Row & where possible
2045
2046         * lyxfunc.C: replace several view()->text with a single call
2047
2048         * toc.C: fix 'unused' warning
2049
2050 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2053         when woring with stream::pos_type
2054         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2055
2056 2003-10-22  André Pönitz  <poenitz@gmx.net>
2057
2058         * lyxtext.h:
2059         * text.C: use Row & instead of RowList::iterator
2060
2061         * lyxrow.h: rename end() to endpos()
2062
2063         * rowpainter.C:
2064         * text.C:
2065         * text2.C: adjust
2066
2067 2003-10-22  Angus Leeming  <leeming@lyx.org>
2068
2069         * buffer.[Ch] (fully_loaded): new member function, returning true
2070         only when the file has been loaded fully.
2071         Used to prevent the premature generation of previews and by the
2072         citation inset to prevent computation of the natbib-style label.
2073
2074         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2075         templates are all set up.
2076
2077         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2078
2079 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2080
2081         * text.C: fixed an "oops" in the "is a bit silly"
2082         bug fix
2083
2084 2003-10-21  André Pönitz  <poenitz@gmx.net>
2085
2086         * FuncStatus.[Ch]: small stuff, whitespace
2087
2088         * lyxfont.[Ch]: operator<<() for debug reasons
2089
2090         * lyxfunc.C:
2091         * lyxrow_funcs.C:
2092         * lyxtext.h: whitespace, spelling
2093
2094         * paragraph.C: naming of variables
2095
2096         * text.C:
2097         * text2.C: small stuff
2098
2099
2100 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2101
2102         * text.C: (1) finish off the inset display() work;
2103         (2) fix the "is a bit silly" bug (accessing char
2104         past end of par).
2105
2106 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2107
2108         * text.C: re-introduce display() for insets, fixing the
2109         various bugs (stretch of line above, math inset
2110         positioning, ...)
2111
2112 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2113
2114         * text.C (rightMargin): remove spurious semicolon
2115
2116         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2117         1415)
2118
2119 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2120
2121         * text3.C: fix one crash due to wrong cursor def
2122
2123 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2124
2125         * vc-backend.C (scanMaster): make the regex static
2126
2127         * LaTeX.C (scanAuxFile): make the regexs static
2128
2129         * text3.C (doInsertInset, dispatch, dispatch):
2130         * text2.C (cursorUp, cursorDown):
2131         * text.C (selectNextWordToSpellcheck):
2132         * BufferView_pimpl.C (dispatch):
2133         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2134
2135 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2136
2137         * lyxsocket.C: include <cerrno>
2138
2139 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2140
2141         * lyxfunc.C (dispatch): remove textcache stuff
2142
2143         * bufferlist.C (release): remove textcache stuff
2144         (closeAll): ditto
2145
2146         * TextCache.C: delete file
2147         * TextCache.h: delete file
2148
2149         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2150
2151         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2152         delete of the bv_->text.
2153         (resizeCurrentBuffer): remove texcache stuff
2154         (workAreaResize): ditto
2155
2156 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2157
2158         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2159         action.
2160
2161 2003-10-16  André Pönitz  <poenitz@gmx.net>
2162
2163         * lyxrow.[Ch]:
2164         * paragraph.h:
2165         * rowpainter.C:
2166         * text.C:
2167         * text2.C:
2168         * text3.C: speed up by storing y positions per paragraph plus per-row
2169         offset instead of having a 'full' y position in the row.
2170
2171 2003-10-15  André Pönitz  <poenitz@gmx.net>
2172
2173         * iterators.[Ch]:
2174         * iterators.[Ch]:
2175         * undo.[Ch]: make undo aware of inner insets
2176
2177 2003-10-14  Angus Leeming  <leeming@lyx.org>
2178
2179         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2180         static member functions LyX::ref() and LyX::cref.
2181         (lastfiles): new accessor functions for the new lastfiles_ member var.
2182         (addLyXView, views_): add a new LyXView to the list of views_.
2183         (updateInset): loop over all LyXViews to call their own updateInset
2184         member function, returning a pointer to the Buffer owning the inset.
2185
2186         * BufferView_pimpl.C (loadLyXFile):
2187         * MenuBackend.C (expandLastfiles):
2188         * bufferlist.C (MenuWrite, QuitLyX):
2189         lastfiles is no longer a global variable.
2190         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2191
2192         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2193         static function. Access through LyX::cref().emergencyCleanup().
2194
2195 2003-10-14  André Pönitz  <poenitz@gmx.net>
2196
2197         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2198
2199         * undo.[Ch]: restoring part of 'undo in insets'
2200
2201         * Makefile.am:
2202         * undo_funcs.[Ch]: merge with undo.[Ch]
2203
2204         * tabular.C: small cleansing stuff
2205
2206 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2207
2208         * paragraph_funcs.C (readParToken): report unknown insets as error
2209         boxes. Use the outer paragraph as location (also for unknown
2210         tokens).
2211
2212         * factory.C (readInset): do not abort on reading an unknown inset.
2213         Eat it and return 0.
2214
2215 2003-10-13  Angus Leeming  <leeming@lyx.org>
2216
2217         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2218
2219         * lyxrc.C: displayTranslator is now a function,
2220         declared in GraphicsTypes.h.
2221
2222 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2223
2224         * format.C: new placeholder $$a to pass the socket address.
2225
2226         * bufferlist.[Ch]: new function getBufferFromTmp.
2227
2228         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2229           files in the temporary dir.
2230
2231 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2232
2233         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2234
2235         * Makefile.am: add lyxsocket.[Ch].
2236
2237         * lyx_main.C (error_handler): handle SIGPIPE.
2238
2239 2003-10-13  André Pönitz  <poenitz@gmx.net>
2240
2241         * BufferView_pimpl.C:
2242         * lyxtext.h:
2243         * text.C:
2244         * text2.C:
2245         * text3.C:
2246         * undo_funcs.[Ch]: use paroffset_type instead of
2247           ParagraphList::iterators to prevent multiple conversion
2248           (and get a more robust interface)
2249
2250 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2251
2252         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2253         * lyxtext.h: ditto
2254         * text3.C (dispatch): ditto
2255
2256 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2257
2258         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2259         move the onlyfile, use onlyfile instead of foundfile in a couple
2260         of places.
2261
2262         * DepTable.C (update): flush the error stream a bit more
2263
2264 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2265
2266         * lyxserver.C (callback): adjust
2267
2268         * lyxfunc.C (getStatus): add a missing brace in commented code
2269         (ensureBufferClean): reindent
2270         (dispatch): delete version taking a string
2271
2272 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2273
2274         * LaTeX.C (deplog): move found file handlig from here...
2275         (handleFoundFile): .. to new function here.
2276         (deplog): make sure to discover several files mentioned on the
2277         same log line.
2278
2279 2003-10-10  André Pönitz  <poenitz@gmx.net>
2280
2281         * lyxfunc.C:
2282         * lyxtext.h:
2283         * tabular.C:
2284         * text.C:
2285         * text2.C:
2286         * text3.C: fix some of the tabular crashes
2287
2288 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2289
2290         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2291
2292         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2293
2294 2003-10-09  André Pönitz  <poenitz@gmx.net>
2295
2296         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2297
2298         * BufferView.C:
2299         * BufferView_pimpl.C:
2300         * bufferview_funcs.C:
2301         * lyx_cb.C:
2302         * lyxcursor.C:
2303         * lyxfind.C:
2304         * lyxfunc.C:
2305         * lyxtext.h:
2306         * text.C:
2307         * text2.C:
2308         * text3.C:
2309         * text_funcs.[Ch]:
2310         * textcursor.[Ch]:
2311         * undo_funcs.C: adjust
2312
2313 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2314
2315         * text2.C (incrementItemDepth): new function, use a backtracking
2316         algorithm to discover the correct item depth.
2317         (resetEnumCounterIfNeeded): new function, use a backtracking
2318         algorithm to discover if counter reset is needed.
2319         (setCounter): use them. Simplify a bit. Add different labels for
2320         different item depths for itemize.
2321
2322         * paragraph.C (Paragraph): remove initialization of enumdepth
2323         (operator=): ditto
2324
2325         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2326         enumerate and itemize. Change the type of itemdepth to signed char.
2327
2328 2003-10-08  André Pönitz  <poenitz@gmx.net>
2329
2330         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2331           thing assignable.
2332         * text.C:
2333         * text2.C: adjust
2334
2335         * tabular.[Ch]: fix crash after 'row-insert'
2336
2337 2003-10-08  Angus Leeming  <leeming@lyx.org>
2338
2339         Fix doxygen warnings.
2340
2341         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2342         Remove CutAndPaste:: prefix from header file declaration.
2343
2344         * LColor.h (fill): remove LColor:: prefix from declaration.
2345
2346         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2347         use lyx::depth_type rather than Paragraph::depth_type so that
2348         header file and .C file match.
2349
2350         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2351
2352         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2353         * aspell.C: \file aspell_local.C -> \file aspell.C
2354         * gettext.C: \file gettext.C -> \file src/gettext.C
2355         * gettext.h: \file gettext.h -> \file src/gettext.h
2356         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2357         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2358         * text.C: \file text.C -> \file src/text.C
2359
2360         * toc.C: move comment so that doxygen is not confused.
2361
2362 2003-10-07  Angus Leeming  <leeming@lyx.org>
2363
2364         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2365
2366 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2367
2368         * aspell.C:
2369         * aspell_local.h: add forgotten std::string's.
2370
2371 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2372
2373         * LaTeXFeatures.C:
2374         * LyXAction.C:
2375         * factory.C:
2376         * lfuns.h:
2377         * lyxfunc.C:
2378         * text3.C: The Box patch. Fancybox support, minipage, parbox
2379
2380 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2381
2382         * CutAndPaste.h:
2383         * DepTable.h:
2384         * FloatList.h:
2385         * LaTeXFeatures.h:
2386         * ParagraphParameters.h:
2387         * TextCache.h:
2388         * Thesaurus.h:
2389         * bufferlist.h:
2390         * exporter.h:
2391         * importer.h:
2392         * lastfiles.h:
2393         * lyxfind.h:
2394         * lyxfont.h:
2395         * lyxlex.h:
2396         * lyxtextclasslist.h:
2397         * messages.h:
2398         * paragraph.h:
2399         * paragraph_pimpl.C:
2400         * textcursor.h: add <string> and other small fixes to make Lars'
2401         std::string patch compile with STLport.
2402
2403 2003-10-06  Angus Leeming  <leeming@lyx.org>
2404
2405         * LColor.h: Add missing #include <string>.
2406
2407 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * All most all file in all subdirs: Make <string> be the prefered
2410         way of getting to std::string, add using declarations.
2411
2412 2003-10-06  André Pönitz  <poenitz@gmx.net>
2413
2414         * metricsinfo.C: initialize LyXFont before changing attribute.
2415         (fixes the 'math in \emph is upright' bug)
2416
2417 2003-10-06  André Pönitz  <poenitz@gmx.net>
2418
2419         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2420
2421 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2422
2423         * graph.C:
2424         * paragraph_pimpl.C: Small fixes to build using STLport
2425
2426 2003-10-02  André Pönitz  <poenitz@gmx.net>
2427
2428         * lyxfunc.C:
2429         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2430
2431 2003-10-01  André Pönitz  <poenitz@gmx.net>
2432
2433         * factory.C: assert early
2434
2435 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2436
2437         * lyx_main.C: remove the global debug object
2438
2439         * debug.h: adjust for new debugstream
2440
2441         * debug.C: adjust for new debugstream and keep the global debug
2442         object here.
2443
2444 2003-09-22  Angus Leeming  <leeming@lyx.org>
2445
2446         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2447         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2448         an incomplete class LyXFont.
2449
2450 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2451
2452         * factory.C: bug fix in branches
2453
2454 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2455
2456         * lyxfunc.C (processKeySym): adjust
2457         (dispatch): adjust
2458         (dispatch): change arg name from ev to func, adjust
2459         (sendDispatchMessage): ditto
2460
2461         * lyx_main.C (defaultKeyBindings): adjust keybindings
2462         (deadKeyBindings): ditto
2463
2464         * kbsequence.C (addkey): return a FuncRequest
2465
2466         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2467
2468         * kbmap.C (bind): take a FuncRequest as arg, adjust
2469         (read): adjust
2470         (lookup): adjust
2471         (defkey): change to take a FuncRequest as arg, adjust
2472         (findbinding): take a FuncRequest as arg, adjust.
2473
2474         * funcrequest.h (operator=): added
2475
2476         * funcrequest.C (FuncRequest): default kb_action changed from
2477         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2478
2479         * buffer.C (dispatch): simplify
2480         (dispatch): adjust to take a FuncRequest as arg, adjust
2481
2482         * boost.C (assertion_failed): change assertion message slightly
2483
2484         * ToolbarBackend.C (read): simplify
2485
2486         * MenuBackend.C (binding): adjust call to findbinding, add a
2487         message if no binding is found.
2488         (read): simplify
2489         (expandToc): correct by adding a empty FuncRequest
2490
2491         * LyXAction.C: include <boost/assert.hpp>
2492         (isPseudoAction): delete function
2493         (LookupFunc): change name to...
2494         (lookupFunc): this. change return type to FuncRequest.
2495         (getActionName): take kb_action as arg, simplify
2496         (funcHasFlag): add an assert, simplify.
2497
2498 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * toc.C (action): return a FuncRequest, simplify
2501
2502         * lyxfunc.C (processKeySym): adjust
2503         (getStatus): delete version that takes an int.
2504         (getStatus): adjust
2505         (dispatch): delete version that takes action as int
2506         (dispatch): adjust
2507         (sendDispatchMessage): simplify and adjust
2508
2509         * funcrequest.C (getArg): take unsigned int as arg
2510
2511         * ToolbarBackend.C (read): adjust
2512         (add): delete version that takes func as a string.
2513         (getIton): take a FuncRequest as arg
2514
2515         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2516         action.
2517
2518         * MenuBackend.C (MenuItem): add a new construct that only takes a
2519         Kind, simplify the constructor use for submenus.
2520         (add): adjust
2521         (expandLastfiles): adjust
2522         (expandDocuments): adjust
2523         (expandFormats): adjust
2524         (expandFloatListInsert): adjust
2525         (expandFloatInsert): adjust
2526         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2527
2528         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2529         Remove class variables lyx_pseudo_map and lyx_arg_map
2530
2531         * LyXAction.C (searchActionArg): delete function
2532         (getPseudoAction): delete function
2533         (retrieveActionArg): delete function
2534         (LookupFunc): make it return kb_action, simplify.
2535         (getActionName): simplify
2536
2537         * factory.C (createInset): fix new bug
2538
2539 2003-09-19  Angus Leeming  <leeming@lyx.org>
2540
2541         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2542         masterFilename_ parameter in the include inset.
2543
2544         * factory.C (createInset): changes due to the changes to InsetInclude.
2545
2546 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2547
2548         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2549
2550 2003-09-18  Angus Leeming  <leeming@lyx.org>
2551
2552         * buffer.C:
2553         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2554         Inset::fillWithBibKeys.
2555         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2556
2557 2003-09-18  Angus Leeming  <leeming@lyx.org>
2558
2559         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2560         variables.
2561         (ctor): pass and store a 'Buffer const &'
2562         (buffer): new member function.
2563
2564         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2565         '*this' to the LaTeXFeatures ctor.
2566
2567 2003-09-18  Angus Leeming  <leeming@lyx.org>
2568
2569         * LColor.h:
2570         * lyxfont.C:
2571         * lyxfont.h:
2572         * lyxtext.h:
2573         * text.C: rename EnumLColor as LColor_color.
2574
2575 2003-09-18  Angus Leeming  <leeming@lyx.org>
2576
2577         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2578         remove #include "insets/insetbase.h" from cursor.h.
2579
2580 2003-09-18  Angus Leeming  <leeming@lyx.org>
2581
2582         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2583         InsetOld_code to remove #include "inset.h".
2584
2585         * iterators.C: add #include "insets/inset.h"
2586
2587 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2588
2589         * BufferView.C: remove more locking stuff that apparently doesn't
2590         do anything sensible.
2591
2592 2003-09-16  André Pönitz  <poenitz@gmx.net>
2593
2594         * paragraph.[Ch]:
2595         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2596           performance boost.
2597
2598 2003-09-16  Angus Leeming  <leeming@lyx.org>
2599
2600         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2601
2602         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2603         arg/return type.
2604
2605         * paragraph.h: remove #include "lyxfont.h". Forward declare
2606         LyXFont_size.
2607
2608 2003-09-16  Angus Leeming  <leeming@lyx.org>
2609
2610         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2611         of support/textutils.h.
2612         (isWord): move the contents of support/textutils.h's IsWordChar here.
2613
2614         * buffer.C:
2615         * lyxfind.C:
2616         * rowpainter.C:
2617         * text.C:
2618         * text2.C: add #include "paragraph.h".
2619
2620         * rowpainter.C:
2621         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2622
2623 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2624
2625         * main.C:
2626         * lyx_main.C:
2627         * lyx_cb.C:
2628         * buffer.C:
2629         * LaTeX.C: use namespace alias for lyx::support::os
2630
2631 2003-09-16  Angus Leeming  <leeming@lyx.org>
2632
2633         * bufferparams.C:
2634         * bufferview_funcs.C:
2635         * factory.C:
2636         * lyxfunc.C:
2637         * paragraph_pimpl.C:
2638         * rowpainter.C:
2639         * text.C: add #include "LColor.h".
2640
2641 2003-09-16  Angus Leeming  <leeming@lyx.org>
2642
2643         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2644         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2645         return LyXFont &.
2646         Store the FontBits::color variable as an int rather than as an
2647         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2648         file.
2649
2650         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2651         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2652         string calls together.
2653
2654         * lyxrc.C: add #include "LColor.h".
2655
2656 2003-09-15  Angus Leeming  <leeming@lyx.org>
2657
2658         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2659         a cow_ptr.
2660
2661 2003-09-15  Angus Leeming  <leeming@lyx.org>
2662
2663         * LColor.h: add an EnumLColor wrapper for LColor::color.
2664
2665         * lyxfont.[Ch] (color, setColor, realColor):
2666         * lyxtext.h, text.C (backgroundColor):
2667         pass EnumLColor args to/from the functions, rather than LColor::color
2668         ones.
2669
2670         * lyxfont.h:
2671         * lyxtext.h: forward declare EnumLColor.
2672
2673         * lyx_main.C: add #include "LColor.h".
2674
2675 2003-09-15  Angus Leeming  <leeming@lyx.org>
2676
2677         * .cvsignore: add lyx-gtk.
2678
2679 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * Chktex.C
2682         * LaTeX.C
2683         * LaTeXFeatures.C
2684         * ParagraphParameters.C
2685         * Spacing.C
2686         * buffer.C
2687         * bufferparams.C
2688         * bufferview_funcs.C
2689         * chset.C
2690         * counters.C
2691         * funcrequest.C
2692         * lyxfont.C
2693         * lyxgluelength.C
2694         * lyxlength.C
2695         * paragraph.C
2696         * paragraph_funcs.C
2697         * text3.C
2698         * vc-backend.C: remove usage of STRCONV
2699
2700 2003-09-15  Angus Leeming  <leeming@lyx.org>
2701
2702         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2703         explicitly define the color passed to the painter.
2704
2705 2003-09-15  Angus Leeming  <leeming@lyx.org>
2706
2707         * bufferparams.C (BufferParams): reorder member initializers to avoid
2708         compiler warning.
2709
2710 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2713         * text.C (updateRowPositions): remove an unusual nop
2714
2715 2003-09-12  André Pönitz  <poenitz@gmx.net>
2716
2717         * BufferView_pimpl.C:
2718         * Bullet.C:
2719         * layout.h:
2720         * lyxfunc.C:
2721         * lyxlayout.[Ch]:
2722         * lyxtextclass.C:
2723         * rowpainter.C:
2724         * text.C:
2725         * text2.C:
2726         * Counters.[Ch]: finish the 'automatic counters' job
2727
2728 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2729
2730         * aspell.C: include <boost/assert.cpp> (compile fix)
2731
2732 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2733
2734         * boost.C (assertion_failed): use lyx::support::abort instead of
2735         assert.
2736
2737 2003-09-10  Angus Leeming  <leeming@lyx.org>
2738
2739         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2740         with their _fwd progeny.
2741
2742 2003-09-09  Angus Leeming  <leeming@lyx.org>
2743
2744         134 files throughtout the source tree: replace 'using namespace abc;'
2745         directives with the appropriate 'using abc::xyz;' declarations.
2746
2747 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2748
2749         * boost.C (emergencyCleanup): moved here from LAssert.c
2750         (assertion_failed): new function, called by BOOST_ASSERT
2751
2752         * several files: change Assert to BOOST_ASSERT
2753
2754 2003-09-09  Angus Leeming  <leeming@lyx.org>
2755
2756         * buffer.[Ch]: Add an Impl class and move Buffer's member
2757         variables into it. As a result move several header files out of
2758         buffer.h.
2759
2760         Add header files to lots of .C files all over the tree as a result.
2761
2762 2003-09-09  Angus Leeming  <leeming@lyx.org>
2763
2764         * buffer.[Ch]: make Buffer's member variables private. Add
2765         accessor functions.
2766
2767         Lots of changes all over the tree as a result.
2768
2769 2003-09-08  Angus Leeming  <leeming@lyx.org>
2770
2771         * graph.C: #include <config.h>.
2772
2773 2003-09-08  Angus Leeming  <leeming@lyx.org>
2774
2775         * BranchList.C:
2776         * BufferView.C:
2777         * BufferView_pimpl.C:
2778         * CutAndPaste.C:
2779         * DepTable.C:
2780         * LaTeX.C:
2781         * LaTeXFeatures.C:
2782         * LyXAction.C:
2783         * MenuBackend.C:
2784         * TextCache.C:
2785         * aspell.C:
2786         * buffer.C:
2787         * bufferlist.C:
2788         * changes.C:
2789         * chset.C:
2790         * converter.C:
2791         * counters.C:
2792         * debug.C:
2793         * graph.C:
2794         * ispell.C:
2795         * lyx_cb.C:
2796         * lyxfind.C:
2797         * lyxfunc.C:
2798         * lyxlex_pimpl.C:
2799         * lyxrc.C:
2800         * lyxrow.C:
2801         * paragraph.C:
2802         * rowpainter.C:
2803         * texrow.C:
2804         * text.C:
2805         * text2.C:
2806         * toc.C: remove redundant using directives.
2807
2808 2003-09-07  Angus Leeming  <leeming@lyx.org>
2809
2810         * LaTeXFeatures.h: remove #include "support/types.h".
2811         * ToolbarBackend.h: remove #include <algorithm>.
2812         * changes.h: remove #include <ctime>.
2813         * debug.h: remove #include <iosfwd>.
2814         * graph.h: remove #include "support/std_string.h".
2815         * lyx_main.h: remove #include <csignal>.
2816         * lyxlex_pimpl.h: remove #include <fstream>.
2817         * sgml.h: remove #include <algorithm>, <utility>.
2818         * toc.h: remove #include "support/std_ostream.h".
2819         Add #include <iosfwd>.
2820
2821 2003-09-07  Angus Leeming  <leeming@lyx.org>
2822
2823         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2824
2825         * converter.h: forward declare LatexRunParams.
2826         * encoding.h: remove #include "lyxrc.h".
2827         * lyxtext.h: remove #include "LColor.h".
2828         * lyxtextclass.h: remove #include "support/types.h".
2829         * trans.h: remove #include "tex-accent.h".
2830         * trans_mgr.h: remove #include "tex-accent.h".
2831         * insets/inset.h: remove #include "support/types.h", <vector>.
2832         * insets/insetcollapsable.h: remove #include "LColor.h".
2833         * insets/insetinclude.h: remove #include "dimension.h".
2834         * insets/insetlatexaccent.h: remove #include "dimension.h".
2835         * insets/insetoptarg.h:: remove #include "insettext.h".
2836         * insets/insettext.h: remove #include "dimension.h",
2837         <boost/shared_ptr.hpp>
2838
2839         * insets/renderers.h: add #include "dimension.h".
2840         * insets/updatableinset.h: add #include "support/types.h".
2841
2842         * many .C files: Associated changes.
2843
2844 2003-09-06  Angus Leeming  <leeming@lyx.org>
2845
2846         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2847         one, inside testInvariant.
2848
2849         * PrinterParams.C: new file.
2850         * PrinterParams.[Ch]: move the function bodies out of line.
2851
2852 2003-09-06  Angus Leeming  <leeming@lyx.org>
2853
2854         * ParagraphParameters.h: forward declare ParameterStruct rather than
2855         including its header file.
2856         (depth): moved out-of-line.
2857
2858 2003-09-06  Angus Leeming  <leeming@lyx.org>
2859
2860         * BufferView_pimpl.h:
2861         * kbmap.h:
2862         * kbsequence.h:
2863         * lyxfunc.h: forward declare LyXKeySym rather than
2864         #include "frontends/LyXKeySym.h".
2865
2866         * BufferView_pimpl.C:
2867         * kbmap.C:
2868         * kbsequence.C:
2869         * lyxfunc.C: associated changes.
2870
2871 2003-09-06  Angus Leeming  <leeming@lyx.org>
2872
2873         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2874         As a result, can remove the #include "insets/inset.h" from BufferView.h
2875
2876 2003-09-06  Angus Leeming  <leeming@lyx.org>
2877
2878         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2879         As a result, can remove the #include "insets/inset.h" from BufferView.h
2880
2881 2003-09-06  Angus Leeming  <leeming@lyx.org>
2882
2883         * buffer_funcs.C:
2884         * buffer.h:
2885         * bufferlist.C:
2886         * BufferView.C:
2887         * bufferview_funcs.C:
2888         * BufferView_pimpl.C:
2889         * CutAndPaste.C:
2890         * lyx_cb.C:
2891         * lyxfunc.C:
2892         * paragraph.h:
2893         * ParagraphParameters.C:
2894         * tabular.C:
2895         * text3.C:
2896         * toc.C:
2897         * undo_funcs.C:
2898         * frontends/controllers/ControlDocument.C:
2899         * insets/insetcaption.C: rearrange the #includes into some sort of
2900         coherent order.
2901
2902         * buffer.h: remove #includes ErrorList.h, undo.h
2903
2904 2003-09-06  Angus Leeming  <leeming@lyx.org>
2905
2906         * support/types.h: add a 'depth_type' typedef, used to store the
2907         nesting depth of a paragraph.
2908
2909         * paragraph.h:
2910         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2911         defining explicitly.
2912
2913         * buffer.h:
2914         * paragraph_funcs.h:
2915         * ParagraphParameters.h:
2916         * sgml.h: use lyx::depth_type rather than Paragraph or
2917         ParameterStruct's depth_type.
2918
2919         * buffer.h
2920         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2921
2922         * BufferView.C:
2923         * BufferView_pimpl.C:
2924         * CutAndPaste.C:
2925         * ParagraphParameters.C:
2926         * buffer_funcs.C:
2927         * bufferlist.C:
2928         * bufferview_funcs.C:
2929         * lyx_cb.C:
2930         * lyxfunc.C:
2931         * tabular.C:
2932         * text3.C:
2933         * toc.C:
2934         * undo_funcs.C:
2935         * frontends/LyXView.C:
2936         * frontends/controllers/ControlDocument.C:
2937         * frontends/controllers/ControlErrorList.C:
2938         * insets/insetbibitem.C:
2939         * insets/insetbranch.C:
2940         * insets/insetcaption.C:
2941         * insets/insetcollapsable.C:
2942         * insets/insetenv.C:
2943         * insets/insetert.C:
2944         * insets/insetfloat.C:
2945         * insets/insetfoot.C:
2946         * insets/insetfootlike.C:
2947         * insets/insetnewline.C:
2948         * insets/insetquotes.C:
2949         * insets/insettabular.C:
2950         * insets/insettext.C:
2951         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2952
2953         * frontends/controllers/ControlChanges.C: #include "changes.h".
2954
2955 2003-09-06  Angus Leeming  <leeming@lyx.org>
2956
2957         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2958         than #including paragraph.h.
2959
2960         * ParagraphList.h:
2961         * RowList.h: deleted. Superfluous.
2962
2963         * CutAndPaste.h:
2964         * iterators.h:
2965         * lyxcursor.h:
2966         * lyxtext.h:
2967         * text_funcs.h:
2968         * undo.h:
2969         * undo_funcs.h:
2970         * insets/inset.h:
2971         * insets/insettext.h: use ParagraphList_fwd.h rather than
2972         ParagraphList.h.
2973
2974         * paragraph.h: don't forward declare ParagraphList.
2975
2976         * buffer.h:
2977         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2978         rather than ParagraphList.h. paragraph.h is still needed for the
2979         Paragraph::depth_type parameters.
2980
2981         * textcursor.h: enable it to compile stand-alone in light of the
2982         above changes.
2983
2984         * bufferview_funcs.C:
2985         * iterators.C:
2986         * lyxfunc.C:
2987         * lyxrow_funcs.C:
2988         * paragraph.C:
2989         * rowpainter.C:
2990         * text.C:
2991         * text2.C:
2992         * text3.C:
2993         * text_funcs.C:
2994         * textcursor.C:
2995         * undo.C:
2996         * frontends/controllers/ControlParagraph.C:
2997         * frontends/controllers/ControlTabular.C:
2998         * insets/insetmarginal.C:
2999         * insets/insetminipage.C:
3000         * insets/insetnote.C:
3001         * insets/insetoptarg.C: add header files needed to compile again.
3002
3003 2003-09-06  Angus Leeming  <leeming@lyx.org>
3004
3005         * RowList_fwd.h: new file, forward-declaring Row rather than
3006         #including lyxrow.h.
3007
3008         * lyxrow_funcs.h:
3009         * lyxtext.h:
3010         * paragraph.h:
3011         * insets/insettext.h: use it instead of RowList.h
3012
3013         * bufferview_funcs.C:
3014         * lyxfunc.C:
3015         * lyxrow_funcs.C:
3016         * paragraph.C:
3017         * rowpainter.C:
3018         * text.C:
3019         * text2.C:
3020         * text3.C: #include "RowList.h".
3021
3022 2003-09-05  Angus Leeming  <leeming@lyx.org>
3023
3024         * factory.C (createInset):
3025         * vspace.C (c-tor): replace sscanf call with an istringstream.
3026         * ispell.C: re-add missing HP/UX headers.
3027         * lyxserver.C: re-add missing  os2 headers.
3028
3029 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3030
3031         * BranchList.C:
3032         * graph.C:
3033         * ispell.C:
3034         * lastfiles.C:
3035         * lyx_cb.C:
3036         * lyxserver.C:
3037         * texrow.C:
3038         * text3.C: re-add missing system headers, needed for 2.95.2.
3039
3040 2003-09-05  Angus Leeming  <leeming@lyx.org>
3041
3042         Changes most place everywhere due to the removal of using directives
3043         from support/std_sstream.h.
3044
3045 2003-09-05  Angus Leeming  <leeming@lyx.org>
3046
3047         Replace LString.h with support/std_string.h,
3048         Lsstream.h with support/std_sstream.h,
3049         support/LIstream.h with support/std_istream.h,
3050         support/LOstream.h with support/std_ostream.h.
3051
3052         Changes resulting throughout the tree.
3053
3054 2003-09-05  Angus Leeming  <leeming@lyx.org>
3055
3056         * sgml.h: ensure that the header file can be compiled stand-alone.
3057         * *.C: strip out redundant #includes. (320 in total.)
3058
3059 2003-09-04  Angus Leeming  <leeming@lyx.org>
3060
3061         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3062         here (from getPackages).
3063
3064         * debug.[Ch]: add a new EXTERNAL tag.
3065
3066 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3067
3068         * text2.C (cursorEnd): simplify
3069         (setCursor): adjust
3070         (getColumnNearX): adjust
3071
3072         * text.C (computeBidiTables): adjust
3073         (fill): adjust
3074
3075         * rowpainter.C (paintChars): adjust
3076         (paintSelection): adjust
3077         (paintChangeBar): adjust
3078         (paintText): adjust
3079
3080         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3081         lastPos instead.
3082         (numberOfSeparators): adjust
3083
3084 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3085
3086         * LyXAction.C:
3087         * box.[Ch]:
3088         * lfuns.h:
3089         * lyxfunc.C:
3090         * text3.C: Restricts the mouse click functionality
3091         of insets like bibtex, include, toc and floatlist to the visible
3092         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3093         up the dialogs. Cursor has to be in front of the inset (i.e.
3094         start of row) for this to function.
3095
3096 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3097
3098         * bufferview_funcs.C (currentState): output row information
3099
3100 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3101
3102         * bufferview_funcs.C (currentState): output paragraph position
3103
3104 2003-09-04  Angus Leeming  <leeming@lyx.org>
3105
3106         * FloatList.h: move out #include "Floating.h".
3107         * LaTeX.h: move out #include "DepTable.h".
3108         * LyXAction.h: move out #include "funcrequest.h".
3109         * buffer.h: move out #include "author.h", "iterators.h".
3110         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3111         * lyx_main.h: move out #include "errorlist.h".
3112         * lyxfunc.h: move out #include "FuncStatus.h".
3113         * lyxtext: move out #include "lyxcursor.h".
3114         * paragraph_pimpl.h: move out #include "counters.h".
3115
3116 2003-09-03  Angus Leeming  <leeming@lyx.org>
3117
3118         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3119         preamble_snippets list, enabling us to add snippets to the preamble
3120         only if the snippet was not there already.
3121
3122 2003-09-04  Angus Leeming  <leeming@lyx.org>
3123
3124         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3125
3126 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3127
3128         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3129         update
3130
3131 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3132
3133         * BranchList.C: point fix, earlier forgotten
3134
3135 2003-09-02  Angus Leeming  <leeming@lyx.org>
3136
3137         * box.C (contains): renamed from 'contained' after a fantastic
3138         amount of hot air.
3139
3140 2003-09-02  John Levon  <levon@movementarian.org>
3141
3142         * BufferView.C:
3143         * lyxcursor.h:
3144         * lyxcursor.C:
3145         * lyxfunc.C:
3146         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3147
3148 2003-09-02  John Levon  <levon@movementarian.org>
3149
3150         * text2.C: simplification of cursorEnd(), including partial
3151         fix for bug 1376
3152
3153 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * buffer.C (readFile): add a space
3156
3157 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3158
3159         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3160
3161 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3162
3163         * buffer.C (readFile): new function, take a filename and a
3164         ParagraphList::iterator
3165         (readFile): adjust
3166         (readFile): adjust, make it private. don't use setStream, make
3167         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3168         always contain the filename.
3169
3170         * BufferView.C (insertLyXFile): simplify and make it work for
3171         gzipped files.
3172
3173 2003-08-30  John Levon  <levon@movementarian.org>
3174
3175         * Makefile.am: fix dist (from Kayvan)
3176
3177 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * most files: change to use const Buffer refs
3180
3181 2003-08-27  André Pönitz  <poenitz@gmx.net>
3182
3183         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3184         on top of ownerPar().
3185
3186 2003-08-27  John Levon  <levon@movementarian.org>
3187
3188         * funcrequest.C: properly initialise POD members
3189
3190 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * lyxtext.h (top_y): move top_y from here
3193         * text.C:
3194         * text2.C:
3195         * text3.C:
3196         * BufferView.[Ch]:
3197         * BufferView_pimpl.[Ch]: to here
3198         * frontends/screen.C:
3199         * insets/insettabular.C:
3200         * insets/insettext.C: adjust
3201         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3202
3203 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3204
3205         * BufferView.[Ch]:
3206         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3207
3208 2003-08-26  André Pönitz  <poenitz@gmx.net>
3209
3210         * paragraph_func.[Ch] (outerPar): new function
3211
3212         * paragraph.C:
3213         * paragraph_funcs.C:
3214         * paragraph_funcs.h:
3215         * paragraph_pimpl.C:
3216         * text2.C: remove Inset::par_owner
3217
3218 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3219
3220         * lyxrow_funcs.C:
3221         * lyxtext.h:
3222         * text.C:
3223         * text2.C: eliminates the needFullRow/display() stuff
3224         altogether, putting the logic in metrics/draw in the insets.
3225
3226 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * text2.C (redoParagraphInternal, redoParagraphs):
3229         * text.C (redoParagraph): add a call to updateRowPositions at the
3230         end of each 'metrics-like' call. Remove all others.
3231         (getRow): remove the 'y-computing' version.
3232         (getRowNearY): do not compute nor return the real y. Solve the
3233         'y < 0' problem and simplify.
3234
3235 2003-08-22  Angus Leeming  <leeming@lyx.org>
3236
3237         * *.[Ch]: clean-up of licence and author blurbs.
3238         Also move config.h out of a few .h files and into a few .C files.
3239
3240 2003-08-22  André Pönitz  <poenitz@gmx.net>
3241
3242         * lyxrow.[Ch]: add x_ and *fill_ members
3243
3244         * lyxtext.h:
3245         * text.C:
3246         * rowpainter.C:
3247         * text2.C: adjust/remove prepareToPrint() calls
3248
3249 2003-08-22  André Pönitz  <poenitz@gmx.net>
3250
3251         * lyxrow.[Ch]: add  end_ member
3252
3253         * lyxrow_funcs.C: use LyXRow::end_
3254
3255         * lyxtext.h (singleWidth): add LyXFont parameter
3256
3257         * rowpainter.C:
3258         * text2.C: adjust LyXText::singleWidth() calls
3259
3260         * text.C (redoParagraph): simplify row breaking logic
3261
3262
3263 2003-08-19  André Pönitz  <poenitz@gmx.net>
3264
3265         * funcrequest.C: initialize button_ member
3266
3267         * text3.C:
3268         * rowpainter.[Ch]: interface consolidation
3269
3270 2003-08-18  André Pönitz  <poenitz@gmx.net>
3271
3272         * BufferView.C:
3273         * BufferView_pimpl.C:
3274         * lyxfind.C:
3275         * paragraph_funcs.C:
3276         * rowpainter.C:
3277         * text3.C: remove LyXScreen::draw() and fitCursor calls
3278
3279         * BranchList.h: remove spurious semicolons
3280
3281         * MenuBackend.C: fix branchlist related crash
3282
3283 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3284
3285         * BranchList.[Ch]:
3286         * InsetList.[Ch]:
3287         * LColor.[Ch]:
3288         * LyXAction.C:
3289         * Makefile.am:
3290         * MenuBackend.[Ch]:
3291         * bufferparams.[Ch]:
3292         * factory.C:
3293         * lfuns.h:
3294         * lyxfunc.C:
3295         * text3.C: implements the 'branch inset'
3296         idea. This allows the output of various versions of a document
3297         from a single source version, selectively outputing or suppressing
3298         output of parts of the text.
3299         This implementation contains a 'branch list editor' in a separate
3300         tab of the document settings dialog. Branches are user definable
3301         and have a "display colour" to distinguish them on-screen.
3302
3303         ColorHandler was somewhat cleaned up.
3304         (1) make possible a dynamically growing LColor list by allowing
3305         the graphic context cache to grow along (vector);
3306         (2) eliminate an IMHO unnecessary step in colour allocation.
3307
3308 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3309
3310         * BufferView_pimpl.C: compile fix
3311
3312 2003-08-15  André Pönitz  <poenitz@gmx.net>
3313
3314         * rowpainter.C: remove extra metrics calls
3315
3316         * lyxtext.h: merge the two constructors into a single one,
3317           pass reference to owner's par list
3318
3319         * BufferView_pimpl.C:
3320         * text.C:
3321         * text2.C: adjust
3322
3323 2003-08-15  André Pönitz  <poenitz@gmx.net>
3324
3325         * lyxrow_funcs.[Ch]:
3326         * lyxtext.h:
3327         * paragraph.h:
3328         * paragraph_funcs.C:
3329         * rowpainter.C:
3330         * text.C:
3331         * text2.C:
3332         * text3.C:
3333         * text_funcs.C: split LyXText::rowlist_ into individual
3334         Paragraph::rows_ chunks
3335
3336         * BufferView.[Ch]:
3337         * BufferView_pimpl.[Ch]:
3338         * lyxfind.C:
3339         * lyxtext.h:
3340         * text3.C: remove toggleSelection()
3341
3342 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3343
3344         * bufferlist.C: beautify two alerts (shorter text of buttons)
3345         * buffer.C: Remove redundant ' ' from message
3346         * tabular.h:
3347         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3348         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3349         rename VALIGN_CENTER to VALIGN_MIDDLE
3350
3351 2003-08-11  André Pönitz  <poenitz@gmx.net>
3352
3353         * lyxtext.h (getPar):
3354         * text.C: new function
3355
3356 2003-08-11  André Pönitz  <poenitz@gmx.net>
3357
3358         * Makefile.am:
3359         * tracer.[Ch]: remove unneeded files
3360
3361         * InsetList.[Ch]: remove resizeInsetsLyXText()
3362
3363         * lyxtext.h:
3364         * text.C:
3365         * text2.C:
3366         * text3.C: merge insertParagraphs() and appendParagraph()
3367         remove breakAgain(), update()
3368
3369         * BufferView_pimpl.[Ch]:
3370         * bufferview_funcs.[Ch]:
3371         * lyxfunc.C:
3372         * paragraph.[Ch]:
3373         * rowpainter.C:
3374         * tabular.C: adjust after text & InsetList changes.
3375
3376 2003-08-08  André Pönitz  <poenitz@gmx.net>
3377
3378         * text.C (insertChar, backspace): replace rowlist fiddling
3379         with rebreak of full par
3380
3381         * lyxtext.h:
3382         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3383         checkParagraph, updateInset): removed
3384
3385 2003-08-07  André Pönitz  <poenitz@gmx.net>
3386
3387         * paragraph.C:
3388         * text3.C: merge some LFUN handlers, remove dead code
3389
3390 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3391
3392         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3393
3394 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3395
3396         * text2.C (DEPM): fix part of bug 1255 and 1256
3397
3398 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3399
3400         * BufferView_pimpl.C (workAreaDispatch): change to use
3401         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3402         that are no mouse related.
3403
3404 2003-08-05  André Pönitz  <poenitz@gmx.net>
3405
3406         * BufferView.[Ch]:
3407         * BufferView_pimpl.[Ch]:
3408         * bufferview_funcs.C:
3409         * text2.C:
3410         * text3.C: rip out "deep update"
3411
3412         * textcursor.[Ch] (last_sel_cursor): remove unused member
3413
3414 2003-08-04  André Pönitz  <poenitz@gmx.net>
3415
3416         * BufferView.[Ch]:
3417         * BufferView_pimpl.[Ch]:
3418         * ParagraphParameters.C:
3419         * bufferview_funcs.C:
3420         * lyx_cb.C:
3421         * lyxfind.C:
3422         * lyxfunc.C:
3423         * text.C:
3424         * text2.C:
3425         * text3.C: replace "complicated" BufferView::update(...) calls with
3426         simpler ones.
3427
3428         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3429
3430 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3431
3432         * Makefile.am (lyx_SOURCES): add paper.h
3433
3434 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3435
3436         * Makefile.am: move things around so that both lyx-qt and
3437         lyx-xforms can be built (according to --with-frontend). Then lyx
3438         is a symbolic link to lyx-[firstfrontend]
3439
3440 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3441
3442         * Always use std::endl with lyxerr
3443
3444 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3445
3446         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3447
3448 2003-08-01  André Pönitz  <poenitz@gmx.net>
3449
3450         * BufferView.[Ch]:
3451         * BufferView_pimpl.[Ch]:
3452         * lyxfunc.C:
3453         * text3.C: merge BufferView::repaint() and BufferView::update()
3454
3455 2003-08-01  José Matos  <jamatos@lyx.org>
3456
3457         * buffer.[Ch]: file_format is no longer a buffer data element.
3458
3459 2003-08-01  André Pönitz  <poenitz@gmx.net>
3460
3461         * BufferView.C:
3462         * lyxtext.h:
3463         * text.C:
3464         * text2.C: make redoParagraph more independent of current cursor
3465
3466         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3467         * text.C:
3468         * text2.C: remove unneeded members
3469
3470 2003-07-30  André Pönitz  <poenitz@gmx.net>
3471
3472         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3473
3474         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3475           create a single function...
3476
3477         * paragraph_funcs.C (moveItem): ... here.
3478
3479         * text.C:
3480           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3481
3482 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3483
3484         * LColor.[Ch]: Add comment and greyedout logical colors.
3485
3486 2003-07-30  André Pönitz  <poenitz@gmx.net>
3487
3488         * tabular.C: don't use Assert too heavily. This crashes where it
3489           shouldn't
3490
3491 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3494         is disabled (bug 1232)
3495
3496 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3497
3498         * factory.C: limited 'arg' scope
3499
3500 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3501
3502         * factory.C: fixed Note submenu issues
3503
3504 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3505
3506         * factory.C: submenu for Note/Comment/Greyedout
3507
3508 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3509
3510         * lyx_main.C (LyX):
3511         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3512
3513 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3514
3515         * LaTeXFeatures.C:
3516         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3517         greyedout. Patch provided by Jürgen Spitzmüller.
3518
3519 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3520
3521         * kbmap.C (read): fix error message when reading bind files
3522
3523 2003-07-29  Angus Leeming  <leeming@lyx.org>
3524
3525         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3526         certainly does not do what it purports to do. I am doing it, and
3527         us, a favour by killing it.
3528
3529 2003-07-28  José Matos  <jamatos@lyx.org>
3530
3531         * buffer.C (readBody, do_writeFile):
3532         * paragraph.C(readParagraph): \end_document replaces \the_end.
3533
3534 2003-07-29  André Pönitz  <poenitz@gmx.net>
3535
3536         * BufferView.[Ch]:
3537         * BufferView_pimpl.[Ch]:
3538         * lyxfunc.C:
3539         * text2.C:
3540         * text3.C:
3541         * textcursor.[Ch]: remove toggleToggle & Co
3542
3543 2003-07-28  José Matos  <jamatos@fep.up.pt>
3544
3545         * buffer.C (readParagraph):
3546         * params_func (readParToken, readParagraph):
3547         * paragraph.C (write): \layout -> \begin_layout.
3548
3549 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3550
3551         * lyxlex_pimpl.C (setFile): clean up slightly.
3552
3553         * bufferparams.h: add compressed var
3554
3555         * buffer_funcs.C (readFile): adjust for LyXLex change
3556         (newFile): ditto + simplify
3557
3558         * buffer.C (writeFile): handle writing of compressed files
3559
3560         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3561         Check if the file is compressed and set a bufferparm if so.
3562
3563         * Makefile.am (lyx_LDADD): remove explicit -lz
3564
3565 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3566
3567         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3568         makeDocBookFile): put the real LyX version in the first line of
3569         the file
3570
3571         * version.h:
3572         * version.C.in: remove lyx_docversion
3573
3574         * tabular.C (write_attribute): add a template-based version to
3575         write enums properly
3576
3577 2003-07-28  André Pönitz  <poenitz@gmx.net>
3578
3579         * lyxtext.h:
3580         * text.C:
3581         * text2.C:
3582         * text3.C: use doubles again for x-coordinates. They are needed.
3583
3584 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * messages.C (getLocaleDir): use lyx_localedir()
3587
3588         * lyxlex_pimpl.C (setFile): compress stuff
3589
3590         * buffer.C (writeFile): add some compression stuff
3591         (do_writeFile): new func, dont call expliti close... will this
3592         breake anything?
3593
3594         * Makefile.am (lyx_LDADD): add -lz
3595
3596 2003-07-28  José Matos  <jamatos@fep.up.pt>
3597
3598         * buffer.C: increment file format.
3599         * paragraph_funcs (readParagraph, readParToken):
3600         * paragraph.C (readParagraph): add \end_layout.
3601
3602 2003-07-27  Angus Leeming  <leeming@lyx.org>
3603
3604         * Makefile.am: remove special casing for configure-time setting of
3605         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3606
3607         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3608         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3609
3610 2003-07-26  André Pönitz  <poenitz@gmx.net>
3611
3612         * paragraph_func.[Ch]:
3613         * paragraph.C (realizeFont): inline it whereever it is used
3614
3615         * rowpainter.C:
3616         * text.C:
3617         * text2.C:
3618         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3619
3620
3621 2003-07-26  André Pönitz  <poenitz@gmx.net>
3622
3623         *       lyxtext.h:
3624         * text.C:
3625         * text2.C: get rid of LyXText::need_break_row
3626
3627 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3628
3629         * toc.[Ch]: put namespace toc inside namespace lyx
3630
3631         * MenuBackend.C (expandToc2): adjust for lyx::toc
3632         (expandToc): ditto
3633
3634         * lyxfunc.C (dispatch): adjust for lyx::find
3635
3636         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3637         lyx::find instead. Reorganize a bit.
3638         (LyXReplace): rename to replace
3639         (LyXFind): rename to find
3640
3641         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3642         (dispatch): ditto
3643
3644 2003-07-26  André Pönitz  <poenitz@gmx.net>
3645
3646         * text.C (setHeightOfRow): restrict scope of temporary variable
3647
3648         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3649           code (never has been used?)
3650
3651 2003-07-27  Asger Alstrup  <alstrup@local>
3652
3653         * text.C (fill): Optimise algorithm to exploit that we can reuse
3654         the LyXFont for many characters.
3655         (setHeightOfRow): Same thing.
3656         (rowBreakPoint): Same thing.
3657
3658 2003-07-26  Asger Alstrup  <alstrup@local>
3659
3660         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3661
3662         * text.C (singleWidth): Spurious font copying in hot-spot
3663         singleWidth avoided. Reorder tests for arabic for efficiency.
3664
3665         * text.C (fill): handle empty paragraphs better.
3666
3667 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3668
3669         * ispell.C:
3670         * encoding.h: add includes
3671
3672         * lyxrc.C: remove reading of bind files
3673
3674         * lyx_main.C (init): setup bindings and menus only if we have a
3675         gui.
3676
3677         * kbmap.C (read): new method. Do the actual reading of bind
3678         files.
3679
3680         * converter.C (dvipdfm_options):
3681         * bufferparams.C:
3682         * lyxrc.C (read):
3683         (output): adapt PAPER_* enums.
3684
3685         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3686
3687         * bufferparams.h: remove paper-related enums from there
3688
3689         * paper.h: New file. A trivial header file to hold paper-related
3690         enums. It should later expand to contain many paper-related
3691         horrors access.
3692
3693         * lyxrc.C: declare extern displayTranslator
3694
3695 2003-07-27  José Matos  <jamatos@fep.up.pt>
3696
3697         * tabular.[Ch] (linuxdoc): add support for tables and figures
3698         (linuxdoc).
3699
3700 2003-07-27  José Matos  <jamatos@fep.up.pt>
3701
3702         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3703         consistency in both functions.
3704         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3705
3706 2003-07-26  Asger Alstrup  <alstrup@local>
3707
3708         * rowpainter.C (paintRows): Change algorithm to work directly on
3709         the insets rather than asking every character in the document
3710         whether its an inset.
3711
3712 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3713
3714         * buffer.C (openFileWrite): factorize some code
3715
3716 2003-07-26  Angus Leeming  <leeming@lyx.org>
3717
3718         * lyx_cb.C:
3719         * lyx_main.[Ch]: replace occurances of system_tempdir with
3720         os::getTmpDir().
3721
3722 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3723
3724         * rename Inset to InsetOld
3725
3726 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3727
3728         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3729         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3730         which I think is a bit clearer. EDIT is gone, since it was
3731         premature optimisation, and broken for mathed anyway.
3732         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3733         with cursor positioning in insets as well (math insets still do not
3734         work, but that's a different story anyway.) It mysteriously
3735         crashes sometimes with undo in the first paragraph, but I'm fairly
3736         confident that this is a compiler bug.
3737
3738 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * paragraph.C (Paragraph): adjust for new clone return type
3741         (operator==): ditto
3742         (copyIntoMinibuffer): ditto
3743
3744 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3745
3746         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3747         by not having a special case, and always doing a full rebreak of
3748         the document after undo.
3749
3750 2003-07-23  Angus Leeming  <leeming@lyx.org>
3751
3752         * factory.C (createInset): InsetExternal::setParams now takes a
3753         Buffer const * arg.
3754
3755 2003-07-23  Angus Leeming  <leeming@lyx.org>
3756
3757         * factory.C (createInset): changed interface to the external and
3758         graphics mailers' string2params functions.
3759
3760 2003-07-23  Angus Leeming  <leeming@lyx.org>
3761
3762         * factory.C (createInset): pass a
3763         Buffer const * parameter to InsetExternalMailer's string2params.
3764
3765 2003-07-22  John Levon  <levon@movementarian.org>
3766
3767         * Thesaurus.h: include the right aiksaurus header
3768
3769 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3770
3771         * MenuBackend.C (expand): check menu shortcuts unconditionally
3772
3773 2003-07-21  Angus Leeming  <leeming@lyx.org>
3774
3775         * factory.C (createInset): pass a
3776         buffer_path parameter to InsetGraphicsMailer's string2params.
3777
3778 2003-07-21  Angus Leeming  <leeming@lyx.org>
3779
3780         * BufferView_pimpl.C (buffer):
3781         * buffer.C (d-tor):
3782         * lyx_main.C (LyX):
3783         * lyxfunc.C (dispatch):
3784         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3785         rather than the grfx shortcut.
3786
3787 2003-07-21  André Pönitz  <poenitz@gmx.net>
3788
3789         * rowpainter.C: remove unused variables
3790
3791         * tabular_funcs.C:
3792         * tabular_funcs.h: move to tabular.C
3793         * Makefile.am: adjust
3794
3795         * tabular.[Ch]: basic optical cleaning
3796
3797         * author.h: pass references, not values
3798
3799 2003-07-18  André Pönitz  <poenitz@gmx.net>
3800
3801         * lyxtext.h:
3802         * metricsinfo.C:
3803         * metricsinfo.h:
3804         * rowpainter.C:
3805         * text.C:
3806         * text2.C:
3807         * text3.C: two-phase drawing for InsetText and InsetTabular
3808         some float -> int changes.
3809
3810 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3811
3812         * lyx_main.C: fix the fix
3813
3814 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3815
3816         * lyx_main.C: fix a crash in batch mode if no files specified
3817         * converter.C: ws
3818
3819 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3820
3821         * format.[Ch] (papersize): moved to BufferParams
3822         * converter.[Ch] (dvips_options): moved to BufferParams
3823         (dvipdfm_options): moved to anon namespace
3824         * bufferparams.[Ch]: added above functions.
3825
3826 2003-07-17  André Pönitz  <poenitz@gmx.net>
3827
3828         * lyxtext.h:
3829         * rowpainter.C:
3830         * text2.C: don't call inset->update() anymore
3831
3832         * metricsinfo.[Ch]: add convenience constructor
3833
3834 2003-07-16  André Pönitz  <poenitz@gmx.net>
3835
3836         * lyxcursor.[Ch]:
3837         * lyxfunc.[Ch]:
3838         * text.C:
3839         * text2.C: replace the LyXCursor::irow_ member with
3840          on-demand computation of the value
3841
3842 2003-07-16  John Levon  <levon@movementarian.org>
3843
3844         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3845
3846 2003-07-15  André Pönitz  <poenitz@gmx.net>
3847
3848         * text.C:
3849         * text2.C: remove no more needed refresh_row
3850
3851 2003-07-15  André Pönitz  <poenitz@gmx.net>
3852
3853         * lyxtext.h:
3854         * rowpainter.C:
3855         * text2.C:
3856         * text3.C: refresh_status tristate -> need_update bool
3857
3858 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3859
3860         * lyxtext.h (init): remove reinit argument (act as if always true)
3861         * text2.C: adjust to that
3862
3863 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3864
3865         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3866         * text3.C: use it to delete selections in some cases
3867         (bugs 441, 673, 702, 954).
3868
3869 2003-07-14  André Pönitz  <poenitz@gmx.net>
3870
3871         * rowpainter.[Ch]: reduce interface
3872
3873 2003-07-14  André Pönitz  <poenitz@gmx.net>
3874
3875         * BufferView_pimpl.C:
3876         * text2.C: adjust after removing unused BufferView * argument
3877
3878 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3879
3880         * text2.C (init): fix a crash fired on resize
3881
3882 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3883
3884         * buffer.[Ch]: added new closing signal
3885         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3886         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3887         BufferView::Pimpl via the closing the signal
3888
3889 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3890
3891         * buffer.[Ch]: take out all bv-related from buffer
3892         * BufferView.C:
3893         * BufferView_pimpl.[Ch]: connect to new signals
3894         * CutAndPaste.C: removed useless asserts
3895         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3896         * lyxvc.[Ch]:
3897         * vc-backend.[Ch]:
3898         * lyxfunc.C: moved view-related funciontality from vc here
3899         * paragraph.C: removed outdated comments
3900         * text.C: ws
3901
3902 2003-07-10  André Pönitz  <poenitz@gmx.net>
3903
3904         * BufferView_pimpl.C:
3905         * tabular.h:
3906         * tabular_funcs.C:
3907         * text.C:
3908         * text2.C: remove InsetText::InnerCache, clean up consequences
3909
3910 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3911
3912         * ispell.C: fix two typos in error messages
3913
3914 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3915
3916         * Extend Note inset to other forms of annotation like Comment
3917         and Greyedout. Right button click gives dialog.
3918
3919         Files modified or added (+):
3920
3921         * insetnote.[Ch]
3922         * FormNote.[Ch]      +
3923         * ControlNote.[Ch]   +
3924         * form_note.fd       +
3925         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3926         frontends/controllers
3927         * xforms/Dialogs.C
3928         * factory.C
3929
3930 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3931
3932         * aspell.C: add missing namespace lyx::support
3933
3934 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * BufferView.[Ch] (newFile): Add
3937         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3938         * LaTeX.[Ch] (message): added this signal and use it
3939         * buffer.[Ch] (busy, message): added these signals and use them
3940         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3941         * converter.C:
3942         * exporter.C:
3943         * format.C:
3944         * importer.C: use buffer signals instead of direct bv calling
3945         * lyx_cb.[Ch] (ShowMessage): removed
3946         * lyx_main.C:
3947         * lyxfunc.C:
3948         * paragraph_funcs.C:
3949         * text2.C: use buffer signals
3950
3951 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * introduce namespace lyx::graphics
3954
3955 2003-07-02  André Pönitz  <poenitz@gmx.net>
3956
3957         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3958
3959 2003-07-01  André Pönitz  <poenitz@gmx.net>
3960
3961         * text.C:
3962         * text2.C:
3963         * text3.C:
3964         * text_funcs.[Ch]:
3965         * textcursor.h:
3966         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3967           text*.C to text_func.C
3968
3969 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * introduce namespace lyx::support
3972
3973 2003-06-30  André Pönitz  <poenitz@gmx.net>
3974
3975         * Chktex.C:
3976         * funcrequest.C:
3977         * lyxtext.h:
3978         * text.C: re-enable --with-included-string
3979
3980 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3981
3982         * textcursor.C: add <config.h>
3983
3984         * text.C (getWord): remove const from word_location arg
3985
3986         * lyxvc.C (getLogFile): fix const type order
3987
3988         * lyxtext.h: remove const from word_location arg, add arg name
3989
3990         * lyxlayout.h: currect type on labeltype.
3991
3992         * importer.C: correct \file
3993
3994         * converter.C (intToFormat): use std:: on ret val, ws changes
3995
3996         * bufferlist.h: correct \file
3997
3998         * buffer.C (makeLinuxDocFile): fix const type order
3999         (makeDocBookFile): ditto
4000         (fillWithBibKeys): use std:: on stdlib args.
4001
4002         * CutAndPaste.C: fix authors.
4003         (availableSelections): use std:: on return vector
4004
4005 2003-06-27  André Pönitz  <poenitz@gmx.net>
4006
4007         * BufferView_pimpl.C:
4008         * bufferview_funcs.C:
4009         * lyxcursor.C:
4010         * lyxcursor.h:
4011         * lyxfunc.C:
4012         * lyxtext.h:
4013         * rowpainter.C:
4014         * text.C:
4015         * text2.C:
4016         * text3.C: remove LyXCursor::row_ member
4017
4018         * lyxtext.h:
4019         * text.C: rename fullRebreak() to partialRebreak() and implement
4020           a fullRebreak() that really bereks fully
4021
4022         * textcursor.h: new struct for cursor-related data
4023
4024 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4025
4026         * lyx_main.C (LyX): get full path of document loaded on the
4027         command line
4028
4029 2003-06-26  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4032           remove unused/broken operator>,<,>=.
4033
4034         *       text.C: remove only use of broken operator<= in an Assert().
4035
4036 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4037
4038         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4039         moved errorlist_.clear to showErrorList
4040
4041 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * converter.C (scanLog, runLaTeX):
4044         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4045         move the bv->showErrorList call to the callers
4046         * lyxfunc.C: i.e. here...
4047         * text2.C: and here
4048         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4049         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4050         namespace, the second to...
4051         * buffer_funcs (BufferFormat, parseErrors): added
4052         * errorlist.C (ErrorList(TeXErrors const &)): removed
4053
4054 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4055
4056         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4057
4058 2003-06-24  "Garst R. Reese" <reese@isn.net>
4059
4060         * debug.C: fix typo
4061
4062 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4063
4064         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4065
4066         * version.C.in: change docversion to 1.4
4067
4068 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4069
4070         * buffer.C: fix a bug just introduced
4071
4072 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4073
4074         * buffer.[Ch]: added the parseError signal and use it, removed
4075         sgmlError
4076         * BufferView.[Ch] (addError): moved to ...
4077         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4078         to the Buffer::parseError signal to catch (guess what) parse errors
4079         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4080
4081 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4082
4083         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4084         ability to create a buffer and to return an existing one from
4085         the list. Moved these functions to...
4086         * buffer_funcs.[Ch]: added
4087         * BufferView.[Ch] (loadLyXFile): added
4088         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4089         job removed from bufferlist::loadLyXFile.
4090         * buffer.C (setReadOnly): make it work without view
4091         (i.e added an if (users))
4092
4093 2003-06-19  Angus Leeming  <leeming@lyx.org>
4094
4095         * lfuns.h:
4096         * LyXAction.C (init):
4097         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4098         with LFUN_DIALOG_SHOW <name> <data>.
4099
4100 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4101
4102         * CutAndPaste.C (availableSelections): small compilation fix for
4103         ancient (gcc 2.9x) compilers
4104
4105 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4106
4107         * text3.C (cursorNext): add tmp var
4108
4109         * text2.C (updateCounters): for function calling out of for clause
4110         (replaceSelectionWithString): ditto
4111         (insertStringAsParagraphs): ditto
4112         (getColumnNearX): add tmp var
4113         (setCursorFromCoordinates): add tmp var
4114         (cursorDownParagraph): add tmp var
4115         (deleteEmptyParagraphMechanism): add tmp var
4116
4117         * text.C (insertChar): add tmp var
4118
4119         * rowpainter.C (paintDepthBar): add tmp var
4120
4121         * CutAndPaste.C (availableSelections): potentially check all
4122         paragraphs in a cut to fill the shown strings.
4123
4124 2003-06-18  André Pönitz  <poenitz@gmx.net>
4125
4126         * kbmap.[Ch]: use vector<> instead of list<>
4127
4128 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4129
4130         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4131         pasteSelection with index
4132
4133         * text2.C (pasteSelection): modify, call pasteSelection with index
4134
4135         * paragraph.C (asString): reimplement version with no interval to
4136         call the one with interval.
4137
4138         * lyxtext.h: add index arg to pasteSelection
4139
4140         * MenuBackend.C (MenuItem): handle PasteRecent
4141         (Menu::read::Menutags): add md_pasterecent
4142         (read): handle it
4143         (expandPasteRecent): new function
4144         (expand): use it
4145
4146         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4147
4148         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4149         the limited stack
4150         (availableSelections): new function
4151
4152 2003-06-17  Angus Leeming  <leeming@lyx.org>
4153
4154         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4155
4156 2003-06-17  Angus Leeming  <leeming@lyx.org>
4157
4158         * lfuns.h:
4159         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4160
4161         * lyxfunc.C (dispatch): invoke it.
4162
4163 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4164
4165         * iterators.C (operator++, ParPosition): reintroduce some
4166         const_cast for the benefit of older compilers.
4167
4168 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4169
4170         * text3.C (dispatch): do not modify clipboard when doing
4171         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4172         LFUN_DELETE_SKIP on a selection selection
4173
4174 2003-06-16  André Pönitz  <poenitz@gmx.net>
4175
4176         * BufferView.C:
4177         * buffer.C:
4178         * buffer.h:
4179         * paragraph.C:
4180         * tabular.[Ch]: IU of clone() and getLabelList();
4181
4182 2003-06-13  André Pönitz  <poenitz@gmx.net>
4183
4184         * tabular.h: compactification
4185
4186 2003-06-12  André Pönitz  <poenitz@gmx.net>
4187
4188         * tabular.C:
4189         * tabular.h:
4190         * tabular_funcs.h: some renaming plus whitespace
4191
4192 2003-06-12  André Pönitz  <poenitz@gmx.net>
4193
4194         * BufferView.C:
4195         * BufferView_pimpl.C:
4196         * CutAndPaste.C:
4197         * buffer.C:
4198         * iterators.[Ch]:
4199         * lyxfunc.C:
4200         * text.C:
4201         * toc.C: Return a Paragraph & for ParIterator::operator*()
4202
4203 2003-06-11  John Levon  <levon@movementarian.org>
4204
4205         * lyx_main.C:
4206         * ToolbarBackend.h:
4207         * ToolbarBackend.C: add "Toolbars" section and
4208         put the flags there
4209
4210 2003-06-10  Angus Leeming  <leeming@lyx.org>
4211
4212         * lfuns.h:
4213         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4214
4215         * lyxfunc.C (dispatch): invoke it.
4216
4217 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * main.C: protect <ios> with HAVE_IOS
4220         (main): protect sync_with_stdio with HAVE_IOS
4221
4222 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4223
4224         * text2.C (cutSelection): adjust
4225         (pasteSelection): adjust
4226
4227         * messages.C: handle get of empty string
4228
4229         * main.C (main): use sync_with_stdio(false)
4230
4231         * lyxfunc.C (dispatch): adjust
4232
4233         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4234         (WriteAs): remove unneeded BufferView arg.
4235
4236         * bufferparams.h: use correct types on papersize, papersize2 and
4237         paperpackage.
4238
4239         * bufferparams.C (readToken): adjust for type
4240         (writeLaTeX): add missing cases to switch.
4241
4242         * bufferlist.C (quitWriteBuffer): adjust
4243         (close): adjust
4244
4245         * buffer.C (asciiParagraph): remove some commented code.
4246
4247         * CutAndPaste.C: remove current_view extern variable.
4248         (cutSelection): add BufferParams arg.
4249         (eraseSelection): add BufferParams arg.
4250         (pasteSelection): add Buffer const & arg
4251
4252 2003-06-07  John Levon  <levon@movementarian.org>
4253
4254         * buffer.C:
4255         * paragraph_funcs.C:
4256         * paragraph_pimpl.C:
4257         * text.C:
4258         * text2.C:
4259         * paragraph.h:
4260         * paragraph.C: allow InsetERT to freely space lines,
4261         and some consolidation of code
4262
4263 2003-06-06  José Matos  <jamatos@fep.up.pt>
4264
4265         * buffer.C (makeDocBookFile): fix bug #821
4266
4267 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4268
4269         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4270
4271 2003-06-04  Angus Leeming  <leeming@lyx.org>
4272
4273         * buffer.C: bump format to 224.
4274
4275 2003-06-05  André Pönitz  <poenitz@gmx.net>
4276
4277         * text2.C (redoParagraphs): remove two const_cast<>
4278
4279 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4280
4281         * ParagraphList.h: remove last remnants of NO_STD_LIST
4282
4283 2003-06-03  Angus Leeming  <leeming@lyx.org>
4284
4285         * factory.C (createInset): small change to the way InsetExternal's params
4286         are set.
4287
4288 2003-06-04  André Pönitz  <poenitz@gmx.net>
4289
4290         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4291
4292         * paragraph_pimpl.h:
4293         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4294
4295         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4296
4297         * undo_funcs.C: make some simple cases of undo work again
4298
4299 2003-06-03  John Levon  <levon@movementarian.org>
4300
4301         * ispell.C: HPUX doesn't have sys/select.h
4302         (from Albert Chin)
4303
4304 2003-06-03  John Levon  <levon@movementarian.org>
4305
4306         * CutAndPaste.C: update tabular and include inset
4307         buffer references
4308
4309         * buffer.h:
4310         * paragraph.h:
4311         * paragraph.C: remove owningBuffer(), don't pass Buffer
4312         to clone()
4313
4314         * factory.C: insetGraphicsParams changed
4315
4316 2003-06-02  John Levon  <levon@movementarian.org>
4317
4318         * LyXAction.C:
4319         * factory.C:
4320         * lfuns.h:
4321         * lyxfunc.C:
4322         * text3.C: remove insetparent
4323
4324 2003-06-02  John Levon  <levon@movementarian.org>
4325
4326         * buffer.h:
4327         * buffer.C: fix inset_iterator.end(), move out of line
4328         (bug 1149)
4329
4330 2003-06-01  John Levon  <levon@movementarian.org>
4331
4332         * text3.C: use a proper cut/paste when doing inset
4333         insert (from Jürgen Spitzmüller)
4334
4335 2003-06-01  John Levon  <levon@movementarian.org>
4336
4337         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4338
4339 2003-05-30  André Pönitz  <poenitz@gmx.net>
4340
4341         * rowpainter.C: unify second drawing phase
4342
4343 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4344
4345         * trans_mgr.C: remove one case of current_view
4346
4347         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4348
4349         * paragraph_funcs.h: remove paragraph.h include
4350
4351         * paragraph.h: delete NO_STD_LIST stuff
4352
4353         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4354
4355         * buffer.h: remove paragraph.h include
4356
4357         * ParagraphList.C: delete file
4358
4359         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4360
4361         * toc.C (getTocList): adjust
4362
4363         * paragraph_pimpl.C (validate): adjust
4364
4365         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4366
4367         * paragraph.C (Paragraph): adjust
4368         (getPositionOfInset): use const_iterator, adjust
4369         (bibitem): use const_iterator, adjust
4370         (setInsetOwner): adjust
4371
4372         * iterators.C (operator++): adjust
4373
4374         * InsetList.[Ch]: Replace selfmade iterator with standard
4375         vector::iterator also introduce const_iterator. Remove getPos,
4376         getInset and setInset from InsetTable. Adjust accordingly.
4377
4378         * BufferView.C (lockInset): adjust
4379         (ChangeInsets): adjust
4380
4381         * tabular.[Ch]: delete commented same_id functions
4382
4383 2003-05-28  John Levon  <levon@movementarian.org>
4384
4385         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4386
4387 2003-05-28  André Pönitz  <poenitz@gmx.net>
4388
4389         * metricsinfo.[Ch]: remove 'fullredraw' member
4390
4391 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4392
4393         * lyxtextclass.C (operator): remove caching.
4394
4395 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4396
4397         * text3.C: adjust
4398
4399         * text2.C (cursorBottom): adjust
4400         (setCounter): use ParagraphList::find, adjust
4401
4402         * text.C (workWidth): use ParagraphList::find, adjust
4403
4404         * lyxcursor.C (LyXCursor): adjust
4405
4406         * buffer.C (inset_iterator): adjust
4407
4408         * ParagraphList.h: make iterator(value_type) private, make
4409         ParagraphList a friend of iterator.
4410
4411         * ParagraphList.C (find): new function
4412
4413         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4414
4415 2003-05-27  André Pönitz  <poenitz@gmx.net>
4416
4417         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4418
4419 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4420
4421         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4422
4423 2003-05-26  John Levon  <levon@movementarian.org>
4424
4425         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4426
4427 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4428
4429         * remove same_id from function signatures, adjust.
4430
4431 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4432
4433         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4434
4435         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4436
4437         * paragraph.C (Paragraph): get rid of same_ids parameter
4438
4439         * ParagraphList.C (insert): adjust
4440         (push_back): adjust
4441
4442 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * paragraph_funcs.C (breakParagraph): adjust
4445         (breakParagraphConservative): adjust
4446
4447         * buffer.C (readParagraph): adjust
4448
4449         * ParagraphList.C (insert): take a reference instead of a pointer
4450         (insert): adjust
4451
4452         * paragraph.[Ch] (id): new function
4453
4454         * bufferlist.C (newFile): adjust
4455
4456         * ParagraphList.C (ParagraphList): adjust
4457         (assign): adjust
4458         (push_back): take a reference instead of a pointer.
4459
4460         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4461
4462         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4463         instead.
4464
4465         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4466         set else use old code.
4467
4468         * ParagraphList.C: remove all NO_NEXT code and only compile this
4469         code of NO_STD_LIST is set.
4470
4471 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4472
4473         * BufferView_pimpl.C:
4474         * TextCache.C:
4475         * TextCache.h:
4476         * bufferlist.C:
4477         * errorlist.h:
4478         * format.C:
4479         * format.h:
4480         * graph.C:
4481         * lyxfunc.C:
4482         * lyxrc.C:
4483         * graphics/GraphicsConverter.C:
4484         * graphics/PreviewLoader.C: header adjustment
4485
4486 2003-05-23  Angus Leeming  <leeming@lyx.org>
4487
4488         * LaTeXFeatures.[Ch] (useBabel): new method.
4489         * bufferparams.C (writeLaTeX): use it.
4490
4491 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * ParagraphList.h (set): remove unused function.
4494
4495 2003-05-23  André Pönitz  <poenitz@gmx.net>
4496
4497         * BufferView.C:
4498         * BufferView_pimpl.C:
4499         * buffer.C:
4500         * buffer.h:
4501         * lyxfunc.C:
4502         * undo_funcs.C: setUndo reworked
4503
4504         * iterators.[Ch]: add access to topmost ParagraphList
4505
4506         * lyxtext.[Ch] (workWidth): add a const
4507
4508 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * texrow.[Ch] (increasePos): remove function
4511         * exporter.C (export): removed unused var and outdated comment
4512
4513 2003-05-23  Angus Leeming  <leeming@lyx.org>
4514
4515         * latexrunparams.h: rename fragile as moving_arg.
4516         * paragraph.C (simpleTeXOnePar): ditto.
4517         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4518
4519 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4522         (createUndo): ditto
4523         (textUndoOrRedo): comment out a currently unused var.
4524
4525         * paragraph.h (NO_NEXT): enable NO_NEXT
4526
4527         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4528
4529         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4530
4531         * exporter.C (Export): adjust for removeAutoInsets removal.
4532
4533         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4534
4535         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4536
4537         * BufferView.[Ch] (removeAutoInsets): delete function
4538
4539 2003-05-22  Angus Leeming  <leeming@lyx.org>
4540
4541         * latexrunparams.h: add a free_spacing variable.
4542
4543         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4544         to pass moving_arg, as the data is stored in runparams.fragile.
4545
4546         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4547         to Inset::latexOptional or to simpleTeXOnePar.
4548
4549         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4550         free_spacing arg to Inset::latexOptional.
4551
4552         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4553         free_spacing arg.
4554
4555 2003-05-22  Angus Leeming  <leeming@lyx.org>
4556
4557         * latexrunparams.h: add fragile and use_babel variables.
4558
4559         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4560         * buffer.C (makeLaTeXFile): store this returned value in
4561         runparams.use_babel, thus passing it to the inset::latex methods.
4562
4563         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4564         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4565
4566         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4567         longer has a fragile arg, as it is stored in runparams.fragile.
4568
4569         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4570         moving_arg parameter as the data is stored in runparams.fragile.
4571
4572         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4573         a fragile parameter as the data is stored in runparams.fragile.
4574
4575 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4578
4579 2003-05-22  Angus Leeming  <leeming@lyx.org>
4580
4581         * latexrunparams.h: add a 'bool nice' which defaults to false.
4582
4583         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4584         now encapsulated within runparams.
4585
4586         * bufferlist.C (updateIncludedTeXfiles):
4587         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4588
4589 2003-05-22  Angus Leeming  <leeming@lyx.org>
4590
4591         * latexrunparams.h: new file containing struct LatexRunParams.
4592         * Makefile.am: add new file.
4593
4594         * LaTeX.[Ch] (c-tor, run):
4595         * buffer.[Ch] (makeLaTeXFile):
4596         * bufferlist.[Ch] (updateIncludedTeXfiles):
4597         * converter.C (convert, scanLog):
4598         * converter.[Ch] (runLaTeX):
4599         * exporter.C (Export):
4600         * paragraph.[Ch] (simpleTeXOnePar):
4601         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4602         * paragraph_funcs.[Ch] (latexParagraphs):
4603         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4604         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4605         pass around a LatexRunParams parameter.
4606
4607 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4608
4609         * paragraph.[Ch]: remove unused constructor
4610
4611         * ParagraphList.C (erase): new function, taking two iterators
4612
4613 2003-05-22  André Pönitz  <poenitz@gmx.net>
4614
4615         * undo_funcs.C: remove duplicated code
4616
4617         * iterator.[Ch]: operator=
4618
4619 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4620
4621         * tabular.C (SetMultiColumn): ws changes
4622
4623         * rowpainter.C (paintFirst): get rid of a ->previous
4624
4625         * lyx_cb.C (getPossibleLabel): parlist simplification
4626
4627         * BufferView.C (ChangeInsets): simplify slightly.
4628
4629 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4630
4631         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4632         * lfuns.h: new LFUN_SPACE
4633         * lyxfunc.C: protected space has a new lfun
4634         * paragraph_funcs.C: read new space insets
4635         * text3.C:
4636         * factory.C: handle new space insets
4637
4638 2003-05-22  André Pönitz  <poenitz@gmx.net>
4639
4640         * BufferView.C:
4641         * BufferView_pimpl.C:
4642         * buffer.[Ch]:
4643         * lyxfunc.C:
4644         * undo_funcs.C: return a ParIterator from getParFromID.
4645
4646         * iterators.[Ch]: add two const's
4647
4648 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4649
4650         * toc.C (getTocList): adjust
4651
4652         * iterators.[Ch]: rework for parlist
4653
4654         * buffer.C (par_iterator_begin): adjust
4655         (par_iterator_end): adjust
4656
4657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4658
4659         * BufferView.C (removeAutoInsets): adjust
4660         (ChangeInsets): adjust
4661
4662 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4663
4664         * text.C (top_y): fix bug 1110
4665
4666 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4667
4668         * errorlist.[Ch]: added
4669         * buffer.C:
4670         * BufferView.[Ch]:
4671         * BufferView_pimpl.C:
4672         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4673         instead
4674
4675 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4676
4677         * Makefile.am: ensure that lyx is relinked upon changes to the
4678         various "convenience" libs.
4679
4680 2003-05-20  Angus Leeming  <leeming@lyx.org>
4681
4682         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4683         files are compiled in alphabetical order again.
4684
4685         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4686
4687 2003-05-19  Angus Leeming  <leeming@lyx.org>
4688
4689         * gettext.[Ch]: remove "char const * _(char const *)".
4690
4691 2003-05-19  André Pönitz  <poenitz@gmx.net>
4692
4693         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4694
4695         * Makefile.am:
4696         * BufferView.C:
4697         * DepTable.h:
4698         * LaTeXFeatures.C:
4699         * buffer.C:
4700         * lyxfont.C:
4701         * lyxlex.h:
4702         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4703
4704 2003-05-19  André Pönitz  <poenitz@gmx.net>
4705
4706         * buffer.C:
4707         * lyxlayout.[Ch]:
4708         * lyxtextclass.[Ch]:
4709         * paragraph.C:
4710         * paragraph_funcs.[Ch]:
4711         * text2.C:
4712         * text3.C: more insetenv work
4713
4714 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4715
4716         * ParagraphParameters.C (params2string): small bug fixed
4717
4718 2003-05-16  André Pönitz  <poenitz@gmx.net>
4719
4720         * debug.C:
4721         * bufferview_funcs.C: patch from Kornel Benko to prevent
4722           crash when _(...) is called twice in a statement
4723
4724 2003-05-16  André Pönitz  <poenitz@gmx.net>
4725
4726         * BufferView.C:
4727         * lyxfunc.C:
4728         * text.C:
4729         * text2.C:
4730         * text3.C:
4731         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4732
4733 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4734
4735         * lyx_main.C (init): remove spurious static_cast
4736
4737 2003-05-14  André Pönitz  <poenitz@gmx.net>
4738
4739         * BufferView.C: fix format string
4740
4741 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4742
4743         * BufferView.[Ch] (insertErrors): removed
4744         * BufferView.[Ch] (showErrorList): added
4745         * buffer.C (runChkTeX):
4746         * converter.C (scanLog): call showErrorList instead of inserterrors
4747
4748 2003-05-13  André Pönitz  <poenitz@gmx.net>
4749
4750         * BufferView_pimpl.C:
4751         * buffer.C:
4752         * bufferview_func.C:
4753         * MenuBackend.C:
4754         * lyxfunc.C:
4755         * lyxrc.C:
4756         * tex-accent.C:
4757         * text3.C:
4758         * toc.C:
4759         * tabular_funcs.h: tostr() from its own header
4760
4761         * ParagraphParameters.C:
4762         * ToolbarBackend.C:
4763         * bufferparams.C:
4764         * format.C:
4765         * lyxlex_pimpl.C:
4766         * text3.C: STRCONV()
4767
4768 2003-05-12  André Pönitz  <poenitz@gmx.net>
4769
4770         * BufferView.C:
4771         * BufferView_pimpl.C:
4772         * CutAndPaste.C:
4773         * LaTeX.C:
4774         * LaTeXFeatures.C:
4775         * ParagraphParameters.C:
4776         * buffer.C:
4777         * bufferlist.C:
4778         * bufferparams.C:
4779         * bufferview_funcs.C:
4780         * converter.C:
4781         * counters.C:
4782         * debug.C:
4783         * exporter.C:
4784         * format.C:
4785         * importer.C:
4786         * lyx_cb.C:
4787         * lyx_main.C:
4788         * lyxfont.C:
4789         * lyxfunc.C:
4790         * lyxvc.C:
4791         * paragraph.C:
4792         * paragraph_funcs.C:
4793         * tabular.C:
4794         * tabular_funcs.C:
4795         * text2.C:
4796         * text3.C:  boost::format -> bformat  all over the place
4797
4798
4799 2003-05-09  André Pönitz  <poenitz@gmx.net>
4800
4801         * LColor.[Ch]: Pimpl the #include <map> away
4802
4803 2003-05-09  John Levon  <levon@movementarian.org>
4804
4805         * bufferlist.C: never remove emergency saves
4806
4807 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * Makefile.am: better lib building
4810
4811 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4814         instead.
4815         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4816         (simpleTeXSpecialChars): adjust
4817         (simpleTeXSpecialChars): adjust
4818         * paragraph.C (simpleTeXOnePar): adjust
4819         * buffer.C (makeLaTeXFile): adjust
4820
4821         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4822
4823         * text2.C (changeDepth): parlist cleanup
4824         (getColumnNearX): ditto
4825
4826         * rowpainter.C (getLabelFont): parlist cleanup
4827
4828         * bufferlist.C (newFile): parlist cleanup
4829
4830         * CutAndPaste.C (eraseSelection): parlist cleanup
4831
4832         * BufferView_pimpl.C (trackChanges): parlist cleanup
4833         (dispatch): ditto
4834
4835         * BufferView.C (lockInset): parlist cleanup.
4836         (ChangeInsets): ditto
4837
4838 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * CutAndPaste.h: Update file header.
4841
4842         * CutAndPaste.C: Update file header.
4843         Store the parts cut out of the Document in a limited_stack.
4844         (copySelection): adjust
4845         (pasteSelection): new function, takes the index in the limited stack.
4846         (nrOfParagraphs): adjust
4847         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4848         simplify error inset insertion.
4849         (checkPastePossible): adjust
4850
4851 2003-05-06  John Levon  <levon@movementarian.org>
4852
4853         * text2.C: don't cast wrap inset to float
4854
4855 2003-05-05  André Pönitz  <poenitz@gmx.net>
4856
4857         * iterator.C:
4858         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4859
4860         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4861           few naked Paragraph *.
4862
4863 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4864
4865         * bufferparams.C: Output warning if a document with missing
4866         TeX document class is loaded
4867         * exporter.C: Disable TeX exports if the document class is missing
4868         * lyxtextclass.C:
4869         * lyxtextclass.h:
4870         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4871         isTeXClassAvailable()
4872
4873 2003-05-03  John Levon  <levon@movementarian.org>
4874
4875         * BufferView.h:
4876         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4877         explicit cursor show/hide
4878
4879         * BufferView_pimpl.h:
4880         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4881         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4882
4883         * lyxfunc.C: hide cursor before dispatching.
4884
4885         * lyx_cb.C:
4886         * lyxfind.C:
4887         * text.C:
4888         * text3.C: remove explicit cursor hides
4889
4890 2003-05-02  André Pönitz  <poenitz@gmx.net>
4891
4892         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4893
4894         * undo_funcs.C:
4895         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4896           linked lists
4897
4898         * text2.C: tiny whitespace
4899
4900 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * undo_funcs.C: almost only ws changes.
4903
4904         * ParagraphList.C (splice): just return if pl is empty.
4905
4906 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4907
4908         * ParagraphList.C (splice): new function.
4909
4910         * CutAndPaste.C (pasteSelection): use it
4911
4912 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * CutAndPaste.C (pasteSelection): remove the last next and
4915         previous from this file.
4916
4917 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * CutAndPaste.C (pasteSelection): more clean up, user proper
4920         ParagraphList functions for pasteing.
4921
4922         * ParagraphList.C (insert): new function, three arg insert
4923
4924 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * ParagraphList.C (insert): new function, three arg insert
4927
4928         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4929         not on paragraphs.
4930
4931 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4934
4935 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4938
4939 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4942         (copySelection): clean up a bit.
4943         (pasteSelection): use make_pair
4944
4945         * ParagraphList.C (ParagraphList): implement copy constructor
4946         (operator=): implement, base on copy constructor.
4947         (assign): new func
4948
4949         * paragraph.C (erase): return a bool
4950
4951         * paragraph_pimpl.C (erasePos): remove function, move contents...
4952         (erase): ... here. Return a bool.
4953         (erase): call erase instead of erasePos.
4954
4955 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * ParagraphList.h: define PitPosPair
4958         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4959         ParagraphList, fix a bug on pasting multiple pars
4960         * text2.C: change interface to C&P
4961
4962 2003-04-30  André Pönitz  <poenitz@gmx.net>
4963
4964         * undo_func.C: revert part of yesterday's patch 2
4965
4966 2003-04-30  John Levon  <levon@movementarian.org>
4967
4968         * LColor.C: s/tabular/table/
4969
4970 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * text3.C (dispatch): do not convert iterator -> pointer
4973         * undo_funcs.C (setCursorParUndo): ditto
4974         * text_funcs.C (transposeChars): ditto
4975
4976         * text2.C (setLayout): ws changes only
4977
4978         * text.C (breakParagraph): do not convert iterator -> pointer
4979         (insertChar): ditto
4980         (acceptChange): ditto
4981         (rejectChange): ditto
4982         (changeCase): ditto
4983         (Delete): ditto
4984         (backspace): ditto
4985
4986         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4987         pointer
4988
4989 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4990
4991         * text3.C (gotoInset): YABG (yet another bad getChar)
4992
4993 2003-04-29  André Pönitz  <poenitz@gmx.net>
4994
4995         * paragraph.h: make operator= private unimplemented as long as
4996           it is unusable
4997
4998         * ParagraphList.C: whitespace
4999
5000         * paragraph.[Ch]:
5001         * paragraph_pimpl.[Ch]:
5002         * paragraph_funcs.C:
5003         * CutAndPaste.C:
5004         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5005
5006         * text2.C:
5007           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5008
5009 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5012         * paragraph.[Ch] (erase):
5013         * paragraph_pimpl.[Ch] (erase): change return type and value
5014         * text2.C (cutSelection): some rework
5015
5016 2003-04-28  John Levon  <levon@movementarian.org>
5017
5018         * bufferlist.C: changes for unsaved changes dialog
5019
5020 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * bufferlist.C (newFile): set language (messages_) for new
5023         documents also.
5024
5025         * buffer.C (readFile): ws changes only.
5026
5027 2003-04-28  André Pönitz  <poenitz@gmx.net>
5028
5029         * undo_funcs.C:
5030         * lyxfunc.C:
5031         * buffer.[Ch]:
5032         * BufferView_pimpl.C:
5033         * BufferView.C: getParFromID related ParagraphList::iterator changes
5034
5035 2003-04-28  André Pönitz  <poenitz@gmx.net>
5036
5037         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5038           Changes
5039
5040 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * messages.C: remove one more localedir class variable.
5043
5044 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5045
5046         * messages.C (getLocaleDir): singleton generation function
5047         (Pimpl): use it.
5048         (Messages): add a default constructor.
5049
5050         * main.C (main): do not setup localedir here, do not call
5051         gettext_init.
5052
5053         * gettext.C (_): use it.
5054         (gettext_init): delete funciton
5055
5056 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * gettext.C (getLyXMessages): new singleton generating function.
5059
5060         * buffer.C (updateDocLang): adjust
5061
5062         * Makefile.am (messages.o): add target
5063         (main.o): remove target
5064
5065 2003-04-27  John Levon  <levon@movementarian.org>
5066
5067         * bufferlist.C:
5068         * lyx_cb.C:
5069         * lyxfunc.C:
5070         * lyxvc.C: specify cancel button in Alert::prompt
5071
5072 2003-04-26  John Levon  <levon@movementarian.org>
5073
5074         * text3.C:
5075         * lyxfunc.C:
5076         * lfuns.h:
5077         * LyXAction.C: add LFUN_INSET_SETTINGS
5078
5079         * lyxfunc.C: don't enable tabular-feature when there's
5080         just any locking inset
5081
5082 2003-04-26  John Levon  <levon@movementarian.org>
5083
5084         * bufferlist.C: re-add Cancel to buffer close question
5085
5086         * lyxfunc.C: fix import UI a bit
5087
5088 2003-04-25  John Levon  <levon@movementarian.org>
5089
5090         * gettext.C: remove the broken asserts for now
5091
5092 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5093
5094         * messages.C: make case where setlocale cannot comply work better.
5095
5096         * buffer.C (updateDocLang): new function
5097         (changeLanguage): use it
5098         (readFile): use it
5099
5100         * text2.C (setCounter): use B_ a bit.
5101
5102         * lyxlayout.C (Read): be sure to trim the label strings.
5103
5104         * messages.C (Messages): fix typo in comment
5105
5106         * buffer.C (readFile): set message_ after file is loaded.
5107         (makeDocBookFile): remove double return
5108         (changeLanguage): reset message_ upon language change.
5109         (B_): new func, use this to get translated buffer strings.
5110
5111         * main.C: add myself and Jean Marc as authors.
5112
5113 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * messages.[hC]: pimplify Messages, and three different pimpls to be
5116         used in different circumstances.
5117
5118         * gettext.[Ch]: change for use with new message code.
5119
5120 2003-04-24 André Pönitz <poenitz@gmx.net>
5121
5122         * factory.C: support for eqref
5123
5124 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * messages.[Ch]: add missing char
5127
5128         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5129
5130         * messages.[Ch]: New files
5131
5132 2003-04-18  John Levon  <levon@movementarian.org>
5133
5134         * BufferView.h:
5135         * BufferView.C:
5136         * BufferView_pimpl.C:
5137         * lfuns.h:
5138         * LyXAction.C:
5139         * lyxtext.h:
5140         * text2.C: remove layout-copy/paste (bug 778)
5141
5142 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5145
5146 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5149         if they succeed. Act accordingly.
5150
5151 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * text2.C (setCharFont): adjust
5154         (setCounter): adjust
5155         (insertStringAsLines): adjust
5156
5157         * text.C (leftMargin): adjust
5158         (setHeightOfRow): adjust
5159
5160         * rowpainter.C (paintFirst): adjust
5161         (paintLast): adjust
5162
5163         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5164         (outerHook): ditto
5165         (isFirstInSequence): ditto
5166         (getEndLabel): ditto
5167         (outerFont): adjust
5168
5169         * paragraph.C (getParLanguage): comment out some hard stuff.
5170
5171         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5172         (sgmlError): ditto
5173         (simpleDocBookOnePar): ditto
5174         (makeDocBookFile): use ParagraphList::iterator
5175
5176         * CutAndPaste.C (pasteSelection): adjust
5177
5178 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * text2.C (getFont): adjust
5181         (getLayoutFont): adjust
5182         (getLabelFont): adjust
5183
5184         * paragraph_funcs.C (TeXOnePar): adjust
5185
5186         * buffer.C (simpleLinuxDocOnePar): adjust
5187         (simpleDocBookOnePar): adjust
5188
5189         * CutAndPaste.C (pasteSelection): adjust
5190
5191         * BufferView.C (getEncoding): adjust
5192
5193         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5194
5195 2003-04-16  John Levon  <levon@movementarian.org>
5196
5197         * lyxfind.C: use parlist stuff for search/changes
5198
5199 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5202
5203         * text2.C (deleteEmptyParagraphMechanism): adjust
5204
5205         * text2.[Ch] (ownerParagraph): delete func (both of them
5206
5207 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5210
5211 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * ParagraphList.C: prepare for NO_NEXT
5214
5215 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5216
5217         * text2.C (getFont): adjust
5218         (getLayoutFont): adjust
5219         (getLabelFont): adjust
5220
5221         * paragraph.C (getFont): adjust
5222         (getLabelFont): adjust
5223         (getLayoutFont): adjust
5224
5225         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5226
5227 2003-04-15  John Levon  <levon@movementarian.org>
5228
5229         From Angus Leeming
5230
5231         * lyx_main.C: handle Include in .ui files
5232
5233 2003-04-15  John Levon  <levon@movementarian.org>
5234
5235         * MenuBackend.C: make the doc files length shorter
5236
5237         * ToolbarBackend.h:
5238         * ToolbarBackend.C: handle toolbar placement flags,
5239         Minibuffer
5240
5241 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5244         adjust
5245
5246         * paragraph_funcs.C (TeXOnePar): adjust
5247
5248         * paragraph.C (getLabelFont): add outerfont arg, adjust
5249         (getLayoutFont): ditto
5250         (simpleTeXOnePar): adjust
5251
5252         * paragraph_pimpl.C (realizeFont): delete func
5253
5254 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5255
5256         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5257         row argument, constify cur argument.
5258
5259 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * text2.C (getFont): adjust
5262         (getLayoutFont): adjust
5263         (getLabelFont): adjust
5264
5265         * paragraph_funcs.C (TeXOnePar): adjust
5266         (outerFont): new func...
5267         (realizeFont): ...moved out from here, changed this to facilitate
5268         transition
5269
5270         * paragraph.C (getFont): take outerfont as arg, adjust
5271         (simpleTeXOnePar): add outerfont arg, adjust
5272
5273         * buffer.C (simpleLinuxDocOnePar): adjust
5274         (simpleDocBookOnePar): adjust
5275
5276         * CutAndPaste.C (pasteSelection): adjust
5277
5278         * BufferView.C (getEncoding): adjust
5279
5280 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * text2.C (setCharFont): adjust
5283         (setCounter): adjust
5284
5285         * text.C (leftMargin): adjust
5286         (setHeightOfRow): adjust
5287
5288         * rowpainter.C (paintFirst): adjust
5289         (paintLast): adjust
5290
5291         * paragraph_pimpl.C (realizeFont): adjust
5292
5293         * paragraph.C (isFirstInSequence): move from here...
5294         * paragraph_funcs.C (isFirstInSequence): ...to here
5295
5296         * paragraph.C (outerHook): move from here...
5297         * paragraph_funcs.C (outerHook): ...to here
5298
5299         * paragraph.C (depthHook): move from here...
5300         * paragraph_funcs.C (depthHook): ...to here
5301
5302         * paragraph.C (getEndLabel): move from here...
5303         * paragraph_funcs.C (getEndLabel): ...to here
5304
5305         * text2.C (realizeFont): move from here...
5306         * paragraph_funcs.C (realizeFont): ...to here
5307
5308 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5311
5312 2003-04-14  Angus Leeming  <leeming@lyx.org>
5313
5314         * LColor.[Ch]: scrap LColor mathcursor.
5315
5316 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * lyxlex.[Ch] (text): delete function
5319         * trans.C (Load): adjust
5320         * paragraph_funcs.C (readParToken): adjust
5321
5322 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5325         vector<char> instead of a char[].
5326
5327         * lyxlex_pimpl.C (getString): adjust
5328         (next): adjust
5329         (lex): use getString
5330         (eatLine): adjust
5331         (nextToken): adjust
5332
5333         * lyxlex.C (text): use pimpl_->getString()
5334         (getBool): ditto
5335         (findToken): ditto
5336
5337 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5340         (makeFontEntriesLayoutSpecific): temp var for par.size()
5341         (setLayout): temp var for ownerParagraphs().end()
5342         (fullRebreak): temp var for rows().end()
5343         (selectionAsString): temp var for boost::next(startpit), realize
5344         that the while really is a regular for loop.
5345         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5346         setCursor in one place.
5347         (setParagraph): temp vr for ownerParagraphs().end()
5348         (updateCounters): make the while loop a for loop
5349         (cutSelection): temp var for ownerParagraphs().end()
5350         (updateInset): make the do {} while() a regular for loop
5351         (getCursorX): use temp vars
5352         (setCurrentFont): use temp vars
5353         (getColumnNearX): use temp vars
5354
5355 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * text.C (transformChar): use temp var for getChar
5358         (computeBidiTables): use temp var for row->par()
5359         (fill): move temp vars for row->par() and pit->layout() earlier in
5360         the function.
5361         (labelFill): use temp var for row->par()
5362         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5363         asc and desc, realize that pit never changes and that firstpit is
5364         just a duplicate and not needed. Exchange rit->par() with pit in a
5365         lot of places.
5366         (breakAgain): use a temp var for boost::next(rit)
5367         (breakAgainOneRow): ditto
5368         (breakParagraph): use a temp var for rows().begin()
5369         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5370         (cursorRightOneWord): use temp var for cursor.par() and
5371         cursor.pos(), remove usage of tmpcursor.
5372         (cursorLeftOneWord): use temp var for cursor.par() and
5373         cursor.pos() only set cur at end of function.
5374
5375 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * text.C, text2.C: exchange all usage of Paragraph::next with
5378         boost::next(ParagraphList::iterator)
5379
5380         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5381
5382         * text2.C (cursorTop): simplify implementation
5383         (cursorBottom): ditto
5384         (setParagraph): use ParagraphList::iterator
5385         (setCurrentFont): adjust
5386         (getColumnNearX): adjust
5387         (cursorRight): adjust
5388         (cursorLeft): remove usage of Paragraph::previous
5389         (cursorUpParagraph): ditto
5390         (deleteEmptyParagraphMechanism): slight cleanup
5391
5392         * text.C (isBoundary): take a Paragraph const & instead of a
5393         pointer as arg.
5394         (addressBreakPoint): ditto
5395         (leftMargin): remove usage of Paragraph::previous.
5396         (setHeightOfRow): ditto
5397         (cursorLeftOneWord): ditto
5398         (selectNextWordToSpellcheck): ditto
5399         (Delete): ditto
5400         (backspace): ditto
5401         (breakParagraph): remove one usage of Paragraph::next
5402         (redoParagraph): ditto
5403         (acceptChange): ditto
5404         (insertChar): adjust
5405         (rowBreakPoint): adjust
5406
5407         * bufferview_funcs.C (toggleAndShow): adjust
5408
5409 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5410
5411         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5412         methods to access it.
5413         * lyxtext.h:
5414         * text.C: Added updateRowPositions to compute all row positions.
5415         Make top_y and getRowNearY() to use the cached y position
5416
5417 2003-04-11  John Levon  <levon@movementarian.org>
5418
5419         * text.C (rowBreakPoint): reintroduce the labelEnd
5420         checks, code copied from the row fill stuff. Deep voodoo.
5421
5422         * text.C (fill): add a comment and debugging for the
5423         next poor soul.
5424
5425 2003-04-11  John Levon  <levon@movementarian.org>
5426
5427         * text.C: make sure fullrow insets get wrapped to the next line,
5428         even when they're in a manual label
5429
5430 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * text2.C (insertParagraph): make it take ParagraphList::iterator
5433         as arg.
5434         (setLayout): make it return ParagraphList::iterator
5435         (redoParagraphs): ditto
5436         (setCounter): ditto
5437         (checkParagraph): ditto
5438
5439         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5440
5441         * text2.C: adjust several funcs.
5442         (realizeFont): take a ParagraphList::iterator as arg.
5443         (getLayoutFont): ditto
5444         (getLabelFont): ditto
5445         (setCharFont): ditto
5446
5447         * text.C: adjust several funcs.
5448
5449 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * text.C (selectNextWordToSpellcheck): don't accidentally
5452         skip insets
5453
5454 2003-04-10  John Levon  <levon@movementarian.org>
5455
5456         * ToolbarBackend.C (getIcon): special handling for
5457         LFUN_MATH_DELIM
5458
5459 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5460
5461         * text2.C (cursorRight): a getChar assert fixed
5462
5463 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5464
5465         * text2.C (getFont): change to take a ParagraphList::iterator
5466         instead of Paragraph*
5467         Adjust several functions.
5468
5469         * text.C (transformChar): change to take a ParagraphList::iterator
5470         instead of Paragraph*
5471         (singleWidth): ditto
5472         Adjust several functions.
5473
5474         * rowpainter.C: adjust several functions
5475         * rowpainter.h:store a ParagraphList::iterator and not a
5476         Paragraph&.
5477
5478
5479 2003-04-09  John Levon  <levon@movementarian.org>
5480
5481         * lyxfunc.C:
5482         * lfuns.h:
5483         * LyXAction.h:
5484         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5485         and the "help" bits as well
5486
5487 2003-04-09  John Levon  <levon@movementarian.org>
5488
5489         * ToolbarBackend.h:
5490         * ToolbarBackend.C: allow multiple toolbars
5491
5492 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5493
5494         * undo_funcs.C (setCursorParUndo): adjust
5495
5496         * text_funcs.C (transposeChars): adjust
5497
5498         * text3.C (gotoNextInset): adjust
5499         (dispatch): adjust
5500
5501         * text2.C (setLayout): adjust
5502         (changeDepth): adjust
5503         (setFont): adjust
5504         (redoParagraphs): adjust
5505         (selectionAsString): adjust
5506         (setParagraph): adjust
5507         (insertInset): adjust
5508         (cutSelection): adjust
5509         (copySelection): adjust
5510         (pasteSelection): adjust
5511         (insertStringAsLines): adjust
5512         (updateInset): adjust
5513         (setCursor): change to take a ParagraphList::iterator parameter
5514         (setCursorIntern): change to take a ParagraphList::iterator parameter
5515         (setCurrentFont): adjust
5516         (cursorLeft): adjust
5517         (cursorRight): adjust
5518         (deleteEmptyParagraphMechanism): adjust
5519
5520         * text.C (breakParagraph): adjust
5521         (insertChar): adjust
5522         (acceptChange): adjust
5523         (rejectChange): adjust
5524         (selectNextWordToSpellcheck): adjust
5525         (changeCase): adjust
5526         (Delete): adjust
5527         (backspace): adjust
5528
5529         * lyxfind.C (SearchForward): adjust
5530         (SearchBackward): adjust
5531         (nextChange): adjust
5532
5533         * lyxcursor.C (par): adjust
5534
5535         * lyxcursor.h: store a ParagraphList::iterator instead of a
5536         Paragraph*
5537
5538         * lyx_cb.C (getPossibleLabel): adjust
5539
5540         * bufferview_funcs.C (toggleAndShow): adjust
5541
5542         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5543         (dispatch): adjust
5544
5545         * BufferView.C (removeAutoInsets): adjust
5546         (lockedInsetStoreUndo): adjust
5547
5548 2003-04-09  John Levon  <levon@movementarian.org>
5549
5550         * ToolbarBackend.C: try icon without argument
5551         if with argument fails
5552
5553 2003-04-08  John Levon  <levon@movementarian.org>
5554
5555         * ToolbarBackend.h:
5556         * ToolbarBackend.C: add getIcon(), handle tooltip,
5557         and change from "Icon" to "Item".
5558
5559 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * BufferView.C (lockInset): another bad getchar crunched
5562
5563 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5564
5565         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5566         again)
5567
5568 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5569
5570         * lyxfind.C (searchForward, searchBackwards): bug 782
5571
5572 2003-04-07  John Levon  <levon@movementarian.org>
5573
5574         * paragraph.C: remove dead comment
5575
5576         * text.C: remove troublesome depth-fiddling code
5577         in leftMargin() and rightMargin() (bug 1017)
5578
5579         * text.C: fix breaking of rows in nested lists
5580         (bug 1004)
5581
5582         * text2.C (updateCounters): fix up depth values
5583         (bug 1013)
5584
5585 2003-04-07  John Levon  <levon@movementarian.org>
5586
5587         * BufferView_pimpl.C: clear message when doc finishes resizing,
5588         and after a mouse event
5589
5590         * lyxfunc.C: clear message after exiting inset
5591
5592 2003-04-07  John Levon  <levon@movementarian.org>
5593
5594         * bufferview_funcs.C: show math status not outside
5595         status in the statusbar
5596
5597 2003-04-07  John Levon  <levon@movementarian.org>
5598
5599         * lyxfunc.C: note status changed after a depth change
5600
5601 2003-04-04  Angus Leeming  <leeming@lyx.org>
5602
5603         * LaTeX.h: move AuxInfo operator==, != out of line.
5604         Remove LaTeX virtual destructor; nothing derives from it.
5605         Move operator()() out of public area and rename it startscript().
5606         Change protected for private.
5607
5608 2003-04-04  Angus Leeming  <leeming@lyx.org>
5609
5610         * lyxfunc.C:
5611         * text2.C: remove unneeded #includes.
5612
5613 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * text2.C (dEPM): fix the heigth of the next row
5616
5617 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5618
5619         * text.C: squashed an invalid getChar requester + some ws changes
5620
5621 2003-04-03  John Levon  <levon@movementarian.org>
5622
5623         * bufferview_funcs.h:
5624         * bufferview_funcs.C:
5625         * lyxfunc.C:
5626         * lyxtext.h:
5627         * text2.C: make getStatus work for the env depth lfuns
5628
5629 2003-04-03  John Levon  <levon@movementarian.org>
5630
5631         * bufferview_funcs.h:
5632         * bufferview_funcs.C:
5633         * lyxfunc.C:
5634         * lyxtext.h:
5635         * text2.C: parlistize decDepth(), by merging it with incDepth()
5636
5637 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * lyxrow.h: store a ParagraphList::iterator instead of a
5640         Paragraph* and adjust other class functions to suit.
5641
5642         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5643         above.
5644
5645 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * text2.C (setCursor): do not anchor to cursor row for the time being
5648
5649 2003-04-02  John Levon  <levon@movementarian.org>
5650
5651         * LyXAction.C:
5652         * lfuns.h:
5653         * lyx_main.C:
5654         * lyxtext.h:
5655         * text.C:
5656         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5657
5658 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * paragraph.h: make ParagraphList and ParagraphList::iterator
5661         friends of Paragraph.
5662
5663         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5664
5665         * ParagraphList.C: Use the private next_ and previous_ from
5666         Paragraph.
5667
5668 2003-04-01  John Levon  <levon@movementarian.org>
5669
5670         * ToolbarBackend.h:
5671         * ToolbarBackend.C:
5672         * Makefile.am: rename, remove defaults gunk
5673
5674         * MenuBackend.h:
5675         * MenuBackend.C: remove defaults gunk
5676
5677         * Languages.h:
5678         * Languages.C: remove defaults gunk
5679
5680         * lyx_main.h:
5681         * lyx_main.C: error out if files couldn't be found.
5682
5683 2003-04-02  John Levon  <levon@movementarian.org>
5684
5685         * text2.C: make incDepth() use parlist
5686
5687 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * undo_funcs.C (firstUndoParagraph): adjust
5690
5691         * text3.C (gotoInset): adjust
5692         (dispatch): adjust, and rewrite loop.
5693
5694         * text2.C (init): adjust, and rewrite loop.
5695         (redoParagraphs): adjust
5696         (updateInset): adjust, and rewrite loop.
5697         (deleteEmptyParagraphMechanism): adjust
5698
5699         * tabular.C (LyXTabular): adjust
5700         (SetMultiColumn): adjust
5701         (TeXRow): adjust
5702
5703         * lyxtext.[Ch] (ownerParagraph): delete function
5704         (ownerParagraphs): new function returns a ParagraphList.
5705
5706         * BufferView.C (removeAutoInsets): adjust
5707         (insertErrors): adjust
5708         (setCursorFromRow): adjust
5709
5710 2003-04-01  Angus Leeming  <leeming@lyx.org>
5711
5712         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5713         in the frontends.
5714
5715 2003-04-02  John Levon  <levon@movementarian.org>
5716
5717         * lyxtext.h:
5718         * text.C:
5719         * Makefile.am:
5720         * text_funcs.h:
5721         * text_funcs.C: make transposeChars a free function
5722
5723         * lyxrow_funcs.C: remove wrong comment
5724
5725 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5726
5727         * lyxtext.h: adjust
5728         * rowpainter.C: adjust
5729         * text.C: adjust
5730         * text2.C: adjust
5731         * text3.C: adjust
5732
5733         * lyxrow_funcs. [Ch]: new files
5734
5735         * lyxrow.[Ch]: remove next and previous pointers
5736         (next,previous): remove accessor functions
5737         (isParEnd): move to lyxrow_funcs
5738         (lastPos): move to lyxrow_funcs
5739         (nextRowIsAllInset): move to lyxrow_funcs
5740         (lastPrintablePos): move to lyxrow_funcs
5741         (numberOfSeparators): move to lyxrow_funcs
5742         (numberOfHfills): move to lyxrow_funcs
5743         (numberOfLabelHfills): move to lyxrow_funcs
5744         (hfillExpansion): move to lyxrow_funcs
5745
5746         * lyxfunc.C: adjust
5747
5748         * bufferview_funcs.C (toggleAndShow): adjust
5749
5750         * RowList.h: Remove class RowList from file leave just a
5751         std::list<Row>.
5752
5753         * RowList.C: delete file
5754
5755         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5756         and lyxrow_funcs.h
5757
5758 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5759
5760         * text3.C (cursorPrevious): adjust
5761         (cursorNext): adjust
5762         (dispatch): adjust
5763
5764         * text2.C (redoHeightOfParagraph): adjust
5765         (redoDrawingOfParagraph): adjust
5766         (setCursor): adjust
5767
5768         * text.C (breakParagraph): adjust
5769         (insertChar): adjust
5770         (backspace): adjust
5771
5772         * rowpainter.C (RowPainter): adjust
5773         (leftMargin): simplify and adjust
5774         (most rowpainter functions): adjust.
5775
5776         * rowpainter.h: store the row as RowList::iterator not as Row*
5777
5778         * lyxcursor.C (row): taka RowList::iterator as arg
5779         (irow): ditto
5780
5781         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5782         of Row*.
5783
5784 2003-04-01  Angus Leeming  <leeming@lyx.org>
5785
5786         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5787         stuff like bool Bool.
5788
5789 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5790
5791         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5792         rewrite a loop
5793
5794 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5795
5796         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5797         RowList::iterator.
5798
5799         * lyxtext.h (rows): drop one version and leve a const variant that
5800         returns a RowList::iterator.
5801
5802 2003-03-31  Angus Leeming  <leeming@lyx.org>
5803
5804         * text.C (fill): ensure that the signature is the same as that in the
5805         header file.
5806
5807 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5808
5809         * text2.C (redoParagraphs): adjust
5810         (updateCounters): adjust
5811         (checkParagraph): adjust
5812         (getColumnNearX): adjust and reformat a bit.
5813
5814         * text.C (top_y): adjust
5815         (workWidth): adjust
5816         (leftMargin): adjust
5817         (prepareToPrint): adjust
5818         (getRow): adjust
5819         (getRowNearY): adjust
5820
5821         * lyxtext.h: make rowlist_ mutable.
5822
5823         * RowList.h: add const_iterator
5824         * RowList.C: adjust for RowList::const_iterator.
5825
5826         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5827         adjust.
5828
5829 2003-03-31  John Levon  <levon@movementarian.org>
5830
5831         * lyxrc.h:
5832         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5833
5834         * lyx_main.C: set default fonts from using lyx_gui funcs
5835
5836         * exporter.C: pdf_mode moved from lyxrc
5837
5838         * lyx_cb.C:
5839         * lyxfunc.C: changes from above
5840
5841 2003-03-31  John Levon  <levon@movementarian.org>
5842
5843         * lyx_main.C: fix to the last fix
5844
5845 2003-03-31  John Levon  <levon@movementarian.org>
5846
5847         * bufferlist.C: "Load original" -> "Load Original"
5848
5849         * converter.C:
5850         * exporter.C:
5851         * importer.C:
5852         * lyx_main.C:
5853         * format.C: more Alert cleanups
5854
5855 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5856
5857         * text2.C (removeParagraph): make it take a RowList::iterator as
5858         arg, adjust.
5859         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5860         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5861
5862         * text.C (anchor_row): make it take a RowList::iterator as arg,
5863         adjust.
5864         (computeBidiTables): make it take a const reference to Row instead
5865         of Row pointer, adjust.
5866         (leftMargin): make it take a RowList::iterator as arg, adjust.
5867         (rowBreakPoint): adjust
5868         (breakAgainOneRow): make it take a RowList::iterator as arg,
5869         adjust.
5870         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5871
5872         * bufferview_funcs.C (toggleAndShow): adjust
5873
5874 2003-03-30  John Levon  <levon@movementarian.org>
5875
5876         * Makefile.am:
5877         * BoostFormat.h:
5878         * boost-inst.C: moved to support
5879
5880         * several files: changes as a result
5881
5882 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * text2.C (LyXText): adjust.
5885         (init): adjust
5886         (removeRow): make it take a RowList::iterator as arg, adjust.
5887         (fullRebreak): adjust
5888         (deleteEmptyParagraphMechanism): adjust
5889         (clearPaint): adjust
5890         (postPaint): adjust
5891
5892         * text.C (top_y): adjust
5893         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5894         (breakAgain): make it take a RowList::iterator as arg, adjust.
5895         (breakParagraph): adjust
5896         (insertChar): adjust
5897         (backspace): adjust
5898
5899         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5900         need_break_row, and refresh_row.
5901
5902         * text3.C (dispatch): adjust
5903
5904         * text2.C (checkParagraph): adjust
5905         (setCursor): adjust
5906         (setCursorFromCoordinates): adjust
5907
5908         * text.C (top_y): adjust
5909         (workWidth): adjust
5910         (getRow): make it return a RowList::iterator, adjust
5911         (getRowNearY): make it return a RowList::iterator, adjust
5912
5913         * text2.C (init): adjust
5914         (insertRow): remove function
5915         (insertParagraph): adjust
5916         (redoParagraphs): adjust
5917         (fullRebreak): adjust
5918         (updateCounters): adjust
5919
5920         * text.C (top_y): rewrite to use RowList iterators.
5921         (top_y): adjust
5922         (setHeightOfRow): rewrite to sue RowList iterators.
5923         (appendParagraph): adjust
5924         (breakAgain): adjust
5925         (breakAgainOneRow): adjust
5926         (breakParagraph): adjust
5927         (getRow): adjust
5928         (getRowNearY): adjust, and remove commented code.
5929
5930         * lyxtext.h (firstRow): delete function
5931         (lastRow): delete function
5932         (rows): new function (const and non-const versions.)
5933         (insertRow): delete function
5934
5935         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5936
5937 2003-03-29  John Levon  <levon@movementarian.org>
5938
5939         * BufferView_pimpl.C: always update scrollbar top
5940         because pasting text when we're anchored could mean we
5941         miss an update altogether
5942
5943 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * text2.C (init): use rowlist_.end() and not 0.
5946         (insertRow): change to take a RowList::iterator as arg, adjust
5947         for this.
5948         (insertParagraph): change to take a RowList::iterator as arg,
5949         adjust for this.
5950         (redoParagraphs): remove some debug msgs.
5951
5952         * text.C (appendParagraph): change to take a RowList::iterator
5953         arg, adjust for this.
5954         (breakAgain): add an assert
5955         (breakAgainOneRow): ditto
5956
5957 2003-03-29  John Levon  <levon@movementarian.org>
5958
5959         * text2.C: do not clear selection after inc/decDepth
5960         (bug 550)
5961
5962 2003-03-29  John Levon  <levon@movementarian.org>
5963
5964         * BufferView.C:
5965         * buffer.C: fix broken strerrors according to Lars
5966
5967 2003-03-29  John Levon  <levon@movementarian.org>
5968
5969         * converters.C: more Alert cleanups
5970
5971 2003-03-29  John Levon  <levon@movementarian.org>
5972
5973         * bufferview_funcs.C: remove pointless Alert
5974
5975         * buffer.C: fix confusing error message when
5976         a template is chmoded 000
5977
5978 2003-03-29  John Levon  <levon@movementarian.org>
5979
5980         * BufferView.C:
5981         * BufferView.h:
5982         * BufferView_pimpl.C: Alert fixes
5983
5984         * Makefile.am:
5985         * tabular.C:
5986         * tabular-old.C: remove unused table compat reading
5987
5988 2003-03-29  John Levon  <levon@movementarian.org>
5989
5990         * BufferView.C:
5991         * buffer.C:
5992         * lyx_cb.h:
5993         * lyx_cb.C: more Alert cleanups
5994
5995         * lyxfunc.C: don't allow chktex if not latex document
5996
5997 2003-03-29  John Levon  <levon@movementarian.org>
5998
5999         * lyx_cb.C:
6000         * BufferView.C:
6001         * buffer.C: warnings pushed down from support/,
6002         kill err_alert
6003
6004 2003-03-29  John Levon  <levon@movementarian.org>
6005
6006         * lyxfunc.C: safety check for C-r (revert)
6007
6008 2003-03-29  John Levon  <levon@movementarian.org>
6009
6010         * bufferlist.h:
6011         * bufferlist.C: several UI fixes using Alert::prompt.
6012         Fix the pointless looping quit code. Fix stupid revert
6013         behaviour (bug 938)
6014
6015         * lyxvc.h:
6016         * lyxvc.C:
6017         * lyx_cb.C: use Alert::prompt
6018
6019         * lyx_main.C: remove a silly question
6020
6021         * lyxfunc.C: remove a couple of silly questions,
6022         use Alert::prompt
6023
6024 2003-03-28  John Levon  <levon@movementarian.org>
6025
6026         * text2.C: fix bug 974 (End on empty par)
6027
6028 2003-03-28  John Levon  <levon@movementarian.org>
6029
6030         * BufferView_pimpl.C:
6031         * LyXAction.C:
6032         * lfuns.h: remove do-nothing math greek lfuns
6033
6034 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * lyxgluelength.h (isValidGlueLength): add default arg on
6037         parameter 2. Remove default arg from friend in class.
6038
6039         * lyxlength.h (isValidLength): add default arg on parameter 2.
6040         Remove default arg from friend in class.
6041
6042         * text2.C (LyXText): adjust, initialize refresh_row.
6043         (init): adjust
6044         (removeRow): adjust
6045         (insertRow): adjust
6046         (insertParagraph): adjst
6047         (redoParagraphs): adjust
6048         (fullRebreak): adjust
6049         (updateCounters): adjust
6050         (deleteEmptyParagraphMechanism): first attempt at fixing a
6051         crashing bug.
6052
6053         * text.C (top_y): adjust
6054         (setHeightOfRow): adjust
6055         (getRow): adjust
6056         (getRowNearY): adjust
6057
6058         * lyxtext.h: include RowList.h
6059         (~LyXText): not needed anymore, deleted.
6060         (firstRow): modify for RowList
6061         (lastRow): new function
6062         Delete firstrow and lastrow class variables, add a Rowlist
6063         rowlist_ class variable.
6064
6065         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6066         paragraph is empty.
6067
6068         * RowList.C (insert): fix case where it == begin().
6069
6070 2003-03-26  Angus Leeming  <leeming@lyx.org>
6071
6072         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6073         the thesaurus dialog.
6074
6075 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6076
6077         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6078
6079         * RowList.[Ch]: new files
6080
6081         * ParagraphList.C (erase): handle the case where it == begin
6082         correctly.
6083
6084 2003-03-25  John Levon  <levon@movementarian.org>
6085
6086         * Makefile.am:
6087         * aspell_local.h:
6088         * aspell.C: add new aspell support
6089
6090         * lyxrc.h:
6091         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6092         have it accessible.
6093
6094 2003-03-25  Angus Leeming  <leeming@lyx.org>
6095
6096         * lfuns.h:
6097         * LyXAction.C (init): new LFUN_INSET_INSERT.
6098
6099         * BufferView_pimpl.C (dispatch): split out part of the
6100         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6101
6102         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6103         LFUN_INSET_APPLY.
6104
6105 2003-03-25  Angus Leeming  <leeming@lyx.org>
6106
6107         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6108
6109 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6110
6111         * text2.C:
6112         * text3.C: remove useless row->height(0)
6113
6114 2003-03-25  John Levon  <levon@movementarian.org>
6115
6116         * lyxtext.h:
6117         * text2.C:
6118         * text3.C: rename the refreshing stuff to better names
6119
6120 2003-03-24  John Levon  <levon@movementarian.org>
6121
6122         * BufferView_pimpl.h:
6123         * BufferView_pimpl.C: update layout choice on a mouse
6124         press/release
6125
6126 2003-03-23  John Levon  <levon@movementarian.org>
6127
6128         * Makefile.am: fix commandtags.h reference
6129
6130 2003-03-22  John Levon  <levon@movementarian.org>
6131
6132         * BufferView_pimpl.C:
6133         * lyxtext.h:
6134         * rowpainter.C:
6135         * rowpainter.h:
6136         * text.C:
6137         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6138
6139 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6140
6141         * lyxtext.h:
6142         * text.C: take the rtl methods out of line
6143
6144 2003-03-21 André Pönitz <poenitz@gmx.net>
6145
6146         * metricsinfo.[Ch]: new files containing structures to be passed around
6147         during the two-phase-drawing...
6148
6149 2003-03-21 André Pönitz <poenitz@gmx.net>
6150
6151         * lyxtextclass.C: read 'environment' tag.
6152
6153 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6154
6155         * text2.C (removeRow): fix bug 964
6156
6157 2003-03-20  John Levon  <levon@movementarian.org>
6158
6159         * rowpainter.C:
6160         * text.C:
6161         * text2.C: paint cleanups. Inset::update() dropped font
6162         parameter
6163
6164 2003-03-19  John Levon  <levon@movementarian.org>
6165
6166         * lyxfunc.C: only fitcursor/markDirty if available()
6167
6168 2003-03-19  John Levon  <levon@movementarian.org>
6169
6170         * commandtags.h: rename to ...
6171
6172         * lfuns.h: ... this, and renumber / cleanup
6173
6174 2003-03-19  John Levon  <levon@movementarian.org>
6175
6176         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6177         fit the cursor after an lfun
6178
6179         * BufferView.h:
6180         * BufferView.C:
6181         * BufferView_pimpl.h:
6182         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6183
6184         * LyXAction.C: layout-character should have ReadOnly
6185
6186         * ParagraphParameters.C:
6187         * buffer.C:
6188         * bufferview_funcs.C:
6189         * lyx_cb.C:
6190         * lyxfind.C:
6191         * lyxtext.h:
6192         * text.C:
6193         * text2.C:
6194         * text3.C:
6195         * undo_funcs.C: changes from above
6196
6197 2003-03-18  John Levon  <levon@movementarian.org>
6198
6199         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6200         remove it from update()
6201
6202         * lyxfunc.C: update layout choice after an lfun
6203
6204         * text3.C: remove extra updateLayoutChoice()s
6205
6206 2003-03-18  John Levon  <levon@movementarian.org>
6207
6208         * text.C: top_y change means full repaint, fix
6209         a drawing bug with cursor movement
6210
6211 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * lyxtext.h:
6214         * text.C:
6215         * text2.C: anchor row on setCursor
6216
6217 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * lyxtext.h: remove almost all mutable keywords
6220         * text.C:
6221         * text2.C:
6222         * text3.C: remove const keywords accordingly
6223
6224 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6225
6226         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6227         anon namespace
6228         (TeXEnvironment): ditto
6229         (TeXOnePar): ditto
6230
6231 2003-03-17  John Levon  <levon@movementarian.org>
6232
6233         * text.C (rowBreakPoint): remove attempt to fix displayed
6234         math insets inside a manual label
6235
6236 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237
6238         * lyxtext.h: remove BufferView* as first arg from almost all class
6239         functions.
6240         * other files: adjust.
6241
6242 2003-03-17  John Levon  <levon@movementarian.org>
6243
6244         * lyxtext.h:
6245         * undo_funcs.C:
6246         * text2.C: more paint cleanups
6247
6248         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6249
6250         * rowpainter.h:
6251         * rowpainter.C: remove "smart" background painting code
6252
6253 2003-03-16  John Levon  <levon@movementarian.org>
6254
6255         * lyxtext.h:
6256         * text.C:
6257         * text2.C:
6258         * text3.C: add helper functions for setting refresh_row/y
6259
6260 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6261
6262         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6263         newline inset which *can* get inserted in the pass_thru layouts.
6264         This is primarily for literate documents.
6265
6266 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6267
6268         * buffer.C: increment LYX_FORMAT to 223
6269
6270 2003-03-14 André Pönitz <poenitz@gmx.net>
6271
6272         * textclass.h: prepare for environment handling, ws changes
6273         * lyxlayout.C: read latexheader and latexfooter tags
6274
6275 2003-03-14  John Levon  <levon@movementarian.org>
6276
6277         * text2.C: rewrite ::status() a bit
6278
6279 2003-03-13  John Levon  <levon@movementarian.org>
6280
6281         * lyxtext.h: add some docs
6282
6283 2003-03-13  John Levon  <levon@movementarian.org>
6284
6285         * lyxtext.h:
6286         * text.C:
6287         * text2.C:
6288         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6289
6290 2003-03-13  John Levon  <levon@movementarian.org>
6291
6292         * text3.C: fix appendix redrawing
6293
6294 2003-03-13  John Levon  <levon@movementarian.org>
6295
6296         * text.C (setHeightOfRow):
6297         * rowpainter.h:
6298         * rowpainter.C: make appendix mark have the text
6299           "Appendix" so the user knows what it is
6300
6301         * LColor.h:
6302         * LColor.C: s/appendixline/appendix/ from above
6303
6304 2003-03-13  John Levon  <levon@movementarian.org>
6305
6306         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6307
6308         * text.C: fix a getChar(pos) bug properly
6309
6310 2003-03-13  Angus Leeming  <leeming@lyx.org>
6311
6312         * commandtags.h:
6313         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6314         Probably only temporary. Let's see how things pan out.
6315
6316         * BufferView.C (unlockInset):
6317         * BufferView_pimpl.C (fitCursor):
6318         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6319
6320         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6321         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6322
6323         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6324         new functions that convert ParagraphParameters to and from a string.
6325
6326         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6327         BufferView::Pimpl's dispatch.
6328         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6329
6330 2003-03-13 André Pönitz <poenitz@gmx.net>
6331
6332         * lyxfunc.C:
6333         * text3.C:
6334         * factory.C: make it aware of InsetEnv
6335
6336 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * text2.C (setCursor): never ask for one past last
6339         (setCursor): add some debugging messages.
6340
6341         * text.C (singleWidth): never ask for one past last
6342         (singleWidth): ditto
6343         (leftMargin): ditto
6344         (rightMargin): ditto
6345         (rowBreakPoint): ditto
6346         (setHeightOfRow): ditto
6347         (prepareToPrint): ditto
6348
6349         * rowpainter.C (paintBackground): never ask for one past last
6350         (paintText): never ask for one past last
6351
6352         * paragraph_pimpl.C (getChar): make the assert stricter, never
6353         allow the one past last pos to be taken
6354
6355         * paragraph.C (getChar): ws changes only
6356
6357         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6358         (numberOfSeparators): ditto
6359         (numberOfHfills): ditto
6360
6361 2003-03-12  John Levon  <levon@movementarian.org>
6362
6363         * author.h:
6364         * author.C:
6365         * bufferparams.h:
6366         * bufferparams.C:
6367         * paragraph_funcs.C: fix per-buffer authorlists
6368
6369 2003-03-12  John Levon  <levon@movementarian.org>
6370
6371         * text.C: fix newline in right address
6372
6373 2003-03-12  Angus Leeming  <leeming@lyx.org>
6374
6375         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6376         duplicate those in LyXFunc::dispatch.
6377
6378         * commandtags.h:
6379         * LyXAction.C:
6380         * ToolbarDefaults.C:
6381         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6382         Add LFUN_FONTFREE_UPDATE.
6383
6384         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6385         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6386
6387         * bufferview_func.[Ch]: several new functions to facilliate
6388         transfer of data to and from the character dialog.
6389
6390 2003-03-12  John Levon  <levon@movementarian.org>
6391
6392         * buffer.C:
6393         * paragraph.h:
6394         * paragraph.C:
6395         * paragraph_funcs.C:
6396         * paragraph_pimpl.C:
6397         * sgml.C:
6398         * tabular.C:
6399         * text.C:
6400         * text3.C: remove META_NEWLINE in favour of an inset
6401
6402         * rowpainter.h:
6403         * rowpainter.C: remove paintNewline (done by inset)
6404
6405 2003-03-12  John Levon  <levon@movementarian.org>
6406
6407         * paragraph_pimpl.C: complain about bad getChar()s
6408         for a while at least
6409
6410 2003-03-12  John Levon  <levon@movementarian.org>
6411
6412         * buffer.h:
6413         * buffer.C: move paragraph read into a separate function,
6414         a little renaming to reflect that.
6415
6416         * bufferparams.h:
6417         * bufferparams.C: remove the author_ids map, not necessary now
6418
6419         * factory.h:
6420         * factory.C: moved Buffer::readInset to here
6421
6422         * paragraph_funcs.h:
6423         * paragraph_funcs.C: readParagraph free function moved from
6424         buffer.C
6425
6426         * tabular.C: name change
6427
6428 2003-03-12  John Levon  <levon@movementarian.org>
6429
6430         * buffer.C:
6431         * ParagraphParameters.C: move par params input to
6432         a read() method
6433
6434         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6435         behave like a normal read from the stream wrt reading
6436         a line vs. a \\token
6437
6438 2003-03-12  John Levon  <levon@movementarian.org>
6439
6440         * paragraph.C:
6441         * ParagraphParameters.h:
6442         * ParagraphParameters.C: move output code to a
6443         ::write() method
6444
6445 2003-03-12  John Levon  <levon@movementarian.org>
6446
6447         * BufferView.C (insertLyXFile):
6448         * buffer.h:
6449         * buffer.C:
6450         * tabular.C: use a parlist iterator for creating the
6451           document.
6452
6453 2003-03-12  John Levon  <levon@movementarian.org>
6454
6455         * buffer.C: make current_change static local not
6456           static file-scope
6457
6458 2003-03-12  John Levon  <levon@movementarian.org>
6459
6460         * buffer.C: fix insertStringAsLines for change tracking
6461
6462 2003-03-12  John Levon  <levon@movementarian.org>
6463
6464         * BufferView.C:
6465         * tabular.C:
6466         * buffer.h:
6467         * buffer.C:
6468         * bufferparams.h:
6469         * bufferparams.C: move author list into params. Rename some
6470           functions. Move the header reading into a separate token
6471           loop. Move the header token reading into BufferParams.
6472
6473 2003-03-12  John Levon  <levon@movementarian.org>
6474
6475         * changes.C: put debug inside lyxerr.debugging() checks
6476
6477 2003-03-11 André Pönitz <poenitz@gmx.net>
6478
6479         * factory.C: make it aware of InsetHFill
6480
6481 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6482
6483         * buffer.C (latexParagraphs): move function from here...
6484         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6485         args.
6486
6487 2003-03-10  Angus Leeming  <leeming@lyx.org>
6488
6489         * LyXAction.C (init): fix bug in poplating array with multiple entries
6490         with the same LFUN (spotted by JMarc).
6491
6492 2003-03-10  John Levon  <levon@movementarian.org>
6493
6494         * text.C:
6495         * text2.C: move getColumnNearX() near its
6496         only call site
6497
6498 2003-03-10  John Levon  <levon@movementarian.org>
6499
6500         * text.C: fix break before a minipage
6501
6502 2003-03-10  John Levon  <levon@movementarian.org>
6503
6504         * text.C: fix the last commit
6505
6506 2003-03-09  John Levon  <levon@movementarian.org>
6507
6508         * lyxtext.h:
6509         * text.C:
6510         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6511         bug 365 (don't break before insets unless needed). Don't
6512         return a value > last under any circumstances.
6513
6514 2003-03-09  Angus Leeming  <leeming@lyx.org>
6515
6516         * BufferView_pimpl.C (trackChanges, dispatch): call
6517         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6518
6519 2003-03-09  Angus Leeming  <leeming@lyx.org>
6520
6521         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6522         than Dialogs::showAboutlyx().
6523
6524 2003-03-09  Angus Leeming  <leeming@lyx.org>
6525
6526         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6527         than Dialogs::showTabularCreate().
6528
6529 2003-03-09  John Levon  <levon@movementarian.org>
6530
6531         * lyxtext.h:
6532         * text.C:
6533         * text2.C: 3rd arg to nextBreakPoint was always the same.
6534           Use references.
6535
6536 2003-03-08  John Levon  <levon@movementarian.org>
6537
6538         * lyxrow.C:
6539         * paragraph.C:
6540         * paragraph.h:
6541         * rowpainter.C:
6542         * text.C:
6543         * text2.C: Remove the "main" bit from the "main body"
6544           notion.
6545
6546 2003-03-08  John Levon  <levon@movementarian.org>
6547
6548         * text.C (leftMargin): The left margin of an empty
6549         manual label paragraph should not include the label width
6550         string length.
6551
6552         * text.C (prepareToPrint): don't attempt to measure hfills
6553         for empty manual label paragraphs - the answer should be 0
6554
6555 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * CutAndPaste.C: remove commented code and reindent.
6558
6559 2003-03-08  John Levon  <levon@movementarian.org>
6560
6561         * lyxfunc.h:
6562         * lyxfunc.C: move reloadBuffer()
6563
6564         * BufferView.h:
6565         * BufferView.C: to here
6566
6567         * lyxvc.C: add comment
6568
6569         * vc-backend.h:
6570         * vc-backend.C: call bv->reload() to avoid
6571           getStatus() check on MENURELOAD
6572
6573 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6574
6575         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6576         to an old format .dep file.
6577
6578 2003-03-07  Angus Leeming  <leeming@lyx.org>
6579
6580         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6581         when the LFUN_MOUSE_RELEASE should have been handled by
6582         inset->localDispatch.
6583
6584 2003-03-07  Angus Leeming  <leeming@lyx.org>
6585
6586         * BufferView_pimpl.C (dispatch):
6587         * LyXAction.C (init):
6588         * ToolbarDefaults.C (init):
6589         * commandtags.h:
6590         * lyxfunc.C (getStatus):
6591         remove LFUN_INSET_GRAPHICS.
6592
6593         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6594
6595 2003-03-07  Angus Leeming  <leeming@lyx.org>
6596
6597         * commandtags.h:
6598         * LyXAction.C (init):
6599         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6600
6601         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6602
6603         * commandtags.h:
6604         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6605
6606         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6607         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6608
6609 2003-03-07  Angus Leeming  <leeming@lyx.org>
6610
6611         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6612         remove "ert".
6613
6614 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * ParagraphList.C (front): new function
6617         (back): implement
6618
6619 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6620
6621         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6622         and top_row_offset_. removed var first_y.
6623         * text.C (top_y):
6624         * text2.C (LyXText, removeRow):
6625         * text3.C:
6626         * BufferView_pimpl.C:
6627         use these methods instead of using first_y
6628
6629 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6630
6631         * text2.C (pasteSelection): adjust for checkPastePossible
6632
6633         * CutAndPaste.C: remove Paragraph * buf and replace with
6634         ParagraphList paragraphs.
6635         (DeleteBuffer): delete
6636         (cutSelection): change the tc type to textclass_type
6637         (copySelection): change the tc type to textclass_type
6638         (copySelection): adjust for ParagraphList
6639         (pasteSelection): change the tc type to textclass_type
6640         (pasteSelection): adjust for Paragraphlist
6641         (nrOfParagraphs): simplify for ParagraphList
6642         (checkPastePossible): simplify for ParagraphList
6643         (checkPastePossible): remove unused arg
6644
6645         * ParagraphList.C (insert): handle the case where there are no
6646         paragraphs yet.
6647
6648         * CutAndPaste.h: make CutAndPaste a namespace.
6649
6650         * text3.C (dispatch): adjust
6651
6652         * text.C (breakParagraph): add a ParagraphList as arg
6653
6654         * paragraph_funcs.C (breakParagraph): change to take a
6655         BufferParams and a ParagraphList as args.
6656         (breakParagraphConservative): ditto
6657         (mergeParagraph): ditto
6658         (TeXDeeper): add a ParagraphList arg
6659         (TeXEnvironment): ditto
6660         (TeXOnePar): ditto
6661
6662         * buffer.C (readLyXformat2): adjust
6663         (insertStringAsLines): adjust
6664         (latexParagraphs): adjust
6665
6666         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6667         (cutSelection): adjust
6668         (pasteSelection): adjust
6669
6670         * BufferView_pimpl.C (insertInset): adjust
6671
6672 2003-03-05  Angus Leeming  <leeming@lyx.org>
6673
6674         * commandtags.h:
6675         * LyXAction.C (init):
6676         * BufferView_pimpl.C (dispatch):
6677         * lyxfunc.C (getStatus):
6678         remove LFUN_CHILD_INSERT.
6679
6680         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6681
6682 2003-03-05  Angus Leeming  <leeming@lyx.org>
6683
6684         * commandtags.h:
6685         * LyXAction.C (init):
6686         * src/factory.C (createInset):
6687         * lyxfunc.C (getStatus):
6688         * text3.C (dispatch):
6689         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6690
6691         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6692
6693 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6694
6695         * ParagraphList.C (insert): handle insert right before end()
6696         (erase): fix cases where it can be first or last paragraph.
6697
6698 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6699
6700         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6701         Paragraph::next and Paragraph::previous
6702         (TeXOnePar): ditto
6703
6704         * text.C (breakParagraph): adjust
6705
6706         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6707         BufferParams& as arg.
6708         (breakParagraph): use ParagraphList::insert
6709         (breakParagraphConservative): take a Buffer* instead of a
6710         BufferParams& as arg.
6711         (breakParagraphConservative): use ParagraphList::insert.
6712
6713         * buffer.C (insertStringAsLines): un-const it
6714         (insertStringAsLines): adjust
6715
6716         * ParagraphList.C (insert): new function
6717
6718         * CutAndPaste.C (pasteSelection): adjust
6719
6720         * text.C (backspace): adjust
6721
6722         * tabular.C (SetMultiColumn): adjust
6723
6724         * CutAndPaste.C (cutSelection): adjust
6725         (pasteSelection): adjust
6726
6727         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6728         Buffer const * as arg
6729
6730         * ParagraphList.C (erase): new function
6731         * paragraph_funcs.C (mergeParagraph): use it
6732         (mergeParagraph): make it take a Buffer* instead of a
6733         BufferParams* as arg
6734
6735         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6736         as arg
6737         (breakParagraphConservative): ditto
6738
6739         * paragraph.h: remove the breakParagraph friend
6740
6741         * paragraph.C (eraseIntern): new function
6742         (setChange): new function
6743
6744         * paragraph_funcs.C (mergeParagraph): make it take a
6745         ParagraphList::iterator instead of a Paragraph *, adjust
6746         accordingly.
6747
6748         * paragraph.h: move an #endif so that the change tracking stuff
6749         also works in the NO_NEXT case.
6750
6751 2003-03-04  Angus Leeming  <leeming@lyx.org>
6752
6753         * commandtags.h:
6754         * LyXAction.C: new LFUN_INSET_MODIFY.
6755
6756         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6757         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6758
6759 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * several files: ws changes only
6762
6763         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6764         (TeXEnvironment): ditto
6765         (TeXDeeper): ditto
6766
6767         * buffer.C (makeLaTeXFile): adjust
6768         (latexParagraphs): make it take ParagraphList::iterator as args
6769
6770 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6771
6772         * buffer.C (latexParagraphs): adjust
6773
6774         * paragraph.C (TeXOnePar): move function...
6775         (optArgInset): move function...
6776         (TeXEnvironment): move function...
6777         * paragraph_pimpl.C (TeXDeeper): move function...
6778         * paragraph_funcs.C: ...here
6779
6780         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6781
6782 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * buffer.C (readInset): remove compability code for old Figure and
6785         InsetInfo insets
6786
6787 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * buffer.C: ws changes
6790         (readInset):
6791
6792         * BufferView_pimpl.C: ditto
6793         * author.C: ditto
6794         * buffer.h: ditto
6795         * bufferlist.h: ditto
6796         * changes.h: ditto
6797         * lyxfunc.C: ditto
6798
6799 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6800
6801         * converter.[Ch]: split into itself +
6802         * graph.[Ch]
6803         * format.[Ch]
6804         * Makefile.am: += graph.[Ch] + format.[Ch]
6805         * MenuBackend.C
6806         * buffer.C
6807         * exporter.C
6808         * importer.C
6809         * lyx_main.C
6810         * lyxfunc.C
6811         * lyxrc.C: added #include "format.h"
6812
6813 2003-02-27  Angus Leeming  <leeming@lyx.org>
6814
6815         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6816           a label.
6817
6818         * factory.C (createInset): add "label" to the factory.
6819
6820         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6821           string and do no more.
6822
6823 2003-02-27  Angus Leeming  <leeming@lyx.org>
6824
6825         * commandtags.h:
6826         * LyXAction.C (init):
6827         * factory.C (createInset):
6828         * BufferView_pimpl.C (dispatch):
6829           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6830
6831         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6832
6833         * lyxfunc.C (dispatch):
6834         * text3.C (dispatch): pass name to params2string.
6835
6836 2003-02-26  Angus Leeming  <leeming@lyx.org>
6837
6838         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6839           blocks together.
6840           Rearrange the ~includes. Strip out the unnecessary ones.
6841
6842         * factory.C (createInset): reformat.
6843           create new insets for the various LFUN_XYZ_APPLY lfuns.
6844
6845 2003-02-26  John Levon  <levon@movementarian.org>
6846
6847         * lyxrow.h:
6848         * lyxrow.C: add isParStart,isParEnd helpers
6849
6850         * paragraph.h: make isInserted/DeletedText take refs
6851
6852         * paragraph_funcs.h:
6853         * paragraph_funcs.C: remove #if 0'd code
6854
6855         * lyxtext.h:
6856         * text3.C:
6857         * text2.C:
6858         * text.C: use lyxrow helpers above.
6859           Move draw and paint routines to RowPainter.
6860           Make several methods use refs not pointers.
6861           Make backgroundColor() const.
6862           Add markChangeInDraw(), isInInset().
6863           Merge changeRegionCase into changeCase.
6864           Make workWidth() shouldn't-happen code into an Assert.
6865
6866         * rowpainter.h:
6867         * rowpainter.C: new class for painting a row.
6868
6869         * vspace.h:
6870         * vspace.C: make inPixels take a ref
6871
6872 2003-02-26  Angus Leeming  <leeming@lyx.org>
6873
6874         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6875         LFUN_REF_APPLY.
6876
6877 2003-02-25  John Levon  <levon@movementarian.org>
6878
6879         * ispell.C: give the forked command a more accurate name
6880
6881 2003-02-22  John Levon  <levon@movementarian.org>
6882
6883         * toc.h:
6884         * toc.C: make TocItem store an id not a Paragraph *
6885           (bug #913)
6886
6887 2003-02-21  Angus Leeming  <leeming@lyx.org>
6888
6889         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6890           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6891           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6892           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6893           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6894           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6895
6896         * BufferView_pimpl.C (dispatch):
6897         * LyXAction.C (init):
6898         * factory.C (createInset):
6899         * lyxfunc.C (getStatus, dispatch):
6900         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6901
6902 2003-02-21  Angus Leeming  <leeming@lyx.org>
6903
6904         * BufferView_pimpl.C (MenuInsertLyXFile):
6905         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6906         * lyxfunc.C (menuNew, open, doImport):
6907           no longer pass a LyXView & to fileDlg.
6908
6909 2003-02-21  Angus Leeming  <leeming@lyx.org>
6910
6911         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6912         * LyXAction.C: change, BIBKEY to BIBITEM.
6913         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6914         Change InsetBibKey to InsetBibitem.
6915         Change BIBKEY_CODE to BIBITEM_CODE.
6916         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6917         * factory.C: replace insetbib.h with insetbibitem.h.
6918         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6919         * paragraph.C: replace insetbib.h with insetbibitem.h.
6920         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6921         Change bibkey() to bibitem().
6922         * text.C: remove insetbib.h.
6923         * text2.C: replace insetbib.h with insetbibitem.h.
6924         change bibkey() to bibitem().
6925         * text3.C: remove insetbib.h.
6926         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6927
6928 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6929
6930         * lyxrc.C (output): enclose user email in quotes (in case there are
6931         several words)
6932
6933 2003-02-18  John Levon  <levon@movementarian.org>
6934
6935         * buffer.h: add std::
6936
6937 2003-02-17  John Levon  <levon@movementarian.org>
6938
6939         * SpellBase.h:
6940         * ispell.h:
6941         * ispell.C:
6942         * pspell.h:
6943         * pspell.C: reworking. Especially in ispell, a large
6944           number of clean ups and bug fixes.
6945
6946         * lyxfunc.C: fix revert to behave sensibly
6947
6948 2003-02-17 André Pönitz <poenitz@gmx.net>
6949
6950         * LyXAction.C:
6951         * commandtags.h: new LFUN_INSERT_BIBKEY
6952
6953         * layout.h:
6954         * lyxlayout.C:
6955         * buffer.C:
6956         * factory.C:
6957         * text.C:
6958         * text2.C:
6959         * text3.C:
6960         * paragraph.[Ch]:
6961         * paragraph_func.C: remove special bibkey handling
6962
6963 2003-02-17  John Levon  <levon@movementarian.org>
6964
6965         * text.C (Delete): fix case where delete at the end of
6966           the very first paragraph would not merge the pars
6967
6968 2003-02-17  John Levon  <levon@movementarian.org>
6969
6970         * lyxrow.C: fix lastPrintablePos()
6971
6972 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6973
6974         * bufferparams.C (writeLaTeX): add a std:here
6975
6976         * buffer.C: and remove a using directive there
6977
6978 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6979
6980         * buffer.C (makeLaTeXFile): move the code that generates the
6981           preamble...
6982
6983         * bufferparams.C (writeLaTeX): ... in this new method
6984
6985         * LaTeXFeatures.C (getEncodingSet): make const
6986           (getLanguages): make const
6987
6988         * MenuBackend.C (binding): returns the binding associated to this
6989           action
6990           (add): sets the status of each item by calling getStatus. Adds
6991           some intelligence.
6992           (read): add support for OptSubMenu
6993           (expand): remove extra separator at the end of expanded menu
6994
6995 2003-02-15  John Levon  <levon@movementarian.org>
6996
6997         * BufferView.C:
6998         * BufferView_pimpl.C:
6999         * bufferlist.h:
7000         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7001           inset code that had no actual effect. Remove unneeded status
7002           code.
7003
7004 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7005
7006         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7007           in preamble
7008
7009 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7010
7011         * text.C (drawLengthMarker): also draw an arrow marker for
7012           symbolic lengths (medskip...)
7013
7014 2003-02-14  John Levon  <levon@movementarian.org>
7015
7016         * tabular.h:
7017         * tabular.C: better method names
7018
7019 2003-02-14  John Levon  <levon@movementarian.org>
7020
7021         * BufferView_pimpl.C:
7022         * bufferlist.C:
7023         * buffer.C:
7024         * converter.C:
7025         * lyx_cb.C:
7026         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7027           it's a more accurate name. Remove some pointless uses.
7028
7029 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7030
7031         * text2.C (LyXText): change order of initilizers to shut off
7032           warnings
7033
7034 2003-02-14  John Levon  <levon@movementarian.org>
7035
7036         * buffer.C: use ParIterator for getParFromID()
7037
7038         * paragraph.h:
7039         * paragraph.C:
7040         * paragraph_pimpl.h:
7041         * paragraph_pimpl.C: remove unused getParFromID()
7042
7043 2003-02-14  John Levon  <levon@movementarian.org>
7044
7045         * buffer.C: remove some very old #if 0'd parse code
7046
7047 2003-02-13  John Levon  <levon@movementarian.org>
7048
7049         * text.h:
7050         * text.C:
7051         * text2.C: move hfillExpansion(), numberOfSeparators(),
7052           rowLast(), rowLastPrintable(), numberofHfills(),
7053           numberOfLabelHfills() ...
7054
7055         * lyxrow.h:
7056         * lyxrow.C: ... to member functions here.
7057
7058         * paragraph.h:
7059         * paragraph.C:
7060         * lyxtext.h:
7061         * text.C: remove LyXText::beginningOfMainBody(), and call
7062           p->beginningOfMainBody() directly. Move the check for
7063           LABEL_MANUAL into the latter.
7064
7065         * text.h:
7066         * text.C:
7067         * text2.C:
7068         * vspace.C:
7069         * BufferView.h:
7070         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7071
7072         * text.h:
7073         * text.C:
7074         * text2.C:
7075         * text3.C:
7076         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7077           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7078
7079 2003-02-13  John Levon  <levon@movementarian.org>
7080
7081         * CutAndPaste.C: remove debug
7082
7083 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7084
7085         * paragraph.C (asString): remove two unused variables
7086
7087         * lyxtextclass.C (readTitleType):
7088           (Read):
7089           (LyXTextClass): handle new members titletype_ and titlename_
7090
7091         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7092
7093 2003-02-09  John Levon  <levon@movementarian.org>
7094
7095         * buffer.h:
7096         * buffer.C: replace hand-coded list with a map for the dep clean
7097
7098 2003-02-08  John Levon  <levon@movementarian.org>
7099
7100         * LaTeX.C: consolidate code into showRunMessage() helper
7101
7102 2003-02-08  John Levon  <levon@movementarian.org>
7103
7104         * lyxfind.C:
7105         * lyxtext.h:
7106         * text2.C:
7107         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7108           and pass the size in explicitly
7109
7110         * BufferView_pimpl.h:
7111         * BufferView_pimpl.C:
7112         * BufferView.h:
7113         * BufferView.C: add getCurrentChange()
7114
7115         * BufferView_pimpl.h:
7116         * BufferView_pimpl.C: handle change lfuns
7117
7118         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7119           for changes. Mark pasted paragraphs as new.
7120
7121         * support/lyxtime.h:
7122         * support/lyxtime.C:
7123         * DepTable.C: abstract time_t as lyx::time_type
7124
7125         * LColor.h:
7126         * LColor.C: add colours for new text, deleted text, changebars
7127
7128         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7129           package use "usenames" option.
7130
7131         * commandtags.h:
7132         * lyxfunc.C:
7133         * LyXAction.C: add change lfuns
7134
7135         * Makefile.am:
7136         * author.h:
7137         * author.C: author handling
7138
7139         * buffer.h:
7140         * buffer.C: add a per-buffer author list, with first entry as
7141           current author. Handle new .lyx tokens for change tracking. Output
7142           author list to .lyx file. Output dvipost stuff to .tex preamble.
7143           Bump lyx format to 222.
7144
7145         * bufferlist.h:
7146         * bufferlist.C: add setCurrentAuthor() to reset current author details
7147           in all buffers.
7148
7149         * bufferparams.h:
7150         * bufferparams.C: add param for tracking
7151
7152         * bufferview_funcs.C: output change info in minibuffer
7153
7154         * Makefile.am:
7155         * changes.h:
7156         * changes.C: add change-tracking structure
7157
7158         * debug.h:
7159         * debug.C: add CHANGES debug flag
7160
7161         * lyxfind.h:
7162         * lyxfind.C: add code for finding the next change piece
7163
7164         * lyxrc.h:
7165         * lyxrc.C: add user_name and user_email
7166
7167         * lyxrow.h:
7168         * lyxrow.C: add a metric for the top of the text line
7169
7170         * lyxtext.h:
7171         * text.C: implement accept/rejectChange()
7172
7173         * lyxtext.h:
7174         * text.C: paint changebars. Paint new/deleted text in the chosen
7175         colours. Strike through deleted text.
7176
7177         * paragraph.h:
7178         * paragraph.C:
7179         * paragraph_pimpl.h:
7180         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7181           in the current change to the insert functions. Rework erase to
7182           mark text as deleted, adding an eraseIntern() and a range-based
7183           erase(). Implement per-paragraph change lookup and
7184           accept/reject.
7185
7186         * paragraph_funcs.C: Fixup paste for change tracking.
7187
7188         * tabular.C: mark added row/columns as new.
7189
7190         * text.C: fix rowLast() to never return -1. Don't allow
7191           spellchecking of deleted text. Track transpose changes. Don't
7192           allow paragraph break or merge where appropriate.
7193
7194         * text2.C: leave cursor at end of selection after a cut.
7195
7196 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7197
7198         * text.C (getLengthMarkerHeight):
7199         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7200         visible on screen too.
7201
7202 2003-02-07  John Levon  <levon@movementarian.org>
7203
7204         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7205
7206 2003-02-05  Angus Leeming  <leeming@lyx.org>
7207
7208         * lyxserver.C (read_ready): revert my patch of 11 September last year
7209         as it sends PC cpu through the roof. Presumably this means that
7210         the lyxserver will no longer run on an Alpha...
7211
7212 2003-01-30  Angus Leeming  <leeming@lyx.org>
7213
7214         * factory.C (createInset): create an InsetCommandParam of type "index"
7215         and use it to 'do the right thing'.
7216
7217         * text2.C (getStringToIndex): ensure that cursor position is always
7218         reset to the reset_cursor position.
7219
7220 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7221
7222         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7223         disabled.
7224
7225 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7226
7227         * bufferview.C:
7228         * lyxcb.C:
7229         * lyxfunc.C: Output messages with identical spelling, punctuation,
7230         and spaces
7231
7232 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7233
7234         * MenuBackend.C (expandFormats): List only viewable export formats
7235         in "View" menu
7236
7237         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7238         message
7239
7240         * lyxfunc.C (getStatus): Make sure that formats other than
7241         "fax" can also be disabled
7242
7243 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7244
7245         * text3.C (dispatch): put the lfuns that insert insets in 3
7246         groups, and call doInsertInset with appropriate arguments.
7247         (doInsertInset): new function, that creates an inset and inserts
7248         it according to some boolean parameters.
7249
7250 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * buffer.C (readFile): remember to pass on 'par' when calling
7253         readFile recursively.
7254
7255 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7256
7257         * MenuBackend.C (expandFormats): add "..." to import formats.
7258
7259 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7260
7261         * paragraph.C (asString): Remove XForms RTL hacks.
7262
7263 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7264         * buffer.C: fix typo
7265
7266 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * Makefile.am (LIBS): delete var
7269         (lyx_LDADD): add @LIBS@ here instead.
7270
7271 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7272
7273         * Clarify the meaning of "wheel mouse jump"
7274
7275 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7276
7277         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7278         tabular in a float
7279
7280 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7281
7282         * importer.C (Loaders): do not preallocate 3 elements in the
7283         vector, since one ends up with 6 elements otherwise
7284
7285 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7286
7287         * DepTable.C (write): write the file name as last element of the
7288         .dep file (because it may contain spaces)
7289         (read): read info in the right order
7290
7291 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7292
7293         * paragraph_pimpl.C (simpleTeXBlanks):
7294         (simpleTeXSpecialChars):
7295         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7296
7297         * tabular.C (latex): add some missing case statements. Reindent.
7298
7299         * MenuBackend.C (expandToc): remove unused variable.
7300
7301 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7302
7303         * LColor.C:
7304         * LaTeX.C:
7305         * LyXAction.C:
7306         * MenuBackend.C:
7307         * buffer.C:
7308         * exporter.C:
7309         * lyxfunc.C:
7310         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7311         and the like.
7312
7313 2003-01-05  John Levon  <levon@movementarian.org>
7314
7315         * BufferView.h:
7316         * BufferView.C: add getEncoding()
7317
7318         * kbsequence.h:
7319         * kbsequence.C: do not store last keypress
7320
7321         * lyxfunc.h:
7322         * lyxfunc.C: store last keypress here instead. Pass encoding
7323           to getISOEncoded()
7324
7325 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7326
7327         * lyx_main.C (init): remove annoying error message when following
7328         symbolic links (bug #780)
7329
7330 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7331
7332         * text.C (insertChar):
7333         * lyxrc.C (getDescription): remove extra spaces
7334
7335 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7336
7337         * lyxrc.C (getDescription): remove extra spaces
7338
7339 2002-12-20  John Levon  <levon@movementarian.org>
7340
7341         * text3.C: hack fix for page up/down across tall rows
7342
7343 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7344
7345         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7346         not been invoked
7347
7348 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7349
7350         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7351         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7352         thesaurus is not compiled in
7353
7354 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7355
7356         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7357
7358 2002-12-16  Angus Leeming  <leeming@lyx.org>
7359
7360         * lyxrc.[Ch]:
7361         * lyx_main.C (init): remove override_x_deadkeys stuff.
7362
7363 2002-12-12  John Levon  <levon@movementarian.org>
7364
7365         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7366           insert. Only remove shift modifier under strict
7367           circumstances.
7368
7369 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7370
7371         * MenuBackend.C (expandToc): fix crash.
7372
7373 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * MenuBackend.C (expandToc): gettext on float names.
7376
7377 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7378
7379         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7380         implement bool empty() [bug 490]
7381
7382 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7383
7384         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7385
7386 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * several files: ws changes
7389
7390 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7391
7392         * text2.C (setCounter): clean up a bit, use boost.format.
7393         (updateCounters): initialize par upon declaration.
7394
7395         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7396         if the layout exists. We do not just store the layout any more.
7397         (SwitchLayoutsBetweenClasses): use boost.format
7398
7399 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7400
7401         * converter.C (convert): if from and to files are the same, use a
7402         temporary files as intermediary
7403
7404 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7405
7406         * commandtags.h:
7407         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7408
7409 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7410
7411         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7412
7413 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * tabular.C (asciiPrintCell): use string(size, char) instead of
7416         explicit loop.
7417
7418         * sgml.C (openTag): fix order of arguments to string constructor
7419         (closeTag): ditto
7420
7421         * lyxfunc.C (dispatch): use boost.format
7422
7423         * lots of files: change "c" -> 'c'
7424
7425 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7426
7427         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7428
7429 2002-11-25  Angus Leeming  <leeming@lyx.org>
7430
7431         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7432
7433         * lyx_main.C (init): compile fix.
7434
7435 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * lyx_cb.C (start): boost.formatify
7438         do not include <iostream>
7439
7440         * lengthcommon.C: ws only
7441
7442         * boost-inst.C,BoostFormat.h: add more explict instantations
7443
7444 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * lots of files: handle USE_BOOST_FORMAT
7447
7448 2002-11-21  John Levon  <levon@movementarian.org>
7449
7450         * pspell.C: fix compile
7451
7452 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7453
7454         * lyxfunc.C (dispatch): use boost::format
7455         (open): ditto
7456         (doImport): ditto
7457
7458         * lyxfont.C (stateText): use boost::format
7459
7460         * lyx_main.C (LyX): use boost::format
7461         (init): ditto
7462         (queryUserLyXDir): ditto
7463         (readRcFile): ditto
7464         (parse_dbg): ditto
7465         (typedef boost::function): use the recommened syntax.
7466
7467         * importer.C (Import): use boost::format
7468
7469         * debug.C (showLevel): use boost::format
7470
7471         * converter.C (view): use boost::format
7472         (convert): ditto
7473         (move): ditto
7474         (scanLog): ditto
7475
7476         * bufferview_funcs.C (currentState): use boost::format
7477
7478         * bufferlist.C (emergencyWrite): use boost::format
7479
7480         * buffer.C (readLyXformat2): use boost::format
7481         (parseSingleLyXformat2Token): ditto
7482
7483         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7484
7485         * LaTeX.C (run): use boost::format
7486
7487         * Chktex.C (scanLogFile): use boost::format
7488
7489         * BufferView_pimpl.C (savePosition): use boost::format
7490         (restorePosition): ditto
7491         (MenuInsertLyXFile): ditto
7492
7493         * BoostFormat.h: help file for explicit instation.
7494
7495 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7496
7497         * tabular.C (latex): Support for block alignment in fixed width
7498         columns.
7499
7500 2002-11-17  John Levon  <levon@movementarian.org>
7501
7502         * BufferView_pimpl.C:
7503         * lyx_cb.C:
7504         * lyxfunc.C: split filedialog into open/save
7505
7506 2002-11-08  Juergen Vigna  <jug@sad.it>
7507
7508         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7509         by my last patch (hopefully).
7510
7511 2002-11-08  John Levon  <levon@movementarian.org>
7512
7513         * iterators.h:
7514         * iterators.C:
7515         * buffer.h:
7516         * buffer.C:
7517         * paragraph.h:
7518         * paragraph.C:
7519         * toc.h:
7520         * toc.C: ParConstIterator, and use it (from Lars)
7521
7522 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7523
7524         * lyxtextclass.[Ch]: revise and add doxygen comments
7525
7526 2002-11-07  John Levon  <levon@movementarian.org>
7527
7528         * text.C: fix progress value for spellchecker
7529
7530         * toc.C: fix navigate menu for insetwrap inside minipage
7531
7532         * paragraph_funcs.C: added FIXME for suspect code
7533
7534 2002-11-07  John Levon  <levon@movementarian.org>
7535
7536         * BufferView_pimpl.C: fix redrawing of insets
7537           on buffer switch
7538
7539 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7540
7541         * text2.C (updateCounters): fix bug 668
7542
7543 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7544
7545         * text3.C (dispatch): Do not make the buffer dirty when moving the
7546         cursor.
7547
7548 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * vc-backend.C: STRCONV
7551         (scanMaster): ditto
7552
7553         * text2.C (setCounter): STRCONV
7554
7555         * paragraph.C (asString): STRCONV
7556
7557         * lyxlength.C (asString): STRCONV
7558         (asLatexString): ditto
7559
7560         * lyxgluelength.C (asString): STRCONV
7561         (asLatexString): ditto
7562
7563         * lyxfunc.C (dispatch): STRCONV
7564         (open): ditto
7565
7566         * lyxfont.C (stateText): STRCONV
7567
7568         * importer.C (Import): STRCONV
7569
7570         * counters.C (labelItem): STRCONV
7571         (numberLabel): ditto
7572         (numberLabel): remove unused ostringstream o
7573
7574         * chset.C: STRCONV
7575         (loadFile): ditto
7576
7577         * bufferview_funcs.C (currentState): STRCONV
7578
7579         * buffer.C (readFile): STRCONV
7580         (asciiParagraph): ditto
7581         (makeLaTeXFile): ditto
7582
7583         * Spacing.C (writeEnvirBegin): STRCONV
7584
7585         * LaTeXFeatures.C (getLanguages): STRCONV
7586         (getPackages): ditto
7587         (getMacros): ditto
7588         (getBabelOptions): ditto
7589         (getTClassPreamble): ditto
7590         (getLyXSGMLEntities): ditto
7591         (getIncludedFiles): ditto
7592
7593         * LaTeX.C: STRCONV
7594         (run): ditto
7595         (scanAuxFile): ditto
7596         (deplog): ditto
7597
7598         * LString.h: add the STRCONV macros
7599
7600         * BufferView_pimpl.C (savePosition): STRCONV
7601         (restorePosition): ditto
7602         (MenuInsertLyXFile): ditto
7603
7604         * vc-backend.C (scanMaster): change from submatch[...] to
7605         submatch.str(...)
7606
7607         * funcrequest.C: include config.h
7608
7609         * factory.C: include config.h
7610
7611         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7612
7613         * box.C: include config.h
7614
7615         * LaTeX.C (scanAuxFile): change from submatch[...] to
7616         submatch.str(...)
7617         (deplog): ditto
7618
7619 2002-10-25  Angus Leeming  <leeming@lyx.org>
7620
7621         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7622
7623         * ispell.[Ch] (setError): new method.
7624         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7625         Use setError() insetead of goto END.
7626
7627         * lyx_cb.C (AutoSave): move out child process into new class
7628         AutoSaveBuffer.
7629
7630 2002-10-30  John Levon  <levon@movementarian.org>
7631
7632         * text3.C: make start appendix undoable
7633
7634 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7635
7636         * lyxlength.C (inPixels): Fix returned value.
7637
7638         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7639         environment.
7640
7641 2002-10-24  Angus Leeming  <leeming@lyx.org>
7642
7643         * lyxgluelength.h: no need to forward declare BufferParams
7644         or BufferView, so don't.
7645
7646 2002-10-21  John Levon  <levon@movementarian.org>
7647
7648         * BufferView.C: menuUndo ->undo, redo
7649
7650         * BufferView.h: document, remove dead, make some methods private
7651
7652         * paragraph_funcs.h:
7653         * paragraph_funcs.C:
7654         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7655
7656         * buffer.h:
7657         * buffer.C:
7658         * sgml.h:
7659         * sgml.C: move sgml open/close tag into sgml.C
7660
7661         * bufferview_funcs.h: unused prototype
7662
7663         * lyxfunc.h:
7664         * lyxfunc.C: remove unused
7665
7666         * lyxtext.h:
7667         * text.C: remove unused
7668
7669 2002-10-21  John Levon  <levon@movementarian.org>
7670
7671         * BufferView.h:
7672         * BufferView.C:
7673         * BufferView_pimpl.h:
7674         * BufferView_pimpl.C: fix mouse wheel handling based on
7675           patch from Darren Freeman
7676
7677 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7678
7679         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7680
7681 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7682
7683         * lyxlength.C (inPixels): Fix hanfling of negative length.
7684         Fix LyXLength::MU case.
7685
7686 2002-10-16  John Levon  <levon@movementarian.org>
7687
7688         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7689
7690 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7691
7692         * converter.C (view): add support for $$i (file name) and $$p
7693         (file path) for the viewer command. If $$i is not specified, then
7694         it is appended to the command (for compatibility with old syntax)
7695
7696 2002-10-14  Juergen Vigna  <jug@sad.it>
7697
7698         * undo_funcs.C (textHandleUndo): alter the order in which the
7699         new undopar is added to the LyXText, as we have to set first
7700         the right prev/next and then add it as otherwise the rebuild of
7701         LyXText is not correct. Also reset the cursor to the right paragraph,
7702         with this IMO we could remove the hack in "redoParagraphs()".
7703
7704 2002-10-09  Angus Leeming  <leeming@lyx.org>
7705
7706         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7707         to turn off an optimisation if a new inset is to be inserted.
7708
7709 2002-10-11 André Pönitz <poenitz@gmx.net>
7710
7711         * lyxtext.h: make some functions public to allow access
7712         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7713
7714 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7715
7716         * text3.C (dispatch): when changing layout, avoid an infinite loop
7717         [bug #652]
7718
7719 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7720
7721         * lyxrc.C (read): treat a viewer or converter command of "none" as
7722         if it were empty.
7723
7724         * MenuBackend.C (expandFormats): for an update, also allow the
7725         formats that are not viewable
7726
7727         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7728         script if it is newer than the lyxrc.defaults in user directory
7729
7730 2002-10-07 André Pönitz <poenitz@gmx.net>
7731
7732         * text.C: Vitaly Lipatov's small i18n fix
7733
7734 2002-09-25  Angus Leeming  <leeming@lyx.org>
7735
7736         * ispell.h: doxygen fix.
7737
7738 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7739
7740         * buffer.h (readFile): Add a new argument to the method, to allow
7741         reading of old-format templates.
7742
7743 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7744
7745         * toc.C (getTocList): Get TOC from InsetWrap.
7746
7747 2002-09-16  John Levon  <levon@movementarian.org>
7748
7749         * lyxfunc.C: check tabular for cut/copy too
7750
7751 2002-09-12  John Levon  <levon@movementarian.org>
7752
7753         * LyXAction.C: tidy
7754
7755         * factory.h:
7756         * factory.C: add header
7757
7758         * paragraph_funcs.h:
7759         * paragraph_funcs.C: cleanup
7760
7761 2002-09-11  John Levon  <levon@movementarian.org>
7762
7763         * PrinterParams.h: odd/even default to true
7764
7765 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7766
7767         * PrinterParams.h: update printer parameters for new xforms dialog
7768
7769 2002-09-11  Angus Leeming  <leeming@lyx.org>
7770
7771         * lyxserver.C (read_ready): re-write to make it more transparent
7772         and to make it work in coherent fashion under Tru64 Unix.
7773
7774 2002-09-11  André Pönitz <poenitz@gmx.net>
7775
7776         * commandtags.h:
7777         * LyXAction.C:
7778         * text3.C: implement LFUN_WORDSEL
7779
7780 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7781
7782         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7783         make floatlist_ a boost::shared_ptr<FloatList>
7784
7785         * lyxtextclass.C: include FloatList.h
7786         (LyXTextClass): initialize floatlist_
7787         (TextClassTags): add TC_NOFLOAT
7788         (Read): match "nofloat" to TC_NOFLOAT and use it.
7789         (readFloat): modify call to floatlist_
7790         (floats): ditto
7791         (floats): ditto
7792
7793         * FloatList.[Ch] (FloatList): remove commented out float
7794         initialization.
7795         (erase): new function
7796
7797 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7798
7799         * MenuBackend.C (expandToc): fix crash when there is no document
7800         open
7801
7802 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7803
7804         * many files: Add insetwrap.
7805
7806 2002-09-09  John Levon  <levon@movementarian.org>
7807
7808         * text2.C: remove confusing and awkward depth wraparound
7809
7810 2002-09-09  John Levon  <levon@movementarian.org>
7811
7812         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7813
7814         * buffer.h:
7815         * buffer.C: remove getIncludeonlyList()
7816
7817         * paragraph.C:
7818         * lyxfunc.C: remove headers
7819
7820 2002-09-09  Juergen Vigna  <jug@sad.it>
7821
7822         * text.C (getColumnNearX): fix form Michael this is most
7823         probably a cut&paste bug.
7824
7825 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7828
7829         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7830         references, ws changes.
7831
7832         * text2.C (init): update counters after init
7833         (insertParagraph): no need to set counter on idividual paragraphs.
7834         (setCounter): access the counters object in the textclass object
7835         on in the buffer object.
7836         (updateCounters): ditto
7837
7838         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7839         shared_ptr<Counters> to avoid loading counters.h in all
7840         compilation units.
7841         (LyXTextClass): initialize ctrs_
7842         (TextClassTags): add TC_COUNTER, and ...
7843         (Read): use it here.
7844         (CounterTags): new tags
7845         (readCounter): new function
7846         (counters): new funtion
7847         (defaultLayoutName): return a const reference
7848
7849         * counters.C (Counters): remove contructor
7850         (newCounter): remove a couple of unneeded statements.
7851         (newCounter): simplify a bit.
7852         (numberLabel): some small formatting changes.
7853
7854         * buffer.[Ch]: remove all traces of counters, move the Counters
7855         object to the LyXTextClass.
7856
7857 2002-09-06  Alain Castera  <castera@in2p3.fr>
7858
7859         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7860         package to set the horizontal alignment on fixed width columns.
7861
7862         * lyx_sty.C:
7863         * lyx_sty.h: added tabularnewline macro def.
7864
7865         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7866
7867 2002-09-06  John Levon  <levon@movementarian.org>
7868
7869         * LyXAction.C: tooltips for sub/superscript
7870
7871         * MenuBackend.C: a bit more verbose
7872
7873         * lyxfunc.C: tiny clean
7874
7875         * undo_funcs.C: document undo_frozen
7876
7877 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * counters.C (Counters): add missing algorithm counter.
7880
7881         * text2.C (setCounter): lookup the counter with layouts latexname
7882         instead of by section number.
7883         (setCounter): use a hackish way to lookup the correct enum
7884         counter.
7885         a float name->type change
7886         reset enum couners with counter name directly instead of depth value.
7887
7888         * counters.C (Counters): remove the push_backs, change to use the
7889         float type not the float name.
7890         (labelItem): remove unused string, float name->type change
7891
7892         * counters.h: don't include vector, loose the enums and sects vectors
7893
7894 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7897         (Read): add float->TC_FLOAT to textclassTags
7898         (Read): and handle it in the switch
7899         (readFloat): new function
7900
7901         * FloatList.C (FloatList): comment out the hardcoded float
7902         definitions.
7903
7904         * lyxlayout.h: ws change.
7905
7906 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7907
7908         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7909
7910 2002-09-03  Angus Leeming  <leeming@lyx.org>
7911
7912         * BufferView_pimpl.h: qualified name is not allowed in member
7913         declaration: WorkArea & Pimpl::workarea() const;
7914
7915         * factory.C: added using std::endl directive.
7916
7917         * text3.C: added using std::find and std::vector directives.
7918
7919 2002-08-29  André Pönitz <poenitz@gmx.net>
7920
7921         * lyxtext.h:
7922         * text2.C: remove unused member number_of_rows
7923
7924         * Makefile.am:
7925         * BufferView2.C: remove file, move contents to...
7926         * BufferView.C: ... here
7927
7928         * BufferView_pimpl.C:
7929         * factory.C: move more inset creation to factory
7930
7931         * vspace.C: avoid direct usage of LyXText, ws changes
7932
7933         * BufferView.[Ch]:
7934                 don't provide direct access to WorkArea, use two simple
7935                 acessors haveSelction() and workHeight() instead
7936
7937
7938 2002-08-29  John Levon  <levon@movementarian.org>
7939
7940         * BufferView_pimpl.C (dispatch): do not continue when
7941           no buffer
7942
7943 2002-08-28  André Pönitz <poenitz@gmx.net>
7944
7945         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7946
7947         * BufferView.h:
7948         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7949
7950 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7951
7952         * buffer.C: increment LYX_FORMAT to 221
7953
7954         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7955         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7956
7957         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7958
7959         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7960
7961 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7962
7963         * factory.C (createInset): use LyXTextClass::floats
7964
7965         * MenuBackend.C (expandFloatListInsert):
7966         (expandFloatInsert):
7967         (expandToc):
7968
7969         * text2.C (setCounter):
7970
7971         * LaTeXFeatures.C (useFloat):
7972         (getFloatDefinitions):
7973
7974         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7975
7976         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7977         floatlist_, with accessor floats().
7978
7979         * FloatList.h: remove global FloatList
7980
7981 2002-08-26  André Pönitz <poenitz@gmx.net>
7982
7983         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7984
7985         * BufferView.h:
7986         * BufferView2.C:
7987         * BufferView_pimpl.C:
7988         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7989
7990 2002-08-25  John Levon  <levon@movementarian.org>
7991
7992         * LyXAction.C: fix margin note description
7993
7994 2002-08-24  John Levon  <levon@movementarian.org>
7995
7996         * buffer.C:
7997         * bufferlist.C:
7998         * bufferview_funcs.C:
7999         * lyxfont.C:
8000         * undo_funcs.C: cleanups
8001
8002         * lyxfunc.C: disable CUT/COPY when no selection
8003
8004 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8005
8006         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8007         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8008
8009         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8010         Add backward compatibility to "mono", "gray" and "no".
8011
8012 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8013
8014         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8015         (and file_format >= 200).
8016
8017 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8018
8019         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8020
8021 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8022
8023         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8024
8025 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8026
8027         * BufferView_pimpl.C:
8028         * LyXAction.C:
8029         * buffer.C:
8030         * commandtags.h:
8031         * lyxfunc.C:
8032         * paragraph.[Ch]:
8033         * text2.C:
8034         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8035         inset and code to make it  work with the paragraph code. The inset
8036         can be anywhere in the paragraph, but will only do the expected
8037         thing in LaTeX if the layout file contains the parameter line
8038                         OptionalArgs    1
8039         (or more generally, a nonzero value) for that layout.
8040
8041 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8042
8043         * paragraph.h: remove the declaration of undefined counters class
8044         function.
8045
8046 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8047
8048         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8049         Dr. Richard Hawkins.
8050
8051 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8052
8053         * paragraph_funcs.h: remove some unneeded includes
8054
8055         * text.C (backspace): pasteParagraph now in global scipe
8056
8057         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8058         (pasteSelection): ditto
8059
8060         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8061         * paragraph_funcs.C (pasteParagraph): ... here
8062
8063 2002-08-20  André Pönitz <poenitz@gmx.net>
8064
8065         * commandtags.h: new LFUNs for swapping/copying table row/colums
8066
8067         * LyXAction.C:
8068         * lyxfunc.C: support for new lfuns
8069
8070 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * tabular.C:
8073         * buffer.[Ch]: remove NO_COMPABILITY stuff
8074
8075 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8076
8077         * boost.C (throw_exception): new file, with helper function for
8078         boost compiled without exceptions.
8079
8080         * paragraph.h:
8081         * lyxlength.C:
8082         * buffer.C:
8083         * ParameterStruct.h:
8084         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8085
8086         * bufferlist.C (emergencyWriteAll): use boost bind
8087
8088         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8089
8090         * text.C: include paragraph_funcs.h
8091         (breakParagraph): breakParagraph is now in global scope
8092
8093         * paragraph_funcs.[Ch]: new files
8094
8095         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8096         global scope
8097
8098         * buffer.C: include paragraph_funcs.h
8099         (insertStringAsLines): breakParagraph is now in global scope
8100
8101         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8102         paragraph_funcs.C
8103
8104         * CutAndPaste.C: include paragraph_funcs.h
8105         (cutSelection): breakParagraphConservative is now in global scope
8106         (pasteSelection): ditto
8107
8108         * buffer.h: declare oprator== and operator!= for
8109         Buffer::inset_iterator
8110
8111         * bufferlist.C (emergencyWrite): don't use fmt(...)
8112
8113         * text3.C: add using std::endl
8114
8115         * BufferView.C (moveCursorUpdate): remove default arg
8116
8117 2002-08-20  André Pönitz <poenitz@gmx.net>
8118
8119         * buffer.[Ch]: move inline functions to .C
8120
8121         * BufferView2.C:
8122         * BufferView_pimpl.C:
8123         * text.C:
8124         * buffer.[Ch]: use improved inset_iterator
8125
8126         * buffer.C:
8127         * paragraph.[Ch]: write one paragraph at a time
8128
8129 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8130
8131         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8132         style if style is not specified.
8133
8134 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * text2.C (setCounter): when searching for right label for a
8137         caption, make sure to recurse to parent insets (so that a caption
8138         in a minipage in a figure float works) (bug #568)
8139
8140 2002-08-20  André Pönitz <poenitz@gmx.net>
8141
8142         * text3.C: new file for LyXText::dispatch() and helpers
8143
8144         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8145
8146         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8147
8148 2002-08-19  André Pönitz <poenitz@gmx.net>
8149
8150         * lyxtext.h:
8151         * text.C: new LyXText::dispatch()
8152
8153         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8154
8155 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8156
8157         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8158
8159         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8160         Hebrew text.
8161
8162 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8163
8164         * Makefile.am: use $(variables) instead of @substitutions@
8165
8166 2002-08-15  André Pönitz <poenitz@gmx.net>
8167
8168         * lyxfunc.C:
8169         * BufferView_pimpl.C: streamlining mathed <-> outer world
8170         interaction
8171
8172         * commandtags.h:
8173         * LyXAction.C: remove unused LFUN_MATH
8174
8175 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8178
8179 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8180
8181         * paragraph.C (Paragraph): reformat a bit
8182         (cutIntoMinibuffer): use builtin InsetList function instad of
8183         doing it manually.
8184         (getInset): ditto
8185
8186         * buffer.C: include boost/bind.hpp, add using std::for_each
8187         (writeFileAscii): use ParagraphList iterators
8188         (validate): use for_each for validate traversal of paragraphs
8189         (getBibkeyList): use ParagraphList iterators
8190         (resizeInsets): use for_each to resizeInsetsLyXText for all
8191         paragraphs.
8192         (getParFromID): use ParagraphList iterators
8193
8194         * BufferView2.C (lockInset): use paragraph list and iterators
8195
8196 2002-08-14  John Levon  <levon@movementarian.org>
8197
8198         * lyxserver.C: remove spurious xforms include
8199
8200 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8203
8204 2002-08-13  André Pönitz <poenitz@gmx.net>
8205
8206         * LyXAction.[Ch]:
8207         * lyxfunc.C: further cleaning
8208
8209 2002-08-13  André Pönitz <poenitz@gmx.net>
8210
8211         * funcrequest.h: new constructor
8212
8213         * funcrequest.C: move stuff here from .h
8214
8215         * Makefile.am:
8216         * BufferView_pimpl.C:
8217         * LyXAction.C:
8218         * toc.C:
8219         * lyxfunc.C: subsequent changes
8220
8221         * lyxfunc.h: new view() member function
8222
8223         * lyxfunc.C: subsequent changes
8224
8225 2002-08-13  Angus Leeming  <leeming@lyx.org>
8226
8227         * BufferView2.C:
8228         * BufferView_pimpl.C:
8229         * buffer.C:
8230         * converter.C:
8231         * importer.C:
8232         * lyxfunc.C:
8233         * lyxvc.C:
8234         * toc.C:
8235         * vc-backend.C:
8236         changes due to the changed LyXView interface that now returns references
8237         to member variables not pointers.
8238
8239 2002-08-13  Angus Leeming  <leeming@lyx.org>
8240
8241         * WordLangTuple (word, lang_code): return references to strings,
8242         not strings.
8243
8244         * BufferView.h:
8245         * SpellBase.h:
8246         * lyxtext.h: forward-declare WordLangTuple.
8247
8248         * BufferView2.C:
8249         * ispell.C:
8250         * pspell.C:
8251         * text.C: #include "WordLangTuple.h".
8252
8253         * lyxtext.h:
8254         * text.C: (selectNextWordToSpellcheck): constify return type.
8255
8256 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8257
8258         * buffer.C:
8259         * buffer.h:
8260         * lyxtext.h:
8261         * paragraph.C:
8262         * paragraph_pimpl.h:
8263         * text.C:
8264         * text2.C:
8265         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8266         suggested by Angus.
8267         Made updateCounter always count from start of buffer, and removed
8268         second argument (par).
8269         Reverted floats number display to '#'. Perhaps I'll try again when the
8270         code base is sanitized a bit.
8271
8272 2002-08-12  Angus Leeming  <leeming@lyx.org>
8273
8274         * buffer.[Ch] (getLabelList): constify.
8275
8276 2002-08-07  André Pönitz <poenitz@gmx.net>
8277
8278         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8279
8280         * funcrequest.h: extension to keep mouse (x,y) position
8281
8282 2002-08-12  Juergen Vigna  <jug@sad.it>
8283
8284         * BufferView2.C (insertErrors): forbid undo when inserting error
8285         insets.
8286
8287         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8288
8289 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8290
8291         * ParagraphList.[Ch]: new files
8292
8293         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8294
8295         * BufferView2.C (lockInset): ParagraphList changes
8296         * toc.C: ditto
8297         * text2.C: ditto
8298         * bufferlist.C: ditto
8299         * buffer.h: ditto
8300         * buffer.C: ditto
8301
8302 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8303
8304         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8305         unused class variable counter_,
8306
8307         * paragraph.[Ch] (getFirstCounter): delete unused function
8308
8309         * counters.C: include LAssert.h
8310         (reset): add a new function with no arg, change other version to
8311         not have def. arg and to not allow empty arg.
8312
8313         * text2.C (setCounter): remove empty arg from call to Counters::reset
8314
8315 2002-08-11  John Levon  <levon@movementarian.org>
8316
8317         * Makefile.am: add WordLangTuple.h
8318
8319 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8322         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8323
8324         * insets/insettext.C: InsetList changes
8325
8326         * graphics/GraphicsSupport.C (operator()): InsetList changes
8327
8328         * toc.C (getTocList): InsetList changes
8329
8330         * paragraph_pimpl.[Ch]: InsetList changes
8331
8332         * paragraph.[Ch]: InsetList changes
8333
8334         * buffer.C (inset_iterator): InsetList changes
8335         (setParagraph): ditto
8336         * buffer.h (inset_iterator): ditto
8337         * iterators.C (operator++): ditto
8338         * iterators.h: ditto
8339
8340         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8341
8342         * InsetList.[Ch]: new files, most InsetList handling moved out of
8343         paragraph.C.
8344
8345         * BufferView2.C (removeAutoInsets): InsetList changes
8346         (lockInset): ditto
8347         (ChangeInsets): ditto
8348
8349 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8350
8351         * paragraph_pimpl.h (empty): new function
8352
8353         * paragraph.[Ch] (empty): new function
8354
8355         * other files: use the new Paragraph::empty function
8356
8357 2002-08-09  John Levon  <levon@movementarian.org>
8358
8359         * lyxtext.h: remove unused refresh_height
8360
8361 2002-08-09  John Levon  <levon@movementarian.org>
8362
8363         * Makefile.am:
8364         * sgml.h:
8365         * sgml.C:
8366         * buffer.C:
8367         * paragraph.h:
8368         * paragraph.C: move sgml char escaping out of paragraph
8369
8370         * paragraph.h:
8371         * paragraph.C: remove id setter
8372
8373         * buffer.C:
8374         * paragraph.C:
8375         * paragraph_pimpl.C: remove dead tex_code_break_column
8376
8377         * bufferview_funcs.C: small cleanup
8378
8379         * lyxfunc.C: remove dead proto
8380
8381         * lyxtext.h: make some stuff private. Remove some dead stuff.
8382
8383         * lyxgluelength.C: make as[LyX]String() readable
8384
8385 2002-08-08  John Levon  <levon@movementarian.org>
8386
8387         * LyXAction.h:
8388         * LyXAction.C:
8389         * MenuBackend.C:
8390         * ToolbarDefaults.C:
8391         * lyxfunc.C:
8392         * lyxrc.C:
8393         * toc.C: lyxaction cleanup
8394
8395 2002-08-08  John Levon  <levon@movementarian.org>
8396
8397         * BufferView2.C: small cleanup
8398
8399         * lyxfind.h:
8400         * lyxfind.C: move unnecessary header into the .C
8401
8402 2002-08-08  John Levon  <levon@movementarian.org>
8403
8404         * funcrequest.h: just tedious nonsense
8405
8406         * lyx_main.h:
8407         * lyx_main.C: cleanups
8408
8409         * buffer.C:
8410         * vspace.C: remove dead header lyx_main.h
8411
8412 2002-08-07  Angus Leeming  <leeming@lyx.org>
8413
8414         * Paragraph.[Ch]:
8415         * paragraph_pimpl.h:
8416         Forward declare class Counters in paragraph.h by moving the ctrs member
8417         variable into Paragraph::Pimpl.
8418         (counters): new method, returning a reference to pimpl_->ctrs.
8419
8420         * text2.C: ensuing changes.
8421
8422 2002-08-07  John Levon  <levon@movementarian.org>
8423
8424         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8425
8426         * BufferView_pimpl.C: announce X selection on double/triple
8427           click
8428
8429         * lyx_main.C: use correct bool in batch dispatch
8430
8431         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8432
8433 2002-08-07  André Pönitz <poenitz@gmx.net>
8434
8435         * funcrequest.h: new class to wrap a kb_action and its argument
8436
8437         * BufferView.[Ch]:
8438         * BufferView_pimpl[Ch]:
8439         * LaTeX.C:
8440         * LyXAction.[Ch]:
8441         * lyxfunc.[Ch]:
8442         * lyxrc.C: subsequent changes
8443
8444
8445 2002-08-07  John Levon  <levon@movementarian.org>
8446
8447         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8448           document options change.
8449
8450 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8451
8452         * counters.[Ch]
8453         * text2.C
8454         * paragraph.[Ch]
8455         * makefile.am: move counters functionality over from
8456         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8457
8458 2002-08-06  John Levon  <levon@movementarian.org>
8459
8460         * WordLangTuple.h: new file for word + language code tuple
8461
8462         * SpellBase.h:
8463         * pspell.h:
8464         * pspell.C:
8465         * ispell.h:
8466         * ispell.C:
8467         * lyxtext.h:
8468         * text.C:
8469         * text2.C:
8470         * BufferView.h:
8471         * BufferView2.C: use WordLangTuple
8472
8473         * layout.h:
8474         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8475
8476 2002-08-06  John Levon  <levon@movementarian.org>
8477
8478         * lyx_main.C: fix cmdline batch handling
8479
8480 2002-08-06  André Pönitz <poenitz@gmx.net>
8481
8482         * lyxrc.C: set default for show_banner to true
8483
8484 2002-08-06  John Levon  <levon@movementarian.org>
8485
8486         * pspell.C: fix a crash, and allow new aspell to work
8487
8488 2002-08-06  John Levon  <levon@movementarian.org>
8489
8490         * lyxfunc.C:
8491         * kbmap.C: small cleanup
8492
8493         * vspace.h:
8494         * vspace.C: add const
8495
8496 2002-08-05  John Levon  <levon@movementarian.org>
8497
8498         * LyXAction.C: back to tabular-insert
8499
8500 2002-08-04  John Levon  <levon@movementarian.org>
8501
8502         * BufferView.h:
8503         * BufferView.C: cosmetic change
8504
8505         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8506
8507         * bufferlist.C:
8508         * buffer.h:
8509         * buffer.C:
8510         * lyxcb.h:
8511         * lyxcb.C:
8512         * lyxserver.C:
8513         * lyxvc.C:
8514         * vc-backend.C:
8515         * BufferView2.C: purge all "Lyx" not "LyX" strings
8516
8517         * lyxcursor.h:
8518         * lyxcursor.C: attempt to add some documentation
8519
8520         * lyxfunc.C:
8521         * commandtags.h:
8522         * LyXAction.C:
8523         * ToolbarDefaults.C:
8524         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8525           merge with LFUN_TABULAR_INSERT
8526
8527         * Makefile.am:
8528         * SpellBase.h:
8529         * ispell.h:
8530         * ispell.C:
8531         * pspell.h:
8532         * pspell.C: split up i/pspell implementations into separate
8533           files, many cleanups
8534
8535         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8536
8537         * text2.C: some cleanup
8538
8539         * lyxfunc.C: don't check for isp_command == "none" any more, it
8540           didn't make any sense
8541
8542 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8543
8544         * counters.[Ch]
8545         * text2.C
8546         * paragraph.[Ch]
8547         * makefile.am: move counters functionality over
8548         from text2.C/paragraph.[Ch] to counters.[Ch], and
8549         make proper C++.
8550 2002-08-02  John Levon  <levon@movementarian.org>
8551
8552         * buffer.C: s/lyxconvert/lyx2lyx/
8553
8554 2002-08-02  Angus Leeming  <leeming@lyx.org>
8555
8556         * lyxlex.C: revert John's change as it breaks reading of the user
8557         preamble.
8558
8559 2002-08-02  Angus Leeming  <leeming@lyx.org>
8560
8561         * importer.C (Import):
8562         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8563         changes due to LyXView::view() now returning a boost::shared_ptr.
8564
8565 2002-08-02  John Levon  <levon@movementarian.org>
8566
8567         * lyxlex.C: small cleanup
8568
8569 2002-08-02  John Levon  <levon@movementarian.org>
8570
8571         * text2.C (status): small cleanup, no logic change
8572
8573 2002-08-01  John Levon  <levon@movementarian.org>
8574
8575         * buffer.h:
8576         * buffer.C (writeFile): don't output alerts, caller
8577           handles this
8578
8579         * bufferlist.C:
8580         * lyx_cb.C: from above
8581
8582         * lyxfunc.C: allow to open non-existent files
8583
8584 2002-07-31  John Levon  <levon@movementarian.org>
8585
8586         * lyxserver.C: don't let incidental errors get
8587           in the way (errno)
8588
8589 2002-07-30  John Levon  <levon@movementarian.org>
8590
8591         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8592
8593 2002-07-30  John Levon  <levon@movementarian.org>
8594
8595         * lyxserver.h:
8596         * lyxserver.C: remove I/O callback too
8597
8598 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8601         log.
8602
8603 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8604
8605         * many files: strip,frontStrip -> trim,ltrim,rtrim
8606
8607 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * PrinterParams.h: remove extern containsOnly, and include
8610         support/lstrings.h instead.
8611
8612         * LaTeX.C (scanAuxFile): modify because of strip changes
8613         (deplog): ditto
8614         * buffer.C (makeLaTeXFile): ditto
8615         * bufferparams.C (writeFile): ditt
8616         * lyxfont.C (stateText): ditto
8617         * lyxserver.C (read_ready): ditto
8618         * vc-backend.C (scanMaster): ditto
8619
8620         * BufferView_pimpl.h: ws changes
8621
8622         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8623
8624 2002-07-26  André Pönitz <poenitz@gmx.net>
8625
8626         * kb_sequence.C: remove unnedred usings
8627
8628 2002-07-26  Juergen Vigna  <jug@sad.it>
8629
8630         * lyxfind.C (LyXReplace): we have to check better if the returned
8631         text is not of theLockingInset()->getLockingInset().
8632
8633 2002-07-25  Juergen Vigna  <jug@sad.it>
8634
8635         * lyxfind.C (LyXReplace): don't replace if we don't get the
8636         right LyXText.
8637
8638         * undo_funcs.C (createUndo): remove debugging code.
8639
8640 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8641
8642         * buffer.C (parseSingleLyXformat2Token): Use default placement
8643         when reading old floats.
8644
8645         * FloatList.C (FloatList): Change the default placement of figure
8646         and tables to "tbp".
8647
8648 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8649
8650         * MenuBackend.C: using std::max
8651
8652 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8653
8654         * MenuBackend.C (expandToc):
8655         (expandToc2): code moved from xforms menu frontend. It is now
8656         generic and TOCs are transparent to menu frontends.
8657
8658 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8659
8660         * toc.C (getTocList): protect against buf=0
8661
8662         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8663         Menu as first parameter. Now, this calls itself recursively to
8664         expand a whole tree (this will be useful for TOC handling)
8665         (expandFloatInsert): remove 'wide' version of floats
8666
8667         * MenuBackend.h (submenuname): returns the name of the submenu.
8668         (submenu): returns the submenu itself, provided it has been
8669         created by MenuBackend::expand
8670
8671 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8672
8673         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8674         insets which have noFontChange == true. (bug #172)
8675
8676 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8677
8678         * BufferView_pimpl.C: add connection objects and use them...
8679         (Pimpl): here.
8680
8681 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8682
8683         * MenuBackend.C (expandLastfiles):
8684         (expandDocuments):
8685         (expandFormats):
8686         (expandFloatListInsert):
8687         (expandFloatInsert):
8688         (expand): split expand in parts
8689
8690 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8691
8692         * lyx_gui.C: use lyx_gui::exit()
8693
8694 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8695
8696         * LyXAction.C: show the failing pseudo action
8697
8698 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8699
8700         * buffer.C (readFile): Run the lyxconvert script in order to read
8701         old files.
8702
8703 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8704
8705         * LyXAction.C:
8706         * commandtags.h:
8707         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8708
8709 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * LyXAction.C:
8712         * commandtags.h:
8713         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8714
8715 2002-07-22  Herbert Voss  <voss@lyx.org>
8716
8717         * lengthcommon.C:
8718         * lyxlength.[Ch]: add support for the vertical lengths
8719
8720 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8721
8722         * toc.[Ch]: std:: fixes
8723
8724 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * lyxrc.C: do not include lyx_main.h
8727
8728         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8729         for layouts
8730
8731         * lyxrc.C:
8732         * encoding.C:
8733         * bufferlist.C:
8734         * BufferView2.C: include "lyxlex.h"
8735
8736         * tabular.h:
8737         * bufferparams.h: do not #include "lyxlex.h"
8738
8739         * lyxtextclasslist.C (Add): remove method
8740         (classlist): renamed to classlist_
8741
8742         * paragraph_pimpl.C:
8743         * paragraph.C:
8744         * text2.C:
8745         * CutAndPaste.C:
8746         * bufferview_funcs.C:
8747         * bufferlist.C:
8748         * text.C:
8749         * LaTeXFeatures.C:
8750         * buffer.C:
8751         * toc.C (getTocList): use BufferParams::getLyXTextClass
8752
8753         * toc.C (getTocList): use InsetFloat::addToToc
8754
8755         * toc.[Ch]: new files, containing helper functions to handle table
8756         of contents
8757
8758         * lyxfunc.C (dispatch): no need to remove spaces around command
8759         given as a string
8760         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8761         first command of the sequence; it is not very clever, but I do not
8762         have a better idea, actually
8763
8764         * LyXAction.C (LookupFunc): make sure to remove space at the
8765         beginning and end of the command
8766
8767 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8768
8769         * MenuBackend.C (getMenubar): new method: return the menubar of
8770         this menu set
8771         (read): treat differently reading of menu and menubar (in
8772         particular, the menubar has no name now)
8773         (Menu::menubar): remove
8774
8775         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8776         saving is finished
8777
8778 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8779
8780         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8781         a bibitem inset in a RTL paragraph.
8782
8783 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8784
8785         * paragraph_pimpl.C: constify
8786
8787         * BufferView_pimpl.C:
8788         * LaTeX.C:
8789         * lyxfunc.C: fix dispatch in a nicer way
8790
8791 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8792
8793         * lyxfunc.C (dispatch):
8794         * BufferView_pimpl.C:
8795         * BufferView_pimpl.h:
8796         * BufferView.C:
8797         * BufferView.h: rename Dispatch() to dispatch()
8798
8799         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8800
8801         * lyxlayout.C (Read): honor DependsOn tag
8802
8803         * lyxlayout.[Ch] (depends_on): new method
8804
8805         * version.C.in: update lyx_docversion
8806
8807         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8808
8809         * paragraph.C (validate): remove from here...
8810         * paragraph_pimpl.C (validate): ... and move here
8811         (isTextAt): make it const
8812
8813         * buffer.C (getLists): ws cleanup
8814
8815 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8816
8817         * language.C (read): Use iso8859-1 encoding in latex_lang
8818         (this prevents LyX from crashing when using iso10646-1 encoding).
8819
8820 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8821
8822         * text2.C (toggleInset): if cursor is inside an inset, close the
8823         inset and leave cursor _after_ it
8824
8825 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * lyxfunc.C: move minibuffer completion handling out of here
8828
8829 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8830
8831         * BufferView_pimpl.C:
8832         * LaTeX.C: fix dispatch calls
8833
8834 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8835
8836         * text.C (drawChars): Fix Arabic text rendering.
8837
8838 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8839
8840         * LyXAction.C:
8841         * commandtags.h:
8842         * lyxfunc.C: remove message-push/pop
8843
8844         * lyxserver.C:
8845         * lyxfunc.h:
8846         * lyxfunc.C: rationalise some code by removing verboseDispatch
8847           in favour of a bool argument to dispatch()
8848
8849 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8850
8851         * lyx_main.C (init): make sure to read symlinks as absolute paths
8852
8853 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * lyxfunc.h:
8856         * lyxfunc.C: no need for commandshortcut to be a member
8857
8858 2002-07-15  André Pönitz <poenitz@gmx.net>
8859
8860         * converter.C: add support for $$s (scripts from lib/scripts dir)
8861         * lyx_main.C: white space
8862
8863 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * bufferlist.C:
8866         * lyxrc.h:
8867         * lyxrc.C: remove second exit confirmation
8868
8869 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * BufferView.h:
8872         * BufferView.C:
8873         * BufferView2.C:
8874         * BufferView_pimpl.h:
8875         * BufferView_pimpl.C:
8876         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8877
8878 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * MenuBackend.C (expand): add numeric shortcuts to document menu
8881
8882         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8883
8884 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8885
8886         * lyxfont.C (setLyXFamily):
8887         (setLyXSeries):
8888         (setLyXShape):
8889         (setLyXSize):
8890         (setLyXMisc):
8891         (lyxRead):
8892         * debug.C (value):
8893         * buffer.C (asciiParagraph): use ascii_lowercase
8894
8895 2002-07-15  Mike Fabian  <mfabian@suse.de>
8896
8897         * lyxlex_pimpl.C (search_kw):
8898         * lyxlex.C (getLongString):
8899         * converter.h (operator<):
8900         * converter.C (operator<):
8901         * buffer.C (parseSingleLyXformat2Token):
8902         (asciiParagraph):
8903         * ToolbarDefaults.C (read):
8904         * MenuBackend.C (checkShortcuts):
8905         (read):
8906         * LColor.C (getFromGUIName):
8907         (getFromLyXName): use the compare_ascii_no_case instead of
8908         compare_no_case, because in turkish, 'i' is not the lowercase
8909         version of 'I', and thus turkish locale breaks parsing of tags.
8910
8911 2002-07-16  Angus Leeming  <leeming@lyx.org>
8912
8913         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8914         now takes a Buffer const & argument.
8915
8916 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8917
8918         * BufferView.C (resize): check there's a buffer to resize
8919
8920 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * lyxfunc.C: remove dead code
8923
8924         * lyxserver.h:
8925         * lyxserver.C: use lyx_guii::set_read_callback
8926
8927 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8928
8929         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8930         an inset in a RTL paragraph.
8931
8932 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8933
8934         * lyxfunc.C: repaint after a font size update
8935
8936 2002-07-15  André Pönitz <poenitz@gmx.net>
8937
8938         * lyxlength.C: inBP should be able to return negative values
8939
8940 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8941
8942         * lyxfunc.C: use lyx_gui::update_fonts()
8943
8944 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8945
8946         * lyxfunc.C: use lyx_gui::update_color()
8947
8948 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8949
8950         * bufferlist.C:
8951         * lyxfunc.h:
8952         * lyxfunc.C:
8953         * lyxrc.h:
8954         * lyxrc.C: remove file->new asks for name option, and let
8955           buffer-new take an argument
8956
8957 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8958
8959         * BufferView_pimpl.C: remove unneeded extra repaint()
8960
8961 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8962
8963         * LyXAction.C: allow command-sequence with NoBuffer
8964
8965         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8966
8967 2002-07-10  Angus Leeming  <leeming@lyx.org>
8968
8969         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8970
8971 2002-07-09  Angus Leeming  <leeming@lyx.org>
8972
8973         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8974
8975 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8976
8977         * lengthcommon.h: whitespace
8978
8979         * lyxfunc.C: update scrollbar after goto paragraph
8980
8981         * lyxtext.h: factor out page break drawing, and fix it so
8982           page break/added space paints as selected nicely
8983
8984 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8985
8986         * BufferView_pimpl.C: add FIXMEs, clean up a little
8987
8988 2002-07-09  André Pönitz <poenitz@gmx.net>
8989
8990         * lyxfont.[Ch]: support for wasy symbols
8991
8992 2002-07-08  André Pönitz <poenitz@gmx.net>
8993
8994         * BufferView_pimpl.C: apply John's patch for #93.
8995
8996 2002-07-05  Angus Leeming  <leeming@lyx.org>
8997
8998         * BufferView_pimpl.C (buffer): generate previews if desired.
8999
9000         * LColor.h: add "preview" to the color enum.
9001
9002         * LColor.C (LColor): add a corresponding entry to the items array.
9003
9004         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9005         with this buffer.
9006
9007 2002-07-05  Angus Leeming  <leeming@lyx.org>
9008
9009         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9010         The body of the code is now in the method that is passed an ostream &
9011         rather than a file name.
9012         Pass an additional only_preamble parameter, useful for the forthcoming
9013         preview stuff.
9014
9015 2002-07-03  André Pönitz <poenitz@gmx.net>
9016
9017         * lyxfunc.C: simplify getStatus() a bit for math stuff
9018
9019 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9020
9021         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9022
9023 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9024
9025         * text.C (changeRegionCase): do not change case of all the
9026         document when region ends at paragraph end (bug #461)
9027
9028 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9029
9030         * paragraph.C (startTeXParParams):
9031         (endTeXParParams): add \protect when necessary
9032
9033 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * BufferView_pimpl.C (workAreaExpose): remove warning
9036
9037 2002-06-27  Angus Leeming  <leeming@lyx.org>
9038
9039         * Makefile.am: add lyxlayout_ptr_fwd.h.
9040
9041 2002-06-26  André Pönitz <poenitz@gmx.net>
9042
9043         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9044
9045 2002-06-25  Angus Leeming  <leeming@lyx.org>
9046
9047         * lyxfunc.C (dispatch): Comment out the call to
9048         grfx::GCache::changeDisplay. The method no longer exists now that the
9049         pixmap generation part of the graphics loader has been moved into
9050         InsetGraphics.
9051
9052 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9053
9054         * text2.C: layout as layout
9055
9056         * text.C: layout as layout
9057
9058         * tabular.C (OldFormatRead): layout as layout
9059
9060         * paragraph_pimpl.C (TeXDeeper): layout as layout
9061         (realizeFont): layout as layout
9062
9063         * paragraph.C (writeFile): layout as layout
9064         (validate): layout as layout
9065         (getFont): layout as layout
9066         (getLabelFont): layout as layout
9067         (getLayoutFont): layout as layout
9068         (breakParagraph): layout as layout
9069         (stripLeadingSpaces): layout as layout
9070         (getEndLabel): layout as layout
9071         (getMaxDepthAfter): layout as layout
9072         (applyLayout): layout as layout
9073         (TeXOnePar): layout as layout
9074         (simpleTeXOnePar): layout as layout
9075         (TeXEnvironment): layout as layout
9076         (layout): layout as layout
9077         (layout): layout as layout
9078
9079         * lyxtextclass.C (compare_name): new functor to work with
9080         shared_ptr, layout as layout
9081         (Read): layout as layout
9082         (hasLayout): layout as layout
9083         (operator): layout as layout
9084         (delete_layout): layout as layout
9085         (defaultLayout): layout as layout
9086
9087         * lyxlayout_ptr_fwd.h: new file
9088
9089         * lyxlayout.C (Read): layout as layout
9090
9091         * lyx_cb.C (MenuInsertLabel): layout as layout
9092
9093         * bufferlist.C (newFile): layout as layout
9094
9095         * buffer.C (readLyXformat2): layout as layout
9096         (parseSingleLyXformat2Token): layout as layout
9097         (insertStringAsLines): layout as layout
9098         (asciiParagraph): layout as layout
9099         (latexParagraphs): layout as layout
9100         (makeLinuxDocFile): layout as layout
9101         (simpleLinuxDocOnePar): layout as layout
9102         (makeDocBookFile): layout as layout
9103         (simpleDocBookOnePar): layout as layout
9104         (getLists): layout as layout
9105
9106         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9107
9108         * CutAndPaste.C (cutSelection): layout as layout
9109         (pasteSelection): layout as layout
9110         (SwitchLayoutsBetweenClasses): layout as layout
9111
9112         * BufferView_pimpl.C (Dispatch): layout as layout
9113         (smartQuote): layout as layout
9114
9115         * BufferView2.C (unlockInset): layout as layout
9116
9117 2002-06-24  André Pönitz <poenitz@gmx.net>
9118
9119         * lyxfunc.C: fix #487
9120
9121 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9122
9123         * lyxrc.h:
9124         * lyxrc.C:
9125         * lyxfunc.C: remove display_shortcuts, show_banner
9126
9127 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9128
9129         * Buffer_pimpl.C: oops, update on resize
9130
9131 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9132
9133         * buffer.C:
9134         * converter.C:
9135         * exporter.C:
9136         * lyxfunc.C:
9137         * BufferView.h:
9138         * BufferView.C: use repaint()
9139
9140         * BufferView_pimpl.h:
9141         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9142           as it's a clearer description. Remove superfluous
9143           redraws.
9144
9145 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9146
9147         * text.C: fix bug 488. Not ideal, but getting
9148           getWord() to work properly for the insets that
9149           matter is more difficult ...
9150
9151 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9152
9153         * BufferView_pimpl.C:
9154         * LyXAction.C:
9155         * commandtags.h:
9156         * lyxfunc.C: remove the six million index lyxfuncs to just
9157           one, and DTRT (bug 458)
9158
9159 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9160
9161         * BufferView.h:
9162         * BufferView.C:
9163         * BufferView_pimpl.h:
9164         * BufferView_pimpl.C: clean up resize() stuff,
9165           and unnecessary updateScreen()s
9166
9167 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9168
9169         * BufferView.h:
9170         * BufferView.C:
9171         * BufferView_pimpl.h:
9172         * BufferView_pimpl.C:
9173         * lyxfind.h:
9174         * lyxfind.C:
9175         * minibuffer.C: remove focus management of workarea,
9176           not needed. Use screen's greyOut()
9177
9178 2002-06-17  Herbert Voss  <voss@lyx.org>
9179
9180         * converter.C: (convert) do not post a message, when converting
9181         fails, let the calling function decide what to do in this case
9182
9183 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * lyxfunc.C: tidy up a little
9186
9187 2002-06-16    <alstrup@diku.dk>
9188
9189         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9190         Got rid of FORMS_H_LOCATION include. Now we are
9191         GUII.
9192
9193 2002-06-15  LyX Development team  <lyx@rilke>
9194
9195         * buffer.[Ch] (sgmlOpenTag):
9196         (sgmlCloseTag): Added support for avoiding pernicious mixed
9197         content. Return number of lines written.
9198
9199         (makeLinuxDocFile):
9200         (makeDocBookFile): Fixed calls to sgml*Tag.
9201         Simple white space clean.
9202
9203         (simpleDocBookOnePar): Simple white space clean.
9204
9205         * tabular.[Ch] (docBook): Renamed to docbook and got another
9206         argument to related with the pernicious mixed content.
9207
9208         (docbookRow): Fixed calls for docbook inset method.
9209
9210 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9211
9212         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9213         so it's X11 independent.
9214
9215         * kb*.[Ch]: ditto.
9216
9217         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9218
9219 2002-06-15  Lyx Development team  <lyx@electronia>
9220
9221         * intl.h: Renamed getTrans to getTransManager.
9222
9223 2002-06-14  Angus Leeming  <leeming@lyx.org>
9224
9225         * Makefile.am: nuke forgotten stl_string_fwd.h.
9226
9227 2002-06-12  Angus Leeming  <leeming@lyx.org>
9228
9229         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9230
9231 2002-06-13  Angus Leeming  <leeming@lyx.org>
9232
9233         * LaTeX.C:
9234         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9235
9236 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9237
9238         * kbmap.C (getiso): add support for cyrillic and greek
9239
9240 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9241
9242         * BufferView.h:
9243         * BufferView.C:
9244         * BufferView_pimpl.h:
9245         * BufferView_pimpl.C: move bogus scrolling logic
9246           to xforms
9247
9248 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * lyxfunc.C:
9251         * BufferView_pimpl.C: view->resize() change
9252
9253 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * BufferView_pimpl.C: topCursorVisible
9256           prototype change
9257
9258 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9259
9260         * Makefile.am:
9261         * lyx_gui.h:
9262         * lyx_gui.C: move to frontends/
9263
9264         * main.C:
9265         * lyx_main.h:
9266         * lyx_main.C: changes from above
9267
9268 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9269
9270         * intl.C:
9271         * intl.h:
9272         * kbmap.C:
9273         * kbsequence.C:
9274         * lyx_cb.C:
9275         * lyx_main.C: minor tidy
9276
9277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * BufferView_pimpl.h:
9280         * BufferView_pimpl.C:
9281         * BufferView.h:
9282         * BufferView.C: make painter() const,
9283           remove dead code
9284
9285         * BufferView2.C: use screen() accessor
9286
9287         * lyx_main.h:
9288         * lyx_main.C: some minor cleanup
9289
9290 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9291
9292         * BufferView_pimpl.h:
9293         * BufferView_pimpl.C: remove enter/leaveView,
9294           use workHeight()
9295
9296 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9297
9298         * BufferView.h:
9299         * BufferView.C:
9300         * BufferView2.C:
9301         * BufferView_pimpl.h:
9302         * BufferView_pimpl.C: only construct screen once,
9303           rename
9304
9305         * lyxrc.C: remove pointless comment
9306
9307 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9308
9309         * BufferView.h:
9310         * BufferView.C: remove active() and belowMouse()
9311
9312         * BufferView_pimpl.h:
9313         * BufferView_pimpl.C: use workarea() not workarea_,
9314           and make it use a scoped_ptr instead
9315
9316 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9317
9318         * lyx_gui.C: add debug message on BadWindow
9319
9320 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9321
9322         * sp_spell.C: fdopen is not part of the C++ standard.
9323
9324         * paragraph.C (InsetIterator): use >= instead of ==
9325
9326 2002-06-07  Angus Leeming  <leeming@lyx.org>
9327
9328         Fixes needed to compile with Compaq cxx 6.5.
9329         * BufferView_pimpl.C:
9330         * DepTable.C:
9331         * buffer.C:
9332         * converter.C:
9333         * encoding.C:
9334         * lyx_gui.C:
9335         * lyx_main.C:
9336         * lyxtextclasslist.C:
9337         * minibuffer.C:
9338         * sp_spell.C:
9339         * tabular_funcs.C:
9340         * vc-backend.C:
9341         all c-library variables have been moved into namespace std. Wrap
9342         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9343
9344         * lyxlength.C:
9345         * tabular-old.C:
9346         * tabular.C:
9347         Add a using std::abs declaration.
9348
9349         * kbmap.h (modifier_pair):
9350         * paragraph.h (InsetTable, InsetList):
9351         * lyxfont.h (FontBits):
9352         type definition made public.
9353
9354         * bufferlist.C (emergencyWriteAll): the compiler complains that
9355         there is more than one possible lyx::class_fun template to choose from.
9356         I re-named the void specialisation as lyx::void_class_fun.
9357
9358         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9359
9360         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9361         the compiler is is unable to find tostr in write_attribute.
9362
9363 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9364
9365         * buffer.C (sgmlError): hide #warning
9366
9367 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9368
9369         * xtl/*: get rid of xtl, which is not in use anyway
9370
9371         * LyXAction.C (init):
9372         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9373         were unimplemented xtl experimentation
9374
9375 2002-06-04  André Pönitz <poenitz@gmx.net>
9376
9377         * lyxfunc.C: disable array operation on simple formulae
9378
9379 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9380
9381         * converter.C: constify a bit
9382
9383 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * lyx_gui.C: check xforms version correctly
9386
9387 2002-04-30  Herbert Voss  <voss@lyx.org>
9388
9389         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9390         "keep" option
9391
9392 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9393
9394         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9395           attempt to register it with a VCS)
9396
9397 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9398
9399         * lyx_main.C (init): honor variables LYX_DIR_13x and
9400         LYX_USERDIR_13x
9401
9402 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9403
9404         * buffer.h:
9405         * buffer.C:
9406         * lyx_main.C: fix a crash on bad command line,
9407           and give a useful exit status on error
9408
9409         * lyxfunc.C (doImport): allow -i lyx to work
9410
9411 2002-03-30  André Pönitz <poenitz@gmx.net>
9412
9413         * lyxfunc.C: mathed font changes
9414
9415 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9416
9417         * LaTeX.C:
9418         * importer.h:
9419         * importer.C:
9420         * lyx_sty.h:
9421         * lyx_sty.C:
9422         * lyxlex.C:
9423         * lyxrow.h:
9424         * lyxtext.h:
9425         * paragraph.h:
9426         * paragraph.C:
9427         * texrow.h:
9428         * texrow.C:
9429         * text.C:
9430         * trans_mgr.h: srcdocs, and some minor cleanups
9431
9432 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9433
9434         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9435         call getFont all the time)
9436
9437 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9438
9439         * switch from SigC signals to boost::signals
9440
9441 2002-05-29  André Pönitz <poenitz@gmx.net>
9442
9443         * paragraph_pimpl.C (getChar): don't call size() too often...
9444
9445 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9446
9447         * paragraph_pimpl.C (insertChar): do not try to update tables when
9448         appending (pos == size())
9449
9450         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9451         in order to reduce drastically the number of comparisons needed to
9452         parse a large document
9453
9454 2002-05-29  André Pönitz <poenitz@gmx.net>
9455
9456         * text.C:
9457         * text2.C:
9458         * lyxtextclass.C:
9459         * sp_pspell.h:
9460         * textclasslist.[Ch]:
9461         * sp_ispell.h: whitespace change
9462
9463 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9464
9465         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9466         lyxaction directly now.
9467
9468 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9469
9470         * trans.C:
9471         * lyxfont.C:
9472         * lyxvc.C: remove unused headers
9473
9474 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9475
9476         * Makefile.am:
9477         * buffer.h:
9478         * undostack.h:
9479         * undostack.C:
9480         * undo_funcs.h:
9481         * undo_funcs.C: some cleanups. Use shared_ptr
9482           and a template for the undo stacks.
9483
9484 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9485
9486         * BufferView_pimpl.h:
9487         * BufferView_pimpl.C:
9488         * kbmap.h:
9489         * kbmap.C:
9490         * kbsequence.h:
9491         * kbsequence.C:
9492         * lyxfunc.h:
9493         * lyxfunc.C:
9494         * text2.C: use key_state/mouse_state
9495
9496 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9497
9498         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9499         and LSubstring
9500
9501         * chset.C: change include order
9502         (loadFile): use boost regex and get rid of LRegex and LSubstring
9503
9504         * Makefile.am (BOOST_LIBS): new variable
9505         (lyx_LDADD): use it
9506
9507         * LaTeX.C: change include order.
9508         (scanAuxFile): use boost regex and get rid of LRegex and
9509         LSubstring
9510         (deplog): ditto
9511
9512 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9513
9514         * ColorHandler.h:
9515         * ColorHandler.C:
9516         * FontInfo.h:
9517         * FontInfo.C: moved to frontends/xforms/
9518
9519         * FontLoader.h:
9520         * FontLoader.C: moved into frontends for GUIIzation
9521
9522         * Makefile.am:
9523         * lyx_gui.C:
9524         * lyxfont.C:
9525         * lyxfunc.C: changes from above
9526
9527 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * LColor.C: remove spurious X include
9530
9531         * BufferView_pimpl.C:
9532         * Makefile.am:
9533         * font.h:
9534         * font.C:
9535         * text.C:
9536         * text2.C: move font metrics to frontends/
9537
9538 2002-05-24  Juergen Vigna  <jug@sad.it>
9539
9540         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9541         setting the undo_cursor.
9542
9543         * ParagraphParameters.h: include local includes first.
9544
9545 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * BufferView_pimpl.C:
9548         * BufferView_pimpl.h:
9549         * Makefile.am:
9550         * WorkArea.h:
9551         * WorkArea.C:
9552         * screen.C: move WorkArea into frontends/
9553
9554         * lyxscreen.h:
9555         * screen.C:
9556         * text.C:
9557         * BufferView.C:
9558         * BufferView2.C: move LyXScreen into frontends/
9559
9560         * lyxlookup.h:
9561         * lyxlookup.C:
9562         * lyx_gui.C: move lyxlookup into frontends/xforms/
9563
9564 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * BufferView2.C:
9567         * BufferView_pimpl.C:
9568         * FontLoader.C:
9569         * LyXView.h:
9570         * LyXView.C:
9571         * Makefile.am:
9572         * WorkArea.C:
9573         * XFormsView.h:
9574         * XFormsView.C:
9575         * buffer.C:
9576         * bufferlist.C:
9577         * bufferview_funcs.C:
9578         * converter.C:
9579         * importer.C:
9580         * lyx_cb.C:
9581         * lyx_gui.C:
9582         * lyx_main.C:
9583         * lyx_find.C:
9584         * lyxfunc.C:
9585         * lyxvc.C:
9586         * minibuffer.C:
9587         * text.C:
9588         * text2.C:
9589         * trans.C:
9590         * vc-backend.C: move LyX/XFormsView into frontends/
9591
9592 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * Makefile.am:
9595         * PainterBase.C:
9596         * PainterBase.h:
9597         * Painter.C:
9598         * Painter.h:
9599         * WorkArea.C:
9600         * WorkArea.h:
9601         * screen.C:
9602         * tabular.C:
9603         * text.C:
9604         * text2.C: move Painter to frontends/
9605
9606 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9607
9608         * buffer.C: comment out some some code that depend upon lyx_format
9609         < 220
9610
9611         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9612         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9613
9614         * buffer.h (NO_COMPABILITY): turn off compability
9615
9616         * ColorHandler.C: include scoped_array.hpp
9617
9618         * font.C: Use more specific smart_ptr header.
9619         * Painter.C: ditto
9620         * gettext.C: ditto
9621         * ShareContainer.h: ditto
9622         * lyx_main.h: ditto
9623         * kbmap.h: ditto
9624         * FontInfo.h: ditto
9625         * BufferView_pimpl.h: ditto
9626         * ColorHandler.h: ditto
9627
9628         * kbmap.C (defkey): change call to shared_ptr::reset
9629
9630 2002-05-21  Juergen Vigna  <jug@sad.it>
9631
9632         * buffer.C (insertErtContents): fix to insert ert asis if it is
9633         non empty. Skip it completely if it contains only whitespaces.
9634
9635 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * BufferView_pimpl.C:
9638         * BufferView2.C: clear selection on paste (bug 393)
9639
9640 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9641
9642         * DepTable.C: include ctime
9643
9644 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9645
9646         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9647
9648 2002-05-14  Juergen Vigna  <jug@sad.it>
9649
9650         * text.C (breakParagraph): fixed function to honor the keepempty
9651         layout in the right maner and also to permit the right breaking
9652         algorithm on empty or non empyt keepempty paragraphs.
9653
9654         * paragraph.C (breakParagraph): we have to check also if the par
9655         is really empty (!size()) for isempty otherwise we do the wrong
9656         paragraph break.
9657
9658 2002-05-10  Juergen Vigna  <jug@sad.it>
9659
9660         * buffer.[Ch] : The following are only changes to the ert
9661         compatibility read reading old LaTeX layout and font stuff and
9662         convert it to ERTInsets.
9663
9664         * buffer.h: added isErtInset().
9665
9666         * buffer.C (struct ErtComp): add a fromlayout bool to check
9667         if we're inside a LaTeX layout.
9668         (isErtInset): new helper function.
9669         (insertErtContents): look for other ert insets before this one
9670         and insert the contents there, so that we don't have subsequent
9671         ERT insets with nothing between them. This way we create only one
9672         inset with multiple paragraphs. Also check if we don't insert only
9673         spaces ' ' as they are ignored anyway afterwards in the .tex file
9674         so if we have only spaces we will ignore this latex part in the
9675         new file.
9676         (parseSingleLyXformat2Token \\layout): better compatibility when
9677         reading layout-latex stuff.
9678         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9679         language tag.
9680         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9681         stuff after reading the inset only get the information back from
9682         the stack.
9683
9684 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9685
9686         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9687
9688         * LaTeXFeatures.C (getBabelOptions): New method.
9689
9690 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9691
9692         * BufferView_pimpl.C (Dispatch): work around missing argument for
9693         'layout'
9694
9695 2002-05-08  Juergen Vigna  <jug@sad.it>
9696
9697         * text.C (leftMargin): handle paragraph leftindent.
9698
9699         * paragraph.C (writeFile): write the new \\leftindent tag.
9700         (validate): handle leftindent code.
9701         (TeXEnvironment): handle paragraphleftindent code again.
9702
9703         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9704
9705         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9706         for paragrap_extra indent code and new token \\leftindent.
9707         (latexParagraphs): handle the leftindent as environment.
9708
9709         * ParameterStruct.h: added leftindent support.
9710
9711         * ParagraphParameters.C (leftIndent): added support functions for
9712         the paragraph left indent.
9713
9714         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9715         more appropriate.
9716
9717 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9718
9719         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9720         inside insetERT.
9721
9722         * text.C (computeBidiTables): No bidi in insetERT.
9723
9724         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9725         in RTL documents.
9726
9727 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9728
9729         * version.C.in: pre 5
9730
9731 2002-05-02  José Matos  <jamatos@fep.up.pt>
9732         * buffer.C (makeDocBookFile): white space changes, add newline to
9733         command styles.
9734         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9735
9736         * tabular.C (docBook): fix typo.
9737
9738 2002-05-03  Juergen Vigna  <jug@sad.it>
9739
9740         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9741         change in LyXText as we can not be sure it was not freed.
9742         (drawOneRow): remove unused code.
9743
9744         * text.C (drawInset): redo the calculation of the need_break_row as
9745         it could have a row which was already freed.
9746         (draw): look at the return value of drawInset and return false if
9747         it also returned false.
9748         (paintRowText): look at the return value of draw and return false if
9749         it also returned false.
9750
9751         * lyxtext.h: added bool return type to drawInset() and draw() so that
9752         if we have a change in the row so that the rowbreak has to be redone
9753         we abort drawing as it will be called again.
9754
9755 2002-05-02  Juergen Vigna  <jug@sad.it>
9756
9757         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9758         a change in the maintext also if we're inside an inset.
9759         (Dispatch): set the cursor again after a break line and after the
9760         screen has been updated as it could be we're in a different row.
9761
9762         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9763         to set the cursor behind the pargraph with > size().
9764         (setCursor): check also for the same paragraph when checking where
9765         to put the cursor if we have a NFR inset.
9766
9767         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9768         parts of layout read further up as it still was in the wrong
9769         position.
9770
9771 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9772
9773         * screen.C (drawFromTo): change sine fullRebreak always return
9774         true.
9775
9776         * buffer.C (parseSingleLyXformat2Token): reindent some
9777
9778         * BufferView_pimpl.C (update): change since fullRebreak always
9779         return true.
9780         (Dispatch): git rid of the last hardcoded "Standard"s.
9781
9782 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9783
9784         * text2.[Ch] (fullRebreak): make it return void now that we always
9785         returned true.
9786
9787 2002-04-30  Juergen Vigna  <jug@sad.it>
9788
9789         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9790         ert compatibility check for "latex" layout.
9791
9792 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9793
9794         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9795         minipages: use col% instead of p%, and also use the current font.
9796         (makeLaTeXFile): Fix use babel condition.
9797         (parseSingleLyXformat2Token): Correct font when reading old floats.
9798
9799 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9800
9801         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9802         inserting list of floats.
9803
9804 2002-04-25  Herbert Voss  <voss@lyx.org>
9805
9806         * MenuBackend.C (expand): don't add the graphics extensions to the
9807         export menu
9808
9809 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9810
9811         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9812         non-existing layout, do not complain if it was the default layout
9813         of the original class (bug #342)
9814
9815 2002-04-24  Juergen Vigna  <jug@sad.it>
9816
9817         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9818         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9819
9820 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9821
9822         * buffer.C (getBibkeyList): If using \bibliography, return the
9823         option field with the reference itself. Enables us to provide natbib
9824         support when using \bibliography.
9825
9826 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9827
9828         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9829
9830         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9831         natbib is provided by the LaTeX class.
9832
9833 2002-04-23  Juergen Vigna  <jug@sad.it>
9834
9835         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9836         Wakeup functions.
9837
9838         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9839
9840 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9843
9844         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9845         ensuremath around textordmasculine, textordfeminine and
9846         textdegree.
9847
9848 2002-04-19  Juergen Vigna  <jug@sad.it>
9849
9850         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9851         reinitializing the buffer otherwise row-dimensions may be wrong.
9852         (update): reset also the selection cursors if they do exits otherwise
9853         their x/y positions may be wrong.
9854
9855         * text2.C (cursorDown): don't enter the inset if we came from a row
9856         above and are one row over the inset.
9857
9858         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9859         really leaving an inset.
9860
9861 2002-04-18  Juergen Vigna  <jug@sad.it>
9862
9863         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9864         of the selected paragraph does not have the selected layout also if
9865         the last one had!
9866
9867         * text2.C (setLayout): fixed bug which did not change last selected
9868         paragraph.
9869
9870         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9871         changed the read and substituted \\end_float with \\end_inset!
9872
9873         * BufferView_pimpl.C (cursorPrevious):
9874         (cursorNext): fixed to make it work with rows heigher than the work
9875         area without moving the cursor only the draw of the row.
9876         (workAreaMotionNotify): fix jumping over high rows.
9877
9878 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9879
9880         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9881         Ressler.
9882
9883 2002-04-16  Juergen Vigna  <jug@sad.it>
9884
9885         * text2.C (setCursor): set also the irow().
9886         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9887         (cursorUp):
9888         (cursorDown): support for locking an inset if the x_fix value goes
9889         inside it. That way I can transverse insets too with cursor up/down.
9890
9891         * lyxrow.h: added irow helper function same as other (i) functions.
9892
9893         * BufferView_pimpl.C (cursorPrevious):
9894         (cursorNext): fixed for insets!
9895
9896 2002-04-15  Juergen Vigna  <jug@sad.it>
9897
9898         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9899         position otherwise it is wrong in some cases.
9900
9901         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9902         inside the inset before the call.
9903
9904 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9905
9906         * buffer.[Ch] (getBibkeyList): make it const.
9907
9908 2002-04-12  Juergen Vigna  <jug@sad.it>
9909
9910         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9911
9912         * text2.C (getCursorX): new helper function
9913         (setCursor): compute also ix_
9914         (setCursorFromCoordinates): set also ix.
9915
9916         * lyxcursor.h: added ix_ and helper functions.
9917
9918         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9919
9920         * buffer.C (insertStringAsLines): dont break paragraph if the this
9921         paragraph is inside an inset which does not permit it!
9922
9923         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9924         also with no chars on this paragraph.
9925         (paintRowText): only paint stuff if it's inside the workarea!
9926
9927         * paragraph.C (breakParagraph): honor keepempty flag and break the
9928         paragraph always below not above.
9929
9930         * BufferView2.C (unlockInset): update the paragraph layout on inset
9931         unlock as we changed paragraph in such a case.
9932
9933         * lyxfind.C (LyXFind): clear the former selection if not found!
9934
9935         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9936         again called in insertChar().
9937
9938         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9939         an inset which uses the whole row!
9940         (rightMargin): ditto.
9941         (insertChar): force a rebreak if we inserted an inset!
9942
9943 2002-03-28  Herbert Voss  <voss@lyx.org>
9944
9945         * lyxlength.[Ch]: add inBP() to get the right PS-point
9946         units (BigPoint). With inPixels we have rounding errors
9947
9948 2002-04-11  Juergen Vigna  <jug@sad.it>
9949
9950         * text2.C (setCursorFromCoordinates): set iy to the right value.
9951         (setCursor): add check if row->previous exists!
9952
9953         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9954         an old float_type as this was the case in the old code!
9955
9956         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9957
9958         * BufferView2.C (showLockedInsetCursor): use iy
9959         (fitLockedInsetCursor): ditto
9960
9961         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9962         locked insets as there we have the right value now.
9963
9964         * lyxcursor.C: added iy_ variable and iy functions to set to the
9965         baseline of cursor-y of the locked inset.
9966
9967         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9968         (setCursor): fixed for insets which need a full row.
9969
9970         * text.C (rowLastPrintable): don't ignore the last space when before
9971         an inset which needs a full row.
9972         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9973         as last character of a row when before a inset which needs a full row.
9974
9975 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9976
9977         * version.C.in: update date
9978
9979         * text2.C (fullRebreak): try to always return true and see what
9980         happens...
9981
9982 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9983
9984         * MenuBackend.C (expand): use Floating::listName
9985
9986         * FloatList.C (FloatList): add listName argument to the built-in
9987         floats
9988
9989         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9990         text associated with the float.
9991
9992 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9993
9994         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9995
9996 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9997
9998         * ShareContainer.h: add a couple of missing typenames.
9999
10000 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10001
10002         * lyxrc.C (getDescription): use _() correctly rather than N_().
10003
10004 2002-03-28  Herbert Voss  <voss@lyx.org>
10005
10006         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10007         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10008
10009 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10010
10011         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10012         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10013
10014 2002-03-29  Juergen Vigna  <jug@sad.it>
10015
10016         * lyxfunc.C (dispatch): add a missing fitCursor call.
10017
10018         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10019         it was scrolled by a cursor move, so return the bool status.
10020
10021         * BufferView.C (fitCursor): return the bool flag also to the outside
10022         world as this is needed.
10023
10024         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10025
10026         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10027         call the edit() as it is not needed (and wrong) IMO.
10028         (workAreaButtonPress): set the screen_first variable before evt.
10029         unlock the inset as this may change screen_first and then we have
10030         a wrong y position for the click!
10031
10032 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10033
10034         * MenuBackend.C (expand): another translation that I missed
10035
10036 2002-03-28  Juergen Vigna  <jug@sad.it>
10037
10038         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10039
10040         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10041
10042 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10043
10044         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10045
10046         * MenuBackend.C (expand): fix export/view/update when there is no
10047         document open.
10048
10049 2002-03-27  Herbert Voss  <voss@lyx.org>
10050
10051         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10052         and text%
10053
10054 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * bufferview_funcs.C (currentState): only show paragraph number
10057         for is DEVEL_VERSION is set.
10058
10059         * lyxfunc.C (dispatch): put warning in INFO channel
10060
10061         * MenuBackend.C (expand): translate the name of floats
10062
10063         * FloatList.C (FloatList): mark the float names for translation
10064
10065         * converter.C (convert): use LibScriptSearch
10066
10067 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10068
10069         * MenuBackend.C (defaults): fix default menu (we might as well get
10070         rid of it...)
10071
10072 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10073
10074         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10075         directory.
10076
10077 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10078
10079         * lyxvc.C: reorder includes.
10080
10081 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10084           properly
10085
10086 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10087
10088         * CutAndPaste.C: change layouts earlier on paste
10089           to avoid crashing when calling getFont()
10090
10091 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10092
10093         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10094         irritating #error.
10095
10096 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10097
10098         * WorkArea.C: remove 'Pending' debug message.
10099
10100         * most files: ws cleanup
10101
10102         * buffer.[Ch]: ws changes
10103
10104         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10105
10106 2002-03-21  Juergen Vigna  <jug@sad.it>
10107
10108         * tabular.C (SetMultiColumn): collapse also the contents of the
10109         cells and set the last border right. Added a Buffer const * param.
10110
10111 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10112
10113         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10114         linking or not.
10115
10116 2002-03-19  Juergen Vigna  <jug@sad.it>
10117
10118         * text2.C (clearSelection): reset also xsel_cache.
10119
10120         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10121         where it needs to be called (John tells us to do so too :)
10122         (selectionLost): reset sel_cache.
10123
10124         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10125
10126 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * text2.C (setCursorIntern): put debuging code in INSETS channel
10129
10130 2002-03-19  André Pönitz <poenitz@gmx.net>
10131
10132         * lyxfunc.C: tiny whitespace change
10133
10134 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * ToolbarDefaults.C (init):
10137         * LyXAction.C (init):
10138         * commandtags.h:
10139         * BufferView_pimpl.C (Dispatch):
10140         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10141
10142 2002-03-19  Allan Rae  <rae@lyx.org>
10143
10144         * exporter.C (Export): removeAutoInsets before doing anything else.
10145         While I've just introduced a dependency on BufferView this really is
10146         the best place to clean the buffer otherwise you need to cleanup in
10147         a dozen places before calling export or cleanup in a dozen functions
10148         that export calls.
10149
10150         * converter.C (runLaTeX):
10151         (scanLog): Better handling of removeAutoInsets and screen updates.
10152
10153         * lyxfunc.C (dispatch): small whitespace changes
10154
10155 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10156
10157         * WorkArea.C (C_WorkAreaEvent): return a value.
10158         (event_cb): return 1 if we handled the event, 0 otherwise.
10159
10160         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10161
10162 2002-03-18  Juergen Vigna  <jug@sad.it>
10163
10164         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10165         (GetAdditionalWidth): ditto.
10166         (RightLine): ditto.
10167         (LeftLine): ditto.
10168
10169         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10170         inset if we're there actually (probably not used right now but this
10171         is the direction to go for unifying code).
10172         (paste): disable code to clear the selection.
10173
10174         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10175         inside an InsetText and move the check further up as it is in the
10176         wrong place.
10177
10178         * text2.C (pasteSelection): set a selection over the pasted text.
10179
10180 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10181
10182         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10183         and libgraphics to build on Cygwin.
10184
10185 2002-03-15  Juergen Vigna  <jug@sad.it>
10186
10187         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10188         inserting an Inset into the paragraph. I know this is not the best
10189         fix but we already use current_view in CutAndPaste so we will remove
10190         all of it's using at the same time.
10191
10192         * buffer.C (sgmlError): deactivated function till it is rewritten in
10193         the right mode, now it can create problems.
10194
10195         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10196         before accessing it.
10197
10198 2002-03-14  Juergen Vigna  <jug@sad.it>
10199
10200         * undo_funcs.C (textHandleUndo): do the right thing when updating
10201         the inset after the undo/redo.
10202
10203         * text2.C (setCursor): just some testcode for #44 not ready yet.
10204
10205         * undo_funcs.C (textHandleUndo): set the next() and previous()
10206         pointers of the paragraph to 0 before deleting otherwise we have
10207         problems with the Paragraph::[destructor].
10208
10209         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10210         on a paragraph insertion.
10211
10212 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10213
10214         * buffer.C (asciiParagraph): use += operator for char append to
10215         string.
10216
10217         * paragraph.C (getFontSettings): compare >= not just >
10218         (highestFontInRange): ditto
10219         (setFont): ditto
10220
10221 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10222
10223         * paragraph.C: change several algorithm to be more appripriate for
10224         the problem domain. This is lookip in FontList and in the InsetList.
10225
10226 2002-03-13  André Pönitz <poenitz@gmx.net>
10227
10228         * commandtags.h:
10229         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10230
10231 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * commandtags.h:
10234         * LyXAction.C:
10235         * lyxfunc.C:
10236         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10237
10238 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10239
10240         * Painter.C (display): anon helper function, adjust code for this
10241         change.
10242         (pixmap): remove function.
10243
10244         * Painter.h: remove private display variable.
10245
10246         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10247
10248 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10249
10250         * WorkArea.[Ch]: remove figinset_canvas cruft.
10251
10252 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10253
10254         * lyxtextclass.C (operator): add one item cache optimization.
10255
10256         * bufferlist.h: doxy changes
10257
10258         * bufferlist.C: ws changes
10259
10260         * DepTable.[Ch] (ext_exist): place const in the right spot.
10261
10262         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10263         call resizeInsets.
10264         (workAreaExpose): call resizeInsets when the with BufferView changes.
10265         (Dispatch): adjust for protectedBlank removal
10266         (specialChar): call updateInset if the insert went ok.
10267
10268         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10269         specialChar instead.
10270
10271         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10272
10273         * BufferView.h: doxy change
10274
10275         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10276
10277         * lyxtextclass.C (operator[]): remove non-const version
10278         (defaultLayout): remove non-const version
10279
10280 2002-03-12  Juergen Vigna  <jug@sad.it>
10281
10282         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10283         did resize the LyXText too.
10284
10285         * buffer.C (readLyXformat2): set layout information on newly allocated
10286         paragraphs.
10287
10288         * tabular.C (OldFormatRead): set layout information on the paragraph.
10289
10290 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10291
10292         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10293
10294 2002-03-11  Juergen Vigna  <jug@sad.it>
10295
10296         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10297         plainly wrong.
10298         (resizeCurrentBuffer): force also the insets to resize themselfes.
10299         (moveCursorUpdate): fixed up for InsetText.
10300
10301 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10302
10303         * commandtags.h:
10304         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10305         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10306         value of Dialogs::tooltipsEnabled().
10307         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10308
10309 2002-03-08  Juergen Vigna  <jug@sad.it>
10310
10311         * BufferView_pimpl.C (updateInset): update inset inside inset also
10312         if it isn't inside theLockingInset().
10313
10314 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10315
10316         * buffer.C (asciiParagraph): redo some of the word and line length
10317         handling.
10318         (getLists): look for Caption instead of caption.
10319
10320 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10321
10322         * buffer.C (Buffer): initialize niceFile to true
10323         (makeLaTeXFile):
10324         (makeLinuxDocFile):
10325         (makeDocBookFile): make sure niceFile is true on exit
10326
10327 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10330
10331 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10332
10333         * LyXSendto.C: remove.
10334         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10335         * lyx_gui.C: remove now-redundant comment.
10336         * ColorHandler.h: remove forward declaration of class WorkArea.
10337         * lyxfunc.C: remove #include "WorkArea.h".
10338
10339 2002-03-07  Juergen Vigna  <jug@sad.it>
10340
10341         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10342         got moved away with the DEPM and also set the inset_owner always
10343         right which before could have been omitted.
10344
10345 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10346
10347         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10348         wanted layout is not found.
10349
10350 2002-03-07  Juergen Vigna  <jug@sad.it>
10351
10352         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10353
10354 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10355
10356         * paragraph.C (breakParagraph): use default layout not layout of
10357         prev paragraph.
10358         (Paragraph): clear ParagraphParameters.
10359
10360 2002-03-06  Juergen Vigna  <jug@sad.it>
10361
10362         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10363         otherwise it would not be a valid lenght. Fixed a special case in
10364         the minipage compatibility read where we end the document with a
10365         minipage.
10366
10367         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10368         was set as it could be 0 for InsetTexts first entry.
10369
10370 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371
10372         * paragraph.C (writeFile): if layout is empty write out
10373         defaultLayoutName().
10374
10375         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10376         file without named layout we set layout to defaultLayoutName().
10377
10378 2002-03-06  Juergen Vigna  <jug@sad.it>
10379
10380         * CutAndPaste.C (copySelection): set layout for new paragraph.
10381
10382         * text.C (prepareToPrint): leave ERT inset left aligned
10383         (leftMargin): don't indent paragraphs inside ERT insets
10384
10385 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10386
10387         * paragraph.C (breakParagraph): dont call clear do the work manually
10388
10389         * paragraph.[Ch] (clear): remove function
10390
10391 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * paragraph.C (Paragraph): dont call clear, the work has already
10394         been done.
10395
10396         * lyxtextclass.C (operator): assert if n is empty
10397
10398         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10399         work manually instead.
10400
10401 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * BufferView_pimpl.C: protect selectionLost against text == 0
10404
10405 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10406
10407         * text.C (breakParagraph): fix a setting layout to '0' problem.
10408
10409 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10410
10411         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10412         final location of file, for the included files, and graphics.
10413
10414 2002-03-05  Juergen Vigna  <jug@sad.it>
10415
10416         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10417
10418 2002-03-04  Juergen Vigna  <jug@sad.it>
10419
10420         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10421
10422         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10423         last column of multicolumn cells.
10424         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10425
10426 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10427
10428         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10429         file if it doesn't go to a temporary file.
10430
10431         * buffer.C (sgmlOpenTag):
10432         (sgmlCloseTag):  remove extra newline insertion.
10433
10434 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10435
10436         * text.C (getRowNearY): comment out debug msg
10437
10438 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10439
10440         * text2.C: first -> first_y
10441
10442         * text.C (getRowNearY): add some attemts at a possible
10443         optimization, not working.
10444
10445         * tabular.[Ch]: add BufferParams to several function so that newly
10446         created paragraph can be initialized to he default layotu for the
10447         buffers textclass.
10448
10449         * tabular-old.C (ReadOld): add buf->params to call of Init
10450
10451         * screen.C: rename text->first to text->first_y
10452
10453         * paragraph.C (breakParagraph): always set layout in the broken
10454         paragraph
10455
10456         * lyxtextclass.C (Read): remove lowercase
10457         (hasLayout): ditto
10458         (operator): ditto
10459         (delete_layout): ditto
10460
10461         * lyxtext.h: rename first -> first_y
10462
10463         * lyxlayout.C (Read): remove lowercase
10464         (name): ditto
10465         (setName): ditto
10466         (obsoleted_by): ditto
10467
10468         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10469
10470         * buffer.C (insertErtContents): add params are to InsetERT
10471         (parseSingleLyXformat2Token): add code to check if a paragraphs
10472         layout really exist.
10473         (parseSingleLyXformat2Token): add params to several inset
10474         constructors
10475         (asciiParagraph): remove lowercase, do the layout comparisons with
10476         no_case
10477
10478         * BufferView_pimpl.C (cursorNext): first -> first_y
10479         (resizeCurrentBuffer): first -> first_y
10480         (updateScrollbar): first -> first_y
10481         (scrollCB): first -> first_y
10482         (workAreaMotionNotify): first -> first_y
10483         (workAreaButtonPress): first -> first_y
10484         (checkInsetHit): first -> first_y
10485         (cursorPrevious): first -> first_y
10486         (cursorNext): first -> first_y
10487         (Dispatch): add buffer_->params to severl inset contructors
10488
10489 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * lyxlayout.C (Read): remove some debug info that I forgot.
10492
10493         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10494         clean up the code slightly.
10495         (makeLinuxDocFile): ditto
10496         (makeDocBookFile): ditto
10497
10498         * text2.C: layout as string
10499
10500         * text.C: layout as string
10501
10502         * paragraph_pimpl.C: layout as string
10503
10504         * paragraph.[Ch]: layout as string
10505
10506         * lyxtextclasslist.[Ch]: layout as string
10507
10508         * lyxtextclass.[Ch]: layout as string
10509
10510         * lyxtext.h: layout as string
10511
10512         * lyxlayout.[Ch]: layout as string
10513
10514         * lyx_cb.C: layout as string
10515
10516         * bufferview_funcs.C: layout as string
10517
10518         * bufferparams.C: layout as string
10519
10520         * buffer.C: layout as string
10521
10522         * LyXView.[Ch]: layout as string
10523
10524         * LaTeXFeatures.[Ch]: layout as string
10525
10526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10527
10528         * BufferView_pimpl.C: change current_layout to string, remove
10529         lyx::layout_type.
10530         (Dispatch):
10531         (smartQuote):
10532         (insertInset):
10533         (workAreaButtonRelease): layout as string
10534
10535         * BufferView2.C (unlockInset): adjust
10536
10537         * vspace.C (asLatexCommand): use an explict temp variable.
10538
10539 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * Makefile.am: use FRONTEND_*
10542
10543 2002-03-01  Juergen Vigna  <jug@sad.it>
10544
10545         * tabular.C (SetWidthOfMulticolCell): changed to something better
10546         I hope but still work in progress.
10547         (recalculateMulticolumnsOfColumn): renamed function from
10548         recalculateMulticolCells as it is more appropriate now.
10549         (SetWidthOfCell): calculate multicols better.
10550
10551 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10554
10555         * lyxfunc.C (processKeySym): print sequence also if it is
10556         `deleted' (complete)
10557
10558         * kbsequence.C (print): print sequence even if it is deleted
10559         (complete would be a better word, actually).
10560
10561         * lyxfunc.C (dispatch): print complete options after a prefix key
10562
10563         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10564
10565 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10566
10567         * text2.C (setCharFont): eliminate setCharFont code duplication.
10568
10569 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10570
10571         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10572         LFUN_TABULAR_FEATURE (bug #177)
10573
10574 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10575
10576         * Makefile.am: remove figure.h
10577
10578 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10579
10580         * Bufferview_pimpl.C:
10581         * CutAndPasteC:
10582         * LaTeX.C:
10583         * LyXSendto.C:
10584         * buffer.C:
10585         * bufferlist.C:
10586         * converter.C:
10587         * language.C:
10588         * lyxfunc.C:
10589         * lyxvc.C:
10590         * paragraph.C:
10591         * text.C:
10592         * text2.C: remove #include "lyx_gui_misc.h".
10593
10594         * LaTeX.C: added #include <cstdio>
10595
10596 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10599         that the paragraph following this one can have.
10600
10601         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10602
10603         * vspace.C (asLatexCommand): fix bogus gcc warning
10604
10605         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10606
10607 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10608
10609         * text2.C (setLayout): get rid of redundant code
10610
10611 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10612
10613         * text2.C (incDepth): make sure depth cannot be increased beyond
10614         reasonable values.
10615
10616 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10617
10618         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10619         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10620
10621         * PainterBase.h (image):
10622         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10623         a LyXImage const *.
10624
10625 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * BufferView.C:
10628         * BufferView.h:
10629         * BufferView_pimpl.C:
10630         * BufferView_pimpl.h:
10631         * LaTeXFeatures.C:
10632         * LyXAction.C:
10633         * LyXView.C:
10634         * Makefile.am:
10635         * UpdateList.h:
10636         * UpdateList.C:
10637         * buffer.C:
10638         * figure.h:
10639         * figureForm.C:
10640         * figureForm.h:
10641         * figure_form.C:
10642         * figure_form.h:
10643         * lyx_cb.C:
10644         * lyx_gui.C:
10645         * lyx_gui_misc.C:
10646         * lyxfunc.C:
10647         * sp_base.h:
10648         * sp_ispell.h:
10649         * sp_pspell.h:
10650         * sp_spell.C: remove fig inset, and the crap house of
10651           cards that follows it
10652
10653 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * Makefile.am:
10656         * lyxserver.C:
10657         * os2_defines.h:
10658         * os2_errortable.h:
10659         * nt_defines.h: move .h into support/
10660
10661         * vms_defines.h: remove
10662
10663         * WorkArea.C: add space in debug output
10664
10665         * text2.C:
10666         * paragraph.C:
10667         * buffer.C: add WITH_WARNINGS
10668
10669         * vc-backend.h:
10670         * vc-backend.C:
10671         * bufferlist.C: s/retrive/retrieve/, add docs
10672
10673         * vspace.h:
10674         * vspace.C:
10675         * kbmap.h:
10676         * lyxlength.h:
10677         * lyxgluelength.h:
10678         * length_common.h:
10679         * chset.h:
10680         * chset.C: add docs
10681
10682         * lyxgui.C: add ID to X error handler
10683
10684         * lyxtestclass.c: fix typo
10685
10686 2002-02-26  Juergen Vigna  <jug@sad.it>
10687
10688         * tabular_funcs.C (write_attribute): changed so that some default
10689         attributes are not written at all.
10690         (getTokenValue): set default values before trying to read the
10691         value so we have the return value always set as default if we don't
10692         find the token we search for.
10693
10694         * tabular.C (Write): write bools as bools not as strings!
10695
10696 2002-02-22  Juergen Vigna  <jug@sad.it>
10697
10698         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10699         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10700
10701         * text.C (leftMargin): don't add an indent for paragraphs inside
10702         tabular cells (fix #208).
10703
10704 2002-02-21  José Matos  <jamatos@fep.up.pt>
10705
10706         * tabular.C (docBook): fixed support for long tables.
10707
10708 2002-02-20  Juergen Vigna  <jug@sad.it>
10709
10710         * text2.C (getFont): get the drawing font of the Inset if this
10711         paragraph is inside an inset (only important for InsetERT for now).
10712
10713         * buffer.C (insertErtContents): use new lanugage params in ERT
10714         constructor.
10715
10716         * CutAndPaste.C: commenting out seemingly uneeded code.
10717
10718 2002-02-19  Allan Rae  <rae@lyx.org>
10719
10720         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10721         Iterators might be simple to use but they also get invalidated.
10722         (removeAutoInsets): renamed saved cursor tracking variables and added
10723         some comments to clarify what everything does.
10724
10725 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10726
10727         * Chktex.C:
10728         * LaTeX.C:
10729         * LyXSendto.C:
10730         * converter.C:
10731         * lyx_cb.C:
10732         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10733         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10734
10735         * lyxfunc.C:
10736         * vc-backend.h: remove #include "support/syscall.h"
10737
10738         * LaTeX.C:
10739         * LyXSendto.C:
10740         * converter.C: rearrange #includes in Lars' approved fashion.
10741
10742         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10743         forward declare class Timeout in the header file.
10744
10745         * XFormsView.C: changes due to the above.
10746
10747         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10748         similar to LyXView.
10749
10750         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10751         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10752
10753 2002-02-18  José Matos  <jamatos@fep.up.pt>
10754
10755         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10756         insets contents.
10757
10758 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10759
10760         * a lot of small ws changes
10761         * add a lot of using std::XXX
10762         * use std construcs some places where approp.
10763         * use some exisint stuff from lyxfunctional where approp.
10764         * Make file changes to use partial linking (lets test this now...)
10765
10766 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10767
10768         * Chktex.C:
10769         * buffer.C:
10770         remove #include "support/syscontr.h" as it's redundant. Always has been.
10771
10772         * Chktex.C:
10773         * LaTeX.C:
10774         * LyXSendto.C:
10775         * converter.C:
10776         * lyx_cb.C:
10777         * vc-backend.C:
10778         change Systemcalls::System to Systemcalls::Wait and
10779         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10780         No change of functionality, just reflects the stripped down Systemcalls
10781         class.
10782
10783 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10784
10785         * debug.[Ch]: add a GRAPHICS type to the enum.
10786
10787 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10790
10791         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10792         there is an inset.
10793
10794 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10797         match the changes below.
10798
10799         * text2.C (toggleInset): if there is not editable inset at cursor
10800         position, try to see if cursor is _inside_ a collapsable inset
10801         and close it.
10802
10803 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10804
10805         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10806         document menu has a nice checkbox
10807
10808 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10809
10810         * lyxlength.C (asLatexString): change PW to output as percent of
10811         \textwidth.
10812
10813         * lengthcommon.C: change '%' to 't%'
10814
10815         * lyxfunc.C (dispatch): a few comments from Martin
10816
10817 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * WorkArea.h:
10820         * WorkArea.C:
10821         * BufferView_pimpl.h:
10822         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10823           the X selection.
10824
10825 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10826
10827         * vspace.C (inPixels): fix compiler warning
10828
10829 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * lyxfunc.C (getStatus): fix status message for disabled commands.
10832
10833 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10834
10835         * BufferView_pimpl.C: fix crash on close buffer
10836         during selection (#227)
10837
10838 2002-01-27  Herbert Voss  <voss@lyx.org>
10839
10840         * buffer.C: link old Figure to new graphic inset
10841
10842 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10843
10844         * FontLoader.C (getFontinfo): Change the latex font names in order
10845         to match the names of type1inst.
10846
10847 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10848
10849         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10850
10851         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10852         (extchanged): ditto
10853         (ext_exist): ditto
10854         (remove_files_with_extension): ditto
10855         (remove_file): ditto
10856         (write): ditto
10857
10858         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10859         document is smaller than the work area height. Do not initialize
10860         static variables to 0.
10861
10862 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10863
10864         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10865
10866         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10867         LFUN_LAYOUT_PARAGRAPHS.
10868
10869         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10870         tabular. It is possible to provide a possible cell, which will
10871         typically be the actcell from the corresponding insettabular
10872
10873         * lyxfunc.C (getStatus): small cleanup; disable
10874         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10875         true
10876
10877 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10880
10881         * paragraph.C (startTeXParParams):
10882         (endTeXParParams): new methods. The LaTeX code to
10883         start/end paragraph formatting
10884         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10885         empty (fixes bug #200)
10886
10887         * vspace.C (inPixels): adapt to the change below
10888         (inPixels): [later] more cleanups (remove unused variables)
10889
10890         * lyxlength.C (inPixels): change to use a width and a height as
10891         parameter.
10892
10893 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10894
10895         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10896         Replaced with \paperwidth
10897
10898         * DepTable.C (insert): add std:: qualifier
10899
10900 2002-01-18  Allan Rae  <rae@lyx.org>
10901
10902         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10903         updated also?
10904
10905         * text.C (drawInset): Turned out I didn't know enough about how
10906         rebreaking worked.  This fixes most of the redraw problems.  I see
10907         an occasional cursor trail when a line is broken now and the cursor
10908         placement can seem out by a few pixels also after a rebreak.
10909
10910 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10911
10912         * buffer.C (parseSingleLyXformat2Token): update because minipage
10913         width is now a LyXLength
10914
10915         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10916
10917         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10918         math insets
10919
10920 2002-01-17  Juergen Vigna  <jug@sad.it>
10921
10922         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10923
10924         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10925         is set correctly and the inset is updated correctly.
10926
10927 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10928
10929         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10930         the beginning of the loop.
10931
10932 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * lyxrc.C: improve help for use_scalable_fonts
10935
10936 2002-01-17  Allan Rae  <rae@lyx.org>
10937
10938         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10939
10940 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10941
10942         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10943         make sure to set their inset_owner to the right value (bug #171)
10944
10945 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10946
10947         * DepTable.h
10948         * DepTable.C: Implement mtime checking to reduce time spent doing
10949         CRCs.
10950
10951 2002-01-16  Juergen Vigna  <jug@sad.it>
10952
10953         * tabular.C (GetAdditionalHeight): one of error fixed.
10954
10955         * lyxrc.C (output): small fix in writing use_pspell.
10956
10957 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10958
10959         * sp_base.h: #include LString.h
10960
10961 2002-01-16  Allan Rae  <rae@lyx.org>
10962
10963         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10964         Can someone check this please?
10965
10966         * text.C (drawInset): It was possible that p.row would be removed by
10967         breakAgainOneRow upsetting a few other settings.  There may be another
10968         small tweak possible by setting need_break_row = 0 when p.row has been
10969         removed but I don't know enough about the logic here.
10970
10971 2002-01-15  Allan Rae  <rae@lyx.org>
10972
10973         * text.C (insertChar): removed conditional truism.
10974
10975         * BufferView2.C (removeAutoInsets): More tweaks.
10976         cur_par_prev could be a stray pointer.  Check for trailing empty line
10977         in case last line was cur_par and only had an error inset on it.
10978
10979 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10980
10981         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10982         absolute
10983
10984         * vc-backend.C (most methods):
10985         * exporter.C (Export):
10986         * converter.C (convert):
10987         (runLaTeX):
10988         * LyXSendto.C (SendtoApplyCB):
10989         * lyxfunc.C (dispatch):
10990         (menuNew):
10991         (open):
10992         (doImport):
10993         * lyx_cb.C (AutoSave):
10994         (InsertAsciiFile):
10995         * BufferView_pimpl.C (MenuInsertLyXFile):
10996         * buffer.C (runChktex): use Buffer::filePath().
10997
10998         * buffer.h: rename filename to filename_; rename filepath to
10999         filepath_ and make it private
11000         (filePath): new method
11001
11002         * buffer.C (writeFile): use fileName()
11003         (getLatexName):
11004
11005         * lyx_main.C (init): fix starting  of LyX when the binary is a
11006         link from so,ewhere else.
11007
11008         * minibuffer.C: include <cctype> for isprint
11009
11010 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11011
11012         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11013         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11014         name clash with InsetCollapsable's width function.
11015
11016 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11017
11018         * lastfiles.C: include <iterator>
11019
11020 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11021
11022         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11023         std::count.
11024
11025         * buffer.C (makeLaTeXFile): ditto.
11026         Also make loop operation more transparent.
11027
11028 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * ToolbarDefaults.C: remove trailing comma closing namespace.
11031
11032         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11033
11034         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11035         as in WorkArea.
11036
11037         * trans.C (Load): comment out unused variable, allowed.
11038
11039 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11040
11041         * minibuffer.[Ch] (append_char): new method to recieve input from the
11042         drop-down completion browser. If a key was pressed, then recieve this
11043         char and append it to the existing string.
11044         (peek_event): modify the positioning data passed to the completion
11045         browser so that it can be placed above the minibuffer rather than below.
11046 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11047
11048         * LyXAction.C (init): alloe error-next for readonly documents.
11049
11050         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11051         count.
11052
11053 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11054
11055         * bufferlist.C (readFile): create the buffer _after_ checking that
11056         the file exists.
11057
11058         * lyxfunc.C (verboseDispatch): fix handling of arguments
11059
11060         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11061
11062         * lyxrc.C: use string::erase() instead of initializing to "".
11063
11064
11065 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11066
11067         * BufferView_pimpl.h:
11068         * BufferView_pimpl.C:
11069         * WorkArea.h:
11070         * WorkArea.C:
11071         * text2.C: tell X when we have made a selection for copying
11072
11073 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11074
11075         * BufferView_pimpl.C (MenuInsertLyXFile):
11076         * lyxfunc.C (menuNew):
11077         (open):
11078         (doImport): add shortcuts to directory buttons
11079
11080         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11081         open a float)
11082
11083         * lyxfunc.C (setStatusMessage):
11084         (getStatusMessage): new methods
11085         (getStatus):use setStatusMessage instead of setErrorMessage
11086         (dispatch): when function is disabled, set error message here
11087         [instead of in getStatus previously]
11088
11089         * BufferView_pimpl.C (workAreaButtonRelease): update
11090         toolbar/menubar here too.
11091
11092 2002-01-13  Allan Rae  <rae@lyx.org>
11093
11094         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11095         Now seems indestructible.  Remaining task is to audit all other
11096         code affected by deleteEmptyParagraphMechanism.  One small quirk
11097         left is that an empty document with an error in the preamble can
11098         be made to report an error but no error box appears.  I don't know
11099         where it goes.
11100         (removeAutoInsets): Improved comments.
11101
11102 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11103
11104         * Thesaurus.h:
11105         * Thesaurus.C: update for Aiksaurus 0.14
11106
11107 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11108
11109         * text2.C (firstParagraph): removed member function, all uses
11110         replaces with ownerParagraph
11111         (redoParagraphs): here
11112         (updateInset): here
11113         (toggleAppendix): here
11114         * BufferView2.C (insertErrors): here
11115         (setCursorFromRow): here
11116
11117 2002-01-13  Allan Rae  <rae@lyx.org>
11118
11119         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11120         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11121         There is still a way to segfault this although you may have to do this
11122         multiple times: Have an InsetERT with an unknown command in it.
11123         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11124         <down-arrow>, <Enter> again, View->DVI, BANG!
11125
11126         * text2.C (setCursor):
11127         (deleteEmptyParagraphMechanism):
11128         * lyxtext.h (setCursor):
11129         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11130         Making use of the return value may help fix other bugs.
11131
11132 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11133
11134         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11135
11136         * LyXView.C (updateMenubar): call MenuBar::update here
11137         (updateToolbar): but not here
11138         (showState): do not update toolbar/menubar
11139
11140         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11141         should need to care about that.
11142
11143         * lyxfunc.C (verboseDispatch): simplify a bit
11144         (getStatus): have a version which takes a pseudoaction, and
11145         another which requires a (kb_action,string).
11146
11147         * LyXAction.C (retrieveActionArg): make it work also when action
11148         is not a pseudo-action.
11149         (getActionName): simplify a bit
11150         (helpText):
11151
11152 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11153
11154         * lyxfunc.C (verboseDispatch): new families of methods with
11155         several ways to specify a command and a bool to indicate whether
11156         the command name and shortcut should be displayed in minibuffer
11157         (eventually, we could extend that to a finer bitmask like
11158         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11159         (dispatch): the pristine dispatch command which just, well,
11160         dispatchs! Note it still sets its result to minibuffer; I'm not
11161         sure we want that.
11162
11163         * lyxfunc.h: remove setHintMessage
11164
11165         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11166
11167 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * BufferView_pimpl.C (specialChar): delete new inset if we have
11170         not been able to insert it.
11171
11172         * kbmap.C: revert to using int instead of kb_action, since all we
11173         are dealing with is pseudo-actions.
11174
11175         * LyXAction.C (searchActionArg): change to return int instead of
11176         kb_action, since the result is a pseudoaction.
11177
11178 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11179
11180         * buffer.C (insertErtContents): Fix (partially) the font bug.
11181
11182 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11183
11184         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11185         as the other one is broken on my machine!
11186
11187 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11188
11189         * commandtags.h:
11190         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11191
11192 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11193
11194         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11195         reflect their actual use. Provide compatibility code for older lyxrc
11196         files.
11197
11198         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11199         FL_NORMAL_STYLE.
11200         change names of popup font variables in line with the changes to lyxrc.C
11201
11202 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11203
11204         * buffer.C (asciiParagraph): avoid outputing a word twice after
11205         an inset.
11206
11207         * lyxrc.C (getDescription): document that document_path and
11208         template_path can be empty.
11209
11210 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * LaTeXFeatures.C (getMacros):
11213         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11214
11215         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11216
11217         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11218         getPackages.
11219         (getPackages): rename feature "floats" to "float". Use an array to
11220         iterate over 'simple' features (i.e. just a \usepackage). Add
11221         handling of "amsmath" (renamed from "amsstyle").
11222
11223 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11224
11225         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11226         features list.
11227
11228 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11229
11230         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11231         FuncStaus::FuncStatus & FuncStaus::some_method().
11232
11233 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11234
11235         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11236         of the func_satus stuff. Edited and massaged in various ways by
11237         JMarc.
11238
11239         * lyxfunc.C (getStatus): use FuncStatus
11240
11241 2002-01-08  Juergen Vigna  <jug@sad.it>
11242
11243         * text.C (nextBreakPoint): use function Inset::isChar().
11244
11245         * paragraph.C (TeXOnePar): use function
11246         Inset::forceDefaultParagraphs.
11247
11248         * buffer.C (latexParagraphs): use function
11249         Inset::forceDefaultParagraphs.
11250
11251 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11252
11253         * lyx_gui.C (init): set the style of the menu popups to
11254         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11255
11256 2002-01-07  Juergen Vigna  <jug@sad.it>
11257
11258         * text.C (setHeightOfRow): small fix
11259         (prepareToPrint): don't look at alignment if we don't have the place
11260         for doing it.
11261
11262 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11263
11264         * box.C: New file. Move the Box methods and functions out of box.h,
11265         following Lars' suggestion.
11266
11267 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11268
11269         * box.h: #include "support/LOstream.h", needed for inlined function.
11270
11271         * lyxtextclass.C:
11272         * lyxtextclasslist.C: added some using std declarations.
11273
11274 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * box.h: make signed dimensions to allow insets wider than
11277           the screen (bug #162)
11278
11279         * BufferView_pimpl.C: add some insetHit debug
11280
11281 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * vc-backend.C: add FIXME
11284
11285 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * lyxfunc.C (getStatus): enable code for showing math font status
11288         in toolbar/menu.
11289
11290 2002-01-07  Juergen Vigna  <jug@sad.it>
11291
11292         * text.C (nextBreakPoint): removed debug output not needed anymore.
11293
11294 2002-01-06  Juergen Vigna  <jug@sad.it>
11295
11296         * text.C (nextBreakPoint): fixed up this function we had this bug
11297         since ever but now hopefully we break row better.
11298         (insertChar): we have to check if an inset is the next char as it
11299         could now happen that a large inset is causing a break.
11300
11301 2002-01-05  Juergen Vigna  <jug@sad.it>
11302
11303         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11304         if it doesn't like to be drawed.
11305
11306 2002-01-04  Juergen Vigna  <jug@sad.it>
11307
11308         * BufferView2.C (lockInset): forgot to set a cursor.
11309
11310         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11311
11312 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11313
11314         * FormMathsPanel.C:
11315         * FormMathsPanel.h
11316         * MathsSymbols.C:
11317         * form_maths_panel.C:
11318         * form_maths_panel.h:
11319         * form_maths_panel.fd: implemented sub- and super- buttons in math
11320         panel.
11321
11322         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11323         (or ^ space) to be used as in TeX (req'd by André).
11324
11325         * lyxfunc.C: Allow ^ and _ again to be used both as
11326         super/subscript (mathed) and as themselves (in text).
11327
11328 2002-01-03  Allan Rae  <rae@lyx.org>
11329
11330         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11331         "LyX" or the filename of the current buffer if it has one.  This is a
11332         modified form of John Levon's patch.
11333
11334         * XFormsView.C (setWindowTitle): also set icon title.
11335
11336         * LyXView.h (setWindowTitle): signature changed.
11337         * XFormsView.h (setWindowTitle): ditto.
11338
11339 2002-01-02  Juergen Vigna  <jug@sad.it>
11340
11341         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11342
11343 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * screen.C (topCursorVisible): introduce a temp var for
11346         text->cursor.row(), handle the case where this row is null. (kindo
11347         hachish)
11348
11349         * text2.C (setCursor): add a couple of asserts.
11350
11351         * paragraph.h (inset_iterator): add -> operator
11352
11353         * paragraph.[Ch] (autoDeleteInsets): remove member function
11354
11355         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11356         cursor pos correctly and handle inset deletion by itself.
11357         (insertErrors): move iterator declaration out of for expression
11358
11359         * lyxtextclass.C: add <algorithm>
11360
11361         * Makefile.am: added the new files to sources, removed layout.C
11362
11363         * layout.C: removed file
11364
11365         * layout.h: remove LYX_DUMMY_LAYOUT
11366
11367         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11368         layout.
11369
11370         * lyxlayout.[Ch]:
11371         * lyxtextclass.[Ch]:
11372         * lyxtextclasslist.[Ch]: new files
11373
11374         * include order changes to a lot of files, also changes because of
11375         the six new files.
11376
11377 2001-12-27  Juergen Vigna  <jug@sad.it>
11378
11379         * buffer.C (asciiParagraph): more fixes.
11380
11381         * tabular.C (ascii): make ascii export support export of only the
11382         data separated by a column-delimiter.
11383         (ascii): better support for ascii export.
11384
11385         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11386
11387 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11388
11389         * tabular_funcs.C: use a "using std::getline" instead of the
11390         previous fix from Angus (necessary for cxx + lyxstring)
11391
11392 2001-12-24  Juergen Vigna  <jug@sad.it>
11393
11394         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11395
11396         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11397         problems. First check a minipage also if we have some ert-contents
11398         (not only on par->size(), second set the right depth of the paragraph
11399         on the relink to the root-paragraph-list!
11400
11401         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11402         which then did not anymore update the main paragraphs on undo/redo!
11403
11404 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11405
11406         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11407         code. Support all font-changing funcs (even those which are not in
11408         menu currently). Support for reporting font settings in
11409         mathed (disabled until Andre provides a function on mathed's side).
11410
11411         * func_status.h (toggle): small helper function to set toggle
11412         state on a flag.
11413
11414 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11415
11416         * tabular_funcs.C: getline -> std::getline
11417
11418 2001-12-21  Juergen Vigna  <jug@sad.it>
11419
11420         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11421         accessed and could be 0 (I couldn't generate this but it seems
11422         Michael could!).
11423
11424 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11425
11426         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11427         * tabular_funcs.h: here and include iosfwd
11428
11429 2001-12-20  Juergen Vigna  <jug@sad.it>
11430
11431         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11432         inside inset but undo_par was.
11433
11434 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11435
11436         * Thesaurus.C: always include <config.h> in sources.
11437
11438         * Painter.h:
11439         * lyxlookup.h:
11440         * box.h: do not include <config.h> in header files
11441
11442         * text.C (paintLastRow): remove unused variable
11443
11444         * text.C (transformChar):
11445         (insertChar):
11446         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11447
11448         * Painter.C (text):
11449         * font.C (width): rewrite to use uppercase() instead of
11450         islower/toupper.
11451
11452         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11453
11454 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * lyxfind.C: clean up of find failure position change
11457
11458 2001-12-20  Juergen Vigna  <jug@sad.it>
11459
11460         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11461
11462         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11463         (TeXRow): added to LaTeX a single tabular row.
11464         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11465         (Latex): simplified and finally good LT-h/f support.
11466         (various_functions): just small adaptions for LT-h/f support.
11467
11468         * tabular_funcs.[hC]: added and moved here all not classfunctions
11469         of LyXTabular.
11470
11471 2001-12-19  Juergen Vigna  <jug@sad.it>
11472
11473         * tabular.[Ch]: better support for longtabular options (not finished
11474         yet!)
11475
11476 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11477
11478         * text.C (paintLastRow): use the label font instead of the font of
11479         the last character to compute the size of *_BOX. This makes more
11480         sense and avoids a crash with empty paragraphs.
11481         Use Painter::rectangle to draw EMPTY_BOX.
11482
11483 2001-12-19  Juergen Vigna  <jug@sad.it>
11484
11485         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11486         the paragraphs if the replaced paragraph is not the first one!
11487         Tried to delete not used paragraphs but does not work yet so for
11488         now it's inside #ifdef's and by default off!
11489
11490 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * MenuBackend.C: include "lyx_main.h" instead of declaring
11493         lastfiles (actually was declared as LastFiles* instead of a
11494         scoped_ptr).
11495
11496 2001-12-17  Juergen Vigna  <jug@sad.it>
11497
11498         * tabular.C (AppendColumn): applied John's fix
11499
11500 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * BufferView.h:
11503         * BufferView.C:
11504         * BufferView_pimpl.h:
11505         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11506
11507         * Makefile.am:
11508         * box.h: new start of class for above
11509
11510         * lyxfunc.C: ignore space-only minibuffer dispatches.
11511           Show the command name when it doesn't exist
11512
11513         * minibuffer.C: don't add empty lines to the history
11514
11515         * minibuffer.C: add a space on dropdown completion
11516
11517 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * text.C: fix line above/below drawing in insets
11520
11521 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * lyxlength.C (LyXLength): Initialize private variables.
11524
11525 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11526
11527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11528         when inserting error insets.
11529
11530 2001-12-13  Juergen Vigna  <jug@sad.it>
11531
11532         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11533         actually sometimes the before-paragraph.
11534         (setUndo): don't clear the redostack if we're not actually undoing!
11535
11536 2001-12-06  Juergen Vigna  <jug@sad.it>
11537
11538         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11539         and fixed redoing of main paragraph, so we can use it now ;)
11540
11541         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11542
11543 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11544
11545         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11546         Juergen's request
11547
11548 2001-12-13  André Pönitz <poenitz@gmx.net>
11549
11550         * undostack.[Ch]:
11551         * undo_func.C: minor cleanup
11552
11553 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11554
11555         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11556         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11557         font in urw-fonts package which is marked as -urw-fontspecific and
11558         does not work (incidentally, changing the encoding in the
11559         fonts.dir of this package to -adobe-fontspecific fixes the
11560         problem).
11561
11562         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11563         is a crash when undoing first paragraph (Juergen, please take a
11564         look). THis does not mean the undo fix is wrong, just that it
11565         uncovers problems.
11566
11567         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11568         the (Paragraph*) version when needed instead of duplicating the
11569         code.
11570
11571         * text.C (workWidth): use Inset::parOwner to find out where the
11572         inset has been inserted. This is a huge performance gain for large
11573         documents with lots of insets. If Inset::parOwner is not set, fall
11574         back on the brute force method
11575
11576         * paragraph_pimpl.C (insertInset):
11577         * paragraph.C (Paragraph):
11578         (cutIntoMinibuffer): set parOwner of insets when
11579         inserting/removing them
11580
11581         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11582
11583 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11584
11585         * commandtags.h:
11586         * LyXAction.C:
11587         * lyx_main.C:
11588         * lyxfunc.C:
11589         * mathed/formulabase.C:
11590         * mathed/math_cursor.[Ch]:
11591         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11592
11593
11594 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * lyxlength.[Ch] (operator!=): new function
11597
11598 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11599
11600         * text.C (workWidth): use Inset::parOwner to find out where the
11601         inset has been inserted. This is a huge performance gain for large
11602         documents with lots of insets. If Inset::parOwner is not set, fall
11603         back on the brute force method
11604
11605         * paragraph_pimpl.C (insertInset):
11606         * paragraph.C (Paragraph):
11607         (cutIntoMinibuffer): set parOwner of insets when
11608         inserting/removing them
11609
11610         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11611
11612 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11613
11614         * tabular-old.C (getTokenValue):
11615         * tabular.C (getTokenValue):
11616         (write_attribute): new versions for LyXLength
11617         (everywhere): adjust the use of widths
11618
11619         * tabular.h: change the type of widths from string to LyXLength
11620
11621 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11622
11623         * paragraph.C: fixed missing line number count when exporting
11624         Environments to LaTeX file
11625
11626         * buffer.C: added informational message for checking line numbers.
11627
11628 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11629
11630         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11631         paragraph, do the 'double space' part, but not the 'empty
11632         paragraph' one.
11633
11634         * text.C (workWidth): small optimization
11635         (getLengthMarkerHeight): use minimal size for negative lengths.
11636
11637 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11638
11639         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11640
11641         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11642
11643 2001-12-11  André Pönitz <poenitz@gmx.net>
11644
11645         * FontLoader.C:
11646         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11647
11648 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * text2.C: keep selection on a setFont()
11651
11652 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * lyx_cb.C: another bv->text misuse, from insert label
11655
11656 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11657
11658         * kbsequence.h:
11659         * kbsequence.C: re-instate nmodifier mask
11660
11661 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11662
11663         * lyx_main.h: make lyxGUI private.
11664
11665 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11666
11667         * lyxfind.C: place the cursor correctly on failed search
11668
11669 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11670
11671         * text.C (getLengthMarkerHeight): for small heights, the arrows
11672         are not always on top/bottom of the text
11673         (drawLengthMarker): smaller arrows; take the left margin in
11674         account; draw also vfills.
11675         (paintFirstRow):
11676         (paintLastRow): remove special code for vfill and standard spaces,
11677         since everything is handled in drawLengthMarker now.
11678
11679 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * buffer.C (insertErtContents): try to handle font and language
11682         interaction a bit better.g
11683
11684         * ColorHandler.C (updateColor): change the hash to cover the whole
11685         LColor enum, ws cleanup
11686         (getGCLinepars): ditto
11687         (getGCLinepars): only lookup in the linecache once.
11688
11689 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11690
11691         * iterators.C (operator++): Make the iterator more robust
11692
11693         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11694         (John's patch)
11695         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11696
11697 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * lyxtext.h:
11700         * text.C: better added space drawing
11701
11702 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * LyXView.C:
11705         * BufferView2.C: fix layout combo update on inset unlock
11706
11707 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * Makefile.am: don't compile unused files
11710
11711 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * lyxfunc.C:
11714         * commandtags.h:
11715         * LyXAction.C: remove old LFUN_LAYOUTNO
11716
11717 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * paragraph_pimpl.h:
11720         * paragraph_pimpl.C: isTextAt() doesn't need font param
11721
11722 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * lyxlex.h:
11725         * lyxlex.C: little cleanup
11726
11727 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * BufferView_pimpl.C: fix insertAscii for insets
11730
11731 2001-12-05  Juergen Vigna  <jug@sad.it>
11732
11733         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11734         set the right font on the "multi" paragraph paste!
11735
11736 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11737
11738         * trans_decl.h:
11739         * trans_mgr.[Ch]:
11740         * trans.[Ch]:
11741         * lyxgluelength.C:
11742         * lyxlength.C: remove out-commented code.
11743
11744         * BufferView_pimpl:
11745         * CutAndPaste.C:
11746         * DepTable.C:
11747         * buffer.C:
11748         * chset.C:
11749         * lastfiles.C:
11750         * lyxlex.C:
11751         * lyxlex_pimpl.C:
11752         * lyxserver.C:
11753         * screen.C:
11754         * tabular-old.C:
11755         * tabular.C:
11756         * text.C:
11757         * trans_mgr.C:
11758         * vc-backend.C: change "while(" to "while ("
11759
11760         * lyxlength.[Ch]: add zero function to check if length is zero or
11761         not
11762         * lyxgluelength.C: use it
11763
11764 2001-12-05  Allan Rae  <rae@lyx.org>
11765
11766         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11767         Works for 2.95.3, from what I understand of Garst's reports this should
11768         work for other g++ versions.  We're screwed if the abs(int) definition
11769         changed between bugfix releases of gcc.
11770
11771 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * text.C: fix chapter label offset !
11774
11775 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11776
11777         * lyxtext.h:
11778         * text.C: fix hfill at end of line, clean up
11779
11780 2001-12-04  Juergen Vigna  <jug@sad.it>
11781
11782         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11783         that we force an update of the inset and it's owners if neccessary.
11784
11785 2001-12-03  Juergen Vigna  <jug@sad.it>
11786
11787         * text.C (rowLast): simplified code
11788
11789 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * lyxfunc.C: fix show options on timeout
11792
11793 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * screen.C (topCursorVisible): scroll half a page when the cursor
11796         reached top of bottom of screen
11797
11798 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * minibuffer.C: deactivate on loss of focus
11801
11802 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11803
11804         * vspace.[Ch] (operator!=): add operator.
11805
11806 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * BufferView_pimpl.C: refuse to open an inset when
11809         there's a selection.
11810
11811 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * BufferView_pimpl.C: allow to click on RHS of full row insets
11814
11815 2001-11-30  Juergen Vigna  <jug@sad.it>
11816
11817         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11818         insets for undo reasons.
11819
11820 2001-11-28  André Pönitz <poenitz@gmx.net>
11821
11822         * vspace.[Ch]: cosmetical changes
11823
11824 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * LyXAction.h:
11827         * LyXAction.C:
11828         * lyxfunc.h:
11829         * lyxfunc.C:
11830         * kbmap.h:
11831         * kbmap.C:
11832         * lyxrc.C:
11833         * kbsequence.h:
11834         * kbsequence.C: part re-write of old kb code
11835
11836         * Painter.C:
11837         * WorkArea.C: remove Lgb_bug_find_hack
11838
11839 2001-11-30  José Matos <jamatos@fep.up.pt>
11840
11841         * buffer.C (makeDocBookFile): add a comment to point a hack.
11842         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11843         Fixed a double write of labels.
11844
11845 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11846
11847         * LaTeX.C:
11848         * LaTeX.h Fixed bug in LaTeX class where it would not
11849         re-run latex if no depfiles were changed, but the .dvi was removed.
11850
11851 2001-11-28  André Pönitz <poenitz@gmx.net>
11852
11853         * all the files from the change on 2001/11/26:
11854         use lyx::layout_type instead of LyXTextClass::size_type
11855         use lyx::textclass_type instead of LyXTextClassList::size_type
11856
11857 2001-11-29  Juergen Vigna  <jug@sad.it>
11858
11859         * text.C: added support for paragraph::isFreeSpacing()
11860
11861         * buffer.C: same as above
11862
11863         * paragraph.h: inserted isFreeSpacing() function to enable
11864         FreeSpacing inside InsetERT.
11865
11866         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11867         of the paragraph's in the cut/copy buffer to 0!
11868
11869         * text2.C (removeRow): remove the assert as it can!
11870
11871         * lyxtext.h: added helper function firstRow returning firstrow and
11872         made firstrow private again.
11873
11874         * BufferView2.C (lockInset): don't relock if we're already locked!
11875
11876         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11877         the only paragraph.
11878         (removeRow): added Assert::(firstrow)
11879
11880         * debug.C: forgot to add INSETTEXT here.
11881
11882 2001-11-28  Juergen Vigna  <jug@sad.it>
11883
11884         * sp_spell.C (initialize): changed error text to more general
11885         spellchecker command use (not only ispell!)
11886
11887         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11888
11889         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11890
11891 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * vspace.C: initialise lyxgluelength on failure
11894
11895 2001-11-28  Allan Rae  <rae@lyx.org>
11896
11897         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11898         declaration & definition that looks like a function declaration.
11899
11900 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11901
11902         * BufferView2.C (copy):
11903         (copyEnvironment): do not clear the selection when doing a copy.
11904
11905         * text.C (paintFirstRow): compilation fix
11906
11907 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11908
11909         * tabular.C (Latex): correct line count when writing latex.
11910
11911 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * paragraph_pimpl.h:
11914         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11915           bug a bit
11916
11917 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * text.C:
11920         * LColor.h:
11921         * LColor.C: change vfillline->added_space
11922
11923         * text.C: add markers and text for added space
11924
11925         * vspace.C: fix comment
11926
11927 2001-11-28  André Pönitz <poenitz@gmx.net>
11928
11929         * paragraph.C: whitespace changes
11930         * all the other files from the change on 2001/11/26:
11931         change *::pos_type into lyx::pos_type
11932
11933 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11934
11935         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11936         language of the document when inserting error insets.
11937
11938 2001-11-26  André Pönitz <poenitz@gmx.net>
11939
11940         * BufferView_pimpl.[Ch]:
11941         *       CutAndPaste.C:
11942         * buffer.[Ch]:
11943         * lyxcursor.[Ch]:
11944         * lyxfind.C:
11945         * lyxfunc.C:
11946         * lyxrow.[Ch]:
11947         * paragraph.[Ch]:
11948         * paragraph_pimpl.[Ch]:
11949         * sp_spell.C:
11950         * text.C:
11951         * text2.C: reduce header dependencies, introduce type for positions
11952
11953 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * <various>: change to use Alert.h
11956
11957 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11958
11959         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11960         when encountering an unknown token.
11961         (readLyXformat2): Show an error message if there were unknown tokens.
11962
11963 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11964
11965         * BufferView2.C:
11966         * BufferView_pimpl.C:
11967         * buffer.C:
11968         * paragraph.h:
11969         * text.C:
11970         * text2.C: use par->isInset()
11971
11972 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * paragraph_pimpl.h:
11975         * paragraph_pimpl.C: cleanup
11976
11977 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11978
11979         * text2.C (removeRow):
11980         * text.C (setHeightOfRow): remove useless (and costly) call to
11981         getRow.
11982
11983 2001-11-20  Allan Rae  <rae@lyx.org>
11984
11985         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11986         Now need Inset*::checkInsertChar() to return true for appropriate
11987         cases so that the characters in the minibuffer will actually be
11988         inserted.
11989
11990 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11991
11992         * text.C: change the order of the includes.
11993         (workWidth): initialize it at once.
11994         (workWidth): make maxw unsigned
11995         (setHeightOfRow): remove unused variable (inset)
11996         (selectSelectedWord): remove unused variable (inset)
11997         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11998
11999 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12000
12001         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12002         server is not running.
12003         (openConnection):
12004         (closeConnection): add debug info when server is disabled.
12005
12006         * ColorHandler.C (getGCForeground): send debug message to GUI
12007         channel.
12008
12009         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12010
12011         * kbmap.C (bind): modify because return conventions of
12012         kb_sequence::parse have changed.
12013
12014         * kbsequence.C (parse): only ignore spaces and not any stupid
12015         control character. This avoids tests like s[i] <= ' ', which are
12016         guaranteed to fail with 8bit characters and signed chars.
12017         Change return code to string::npos when there have been no error
12018         (0 was a bad idea when error is at first character)
12019
12020 2001-11-14  José Matos  <jamatos@fep.up.pt>
12021
12022         * buffer.h:
12023         * buffer.C (simpleDocBookOnePar): removed unused argument.
12024
12025 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12026
12027         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12028         insets which are part of a word. Paragraph::isLetter takes care of
12029         that now. Use Paragraph::isInset to identify insets.
12030         (selectSelectedWord): do not test for hyphenation break.
12031
12032         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12033         that protected spaces are considered as spaces.
12034
12035         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12036         Inset::isLetter.
12037
12038 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12039
12040         * lyxserver.h:
12041         * lyxserver.C: fix it. and small cleanup.
12042
12043 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * BufferView_pimpl.C: use inline helpers
12046
12047         * LaTeXFeatures.h:
12048         * LaTeXFeatures.C: fix typos
12049
12050         * Spacing.h:
12051         * Spacing.C: move spacing_string into class
12052
12053         * ToolbarDefaults.C: move stuff into namespace anon
12054
12055         * layout.h: update enum
12056
12057         * lyxfunc.C: use better debug
12058
12059         * minibuffer.h: fix typo
12060
12061         * debug.h:
12062         * debug.C:
12063         * WorkArea.C: add and use Debug::WORKAREA
12064
12065         * lyxtext.h:
12066         * text.C:
12067         * text2.C: code re-organisation, inline helpers
12068
12069 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12070
12071         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12072         std::vector.empty().
12073
12074 2001-11-09  Allan Rae  <rae@lyx.org>
12075
12076         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12077         '\n's after tables.  Tabular and ERT inset work now makes this no
12078         longer necessary.
12079
12080 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * minibuffer.h:
12083         * minibuffer.C: fix crash, improve drop-down completion
12084
12085 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * lyxserver.h:
12088         * lyxserver.C: invalidate fd's when doing endPipe()
12089
12090 2001-11-08  José Matos  <jamatos@fep.up.pt>
12091
12092         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12093         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12094
12095         * paragraph.h:
12096         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12097
12098 2001-11-07  José Matos  <jamatos@fep.up.pt>
12099
12100         * buffer.h:
12101         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12102         const qualifier.
12103
12104         * buffer.C (sgmlOpenTag):
12105         * buffer.C (sgmlCloseTag): removed debug info.
12106
12107         * buffer.h (sgmlOpenTag):
12108         * buffer.h (sgmlCloseTag): made public.
12109
12110 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12111
12112         * buffer.C (saveParamsAsDefaults):
12113         * lyx_cb.C (MenuLayoutSave): remove
12114
12115         * LyXAction.C (init):
12116         * commandtags.h:
12117         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12118
12119 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12120
12121         * buffer.C (setPaperStuff): removed from here...
12122
12123         * bufferparams.C (setPaperStuff): ... and moved there.
12124
12125 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * minibuffer.h:
12128         * minibuffer.C:
12129         * XFormsView.C: add support for drop-down completion
12130
12131 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12132
12133         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12134         commands.
12135
12136 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12137
12138         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12139         disabled.
12140
12141 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * lyx_main.C: change ref to known bugs
12144
12145 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12146
12147         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12148         to work around older babel problems.
12149
12150 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12151
12152         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12153
12154 2001-10-24  Juergen Vigna  <jug@sad.it>
12155
12156         * tabular-old.C (ReadOld): below variable changes reflected.
12157
12158         * tabular.[Ch]: added ltType struct for longtable header/footer
12159         defines and changed all instances where they are used. Added
12160         future support for double top/bottom rows.
12161
12162 2001-10-24  José Matos  <jamatos@fep.up.pt>
12163
12164         * buffer.h (docbookHandleCaption):
12165         * buffer.C (docbookHandleCaption): removed unused function.
12166         (makeDocBookFile): moved docbook supported version to v4.1.
12167
12168 2001-10-24  José Matos  <jamatos@fep.up.pt>
12169
12170         * tabular.h:
12171         * tabular.C (docbookRow): new function to export docbook code of a row.
12172         (DocBook): now honors the longtable flags.
12173
12174 2001-10-23  José Matos  <jamatos@fep.up.pt>
12175
12176         * LaTeXFeatures.h:
12177         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12178         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12179
12180         * buffer.C (makeLinuxDocFile):
12181         (makeDocBookFile): reworked the preamble, more clean, and with
12182         support for lyx defined entities. Changed the document declaration
12183         to be more XML friendly.
12184
12185         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12186         if we need to output XML that should be done with a filter.
12187
12188 2001-10-22  Juergen Vigna  <jug@sad.it>
12189
12190         * sp_pspell.h (class PSpell): add alive function needed in the
12191         controller to see if the spellchecker could be started.
12192
12193 2001-10-22  Juergen Vigna  <jug@sad.it>
12194
12195         * buffer.C (insertStringAsLines): modify the font for inserting
12196         chars in certain conditions by calling checkInsertChar(font).
12197
12198 2001-10-19  Juergen Vigna  <jug@sad.it>
12199
12200         * text.C (workWidth): use getRow instead of wrong algorithm.
12201         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12202
12203 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * lyxserver.h:
12206         * lyxserver.C:
12207         * lyx_main.h:
12208         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12209
12210 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * text.C (workWidth): do not search for the exact row when
12213         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12214         optimization for big documents.
12215
12216 2001-10-18  Juergen Vigna  <jug@sad.it>
12217
12218         * text.C (workWidth): new function with added Inset * parameter.
12219
12220 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12221
12222         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12223
12224         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12225         change return type of getColumnNearX.
12226
12227
12228         * text.C (changeRegionCase): use uppercase/lowercase instead of
12229         toupper/tolower.
12230         (leftMargin):
12231         (rightMargin): simplify code by factoring out the uses of
12232         textclasslist.
12233         (labelFill):
12234         (numberOfHfills):
12235         (setHeightOfRow):
12236         (appendParagraph): use Paragraph::size_type
12237
12238 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12239
12240         * vspace.C (asLatexString): add a missing break
12241
12242 2001-10-15  Herbert Voss  <voss@perce.de>
12243
12244         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12245
12246 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12247
12248         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12249         is not available.
12250
12251 2001-10-10  André Pönitz <poenitz@gmx.net>
12252
12253         * lyxfunc.C: removed greek_kb_flag.
12254
12255 2001-10-10  Herbert Voss  <voss@perce.de>
12256
12257         * lyx_main.C: delete global string help_lyxdir.
12258
12259 2001-10-09  Herbert Voss  <voss@perce.de>
12260
12261         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12262
12263         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12264
12265         * lyx_main.C: added global string help_lyxdir.
12266
12267         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12268
12269 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12270
12271         * lyxrc.C (set_font_norm_type): support iso8859-4
12272
12273 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12274
12275         * LaTeX.C (deplog): add another regex for MikTeX
12276
12277 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12278
12279         * lyxrc.C (set_font_norm_type): support iso8859-3
12280
12281 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12284
12285         * LaTeXFeatures.C: remove special case of french and index
12286
12287         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12288         before \begin{document}). This solves several incompatibilities.
12289
12290 2001-10-03  Garst Reese  <reese@isn.net>
12291
12292         * lyx_cb.C: change CheckTex error msg.
12293
12294 2001-10-03  José Matos  <jamatos@fep.up.pt>
12295
12296         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12297
12298 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12299
12300         * .cvsignore: update
12301
12302         * lyx_main.C (commandLineVersionInfo): use new style version info.
12303
12304         * buffer.C (writeFile):
12305         (makeLaTeXFile):
12306         (makeLinuxDocFile):
12307         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12308
12309         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12310
12311         * version.h: update to use stuff in version.C
12312
12313         * version.C.in: new file. Contains version information determined
12314         at compile time. This is a merging of version.h and
12315         version_info.h.in.
12316
12317 2001-10-03  Juergen Vigna  <jug@sad.it>
12318
12319         * BufferView_pimpl.C (update): don't change "dirty" status in
12320         updateInset call.
12321
12322 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12323
12324         * WorkArea.C (c-tor): re-position version string slightly.
12325
12326 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12327
12328         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12329         revert to previous code.
12330
12331         WorkArea.[Ch]: (show, destroySplash): methods removed.
12332
12333         WorkArea.C: rework code so that it's an amalgam of the codes before and
12334         after the splash screen was moved to WorkArea.
12335
12336 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12337
12338         * lyxrc.C (read):
12339         * vspace.C (inPixels):
12340         (lyx_advance):
12341         * kbmap.C (bind):
12342         * buffer.C (insertStringAsLines):
12343         (asciiParagraph): fix types to be large enough
12344
12345         * lyxlex_pimpl.h: change member status from short to int
12346
12347         * layout.h: fix type of endlabeltype
12348
12349         * kbmap.C (bind):
12350         * kbsequence.C (parse): change return type to string::size_type
12351
12352         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12353         variable
12354
12355         * Bullet.C (bulletSize):
12356         (bulletEntry): do not use short ints as parameters
12357
12358         * BufferView2.C (insertLyXFile): change a char to an int.
12359
12360         * WorkArea.C (WorkArea): remove unneeded floats in computation
12361
12362 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12363
12364         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12365
12366         * paragraph.C (asString): Do not ignore newline/hfill chars when
12367         copying to the clipboard.
12368
12369 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12370
12371         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12372         after a multi-line inset.
12373
12374 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12375
12376         * paragraph.C (validate): Set NeedLyXFootnoteCode
12377
12378 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12379
12380         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12381         and decrease-error to decrease.
12382
12383 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12384
12385         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12386         it more readable (should be equivalent)
12387
12388 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12389
12390         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12391
12392 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12393
12394         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12395         of a cursor (row, etc.) after a character has been deleted
12396         (deleteEmptyParagraphMechanism): call the method above on _all_
12397         cursors held by the LyXText when a double space has been
12398         detected/deleted.
12399
12400 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12401
12402         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12403         pixmap.
12404         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12405
12406         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12407         background. Use greyOut() and the new show() methods to toggle between
12408         the foreground and background. Add code to remove the splash after
12409         its initial showing.
12410
12411         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12412         (create_forms): no longer call Dialogs::showSplash.
12413
12414 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12415
12416         * .cvsignore: add version_info.h
12417
12418 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12419
12420         * version_info.h.in: new file
12421
12422         * Makefile.am: add version_info.h.in
12423
12424         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12425         version_info.h instead of VERSION_INFO
12426
12427 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12428
12429         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12430         The ERT inset now returns string().
12431
12432 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12433
12434         * lyxtext.h, text.C (selectNextWord): renamed as
12435         selectNextWordToSpellcheck.
12436
12437         * text.C (selectNextWordToSpellcheck): Modified to not select
12438         words inside an ERT inset.
12439
12440 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12441
12442         * lyx_cb.C (MenuLayoutSave): change a bit the question
12443
12444         * sp_base.h: include <sys/types.h>
12445
12446 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12447
12448         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12449
12450 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12451
12452         * several files: fix typos in user-visible strings
12453
12454 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * text2.C (pasteSelection): do not set the selection, since it
12457         will be cleared later. Actually, the intent was to fix the way the
12458         selection was set, but I figured rmoving the code was just as good.
12459
12460 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12461
12462         * FontLoader.C (available): Check if font is available without
12463         loading the font.
12464
12465 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12466
12467         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12468
12469 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12470
12471         * lyxrc.[Ch]: added display_graphics variable and associated code.
12472
12473 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12474
12475         * bufferparams.C (hasClassDefaults): new method. Returns true if
12476         the buffer parameters correspond to known class defaults
12477
12478 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12479
12480         * XFormsView.C (show): set minimum size to the main window.
12481
12482 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12483
12484         * text2.C (copySelection):
12485         (cutSelection):
12486         * lyxfind.C (LyXReplace):
12487         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12488         LyXText::selectionAsString.
12489
12490         * paragraph.C (asString): add "label" argument to the second form
12491
12492         * text2.C (selectionAsString): add "label" argument and pass it to
12493         Paragraph::asString.
12494
12495 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12496
12497         * lyx_main.C (commandLineHelp): remove version information
12498
12499 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12500
12501         * lyx_main.C: add -version commandline option
12502
12503 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * paragraph.h: make the optional constructor arg required instead.
12506         some modifications to other files because of this.
12507
12508         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12509
12510         * lyxserver.C (C_LyXComm_callback): make it static
12511
12512         * lyx_main.C (error_handler): make it static
12513
12514         * lyx_gui.C (LyX_XErrHandler): make it static
12515
12516         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12517
12518         * WorkArea.C: make the extern "C" methods static.
12519
12520         * Makefile.am (lyx_LDADD): simplify
12521
12522 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12523
12524         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12525         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12526
12527         * LyXAction.C (init):
12528         * lyxfunc.C (dispatch): associated code removal.
12529
12530 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12531
12532         * lyxfont.h (isSymbolFont): shut off warning
12533
12534         * text.C (setHeightOfRow):
12535         (getVisibleRow): fix crash with empty paragraphs which have a
12536         bottom line
12537
12538 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12539
12540         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12541         code.
12542
12543 2001-09-04  José Matos  <jamatos@fep.up.pt>
12544         * buffer.C
12545         * buffer.h
12546         * tabular.C (docbook): rename docBook method to docbook.
12547
12548 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12549
12550         * Makefile.am: add dependencies to main.o.
12551
12552 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12553
12554         * FontLoader.C (available): Return false if !lyxrc.use_gui
12555
12556 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12557
12558         * FontInfo.C (query):
12559         * converter.C (view):
12560         * importer.C (Import):
12561         * exporter.C (Export): Can not -> cannot.
12562
12563 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12564
12565         * BufferView_pimpl.C: allow to create index inset even if
12566           string is empty
12567
12568 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * buffer.C (getLists): replace boost::tie code with an explicit pair
12571         as boost::tie can break some compilers.
12572
12573         * iterators.h: Added a std:: declaration to the return type of
12574         ParIterator::size.
12575
12576 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12579           case.
12580
12581 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12582
12583         * iterators.[Ch]: New files. Provide paragraph iterators.
12584
12585         * buffer.C (changeLanguage): Use paragraph iterators.
12586         (isMultiLingual): ditto
12587
12588         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12589
12590 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12591
12592         * FontLoader.C: Support for cmr font.
12593
12594 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12595
12596         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12597         (available): New method.
12598
12599         * FontInfo.C (getFontname): Use scalable fonts even when
12600         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12601         found.
12602
12603 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * converter.C (Formats::view): reverted! Incorrect fix.
12606
12607 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * converter.C (Formats::view): only output the -paper option
12610         if the dvi viewer is xdvi, thereby fixing bug #233429.
12611
12612 2001-08-23  Herbert Voss  <voss@perce>
12613
12614         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12615
12616 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12617
12618         * Spacing.h (Spacing): Set space to Default on in the default
12619         constructor.
12620
12621 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * vc-backend.h (RCS::versionString): add RCS to version
12624         (CVS::versionString): add CVS to version
12625
12626         * vc-backend.C (scanMaster): do not add CVS to version.
12627         (scanMaster): do not add RCS to version
12628
12629         * lyxvc.C (versionString): new method
12630
12631         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12632
12633 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * Spacing.C (set): initialize fval
12636
12637 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12638
12639         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12640         " or \.
12641
12642 2001-08-16  Juergen Vigna  <jug@sad.it>
12643
12644         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12645
12646 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * BufferView_pimpl.C:
12649         * figureForm.C:
12650         * lyxtext.h:
12651         * text2.C: setParagraph takes linespacing now
12652
12653 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12654
12655         * LyxAction.C: add internal LFUN_CITATION_INSERT
12656
12657         * LyXView.C: actually apply fix
12658
12659         * bufferlist.C: fix open non-existent file
12660
12661         * lyxfind.C: fix indentation
12662
12663         * lyxfunc.C: remove unneeded assert, fix typo
12664
12665 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * MenuBackend.C: use "Floatname List"
12668
12669 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12670
12671         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12672         when converting LaTeX layout to insetERT.
12673         Generate a non-collapsed float when reading old float
12674
12675 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12678         ERT insets.
12679
12680 2001-08-13  Juergen Vigna  <jug@sad.it>
12681
12682         * text.C (fill): return 0 instead of 20 as this seems to be the more
12683         correct value.
12684
12685 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12686
12687         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12688         lyxrc.font_norm.
12689
12690 2001-08-13  Juergen Vigna  <jug@sad.it>
12691
12692         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12693         casesensitive off.
12694         (SearchBackward): comment out the unlocking of the inset_owner this
12695         should not be needed!
12696
12697 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12698
12699         * Many files: Remove inherit_language, and add latex_language
12700
12701         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12702         collapsible insets.
12703
12704 2001-08-10  Juergen Vigna  <jug@sad.it>
12705
12706         * text.C (prepareToPrint): fixed hfill-width in draw!
12707
12708         * BufferView2.C (selectLastWord): save the selection cursor as this
12709         now is cleared in the function LyXText::clearSelection!
12710
12711 2001-08-08  Juergen Vigna  <jug@sad.it>
12712
12713         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12714         BACKSPACE type functions.
12715
12716         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12717         is only cutted from the document but not put in the cut-buffer, where
12718         still the old stuff should be.
12719
12720         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12721
12722         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12723
12724         * tabular.C (SetWidthOfCell): fixed special case where the width
12725         was not updated!
12726         (LeftLine): handle '|' in align_special.
12727         (RightLine): ditto
12728         (LeftAlreadyDrawed): ditto
12729         (SetWidthOfCell): ditto
12730
12731 2001-08-07  Juergen Vigna  <jug@sad.it>
12732
12733         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12734
12735 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12738         * lyxlex.[hC]: ditto
12739
12740 2001-08-06  Juergen Vigna  <jug@sad.it>
12741
12742         * text.C (getVisibleRow): fix up row clearing a bit.
12743
12744 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * minibuffer.C: make sure the X server sees the changes in the input.
12747
12748 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12749
12750         * paragraph.C (getFont): split into...
12751         (getLabelFont): this
12752         (getLayoutFont): and this
12753         * paragraph_pimpl.C (realizeFont): calling this
12754
12755         * text2.C (getFont): split into...
12756         (getLayoutFont): this
12757         (getLabelFont): and this
12758         (realizeFont): all three calling this
12759
12760         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12761         files where used.
12762
12763 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12766
12767 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12768
12769         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12770         layouts from the Quote inset insertion.
12771
12772 2001-08-03  Juergen Vigna  <jug@sad.it>
12773
12774         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12775
12776         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12777         only if status not is already CHANGED_IN_DRAW (second level).
12778
12779         * text.C (draw): don't set the need_break_row when inside an
12780         InsetText LyXText.
12781
12782 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * buffer.C (parseSingleLyXformat2Token): handle more latex
12785         conversion cases.
12786
12787         * bufferview_funcs.[hC]: change function names to
12788         begin with small char, adjust other files.
12789
12790 2001-08-02  André Pönitz <poenitz@gmx.net>
12791
12792         * lyxfunc.C:
12793         BufferView_pimpl.C: remove broken special code for math-greek
12794
12795 2001-08-02  Juergen Vigna  <jug@sad.it>
12796
12797         * BufferView_pimpl.C (update): redone this function so that we
12798         update the text again if there was a CHANGE_IN_DRAW.
12799
12800         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12801         (drawFromTo): added a new internal bool which is used by draw() and
12802         redraw() function.
12803         (general): some cursor drawing problems fixed.
12804
12805 2001-08-01  Juergen Vigna  <jug@sad.it>
12806
12807         * lyxfind.C (LyXFind): fixed
12808         (SearchForward): ditto
12809         (SearchBackward): ditto
12810
12811         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12812         spurius drawing of the cursor in the main area.
12813
12814         * text2.C (status): small fix which could lead to a segfault!
12815         (clearSelection): remove unneeded BufferView param.
12816
12817 2001-08-01  André Pönitz <poenitz@gmx.net>
12818
12819         * lyxfunc.C: small change due to changed mathed interface
12820
12821 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12824
12825 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * lyxfunc.c: fail gracefully if file doesn't exist
12828
12829         * LyXSendto.C:
12830         * buffer.C:
12831         * lyxfunc.C:
12832         * BufferView_pimpl.C: IsDirWriteable() proto changed
12833
12834         * LyXView.C: fix updateWindowTitle() to store the last title
12835
12836 2001-07-31  Juergen Vigna  <jug@sad.it>
12837
12838         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12839         the font (wrong since using of Paragraph::highestFontInRange).
12840
12841         * paragraph.C (highestFontInRange): added a default_size parameter.
12842
12843         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12844         (setHeightOfRow): reformat
12845
12846 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * converter.[hC] + affected files: move to (inital-char)lowercase
12849         function names.
12850
12851         * ParagraphParameters.C (ParagraphParameters): remove commented code
12852
12853         * PainterBase.[Ch]: remove commented code
12854
12855         * LaTeXFeatures.h: add "bool floats" for float.sty
12856
12857         * LaTeXFeatures.C (LaTeXFeatures): init floats
12858         (require): handle float
12859         (getPackages): do it with floats
12860
12861 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12862
12863         * BufferView_pimpl.C (Dispatch): improve handling of
12864         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12865
12866         * commandtags.h: #include lyxfont.h here temporarily to avoid
12867         keybinding bug.
12868
12869         * bufferlist.h: include LString.h here.
12870
12871 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12872
12873         * text2.C (getStringToIndex): new method.
12874
12875 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12876
12877         * *: Reduced header file dependencies all over.
12878
12879 2001-07-30  Baruch Even  <baruch@lyx.org>
12880
12881         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12882
12883 2001-07-29  Baruch Even  <baruch@lyx.org>
12884
12885         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12886
12887 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * ParameterStruct.h (endif): add a default constructor to make
12890         sure that all variables is initialized.
12891
12892         * ParagraphParameters.C (ParagraphParameters): adjust
12893
12894 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12895
12896         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12897         index; also, check that there is something to index, and that it
12898         does not span over several paragraphs.
12899         (doubleClick): use WHOLE_WORD_STRICT for double click.
12900
12901         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12902
12903         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12904         scheme.
12905
12906 2001-07-26  Baruch Even  <baruch@lyx.org>
12907
12908         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12909         an InsetFig figure, backwards compatible reading of old figure code.
12910
12911 2001-07-27  Juergen Vigna  <jug@sad.it>
12912
12913         * text2.C: font.realize function adaption.
12914
12915         * text.C (draw): add a warnings lyxerr text if needed.
12916
12917         * layout.C: font.realize function adaption.
12918
12919         * language.C: add inherit_language and implement it's handlings
12920
12921         * bufferview_funcs.C (StyleReset): remove language parameter from
12922         font creation (should be language_inherit now).
12923
12924         * bufferparams.C (writeFile): handle ignore_language.
12925
12926         * paragraph.C (getFontSettings): the language has to be resolved
12927         otherwise we have problems in LyXFont!
12928
12929         * lyxfont.C (lyxWriteChanges): added document_language parameter
12930         (update): removed unneeded language parameter
12931
12932         * paragraph.C (validate): fixed wrong output of color-package when
12933         using interface colors for certain fonts in certain environments,
12934         which should not seen as that on the final output.
12935
12936 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * BufferView_pimpl.C:
12939         * Thesaurus.h:
12940         * Thesaurus.C:
12941         * Makefile.am:
12942         * commandtags.h:
12943         * LyXAction.C: add thesaurus support
12944
12945         * lyxfind.h:
12946         * lyxfind.C: add "once" parameter, for thesaurus, to not
12947           move to the next match
12948
12949 2001-07-26  Juergen Vigna  <jug@sad.it>
12950
12951         * lyxfont.C (realize): honor ignore_language too!
12952         (resolved): ditto.
12953
12954         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12955
12956         * text.C (draw): one place more for ignore_language to not draw
12957         itself!
12958
12959 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12960
12961         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12962
12963 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12966         the minipage conversion problem.
12967
12968 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12971         insert an inset.
12972
12973 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * BufferView.h: don't forward declare WorkArea
12976
12977         * BufferView.C: don't include WorkArea.h
12978
12979 2001-07-25  André Pönitz <poenitz@gmx.net>
12980
12981         * commandtags.h:
12982         * LyXAction.C:
12983         * lyxfunc.C:  new LFUN 'math-space'
12984
12985         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12986
12987 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * text2.C (toggleInset): call open/close
12990
12991 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * lyxfunc.C (dispatch): add debug for the disabled case
12994
12995         * font.C (buttonText): make similar to rectText
12996
12997         * buffer.C (readInset): comment out parsing of insetlist and
12998         insttheorem
12999
13000         * PainterBase.C (rectText): small correction
13001
13002         * BufferView_pimpl.C: comment out insettheorem and insetlist
13003         * LyXAction.C: ditto
13004         * commandtags.h: ditto
13005
13006 2001-07-24  Juergen Vigna  <jug@sad.it>
13007
13008         * text.C (draw): honor the ignore_language.
13009
13010         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13011
13012 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13013
13014         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13015         char inset.
13016
13017 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13018
13019         * lyxtext.h: remove unused (and unimplemented) methods
13020
13021 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13022
13023         * text.C (getVisibleRow): honor background color
13024
13025         * PainterBase.h:
13026         * Painter.h: remove default color argument for fillRectangle
13027
13028         * text.C (backgroundColor): new method
13029
13030 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * text.C (getVisibleRow): adjust
13033
13034         * font.[Ch] (rectText): new method, metrics
13035         (buttonText): new method, metrics
13036
13037         * PainterBase.[hC]: make rectText and buttonText always draw and take
13038         fewer paramteres.
13039
13040 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13041
13042         * ToolbarDefaults.C (read):
13043         * MenuBackend.C (read): allow escaping in all strings
13044
13045         * BufferView_pimpl.C (insertAndEditInset): new method.
13046         (Dispatch): use insertAndEditInset whenever appropriate.
13047
13048         * BufferView_pimpl.C (insertNote): removed
13049
13050         * BufferView_pimpl.C (smartQuote): new method, moved from
13051         BufferView; if an insetquote cannot be inserted, insert a '"'
13052         character instead.
13053
13054         * BufferView2.C: remove insertCorrectQuote();
13055
13056         * lyxfunc.C (getStatus): Add support for all remaingin
13057         inset-insert lfuns.
13058
13059         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13060
13061         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13062         command (necessary to pass " as parameter of self-insert.
13063
13064         * text.C (selectWordWhenUnderCursor):
13065         (selectWord): add word_location parameter
13066         (selectWordWhenUnderCursor): same + remove special code for word
13067         boundary.
13068         (selectNextWord): use kind() to guess type of insetspecialchar,
13069         not latex().
13070
13071         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13072         (insertErtContents): create ert insets as collapsed.
13073         (readInset): better compatibility code for Info inset.
13074
13075 2001-07-20  Juergen Vigna  <jug@sad.it>
13076
13077         * lyxfunc.C (dispatch): use always LyXFind now!
13078
13079         * text2.C (init): add a reinit flag so that the LyXText can be
13080         reinited instead of deleted and reallocated (used in InsetText).
13081
13082         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13083
13084         * text.C: ditto
13085
13086         * text2.C: ditto
13087
13088 2001-07-18  Juergen Vigna  <jug@sad.it>
13089
13090         * text.C (selectNextWord): handle insets inside inset by calling
13091         always the bv->text functions so that we can go up the_locking_inset!
13092
13093         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13094         in strange locations when inside an inset!
13095
13096         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13097         handling to include insets.
13098
13099         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13100
13101 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * LyXAction.C (init):
13104         * commandtags.h:
13105         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13106         LIGATURE_BREAK, since the name is so stupid.
13107
13108 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13109
13110         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13111         InsetInfos.
13112
13113         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13114
13115         * sp_form.[Ch]: remove.
13116
13117         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13118
13119         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13120         InsetInfo.
13121
13122         * src/buffer.C (readInset): ditto.
13123
13124 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13125
13126         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13127         menuSeparator(), endOfSentenceDot(), ldots() and
13128         hyphenationPoint(), which are therefore removed.
13129         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13130
13131         * LyXAction.C (init):
13132         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13133
13134         * paragraph.C (getWord): removed.
13135
13136         * BufferView_pimpl.C (Dispatch): use last word or selection for
13137         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13138
13139         * lyx_main.C (queryUserLyXDir): do not ask before creating
13140         user_dir, except if it has been named explicitely.
13141
13142 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13143
13144         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13145         a document of zero size.
13146
13147 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13148
13149         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13150         approriately in the c-tor and in require().
13151         (getPackages): output the appropriate LaTeX for natbib support.
13152
13153         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13154         variables "use_natbib" and "use_numerical_citations" when reading the
13155         LyX file.
13156         (readInset): read the various natbib cite commands.
13157         (validate): white-space change.
13158
13159         * bufferparams.[Ch]: new variables "bool use_natbib" and
13160         "bool use_numerical_citations".
13161         (writeFile): output them in the LyX file.
13162
13163 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13164
13165         * lyxfunc.C (getStatus): add support for all the inset insertion
13166         commands.
13167
13168         * text2.C (insertInset):
13169         * paragraph.C (insetAllowed):
13170         * BufferView_pimpl.C (insertInset): update to take in account the
13171         renaming of insertInsetAllowed
13172
13173         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13174
13175         * text2.C (getInset): new method. returns inset at cursor position.
13176
13177         * BufferView_pimpl.C (Dispatch): changes because of this.
13178
13179         * LyXAction.C (init): rename open-stuff to inset-toggle.
13180
13181         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13182
13183         * text2.C (toggleInset): renamed from openStuff; use
13184         Inset::open().
13185
13186 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13187
13188         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13189
13190         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13191
13192 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13193
13194         * buffer.C (readLyXformat2): Add filename to the error dialog
13195
13196 2001-07-18  Juergen Vigna  <jug@sad.it>
13197
13198         * tabular.C (GetCellNumber): put an assert here instead of the check!
13199
13200 2001-07-17  Juergen Vigna  <jug@sad.it>
13201
13202         * BufferView_pimpl.C (toggleSelection): adapted too.
13203
13204         * text.C (selectNextWord): adapted for use with insets.
13205         (selectSelectedWord): ditto
13206
13207 2001-07-17  Juergen Vigna  <jug@sad.it>
13208
13209         * sp_spell.C (PSpell): fix initialitation order.
13210
13211 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13212
13213         * paragraph.C: spacing
13214
13215 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13216
13217         * sp_spell.C: repair language selection for pspell
13218
13219 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13220
13221         * lyxfunc.h: change more methods to begin with lower char.
13222
13223 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13224
13225         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13226         for unknown layouts.
13227
13228 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13229
13230         * buffer.C (readLyXformat2): Generate an error dialog if there are
13231         unknown layouts.
13232
13233 2001-07-16  Juergen Vigna  <jug@sad.it>
13234
13235         * sp_spell.C: always compile ISpell part.
13236
13237         * lyxrc.C: added use_pspell entry and it's handling.
13238
13239 2001-07-13  Juergen Vigna  <jug@sad.it>
13240
13241         * sp_spell.C: removed double includes.
13242
13243 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13244
13245         Consistent use of Lsstream.h:
13246         * Lsstream.h: added using std::stringstream for consistencies sake.
13247
13248         * buffer.C: removed using std::stringstream
13249
13250         * lyxfont.C (stateText):
13251         * paragraph.C (asString):
13252         * text.C (selectNextWord, selectSelectedWord):
13253         * text2.C (setCounter):
13254         * vspace.C (asString, asLatexString):
13255         std::ostringstream -> ostringstream.
13256
13257 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13258
13259         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13260         * commandtags.h: add LFUN_HELP_ABOUTLYX
13261         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13262
13263 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13264
13265         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13266         cursorToggle()
13267         * lyx_gui_misc.C: remove spellchecker
13268         * lyxfunc.C: showSpellchecker
13269         * sp_base.h: added
13270         * sp_ispell.h: added
13271         * sp_pspell.h: added
13272         * sp_spell.C: added
13273         * sp_form.[Ch]: removed
13274         * spellchecker.[Ch]: removed
13275
13276 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13277
13278         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13279         is set.
13280         (simpleTeXSpecialChars): Simply print the input character without
13281         any special translation if pass_thru is set.
13282
13283         * layout.h: Added bool pass_thru to layout class for being able to
13284         implement pass through of a paragraph for Literate Programming.
13285
13286         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13287         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13288         * layout.C (Read): add "passthru" to list of layout tags and add
13289         code to set the pass_thru boolean when it is read.
13290
13291 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13292
13293         * trans_decl.h: remove allowed from KmodInfo
13294
13295         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13296         remove allowed code
13297         (Load): adjust
13298
13299         * paragraph_pimpl.C (erase): use boost::prior
13300
13301         * Painter.C (text): use data() instead of c_str() when length is
13302         also provided.
13303         * WorkArea.C (putClipboard): ditto
13304         * font.h (width): ditto
13305
13306         * BufferView2.C: use it-> instead of (*it). for iterators
13307         * texrow.C: ditto
13308         * paragraph_pimpl.C: ditto
13309         * paragraph.C: ditto
13310         * minibuffer.C: ditto
13311         * language.C: ditto
13312         * kbmap.C: ditto
13313         * encoding.C: ditto
13314         * counters.C: ditto
13315         * converter.C: ditto
13316         * chset.C: ditto
13317         * Variables.C: ditto
13318         * TextCache.C: ditto
13319         * MenuBackend.C: ditto
13320         * LyXAction.C: ditto
13321         * LColor.C: ditto
13322         * FloatList.C: ditto
13323         * DepTable.C: ditto
13324         * ColorHandler.C (LyXColorHandler): ditto
13325
13326 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13329
13330         * text2.C (openStuff): reintroduce this method (which had been
13331         nuked in NEW_INSETS frenzy).
13332
13333         * lyxfunc.C (Dispatch): when an action has not been handled, use
13334         its name in the error message, not its number.
13335
13336         * paragraph.C (inInset): change method name to begin with lowercase.
13337
13338         * undo_funcs.C:
13339         * text2.C: updates because of this.
13340
13341 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13342
13343         * ToolbarDefaults.C (add): add spaces in error message
13344
13345 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13346
13347         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13348         (readLyXformat2): rename return_par to first_par, use lyxlex's
13349         pushToken and remove the manual push handling.
13350         (parseSingleLyXformat2Token): add another ert comp. variable:
13351         in_tabular, rename return_par to first_par. handle newlines better
13352
13353 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13356
13357 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13358
13359         * text2.C (getParFromID): removed
13360
13361         * buffer.C (getParFromID): new method moved form lyxtext.
13362         * BufferView2.C (insertErrors): adjust
13363         (setCursorFromRow): adjust
13364         * BufferView_pimpl.C (restorePosition): adjust
13365         * lyxfunc.C (Dispatch): adjust
13366         * undo_funcs.C (textUndo): adjust
13367         (textRedo): adjust
13368         (textHandleUndo): adjust
13369         (textHandleUndo): adjust
13370
13371 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13372
13373         * buffer.C: up' the LYX_FORMAT
13374
13375         * lyxfont.h: turn NO_LATEX on as default
13376
13377         * buffer.C (insertErtContents): new methods of tex style compability.
13378         (parseSingleLyXformat2Token): use it several places.
13379         * tabular.C (OldFormatRead): and here
13380
13381 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * text2.C: remove some commented code.
13384         reindent file.
13385
13386         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13387         * trans.C: changes because of the above.
13388
13389 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13390
13391         * text2.C (setCounter): Fix counters bug with bibliography layout.
13392
13393 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13396         own member functions
13397         (simpleTeXSpecialChars): ditto
13398
13399 2001-07-06  Juergen Vigna  <jug@sad.it>
13400
13401         * a lot of files: changed the access to LyXText::status and the
13402         call of undo-functions.
13403
13404         * undo.[Ch]: added a inset_id to the undo informations.
13405
13406         * undo_funcs.[Ch]: added and moved here all undo functions.
13407
13408         * lyxtext.h: give the status enum a weight, made status_ a private
13409         variable and made accessor functions for it, removed the whole bunch
13410         of undo-functions as they are now in their own file, make some
13411         functions publically available. Added function ownerParagraph with
13412         int parameter.
13413
13414         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13415         made InInset() a const function, added getParFromID() function.
13416
13417         * buffer.[Ch]: added const version for inset_iterator functions,
13418         added getInsetFromID() function.
13419
13420         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13421         changed undo functions for new version.
13422
13423 2001-07-05  Juergen Vigna  <jug@sad.it>
13424
13425         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13426         unknow mechanism does not call the proper constructor but only this
13427         one also if I request the other!?
13428
13429 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13432
13433         * text2.C (LyXText): use initialization lists.
13434
13435         * lyxtext.h (Selection): initialize set_ and mark_
13436         (init): remove method
13437
13438 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13439
13440         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13441
13442 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13443
13444         * screen.[Ch]: change method names to begin with lowercase
13445
13446         * BufferView_pimpl.C (updateScrollbar): simplify further and
13447         hopefully make it a bit faster.
13448
13449 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13450
13451         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13452         calling directly xforms functions.
13453
13454         * Painter.C (Painter):
13455         * lyx_cb.C (MenuWrite):
13456         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13457         fl_display.
13458
13459         * lyx_gui.C: remove bogus guiruntime extern declaration.
13460
13461 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13462
13463         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13464         in NEW_INSETS
13465         (redoDrawingOfParagraph): ditto
13466         (redoParagraphs): ditto
13467         (cutSelection): don't create a object for CutAndPaste use the
13468         static method directly
13469         (pasteSelection): ditto
13470
13471         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13472         LyXview (+ rename)
13473
13474 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13475
13476         * modifications to some other files because of this.
13477
13478         * Makefile.am (lyx_SOURCES): add XFormsView
13479
13480         * XFormsView.[Ch]: new files
13481
13482         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13483         the main window. Move the gui dependent stuff to XFormsView
13484
13485 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13486
13487         * tabular.C (GetCellInset): update cur_cell also in the row/col
13488         version of this function.
13489
13490         * lyxfunc.C: no need to include figure_form.h here.
13491
13492         * FontLoader.h:
13493         * lyxfunc.h:
13494         * lyxscreen.h:
13495         * text2.C:
13496         * lyxvc.C: no need to include forms.h here.
13497
13498 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13501
13502         * lyxfunc.C (Dispatch):
13503         * Spacing.C (set):
13504         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13505         constructor argument.
13506
13507 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * paragraph.C (Paragraph): dont't clear, and just set layout.
13510         (makeSameLayout): use params's copy contructor.
13511
13512         * ParagraphParameters.[Ch] (makeSame): delete method
13513
13514 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * Variables.[Ch]: fix indentation, rename set to isSet
13517
13518 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * lyxfunc.C (Dispatch): fix typo
13521
13522 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13523
13524         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13525         upper_bound.
13526
13527         * bufferlist.C: include assert.h for emergencyWrite().
13528
13529 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13532           give up at last (bug #425202) !
13533
13534 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * lyx_gui_misc.C:
13537         * sp_form.h:
13538         * sp_form.C:
13539         * spellchecker.h:
13540         * spellchecker.C: strip spellchecker options and bring up
13541           preferences tab instead
13542
13543 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13544
13545         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13546         the istringstream constructor
13547
13548 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13549
13550         * paragraph.C (getLayout): fix return value
13551
13552         * paragraph.h: do not declare getLayout as inline.
13553
13554         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13555
13556 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13557
13558         * lyxcursor.h (operator<): new func
13559         (operator>): new func
13560         (operator>=): new func
13561         (operator<=): new func
13562
13563         * text.C (changeCase): use selection.start and selection.end
13564         (changeRegionCase): require from to be <= to. Require par to be a
13565         valid paragraph.
13566
13567         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13568
13569 2001-06-27  Juergen Vigna  <jug@sad.it>
13570
13571         * text.C (cursorLeftOneWord): changed to return the cursor and added
13572         overlay with BufferView * parameter which calls this one.
13573         (getWord): added
13574         (selectWord): use new getWord function.
13575         (changeCase): renamed from changeWordCase as and extended to work
13576         also on selections.
13577
13578         * lyxtext.h: added enum word_location
13579
13580         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13581         changeCase as this operates now also on selections.
13582
13583 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13584
13585         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13586
13587         * many files: send debug output to Debug::INFO instead of
13588         Debug::ANY.
13589
13590         * converter.C (View):
13591         (Convert):
13592         (Move): send debug output to Debug::FILES instead of console.
13593
13594 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13595
13596         * lyxfunc.C (getStatus): use func_status
13597
13598         * func_status.h: new header, describing the results of
13599         LyXFunc::getStatus;
13600
13601         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13602         LFUN_MATH_HALIGN.
13603
13604 2001-06-25  The LyX Project  <jug@sad.it>
13605
13606         * buffer.C (sgmlOpenTag):
13607         (sgmlCloseTag):
13608         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13609
13610 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13611
13612         * text2.C: remove some dead code
13613
13614         * tabular.C (GetCellInset): store the last cell checked (gotten)
13615
13616         * tabular.h: add the helper for the speedup
13617
13618         * lyxtext.h: remove some dead code
13619
13620 2001-06-26  The LyX Project  <Asger>
13621
13622         * paragraph.C: Change export to LaTeX of alignment to
13623         \begin{center} and family for better roundtrip work with reLyX.
13624
13625         * Tune the math drawing a bit.
13626
13627 2001-06-25  The LyX Project  <Asger>
13628
13629         * LColor.C (LColor): New color for math background. New color
13630         for buttons.
13631
13632 2001-06-25  The LyX Project  <jug@sad.it>
13633
13634         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13635
13636         * lyxfunc.C (Open):
13637         * bufferlist.C (newFile): do not restrict to files ending with
13638         .lyx
13639
13640         * BufferView_pimpl.C (MenuInsertLyXFile):
13641
13642 2001-06-24  The LyX Project  <jug@sad.it>
13643
13644         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13645         of compare_no_case
13646
13647 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13648
13649         * lyxtext.h: rename most methods to begin with a small char.
13650         Lots of changes because of this.
13651
13652         * paragraph.C (Paragraph): do not call fitToSize
13653         (erase): call Pimpl::erase
13654         (insertChar): call Pimpl::insertChar
13655         (insertInset): call Pipl::insertInset
13656         (breakParagraph): do not call fitToSize
13657         (breakParagraphConservative): do not call fitToSize
13658         (fitToSize): remove method
13659
13660         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13661
13662 2001-06-24  The LyX Project  <Asger>
13663
13664         * Fix Qt compilation^2
13665
13666 2001-06-24  The LyX Project  <jug@sad.it>
13667
13668         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13669         depthHook(getDepth()-1).
13670
13671         * paragraph.h:
13672         * ParagraphParameters.h:
13673         * ParameterStruct.h: change type of depth to unsigned int ==
13674         depth_type. Many adaptations to other files before of that.
13675
13676 2001-06-24  The LyX Project  <Asger>
13677
13678         * Fix Qt compilation.
13679
13680 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13681
13682         * paragraph.h: renamed several methods to begin with small letter.
13683         several changes to many parts of the code because of this.
13684
13685 2001-06-23  The LyX Project  <jug@sad.it>
13686
13687         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13688         rewritten to discard all double spaces when KeepEmpty is off
13689         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13690         to only handle newlines but not fiddle with spaces and friends.
13691
13692         * lyxfunc.C (MenuNew): when doing 'new from template', use
13693         template_path as default directory
13694
13695 2001-06-23  The LyX Project  <Asger>
13696
13697         * Clean-up of header file includes all over
13698         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13699
13700 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13701
13702         * paragraph.h: renamed from lyxparagraph.h
13703
13704 2001-06-23  Asger  <lyx@violet.home.sad.it>
13705
13706         * Buffer.h: Removed Buffer::resize
13707         * BufferList.h: Removed BufferList::resize
13708         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13709         the document lazily when we change the width, or the font settings.
13710
13711 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13712
13713         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13714
13715 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13716
13717         * buffer.h: remove out of date comment
13718
13719 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13720
13721         * lyxscreen.h:
13722         * screen.C: fix "theoretical" GC leak
13723
13724 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * LaTeX.C (scanAuxFile):
13727         (deplog): remove trailing \r when reading stream (useful under
13728         win32)
13729
13730 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13731
13732         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13733         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13734         and BufferView::theLockingInset(Inset*), so should use them and not
13735         access bv_->text->the_locking_inset directly.
13736
13737         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13738
13739 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13740
13741         * Makefile.am:
13742         * tex-defs.h: remove old unused file
13743
13744 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * BufferView_pimpl.C: fix typo, remove minibuffer message
13747           when buffer has loaded
13748
13749 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13750
13751         * lyxfunc.C (Dispatch): use stringstream
13752         (MenuNew): use stringstream
13753         (Open): use stringstream
13754
13755         * importer.C (Import): use stringstream
13756
13757         * bufferview_funcs.C (CurrentState): use stringstream
13758
13759         * LaTeX.C (run): use stringstream
13760
13761         * BufferView_pimpl.C (savePosition): use stringstream
13762         (restorePosition): use stringstream
13763         (MenuInsertLyXFile): use stringstream
13764
13765 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13766
13767         * BufferView.C:
13768         * Bullet.C:
13769         * ColorHandler.C:
13770         * FontInfo.C:
13771         * FontLoader.C:
13772         * LColor.C:
13773         * LaTeXFeatures.C:
13774         * Painter.C:
13775         * gettext.C:
13776         * lyx_gui_misc.C:
13777         * lyxserver.C:
13778         * vspace.C: removed // -*- C++ -*- as first line.
13779
13780         * lyxfind.h:
13781         * version.h: added // -*- C++ -*- as first line.
13782
13783 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13784
13785         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13786
13787         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13788         of string
13789
13790 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13793         of floats.
13794
13795 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13796
13797         * gettext.C: include LString.h even when --disable-nls is on.
13798
13799 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13800
13801         * converter.h (Get): changed argument type from int to
13802         FormatList::size_type to avoid unnecessary conversion.
13803
13804         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13805         before using it.
13806
13807 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * gettext.h: include LString.h even when --disable-nls is on.
13810
13811 2001-06-07  Juergen Vigna  <jug@sad.it>
13812
13813         * text.C (BreakAgain): subst spaces with tabs.
13814
13815         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13816         (resizeInsetsLyXText): set force on resizeLyXText.
13817
13818 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13819
13820         * gettext.h (gettext_init):
13821         (locale_init): use a real definition instead of a macro
13822
13823 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13824
13825         * Bufferview_pimpl.C:
13826         * LColor.h:
13827         * LColor.C: further lcolor tidies
13828
13829 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * BufferView_pimpl.C (updateScrollbar): simplify.
13832
13833         * BufferView2.C: don't include insets/insetinfo.h, change
13834         prototype for insertInset and call the Pimpl version. let
13835         updateInset call Pimpl version.
13836
13837         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13838         gotoInset to BufferView::Pimpl
13839
13840 2001-06-01  Juergen Vigna  <jug@sad.it>
13841
13842         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13843         inside a LockingInset (is the update needed at all?).
13844
13845 2001-05-31  Juergen Vigna  <jug@sad.it>
13846
13847         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13848         here not the old one otherwise how should we compare it afterwards
13849         if it's the same!
13850
13851 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * lyxfont.C:
13854         * tabular.C:
13855         * tabular-old.C:
13856         * FontInfo.C: bring C functions into global namespace when
13857         necessary
13858
13859 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * LString.h: make sure config.h has been loaded before LString.h.
13862
13863         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13864         (one for each char read by EatLine!).
13865
13866         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13867         variables.
13868
13869 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13870
13871         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13872         to the same as the par we break from
13873
13874 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13877
13878         * MenuBackend.C (expand): also create menu entries for wide
13879         versions of the floats.
13880
13881         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13882
13883         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13884
13885         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13886         frontends/Makefile.am
13887
13888         * text2.C: adjust
13889         * text.C: adjust
13890
13891
13892         * tabular.C (getTokenValue): add std::
13893
13894         * tabular-old.C (getTokenValue): add std::
13895         (getTokenValue): ditto
13896         (getTokenValue): ditto
13897
13898         * screen.C (ToggleSelection): adjust
13899
13900         * lyxtext.h: put selection cursors inside a Selection struct.
13901
13902         * lyxfunc.C (moveCursorUpdate): adjust
13903
13904         * lyxfont.C (latexWriteStartChanges): add std::
13905
13906         * lyxfind.C: adjust
13907
13908         * font.h: delete with(char const *, LyXFont const &)
13909
13910         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13911
13912         * FontInfo.C (getFontname): add std::
13913
13914         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13915         (workAreaButtonPress): adjust
13916         (tripleClick): adjust
13917         (update): adjust
13918         (moveCursorUpdate): adjust
13919         (Dispatch): adjust
13920
13921         * BufferView2.C (gotoInset): adjust
13922
13923 2001-05-30  Juergen Vigna  <jug@sad.it>
13924
13925         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13926         to check pspell I add this as default as I now have new pspell
13927         libraries and they seem to use this.
13928
13929 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * text2.C (CutSelection): make the cursor valid before the call to
13932         ClearSelection.
13933
13934 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13935
13936         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13937         relied on 0 terminated strings and other horrors. Bug found due to
13938         the new assert in lyxstring!
13939
13940         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13941         KP_ keys.
13942
13943 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13946         to latinkeys.bind.
13947
13948         * lyxfunc.C (processKeySym): change method of getting to the
13949         self-insert char.
13950
13951         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13952         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13953         * BufferView_pimpl.[Ch]: here as private methods.
13954
13955 2001-05-28  Juergen Vigna  <jug@sad.it>
13956
13957         * text.C (SetHeightOfRow): added the update() call again as it is
13958         needed to initialize inset dimensions!
13959
13960 2001-05-16  Juergen Vigna  <jug@sad.it>
13961
13962         * text2.C (SetCharFont): Add new function with BufferView * and
13963         bool toggleall parameters for setting insets internal fonts.
13964         (SetFont): Freeze the undo as we may change fonts in Insets and
13965         all this change should be inside only one Undo!
13966
13967         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13968         setting font's in insets as for them we have the SetFont function!
13969
13970 2001-05-15  Juergen Vigna  <jug@sad.it>
13971
13972         * text2.C (ClearSelection): to be sure we REALLY don't have any
13973         selection anymore!
13974
13975         * tabular.C (TeXCellPreamble): fixed the left border problem for
13976         multicolumn cells.
13977
13978 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13979
13980         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13981         dependancy file
13982
13983 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13984
13985         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13986         LFUN_BREAKPARAGRAPH.
13987
13988         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13989         help test to "internal only", similar for LFUN_INSERT_URL
13990
13991         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13992         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13993         auto_region_delete and deadkeys.
13994
13995 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13996
13997         * LColor.h:
13998         * LColor.C: remove some dead entries, tidy a little
13999
14000 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14003         commented code.
14004         (Dispatch): implement LFUN_ESCAPE
14005
14006         * commandtags.h: add LFUN_ESCAPE
14007
14008         * LyXAction.C (init): add entry for LFUN_ESCAPE
14009
14010         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14011         Remove commented code.
14012         (insertNote): moved here
14013         (open_new_inset): moved here
14014
14015         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14016         BufferView_pimpl
14017
14018 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * kbmap.C (findbinding): clean it up and make it work correctly.
14021
14022         * lyx_main.C (init): do not pass argc and argv as parameters
14023
14024 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14025
14026         * buffer.C: fix path for OS/2 & Win32
14027
14028         * lyx_gui.C:
14029         * lyx_main:
14030         * lyx_main.C: Added os:: class.
14031
14032         * os2_defines.h: update
14033
14034 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14037         better by trying again with reduced state.
14038
14039 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14040
14041         * lyxrc.C (read): print error about invalid key sequence only when
14042         debugging (because not all latinX keysyms are known to some X
14043         servers)
14044
14045         * kbsequence.C (getiso): add a few std:: qualifiers
14046         (getiso): comment out extra return statement.
14047
14048 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14049
14050         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14051         handling.
14052         (Dispatch): enhance the accent inset a bit. (not perfect)
14053
14054 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14055
14056         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14057
14058 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14059
14060         * bufferlist.C (emergencyWrite): fix assert() call
14061
14062 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14063
14064         * text.C (InsertChar): Added trivial patch to only send the "you
14065         can not do multiple spaces this way" message once during a
14066         session.
14067
14068 2001-05-08  Baruch Even  <baruch@lyx.org>
14069
14070         * Makefile.am: Changed order of libraries to get LyX to link properly
14071         with the gnome frontend.
14072
14073 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * LaTeXFeatures.h: add a std:: qualifier
14076
14077 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14078
14079         * paragraph.C (String): use stringstream
14080
14081 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14082
14083         * paragraph.C (writeFile): remove footflag arg
14084
14085         * buffer.C (makeLaTeXFile): use stringstream
14086         (latexParagraphs): remove footnot gurba
14087
14088         * LaTeXFeatures.C (getPackages): use stringstream
14089         (getMacros): likewise
14090         (getTClassPreamble): likewise
14091         (getFloatDefinitions): new method
14092
14093         * paragraph.C (writeFile): reindent
14094         (Erase): reindent
14095
14096         * WorkArea.h: revert the xpos + etc changes.
14097
14098         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14099
14100         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14101
14102         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14103         (pasteSelection): likewise
14104         * text2.C (CreateUndo): likewise
14105
14106 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14107
14108         * minibuffer.C (peek_event): temporarily reduce the functionality
14109         of the minibuffer (to allow args on lfuns)
14110
14111         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14112         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14113
14114         * buffer.C (readInset): add compability reading of old float
14115         lists, add reading of new style float list.
14116         (readInset): avoid reevaluation of inscmd.getCmdName()
14117         (getLists): reindent
14118
14119         * MenuBackend.C (MenuItem): implement parsing of
14120         md_floatlistinsert and md_floatinsert.
14121         (expand::LastFiles): move initalizaton of iterators out of loop,
14122         avoid reevaluation.
14123         (expand::Documents): introduce typdedef vector<string> Strings,
14124         and use it.
14125         (expand::ExportFormats): introduce typedef vector<Format const *>
14126         Formats, and use it.
14127         (expand): implement FloatListInsert and FloatInsert.
14128
14129         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14130         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14131         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14132
14133         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14134         handling.
14135         (Dispatch::LFUN_FLOAT_LIST): implement
14136
14137 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14138
14139         * LaTeX.C (run): Fix problem with --export code.
14140
14141 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14142
14143         * BufferView.[Ch] (workarea): removed.
14144         (getClipboard) new method; wrapper for workarea()->getClipboard()
14145
14146         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14147         bug.
14148
14149         * WorkArea.h (width, height, xpos, ypos): These methods all
14150         returned the dimensions of the work_area sub-area of WorkArea,
14151         resulting in a position error if the WorkArea were resized. Now
14152         return the dimensions of the entire WorkArea.
14153
14154         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14155
14156 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14157
14158         * LaTeX.C (deplog): correct the syntax of regex reg1
14159
14160 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * undo.C: remove !NEW_INSETS cruft
14163
14164 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14165
14166         * text2.C: remove !NEW_INSETS cruft
14167
14168         * text.C: remove !NEW_INSETS cruft
14169
14170         * tabular.C: remove !NEW_INSETS cruft
14171
14172         * spellchecker.C: remove !NEW_INSETS cruft
14173
14174         * lyxtext.h: remove !NEW_INSETS cruft
14175
14176         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14177
14178         * lyxfunc.C: remove !NEW_INSETS cruft
14179
14180         * lyxfind.C: remove !NEW_INSETS cruft
14181
14182         * lyx_cb.C: remove !NEW_INSETS cruft
14183
14184         * figureForm.C: remove  !NEW_INSETS cruft
14185
14186         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14187
14188         * buffer.[Ch]: remove !NEW_INSETS cruft
14189
14190         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14191
14192         * CutAndPaste.C: remove !NEW_INSETS cruft
14193
14194         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14195
14196         * BufferView2.C: remove !NEW_INSETS cruft
14197
14198         * BufferView.h: remove !NEW_INSETS cruft
14199
14200 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * Lsstream.h: include LString.h before the sstream headers to
14203         fix problem with gcc 2.95.3 and lyxstring
14204
14205 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * lyx_main.C: add using directives when needed for C functions
14208         declared in std:: namespace.
14209
14210 2001-04-27  Juergen Vigna  <jug@sad.it>
14211
14212         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14213         (SetHeightOfRow): comment out the update call should not be needed!
14214
14215 2001-04-13  Juergen Vigna  <jug@sad.it>
14216
14217         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14218         (LyXTabular): tried to minimize operator= operations (and realized
14219         hopfully Lars wish).
14220
14221 2001-04-27  Juergen Vigna  <jug@sad.it>
14222
14223         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14224
14225 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14228
14229         * buffer.C (readInset): hack to make listof algorithm work
14230
14231         * BufferView_pimpl.C: hack to make listof algorithm work
14232
14233 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14234
14235         * LyXAction.C: removed all !NEW_INSETS cruft
14236         (init): moved lfun_item in method
14237
14238         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14239
14240 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14241
14242         * BufferView2.C (theLockingInset): white space.
14243
14244 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14245
14246         * minibuffer.C: include <iostream>
14247
14248         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14249
14250         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14251
14252         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14253
14254         * text.[Ch] (TransposeChars): new method
14255
14256 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * call message directly through LyXView instead of through LyXFunc
14259         * BufferView2.C: adjust
14260         * BufferView_pimpl.C: adjust
14261         * FontLoader.C: adjust
14262         * buffer.C: adjust
14263         * bufferview_funcs.C: adjust
14264         * converter.C: adjust
14265         * figureForm.C: adjust
14266         * importer.C: adjust
14267         * lyx_cb.C: adjust
14268         * lyx_gui_misc.C: adjust
14269         * lyxfunc.C: adjust
14270         * lyxvc.C: adjust
14271         * text2.C: adjust
14272         + more files in subdirs
14273
14274         * lyxparagraph.h (size): move up int file
14275         (GetLayout): ditto
14276
14277         * adjust all uses of Assert to lyx::Assert.
14278
14279         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14280         lyxfunctional in namespace lyx
14281         * layout.C (hasLayout): ditto
14282         (GetLayout): ditto
14283         (GetLayout): ditto
14284         (delete_layout): ditto
14285         (NumberOfClass): ditto
14286         * converter.C (GetFormat): ditto
14287         (GetNumber): ditto
14288         (Add): ditto
14289         (Delete): ditto
14290         (SetViewer): ditto
14291         * bufferlist.C (getFileNames): ditto
14292         (emergencyWriteAll): ditto
14293         (exists): ditto
14294         (getBuffer): ditto
14295         * MenuBackend.C (hasSubmenu): ditto
14296         (hasMenu): ditto
14297         (getMenu): ditto
14298         * BufferView_pimpl.C (getInsetByCode): ditto
14299
14300 2001-04-18  Juergen Vigna  <jug@sad.it>
14301
14302         * vspace.C (asLatexString): fixed the 100% problem.
14303
14304 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14305
14306         * lyxfunc.C (Dispatch):
14307         * minibuffer.C:
14308         * minibuffer.h: add a few std:: qualifiers
14309
14310 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14311
14312         * minibuffer.[Ch]: reimplement so that commands is initiated and
14313         run from lyxfunc, simplified som handling, and made the completion
14314         and history code for complete. wip.
14315
14316         * lyxfunc.C (processKeySym): call message
14317         (miniDispatch): new temporary method
14318         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14319         (LFUN_MESSAGE): implement
14320         (LFUN_MESSAGE_PUSH): implement
14321         (LFUN_MESSAGE_POP): implement
14322         (initMiniBuffer): the initial/defualt minibuffer message.
14323
14324         * lyxfont.[Ch]: inline some more getters
14325
14326         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14327
14328         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14329
14330         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14331         (AutoSave): use LFUN_MESSAGE
14332         (Reconfigure): ditto
14333
14334         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14335
14336         * figureForm.C: use LFUN_MESSAGE
14337
14338         * converter.C (runLaTeX): use LFUN_MESSAGE
14339
14340         * bufferview_funcs.C: use LFUN_MESSAGE
14341         (Melt): ditto
14342         (changeDepth): ditto
14343
14344         * bufferparams.h: use boost::
14345
14346         * bufferlist.h: inherit privately from noncopyable
14347
14348         * bufferlist.C (loadLyXFile): remove some commented code.
14349
14350         * buffer.C (runChktex): use LFUN_MESSAGE
14351
14352         * ShareContainer.h: inherit privately from noncopyable
14353
14354         * ParagraphParameters.[hC] (depth): inline it.
14355
14356         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14357         methods.
14358         (message): new method
14359         (messagePush): ditto
14360         (messagePop): ditto
14361         (show): init minibuffer
14362         (showState): direct call
14363
14364         * LaTeX.[Ch]: inherit privately from noncopyable
14365         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14366         instead of WriteStatus.
14367
14368         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14369
14370         * BufferView_pimpl.C (buffer): don't init minibuffer
14371         (workAreaButtonPress): use LFUN_MESSAGE
14372         (workAreaButtonRelease): ditto
14373         (savePosition): ditto
14374         (restorePosition): ditto
14375         (MenuInsertLyXFile): ditto
14376         (workAreaExpose): don't init minibuffer
14377         (update): remove commented code, simplify
14378
14379         * BufferView2.C (openStuff): use LFUN_MESSAGE
14380         (toggleFloat): ditto
14381         (menuUndo): ditto
14382         (menuRedo): ditto
14383         (copyEnvironment): ditto
14384         (pasteEnvironment): ditto
14385         (copy): ditto
14386         (cut): ditto
14387         (paste): ditto
14388         (gotoInset): ditto
14389         (updateInset): remove some commented code
14390
14391         * lastfiles.h: inherit privately from noncopyable
14392         * layout.h: ditto
14393         * lyx_gui.h: ditto
14394         * lyx_main.h: ditto
14395         * lyxlex.h: ditto
14396         * lyxlex_pimpl.h: ditto
14397
14398         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14399         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14400         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14401
14402         * LyXAction.h: inherit privately from noncopyable, add methods
14403         func_begin, func_end, returning iterators to the func map.
14404
14405         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14406         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14407         (func_begin): new method
14408         (func_end): new method
14409
14410         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14411         and not)
14412         (copySelection): ditto
14413         (pasteSelection): ditto
14414
14415         * BufferView.C: whitespace change
14416         * BufferView.h: inherit privately from noncopyable
14417
14418 2001-04-16  Allan Rae  <rae@lyx.org>
14419
14420         * tabular-old.C (l_getline):
14421         * spellchecker.C (sc_check_word):
14422         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14423         an unrecognised preprocessor directive.  So ensure they're wrapped.
14424
14425 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14426
14427         * src/exporter.C (Export): Give an error message when path to file
14428         contains spaces.
14429
14430 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14431
14432         * LaTeX.C (deplog): Always check that foundfile exists.
14433
14434 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14435
14436         * lyx_main.h:
14437         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14438
14439 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * tabular.[Ch] (getLabelList): implement new method
14442
14443         * minibuffer.h: comment ouf setTiimer
14444
14445         * minibuffer.C (ExecutingCB): constify res
14446         (peek_event): constify s
14447         (Set): constify ntext
14448         (Init): constify nicename
14449
14450         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14451
14452         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14453         (savePosition): use two params to Minibuffer::Set
14454         (restorePosition): ditto
14455
14456 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14457
14458         * lyx_main.C: include language.h
14459
14460         * Makefile.am (lyx_main.o): add language.h
14461
14462 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14463
14464         * exporter.C:
14465         * paragraph.C:
14466         * screen.C:
14467         * tabular.C:
14468         * CutAndPaste.C: include gettext.h
14469
14470         * lyxfont.h: remove old hack with ON and OFF.
14471
14472         * lyxparagraph.h:
14473         * lyxfont.h: do not include language.h...
14474
14475         * BufferView2.C:
14476         * LaTeXFeatures.C:
14477         * Painter.C:
14478         * bufferview_funcs.C:
14479         * font.C:
14480         * lyxfont.C:
14481         * text.C:
14482         * text2.C:
14483         * trans_mgr.C:
14484         * paragraph.C: ... but do it here instead
14485
14486 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14489
14490         * tabular.C: small reformat
14491
14492         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14493         NEW_INSETS version
14494         (GetChar): ditto
14495         (BreakParagraph): ditto
14496         (SetOnlyLayout): ditto
14497         (SetLayout): ditto
14498
14499         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14500         with one arg less.
14501
14502         * lastfiles.C: removed most using decl, add std:: where needed
14503
14504         * buffer.C: ws changes
14505
14506         * MenuBackend.C (class compare_format): put into anon namespace
14507         (expand): constify label, names, action, action2
14508         (expand):
14509
14510         * text.C (SingleWidth): constify font
14511         (IsBoundary): constify rtl2
14512         (GetVisibleRow): constify ww
14513
14514         * LaTeX.C (deplog): constify logfile
14515
14516         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14517         start_x, end_x
14518         (workAreaExpose): constify widthChange, heightChange
14519
14520         * lyxrow.C (par): moved
14521         (height): moved
14522         (next): moved
14523         * lyxrow.h: as inlines here
14524
14525         * lyxfont.h (shape): moved from lyxfont.C
14526         (emph): moved from lyxfont.C
14527
14528         * lyxfont.C (LyXFont): use initialization list for all
14529         constructors
14530         (shape): move to lyxfont.h as inline
14531         (emph): move to lyxfont.h as inline
14532
14533
14534 2001-04-04  Juergen Vigna  <jug@sad.it>
14535
14536         * vspace.C: had to include stdio.h for use of sscanf
14537
14538 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14539
14540         * BufferView.h:
14541         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14542         independent of xforms.
14543
14544 2001-04-02  Juergen Vigna  <jug@sad.it>
14545
14546         * spellchecker.C: fixed namespace placing!
14547
14548 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14549
14550         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14551         the LyXParagraph * is 0.
14552
14553 2001-03-29  Juergen Vigna  <jug@sad.it>
14554
14555         * vspace.C: added support for %, c%, p%, l%.
14556         (stringFromUnit): added helper function.
14557         (asLatexString): changed to give right results for the %-values.
14558
14559         * buffer.C: convert the widthp in a width%.
14560
14561 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14564         figureForm.[Ch].
14565
14566         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14567         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14568
14569         * lyx_cb.[Ch]: see above.
14570
14571         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14572         form1.[Ch].
14573
14574         * form1.[Ch]:
14575         * lyx.[Ch]: replaced by figure_form.[Ch].
14576
14577         * lyx_gui.C:
14578         * lyx_gui_misc.C:
14579         * lyxfunc.C: changed headers associated with above changes.
14580
14581 2001-03-27  Juergen Vigna  <jug@sad.it>
14582
14583         * BufferView_pimpl.C: set the temporary cursor right!
14584
14585 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14586
14587         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14588
14589 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14590
14591         * LString.h: removed "using std::getline"!
14592
14593         * BufferView_pimpl.C (Dispatch): changes due to changes in
14594         InsetInclude::Params.
14595
14596         * buffer.C (tag_name): removed redundant break statements as they were
14597         producing lots of warnings with my compiler.
14598
14599 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * LString.h: add "using std::getline" when using the real <string>.
14602
14603 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14604
14605         * buffer.C: removed bitset usage.
14606         PAR_TAG moved to an anonymous name space.
14607         (tag_name): new funtion, also in the anonymous namespace.
14608         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14609         (makeDocBookFile): clean code. Completed transition from string arrays
14610         to string vectors.
14611         (SimpleDocBookOnePar): code clean.
14612
14613 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14614
14615         * tabular.C: add some comments.
14616
14617 2001-03-22  Juergen Vigna  <jug@sad.it>
14618
14619         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14620         compatibility read a bit and fixed bug with minipage in different
14621         depth.
14622
14623 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14624
14625         * buffer.C (pop_tag): removed.
14626         (push_tag): removed.
14627         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14628         array replaced with vector. Added support for CDATA sections.
14629         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14630         at any nest level.
14631         (makeDocBookFile): XML conformant declaration of CDATA section,
14632         fixed bug related to <emphasis> in the first paragraph char.
14633         (sgmlOpenTag): exclude empty tags.
14634         (sgmlCloseTag): ditto.
14635
14636         * buffer.h (pop_tag): removed.
14637         (push_tag): removed.
14638
14639 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14640
14641         * language.h (Languages): added size_type and size().
14642
14643 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14644
14645         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14646         response on compability reading of minipages. One probliem is that
14647         the old usage of minipages was «flertydig»
14648
14649         * several files here and in subdirs: don't use static at file
14650         scope use anon namespaces instead.
14651
14652 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14653
14654         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14655         LaTeX output. This is necessary for Literate document
14656         processing.
14657
14658 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14659
14660         * buffer.C: insert hfill when needed.
14661
14662         * tabular.C (l_getline): use string::erase, small whitespace change.
14663
14664         * BufferView_pimpl.C: try the anon namespace.
14665         * WorkArea.C: ditto
14666
14667 2001-03-16  Juergen Vigna  <jug@sad.it>
14668
14669         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14670         otherwise it won't open options-dialogs.
14671
14672         * buffer.C: honor pextraWidth(p) on converting minipages.
14673
14674         * tabular.C (l_getline): changed the functions to strip trailing \r.
14675
14676 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14677
14678         * BufferView_pimpl.C:
14679         * minibuffer..C: added "using SigC::slot" declaration.
14680
14681 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14682
14683         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14684
14685         * text2.C: ditto
14686
14687         * text.C: ditto
14688
14689         * paragraph.C: ditto
14690
14691         * lyxtext.h: NO_PEXTRA
14692
14693         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14694
14695         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14696         * ParameterStruct.h: ditto
14697         * ParagraphParameters.h: ditto
14698         * lyxparagraph.h: ditto
14699
14700 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14701
14702         * buffer.C: add compability for minipage alignment.
14703         (latexParagraphs): remove unwanted pextra check.
14704
14705         * several files: remove CXX_WORKING_NAMESPACES
14706
14707         * buffer.C (pop_tag): tie is in namespace boost
14708
14709         * BufferView.h: noncopyable is in namespace boost
14710         * lyxlex.h: ditto
14711         * lyx_main.h: ditto
14712         * lyx_gui.h: ditto
14713         * layout.h: ditto
14714         * lastfiles.h: ditto
14715         * bufferlist.h: ditto
14716         * ShareContainer.h: ditto
14717         * LyXView.h: ditto
14718         * LyXAction.h: ditto
14719         * LaTeX.h: ditto
14720
14721 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14722
14723         * Merging changes from BRANCH_MVC back into HEAD.
14724
14725         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14726
14727 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * BufferView_pimpl.C: change from intl.C
14730
14731         * combox.h:
14732         * combox.C:
14733         * Makefile.am: move combox.*
14734
14735         * form1.h:
14736         * form1.C:
14737         * lyx_gui.C:
14738         * intl.h:
14739         * intl.C: remove dialog (covered by prefs)
14740
14741 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14742
14743         * lyxfunc.C (Dispatch): removed redundant break statement.
14744
14745 2001-03-14  Juergen Vigna  <jug@sad.it>
14746
14747         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14748
14749 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14750
14751         * buffer.C: add hack to fix compability reading of minipages.
14752
14753 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14754
14755         * buffer.C (getLists): Cleanup.
14756
14757 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14758
14759         * lyxfont.C (update): don't honor toggleall on font size.
14760
14761 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14762
14763         * bmtable.c:
14764         * bmtable.h:
14765         * Makefile.am: moved to frontends/xforms/
14766
14767         * lyx_gui_misc.C:
14768         * lyxfunc.C:
14769         * BufferView_pimpl.C: changes for moved mathpanel
14770
14771 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * gettext.h: fix gettext_init() in --disable-nls
14774
14775 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14778
14779 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * lyx.C:
14782         * lyx.h: strip external form
14783
14784 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14785
14786         * BufferView_pimpl.C: add comment, destroySplash()
14787
14788 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14789
14790         * BufferView_pimpl.C:
14791         * LyXAction.C:
14792         * buffer.C:
14793         * commandtags.h:
14794         * lyxfunc.C: use re-worked insetinclude
14795
14796 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14797
14798         * buffer.C: add using std::stringstream.
14799
14800         * lyx_cb.C: readd using std::ios.
14801
14802         * buffer.C: add using std::map.
14803
14804         * BufferView_pimpl.C: add using std::vector.
14805
14806         * ShareContainer.h: add std:: to swap.
14807
14808         * buffer.h: add some typedefs
14809         * buffer.C (getLists): use them
14810         (getLists): renamed from getTocList.
14811         add a counter for the different float types and use it in the
14812         generated string.
14813         (getLists): use the same counter for the NEW_INSETS and the "non"
14814         NEW_INSETS
14815
14816         * lyx_cb.h: remove unused items, includes, using etc.
14817
14818         * ShareContainer.h: remove some commented code, add more comments
14819         and "documentation".
14820
14821 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14822
14823         * buffer.C (getTocList): make the list also when NEW_INSETS is
14824         defined.
14825
14826         * buffer.h: remove TocType
14827
14828         * buffer.C (getTocList): change to return a map<string,
14829         vector<TocItem> >, implement for dynamic number of list.
14830
14831         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14832         * text2.C (PasteSelection): adjust
14833         * CutAndPaste.C (pasteSelection): adjust
14834
14835         * FloatList.C (FloatList): update from the new_insets branch.
14836         * Floating.[Ch]: ditto
14837         * LaTeXFeatures.C: ditto
14838         * buffer.C: ditto
14839         * lyxlex_pimpl.C: ditto
14840
14841         * paragraph.C (Last): remove when NEW_INSETS is defined.
14842
14843         * other file: changes because of the above.
14844
14845 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14846
14847         * lyxparagraph.h: rename next to next_, previous to previous_,
14848         make them private for NEW_INSETS. Rename Next() to next(),
14849         Previous() to previous().
14850
14851         * other files: changes because of the above.
14852
14853 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14854
14855         * BufferView.h:
14856         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14857         problem.
14858
14859 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * main.C (main): pass lyx_localedir to gettext_init().
14862
14863         * gettext.h: remove locale_init and gettext_init macros
14864
14865         * gettext.C (locale_init): new function
14866         (gettext_init): new function
14867
14868         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14869         setlocale().
14870
14871 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14872
14873         * Moved credits to frontends:
14874         * credits.[Ch]: removed
14875         * credits_form.[Ch]: removed
14876         * lyx_gui_misc.C: remove credits stuff
14877         * Makefile.am:
14878
14879 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14880
14881         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14882
14883         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14884         unneeded destructor.
14885
14886         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14887         a standalone pointer again.
14888
14889         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14890
14891 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14892
14893         * Makefile.am:
14894         * filedlg.h:
14895         * filedlg.C:
14896         * LyXAction.C:
14897         * ToolbarDefaults.C:
14898         * bufferlist.C:
14899         * commandtags.h:
14900         * form1.C:
14901         * form1.h:
14902         * lyx_cb.C:
14903         * lyx_cb.h:
14904         * lyxfunc.h:
14905         * lyxfunc.C:
14906         * BufferView_pimpl.C: use new file dialog in GUII
14907
14908         * lyx_cb.h:
14909         * lyx_cb.C: remove LayoutsCB to Toolbar
14910
14911 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * ShareContainer.h (get): add std:: qualifier
14914
14915 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14916
14917         * ShareContainer.h: define a proper ShareContainer::value_type
14918         type (and use typename to please compaq cxx)
14919
14920 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14921
14922         * lyxparagraph.h: move serveral local vars to
14923         ParameterStruct/ParagraphParameters., use ShareContainer in
14924         FontTable., make vars in FontTable private and add getter and
14925         setter.
14926
14927         * paragraph.C: changes because of the above.
14928
14929         * lyxfont.h: remove copy constructor and copy assignment. (the
14930         default ones is ok), move number inside FontBits. move inlines to
14931         lyxfont.C
14932
14933         * lyxfont.C: add number to initializaton of statics, move several
14934         inlines here. constify several local vars. some whitespace
14935         cleanup. Dont hide outerscope variables.
14936
14937         * Spacing.h: add two new constructors to match the set methods.
14938
14939         * ShareContainer.h: new file, will perhaps be moved to support
14940
14941         * ParameterStruct.h: new file
14942
14943         * ParagraphParameters.h: new file
14944
14945         * ParagraphParameters.C: new file
14946
14947         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14948         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14949
14950         * BufferView_pimpl.C: ParagraphParameter changes.
14951         * buffer.C: Likewise.
14952         * bufferview_funcs.C: Likewise.
14953         * text.C: Likewise.
14954         * text2.C: Likewise.
14955
14956 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * lyxfind.C (LyXReplace): do not redefine default argument in
14959         implementation.
14960         (IsStringInText): ditto
14961         (SearchForward): ditto
14962         (SearchBackward): ditto
14963
14964 2001-03-06  Juergen Vigna  <jug@sad.it>
14965
14966         * lyxfind.C (IsStringInText): put parentes around expressions.
14967
14968 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14969
14970         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14971
14972 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14975
14976         * stl_string_fwd.h: add comment
14977
14978         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14979
14980         * tabular.h:
14981         * tabular.C: remove unused DocBook methods
14982
14983         * intl.C:
14984         * language.C:
14985         * paragraph.C:
14986         * buffer.C:
14987         killed DO_USE_DEFAULT_LANGUAGE
14988
14989 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * lyx_gui.C: do not include language.h.
14992
14993         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14994         arguments in function implementation.
14995
14996 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14997
14998         * BufferView_pimpl.C: add <ctime>
14999
15000 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15001
15002         * BufferView_pimpl.C: add using std::find_if
15003
15004 2001-02-27  José Matos  <jamatos@fep.up.pt>
15005
15006         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15007         by OnlyPath.
15008
15009 2001-02-11  José Matos  <jamatos@fep.up.pt>
15010
15011         * buffer.C (makeDocBookFile): command styles now have a parameter as
15012         "title" by default.
15013
15014 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15015
15016         * layout_forms.[Ch]: removed
15017         * lyx_cb.[Ch]: out character
15018         * lyx_gui.C: out character
15019         * lyx_gui_misc.C: out character
15020         * bufferview_funcs.C: : out character,
15021         added toggleall as parameter in ToggleAndShow
15022
15023 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15026
15027         * text2.C (SetCurrentFont): Disable number property at boundary.
15028
15029 2001-02-26  Juergen Vigna  <jug@sad.it>
15030
15031         * lyxfunc.C (getStatus): added a string argument override function so
15032         that this is correctly called from LyXFunc::Dispatch if it contains a
15033         do_not_use_argument which is used!
15034         (Dispatch): added check for "custom" export and call appropriate func.
15035
15036 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15037
15038         * lyxrc.C: Add language_command_local, language_use_babel and
15039         language_global_options.
15040
15041         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15042
15043         * buffer.C (makeLaTeXFile): Use language_use_babel and
15044         language_global_options.
15045
15046 2001-02-23  Juergen Vigna  <jug@sad.it>
15047
15048         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15049         which works with LyXText and putted it inside BufferView. Here now we
15050         only call for that part the BufferView::Dispatch() function.
15051
15052         * BufferView.C (Dispatch): added.
15053
15054         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15055         functions which needs to use a LyXText over from LyXFunc.
15056         (MenuInsertLyXFile): added
15057         (getInsetByCode): added
15058         (moveCursorUpdate): added
15059         (static TEXT): added
15060
15061 2001-02-22  Juergen Vigna  <jug@sad.it>
15062
15063         * BufferView_pimpl.C (update): call a status update to see if LyXText
15064         needs it.
15065
15066 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15067
15068         * vc-backend.C (revert): implement for CVS
15069         (getLog): implement for CVS
15070
15071 2001-02-20  Juergen Vigna  <jug@sad.it>
15072
15073         * text2.C (ClearSelection): added BufferView param for inset_owner call
15074
15075         * lyxfunc.C (TEXT): added this function and use it instead of
15076         directly owner->view()-text of getLyXText().
15077
15078 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15079
15080         * src/layout_forms.C: out preamble
15081         * src/layout_forms.h: out preamble
15082         * src/lyx_cb.C: out preamble
15083         * src/lyx_cb.h: out preamble
15084         * src/lyx_gui.C: out preamble
15085         * src/lyx_gui_misc.C: out preamble
15086         * src/lyxfunc.C: connect with guii preamble
15087
15088 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15089
15090         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15091
15092 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15095         whether to run bibtex.
15096
15097 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15100
15101 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15102
15103         * Makefile.am (lyx_SOURCES): removed bibforms.h
15104
15105         * vspace.h: doxygen
15106
15107         * text.C (GetVisibleRow): make several local vars const
15108
15109         * tabular.C: small cleanup.
15110
15111         * lyxserver.C (callback): use compare instead of strncmp
15112
15113         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15114         inlines to after class or to paragraph.C
15115
15116         * lyxfont.h: remove friend operator!=
15117
15118         * converter.h: move friend bool operator< to non friend and after
15119         class def.
15120
15121         * combox.h: small cleanup
15122
15123         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15124         to inlines after class def.
15125
15126         * buffer.C (pop_tag): use string operations instead of strcmp
15127
15128         * bmtable.c: doxygen, small cleanup
15129
15130         * LaTeX.h: remove friend operator==
15131
15132 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15133
15134         * screen.C:
15135         * lyxrc.[Ch]:
15136         * lyxfunc.C:
15137         * lyxfont.[Ch]:
15138         * lyx_cb.C:
15139         * intl.[Ch]:
15140         * commandtags.h:
15141         * buffer.C:
15142         * WorkArea.[Ch]:
15143         * LyXAction.C:
15144         * BufferView_pimpl.C:
15145         * BufferView.[Ch]: remove cruft
15146
15147 2001-02-14  Juergen Vigna  <jug@sad.it>
15148
15149         * lyxfunc.C: removed #if 0 unused code
15150
15151         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15152
15153         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15154
15155         * text2.C (SetSelection): added a BufferView * parameter
15156
15157 2001-02-13  Juergen Vigna  <jug@sad.it>
15158
15159         * lyxfunc.C (Dispatch): fixed protected blank problem.
15160         * BufferView2.C (protectedBlank): added LyxText * parameter.
15161
15162         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15163         (AppendColumn): same as above for column_info.
15164
15165         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15166         (moveCursorUpdate): use a LyXText param for support of InsetText.
15167
15168         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15169         (tripleClick): ditto
15170
15171         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15172
15173         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15174
15175         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15176
15177         * text2.C (SetSelection): set correct update status if inset_owner
15178         (ToggleFree): ditto
15179
15180 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15181
15182         * tabular.C: remove some commented code.
15183
15184 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * BufferView_pimpl.C: call hideSplash()
15187
15188         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15189
15190         * include_form.h:
15191         * bibforms.h: remove
15192
15193         * lyxfunc.C:
15194         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15195           add LFUN_CHILD_CREATE
15196
15197         * counters.h: fix tiny typo
15198
15199         * lyx_cb.C:
15200         * lyx.h:
15201         * lyx_gui.C:
15202         * lyx.C: move splash to frontends/xforms/
15203
15204         * lyx_gui_misc.C: move Include and Bibform to frontends
15205
15206         * lyxvc.h: clarify comment
15207
15208         * vspace.C: tiny housekeeping
15209
15210 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15211
15212         * text.C (PrepareToPrint): RTL Fix.
15213
15214         * paragraph.C (GetUChar): New method.
15215         (String):  Use GetUChar.
15216
15217         * buffer.C (asciiParagraph): Use GetUChar.
15218
15219 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15220
15221         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15222
15223 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15224
15225         * buffer.h:
15226         * buffer.C: rename to getLogName(), handle
15227           build log / latex log nicely
15228
15229 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * MenuBackend.C:
15232         * MenuBackend.h: remove support for reference menuitem type.
15233
15234 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * BufferView_pimpl.C: housekeeping
15237         * BufferView_pimpl.h:
15238         * LyXView.h:
15239         * Makefile.am:
15240         * Timeout.C:
15241         * Timeout.h:
15242         * minibuffer.h: move Timeout GUI-I
15243
15244 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15245
15246         * lyxrc.C (read): Update converters data-structures.
15247
15248 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15249
15250         * LaTeX.h (operator!=): add operator != for Aux_Info
15251
15252 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15255
15256         * LaTeXLog.C: deleted, useful code moved to Buffer
15257
15258         * buffer.h:
15259         * buffer.C: new function getLatexLogName()
15260
15261         * lyx_gui_misc.C:
15262         * lyx_gui.C:
15263         * lyxvc.C:
15264         * lyxvc.h:
15265         * lyxfunc.C: use frontends for LaTeX and VC logs
15266
15267 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * LaTeX.h: yet another std:: that Allan forgot.
15270
15271         * Variables.C (set): renamed from isset(), because this clashes
15272         with some HP-UX macros (grr).
15273
15274 2001-02-06  Allan Rae  <rae@lyx.org>
15275
15276         * LaTeX.h: Another bug fix.  Missing std:: this time.
15277
15278 2001-02-04  Allan Rae  <rae@lyx.org>
15279
15280         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15281         floats problem. I've left it commented out because it's not quite
15282         correct.  It should also test that the current object is a table or
15283         figure inset.  But I haven't gotten around to figuring out how to do
15284         that.  I *think* it'll be something like: "table" == inset.type()
15285
15286         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15287         bool.
15288
15289 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15290
15291         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15292         all the citation/databases/styles in the auxilary file.
15293         (run): Rerun latex if there was a babel language error.
15294
15295 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * text.C (Backspace): Preserve the font when changing newline char
15298         with a space.
15299         (BreakParagraph): If the cursor is before a space, delete the space.
15300
15301         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15302
15303 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15304
15305         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15306         new argument (code).
15307         (ChangeCitationsIfUnique): New method.
15308
15309         * paragraph.C (GetPositionOfInset): Handle bibkey.
15310
15311 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * BufferView_pimpl.h: change type of Position::par_pos to
15314         LyXParagraph::size_type.
15315
15316 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15317
15318         * BufferView_pimpl.C (savePosition, restorePosition): Write
15319         messages to minibuffer.
15320
15321 2001-01-28  José Matos  <jamatos@fep.up.pt>
15322
15323         * buffer.C (makeDocBookFile): adds support for document language.
15324         A silly restriction on the name of LatexCommand types where removed.
15325         Added support for CDATA sections, allows to chars unescaped, used
15326         among others in code, to avoid escape < and >.
15327
15328 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15329
15330         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15331         saved positions instrad of a stack. Furthermore, a position is
15332         stored using paragraph id/paragraph position.
15333
15334         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15335         Remove LFUN_REF_BACK.
15336
15337 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15338
15339         * converter.C (dvipdfm_options): New method.
15340
15341 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15342
15343         * vspace.C (isValidLength): Fix for empty input string.
15344
15345 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15346
15347         * LyXAction.C (init): change description of LFUN_FIGURE to
15348         "Insert Graphics"
15349
15350 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * LaTeX.C: add using directive
15353
15354 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15355
15356         * MenuBackend.C (expand): Fix the sorting of the formats.
15357
15358 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15359
15360         * lyx_main.C: tiny error message fix
15361
15362 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15363
15364         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15365         calling fl_initialize(). This fixes the problem with ',' as
15366         decimal separator in text files.
15367
15368 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15369
15370         * trans.C (process): Fix the keymap bug.
15371
15372 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * LaTeX.C (scanAuxFiles): New method. Provides support for
15375         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15376         (scanLogFile) Scan for "run BibTeX" messages.
15377
15378         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15379         OT1 font encoding. Also, load the aecompl package if the ae
15380         package is loaded.
15381
15382         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15383
15384 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15385
15386         * texrow.C (increasePos): turn two error messages into debug
15387         messages.
15388
15389 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15390
15391         * LaTeX.C (scanAux): Handle the \@input macro.
15392         (runBibTeX): Use scanAux().
15393
15394         * language.C (latex_options_): New field.
15395
15396         * LaTeXFeatures.C (getMacros): Add language macros.
15397
15398         * buffer.C (makeLaTeXFile): Small fix.
15399
15400 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15401
15402         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15403
15404         * text2.C: add a using directive.
15405
15406 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15407
15408         * BufferView2.C:
15409         * lyx_gui_misc.h:
15410         * lyxfr1.C:
15411         * lyxfunc.C: kill LyXBell.
15412
15413 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15414
15415         * text.C (IsBoundary): Remove the error message
15416
15417         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15418
15419         * lyxrc.C (setDefaults): Correct initialization value for
15420         font_norm_type.
15421
15422 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15423
15424         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15425         gotoError().
15426
15427         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15428         and GotoNextNote().
15429
15430         * src/LyXAction.C: Added reference-next.
15431
15432         * text.C (InsertChar): Use contains instead of strchr.
15433
15434         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15435
15436 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15437
15438         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15439         alignment commands (when needed).
15440
15441         * text.C (InsertChar): Add ':' to number separator chars.