]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Layout tweaks.
[lyx.git] / src / ChangeLog
1 2004-04-13  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
4         than an InsetOld one.
5
6 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * format.[Ch]: add editor to Format
9         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
10         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
11
12 2004-04-08  André Pönitz  <poenitz@gmx.net>
13
14         * metricsinfo.h: remove PainterInfo::width member
15
16 2004-04-08  Angus Leeming  <leeming@lyx.org>
17
18         * lyx_sty.C (boldsymbol_def): modify so that it outputs
19         "\providecommand" rather than "\newcommand", thereby preventing
20         clashes with packages that define "\boldsymbol" themselves.
21         Eg, beamer.
22
23 2004-04-08  Angus Leeming  <leeming@lyx.org>
24
25         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
26         thereby squashing an unnecessary warning.
27
28 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
29
30         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
31         setBuffer()
32         
33 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * BufferView.C (setCursor): call redoParagraph (some insets could
36         have been opened) 
37         (putSelectionAt): remove the 'double update' trick
38
39         * BufferView_pimpl.C (fitCursor): call refreshPar
40         (workAreaDispatch): remove an uneeded update call
41         (dispatch): remove some manual update calls
42
43         * cursor.[Ch]: remove cached_y_, updatePos
44         (selHandle): set noUpdate when appropriate
45
46         * lyxfunc.C (dispatch): track if we need an update
47         
48         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
49
50         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
51         (paintSelection): cheap optimization, do not call cursorX when not
52         needed 
53         (paintPars): change signature
54         (refreshPar): add
55         (paintText): adjust
56         (paintTextInset): adjust
57
58         * text.C: adjust
59
60 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * lengthcommon.C: compilation fix: remove explicit array size from
63         unit_name[] and friends
64
65 2004-04-05  Angus Leeming  <leeming@lyx.org>
66
67         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
68
69         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
70         present only for the preferences dialog.
71         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
72
73 2004-04-05  Angus Leeming  <leeming@lyx.org>
74
75         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
76         to enable the frontends to export changes to lyxrc correctly.
77
78         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
79
80 2004-04-07  André Pönitz  <poenitz@gmx.net>
81
82         * cursor.[Ch] (selClear, adjust): remove math
83
84         * cursor_slice.C: more agressive assert
85
86         * lyxfunc.C:
87         * BufferView_pimpl.C: rework mouse event dispatch 
88
89         * dociterator.C:
90         * paragraph.C:
91         * text2.C:
92         * text3.C: adjust
93
94 2004-04-05  André Pönitz  <poenitz@gmx.net>
95
96         * cursor.[Ch] (valign, halign...): remove unneeded functions
97
98 2004-04-05  Angus Leeming  <leeming@lyx.org>
99
100         * lyxlength.[Ch] (unit_name et al.): const-correct.
101
102 2004-04-05  Angus Leeming  <leeming@lyx.org>
103
104         * BufferView_pimpl.C:
105         * buffer.C:
106         * counters.C:
107         * cursor.C:
108         * lyxfunc.C
109         * paragraph.C:
110         * pariterator.C:
111         * text.C:
112         * text2.C:
113         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
114
115 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
116
117         * text3.C (getStatus): add LFUN_BEGINNINGBUF
118
119 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
120
121         * lyxfind.C: add a couple of inTexted() tests + other small fixes
122         * BufferView_pimpl.[Ch] (getStatus)
123         * BufferView.[Ch] (getStatus): add
124         * lyxfunc.C (getStatus): move lfuns handled in
125         BufferView::dispatch to te function above 
126         * Cursor.C (setSelection): set selection() = true
127
128 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
129
130         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
131
132 2004-03-31  Angus Leeming  <leeming@lyx.org>
133
134         * lyxfunc.C (dispatch): Fall through to the generic
135         Dialogs::show("preamble").
136
137 2004-03-31  Angus Leeming  <leeming@lyx.org>
138
139         * lyxfunc.C (dispatch): Fall through to the generic
140         Dialogs::show("spellchecker").
141
142 2004-03-31  Angus Leeming  <leeming@lyx.org>
143
144         * lyxfunc.C (getStatus, dispatch): changed invocation of the
145         preferences dialog.
146
147 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
148
149         * BufferView.C
150         * cursor.[Ch]
151         * dociterator.[Ch]:
152         * insetiterator.[Ch]:
153         * lyxfind.C:
154         * lyxfunc.C:
155         * pariterator.[Ch]:
156         * text2.C:
157         * undo.[Ch]: s/DocumentIterator/DocIterator/g
158
159 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
160
161         * BufferView.C (setCursor, putSelectionAt): call edit to open the
162         insets where we are putting the cursor.
163
164 2004-03-31  Angus Leeming  <leeming@lyx.org>
165
166         * lfuns.h:
167         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
168
169         * lyxrc.[Ch] (read, write): overloaded member functions taking
170         a std::[io]stream arguments.
171
172         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
173
174 2004-03-31  Angus Leeming  <leeming@lyx.org>
175
176         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
177         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
178
179         * lyxtextclass.C (load): if the text class couldn't be loaded, then
180         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
181
182 2004-03-31  Angus Leeming  <leeming@lyx.org>
183
184         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
185         the LFUN_ALL_INSETS_TOGGLE code.
186
187 2004-03-30  Angus Leeming  <leeming@lyx.org>
188
189         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
190         has died. Fall through to the generic Dialogs::show("document").
191         
192 2004-03-30  Angus Leeming  <leeming@lyx.org>
193
194         * lfuns.h:
195         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
196         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
197
198         * lyxfunc.C (getStatus, dispatch): define the actions for these
199         lfuns. Little more than a cut and pste job from ControlDocument.C
200
201         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
202
203 2004-03-30  Angus Leeming  <leeming@lyx.org>
204
205         * lfuns.h:
206         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
207         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
208
209         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
210         open/closed state of ollapsable insets. Usage:
211
212         all-inset-toggle <state> <name>, where
213         <state> == "open" || "closed" || "toggle" and
214         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
215
216         * lyxtext.h, text2.C (toggleInset): removed.
217
218         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
219         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
220         now passes LFUN_INSET_TOGGLE to the found inset.
221
222         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
223         is now invoked as "all-insets-toggle toggle branch".
224
225 2004-03-30  Angus Leeming  <leeming@lyx.org>
226
227         * dociterator.C:
228         * insetiterator.C:
229         * pariterator.[Ch]: added/corrected header blurb.
230
231 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
232
233         * dociterator.[Ch]: add an inset_ member 
234         (backwardPos): implemented
235         (backwardPos, forwardPos): use inset_ when the stack is empty.
236         (doc_iterator_begin, doc_iterator_end): implemented
237         * pariterator.[Ch]: adjust, add begin, end
238         * insetiterator.[Ch]: adjust, add begin, end
239         * cursor.C: 
240         * document.C:
241         * BufferView.C:
242         * BufferView_pimpl.C:
243         * CutAndPaste.C: adjust
244
245 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
246
247         * buffer.C: increment file format to 232.
248         * LaTeXFeatures.C: add bibtopic package.
249         * bufferparams.[Ch]: param \use_bibtopic.
250         
251         * lyxrc.[Ch]: add lyxrc bibtex_command
252         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
253         
254         * buffer.C: increment file format to 231.
255
256 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * dociterator.C: implement forwardPar
259         * iterators.[Ch]: remove, replaced by
260         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
261         * BufferView.C:
262         * BufferView_pimpl.C:
263         * CutAndPaste.C:
264         * buffer.C:
265         * bufferview_funcs.C:
266         * cursor.C:
267         * lyxfind.C
268         * lyxfunc.C
269         * paragraph_funcs.C
270         * toc.C:  
271         * Makefile.am: adjust
272
273 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
274
275         * CutAndPaste.C (pasteSelection): fix 2 crashes
276         (eraseSelection): fix a crash
277         * paragraph_funcs.C: remove a warning
278
279 2004-03-28  Angus Leeming  <leeming@lyx.org>
280
281         * lfuns.h:
282         * LyXAction.C (init): new LFUN_PRINT.
283
284         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
285
286 2004-03-27  Angus Leeming  <leeming@lyx.org>
287
288         * lfuns.h:
289         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
290
291         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
292
293 2004-03-27  Angus Leeming  <leeming@lyx.org>
294
295         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
296         insetlist always contains non-null pointers to insets.
297
298 2004-03-26  Angus Leeming  <leeming@lyx.org>
299
300         * src/BufferView_pimpl.C:
301         * src/CutAndPaste.C:
302         * src/buffer.C:
303         * src/iterators.C:
304         * src/output_plaintext.C:
305         * src/outputparams.h:
306         * src/paragraph_funcs.C:
307         * src/rowpainter.C:
308         * src/text.C:
309         * src/text2.C:
310         * src/frontends/controllers/ControlErrorList.C:
311         * src/frontends/gtk/FileDialogPrivate.C:
312         * src/frontends/gtk/GPainter.C:
313         * src/frontends/gtk/GToolbar.C:
314         * src/frontends/qt2/QRef.C:
315         * src/mathed/math_scriptinset.C: squash compiler warnings.
316
317 2004-03-26  Angus Leeming  <leeming@lyx.org>
318
319         * ispell.C (LaunchIspell::start):
320         * lyx_cb.C (AutoSaveBuffer::start):
321         invoke run(DontWait) rather than runNonBlocking().
322
323 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
324
325         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
326
327 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * kbsequence.C (print): adjust
330
331         * kbmap.C (printKeySym): rename and change signature
332         (printKey): use LyXKeySym::print()
333
334 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * undo.C: add using std::advance to compile for stlport
337
338 2004-03-24  Angus Leeming  <leeming@lyx.org>
339
340         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
341         it leads to a crash when no buffer is present.
342
343 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344             Martin Vermeer  <martin.vermeer@hut.fi>
345
346         * lyxfunc.C (dispatch): 
347         * bufferparams.C (readToken): use the new LColor::setColor 
348
349         * LColor.[Ch] (setColor): new version that takes two strings as
350         argument and creates a new color entry if necessary
351
352 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
353
354         * buffer.C (makeLaTeXFile): if the main latex file that is
355         processed is usually a subdocument of some master, then pretend
356         for a while that it is actually the master
357
358 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
359
360         * buffer.C (getLabelList):
361         (getBibkeyList): use getMasterBuffer()
362         (getMasterBuffer): new method. Returns the main document in the
363         case where one is using included documents.
364
365 2004-03-25  André Pönitz  <poenitz@gmx.net>
366
367         * Makefile.am:
368         * iterators.[Ch]:
369         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
370
371         * ParagraphList_fwd.h: change ParagraphList to a std::vector
372
373         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
374         text*.C over here. Rename namespace CutAndPaste to lyx::cap
375
376         * ParameterStruct.h: merge with ParagraphParameters
377
378         * lyxtext.h: remove LyXText::parOffset() and getPar()
379
380         * text3.C: Remove all 'manual' update calls. We do now one per user
381         interaction which is completely sufficient.
382
383         * Bidi.C:
384         * BufferView.[Ch]:
385         * BufferView_pimpl.C:
386         * FontIterator.[Ch]:
387         * MenuBackend.C:
388         * ParagraphParameters.[Ch]:
389         * buffer.C:
390         * buffer.h:
391         * bufferlist.C:
392         * cursor.[Ch]:
393         * cursor_slice.[Ch]:
394         * dociterator.[Ch]:
395         * errorlist.[Ch]:
396         * factory.C:
397         * lfuns.h:
398         * lyxfind.C:
399         * lyxfunc.C:
400         * output_docbook.[Ch]:
401         * output_latex.[Ch]:
402         * output_linuxdoc.[Ch]:
403         * output_plaintext.[Ch]:
404         * paragraph.[Ch]:
405         * paragraph_funcs.[Ch]:
406         * paragraph_pimpl.[Ch]:
407         * rowpainter.C:
408         * tabular.[Ch]:
409         * text.C:
410         * text2.C:
411         * toc.C:
412         * undo.[Ch]: adjust
413
414         * frontends/controllers/ControlDocument.C:
415         * frontends/controllers/ControlErrorList.C:
416         * frontends/controllers/ControlSpellchecker.C:
417         * insets/inset.C:
418         * insets/inset.h:
419         * insets/insetbase.h:
420         * insets/insetbibitem.C:
421         * insets/insetbox.C:
422         * insets/insetbranch.C:
423         * insets/insetcaption.C:
424         * insets/insetcharstyle.C:
425         * insets/insetcharstyle.h:
426         * insets/insetcollapsable.C:
427         * insets/insetcollapsable.h:
428         * insets/insetert.C:
429         * insets/insetfloat.C:
430         * insets/insetfoot.C:
431         * insets/insetmarginal.C:
432         * insets/insetnote.C:
433         * insets/insetoptarg.C:
434         * insets/insettabular.C:
435         * insets/insettext.C:
436         * insets/insettext.h:
437         * insets/insetwrap.C:
438         * mathed/math_mboxinset.C:
439         * mathed/math_nestinset.C:
440         * mathed/math_scriptinset.C:
441         * mathed/math_scriptinset.h:
442         * support/types.h:
443
444 2004-03-24  Angus Leeming  <leeming@lyx.org>
445
446         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
447         deal with any child processes that have finished but are waiting to
448         communicate this fact to the rest of LyX.
449
450 2004-03-24  Angus Leeming  <leeming@lyx.org>
451
452         64-bit compile fixes.
453
454         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
455         (c-tor): pass lyx::pos_types rather than ints.
456
457         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
458         lyx::pos_type.
459
460         * text.C (Delete): compile fix.
461         (getPar): ensure that function declaration is the same as that in
462         the header file.
463
464 2004-03-23  Angus Leeming  <leeming@lyx.org>
465
466         * ispell.C (LaunchIspell):
467         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
468         a boost::shred_ptr rather than a std::auto_ptr.
469
470 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * lyxfunc.C (getStatus): handle read-only buffers correctly;
473         handle LFUN_FILE_INSERT_*
474
475         * lyxrc.C (setDefaults, getDescription, output, read):
476         * lyxrc.h: remove ps_command
477
478 2004-03-22  Angus Leeming  <leeming@lyx.org>
479
480         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
481         Ensure that error_handler is processed once only and that all data
482         is saved before attempting to output any warning messages.
483
484         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
485
486 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
487
488         * tabular.C (TeXRow): crash fix (from Kayvan and André)
489
490 2004-03-19  André Pönitz  <poenitz@gmx.net>
491
492         * cursor.[Ch] (reset): take main text inset as argument
493
494         * BufferView: adjust
495         * BufferView_pimpl.C: adjust
496
497         * paragraph.[Ch]: fix completely broken operator=()
498
499 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         * LColor.C (getFromLyXName): make sure that the color name is used
502         as lowercase.
503
504 2004-03-17  Angus Leeming  <leeming@lyx.org>
505
506         * lfuns.h:
507         * LyXAction.C (init): remove LFUN_FORKS_KILL.
508
509         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
510         dialog and to kill a forked process.
511
512 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
513
514         * text2.C (setCursorFromCoordinates): fix font problem
515
516 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
517
518         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
519         bogus "rebuild cursor" code
520
521 2004-03-11  André Pönitz  <poenitz@gmx.net>
522
523         * buffer.[Ch]: use InsetText instead of LyXText as container for
524         the main lyx text.
525
526         * dociterator.[Ch]: drop the BufferView * member which is not needed
527         anymore after the change to buffer.C
528
529         * paragraph_funcs.C:
530         * text.C:
531         * text2.C:
532         * BufferView.[Ch]:
533         * BufferView_pimpl.[Ch]:
534         * cursor.[Ch]:
535         * cursor_slice.[Ch]: adjust
536
537         * text3.C: fix bug in mathDispatch
538
539 2004-03-08  André Pönitz  <poenitz@gmx.net>
540
541         * undo.[Ch]: use 'StableDocumentIterator' as base for
542         the Undo struct.
543
544 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
545
546         * LaTeXFeatures.C:
547         * bufferparams.[Ch]: add jurabib support and param.
548
549         * LaTeX.C: add FIXME/comment.
550
551 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
552
553         * buffer.C: increment file format to 230.
554
555 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
556
557         * cursor.C (dispatch): avoid infinite loops
558
559 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
560
561         * rowpainter.C (paintSelection): fix x coordinates
562
563 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * text.C (rowBreakPoint): fix breaking before displayed insets
566
567 2004-03-01  André Pönitz  <poenitz@gmx.net>
568
569         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
570
571         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
572
573         * Makefile.am:
574         * BufferView.C:
575         * BufferView_pimpl.C:
576         * buffer.C:
577         * lyxfind.C:
578         * lyxfunc.C:
579         * text.C:
580         * text2.C:
581         * text3.C: adjust
582
583 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
584
585         * lyxtext.h:
586         * text.C:
587         * text2.C:
588         * rowpainter.C:
589         * BufferView_pimpl.C: rename textwidth -> maxwidth,
590         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
591
592 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
593
594         * Bidi.[Ch] (computeTables): const correctness
595         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
596         fill_hfill, fill_label_hfill and x from Row
597         * lyxtext.h: prepareToPrint returns a RowMetrics
598         * rowPainter.C: adjust
599         * text.C (prepareToPrint): use width, not textWidth. adjust
600         (redoParagraphInternal, cursorX): adjust
601         * text2.C (getColumnNearX): adjust
602         (init): put a default value to the top LyXText::width
603
604 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
605
606         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
607
608 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
609
610         * lyxtext.h: add FontIterator class
611
612         * text.C (FontIterator, operator*, operator->, operator++): add
613         (rowBreakPoint, setRowWidth): adjust (fixing a
614         rebreaking bug)
615
616 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * BufferView_pimpl.C (workAreaDispatch): allow also
619         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
620
621 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
622
623         * text.C (rowBreakPoint): fix a bug showing with very large insets
624
625 2004-02-25  André Pönitz  <poenitz@gmx.net>
626
627         * text3.C:
628         * cursor.[Ch]: move some mathed specific code to mathed
629
630 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
631
632         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
633         use_tempdir in preferences
634         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
635         tempfile creation
636         * lyx_main.C: ensure that tempdir is valid
637         * lyxlex.h: correct typo
638         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
639         * paragraph.[Ch] (isMultiLingual): make const
640         * cursor.[Ch] (openable): make const
641
642 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
643
644         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
645
646 2004-02-20  André Pönitz  <poenitz@gmx.net>
647
648         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
649
650         * cursor.[Ch]: prepare for localized getStatus()
651
652         * lyxtext.h:
653         * tabular.C:
654         * text.C:
655         * text2.C:
656         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
657
658 2004-02-20  André Pönitz  <poenitz@gmx.net>
659
660         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
661
662 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
663
664         * text2.C (setCursorFromCoordinates): switch to absolute coords
665         (cursorUp): adjust
666         (cursorDown): adjust
667         * text3.C (dispatch): adjust
668
669 2004-02-16  André Pönitz  <poenitz@gmx.net>
670
671         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
672           insets/ChangeLog)
673
674         * cursor_slice.[Ch]: remove unneeded acessor function
675
676         * lyxtext.h: rename rtl() to isRTL()
677
678         * rowpainter.C:
679         * tabular.C:
680         * text.C:
681         * text2.C:
682         * text3.C: adjust
683
684 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
685
686         * rowpainter.C (paintSelection): coord fix
687
688 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
689
690         * Spacing.C: compile fix
691
692 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
693
694         * cursor.C (dispatch): restore current_ before returning
695
696 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
697
698         * text2.C (cursorUp, cursorDown): fix coords
699         (moveUp): fix crash
700
701 2004-02-12  André Pönitz  <poenitz@gmx.net>
702
703         * lyxtext.h:
704         * text.C:
705         * text2.C:
706         * text3.C: add LCursor & parameter to most cursor movement functions
707           remove usage of LyXText::cursorRow() and cursorPar()
708
709         * cursor.[Ch]: add textRow() needed members
710
711         * BufferView.C:
712         * BufferView_pimpl.C:
713         * paragraph.[Ch]:
714         * BufferView.C:
715         * BufferView_pimpl.C: adjust
716
717 2004-02-11  André Pönitz  <poenitz@gmx.net>
718
719         * lyxfunc.C:
720         * BufferView.[Ch]:
721         * BufferView_pimpl.C: shift undo/redo handling
722
723         * cursor.[Ch]: fix mathed crash
724
725         * lyxfind.C:
726         * lyxtext.h: move selectionAsText to LCursor
727
728         * output_latex.C:
729         * paragraph.C:
730         * text.C:
731         * text2.C:
732         * text3.C: adjust
733
734         * rowpainter.C: fix excessive drawing
735
736 2004-02-06  André Pönitz  <poenitz@gmx.net>
737
738         * BufferView.[Ch]:
739         * BufferView_pimpl.[Ch]:
740         * text3.C: move some text specific LFUN handling
741
742 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
743
744         * text3.C (checkInsetHit): adjust coords
745         * text2.C (getColumnNearX): adjust coords
746         (edit): adjust coords
747         * text.C (getRowNearY): add two asserts
748
749 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
750
751         * converter.C:
752         * format.C: add using std::distance to compile on gcc 2.95/stlport
753
754 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
755
756         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
757
758 2004-02-04  André Pönitz  <poenitz@gmx.net>
759
760         * BufferView.[Ch] (insertInset):
761         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
762
763         * text2.C:
764         * text3.C: adjust
765
766 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
767
768         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
769         on the default clause of the switch
770         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
771         wasn't catched by LCursor::dispatch
772
773 2004-02-03  André Pönitz  <poenitz@gmx.net>
774
775         * BufferView.C:
776         * cursor.[Ch]: some additional asserts
777
778         * undo.[Ch]: remove LyXText dependency in interface
779
780         * lyxfunc.C: adjust
781
782         * lyxtext.h (firstPar, lastPar): remove dead functions
783
784         * text.C:
785         * text2.C:
786         * text3.C:
787         * paragraph.[Ch]: adjust
788
789 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
790
791         * lyxfind.C (find): fix argument order in call to ::find
792
793 2004-02-02  André Pönitz  <poenitz@gmx.net>
794
795         * cursor.[Ch]: remove direct access to anchor
796
797         * text.C: remove findText() hack
798
799 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
800
801         * iterators.[Ch] (lockPath): remove in favour of...
802         * BufferView.[Ch] (setCursor): this addition
803         * BufferView.C (putSelectionAt): adjust
804         * undo.C (performUndoOrRedo): adjust
805         * lyxfunc.C (dispatch): adjust
806
807 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
808
809         * iterators.C (lockPath): add a missing slice
810         * undo.C (performUndoOrRedo): remove redundant positioning code
811
812 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
813
814         * vc-backend.C (scanMaster): ";" -> ';'
815
816 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
817
818         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
819         std::binary_function
820
821         * lyxtextclass.C (compare_name): rename to...
822         (LayoutNamesEqual): ...this
823
824         * lyxlex_pimpl.C (compare_tags): inherit from
825         std::binary_function, put back into anon namespace
826
827         * lyxfind.C (MatchString): inherig from std::binary_function
828         (findChange): use empty() istead of !size()
829
830         * format.C (FormatNamesEqual): new functor
831         (getFormat): use it
832         (getNumber): use it
833         (add): use it
834         (erase): use it
835         (setViewer): use it
836
837         * converter.C (compare_Converter): rename to...
838         (ConverterEqual): ...this, and fixup a bit.
839         (getConverter): use it, and make function const
840         (getNumber): use it, and make function const
841         (add): use it
842         (erase): use it:
843
844         * bufferlist.C: add using boost::bind
845
846         * MenuBackend.C (MenuNamesEqual): new functor
847         (hasMenu): use it, and make function const
848         (hasSubmenu): use nested bind to get rid of compare_memfun.
849
850 2004-01-30  André Pönitz  <poenitz@gmx.net>
851
852         * BufferView_pimpl.C:
853         * cursor.C:
854         * cursor.h:
855         * cursor_slice.[Ch]:
856         * lyxfunc.C:
857         * lyxtext.h:
858         * paragraph_funcs.C:
859         * paragraph_funcs.h:
860         * rowpainter.C:
861         * text.C:
862         * text2.C:
863         * text3.C: move some of the edit(x,y) handling to the insets
864         some coordinate changes.
865
866 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
867
868         * text.C: add using statements for std::advance and std::distance
869
870         * paragraph.C: add using statement for std::distance
871
872         * lyxfind.C: add using statement for std::advance
873
874         * cursor.C (region): remove std:: from swap
875         (openable): use nucleus in stead of operator->
876
877         * BufferView.C: add using statements for std::distance and std::swap
878
879 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
880
881         * iterators.C: Remove the pimple, move the needed structures to
882         the header file. Create accessor for the positions stack.
883         (asPosIterator): remove function
884
885         * PosIterator.C (PosIterator): move constructors to top of file
886         (PosIterator): reimplement the constructor taking a ParIterator in
887         terms of setFrom.
888         (setFrom): new function
889         (operator!=): inline it
890
891 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
892
893         * lyxfind.C (replaceAll): use std::advance
894
895         * iterators.h: inherit from std::iterator.
896
897         * PosIterator.C (advance, distance): remove
898         * PosIterator.h: interit from std::iterator.
899
900 2004-01-26  André Pönitz  <poenitz@gmx.net>
901
902         * BufferView.[Ch]:
903         * BufferView_pimpl.[Ch]:
904         * InsetList.[Ch]:
905         * PosIterator.[Ch]:
906         * buffer.h:
907         * bufferview_funcs.C:
908         * cursor.[Ch]:
909         * cursor_slice.h:
910         * factory.[Ch]:
911         * iterators.[Ch]:
912         * lyxfind.C:
913         * lyxfunc.C:
914         * lyxtext.h:
915         * output_docbook.C:
916         * output_latex.C:
917         * output_linuxdoc.C:
918         * output_plaintext.C:
919         * paragraph.[Ch]:
920         * paragraph_funcs.[Ch]:
921         * paragraph_pimpl.[Ch]:
922         * rowpainter.C:
923         * tabular.C:
924         * tabular.h:
925         * text.C:
926         * text2.C:
927         * text3.C: more IU:  dumps most of the rest of the mathcursor
928     implementation into cursor.[Ch]; "globalize" a bit of it.
929
930 2004-01-25  Angus Leeming  <leeming@lyx.org>
931
932         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
933
934 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
935
936         * LaTeXFeatures.h: add nice_ and nice() const
937         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
938
939 2004-01-20  André Pönitz  <poenitz@gmx.net>
940
941         * BufferView.[Ch]:
942         * BufferView_pimpl.C:
943         * PosIterator.C:
944         * bufferview_funcs.C:
945         * cursor.[Ch]:
946         * cursor_slice.[Ch]:
947         * factory.C:
948         * iterators.C:
949         * lyx_cb.C:
950         * lyxfind.C:
951         * lyxfunc.C:
952         * lyxtext.h:
953         * rowpainter.C:
954         * text.C:
955         * text2.C:
956         * text3.C:
957         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
958           LCursor and mathcursor parts to LCursor and InsetBase.
959
960 2004-01-15  André Pönitz  <poenitz@gmx.net>
961
962         * cursor_slice.[Ch]: add a few covienience functions
963
964         * funcrequest.[Ch]: remove BufferView * member
965
966         * BufferView_pimpl.C:
967         * cursor.C:
968         * factory.[Ch]:
969         * lyxfind.[Ch]:
970         * lyxfunc.C:
971         * lyxtext.h:
972         * text3.C:
973         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
974
975 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
976
977         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
978         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
979
980 2004-01-13  André Pönitz  <poenitz@gmx.net>
981
982         * textcursor.[Ch]:
983         * lyxtext.h: hide cursor and selection anchor behind accessor function
984
985         * BufferView.C:
986         * BufferView_pimpl.[Ch]:
987         * PosIterator.C:
988         * bufferview_funcs.C:
989         * cursor.h:
990         * lyxfind.C:
991         * lyxfunc.C:
992         * text.C:
993         * text2.C:
994         * text3.C:
995         * undo.C: adjust
996
997         * cursor.h:
998         * cursor_slice.[Ch]: some integer type changes for inset unification
999
1000         * lyxcursor.[hC]: remove, it's CursorSlice now.
1001
1002         * Makefile.am:
1003         * BufferView_pimpl.[Ch]:
1004         * bufferview_funcs.C:
1005         * cursor_slice.C:
1006         * lyxtext.h:
1007         * text.C:
1008         * text2.C:
1009         * text3.C:
1010         * textcursor.[Ch]: adjust
1011
1012 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1013
1014         * text2.C (undoSpan): add and use
1015         * text.C (breakParagraph): use undoSpan (fix bug 578)
1016         * lyxtext.h: adjust
1017
1018 2004-01-08  Angus Leeming  <leeming@lyx.org>
1019
1020         * BufferView_pimpl.C (MenuInsertLyXFile):
1021         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1022         * lyxfunc.C (menuNew, open, doImport):
1023         FileFilterList change to the FileDialog open and save functions.
1024
1025 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1026
1027         * ShareContainer.h: make isEqual and isUnique adaptable
1028
1029         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1030
1031 2004-01-07  Angus Leeming  <leeming@lyx.org>
1032
1033         * LyXAction.C:
1034         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1035
1036         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1037
1038         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1039         functions replacing find, replace and replaceAll.
1040
1041         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1042         LFUN_WORDFIND(FORWARD|BACKWARD).
1043
1044 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1045
1046         * text.C (breakParagraph): remove an outdated #warning
1047
1048 2004-01-07  André Pönitz  <poenitz@gmx.net>
1049
1050         * lyxfind.C: somewhat clearer logic
1051
1052         * text.C: prevent crash in cursorX on unitialized row cache
1053
1054 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1055
1056         * lyxcursor.[Ch] (operator>): add
1057         * textcursor.C (selStart, selEnd): use std::min and std::max
1058
1059 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1060
1061         * Chktex.C: include boost/format.hpp
1062
1063 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1064
1065         * InsetList.C: replace functor MathcIt with adaptable functor
1066         InsetTablePosLess
1067         (insetIterator): modify accordingly
1068
1069         * BranchList.h: move the BranchNamesEqual functor here from...
1070         * BranchList.C: ... to here
1071
1072         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1073         SameName and match.
1074         (add): replace a finding loop with std::find_if.
1075
1076 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1077
1078         * output_docbook.C: moving LatexParam functionality into
1079         .layout files
1080
1081 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1082
1083         * buffer.C: increment format to 229.
1084
1085 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1086
1087         * LaTeXFeatures.C:
1088         * lyx_sty.[Ch]: remove minipageindent_def
1089
1090         * LyXAction.C:
1091         * factory.C:
1092         * lfuns.h:
1093         * lyxfunc.C:
1094         * text3.C: remove LFUN_INSET_MINIPAGE
1095
1096 2003-12-28  Angus Leeming  <leeming@lyx.org>
1097
1098         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1099
1100 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1101
1102         * text2.C (setParagraph): fix off-by-one crash
1103
1104 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * output_docbook.C: header stuff for AGU
1107
1108 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1109
1110         * text2.C (redoCursor): remove
1111         * text.C:
1112         * text3.C:
1113         * BufferView_pimpl.C: remove calls to redoCursor and
1114         setCursor(cursor.par(), cursor.pos()) all around
1115
1116 2003-12-15  Angus Leeming  <leeming@lyx.org>
1117
1118         * buffer.C: up the format to 228.
1119
1120 2003-12-15  André Pönitz  <poenitz@gmx.net>
1121
1122         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1123         slices
1124
1125         * Makefile.am:
1126
1127         * BufferView_pimpl.C:
1128         * cursor.[Ch]:
1129         * lyxcursor.[Ch]:
1130         * rowpainter.[Ch]:
1131         * lyxtext.h:
1132         * text.C:
1133         * text2.C:
1134         * text3.C: adjust
1135
1136 2003-12-15  Angus Leeming  <leeming@lyx.org>
1137
1138         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1139         than getFromGUIName to manipulate the color.
1140
1141 2003-12-14  Angus Leeming  <leeming@lyx.org>
1142
1143         * BranchList.[Ch]: minimize the API.
1144         (Branch::getBranch, getColor): now return a 'const &'.
1145         (Branch::setSelected) now returns a bool set to true if the
1146         selection status changes.
1147         (BranchList::clear, size, getColor, setColor, setSelected,
1148         allBranches, allSelected, separator): removed.
1149         (BranchList::find): new functions, returning the Branch with
1150         the given name.
1151         (BranchList::add, remove): return a bool indicating that
1152         the operation was successful.
1153
1154         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1155         new InsetBranch::isBranchSlected member function.
1156
1157         * LColor.[Ch]: mimimize the API.
1158         (fill): renamed as addColor and made private.
1159         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1160         versions of these functions taking a string arg have been removed.
1161
1162         * bufferparams.C (readToken):
1163         * lyxfunc.C (dispatch):
1164         * lyxrc.C (read): changes due to the altered BranchList and
1165         LColor APIs.
1166
1167         * factory.C (createInset, readInset): changes due to altered
1168         InsetBranch c-tor.
1169
1170 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1171
1172         * factory.C:
1173         * lyxfunc.C: remove insetminipage. "minipage-insert"
1174         now produces a frameless minipage box inset.
1175
1176 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1177
1178         * textcursor.[Ch] (selStart,selEnd): add new methods
1179         remove selection::start, end, use LyXCursor::operator<
1180         * lyxcursor.[Ch] (operator<): add
1181         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1182         * BufferView.[Ch] (unsetXSel): add
1183         * text2.C (clearSelection): use unsetXSel,adjust
1184         * text.C: adjust
1185         * text3.C: adjust
1186         * rowpainter.C: adjust
1187         * bufferview_funcs.C (put_selection_at): adjust
1188
1189 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1190
1191         * BufferView_pimpl.C: small coord. correction
1192
1193 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1194
1195         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1196         dragging over the splash screen.
1197
1198 2003-12-11  Angus Leeming  <leeming@lyx.org>
1199
1200         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1201         as it is now handled in LyXText::dispatch.
1202
1203         * text3.C (doInsertInset): remove a level of nesting.
1204
1205 2003-12-11  Angus Leeming  <leeming@lyx.org>
1206
1207         * factory.C (createInset): changes due to the changed interface to
1208         InsetCommandMailer::string2params.
1209
1210 2003-12-10  Angus Leeming  <leeming@lyx.org>
1211
1212         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1213         'dialog-show-new-inset <inset name>'
1214
1215 2003-12-10  Angus Leeming  <leeming@lyx.org>
1216
1217         * buffer.C: up the format to 227.
1218
1219         * factory.C: the box inset is now identified simply by 'Box'.
1220
1221 2003-12-10  Angus Leeming  <leeming@lyx.org>
1222
1223         * buffer.C: up the format to 226.
1224
1225         * factory.C: the note inset is now identified simply by 'Note'.
1226
1227 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1228
1229         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1230         when a pit is enough. Standarize a couple of loops.
1231
1232 2003-12-05  Angus Leeming  <leeming@lyx.org>
1233
1234         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1235         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1236         data to the re-worked "log" dialog.
1237
1238 2003-12-03  André Pönitz  <poenitz@gmx.net>
1239
1240         * PosIterator.C:
1241         * iterators.C:
1242         * lyxtext.h:
1243         * output_latex.C:
1244         * paragraph_funcs.C:
1245         * text.C:
1246         * text2.C: use Inset::getText instead of Inset::getParagraph
1247
1248 2003-12-03  André Pönitz  <poenitz@gmx.net>
1249
1250         * buffer.[Ch]:
1251         * lyxtext.h:
1252         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1253         InsetText::read() as LyXText::read()
1254
1255 2003-12-02  Angus Leeming  <leeming@lyx.org>
1256
1257         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1258         type. Add a comment in the implementation that the function uses
1259         the stream's bad() function rather than fail() as the std::streams
1260         would do.
1261
1262 2003-12-02  André Pönitz  <poenitz@gmx.net>
1263
1264         * lyxlex.[Ch]: make interface more similar to std::stream
1265
1266         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1267
1268 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1269
1270         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1271
1272 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1273
1274         * vspace.[Ch]: remove VSpace::NONE
1275
1276 2003-12-01  André Pönitz  <poenitz@gmx.net>
1277
1278         * buffer.[Ch]:
1279         * lyxtext.h: move ParagraphList member to LyXText
1280         rename LyXText::ownerParagraphs to LyXText::paragraph
1281
1282         * CutAndPaste.C:
1283         * bufferview_funcs.C:
1284         * iterators.[Ch]:
1285         * lyx_cb.C:
1286         * paragraph.C:
1287         * rowpainter.C:
1288         * tabular.C:
1289         * text.C:
1290         * text2.C:
1291         * text3.C: adjust
1292
1293         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1294
1295         * undo.C: fix cursor positioning
1296
1297 2003-12-01  John Levon  <levon@movementarian.org>
1298
1299         * BufferView_pimpl.C: fix a crash on exit with
1300         a buffer open
1301
1302 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1303
1304         * BranchList.C: fix setSelected() method.
1305
1306 2003-11-28  André Pönitz  <poenitz@gmx.net>
1307
1308         * ParagraphParameters.[Ch]:
1309         * ParameterStruct.h: remove space above/below from Paragraph to
1310          InsetVSpace
1311
1312         * BufferView_pimpl.C:
1313         * factory.C:
1314         * lyxfunc.C:
1315         * lyxtext.h:
1316         * output_latex.C:
1317         * paragraph.C:
1318         * paragraph_funcs.C:
1319         * rowpainter.[Ch]:
1320         * text.C:
1321         * text2.C:
1322         * text3.C: adjust
1323
1324 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1325
1326         * factory.C: Syntax change for CharStyles
1327
1328 2003-11-28  André Pönitz  <poenitz@gmx.net>
1329
1330         * BufferView.[Ch]:
1331         * BufferView.[Ch]:
1332         * buffer.[Ch]:
1333         * buffer.[Ch]: move LyXText member
1334
1335 2003-11-28  André Pönitz  <poenitz@gmx.net>
1336
1337         * BufferView.[Ch]: make LyXText * text a private member
1338
1339         * BufferView_pimpl.C:
1340         * cursor.C:
1341         * iterators.C:
1342         * lyx_cb.C:
1343         * lyxfind.C:
1344         * lyxtext.h:
1345         * rowpainter.[Ch]:
1346         * text.C:
1347         * text2.C:
1348         * undo.C: adjust
1349
1350         * output_plaintext.C: cleanup
1351
1352 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1353
1354         * buffer.C:
1355         * lyxtextclass.[Ch]: parametrize SGML document header
1356
1357 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1358
1359         * converter.[Ch]:
1360         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1361         getFlavor().
1362
1363 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1364
1365         * text2.C (setFont): rework using PosIterator (no more recursive)
1366         (setCharFont): no more needed
1367         (setLayout): no more selection cursors fiddling (done by redoCursor)
1368         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1369         destroy remaining ones)
1370
1371 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1374         * lyxtext.h: ditto
1375         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1376         selection cursors
1377         * lyxfunc.C: adjust
1378         * text3.C: adjust + re-allow multi par depth changes
1379         * textcursor.C: simplify a bit
1380
1381 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1382
1383         * src/buffer.C:
1384         * src/lyxlayout.C:
1385         * src/lyxlayout.h:
1386         * src/lyxtext.h:
1387         * src/output_docbook.C:
1388         * src/output_latex.C:
1389         * src/paragraph.C:
1390         * src/paragraph.h:
1391         * src/sgml.C:
1392         * src/sgml.h:
1393         * src/text2.C: Introducing a number of tags parametrizing various
1394         XML formats that we may want to support
1395
1396 2003-11-25  André Pönitz  <poenitz@gmx.net>
1397
1398         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1399
1400         * lyxtext.h (leftMargin/rightMargin): simplify interface
1401
1402         * rowpainter.C:
1403         * text.C:
1404         * text2.C:
1405         * text3.C: adjust
1406
1407 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1408
1409         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1410         master file to any child files. Fixes bug 546.
1411
1412 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1415
1416 2003-11-24  André Pönitz  <poenitz@gmx.net>
1417
1418         * rowpainter.C: simplification
1419
1420         * text2.C (updateCounters): remove call to redoParagraph on
1421         changed labels as this is far too expensive.
1422
1423 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1424
1425         * converter.C (convert): fix a crash: this function gets
1426         called with buffer == 0 from importer code.
1427
1428 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1429
1430         * text3.C (cursorPrevious): make sure that we do not compare
1431         iterators form different containers.
1432         (cursorNext): ditto
1433
1434         * rowpainter.C (paintSelection): make sure that we do not compare
1435         iterators from different containers.
1436
1437         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1438         iterators from different ParagraphList containers.
1439         [NEXT] ditto
1440
1441         * text2.C (LyXText): change order of initialization slightly
1442         (operator=): new function. copy all variables except cache_par_
1443         (moveUp): make sure that we do not compare iterators from
1444         different ParagraphList constainers.
1445         (moveDown): ditto
1446
1447         * text.C (firstPar): new function
1448         (lastPar): new function
1449         (endPar): new function
1450
1451         * lyxtext.h: move things around and group public functions, public
1452         variables, private functions, private variables
1453
1454 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1455
1456         * factory.C: change call to InsetERT constructor to avoid
1457         additional invocation of method status
1458         * text2.C (toggleInset): remove redundant update() call
1459         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1460         instead of a Bufferview pointer
1461
1462 2003-11-21  André Pönitz  <poenitz@gmx.net>
1463
1464         * rowpainter.C: simplification
1465
1466 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1467
1468         * text3.C (dispatch): make possible to extend a word/row selection
1469         with the mouse
1470
1471 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1472
1473         * lyxtext.h: x0_,y0_ -> xo_,yo_
1474         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1475         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1476         * rowpainter.C (paintRows): paint full paragraphs
1477
1478 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1479
1480         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1481         screen coordinates)
1482
1483 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1484
1485         * lyxtext.h: add x0_, y0_
1486         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1487         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1488
1489 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * text2.C (setCursorIntern): move the x_target update here *
1492         * text3.C: change some bv() to true/false in calls to
1493         cursorUp/Down/Right/Left
1494         * cursor.C: use helper function.
1495
1496 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1499         * paragraph_funcs.[Ch]: correct comment
1500         * rowpainter.C: do not paint selections away from bv->cursor()
1501         Fix a long standing selection painting bug.
1502         * text3.C: generalize mouse-selection code to LyXTexts other that
1503         top one
1504         * textcursor.C: do not use y coords if we can use par offsets
1505
1506 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1507
1508         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1509         cursor position after e.g. inset insert)
1510
1511 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1512
1513         * lyxfind.C (replace): adjust to locking removal + some
1514         code simplification
1515
1516 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1517
1518         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1519         of the path
1520
1521 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1522
1523         * lyxlayout.[Ch]:
1524         * output_docbook.C: XML sanitation: new layout
1525         parameters InnerTag and CommandDepth
1526
1527 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1528
1529         * BufferView_pimpl.C:
1530         * factory.C:
1531         * text3.C: Fix the insertion and modification of button-style
1532         insets
1533
1534 2003-11-13  André Pönitz  <poenitz@gmx.net>
1535
1536         * InsetList.[Ch]: remove deleteLyXText
1537
1538         * paragraph.[Ch]: cache beginOfBody position
1539
1540         * Bidi.C:
1541         * text.C:
1542         * text2.C:
1543         * text3.C: remove superfluous update() calls
1544
1545         * vspace.C: cleanup
1546
1547 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1548
1549         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1550         * BufferView.C (fitLockedInsetCursor): remove
1551         * cursor.[Ch] (getDim): add
1552         * text.C (getRowNearY): add faster version
1553         * text3.C: remove some update calls
1554
1555 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1556
1557         * LaTeXFeatures.C:
1558         * LyXAction.C:
1559         * MenuBackend.C:
1560         * MenuBackend.h:
1561         * dispatchresult.h:
1562         * factory.C:
1563         * lfuns.h:
1564         * lyxfunc.C:
1565         * lyxtextclass.C:
1566         * lyxtextclass.h:
1567         * text3.C: The Character Style /XML short element patch.
1568
1569 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1570
1571         * text3.C:
1572         * factory.C: Small step to solving 'unable to insert some insets'
1573         problem
1574
1575 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1576
1577         * cursor.[Ch] (updatePos): new function for updating the y
1578         position of the tip inset
1579         * bufferview_funcs.C (put_selection_at):
1580         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1581
1582 2003-11-11  André Pönitz  <poenitz@gmx.net>
1583
1584         * text.C: remove big comment on invalid Paragraph pointers as it is
1585         not valid anymore
1586
1587 2003-11-11  André Pönitz  <poenitz@gmx.net>
1588
1589         * text_funcs.[Ch]: merge with ...
1590
1591         * text.C: ... this
1592
1593         * lyxtext.h:
1594         * text2.C:
1595         * text3.C: adjust
1596
1597         * Makefile.am: remove text_funcs.[Ch]
1598
1599 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1600
1601         * cursor.C (getPos): return absolute cached y coord
1602
1603         * BufferView_pimpl.C (fitCursor): new simplistic code
1604         (workAreaDispatch): add a fitCursor call
1605
1606 2003-11-10  André Pönitz  <poenitz@gmx.net>
1607
1608         * BufferView.[Ch]:
1609         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1610
1611 2003-11-10  André Pönitz  <poenitz@gmx.net>
1612
1613         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1614         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1615         indicate that the cursor needs to leave an inset
1616
1617         * lyxtext.h: remove inset locking
1618
1619         * cursor.[Ch]: re-implement functionality provided by inset locking
1620
1621         * BufferView.[Ch]:
1622         * BufferView_pimpl.[Ch]:
1623         * LyXAction.C:
1624         * bufferview_funcs.[Ch]:
1625         * factory.C:
1626         * funcrequest.[Ch]:
1627         * iterators.C:
1628         * lyx_cb.C:
1629         * lyxfind.C:
1630         * lyxfunc.C:
1631         * text.C:
1632         * text2.C:
1633         * text3.C:
1634         * undo.C: adjust
1635
1636 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1637
1638         * PosIterator.[Ch]: replace the stack with a vector, add inset
1639         accesor
1640         * iterators.[C]: adjust
1641
1642 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1643
1644         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1645         replaced
1646         * paragraph_funcs.C (readParToken): put the correct id in the
1647         error item, not the id of the top paragraph
1648
1649 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1650
1651         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1652         * bufferview_funcs.C (put_selection_at): use the above
1653
1654 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1655
1656         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1657
1658 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1659
1660         * output_linuxdoc.h:
1661         * output_plaintext.h:
1662         * output.h:
1663         * output_docbook.h: add #include statements
1664
1665 2003-11-05  José Matos  <jamatos@lyx.org>
1666
1667         * output_docbook.[Ch]:
1668         * output_latex.[Ch]:
1669         * output_linuxdoc.[Ch]:
1670         * output_plaintext.[Ch]: New files for output formats.
1671         * output.[Ch]: New file for helper functions.
1672
1673         * buffer.[Ch]:
1674         * paragraph_funcs.[Ch]: output functions moved to new files.
1675
1676         * outputparams.h: rename of latexrunparams.h
1677
1678         * LaTeX.[Ch]:
1679         * buffer.[Ch]:
1680         * bufferlist.[Ch]:
1681         * converter.[Ch]:
1682         * exporter.C:
1683         * paragraph.[Ch]:
1684         * paragraph_funcs.[Ch]:
1685         * paragraph_pimpl.[Ch]:
1686         * tabular.[Ch]: rename ascii to plaintext
1687         and LatexRunParams to OutputParams.
1688
1689 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1690
1691         * iterators.[Ch] (text): require bv argument
1692         * undo.C (recordUndo):
1693         * lyxfunc.C (dispatch):
1694         * bufferview_funcs.C (put_selection_at): adjust
1695
1696 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1697
1698         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1699
1700 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1701
1702         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1703         nestings
1704
1705 2003-11-04  André Pönitz  <poenitz@gmx.net>
1706
1707         * cursor.[Ch]: restructure
1708
1709         * BufferView.[Ch]:
1710         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1711
1712         * iterators.[Ch] (asCursor): remove
1713
1714         * lfuns.h: remove LFUN_INSET_EDIT
1715
1716         * lyxfunc.C:
1717         * tabular.C:
1718         * text.C:
1719         * text2.C:
1720         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1721
1722 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1723
1724         * lyxfind.[Ch]: complete overhaul
1725         * BufferView_pimpl.C:
1726         * lyxfunc.C: adjust
1727         * paragraph.[Ch] (insert): add
1728
1729 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1730
1731         * BufferView.[Ch]:
1732         * lyxtext.h:
1733         * text.C: remove dead spellcheck code
1734
1735 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * dispatchresult.h: add a val setter
1738
1739         * cursor.C (dispatch): use a tempvar for data_[i]
1740
1741 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1742
1743         * PosIterator.[Ch]: compile fix
1744
1745 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1746
1747         * text.C (cursorPar): deactivate the cursor cache
1748
1749 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1750
1751         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1752
1753 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1754
1755         * text3.C (dispatch): adjust for new DisptchResult semantics.
1756
1757         * lyxfunc.C (dispatch): handle update when return from
1758         Cursor::dispatch, adjust for new DispatchResult semantics.
1759
1760         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1761         DispatchResult(true) mean to not update. Add class functions for
1762         setting dispatched and update, as well as reading.
1763
1764         * cursor.C (dispatch): don't handle update here
1765
1766 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1767
1768         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1769         * trans_mgr.C: adjust
1770
1771         * paragraph_funcs.C (readParToken): exception safety
1772
1773         * lyxvc.h: store the vcs pointer in a scoped_ptr
1774         * lyxvc.C: adjust
1775
1776         * lyxsocket.C (serverCallback): exception safety
1777
1778         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1779
1780         * ispell.C (clone): make it return a auto_ptr
1781
1782         * factory.C (createInset): exception safety
1783         (readInset): exception safety
1784
1785         * bufferlist.C (newBuffer): exception safety
1786
1787         * Thesaurus.C (Thesaurus): use initialization for aik_
1788
1789         * MenuBackend.C (expandToc): exception safety.
1790
1791 2003-11-03  André Pönitz  <poenitz@gmx.net>
1792
1793         * buffer.C:
1794         * buffer.h:
1795         * bufferview_funcs.C: remove getInsetFromId()
1796
1797         * lyxcursor.[Ch]:
1798         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1799
1800         * lyxfunc.C:
1801         * text2.C:
1802         * text3.C: adjust
1803
1804 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * PosIterator.C (distance, advance): new
1807         * bufferview_funcs.[Ch] (put_selection_at): new
1808         * iterators.[Ch] (lockPath): new
1809
1810 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1811
1812         * iterators.[Ch] (asPosIterator): added
1813         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1814         * PosIterator.[Ch]: added
1815
1816 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1817
1818         * text3.C:
1819         * lyxfunc.C:
1820         * cursor.C (dispatch):
1821         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1822
1823         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1824         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1825         contructor, add a class function dispatched. Remove operator>=
1826
1827 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * debug.C: only use the default constructor for debugstream
1830         (lyxerr) here.
1831
1832         * main.C (main): include debug.h and setup the lyxerr streambuf
1833         here.
1834
1835 2003-10-31  José Matos  <jamatos@lyx.org>
1836
1837         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1838
1839         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1840         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1841         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1842         * paragraph_pimpl.C (simpleTeXSpecialC):
1843         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1844         add LatexRunParams argument.
1845
1846         * exporter.C (Export): change call accordingly.
1847
1848         * latexrunparams.h: add new member to take care of the other backends.
1849 2003-10-30  José Matos  <jamatos@lyx.org>
1850
1851         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1852         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1853         factorise code for paragraph output.
1854         * buffer.[Ch]:
1855         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1856         move functions.
1857
1858 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1859
1860         * text3.C (dispatch):
1861         * lyxfunc.C (dispatch):
1862         * cursor.C (dispatch):
1863         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1864
1865         * dispatchresult.h: make the dispatch_result_t ctor explicit
1866
1867 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1868
1869         * sgml.[Ch]:
1870         * buffer.C: small refactoring of docbook stuff
1871
1872 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1873
1874         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1875         meaning.
1876
1877 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1880         operator dispatch_result_t, and operators for == != and >=
1881
1882         * cursor.C (dispatch): adjust for operator dispatch_result_t
1883         removal. comment out call to update
1884
1885         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1886
1887 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1888
1889         * text3.C:
1890         * text2.C:
1891         * text.C:
1892         * lyxtext.h:
1893         * lyxfunc.C:
1894         * cursor.C:
1895         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1896         (dispatch):
1897
1898         * dispatchresult.h: new file, DispatchResult broken out of
1899         insets/insetbase.h
1900
1901         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1902
1903 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1904
1905         * text.C (rowBreakPoint): put a hack inside #if 0
1906
1907 2003-10-28  André Pönitz  <poenitz@gmx.net>
1908
1909         * lyxtext.h:
1910         * metricsinfo.C:
1911         * paragraph_funcs.C:
1912         * rowpainter.C:
1913         * text.C:
1914         * text2.C: general cleanup (lots of small stuff)
1915
1916 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1917
1918         * text2.C (cursorEnd): simple fix to the "end key goes to one
1919         before the end on last row" bug
1920
1921 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1922
1923         * text.C (backspace): fix the "zombie characters"
1924
1925 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1926
1927         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1928
1929 2003-10-27  André Pönitz  <poenitz@gmx.net>
1930
1931         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1932
1933         * factory.C: handle new InsetPagebreak, InsetLine
1934
1935         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1936         and move handling into new InsetPagebreak, InsetLine
1937
1938         * BufferView_pimpl.C:
1939         * LyXAction.C:
1940         * ParagraphParameters.C:
1941         * ParameterStruct.h:
1942         * lyxfunc.C:
1943         * lyxtext.h:
1944         * paragraph.C:
1945         * paragraph.h:
1946         * paragraph_funcs.C:
1947         * paragraph_pimpl.C:
1948         * rowpainter.C:
1949         * text.C:
1950         * text2.C:
1951         * text3.C: adjust
1952
1953 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1954
1955         * text.C:
1956         * lyxrow_funcs.[Ch]:
1957         * Bidi.C:
1958         * paragraph.C:
1959         * lyxtext.h:
1960         * rowpainter.C:
1961         * text2.C:
1962         * text3.C: remove lastPos uses in favour of Row::endpos
1963
1964 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1965
1966         * undo.C (performUndoOrRedo): fix two crashes by setting a
1967         cursor by hand and reordering some calls. Use bv->lockInset instead
1968         of inset->edit because the latter loses cursor information
1969
1970 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1971
1972         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1973         by Martin
1974         (rowBreakPoint): fix width. change point to point + 1.
1975         Add a missing check.
1976
1977 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1978
1979         * MenuBackend.C:
1980         * lyxfunc.C: fix (at least partly) the problems
1981         with the Nav menu and headers inside branch insets
1982         reported by Kayvan
1983
1984 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1985
1986         * paragraph.C (getChar): add strong asserts
1987
1988         * lyxrow_funcs.C (lastPos): remove hideous hack
1989
1990         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1991         (fill): adjust to that (avoid an infinite loop)
1992
1993 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1994
1995         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1996
1997 2003-10-23  André Pönitz  <poenitz@gmx.net>
1998
1999         * RowList_fwd.h: change list<> to vector<> to gain speed
2000         after suggestion from Alfredo
2001
2002 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2003
2004         * lyxtext.h: move the bidi stuff from here...
2005         * text.C: and here
2006         * text2.C: and here
2007         * Bidi.[Ch]: ... to here
2008
2009 2003-10-23  André Pönitz  <poenitz@gmx.net>
2010
2011         * lyxtext.h:
2012         * text.C (isLastRow, isFirstRow): new functions
2013
2014         * paragraph.h: new width cache member
2015
2016         * rowpainter.C: replace RowList::iterator with Row & where possible
2017
2018         * lyxfunc.C: replace several view()->text with a single call
2019
2020         * toc.C: fix 'unused' warning
2021
2022 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2023
2024         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2025         when woring with stream::pos_type
2026         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2027
2028 2003-10-22  André Pönitz  <poenitz@gmx.net>
2029
2030         * lyxtext.h:
2031         * text.C: use Row & instead of RowList::iterator
2032
2033         * lyxrow.h: rename end() to endpos()
2034
2035         * rowpainter.C:
2036         * text.C:
2037         * text2.C: adjust
2038
2039 2003-10-22  Angus Leeming  <leeming@lyx.org>
2040
2041         * buffer.[Ch] (fully_loaded): new member function, returning true
2042         only when the file has been loaded fully.
2043         Used to prevent the premature generation of previews and by the
2044         citation inset to prevent computation of the natbib-style label.
2045
2046         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2047         templates are all set up.
2048
2049         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2050
2051 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2052
2053         * text.C: fixed an "oops" in the "is a bit silly"
2054         bug fix
2055
2056 2003-10-21  André Pönitz  <poenitz@gmx.net>
2057
2058         * FuncStatus.[Ch]: small stuff, whitespace
2059
2060         * lyxfont.[Ch]: operator<<() for debug reasons
2061
2062         * lyxfunc.C:
2063         * lyxrow_funcs.C:
2064         * lyxtext.h: whitespace, spelling
2065
2066         * paragraph.C: naming of variables
2067
2068         * text.C:
2069         * text2.C: small stuff
2070
2071
2072 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2073
2074         * text.C: (1) finish off the inset display() work;
2075         (2) fix the "is a bit silly" bug (accessing char
2076         past end of par).
2077
2078 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2079
2080         * text.C: re-introduce display() for insets, fixing the
2081         various bugs (stretch of line above, math inset
2082         positioning, ...)
2083
2084 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2085
2086         * text.C (rightMargin): remove spurious semicolon
2087
2088         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2089         1415)
2090
2091 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2092
2093         * text3.C: fix one crash due to wrong cursor def
2094
2095 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * vc-backend.C (scanMaster): make the regex static
2098
2099         * LaTeX.C (scanAuxFile): make the regexs static
2100
2101         * text3.C (doInsertInset, dispatch, dispatch):
2102         * text2.C (cursorUp, cursorDown):
2103         * text.C (selectNextWordToSpellcheck):
2104         * BufferView_pimpl.C (dispatch):
2105         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2106
2107 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2108
2109         * lyxsocket.C: include <cerrno>
2110
2111 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2112
2113         * lyxfunc.C (dispatch): remove textcache stuff
2114
2115         * bufferlist.C (release): remove textcache stuff
2116         (closeAll): ditto
2117
2118         * TextCache.C: delete file
2119         * TextCache.h: delete file
2120
2121         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2122
2123         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2124         delete of the bv_->text.
2125         (resizeCurrentBuffer): remove texcache stuff
2126         (workAreaResize): ditto
2127
2128 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2129
2130         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2131         action.
2132
2133 2003-10-16  André Pönitz  <poenitz@gmx.net>
2134
2135         * lyxrow.[Ch]:
2136         * paragraph.h:
2137         * rowpainter.C:
2138         * text.C:
2139         * text2.C:
2140         * text3.C: speed up by storing y positions per paragraph plus per-row
2141         offset instead of having a 'full' y position in the row.
2142
2143 2003-10-15  André Pönitz  <poenitz@gmx.net>
2144
2145         * iterators.[Ch]:
2146         * iterators.[Ch]:
2147         * undo.[Ch]: make undo aware of inner insets
2148
2149 2003-10-14  Angus Leeming  <leeming@lyx.org>
2150
2151         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2152         static member functions LyX::ref() and LyX::cref.
2153         (lastfiles): new accessor functions for the new lastfiles_ member var.
2154         (addLyXView, views_): add a new LyXView to the list of views_.
2155         (updateInset): loop over all LyXViews to call their own updateInset
2156         member function, returning a pointer to the Buffer owning the inset.
2157
2158         * BufferView_pimpl.C (loadLyXFile):
2159         * MenuBackend.C (expandLastfiles):
2160         * bufferlist.C (MenuWrite, QuitLyX):
2161         lastfiles is no longer a global variable.
2162         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2163
2164         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2165         static function. Access through LyX::cref().emergencyCleanup().
2166
2167 2003-10-14  André Pönitz  <poenitz@gmx.net>
2168
2169         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2170
2171         * undo.[Ch]: restoring part of 'undo in insets'
2172
2173         * Makefile.am:
2174         * undo_funcs.[Ch]: merge with undo.[Ch]
2175
2176         * tabular.C: small cleansing stuff
2177
2178 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2179
2180         * paragraph_funcs.C (readParToken): report unknown insets as error
2181         boxes. Use the outer paragraph as location (also for unknown
2182         tokens).
2183
2184         * factory.C (readInset): do not abort on reading an unknown inset.
2185         Eat it and return 0.
2186
2187 2003-10-13  Angus Leeming  <leeming@lyx.org>
2188
2189         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2190
2191         * lyxrc.C: displayTranslator is now a function,
2192         declared in GraphicsTypes.h.
2193
2194 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2195
2196         * format.C: new placeholder $$a to pass the socket address.
2197
2198         * bufferlist.[Ch]: new function getBufferFromTmp.
2199
2200         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2201           files in the temporary dir.
2202
2203 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2204
2205         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2206
2207         * Makefile.am: add lyxsocket.[Ch].
2208
2209         * lyx_main.C (error_handler): handle SIGPIPE.
2210
2211 2003-10-13  André Pönitz  <poenitz@gmx.net>
2212
2213         * BufferView_pimpl.C:
2214         * lyxtext.h:
2215         * text.C:
2216         * text2.C:
2217         * text3.C:
2218         * undo_funcs.[Ch]: use paroffset_type instead of
2219           ParagraphList::iterators to prevent multiple conversion
2220           (and get a more robust interface)
2221
2222 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2223
2224         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2225         * lyxtext.h: ditto
2226         * text3.C (dispatch): ditto
2227
2228 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2229
2230         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2231         move the onlyfile, use onlyfile instead of foundfile in a couple
2232         of places.
2233
2234         * DepTable.C (update): flush the error stream a bit more
2235
2236 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * lyxserver.C (callback): adjust
2239
2240         * lyxfunc.C (getStatus): add a missing brace in commented code
2241         (ensureBufferClean): reindent
2242         (dispatch): delete version taking a string
2243
2244 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * LaTeX.C (deplog): move found file handlig from here...
2247         (handleFoundFile): .. to new function here.
2248         (deplog): make sure to discover several files mentioned on the
2249         same log line.
2250
2251 2003-10-10  André Pönitz  <poenitz@gmx.net>
2252
2253         * lyxfunc.C:
2254         * lyxtext.h:
2255         * tabular.C:
2256         * text.C:
2257         * text2.C:
2258         * text3.C: fix some of the tabular crashes
2259
2260 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2261
2262         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2263
2264         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2265
2266 2003-10-09  André Pönitz  <poenitz@gmx.net>
2267
2268         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2269
2270         * BufferView.C:
2271         * BufferView_pimpl.C:
2272         * bufferview_funcs.C:
2273         * lyx_cb.C:
2274         * lyxcursor.C:
2275         * lyxfind.C:
2276         * lyxfunc.C:
2277         * lyxtext.h:
2278         * text.C:
2279         * text2.C:
2280         * text3.C:
2281         * text_funcs.[Ch]:
2282         * textcursor.[Ch]:
2283         * undo_funcs.C: adjust
2284
2285 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2286
2287         * text2.C (incrementItemDepth): new function, use a backtracking
2288         algorithm to discover the correct item depth.
2289         (resetEnumCounterIfNeeded): new function, use a backtracking
2290         algorithm to discover if counter reset is needed.
2291         (setCounter): use them. Simplify a bit. Add different labels for
2292         different item depths for itemize.
2293
2294         * paragraph.C (Paragraph): remove initialization of enumdepth
2295         (operator=): ditto
2296
2297         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2298         enumerate and itemize. Change the type of itemdepth to signed char.
2299
2300 2003-10-08  André Pönitz  <poenitz@gmx.net>
2301
2302         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2303           thing assignable.
2304         * text.C:
2305         * text2.C: adjust
2306
2307         * tabular.[Ch]: fix crash after 'row-insert'
2308
2309 2003-10-08  Angus Leeming  <leeming@lyx.org>
2310
2311         Fix doxygen warnings.
2312
2313         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2314         Remove CutAndPaste:: prefix from header file declaration.
2315
2316         * LColor.h (fill): remove LColor:: prefix from declaration.
2317
2318         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2319         use lyx::depth_type rather than Paragraph::depth_type so that
2320         header file and .C file match.
2321
2322         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2323
2324         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2325         * aspell.C: \file aspell_local.C -> \file aspell.C
2326         * gettext.C: \file gettext.C -> \file src/gettext.C
2327         * gettext.h: \file gettext.h -> \file src/gettext.h
2328         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2329         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2330         * text.C: \file text.C -> \file src/text.C
2331
2332         * toc.C: move comment so that doxygen is not confused.
2333
2334 2003-10-07  Angus Leeming  <leeming@lyx.org>
2335
2336         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2337
2338 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2339
2340         * aspell.C:
2341         * aspell_local.h: add forgotten std::string's.
2342
2343 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2344
2345         * LaTeXFeatures.C:
2346         * LyXAction.C:
2347         * factory.C:
2348         * lfuns.h:
2349         * lyxfunc.C:
2350         * text3.C: The Box patch. Fancybox support, minipage, parbox
2351
2352 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2353
2354         * CutAndPaste.h:
2355         * DepTable.h:
2356         * FloatList.h:
2357         * LaTeXFeatures.h:
2358         * ParagraphParameters.h:
2359         * TextCache.h:
2360         * Thesaurus.h:
2361         * bufferlist.h:
2362         * exporter.h:
2363         * importer.h:
2364         * lastfiles.h:
2365         * lyxfind.h:
2366         * lyxfont.h:
2367         * lyxlex.h:
2368         * lyxtextclasslist.h:
2369         * messages.h:
2370         * paragraph.h:
2371         * paragraph_pimpl.C:
2372         * textcursor.h: add <string> and other small fixes to make Lars'
2373         std::string patch compile with STLport.
2374
2375 2003-10-06  Angus Leeming  <leeming@lyx.org>
2376
2377         * LColor.h: Add missing #include <string>.
2378
2379 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * All most all file in all subdirs: Make <string> be the prefered
2382         way of getting to std::string, add using declarations.
2383
2384 2003-10-06  André Pönitz  <poenitz@gmx.net>
2385
2386         * metricsinfo.C: initialize LyXFont before changing attribute.
2387         (fixes the 'math in \emph is upright' bug)
2388
2389 2003-10-06  André Pönitz  <poenitz@gmx.net>
2390
2391         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2392
2393 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2394
2395         * graph.C:
2396         * paragraph_pimpl.C: Small fixes to build using STLport
2397
2398 2003-10-02  André Pönitz  <poenitz@gmx.net>
2399
2400         * lyxfunc.C:
2401         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2402
2403 2003-10-01  André Pönitz  <poenitz@gmx.net>
2404
2405         * factory.C: assert early
2406
2407 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * lyx_main.C: remove the global debug object
2410
2411         * debug.h: adjust for new debugstream
2412
2413         * debug.C: adjust for new debugstream and keep the global debug
2414         object here.
2415
2416 2003-09-22  Angus Leeming  <leeming@lyx.org>
2417
2418         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2419         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2420         an incomplete class LyXFont.
2421
2422 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2423
2424         * factory.C: bug fix in branches
2425
2426 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2427
2428         * lyxfunc.C (processKeySym): adjust
2429         (dispatch): adjust
2430         (dispatch): change arg name from ev to func, adjust
2431         (sendDispatchMessage): ditto
2432
2433         * lyx_main.C (defaultKeyBindings): adjust keybindings
2434         (deadKeyBindings): ditto
2435
2436         * kbsequence.C (addkey): return a FuncRequest
2437
2438         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2439
2440         * kbmap.C (bind): take a FuncRequest as arg, adjust
2441         (read): adjust
2442         (lookup): adjust
2443         (defkey): change to take a FuncRequest as arg, adjust
2444         (findbinding): take a FuncRequest as arg, adjust.
2445
2446         * funcrequest.h (operator=): added
2447
2448         * funcrequest.C (FuncRequest): default kb_action changed from
2449         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2450
2451         * buffer.C (dispatch): simplify
2452         (dispatch): adjust to take a FuncRequest as arg, adjust
2453
2454         * boost.C (assertion_failed): change assertion message slightly
2455
2456         * ToolbarBackend.C (read): simplify
2457
2458         * MenuBackend.C (binding): adjust call to findbinding, add a
2459         message if no binding is found.
2460         (read): simplify
2461         (expandToc): correct by adding a empty FuncRequest
2462
2463         * LyXAction.C: include <boost/assert.hpp>
2464         (isPseudoAction): delete function
2465         (LookupFunc): change name to...
2466         (lookupFunc): this. change return type to FuncRequest.
2467         (getActionName): take kb_action as arg, simplify
2468         (funcHasFlag): add an assert, simplify.
2469
2470 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * toc.C (action): return a FuncRequest, simplify
2473
2474         * lyxfunc.C (processKeySym): adjust
2475         (getStatus): delete version that takes an int.
2476         (getStatus): adjust
2477         (dispatch): delete version that takes action as int
2478         (dispatch): adjust
2479         (sendDispatchMessage): simplify and adjust
2480
2481         * funcrequest.C (getArg): take unsigned int as arg
2482
2483         * ToolbarBackend.C (read): adjust
2484         (add): delete version that takes func as a string.
2485         (getIton): take a FuncRequest as arg
2486
2487         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2488         action.
2489
2490         * MenuBackend.C (MenuItem): add a new construct that only takes a
2491         Kind, simplify the constructor use for submenus.
2492         (add): adjust
2493         (expandLastfiles): adjust
2494         (expandDocuments): adjust
2495         (expandFormats): adjust
2496         (expandFloatListInsert): adjust
2497         (expandFloatInsert): adjust
2498         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2499
2500         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2501         Remove class variables lyx_pseudo_map and lyx_arg_map
2502
2503         * LyXAction.C (searchActionArg): delete function
2504         (getPseudoAction): delete function
2505         (retrieveActionArg): delete function
2506         (LookupFunc): make it return kb_action, simplify.
2507         (getActionName): simplify
2508
2509         * factory.C (createInset): fix new bug
2510
2511 2003-09-19  Angus Leeming  <leeming@lyx.org>
2512
2513         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2514         masterFilename_ parameter in the include inset.
2515
2516         * factory.C (createInset): changes due to the changes to InsetInclude.
2517
2518 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2519
2520         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2521
2522 2003-09-18  Angus Leeming  <leeming@lyx.org>
2523
2524         * buffer.C:
2525         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2526         Inset::fillWithBibKeys.
2527         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2528
2529 2003-09-18  Angus Leeming  <leeming@lyx.org>
2530
2531         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2532         variables.
2533         (ctor): pass and store a 'Buffer const &'
2534         (buffer): new member function.
2535
2536         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2537         '*this' to the LaTeXFeatures ctor.
2538
2539 2003-09-18  Angus Leeming  <leeming@lyx.org>
2540
2541         * LColor.h:
2542         * lyxfont.C:
2543         * lyxfont.h:
2544         * lyxtext.h:
2545         * text.C: rename EnumLColor as LColor_color.
2546
2547 2003-09-18  Angus Leeming  <leeming@lyx.org>
2548
2549         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2550         remove #include "insets/insetbase.h" from cursor.h.
2551
2552 2003-09-18  Angus Leeming  <leeming@lyx.org>
2553
2554         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2555         InsetOld_code to remove #include "inset.h".
2556
2557         * iterators.C: add #include "insets/inset.h"
2558
2559 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2560
2561         * BufferView.C: remove more locking stuff that apparently doesn't
2562         do anything sensible.
2563
2564 2003-09-16  André Pönitz  <poenitz@gmx.net>
2565
2566         * paragraph.[Ch]:
2567         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2568           performance boost.
2569
2570 2003-09-16  Angus Leeming  <leeming@lyx.org>
2571
2572         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2573
2574         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2575         arg/return type.
2576
2577         * paragraph.h: remove #include "lyxfont.h". Forward declare
2578         LyXFont_size.
2579
2580 2003-09-16  Angus Leeming  <leeming@lyx.org>
2581
2582         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2583         of support/textutils.h.
2584         (isWord): move the contents of support/textutils.h's IsWordChar here.
2585
2586         * buffer.C:
2587         * lyxfind.C:
2588         * rowpainter.C:
2589         * text.C:
2590         * text2.C: add #include "paragraph.h".
2591
2592         * rowpainter.C:
2593         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2594
2595 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * main.C:
2598         * lyx_main.C:
2599         * lyx_cb.C:
2600         * buffer.C:
2601         * LaTeX.C: use namespace alias for lyx::support::os
2602
2603 2003-09-16  Angus Leeming  <leeming@lyx.org>
2604
2605         * bufferparams.C:
2606         * bufferview_funcs.C:
2607         * factory.C:
2608         * lyxfunc.C:
2609         * paragraph_pimpl.C:
2610         * rowpainter.C:
2611         * text.C: add #include "LColor.h".
2612
2613 2003-09-16  Angus Leeming  <leeming@lyx.org>
2614
2615         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2616         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2617         return LyXFont &.
2618         Store the FontBits::color variable as an int rather than as an
2619         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2620         file.
2621
2622         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2623         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2624         string calls together.
2625
2626         * lyxrc.C: add #include "LColor.h".
2627
2628 2003-09-15  Angus Leeming  <leeming@lyx.org>
2629
2630         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2631         a cow_ptr.
2632
2633 2003-09-15  Angus Leeming  <leeming@lyx.org>
2634
2635         * LColor.h: add an EnumLColor wrapper for LColor::color.
2636
2637         * lyxfont.[Ch] (color, setColor, realColor):
2638         * lyxtext.h, text.C (backgroundColor):
2639         pass EnumLColor args to/from the functions, rather than LColor::color
2640         ones.
2641
2642         * lyxfont.h:
2643         * lyxtext.h: forward declare EnumLColor.
2644
2645         * lyx_main.C: add #include "LColor.h".
2646
2647 2003-09-15  Angus Leeming  <leeming@lyx.org>
2648
2649         * .cvsignore: add lyx-gtk.
2650
2651 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2652
2653         * Chktex.C
2654         * LaTeX.C
2655         * LaTeXFeatures.C
2656         * ParagraphParameters.C
2657         * Spacing.C
2658         * buffer.C
2659         * bufferparams.C
2660         * bufferview_funcs.C
2661         * chset.C
2662         * counters.C
2663         * funcrequest.C
2664         * lyxfont.C
2665         * lyxgluelength.C
2666         * lyxlength.C
2667         * paragraph.C
2668         * paragraph_funcs.C
2669         * text3.C
2670         * vc-backend.C: remove usage of STRCONV
2671
2672 2003-09-15  Angus Leeming  <leeming@lyx.org>
2673
2674         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2675         explicitly define the color passed to the painter.
2676
2677 2003-09-15  Angus Leeming  <leeming@lyx.org>
2678
2679         * bufferparams.C (BufferParams): reorder member initializers to avoid
2680         compiler warning.
2681
2682 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2683
2684         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2685         * text.C (updateRowPositions): remove an unusual nop
2686
2687 2003-09-12  André Pönitz  <poenitz@gmx.net>
2688
2689         * BufferView_pimpl.C:
2690         * Bullet.C:
2691         * layout.h:
2692         * lyxfunc.C:
2693         * lyxlayout.[Ch]:
2694         * lyxtextclass.C:
2695         * rowpainter.C:
2696         * text.C:
2697         * text2.C:
2698         * Counters.[Ch]: finish the 'automatic counters' job
2699
2700 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2701
2702         * aspell.C: include <boost/assert.cpp> (compile fix)
2703
2704 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2705
2706         * boost.C (assertion_failed): use lyx::support::abort instead of
2707         assert.
2708
2709 2003-09-10  Angus Leeming  <leeming@lyx.org>
2710
2711         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2712         with their _fwd progeny.
2713
2714 2003-09-09  Angus Leeming  <leeming@lyx.org>
2715
2716         134 files throughtout the source tree: replace 'using namespace abc;'
2717         directives with the appropriate 'using abc::xyz;' declarations.
2718
2719 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2720
2721         * boost.C (emergencyCleanup): moved here from LAssert.c
2722         (assertion_failed): new function, called by BOOST_ASSERT
2723
2724         * several files: change Assert to BOOST_ASSERT
2725
2726 2003-09-09  Angus Leeming  <leeming@lyx.org>
2727
2728         * buffer.[Ch]: Add an Impl class and move Buffer's member
2729         variables into it. As a result move several header files out of
2730         buffer.h.
2731
2732         Add header files to lots of .C files all over the tree as a result.
2733
2734 2003-09-09  Angus Leeming  <leeming@lyx.org>
2735
2736         * buffer.[Ch]: make Buffer's member variables private. Add
2737         accessor functions.
2738
2739         Lots of changes all over the tree as a result.
2740
2741 2003-09-08  Angus Leeming  <leeming@lyx.org>
2742
2743         * graph.C: #include <config.h>.
2744
2745 2003-09-08  Angus Leeming  <leeming@lyx.org>
2746
2747         * BranchList.C:
2748         * BufferView.C:
2749         * BufferView_pimpl.C:
2750         * CutAndPaste.C:
2751         * DepTable.C:
2752         * LaTeX.C:
2753         * LaTeXFeatures.C:
2754         * LyXAction.C:
2755         * MenuBackend.C:
2756         * TextCache.C:
2757         * aspell.C:
2758         * buffer.C:
2759         * bufferlist.C:
2760         * changes.C:
2761         * chset.C:
2762         * converter.C:
2763         * counters.C:
2764         * debug.C:
2765         * graph.C:
2766         * ispell.C:
2767         * lyx_cb.C:
2768         * lyxfind.C:
2769         * lyxfunc.C:
2770         * lyxlex_pimpl.C:
2771         * lyxrc.C:
2772         * lyxrow.C:
2773         * paragraph.C:
2774         * rowpainter.C:
2775         * texrow.C:
2776         * text.C:
2777         * text2.C:
2778         * toc.C: remove redundant using directives.
2779
2780 2003-09-07  Angus Leeming  <leeming@lyx.org>
2781
2782         * LaTeXFeatures.h: remove #include "support/types.h".
2783         * ToolbarBackend.h: remove #include <algorithm>.
2784         * changes.h: remove #include <ctime>.
2785         * debug.h: remove #include <iosfwd>.
2786         * graph.h: remove #include "support/std_string.h".
2787         * lyx_main.h: remove #include <csignal>.
2788         * lyxlex_pimpl.h: remove #include <fstream>.
2789         * sgml.h: remove #include <algorithm>, <utility>.
2790         * toc.h: remove #include "support/std_ostream.h".
2791         Add #include <iosfwd>.
2792
2793 2003-09-07  Angus Leeming  <leeming@lyx.org>
2794
2795         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2796
2797         * converter.h: forward declare LatexRunParams.
2798         * encoding.h: remove #include "lyxrc.h".
2799         * lyxtext.h: remove #include "LColor.h".
2800         * lyxtextclass.h: remove #include "support/types.h".
2801         * trans.h: remove #include "tex-accent.h".
2802         * trans_mgr.h: remove #include "tex-accent.h".
2803         * insets/inset.h: remove #include "support/types.h", <vector>.
2804         * insets/insetcollapsable.h: remove #include "LColor.h".
2805         * insets/insetinclude.h: remove #include "dimension.h".
2806         * insets/insetlatexaccent.h: remove #include "dimension.h".
2807         * insets/insetoptarg.h:: remove #include "insettext.h".
2808         * insets/insettext.h: remove #include "dimension.h",
2809         <boost/shared_ptr.hpp>
2810
2811         * insets/renderers.h: add #include "dimension.h".
2812         * insets/updatableinset.h: add #include "support/types.h".
2813
2814         * many .C files: Associated changes.
2815
2816 2003-09-06  Angus Leeming  <leeming@lyx.org>
2817
2818         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2819         one, inside testInvariant.
2820
2821         * PrinterParams.C: new file.
2822         * PrinterParams.[Ch]: move the function bodies out of line.
2823
2824 2003-09-06  Angus Leeming  <leeming@lyx.org>
2825
2826         * ParagraphParameters.h: forward declare ParameterStruct rather than
2827         including its header file.
2828         (depth): moved out-of-line.
2829
2830 2003-09-06  Angus Leeming  <leeming@lyx.org>
2831
2832         * BufferView_pimpl.h:
2833         * kbmap.h:
2834         * kbsequence.h:
2835         * lyxfunc.h: forward declare LyXKeySym rather than
2836         #include "frontends/LyXKeySym.h".
2837
2838         * BufferView_pimpl.C:
2839         * kbmap.C:
2840         * kbsequence.C:
2841         * lyxfunc.C: associated changes.
2842
2843 2003-09-06  Angus Leeming  <leeming@lyx.org>
2844
2845         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2846         As a result, can remove the #include "insets/inset.h" from BufferView.h
2847
2848 2003-09-06  Angus Leeming  <leeming@lyx.org>
2849
2850         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2851         As a result, can remove the #include "insets/inset.h" from BufferView.h
2852
2853 2003-09-06  Angus Leeming  <leeming@lyx.org>
2854
2855         * buffer_funcs.C:
2856         * buffer.h:
2857         * bufferlist.C:
2858         * BufferView.C:
2859         * bufferview_funcs.C:
2860         * BufferView_pimpl.C:
2861         * CutAndPaste.C:
2862         * lyx_cb.C:
2863         * lyxfunc.C:
2864         * paragraph.h:
2865         * ParagraphParameters.C:
2866         * tabular.C:
2867         * text3.C:
2868         * toc.C:
2869         * undo_funcs.C:
2870         * frontends/controllers/ControlDocument.C:
2871         * insets/insetcaption.C: rearrange the #includes into some sort of
2872         coherent order.
2873
2874         * buffer.h: remove #includes ErrorList.h, undo.h
2875
2876 2003-09-06  Angus Leeming  <leeming@lyx.org>
2877
2878         * support/types.h: add a 'depth_type' typedef, used to store the
2879         nesting depth of a paragraph.
2880
2881         * paragraph.h:
2882         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2883         defining explicitly.
2884
2885         * buffer.h:
2886         * paragraph_funcs.h:
2887         * ParagraphParameters.h:
2888         * sgml.h: use lyx::depth_type rather than Paragraph or
2889         ParameterStruct's depth_type.
2890
2891         * buffer.h
2892         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2893
2894         * BufferView.C:
2895         * BufferView_pimpl.C:
2896         * CutAndPaste.C:
2897         * ParagraphParameters.C:
2898         * buffer_funcs.C:
2899         * bufferlist.C:
2900         * bufferview_funcs.C:
2901         * lyx_cb.C:
2902         * lyxfunc.C:
2903         * tabular.C:
2904         * text3.C:
2905         * toc.C:
2906         * undo_funcs.C:
2907         * frontends/LyXView.C:
2908         * frontends/controllers/ControlDocument.C:
2909         * frontends/controllers/ControlErrorList.C:
2910         * insets/insetbibitem.C:
2911         * insets/insetbranch.C:
2912         * insets/insetcaption.C:
2913         * insets/insetcollapsable.C:
2914         * insets/insetenv.C:
2915         * insets/insetert.C:
2916         * insets/insetfloat.C:
2917         * insets/insetfoot.C:
2918         * insets/insetfootlike.C:
2919         * insets/insetnewline.C:
2920         * insets/insetquotes.C:
2921         * insets/insettabular.C:
2922         * insets/insettext.C:
2923         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2924
2925         * frontends/controllers/ControlChanges.C: #include "changes.h".
2926
2927 2003-09-06  Angus Leeming  <leeming@lyx.org>
2928
2929         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2930         than #including paragraph.h.
2931
2932         * ParagraphList.h:
2933         * RowList.h: deleted. Superfluous.
2934
2935         * CutAndPaste.h:
2936         * iterators.h:
2937         * lyxcursor.h:
2938         * lyxtext.h:
2939         * text_funcs.h:
2940         * undo.h:
2941         * undo_funcs.h:
2942         * insets/inset.h:
2943         * insets/insettext.h: use ParagraphList_fwd.h rather than
2944         ParagraphList.h.
2945
2946         * paragraph.h: don't forward declare ParagraphList.
2947
2948         * buffer.h:
2949         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2950         rather than ParagraphList.h. paragraph.h is still needed for the
2951         Paragraph::depth_type parameters.
2952
2953         * textcursor.h: enable it to compile stand-alone in light of the
2954         above changes.
2955
2956         * bufferview_funcs.C:
2957         * iterators.C:
2958         * lyxfunc.C:
2959         * lyxrow_funcs.C:
2960         * paragraph.C:
2961         * rowpainter.C:
2962         * text.C:
2963         * text2.C:
2964         * text3.C:
2965         * text_funcs.C:
2966         * textcursor.C:
2967         * undo.C:
2968         * frontends/controllers/ControlParagraph.C:
2969         * frontends/controllers/ControlTabular.C:
2970         * insets/insetmarginal.C:
2971         * insets/insetminipage.C:
2972         * insets/insetnote.C:
2973         * insets/insetoptarg.C: add header files needed to compile again.
2974
2975 2003-09-06  Angus Leeming  <leeming@lyx.org>
2976
2977         * RowList_fwd.h: new file, forward-declaring Row rather than
2978         #including lyxrow.h.
2979
2980         * lyxrow_funcs.h:
2981         * lyxtext.h:
2982         * paragraph.h:
2983         * insets/insettext.h: use it instead of RowList.h
2984
2985         * bufferview_funcs.C:
2986         * lyxfunc.C:
2987         * lyxrow_funcs.C:
2988         * paragraph.C:
2989         * rowpainter.C:
2990         * text.C:
2991         * text2.C:
2992         * text3.C: #include "RowList.h".
2993
2994 2003-09-05  Angus Leeming  <leeming@lyx.org>
2995
2996         * factory.C (createInset):
2997         * vspace.C (c-tor): replace sscanf call with an istringstream.
2998         * ispell.C: re-add missing HP/UX headers.
2999         * lyxserver.C: re-add missing  os2 headers.
3000
3001 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3002
3003         * BranchList.C:
3004         * graph.C:
3005         * ispell.C:
3006         * lastfiles.C:
3007         * lyx_cb.C:
3008         * lyxserver.C:
3009         * texrow.C:
3010         * text3.C: re-add missing system headers, needed for 2.95.2.
3011
3012 2003-09-05  Angus Leeming  <leeming@lyx.org>
3013
3014         Changes most place everywhere due to the removal of using directives
3015         from support/std_sstream.h.
3016
3017 2003-09-05  Angus Leeming  <leeming@lyx.org>
3018
3019         Replace LString.h with support/std_string.h,
3020         Lsstream.h with support/std_sstream.h,
3021         support/LIstream.h with support/std_istream.h,
3022         support/LOstream.h with support/std_ostream.h.
3023
3024         Changes resulting throughout the tree.
3025
3026 2003-09-05  Angus Leeming  <leeming@lyx.org>
3027
3028         * sgml.h: ensure that the header file can be compiled stand-alone.
3029         * *.C: strip out redundant #includes. (320 in total.)
3030
3031 2003-09-04  Angus Leeming  <leeming@lyx.org>
3032
3033         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3034         here (from getPackages).
3035
3036         * debug.[Ch]: add a new EXTERNAL tag.
3037
3038 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3039
3040         * text2.C (cursorEnd): simplify
3041         (setCursor): adjust
3042         (getColumnNearX): adjust
3043
3044         * text.C (computeBidiTables): adjust
3045         (fill): adjust
3046
3047         * rowpainter.C (paintChars): adjust
3048         (paintSelection): adjust
3049         (paintChangeBar): adjust
3050         (paintText): adjust
3051
3052         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3053         lastPos instead.
3054         (numberOfSeparators): adjust
3055
3056 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3057
3058         * LyXAction.C:
3059         * box.[Ch]:
3060         * lfuns.h:
3061         * lyxfunc.C:
3062         * text3.C: Restricts the mouse click functionality
3063         of insets like bibtex, include, toc and floatlist to the visible
3064         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3065         up the dialogs. Cursor has to be in front of the inset (i.e.
3066         start of row) for this to function.
3067
3068 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3069
3070         * bufferview_funcs.C (currentState): output row information
3071
3072 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3073
3074         * bufferview_funcs.C (currentState): output paragraph position
3075
3076 2003-09-04  Angus Leeming  <leeming@lyx.org>
3077
3078         * FloatList.h: move out #include "Floating.h".
3079         * LaTeX.h: move out #include "DepTable.h".
3080         * LyXAction.h: move out #include "funcrequest.h".
3081         * buffer.h: move out #include "author.h", "iterators.h".
3082         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3083         * lyx_main.h: move out #include "errorlist.h".
3084         * lyxfunc.h: move out #include "FuncStatus.h".
3085         * lyxtext: move out #include "lyxcursor.h".
3086         * paragraph_pimpl.h: move out #include "counters.h".
3087
3088 2003-09-03  Angus Leeming  <leeming@lyx.org>
3089
3090         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3091         preamble_snippets list, enabling us to add snippets to the preamble
3092         only if the snippet was not there already.
3093
3094 2003-09-04  Angus Leeming  <leeming@lyx.org>
3095
3096         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3097
3098 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3101         update
3102
3103 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3104
3105         * BranchList.C: point fix, earlier forgotten
3106
3107 2003-09-02  Angus Leeming  <leeming@lyx.org>
3108
3109         * box.C (contains): renamed from 'contained' after a fantastic
3110         amount of hot air.
3111
3112 2003-09-02  John Levon  <levon@movementarian.org>
3113
3114         * BufferView.C:
3115         * lyxcursor.h:
3116         * lyxcursor.C:
3117         * lyxfunc.C:
3118         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3119
3120 2003-09-02  John Levon  <levon@movementarian.org>
3121
3122         * text2.C: simplification of cursorEnd(), including partial
3123         fix for bug 1376
3124
3125 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * buffer.C (readFile): add a space
3128
3129 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3130
3131         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3132
3133 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * buffer.C (readFile): new function, take a filename and a
3136         ParagraphList::iterator
3137         (readFile): adjust
3138         (readFile): adjust, make it private. don't use setStream, make
3139         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3140         always contain the filename.
3141
3142         * BufferView.C (insertLyXFile): simplify and make it work for
3143         gzipped files.
3144
3145 2003-08-30  John Levon  <levon@movementarian.org>
3146
3147         * Makefile.am: fix dist (from Kayvan)
3148
3149 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3150
3151         * most files: change to use const Buffer refs
3152
3153 2003-08-27  André Pönitz  <poenitz@gmx.net>
3154
3155         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3156         on top of ownerPar().
3157
3158 2003-08-27  John Levon  <levon@movementarian.org>
3159
3160         * funcrequest.C: properly initialise POD members
3161
3162 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * lyxtext.h (top_y): move top_y from here
3165         * text.C:
3166         * text2.C:
3167         * text3.C:
3168         * BufferView.[Ch]:
3169         * BufferView_pimpl.[Ch]: to here
3170         * frontends/screen.C:
3171         * insets/insettabular.C:
3172         * insets/insettext.C: adjust
3173         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3174
3175 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3176
3177         * BufferView.[Ch]:
3178         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3179
3180 2003-08-26  André Pönitz  <poenitz@gmx.net>
3181
3182         * paragraph_func.[Ch] (outerPar): new function
3183
3184         * paragraph.C:
3185         * paragraph_funcs.C:
3186         * paragraph_funcs.h:
3187         * paragraph_pimpl.C:
3188         * text2.C: remove Inset::par_owner
3189
3190 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3191
3192         * lyxrow_funcs.C:
3193         * lyxtext.h:
3194         * text.C:
3195         * text2.C: eliminates the needFullRow/display() stuff
3196         altogether, putting the logic in metrics/draw in the insets.
3197
3198 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3199
3200         * text2.C (redoParagraphInternal, redoParagraphs):
3201         * text.C (redoParagraph): add a call to updateRowPositions at the
3202         end of each 'metrics-like' call. Remove all others.
3203         (getRow): remove the 'y-computing' version.
3204         (getRowNearY): do not compute nor return the real y. Solve the
3205         'y < 0' problem and simplify.
3206
3207 2003-08-22  Angus Leeming  <leeming@lyx.org>
3208
3209         * *.[Ch]: clean-up of licence and author blurbs.
3210         Also move config.h out of a few .h files and into a few .C files.
3211
3212 2003-08-22  André Pönitz  <poenitz@gmx.net>
3213
3214         * lyxrow.[Ch]: add x_ and *fill_ members
3215
3216         * lyxtext.h:
3217         * text.C:
3218         * rowpainter.C:
3219         * text2.C: adjust/remove prepareToPrint() calls
3220
3221 2003-08-22  André Pönitz  <poenitz@gmx.net>
3222
3223         * lyxrow.[Ch]: add  end_ member
3224
3225         * lyxrow_funcs.C: use LyXRow::end_
3226
3227         * lyxtext.h (singleWidth): add LyXFont parameter
3228
3229         * rowpainter.C:
3230         * text2.C: adjust LyXText::singleWidth() calls
3231
3232         * text.C (redoParagraph): simplify row breaking logic
3233
3234
3235 2003-08-19  André Pönitz  <poenitz@gmx.net>
3236
3237         * funcrequest.C: initialize button_ member
3238
3239         * text3.C:
3240         * rowpainter.[Ch]: interface consolidation
3241
3242 2003-08-18  André Pönitz  <poenitz@gmx.net>
3243
3244         * BufferView.C:
3245         * BufferView_pimpl.C:
3246         * lyxfind.C:
3247         * paragraph_funcs.C:
3248         * rowpainter.C:
3249         * text3.C: remove LyXScreen::draw() and fitCursor calls
3250
3251         * BranchList.h: remove spurious semicolons
3252
3253         * MenuBackend.C: fix branchlist related crash
3254
3255 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3256
3257         * BranchList.[Ch]:
3258         * InsetList.[Ch]:
3259         * LColor.[Ch]:
3260         * LyXAction.C:
3261         * Makefile.am:
3262         * MenuBackend.[Ch]:
3263         * bufferparams.[Ch]:
3264         * factory.C:
3265         * lfuns.h:
3266         * lyxfunc.C:
3267         * text3.C: implements the 'branch inset'
3268         idea. This allows the output of various versions of a document
3269         from a single source version, selectively outputing or suppressing
3270         output of parts of the text.
3271         This implementation contains a 'branch list editor' in a separate
3272         tab of the document settings dialog. Branches are user definable
3273         and have a "display colour" to distinguish them on-screen.
3274
3275         ColorHandler was somewhat cleaned up.
3276         (1) make possible a dynamically growing LColor list by allowing
3277         the graphic context cache to grow along (vector);
3278         (2) eliminate an IMHO unnecessary step in colour allocation.
3279
3280 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3281
3282         * BufferView_pimpl.C: compile fix
3283
3284 2003-08-15  André Pönitz  <poenitz@gmx.net>
3285
3286         * rowpainter.C: remove extra metrics calls
3287
3288         * lyxtext.h: merge the two constructors into a single one,
3289           pass reference to owner's par list
3290
3291         * BufferView_pimpl.C:
3292         * text.C:
3293         * text2.C: adjust
3294
3295 2003-08-15  André Pönitz  <poenitz@gmx.net>
3296
3297         * lyxrow_funcs.[Ch]:
3298         * lyxtext.h:
3299         * paragraph.h:
3300         * paragraph_funcs.C:
3301         * rowpainter.C:
3302         * text.C:
3303         * text2.C:
3304         * text3.C:
3305         * text_funcs.C: split LyXText::rowlist_ into individual
3306         Paragraph::rows_ chunks
3307
3308         * BufferView.[Ch]:
3309         * BufferView_pimpl.[Ch]:
3310         * lyxfind.C:
3311         * lyxtext.h:
3312         * text3.C: remove toggleSelection()
3313
3314 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3315
3316         * bufferlist.C: beautify two alerts (shorter text of buttons)
3317         * buffer.C: Remove redundant ' ' from message
3318         * tabular.h:
3319         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3320         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3321         rename VALIGN_CENTER to VALIGN_MIDDLE
3322
3323 2003-08-11  André Pönitz  <poenitz@gmx.net>
3324
3325         * lyxtext.h (getPar):
3326         * text.C: new function
3327
3328 2003-08-11  André Pönitz  <poenitz@gmx.net>
3329
3330         * Makefile.am:
3331         * tracer.[Ch]: remove unneeded files
3332
3333         * InsetList.[Ch]: remove resizeInsetsLyXText()
3334
3335         * lyxtext.h:
3336         * text.C:
3337         * text2.C:
3338         * text3.C: merge insertParagraphs() and appendParagraph()
3339         remove breakAgain(), update()
3340
3341         * BufferView_pimpl.[Ch]:
3342         * bufferview_funcs.[Ch]:
3343         * lyxfunc.C:
3344         * paragraph.[Ch]:
3345         * rowpainter.C:
3346         * tabular.C: adjust after text & InsetList changes.
3347
3348 2003-08-08  André Pönitz  <poenitz@gmx.net>
3349
3350         * text.C (insertChar, backspace): replace rowlist fiddling
3351         with rebreak of full par
3352
3353         * lyxtext.h:
3354         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3355         checkParagraph, updateInset): removed
3356
3357 2003-08-07  André Pönitz  <poenitz@gmx.net>
3358
3359         * paragraph.C:
3360         * text3.C: merge some LFUN handlers, remove dead code
3361
3362 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3363
3364         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3365
3366 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3367
3368         * text2.C (DEPM): fix part of bug 1255 and 1256
3369
3370 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3371
3372         * BufferView_pimpl.C (workAreaDispatch): change to use
3373         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3374         that are no mouse related.
3375
3376 2003-08-05  André Pönitz  <poenitz@gmx.net>
3377
3378         * BufferView.[Ch]:
3379         * BufferView_pimpl.[Ch]:
3380         * bufferview_funcs.C:
3381         * text2.C:
3382         * text3.C: rip out "deep update"
3383
3384         * textcursor.[Ch] (last_sel_cursor): remove unused member
3385
3386 2003-08-04  André Pönitz  <poenitz@gmx.net>
3387
3388         * BufferView.[Ch]:
3389         * BufferView_pimpl.[Ch]:
3390         * ParagraphParameters.C:
3391         * bufferview_funcs.C:
3392         * lyx_cb.C:
3393         * lyxfind.C:
3394         * lyxfunc.C:
3395         * text.C:
3396         * text2.C:
3397         * text3.C: replace "complicated" BufferView::update(...) calls with
3398         simpler ones.
3399
3400         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3401
3402 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3403
3404         * Makefile.am (lyx_SOURCES): add paper.h
3405
3406 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3407
3408         * Makefile.am: move things around so that both lyx-qt and
3409         lyx-xforms can be built (according to --with-frontend). Then lyx
3410         is a symbolic link to lyx-[firstfrontend]
3411
3412 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3413
3414         * Always use std::endl with lyxerr
3415
3416 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3417
3418         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3419
3420 2003-08-01  André Pönitz  <poenitz@gmx.net>
3421
3422         * BufferView.[Ch]:
3423         * BufferView_pimpl.[Ch]:
3424         * lyxfunc.C:
3425         * text3.C: merge BufferView::repaint() and BufferView::update()
3426
3427 2003-08-01  José Matos  <jamatos@lyx.org>
3428
3429         * buffer.[Ch]: file_format is no longer a buffer data element.
3430
3431 2003-08-01  André Pönitz  <poenitz@gmx.net>
3432
3433         * BufferView.C:
3434         * lyxtext.h:
3435         * text.C:
3436         * text2.C: make redoParagraph more independent of current cursor
3437
3438         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3439         * text.C:
3440         * text2.C: remove unneeded members
3441
3442 2003-07-30  André Pönitz  <poenitz@gmx.net>
3443
3444         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3445
3446         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3447           create a single function...
3448
3449         * paragraph_funcs.C (moveItem): ... here.
3450
3451         * text.C:
3452           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3453
3454 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3455
3456         * LColor.[Ch]: Add comment and greyedout logical colors.
3457
3458 2003-07-30  André Pönitz  <poenitz@gmx.net>
3459
3460         * tabular.C: don't use Assert too heavily. This crashes where it
3461           shouldn't
3462
3463 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3464
3465         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3466         is disabled (bug 1232)
3467
3468 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3469
3470         * factory.C: limited 'arg' scope
3471
3472 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3473
3474         * factory.C: fixed Note submenu issues
3475
3476 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * factory.C: submenu for Note/Comment/Greyedout
3479
3480 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3481
3482         * lyx_main.C (LyX):
3483         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3484
3485 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3486
3487         * LaTeXFeatures.C:
3488         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3489         greyedout. Patch provided by Jürgen Spitzmüller.
3490
3491 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3492
3493         * kbmap.C (read): fix error message when reading bind files
3494
3495 2003-07-29  Angus Leeming  <leeming@lyx.org>
3496
3497         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3498         certainly does not do what it purports to do. I am doing it, and
3499         us, a favour by killing it.
3500
3501 2003-07-28  José Matos  <jamatos@lyx.org>
3502
3503         * buffer.C (readBody, do_writeFile):
3504         * paragraph.C(readParagraph): \end_document replaces \the_end.
3505
3506 2003-07-29  André Pönitz  <poenitz@gmx.net>
3507
3508         * BufferView.[Ch]:
3509         * BufferView_pimpl.[Ch]:
3510         * lyxfunc.C:
3511         * text2.C:
3512         * text3.C:
3513         * textcursor.[Ch]: remove toggleToggle & Co
3514
3515 2003-07-28  José Matos  <jamatos@fep.up.pt>
3516
3517         * buffer.C (readParagraph):
3518         * params_func (readParToken, readParagraph):
3519         * paragraph.C (write): \layout -> \begin_layout.
3520
3521 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * lyxlex_pimpl.C (setFile): clean up slightly.
3524
3525         * bufferparams.h: add compressed var
3526
3527         * buffer_funcs.C (readFile): adjust for LyXLex change
3528         (newFile): ditto + simplify
3529
3530         * buffer.C (writeFile): handle writing of compressed files
3531
3532         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3533         Check if the file is compressed and set a bufferparm if so.
3534
3535         * Makefile.am (lyx_LDADD): remove explicit -lz
3536
3537 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3538
3539         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3540         makeDocBookFile): put the real LyX version in the first line of
3541         the file
3542
3543         * version.h:
3544         * version.C.in: remove lyx_docversion
3545
3546         * tabular.C (write_attribute): add a template-based version to
3547         write enums properly
3548
3549 2003-07-28  André Pönitz  <poenitz@gmx.net>
3550
3551         * lyxtext.h:
3552         * text.C:
3553         * text2.C:
3554         * text3.C: use doubles again for x-coordinates. They are needed.
3555
3556 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * messages.C (getLocaleDir): use lyx_localedir()
3559
3560         * lyxlex_pimpl.C (setFile): compress stuff
3561
3562         * buffer.C (writeFile): add some compression stuff
3563         (do_writeFile): new func, dont call expliti close... will this
3564         breake anything?
3565
3566         * Makefile.am (lyx_LDADD): add -lz
3567
3568 2003-07-28  José Matos  <jamatos@fep.up.pt>
3569
3570         * buffer.C: increment file format.
3571         * paragraph_funcs (readParagraph, readParToken):
3572         * paragraph.C (readParagraph): add \end_layout.
3573
3574 2003-07-27  Angus Leeming  <leeming@lyx.org>
3575
3576         * Makefile.am: remove special casing for configure-time setting of
3577         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3578
3579         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3580         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3581
3582 2003-07-26  André Pönitz  <poenitz@gmx.net>
3583
3584         * paragraph_func.[Ch]:
3585         * paragraph.C (realizeFont): inline it whereever it is used
3586
3587         * rowpainter.C:
3588         * text.C:
3589         * text2.C:
3590         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3591
3592
3593 2003-07-26  André Pönitz  <poenitz@gmx.net>
3594
3595         *       lyxtext.h:
3596         * text.C:
3597         * text2.C: get rid of LyXText::need_break_row
3598
3599 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * toc.[Ch]: put namespace toc inside namespace lyx
3602
3603         * MenuBackend.C (expandToc2): adjust for lyx::toc
3604         (expandToc): ditto
3605
3606         * lyxfunc.C (dispatch): adjust for lyx::find
3607
3608         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3609         lyx::find instead. Reorganize a bit.
3610         (LyXReplace): rename to replace
3611         (LyXFind): rename to find
3612
3613         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3614         (dispatch): ditto
3615
3616 2003-07-26  André Pönitz  <poenitz@gmx.net>
3617
3618         * text.C (setHeightOfRow): restrict scope of temporary variable
3619
3620         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3621           code (never has been used?)
3622
3623 2003-07-27  Asger Alstrup  <alstrup@local>
3624
3625         * text.C (fill): Optimise algorithm to exploit that we can reuse
3626         the LyXFont for many characters.
3627         (setHeightOfRow): Same thing.
3628         (rowBreakPoint): Same thing.
3629
3630 2003-07-26  Asger Alstrup  <alstrup@local>
3631
3632         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3633
3634         * text.C (singleWidth): Spurious font copying in hot-spot
3635         singleWidth avoided. Reorder tests for arabic for efficiency.
3636
3637         * text.C (fill): handle empty paragraphs better.
3638
3639 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3640
3641         * ispell.C:
3642         * encoding.h: add includes
3643
3644         * lyxrc.C: remove reading of bind files
3645
3646         * lyx_main.C (init): setup bindings and menus only if we have a
3647         gui.
3648
3649         * kbmap.C (read): new method. Do the actual reading of bind
3650         files.
3651
3652         * converter.C (dvipdfm_options):
3653         * bufferparams.C:
3654         * lyxrc.C (read):
3655         (output): adapt PAPER_* enums.
3656
3657         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3658
3659         * bufferparams.h: remove paper-related enums from there
3660
3661         * paper.h: New file. A trivial header file to hold paper-related
3662         enums. It should later expand to contain many paper-related
3663         horrors access.
3664
3665         * lyxrc.C: declare extern displayTranslator
3666
3667 2003-07-27  José Matos  <jamatos@fep.up.pt>
3668
3669         * tabular.[Ch] (linuxdoc): add support for tables and figures
3670         (linuxdoc).
3671
3672 2003-07-27  José Matos  <jamatos@fep.up.pt>
3673
3674         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3675         consistency in both functions.
3676         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3677
3678 2003-07-26  Asger Alstrup  <alstrup@local>
3679
3680         * rowpainter.C (paintRows): Change algorithm to work directly on
3681         the insets rather than asking every character in the document
3682         whether its an inset.
3683
3684 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3685
3686         * buffer.C (openFileWrite): factorize some code
3687
3688 2003-07-26  Angus Leeming  <leeming@lyx.org>
3689
3690         * lyx_cb.C:
3691         * lyx_main.[Ch]: replace occurances of system_tempdir with
3692         os::getTmpDir().
3693
3694 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3695
3696         * rename Inset to InsetOld
3697
3698 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3699
3700         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3701         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3702         which I think is a bit clearer. EDIT is gone, since it was
3703         premature optimisation, and broken for mathed anyway.
3704         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3705         with cursor positioning in insets as well (math insets still do not
3706         work, but that's a different story anyway.) It mysteriously
3707         crashes sometimes with undo in the first paragraph, but I'm fairly
3708         confident that this is a compiler bug.
3709
3710 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * paragraph.C (Paragraph): adjust for new clone return type
3713         (operator==): ditto
3714         (copyIntoMinibuffer): ditto
3715
3716 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3717
3718         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3719         by not having a special case, and always doing a full rebreak of
3720         the document after undo.
3721
3722 2003-07-23  Angus Leeming  <leeming@lyx.org>
3723
3724         * factory.C (createInset): InsetExternal::setParams now takes a
3725         Buffer const * arg.
3726
3727 2003-07-23  Angus Leeming  <leeming@lyx.org>
3728
3729         * factory.C (createInset): changed interface to the external and
3730         graphics mailers' string2params functions.
3731
3732 2003-07-23  Angus Leeming  <leeming@lyx.org>
3733
3734         * factory.C (createInset): pass a
3735         Buffer const * parameter to InsetExternalMailer's string2params.
3736
3737 2003-07-22  John Levon  <levon@movementarian.org>
3738
3739         * Thesaurus.h: include the right aiksaurus header
3740
3741 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3742
3743         * MenuBackend.C (expand): check menu shortcuts unconditionally
3744
3745 2003-07-21  Angus Leeming  <leeming@lyx.org>
3746
3747         * factory.C (createInset): pass a
3748         buffer_path parameter to InsetGraphicsMailer's string2params.
3749
3750 2003-07-21  Angus Leeming  <leeming@lyx.org>
3751
3752         * BufferView_pimpl.C (buffer):
3753         * buffer.C (d-tor):
3754         * lyx_main.C (LyX):
3755         * lyxfunc.C (dispatch):
3756         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3757         rather than the grfx shortcut.
3758
3759 2003-07-21  André Pönitz  <poenitz@gmx.net>
3760
3761         * rowpainter.C: remove unused variables
3762
3763         * tabular_funcs.C:
3764         * tabular_funcs.h: move to tabular.C
3765         * Makefile.am: adjust
3766
3767         * tabular.[Ch]: basic optical cleaning
3768
3769         * author.h: pass references, not values
3770
3771 2003-07-18  André Pönitz  <poenitz@gmx.net>
3772
3773         * lyxtext.h:
3774         * metricsinfo.C:
3775         * metricsinfo.h:
3776         * rowpainter.C:
3777         * text.C:
3778         * text2.C:
3779         * text3.C: two-phase drawing for InsetText and InsetTabular
3780         some float -> int changes.
3781
3782 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3783
3784         * lyx_main.C: fix the fix
3785
3786 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3787
3788         * lyx_main.C: fix a crash in batch mode if no files specified
3789         * converter.C: ws
3790
3791 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3792
3793         * format.[Ch] (papersize): moved to BufferParams
3794         * converter.[Ch] (dvips_options): moved to BufferParams
3795         (dvipdfm_options): moved to anon namespace
3796         * bufferparams.[Ch]: added above functions.
3797
3798 2003-07-17  André Pönitz  <poenitz@gmx.net>
3799
3800         * lyxtext.h:
3801         * rowpainter.C:
3802         * text2.C: don't call inset->update() anymore
3803
3804         * metricsinfo.[Ch]: add convenience constructor
3805
3806 2003-07-16  André Pönitz  <poenitz@gmx.net>
3807
3808         * lyxcursor.[Ch]:
3809         * lyxfunc.[Ch]:
3810         * text.C:
3811         * text2.C: replace the LyXCursor::irow_ member with
3812          on-demand computation of the value
3813
3814 2003-07-16  John Levon  <levon@movementarian.org>
3815
3816         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3817
3818 2003-07-15  André Pönitz  <poenitz@gmx.net>
3819
3820         * text.C:
3821         * text2.C: remove no more needed refresh_row
3822
3823 2003-07-15  André Pönitz  <poenitz@gmx.net>
3824
3825         * lyxtext.h:
3826         * rowpainter.C:
3827         * text2.C:
3828         * text3.C: refresh_status tristate -> need_update bool
3829
3830 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3831
3832         * lyxtext.h (init): remove reinit argument (act as if always true)
3833         * text2.C: adjust to that
3834
3835 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3836
3837         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3838         * text3.C: use it to delete selections in some cases
3839         (bugs 441, 673, 702, 954).
3840
3841 2003-07-14  André Pönitz  <poenitz@gmx.net>
3842
3843         * rowpainter.[Ch]: reduce interface
3844
3845 2003-07-14  André Pönitz  <poenitz@gmx.net>
3846
3847         * BufferView_pimpl.C:
3848         * text2.C: adjust after removing unused BufferView * argument
3849
3850 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3851
3852         * text2.C (init): fix a crash fired on resize
3853
3854 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3855
3856         * buffer.[Ch]: added new closing signal
3857         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3858         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3859         BufferView::Pimpl via the closing the signal
3860
3861 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * buffer.[Ch]: take out all bv-related from buffer
3864         * BufferView.C:
3865         * BufferView_pimpl.[Ch]: connect to new signals
3866         * CutAndPaste.C: removed useless asserts
3867         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3868         * lyxvc.[Ch]:
3869         * vc-backend.[Ch]:
3870         * lyxfunc.C: moved view-related funciontality from vc here
3871         * paragraph.C: removed outdated comments
3872         * text.C: ws
3873
3874 2003-07-10  André Pönitz  <poenitz@gmx.net>
3875
3876         * BufferView_pimpl.C:
3877         * tabular.h:
3878         * tabular_funcs.C:
3879         * text.C:
3880         * text2.C: remove InsetText::InnerCache, clean up consequences
3881
3882 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3883
3884         * ispell.C: fix two typos in error messages
3885
3886 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3887
3888         * Extend Note inset to other forms of annotation like Comment
3889         and Greyedout. Right button click gives dialog.
3890
3891         Files modified or added (+):
3892
3893         * insetnote.[Ch]
3894         * FormNote.[Ch]      +
3895         * ControlNote.[Ch]   +
3896         * form_note.fd       +
3897         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3898         frontends/controllers
3899         * xforms/Dialogs.C
3900         * factory.C
3901
3902 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3903
3904         * aspell.C: add missing namespace lyx::support
3905
3906 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3907
3908         * BufferView.[Ch] (newFile): Add
3909         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3910         * LaTeX.[Ch] (message): added this signal and use it
3911         * buffer.[Ch] (busy, message): added these signals and use them
3912         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3913         * converter.C:
3914         * exporter.C:
3915         * format.C:
3916         * importer.C: use buffer signals instead of direct bv calling
3917         * lyx_cb.[Ch] (ShowMessage): removed
3918         * lyx_main.C:
3919         * lyxfunc.C:
3920         * paragraph_funcs.C:
3921         * text2.C: use buffer signals
3922
3923 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3924
3925         * introduce namespace lyx::graphics
3926
3927 2003-07-02  André Pönitz  <poenitz@gmx.net>
3928
3929         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3930
3931 2003-07-01  André Pönitz  <poenitz@gmx.net>
3932
3933         * text.C:
3934         * text2.C:
3935         * text3.C:
3936         * text_funcs.[Ch]:
3937         * textcursor.h:
3938         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3939           text*.C to text_func.C
3940
3941 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * introduce namespace lyx::support
3944
3945 2003-06-30  André Pönitz  <poenitz@gmx.net>
3946
3947         * Chktex.C:
3948         * funcrequest.C:
3949         * lyxtext.h:
3950         * text.C: re-enable --with-included-string
3951
3952 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * textcursor.C: add <config.h>
3955
3956         * text.C (getWord): remove const from word_location arg
3957
3958         * lyxvc.C (getLogFile): fix const type order
3959
3960         * lyxtext.h: remove const from word_location arg, add arg name
3961
3962         * lyxlayout.h: currect type on labeltype.
3963
3964         * importer.C: correct \file
3965
3966         * converter.C (intToFormat): use std:: on ret val, ws changes
3967
3968         * bufferlist.h: correct \file
3969
3970         * buffer.C (makeLinuxDocFile): fix const type order
3971         (makeDocBookFile): ditto
3972         (fillWithBibKeys): use std:: on stdlib args.
3973
3974         * CutAndPaste.C: fix authors.
3975         (availableSelections): use std:: on return vector
3976
3977 2003-06-27  André Pönitz  <poenitz@gmx.net>
3978
3979         * BufferView_pimpl.C:
3980         * bufferview_funcs.C:
3981         * lyxcursor.C:
3982         * lyxcursor.h:
3983         * lyxfunc.C:
3984         * lyxtext.h:
3985         * rowpainter.C:
3986         * text.C:
3987         * text2.C:
3988         * text3.C: remove LyXCursor::row_ member
3989
3990         * lyxtext.h:
3991         * text.C: rename fullRebreak() to partialRebreak() and implement
3992           a fullRebreak() that really bereks fully
3993
3994         * textcursor.h: new struct for cursor-related data
3995
3996 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3997
3998         * lyx_main.C (LyX): get full path of document loaded on the
3999         command line
4000
4001 2003-06-26  André Pönitz  <poenitz@gmx.net>
4002
4003         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4004           remove unused/broken operator>,<,>=.
4005
4006         *       text.C: remove only use of broken operator<= in an Assert().
4007
4008 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4009
4010         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4011         moved errorlist_.clear to showErrorList
4012
4013 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4014
4015         * converter.C (scanLog, runLaTeX):
4016         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4017         move the bv->showErrorList call to the callers
4018         * lyxfunc.C: i.e. here...
4019         * text2.C: and here
4020         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4021         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4022         namespace, the second to...
4023         * buffer_funcs (BufferFormat, parseErrors): added
4024         * errorlist.C (ErrorList(TeXErrors const &)): removed
4025
4026 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4027
4028         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4029
4030 2003-06-24  "Garst R. Reese" <reese@isn.net>
4031
4032         * debug.C: fix typo
4033
4034 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4035
4036         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4037
4038         * version.C.in: change docversion to 1.4
4039
4040 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4041
4042         * buffer.C: fix a bug just introduced
4043
4044 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4045
4046         * buffer.[Ch]: added the parseError signal and use it, removed
4047         sgmlError
4048         * BufferView.[Ch] (addError): moved to ...
4049         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4050         to the Buffer::parseError signal to catch (guess what) parse errors
4051         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4052
4053 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4054
4055         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4056         ability to create a buffer and to return an existing one from
4057         the list. Moved these functions to...
4058         * buffer_funcs.[Ch]: added
4059         * BufferView.[Ch] (loadLyXFile): added
4060         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4061         job removed from bufferlist::loadLyXFile.
4062         * buffer.C (setReadOnly): make it work without view
4063         (i.e added an if (users))
4064
4065 2003-06-19  Angus Leeming  <leeming@lyx.org>
4066
4067         * lfuns.h:
4068         * LyXAction.C (init):
4069         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4070         with LFUN_DIALOG_SHOW <name> <data>.
4071
4072 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4073
4074         * CutAndPaste.C (availableSelections): small compilation fix for
4075         ancient (gcc 2.9x) compilers
4076
4077 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4078
4079         * text3.C (cursorNext): add tmp var
4080
4081         * text2.C (updateCounters): for function calling out of for clause
4082         (replaceSelectionWithString): ditto
4083         (insertStringAsParagraphs): ditto
4084         (getColumnNearX): add tmp var
4085         (setCursorFromCoordinates): add tmp var
4086         (cursorDownParagraph): add tmp var
4087         (deleteEmptyParagraphMechanism): add tmp var
4088
4089         * text.C (insertChar): add tmp var
4090
4091         * rowpainter.C (paintDepthBar): add tmp var
4092
4093         * CutAndPaste.C (availableSelections): potentially check all
4094         paragraphs in a cut to fill the shown strings.
4095
4096 2003-06-18  André Pönitz  <poenitz@gmx.net>
4097
4098         * kbmap.[Ch]: use vector<> instead of list<>
4099
4100 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4101
4102         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4103         pasteSelection with index
4104
4105         * text2.C (pasteSelection): modify, call pasteSelection with index
4106
4107         * paragraph.C (asString): reimplement version with no interval to
4108         call the one with interval.
4109
4110         * lyxtext.h: add index arg to pasteSelection
4111
4112         * MenuBackend.C (MenuItem): handle PasteRecent
4113         (Menu::read::Menutags): add md_pasterecent
4114         (read): handle it
4115         (expandPasteRecent): new function
4116         (expand): use it
4117
4118         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4119
4120         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4121         the limited stack
4122         (availableSelections): new function
4123
4124 2003-06-17  Angus Leeming  <leeming@lyx.org>
4125
4126         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4127
4128 2003-06-17  Angus Leeming  <leeming@lyx.org>
4129
4130         * lfuns.h:
4131         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4132
4133         * lyxfunc.C (dispatch): invoke it.
4134
4135 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4136
4137         * iterators.C (operator++, ParPosition): reintroduce some
4138         const_cast for the benefit of older compilers.
4139
4140 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4141
4142         * text3.C (dispatch): do not modify clipboard when doing
4143         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4144         LFUN_DELETE_SKIP on a selection selection
4145
4146 2003-06-16  André Pönitz  <poenitz@gmx.net>
4147
4148         * BufferView.C:
4149         * buffer.C:
4150         * buffer.h:
4151         * paragraph.C:
4152         * tabular.[Ch]: IU of clone() and getLabelList();
4153
4154 2003-06-13  André Pönitz  <poenitz@gmx.net>
4155
4156         * tabular.h: compactification
4157
4158 2003-06-12  André Pönitz  <poenitz@gmx.net>
4159
4160         * tabular.C:
4161         * tabular.h:
4162         * tabular_funcs.h: some renaming plus whitespace
4163
4164 2003-06-12  André Pönitz  <poenitz@gmx.net>
4165
4166         * BufferView.C:
4167         * BufferView_pimpl.C:
4168         * CutAndPaste.C:
4169         * buffer.C:
4170         * iterators.[Ch]:
4171         * lyxfunc.C:
4172         * text.C:
4173         * toc.C: Return a Paragraph & for ParIterator::operator*()
4174
4175 2003-06-11  John Levon  <levon@movementarian.org>
4176
4177         * lyx_main.C:
4178         * ToolbarBackend.h:
4179         * ToolbarBackend.C: add "Toolbars" section and
4180         put the flags there
4181
4182 2003-06-10  Angus Leeming  <leeming@lyx.org>
4183
4184         * lfuns.h:
4185         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4186
4187         * lyxfunc.C (dispatch): invoke it.
4188
4189 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * main.C: protect <ios> with HAVE_IOS
4192         (main): protect sync_with_stdio with HAVE_IOS
4193
4194 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4195
4196         * text2.C (cutSelection): adjust
4197         (pasteSelection): adjust
4198
4199         * messages.C: handle get of empty string
4200
4201         * main.C (main): use sync_with_stdio(false)
4202
4203         * lyxfunc.C (dispatch): adjust
4204
4205         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4206         (WriteAs): remove unneeded BufferView arg.
4207
4208         * bufferparams.h: use correct types on papersize, papersize2 and
4209         paperpackage.
4210
4211         * bufferparams.C (readToken): adjust for type
4212         (writeLaTeX): add missing cases to switch.
4213
4214         * bufferlist.C (quitWriteBuffer): adjust
4215         (close): adjust
4216
4217         * buffer.C (asciiParagraph): remove some commented code.
4218
4219         * CutAndPaste.C: remove current_view extern variable.
4220         (cutSelection): add BufferParams arg.
4221         (eraseSelection): add BufferParams arg.
4222         (pasteSelection): add Buffer const & arg
4223
4224 2003-06-07  John Levon  <levon@movementarian.org>
4225
4226         * buffer.C:
4227         * paragraph_funcs.C:
4228         * paragraph_pimpl.C:
4229         * text.C:
4230         * text2.C:
4231         * paragraph.h:
4232         * paragraph.C: allow InsetERT to freely space lines,
4233         and some consolidation of code
4234
4235 2003-06-06  José Matos  <jamatos@fep.up.pt>
4236
4237         * buffer.C (makeDocBookFile): fix bug #821
4238
4239 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4242
4243 2003-06-04  Angus Leeming  <leeming@lyx.org>
4244
4245         * buffer.C: bump format to 224.
4246
4247 2003-06-05  André Pönitz  <poenitz@gmx.net>
4248
4249         * text2.C (redoParagraphs): remove two const_cast<>
4250
4251 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4252
4253         * ParagraphList.h: remove last remnants of NO_STD_LIST
4254
4255 2003-06-03  Angus Leeming  <leeming@lyx.org>
4256
4257         * factory.C (createInset): small change to the way InsetExternal's params
4258         are set.
4259
4260 2003-06-04  André Pönitz  <poenitz@gmx.net>
4261
4262         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4263
4264         * paragraph_pimpl.h:
4265         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4266
4267         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4268
4269         * undo_funcs.C: make some simple cases of undo work again
4270
4271 2003-06-03  John Levon  <levon@movementarian.org>
4272
4273         * ispell.C: HPUX doesn't have sys/select.h
4274         (from Albert Chin)
4275
4276 2003-06-03  John Levon  <levon@movementarian.org>
4277
4278         * CutAndPaste.C: update tabular and include inset
4279         buffer references
4280
4281         * buffer.h:
4282         * paragraph.h:
4283         * paragraph.C: remove owningBuffer(), don't pass Buffer
4284         to clone()
4285
4286         * factory.C: insetGraphicsParams changed
4287
4288 2003-06-02  John Levon  <levon@movementarian.org>
4289
4290         * LyXAction.C:
4291         * factory.C:
4292         * lfuns.h:
4293         * lyxfunc.C:
4294         * text3.C: remove insetparent
4295
4296 2003-06-02  John Levon  <levon@movementarian.org>
4297
4298         * buffer.h:
4299         * buffer.C: fix inset_iterator.end(), move out of line
4300         (bug 1149)
4301
4302 2003-06-01  John Levon  <levon@movementarian.org>
4303
4304         * text3.C: use a proper cut/paste when doing inset
4305         insert (from Jürgen Spitzmüller)
4306
4307 2003-06-01  John Levon  <levon@movementarian.org>
4308
4309         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4310
4311 2003-05-30  André Pönitz  <poenitz@gmx.net>
4312
4313         * rowpainter.C: unify second drawing phase
4314
4315 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4316
4317         * trans_mgr.C: remove one case of current_view
4318
4319         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4320
4321         * paragraph_funcs.h: remove paragraph.h include
4322
4323         * paragraph.h: delete NO_STD_LIST stuff
4324
4325         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4326
4327         * buffer.h: remove paragraph.h include
4328
4329         * ParagraphList.C: delete file
4330
4331         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4332
4333         * toc.C (getTocList): adjust
4334
4335         * paragraph_pimpl.C (validate): adjust
4336
4337         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4338
4339         * paragraph.C (Paragraph): adjust
4340         (getPositionOfInset): use const_iterator, adjust
4341         (bibitem): use const_iterator, adjust
4342         (setInsetOwner): adjust
4343
4344         * iterators.C (operator++): adjust
4345
4346         * InsetList.[Ch]: Replace selfmade iterator with standard
4347         vector::iterator also introduce const_iterator. Remove getPos,
4348         getInset and setInset from InsetTable. Adjust accordingly.
4349
4350         * BufferView.C (lockInset): adjust
4351         (ChangeInsets): adjust
4352
4353         * tabular.[Ch]: delete commented same_id functions
4354
4355 2003-05-28  John Levon  <levon@movementarian.org>
4356
4357         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4358
4359 2003-05-28  André Pönitz  <poenitz@gmx.net>
4360
4361         * metricsinfo.[Ch]: remove 'fullredraw' member
4362
4363 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4364
4365         * lyxtextclass.C (operator): remove caching.
4366
4367 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * text3.C: adjust
4370
4371         * text2.C (cursorBottom): adjust
4372         (setCounter): use ParagraphList::find, adjust
4373
4374         * text.C (workWidth): use ParagraphList::find, adjust
4375
4376         * lyxcursor.C (LyXCursor): adjust
4377
4378         * buffer.C (inset_iterator): adjust
4379
4380         * ParagraphList.h: make iterator(value_type) private, make
4381         ParagraphList a friend of iterator.
4382
4383         * ParagraphList.C (find): new function
4384
4385         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4386
4387 2003-05-27  André Pönitz  <poenitz@gmx.net>
4388
4389         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4390
4391 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4392
4393         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4394
4395 2003-05-26  John Levon  <levon@movementarian.org>
4396
4397         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4398
4399 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * remove same_id from function signatures, adjust.
4402
4403 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4404
4405         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4406
4407         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4408
4409         * paragraph.C (Paragraph): get rid of same_ids parameter
4410
4411         * ParagraphList.C (insert): adjust
4412         (push_back): adjust
4413
4414 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4415
4416         * paragraph_funcs.C (breakParagraph): adjust
4417         (breakParagraphConservative): adjust
4418
4419         * buffer.C (readParagraph): adjust
4420
4421         * ParagraphList.C (insert): take a reference instead of a pointer
4422         (insert): adjust
4423
4424         * paragraph.[Ch] (id): new function
4425
4426         * bufferlist.C (newFile): adjust
4427
4428         * ParagraphList.C (ParagraphList): adjust
4429         (assign): adjust
4430         (push_back): take a reference instead of a pointer.
4431
4432         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4433
4434         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4435         instead.
4436
4437         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4438         set else use old code.
4439
4440         * ParagraphList.C: remove all NO_NEXT code and only compile this
4441         code of NO_STD_LIST is set.
4442
4443 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4444
4445         * BufferView_pimpl.C:
4446         * TextCache.C:
4447         * TextCache.h:
4448         * bufferlist.C:
4449         * errorlist.h:
4450         * format.C:
4451         * format.h:
4452         * graph.C:
4453         * lyxfunc.C:
4454         * lyxrc.C:
4455         * graphics/GraphicsConverter.C:
4456         * graphics/PreviewLoader.C: header adjustment
4457
4458 2003-05-23  Angus Leeming  <leeming@lyx.org>
4459
4460         * LaTeXFeatures.[Ch] (useBabel): new method.
4461         * bufferparams.C (writeLaTeX): use it.
4462
4463 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * ParagraphList.h (set): remove unused function.
4466
4467 2003-05-23  André Pönitz  <poenitz@gmx.net>
4468
4469         * BufferView.C:
4470         * BufferView_pimpl.C:
4471         * buffer.C:
4472         * buffer.h:
4473         * lyxfunc.C:
4474         * undo_funcs.C: setUndo reworked
4475
4476         * iterators.[Ch]: add access to topmost ParagraphList
4477
4478         * lyxtext.[Ch] (workWidth): add a const
4479
4480 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4481
4482         * texrow.[Ch] (increasePos): remove function
4483         * exporter.C (export): removed unused var and outdated comment
4484
4485 2003-05-23  Angus Leeming  <leeming@lyx.org>
4486
4487         * latexrunparams.h: rename fragile as moving_arg.
4488         * paragraph.C (simpleTeXOnePar): ditto.
4489         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4490
4491 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4494         (createUndo): ditto
4495         (textUndoOrRedo): comment out a currently unused var.
4496
4497         * paragraph.h (NO_NEXT): enable NO_NEXT
4498
4499         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4500
4501         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4502
4503         * exporter.C (Export): adjust for removeAutoInsets removal.
4504
4505         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4506
4507         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4508
4509         * BufferView.[Ch] (removeAutoInsets): delete function
4510
4511 2003-05-22  Angus Leeming  <leeming@lyx.org>
4512
4513         * latexrunparams.h: add a free_spacing variable.
4514
4515         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4516         to pass moving_arg, as the data is stored in runparams.fragile.
4517
4518         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4519         to Inset::latexOptional or to simpleTeXOnePar.
4520
4521         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4522         free_spacing arg to Inset::latexOptional.
4523
4524         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4525         free_spacing arg.
4526
4527 2003-05-22  Angus Leeming  <leeming@lyx.org>
4528
4529         * latexrunparams.h: add fragile and use_babel variables.
4530
4531         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4532         * buffer.C (makeLaTeXFile): store this returned value in
4533         runparams.use_babel, thus passing it to the inset::latex methods.
4534
4535         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4536         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4537
4538         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4539         longer has a fragile arg, as it is stored in runparams.fragile.
4540
4541         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4542         moving_arg parameter as the data is stored in runparams.fragile.
4543
4544         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4545         a fragile parameter as the data is stored in runparams.fragile.
4546
4547 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4550
4551 2003-05-22  Angus Leeming  <leeming@lyx.org>
4552
4553         * latexrunparams.h: add a 'bool nice' which defaults to false.
4554
4555         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4556         now encapsulated within runparams.
4557
4558         * bufferlist.C (updateIncludedTeXfiles):
4559         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4560
4561 2003-05-22  Angus Leeming  <leeming@lyx.org>
4562
4563         * latexrunparams.h: new file containing struct LatexRunParams.
4564         * Makefile.am: add new file.
4565
4566         * LaTeX.[Ch] (c-tor, run):
4567         * buffer.[Ch] (makeLaTeXFile):
4568         * bufferlist.[Ch] (updateIncludedTeXfiles):
4569         * converter.C (convert, scanLog):
4570         * converter.[Ch] (runLaTeX):
4571         * exporter.C (Export):
4572         * paragraph.[Ch] (simpleTeXOnePar):
4573         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4574         * paragraph_funcs.[Ch] (latexParagraphs):
4575         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4576         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4577         pass around a LatexRunParams parameter.
4578
4579 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * paragraph.[Ch]: remove unused constructor
4582
4583         * ParagraphList.C (erase): new function, taking two iterators
4584
4585 2003-05-22  André Pönitz  <poenitz@gmx.net>
4586
4587         * undo_funcs.C: remove duplicated code
4588
4589         * iterator.[Ch]: operator=
4590
4591 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * tabular.C (SetMultiColumn): ws changes
4594
4595         * rowpainter.C (paintFirst): get rid of a ->previous
4596
4597         * lyx_cb.C (getPossibleLabel): parlist simplification
4598
4599         * BufferView.C (ChangeInsets): simplify slightly.
4600
4601 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4602
4603         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4604         * lfuns.h: new LFUN_SPACE
4605         * lyxfunc.C: protected space has a new lfun
4606         * paragraph_funcs.C: read new space insets
4607         * text3.C:
4608         * factory.C: handle new space insets
4609
4610 2003-05-22  André Pönitz  <poenitz@gmx.net>
4611
4612         * BufferView.C:
4613         * BufferView_pimpl.C:
4614         * buffer.[Ch]:
4615         * lyxfunc.C:
4616         * undo_funcs.C: return a ParIterator from getParFromID.
4617
4618         * iterators.[Ch]: add two const's
4619
4620 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * toc.C (getTocList): adjust
4623
4624         * iterators.[Ch]: rework for parlist
4625
4626         * buffer.C (par_iterator_begin): adjust
4627         (par_iterator_end): adjust
4628
4629         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4630
4631         * BufferView.C (removeAutoInsets): adjust
4632         (ChangeInsets): adjust
4633
4634 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4635
4636         * text.C (top_y): fix bug 1110
4637
4638 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4639
4640         * errorlist.[Ch]: added
4641         * buffer.C:
4642         * BufferView.[Ch]:
4643         * BufferView_pimpl.C:
4644         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4645         instead
4646
4647 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * Makefile.am: ensure that lyx is relinked upon changes to the
4650         various "convenience" libs.
4651
4652 2003-05-20  Angus Leeming  <leeming@lyx.org>
4653
4654         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4655         files are compiled in alphabetical order again.
4656
4657         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4658
4659 2003-05-19  Angus Leeming  <leeming@lyx.org>
4660
4661         * gettext.[Ch]: remove "char const * _(char const *)".
4662
4663 2003-05-19  André Pönitz  <poenitz@gmx.net>
4664
4665         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4666
4667         * Makefile.am:
4668         * BufferView.C:
4669         * DepTable.h:
4670         * LaTeXFeatures.C:
4671         * buffer.C:
4672         * lyxfont.C:
4673         * lyxlex.h:
4674         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4675
4676 2003-05-19  André Pönitz  <poenitz@gmx.net>
4677
4678         * buffer.C:
4679         * lyxlayout.[Ch]:
4680         * lyxtextclass.[Ch]:
4681         * paragraph.C:
4682         * paragraph_funcs.[Ch]:
4683         * text2.C:
4684         * text3.C: more insetenv work
4685
4686 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4687
4688         * ParagraphParameters.C (params2string): small bug fixed
4689
4690 2003-05-16  André Pönitz  <poenitz@gmx.net>
4691
4692         * debug.C:
4693         * bufferview_funcs.C: patch from Kornel Benko to prevent
4694           crash when _(...) is called twice in a statement
4695
4696 2003-05-16  André Pönitz  <poenitz@gmx.net>
4697
4698         * BufferView.C:
4699         * lyxfunc.C:
4700         * text.C:
4701         * text2.C:
4702         * text3.C:
4703         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4704
4705 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * lyx_main.C (init): remove spurious static_cast
4708
4709 2003-05-14  André Pönitz  <poenitz@gmx.net>
4710
4711         * BufferView.C: fix format string
4712
4713 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4714
4715         * BufferView.[Ch] (insertErrors): removed
4716         * BufferView.[Ch] (showErrorList): added
4717         * buffer.C (runChkTeX):
4718         * converter.C (scanLog): call showErrorList instead of inserterrors
4719
4720 2003-05-13  André Pönitz  <poenitz@gmx.net>
4721
4722         * BufferView_pimpl.C:
4723         * buffer.C:
4724         * bufferview_func.C:
4725         * MenuBackend.C:
4726         * lyxfunc.C:
4727         * lyxrc.C:
4728         * tex-accent.C:
4729         * text3.C:
4730         * toc.C:
4731         * tabular_funcs.h: tostr() from its own header
4732
4733         * ParagraphParameters.C:
4734         * ToolbarBackend.C:
4735         * bufferparams.C:
4736         * format.C:
4737         * lyxlex_pimpl.C:
4738         * text3.C: STRCONV()
4739
4740 2003-05-12  André Pönitz  <poenitz@gmx.net>
4741
4742         * BufferView.C:
4743         * BufferView_pimpl.C:
4744         * CutAndPaste.C:
4745         * LaTeX.C:
4746         * LaTeXFeatures.C:
4747         * ParagraphParameters.C:
4748         * buffer.C:
4749         * bufferlist.C:
4750         * bufferparams.C:
4751         * bufferview_funcs.C:
4752         * converter.C:
4753         * counters.C:
4754         * debug.C:
4755         * exporter.C:
4756         * format.C:
4757         * importer.C:
4758         * lyx_cb.C:
4759         * lyx_main.C:
4760         * lyxfont.C:
4761         * lyxfunc.C:
4762         * lyxvc.C:
4763         * paragraph.C:
4764         * paragraph_funcs.C:
4765         * tabular.C:
4766         * tabular_funcs.C:
4767         * text2.C:
4768         * text3.C:  boost::format -> bformat  all over the place
4769
4770
4771 2003-05-09  André Pönitz  <poenitz@gmx.net>
4772
4773         * LColor.[Ch]: Pimpl the #include <map> away
4774
4775 2003-05-09  John Levon  <levon@movementarian.org>
4776
4777         * bufferlist.C: never remove emergency saves
4778
4779 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * Makefile.am: better lib building
4782
4783 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4786         instead.
4787         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4788         (simpleTeXSpecialChars): adjust
4789         (simpleTeXSpecialChars): adjust
4790         * paragraph.C (simpleTeXOnePar): adjust
4791         * buffer.C (makeLaTeXFile): adjust
4792
4793         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4794
4795         * text2.C (changeDepth): parlist cleanup
4796         (getColumnNearX): ditto
4797
4798         * rowpainter.C (getLabelFont): parlist cleanup
4799
4800         * bufferlist.C (newFile): parlist cleanup
4801
4802         * CutAndPaste.C (eraseSelection): parlist cleanup
4803
4804         * BufferView_pimpl.C (trackChanges): parlist cleanup
4805         (dispatch): ditto
4806
4807         * BufferView.C (lockInset): parlist cleanup.
4808         (ChangeInsets): ditto
4809
4810 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4811
4812         * CutAndPaste.h: Update file header.
4813
4814         * CutAndPaste.C: Update file header.
4815         Store the parts cut out of the Document in a limited_stack.
4816         (copySelection): adjust
4817         (pasteSelection): new function, takes the index in the limited stack.
4818         (nrOfParagraphs): adjust
4819         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4820         simplify error inset insertion.
4821         (checkPastePossible): adjust
4822
4823 2003-05-06  John Levon  <levon@movementarian.org>
4824
4825         * text2.C: don't cast wrap inset to float
4826
4827 2003-05-05  André Pönitz  <poenitz@gmx.net>
4828
4829         * iterator.C:
4830         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4831
4832         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4833           few naked Paragraph *.
4834
4835 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4836
4837         * bufferparams.C: Output warning if a document with missing
4838         TeX document class is loaded
4839         * exporter.C: Disable TeX exports if the document class is missing
4840         * lyxtextclass.C:
4841         * lyxtextclass.h:
4842         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4843         isTeXClassAvailable()
4844
4845 2003-05-03  John Levon  <levon@movementarian.org>
4846
4847         * BufferView.h:
4848         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4849         explicit cursor show/hide
4850
4851         * BufferView_pimpl.h:
4852         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4853         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4854
4855         * lyxfunc.C: hide cursor before dispatching.
4856
4857         * lyx_cb.C:
4858         * lyxfind.C:
4859         * text.C:
4860         * text3.C: remove explicit cursor hides
4861
4862 2003-05-02  André Pönitz  <poenitz@gmx.net>
4863
4864         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4865
4866         * undo_funcs.C:
4867         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4868           linked lists
4869
4870         * text2.C: tiny whitespace
4871
4872 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4873
4874         * undo_funcs.C: almost only ws changes.
4875
4876         * ParagraphList.C (splice): just return if pl is empty.
4877
4878 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * ParagraphList.C (splice): new function.
4881
4882         * CutAndPaste.C (pasteSelection): use it
4883
4884 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * CutAndPaste.C (pasteSelection): remove the last next and
4887         previous from this file.
4888
4889 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * CutAndPaste.C (pasteSelection): more clean up, user proper
4892         ParagraphList functions for pasteing.
4893
4894         * ParagraphList.C (insert): new function, three arg insert
4895
4896 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * ParagraphList.C (insert): new function, three arg insert
4899
4900         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4901         not on paragraphs.
4902
4903 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4906
4907 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4908
4909         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4910
4911 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4914         (copySelection): clean up a bit.
4915         (pasteSelection): use make_pair
4916
4917         * ParagraphList.C (ParagraphList): implement copy constructor
4918         (operator=): implement, base on copy constructor.
4919         (assign): new func
4920
4921         * paragraph.C (erase): return a bool
4922
4923         * paragraph_pimpl.C (erasePos): remove function, move contents...
4924         (erase): ... here. Return a bool.
4925         (erase): call erase instead of erasePos.
4926
4927 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * ParagraphList.h: define PitPosPair
4930         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4931         ParagraphList, fix a bug on pasting multiple pars
4932         * text2.C: change interface to C&P
4933
4934 2003-04-30  André Pönitz  <poenitz@gmx.net>
4935
4936         * undo_func.C: revert part of yesterday's patch 2
4937
4938 2003-04-30  John Levon  <levon@movementarian.org>
4939
4940         * LColor.C: s/tabular/table/
4941
4942 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * text3.C (dispatch): do not convert iterator -> pointer
4945         * undo_funcs.C (setCursorParUndo): ditto
4946         * text_funcs.C (transposeChars): ditto
4947
4948         * text2.C (setLayout): ws changes only
4949
4950         * text.C (breakParagraph): do not convert iterator -> pointer
4951         (insertChar): ditto
4952         (acceptChange): ditto
4953         (rejectChange): ditto
4954         (changeCase): ditto
4955         (Delete): ditto
4956         (backspace): ditto
4957
4958         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4959         pointer
4960
4961 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4962
4963         * text3.C (gotoInset): YABG (yet another bad getChar)
4964
4965 2003-04-29  André Pönitz  <poenitz@gmx.net>
4966
4967         * paragraph.h: make operator= private unimplemented as long as
4968           it is unusable
4969
4970         * ParagraphList.C: whitespace
4971
4972         * paragraph.[Ch]:
4973         * paragraph_pimpl.[Ch]:
4974         * paragraph_funcs.C:
4975         * CutAndPaste.C:
4976         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4977
4978         * text2.C:
4979           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4980
4981 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4982
4983         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4984         * paragraph.[Ch] (erase):
4985         * paragraph_pimpl.[Ch] (erase): change return type and value
4986         * text2.C (cutSelection): some rework
4987
4988 2003-04-28  John Levon  <levon@movementarian.org>
4989
4990         * bufferlist.C: changes for unsaved changes dialog
4991
4992 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * bufferlist.C (newFile): set language (messages_) for new
4995         documents also.
4996
4997         * buffer.C (readFile): ws changes only.
4998
4999 2003-04-28  André Pönitz  <poenitz@gmx.net>
5000
5001         * undo_funcs.C:
5002         * lyxfunc.C:
5003         * buffer.[Ch]:
5004         * BufferView_pimpl.C:
5005         * BufferView.C: getParFromID related ParagraphList::iterator changes
5006
5007 2003-04-28  André Pönitz  <poenitz@gmx.net>
5008
5009         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5010           Changes
5011
5012 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * messages.C: remove one more localedir class variable.
5015
5016 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * messages.C (getLocaleDir): singleton generation function
5019         (Pimpl): use it.
5020         (Messages): add a default constructor.
5021
5022         * main.C (main): do not setup localedir here, do not call
5023         gettext_init.
5024
5025         * gettext.C (_): use it.
5026         (gettext_init): delete funciton
5027
5028 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * gettext.C (getLyXMessages): new singleton generating function.
5031
5032         * buffer.C (updateDocLang): adjust
5033
5034         * Makefile.am (messages.o): add target
5035         (main.o): remove target
5036
5037 2003-04-27  John Levon  <levon@movementarian.org>
5038
5039         * bufferlist.C:
5040         * lyx_cb.C:
5041         * lyxfunc.C:
5042         * lyxvc.C: specify cancel button in Alert::prompt
5043
5044 2003-04-26  John Levon  <levon@movementarian.org>
5045
5046         * text3.C:
5047         * lyxfunc.C:
5048         * lfuns.h:
5049         * LyXAction.C: add LFUN_INSET_SETTINGS
5050
5051         * lyxfunc.C: don't enable tabular-feature when there's
5052         just any locking inset
5053
5054 2003-04-26  John Levon  <levon@movementarian.org>
5055
5056         * bufferlist.C: re-add Cancel to buffer close question
5057
5058         * lyxfunc.C: fix import UI a bit
5059
5060 2003-04-25  John Levon  <levon@movementarian.org>
5061
5062         * gettext.C: remove the broken asserts for now
5063
5064 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * messages.C: make case where setlocale cannot comply work better.
5067
5068         * buffer.C (updateDocLang): new function
5069         (changeLanguage): use it
5070         (readFile): use it
5071
5072         * text2.C (setCounter): use B_ a bit.
5073
5074         * lyxlayout.C (Read): be sure to trim the label strings.
5075
5076         * messages.C (Messages): fix typo in comment
5077
5078         * buffer.C (readFile): set message_ after file is loaded.
5079         (makeDocBookFile): remove double return
5080         (changeLanguage): reset message_ upon language change.
5081         (B_): new func, use this to get translated buffer strings.
5082
5083         * main.C: add myself and Jean Marc as authors.
5084
5085 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * messages.[hC]: pimplify Messages, and three different pimpls to be
5088         used in different circumstances.
5089
5090         * gettext.[Ch]: change for use with new message code.
5091
5092 2003-04-24 André Pönitz <poenitz@gmx.net>
5093
5094         * factory.C: support for eqref
5095
5096 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * messages.[Ch]: add missing char
5099
5100         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5101
5102         * messages.[Ch]: New files
5103
5104 2003-04-18  John Levon  <levon@movementarian.org>
5105
5106         * BufferView.h:
5107         * BufferView.C:
5108         * BufferView_pimpl.C:
5109         * lfuns.h:
5110         * LyXAction.C:
5111         * lyxtext.h:
5112         * text2.C: remove layout-copy/paste (bug 778)
5113
5114 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5117
5118 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5119
5120         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5121         if they succeed. Act accordingly.
5122
5123 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5124
5125         * text2.C (setCharFont): adjust
5126         (setCounter): adjust
5127         (insertStringAsLines): adjust
5128
5129         * text.C (leftMargin): adjust
5130         (setHeightOfRow): adjust
5131
5132         * rowpainter.C (paintFirst): adjust
5133         (paintLast): adjust
5134
5135         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5136         (outerHook): ditto
5137         (isFirstInSequence): ditto
5138         (getEndLabel): ditto
5139         (outerFont): adjust
5140
5141         * paragraph.C (getParLanguage): comment out some hard stuff.
5142
5143         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5144         (sgmlError): ditto
5145         (simpleDocBookOnePar): ditto
5146         (makeDocBookFile): use ParagraphList::iterator
5147
5148         * CutAndPaste.C (pasteSelection): adjust
5149
5150 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * text2.C (getFont): adjust
5153         (getLayoutFont): adjust
5154         (getLabelFont): adjust
5155
5156         * paragraph_funcs.C (TeXOnePar): adjust
5157
5158         * buffer.C (simpleLinuxDocOnePar): adjust
5159         (simpleDocBookOnePar): adjust
5160
5161         * CutAndPaste.C (pasteSelection): adjust
5162
5163         * BufferView.C (getEncoding): adjust
5164
5165         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5166
5167 2003-04-16  John Levon  <levon@movementarian.org>
5168
5169         * lyxfind.C: use parlist stuff for search/changes
5170
5171 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5172
5173         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5174
5175         * text2.C (deleteEmptyParagraphMechanism): adjust
5176
5177         * text2.[Ch] (ownerParagraph): delete func (both of them
5178
5179 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5180
5181         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5182
5183 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * ParagraphList.C: prepare for NO_NEXT
5186
5187 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * text2.C (getFont): adjust
5190         (getLayoutFont): adjust
5191         (getLabelFont): adjust
5192
5193         * paragraph.C (getFont): adjust
5194         (getLabelFont): adjust
5195         (getLayoutFont): adjust
5196
5197         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5198
5199 2003-04-15  John Levon  <levon@movementarian.org>
5200
5201         From Angus Leeming
5202
5203         * lyx_main.C: handle Include in .ui files
5204
5205 2003-04-15  John Levon  <levon@movementarian.org>
5206
5207         * MenuBackend.C: make the doc files length shorter
5208
5209         * ToolbarBackend.h:
5210         * ToolbarBackend.C: handle toolbar placement flags,
5211         Minibuffer
5212
5213 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5216         adjust
5217
5218         * paragraph_funcs.C (TeXOnePar): adjust
5219
5220         * paragraph.C (getLabelFont): add outerfont arg, adjust
5221         (getLayoutFont): ditto
5222         (simpleTeXOnePar): adjust
5223
5224         * paragraph_pimpl.C (realizeFont): delete func
5225
5226 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5227
5228         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5229         row argument, constify cur argument.
5230
5231 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * text2.C (getFont): adjust
5234         (getLayoutFont): adjust
5235         (getLabelFont): adjust
5236
5237         * paragraph_funcs.C (TeXOnePar): adjust
5238         (outerFont): new func...
5239         (realizeFont): ...moved out from here, changed this to facilitate
5240         transition
5241
5242         * paragraph.C (getFont): take outerfont as arg, adjust
5243         (simpleTeXOnePar): add outerfont arg, adjust
5244
5245         * buffer.C (simpleLinuxDocOnePar): adjust
5246         (simpleDocBookOnePar): adjust
5247
5248         * CutAndPaste.C (pasteSelection): adjust
5249
5250         * BufferView.C (getEncoding): adjust
5251
5252 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * text2.C (setCharFont): adjust
5255         (setCounter): adjust
5256
5257         * text.C (leftMargin): adjust
5258         (setHeightOfRow): adjust
5259
5260         * rowpainter.C (paintFirst): adjust
5261         (paintLast): adjust
5262
5263         * paragraph_pimpl.C (realizeFont): adjust
5264
5265         * paragraph.C (isFirstInSequence): move from here...
5266         * paragraph_funcs.C (isFirstInSequence): ...to here
5267
5268         * paragraph.C (outerHook): move from here...
5269         * paragraph_funcs.C (outerHook): ...to here
5270
5271         * paragraph.C (depthHook): move from here...
5272         * paragraph_funcs.C (depthHook): ...to here
5273
5274         * paragraph.C (getEndLabel): move from here...
5275         * paragraph_funcs.C (getEndLabel): ...to here
5276
5277         * text2.C (realizeFont): move from here...
5278         * paragraph_funcs.C (realizeFont): ...to here
5279
5280 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5283
5284 2003-04-14  Angus Leeming  <leeming@lyx.org>
5285
5286         * LColor.[Ch]: scrap LColor mathcursor.
5287
5288 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * lyxlex.[Ch] (text): delete function
5291         * trans.C (Load): adjust
5292         * paragraph_funcs.C (readParToken): adjust
5293
5294 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5297         vector<char> instead of a char[].
5298
5299         * lyxlex_pimpl.C (getString): adjust
5300         (next): adjust
5301         (lex): use getString
5302         (eatLine): adjust
5303         (nextToken): adjust
5304
5305         * lyxlex.C (text): use pimpl_->getString()
5306         (getBool): ditto
5307         (findToken): ditto
5308
5309 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5312         (makeFontEntriesLayoutSpecific): temp var for par.size()
5313         (setLayout): temp var for ownerParagraphs().end()
5314         (fullRebreak): temp var for rows().end()
5315         (selectionAsString): temp var for boost::next(startpit), realize
5316         that the while really is a regular for loop.
5317         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5318         setCursor in one place.
5319         (setParagraph): temp vr for ownerParagraphs().end()
5320         (updateCounters): make the while loop a for loop
5321         (cutSelection): temp var for ownerParagraphs().end()
5322         (updateInset): make the do {} while() a regular for loop
5323         (getCursorX): use temp vars
5324         (setCurrentFont): use temp vars
5325         (getColumnNearX): use temp vars
5326
5327 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * text.C (transformChar): use temp var for getChar
5330         (computeBidiTables): use temp var for row->par()
5331         (fill): move temp vars for row->par() and pit->layout() earlier in
5332         the function.
5333         (labelFill): use temp var for row->par()
5334         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5335         asc and desc, realize that pit never changes and that firstpit is
5336         just a duplicate and not needed. Exchange rit->par() with pit in a
5337         lot of places.
5338         (breakAgain): use a temp var for boost::next(rit)
5339         (breakAgainOneRow): ditto
5340         (breakParagraph): use a temp var for rows().begin()
5341         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5342         (cursorRightOneWord): use temp var for cursor.par() and
5343         cursor.pos(), remove usage of tmpcursor.
5344         (cursorLeftOneWord): use temp var for cursor.par() and
5345         cursor.pos() only set cur at end of function.
5346
5347 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * text.C, text2.C: exchange all usage of Paragraph::next with
5350         boost::next(ParagraphList::iterator)
5351
5352         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5353
5354         * text2.C (cursorTop): simplify implementation
5355         (cursorBottom): ditto
5356         (setParagraph): use ParagraphList::iterator
5357         (setCurrentFont): adjust
5358         (getColumnNearX): adjust
5359         (cursorRight): adjust
5360         (cursorLeft): remove usage of Paragraph::previous
5361         (cursorUpParagraph): ditto
5362         (deleteEmptyParagraphMechanism): slight cleanup
5363
5364         * text.C (isBoundary): take a Paragraph const & instead of a
5365         pointer as arg.
5366         (addressBreakPoint): ditto
5367         (leftMargin): remove usage of Paragraph::previous.
5368         (setHeightOfRow): ditto
5369         (cursorLeftOneWord): ditto
5370         (selectNextWordToSpellcheck): ditto
5371         (Delete): ditto
5372         (backspace): ditto
5373         (breakParagraph): remove one usage of Paragraph::next
5374         (redoParagraph): ditto
5375         (acceptChange): ditto
5376         (insertChar): adjust
5377         (rowBreakPoint): adjust
5378
5379         * bufferview_funcs.C (toggleAndShow): adjust
5380
5381 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5382
5383         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5384         methods to access it.
5385         * lyxtext.h:
5386         * text.C: Added updateRowPositions to compute all row positions.
5387         Make top_y and getRowNearY() to use the cached y position
5388
5389 2003-04-11  John Levon  <levon@movementarian.org>
5390
5391         * text.C (rowBreakPoint): reintroduce the labelEnd
5392         checks, code copied from the row fill stuff. Deep voodoo.
5393
5394         * text.C (fill): add a comment and debugging for the
5395         next poor soul.
5396
5397 2003-04-11  John Levon  <levon@movementarian.org>
5398
5399         * text.C: make sure fullrow insets get wrapped to the next line,
5400         even when they're in a manual label
5401
5402 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * text2.C (insertParagraph): make it take ParagraphList::iterator
5405         as arg.
5406         (setLayout): make it return ParagraphList::iterator
5407         (redoParagraphs): ditto
5408         (setCounter): ditto
5409         (checkParagraph): ditto
5410
5411         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5412
5413         * text2.C: adjust several funcs.
5414         (realizeFont): take a ParagraphList::iterator as arg.
5415         (getLayoutFont): ditto
5416         (getLabelFont): ditto
5417         (setCharFont): ditto
5418
5419         * text.C: adjust several funcs.
5420
5421 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5422
5423         * text.C (selectNextWordToSpellcheck): don't accidentally
5424         skip insets
5425
5426 2003-04-10  John Levon  <levon@movementarian.org>
5427
5428         * ToolbarBackend.C (getIcon): special handling for
5429         LFUN_MATH_DELIM
5430
5431 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5432
5433         * text2.C (cursorRight): a getChar assert fixed
5434
5435 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * text2.C (getFont): change to take a ParagraphList::iterator
5438         instead of Paragraph*
5439         Adjust several functions.
5440
5441         * text.C (transformChar): change to take a ParagraphList::iterator
5442         instead of Paragraph*
5443         (singleWidth): ditto
5444         Adjust several functions.
5445
5446         * rowpainter.C: adjust several functions
5447         * rowpainter.h:store a ParagraphList::iterator and not a
5448         Paragraph&.
5449
5450
5451 2003-04-09  John Levon  <levon@movementarian.org>
5452
5453         * lyxfunc.C:
5454         * lfuns.h:
5455         * LyXAction.h:
5456         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5457         and the "help" bits as well
5458
5459 2003-04-09  John Levon  <levon@movementarian.org>
5460
5461         * ToolbarBackend.h:
5462         * ToolbarBackend.C: allow multiple toolbars
5463
5464 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * undo_funcs.C (setCursorParUndo): adjust
5467
5468         * text_funcs.C (transposeChars): adjust
5469
5470         * text3.C (gotoNextInset): adjust
5471         (dispatch): adjust
5472
5473         * text2.C (setLayout): adjust
5474         (changeDepth): adjust
5475         (setFont): adjust
5476         (redoParagraphs): adjust
5477         (selectionAsString): adjust
5478         (setParagraph): adjust
5479         (insertInset): adjust
5480         (cutSelection): adjust
5481         (copySelection): adjust
5482         (pasteSelection): adjust
5483         (insertStringAsLines): adjust
5484         (updateInset): adjust
5485         (setCursor): change to take a ParagraphList::iterator parameter
5486         (setCursorIntern): change to take a ParagraphList::iterator parameter
5487         (setCurrentFont): adjust
5488         (cursorLeft): adjust
5489         (cursorRight): adjust
5490         (deleteEmptyParagraphMechanism): adjust
5491
5492         * text.C (breakParagraph): adjust
5493         (insertChar): adjust
5494         (acceptChange): adjust
5495         (rejectChange): adjust
5496         (selectNextWordToSpellcheck): adjust
5497         (changeCase): adjust
5498         (Delete): adjust
5499         (backspace): adjust
5500
5501         * lyxfind.C (SearchForward): adjust
5502         (SearchBackward): adjust
5503         (nextChange): adjust
5504
5505         * lyxcursor.C (par): adjust
5506
5507         * lyxcursor.h: store a ParagraphList::iterator instead of a
5508         Paragraph*
5509
5510         * lyx_cb.C (getPossibleLabel): adjust
5511
5512         * bufferview_funcs.C (toggleAndShow): adjust
5513
5514         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5515         (dispatch): adjust
5516
5517         * BufferView.C (removeAutoInsets): adjust
5518         (lockedInsetStoreUndo): adjust
5519
5520 2003-04-09  John Levon  <levon@movementarian.org>
5521
5522         * ToolbarBackend.C: try icon without argument
5523         if with argument fails
5524
5525 2003-04-08  John Levon  <levon@movementarian.org>
5526
5527         * ToolbarBackend.h:
5528         * ToolbarBackend.C: add getIcon(), handle tooltip,
5529         and change from "Icon" to "Item".
5530
5531 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5532
5533         * BufferView.C (lockInset): another bad getchar crunched
5534
5535 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5536
5537         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5538         again)
5539
5540 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5541
5542         * lyxfind.C (searchForward, searchBackwards): bug 782
5543
5544 2003-04-07  John Levon  <levon@movementarian.org>
5545
5546         * paragraph.C: remove dead comment
5547
5548         * text.C: remove troublesome depth-fiddling code
5549         in leftMargin() and rightMargin() (bug 1017)
5550
5551         * text.C: fix breaking of rows in nested lists
5552         (bug 1004)
5553
5554         * text2.C (updateCounters): fix up depth values
5555         (bug 1013)
5556
5557 2003-04-07  John Levon  <levon@movementarian.org>
5558
5559         * BufferView_pimpl.C: clear message when doc finishes resizing,
5560         and after a mouse event
5561
5562         * lyxfunc.C: clear message after exiting inset
5563
5564 2003-04-07  John Levon  <levon@movementarian.org>
5565
5566         * bufferview_funcs.C: show math status not outside
5567         status in the statusbar
5568
5569 2003-04-07  John Levon  <levon@movementarian.org>
5570
5571         * lyxfunc.C: note status changed after a depth change
5572
5573 2003-04-04  Angus Leeming  <leeming@lyx.org>
5574
5575         * LaTeX.h: move AuxInfo operator==, != out of line.
5576         Remove LaTeX virtual destructor; nothing derives from it.
5577         Move operator()() out of public area and rename it startscript().
5578         Change protected for private.
5579
5580 2003-04-04  Angus Leeming  <leeming@lyx.org>
5581
5582         * lyxfunc.C:
5583         * text2.C: remove unneeded #includes.
5584
5585 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5586
5587         * text2.C (dEPM): fix the heigth of the next row
5588
5589 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5590
5591         * text.C: squashed an invalid getChar requester + some ws changes
5592
5593 2003-04-03  John Levon  <levon@movementarian.org>
5594
5595         * bufferview_funcs.h:
5596         * bufferview_funcs.C:
5597         * lyxfunc.C:
5598         * lyxtext.h:
5599         * text2.C: make getStatus work for the env depth lfuns
5600
5601 2003-04-03  John Levon  <levon@movementarian.org>
5602
5603         * bufferview_funcs.h:
5604         * bufferview_funcs.C:
5605         * lyxfunc.C:
5606         * lyxtext.h:
5607         * text2.C: parlistize decDepth(), by merging it with incDepth()
5608
5609 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5610
5611         * lyxrow.h: store a ParagraphList::iterator instead of a
5612         Paragraph* and adjust other class functions to suit.
5613
5614         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5615         above.
5616
5617 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5618
5619         * text2.C (setCursor): do not anchor to cursor row for the time being
5620
5621 2003-04-02  John Levon  <levon@movementarian.org>
5622
5623         * LyXAction.C:
5624         * lfuns.h:
5625         * lyx_main.C:
5626         * lyxtext.h:
5627         * text.C:
5628         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5629
5630 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * paragraph.h: make ParagraphList and ParagraphList::iterator
5633         friends of Paragraph.
5634
5635         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5636
5637         * ParagraphList.C: Use the private next_ and previous_ from
5638         Paragraph.
5639
5640 2003-04-01  John Levon  <levon@movementarian.org>
5641
5642         * ToolbarBackend.h:
5643         * ToolbarBackend.C:
5644         * Makefile.am: rename, remove defaults gunk
5645
5646         * MenuBackend.h:
5647         * MenuBackend.C: remove defaults gunk
5648
5649         * Languages.h:
5650         * Languages.C: remove defaults gunk
5651
5652         * lyx_main.h:
5653         * lyx_main.C: error out if files couldn't be found.
5654
5655 2003-04-02  John Levon  <levon@movementarian.org>
5656
5657         * text2.C: make incDepth() use parlist
5658
5659 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * undo_funcs.C (firstUndoParagraph): adjust
5662
5663         * text3.C (gotoInset): adjust
5664         (dispatch): adjust, and rewrite loop.
5665
5666         * text2.C (init): adjust, and rewrite loop.
5667         (redoParagraphs): adjust
5668         (updateInset): adjust, and rewrite loop.
5669         (deleteEmptyParagraphMechanism): adjust
5670
5671         * tabular.C (LyXTabular): adjust
5672         (SetMultiColumn): adjust
5673         (TeXRow): adjust
5674
5675         * lyxtext.[Ch] (ownerParagraph): delete function
5676         (ownerParagraphs): new function returns a ParagraphList.
5677
5678         * BufferView.C (removeAutoInsets): adjust
5679         (insertErrors): adjust
5680         (setCursorFromRow): adjust
5681
5682 2003-04-01  Angus Leeming  <leeming@lyx.org>
5683
5684         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5685         in the frontends.
5686
5687 2003-04-02  John Levon  <levon@movementarian.org>
5688
5689         * lyxtext.h:
5690         * text.C:
5691         * Makefile.am:
5692         * text_funcs.h:
5693         * text_funcs.C: make transposeChars a free function
5694
5695         * lyxrow_funcs.C: remove wrong comment
5696
5697 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5698
5699         * lyxtext.h: adjust
5700         * rowpainter.C: adjust
5701         * text.C: adjust
5702         * text2.C: adjust
5703         * text3.C: adjust
5704
5705         * lyxrow_funcs. [Ch]: new files
5706
5707         * lyxrow.[Ch]: remove next and previous pointers
5708         (next,previous): remove accessor functions
5709         (isParEnd): move to lyxrow_funcs
5710         (lastPos): move to lyxrow_funcs
5711         (nextRowIsAllInset): move to lyxrow_funcs
5712         (lastPrintablePos): move to lyxrow_funcs
5713         (numberOfSeparators): move to lyxrow_funcs
5714         (numberOfHfills): move to lyxrow_funcs
5715         (numberOfLabelHfills): move to lyxrow_funcs
5716         (hfillExpansion): move to lyxrow_funcs
5717
5718         * lyxfunc.C: adjust
5719
5720         * bufferview_funcs.C (toggleAndShow): adjust
5721
5722         * RowList.h: Remove class RowList from file leave just a
5723         std::list<Row>.
5724
5725         * RowList.C: delete file
5726
5727         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5728         and lyxrow_funcs.h
5729
5730 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5731
5732         * text3.C (cursorPrevious): adjust
5733         (cursorNext): adjust
5734         (dispatch): adjust
5735
5736         * text2.C (redoHeightOfParagraph): adjust
5737         (redoDrawingOfParagraph): adjust
5738         (setCursor): adjust
5739
5740         * text.C (breakParagraph): adjust
5741         (insertChar): adjust
5742         (backspace): adjust
5743
5744         * rowpainter.C (RowPainter): adjust
5745         (leftMargin): simplify and adjust
5746         (most rowpainter functions): adjust.
5747
5748         * rowpainter.h: store the row as RowList::iterator not as Row*
5749
5750         * lyxcursor.C (row): taka RowList::iterator as arg
5751         (irow): ditto
5752
5753         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5754         of Row*.
5755
5756 2003-04-01  Angus Leeming  <leeming@lyx.org>
5757
5758         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5759         stuff like bool Bool.
5760
5761 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5762
5763         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5764         rewrite a loop
5765
5766 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5767
5768         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5769         RowList::iterator.
5770
5771         * lyxtext.h (rows): drop one version and leve a const variant that
5772         returns a RowList::iterator.
5773
5774 2003-03-31  Angus Leeming  <leeming@lyx.org>
5775
5776         * text.C (fill): ensure that the signature is the same as that in the
5777         header file.
5778
5779 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * text2.C (redoParagraphs): adjust
5782         (updateCounters): adjust
5783         (checkParagraph): adjust
5784         (getColumnNearX): adjust and reformat a bit.
5785
5786         * text.C (top_y): adjust
5787         (workWidth): adjust
5788         (leftMargin): adjust
5789         (prepareToPrint): adjust
5790         (getRow): adjust
5791         (getRowNearY): adjust
5792
5793         * lyxtext.h: make rowlist_ mutable.
5794
5795         * RowList.h: add const_iterator
5796         * RowList.C: adjust for RowList::const_iterator.
5797
5798         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5799         adjust.
5800
5801 2003-03-31  John Levon  <levon@movementarian.org>
5802
5803         * lyxrc.h:
5804         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5805
5806         * lyx_main.C: set default fonts from using lyx_gui funcs
5807
5808         * exporter.C: pdf_mode moved from lyxrc
5809
5810         * lyx_cb.C:
5811         * lyxfunc.C: changes from above
5812
5813 2003-03-31  John Levon  <levon@movementarian.org>
5814
5815         * lyx_main.C: fix to the last fix
5816
5817 2003-03-31  John Levon  <levon@movementarian.org>
5818
5819         * bufferlist.C: "Load original" -> "Load Original"
5820
5821         * converter.C:
5822         * exporter.C:
5823         * importer.C:
5824         * lyx_main.C:
5825         * format.C: more Alert cleanups
5826
5827 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5828
5829         * text2.C (removeParagraph): make it take a RowList::iterator as
5830         arg, adjust.
5831         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5832         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5833
5834         * text.C (anchor_row): make it take a RowList::iterator as arg,
5835         adjust.
5836         (computeBidiTables): make it take a const reference to Row instead
5837         of Row pointer, adjust.
5838         (leftMargin): make it take a RowList::iterator as arg, adjust.
5839         (rowBreakPoint): adjust
5840         (breakAgainOneRow): make it take a RowList::iterator as arg,
5841         adjust.
5842         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5843
5844         * bufferview_funcs.C (toggleAndShow): adjust
5845
5846 2003-03-30  John Levon  <levon@movementarian.org>
5847
5848         * Makefile.am:
5849         * BoostFormat.h:
5850         * boost-inst.C: moved to support
5851
5852         * several files: changes as a result
5853
5854 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5855
5856         * text2.C (LyXText): adjust.
5857         (init): adjust
5858         (removeRow): make it take a RowList::iterator as arg, adjust.
5859         (fullRebreak): adjust
5860         (deleteEmptyParagraphMechanism): adjust
5861         (clearPaint): adjust
5862         (postPaint): adjust
5863
5864         * text.C (top_y): adjust
5865         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5866         (breakAgain): make it take a RowList::iterator as arg, adjust.
5867         (breakParagraph): adjust
5868         (insertChar): adjust
5869         (backspace): adjust
5870
5871         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5872         need_break_row, and refresh_row.
5873
5874         * text3.C (dispatch): adjust
5875
5876         * text2.C (checkParagraph): adjust
5877         (setCursor): adjust
5878         (setCursorFromCoordinates): adjust
5879
5880         * text.C (top_y): adjust
5881         (workWidth): adjust
5882         (getRow): make it return a RowList::iterator, adjust
5883         (getRowNearY): make it return a RowList::iterator, adjust
5884
5885         * text2.C (init): adjust
5886         (insertRow): remove function
5887         (insertParagraph): adjust
5888         (redoParagraphs): adjust
5889         (fullRebreak): adjust
5890         (updateCounters): adjust
5891
5892         * text.C (top_y): rewrite to use RowList iterators.
5893         (top_y): adjust
5894         (setHeightOfRow): rewrite to sue RowList iterators.
5895         (appendParagraph): adjust
5896         (breakAgain): adjust
5897         (breakAgainOneRow): adjust
5898         (breakParagraph): adjust
5899         (getRow): adjust
5900         (getRowNearY): adjust, and remove commented code.
5901
5902         * lyxtext.h (firstRow): delete function
5903         (lastRow): delete function
5904         (rows): new function (const and non-const versions.)
5905         (insertRow): delete function
5906
5907         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5908
5909 2003-03-29  John Levon  <levon@movementarian.org>
5910
5911         * BufferView_pimpl.C: always update scrollbar top
5912         because pasting text when we're anchored could mean we
5913         miss an update altogether
5914
5915 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * text2.C (init): use rowlist_.end() and not 0.
5918         (insertRow): change to take a RowList::iterator as arg, adjust
5919         for this.
5920         (insertParagraph): change to take a RowList::iterator as arg,
5921         adjust for this.
5922         (redoParagraphs): remove some debug msgs.
5923
5924         * text.C (appendParagraph): change to take a RowList::iterator
5925         arg, adjust for this.
5926         (breakAgain): add an assert
5927         (breakAgainOneRow): ditto
5928
5929 2003-03-29  John Levon  <levon@movementarian.org>
5930
5931         * text2.C: do not clear selection after inc/decDepth
5932         (bug 550)
5933
5934 2003-03-29  John Levon  <levon@movementarian.org>
5935
5936         * BufferView.C:
5937         * buffer.C: fix broken strerrors according to Lars
5938
5939 2003-03-29  John Levon  <levon@movementarian.org>
5940
5941         * converters.C: more Alert cleanups
5942
5943 2003-03-29  John Levon  <levon@movementarian.org>
5944
5945         * bufferview_funcs.C: remove pointless Alert
5946
5947         * buffer.C: fix confusing error message when
5948         a template is chmoded 000
5949
5950 2003-03-29  John Levon  <levon@movementarian.org>
5951
5952         * BufferView.C:
5953         * BufferView.h:
5954         * BufferView_pimpl.C: Alert fixes
5955
5956         * Makefile.am:
5957         * tabular.C:
5958         * tabular-old.C: remove unused table compat reading
5959
5960 2003-03-29  John Levon  <levon@movementarian.org>
5961
5962         * BufferView.C:
5963         * buffer.C:
5964         * lyx_cb.h:
5965         * lyx_cb.C: more Alert cleanups
5966
5967         * lyxfunc.C: don't allow chktex if not latex document
5968
5969 2003-03-29  John Levon  <levon@movementarian.org>
5970
5971         * lyx_cb.C:
5972         * BufferView.C:
5973         * buffer.C: warnings pushed down from support/,
5974         kill err_alert
5975
5976 2003-03-29  John Levon  <levon@movementarian.org>
5977
5978         * lyxfunc.C: safety check for C-r (revert)
5979
5980 2003-03-29  John Levon  <levon@movementarian.org>
5981
5982         * bufferlist.h:
5983         * bufferlist.C: several UI fixes using Alert::prompt.
5984         Fix the pointless looping quit code. Fix stupid revert
5985         behaviour (bug 938)
5986
5987         * lyxvc.h:
5988         * lyxvc.C:
5989         * lyx_cb.C: use Alert::prompt
5990
5991         * lyx_main.C: remove a silly question
5992
5993         * lyxfunc.C: remove a couple of silly questions,
5994         use Alert::prompt
5995
5996 2003-03-28  John Levon  <levon@movementarian.org>
5997
5998         * text2.C: fix bug 974 (End on empty par)
5999
6000 2003-03-28  John Levon  <levon@movementarian.org>
6001
6002         * BufferView_pimpl.C:
6003         * LyXAction.C:
6004         * lfuns.h: remove do-nothing math greek lfuns
6005
6006 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * lyxgluelength.h (isValidGlueLength): add default arg on
6009         parameter 2. Remove default arg from friend in class.
6010
6011         * lyxlength.h (isValidLength): add default arg on parameter 2.
6012         Remove default arg from friend in class.
6013
6014         * text2.C (LyXText): adjust, initialize refresh_row.
6015         (init): adjust
6016         (removeRow): adjust
6017         (insertRow): adjust
6018         (insertParagraph): adjst
6019         (redoParagraphs): adjust
6020         (fullRebreak): adjust
6021         (updateCounters): adjust
6022         (deleteEmptyParagraphMechanism): first attempt at fixing a
6023         crashing bug.
6024
6025         * text.C (top_y): adjust
6026         (setHeightOfRow): adjust
6027         (getRow): adjust
6028         (getRowNearY): adjust
6029
6030         * lyxtext.h: include RowList.h
6031         (~LyXText): not needed anymore, deleted.
6032         (firstRow): modify for RowList
6033         (lastRow): new function
6034         Delete firstrow and lastrow class variables, add a Rowlist
6035         rowlist_ class variable.
6036
6037         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6038         paragraph is empty.
6039
6040         * RowList.C (insert): fix case where it == begin().
6041
6042 2003-03-26  Angus Leeming  <leeming@lyx.org>
6043
6044         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6045         the thesaurus dialog.
6046
6047 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6050
6051         * RowList.[Ch]: new files
6052
6053         * ParagraphList.C (erase): handle the case where it == begin
6054         correctly.
6055
6056 2003-03-25  John Levon  <levon@movementarian.org>
6057
6058         * Makefile.am:
6059         * aspell_local.h:
6060         * aspell.C: add new aspell support
6061
6062         * lyxrc.h:
6063         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6064         have it accessible.
6065
6066 2003-03-25  Angus Leeming  <leeming@lyx.org>
6067
6068         * lfuns.h:
6069         * LyXAction.C (init): new LFUN_INSET_INSERT.
6070
6071         * BufferView_pimpl.C (dispatch): split out part of the
6072         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6073
6074         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6075         LFUN_INSET_APPLY.
6076
6077 2003-03-25  Angus Leeming  <leeming@lyx.org>
6078
6079         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6080
6081 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6082
6083         * text2.C:
6084         * text3.C: remove useless row->height(0)
6085
6086 2003-03-25  John Levon  <levon@movementarian.org>
6087
6088         * lyxtext.h:
6089         * text2.C:
6090         * text3.C: rename the refreshing stuff to better names
6091
6092 2003-03-24  John Levon  <levon@movementarian.org>
6093
6094         * BufferView_pimpl.h:
6095         * BufferView_pimpl.C: update layout choice on a mouse
6096         press/release
6097
6098 2003-03-23  John Levon  <levon@movementarian.org>
6099
6100         * Makefile.am: fix commandtags.h reference
6101
6102 2003-03-22  John Levon  <levon@movementarian.org>
6103
6104         * BufferView_pimpl.C:
6105         * lyxtext.h:
6106         * rowpainter.C:
6107         * rowpainter.h:
6108         * text.C:
6109         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6110
6111 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * lyxtext.h:
6114         * text.C: take the rtl methods out of line
6115
6116 2003-03-21 André Pönitz <poenitz@gmx.net>
6117
6118         * metricsinfo.[Ch]: new files containing structures to be passed around
6119         during the two-phase-drawing...
6120
6121 2003-03-21 André Pönitz <poenitz@gmx.net>
6122
6123         * lyxtextclass.C: read 'environment' tag.
6124
6125 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6126
6127         * text2.C (removeRow): fix bug 964
6128
6129 2003-03-20  John Levon  <levon@movementarian.org>
6130
6131         * rowpainter.C:
6132         * text.C:
6133         * text2.C: paint cleanups. Inset::update() dropped font
6134         parameter
6135
6136 2003-03-19  John Levon  <levon@movementarian.org>
6137
6138         * lyxfunc.C: only fitcursor/markDirty if available()
6139
6140 2003-03-19  John Levon  <levon@movementarian.org>
6141
6142         * commandtags.h: rename to ...
6143
6144         * lfuns.h: ... this, and renumber / cleanup
6145
6146 2003-03-19  John Levon  <levon@movementarian.org>
6147
6148         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6149         fit the cursor after an lfun
6150
6151         * BufferView.h:
6152         * BufferView.C:
6153         * BufferView_pimpl.h:
6154         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6155
6156         * LyXAction.C: layout-character should have ReadOnly
6157
6158         * ParagraphParameters.C:
6159         * buffer.C:
6160         * bufferview_funcs.C:
6161         * lyx_cb.C:
6162         * lyxfind.C:
6163         * lyxtext.h:
6164         * text.C:
6165         * text2.C:
6166         * text3.C:
6167         * undo_funcs.C: changes from above
6168
6169 2003-03-18  John Levon  <levon@movementarian.org>
6170
6171         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6172         remove it from update()
6173
6174         * lyxfunc.C: update layout choice after an lfun
6175
6176         * text3.C: remove extra updateLayoutChoice()s
6177
6178 2003-03-18  John Levon  <levon@movementarian.org>
6179
6180         * text.C: top_y change means full repaint, fix
6181         a drawing bug with cursor movement
6182
6183 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * lyxtext.h:
6186         * text.C:
6187         * text2.C: anchor row on setCursor
6188
6189 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6190
6191         * lyxtext.h: remove almost all mutable keywords
6192         * text.C:
6193         * text2.C:
6194         * text3.C: remove const keywords accordingly
6195
6196 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6199         anon namespace
6200         (TeXEnvironment): ditto
6201         (TeXOnePar): ditto
6202
6203 2003-03-17  John Levon  <levon@movementarian.org>
6204
6205         * text.C (rowBreakPoint): remove attempt to fix displayed
6206         math insets inside a manual label
6207
6208 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * lyxtext.h: remove BufferView* as first arg from almost all class
6211         functions.
6212         * other files: adjust.
6213
6214 2003-03-17  John Levon  <levon@movementarian.org>
6215
6216         * lyxtext.h:
6217         * undo_funcs.C:
6218         * text2.C: more paint cleanups
6219
6220         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6221
6222         * rowpainter.h:
6223         * rowpainter.C: remove "smart" background painting code
6224
6225 2003-03-16  John Levon  <levon@movementarian.org>
6226
6227         * lyxtext.h:
6228         * text.C:
6229         * text2.C:
6230         * text3.C: add helper functions for setting refresh_row/y
6231
6232 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6233
6234         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6235         newline inset which *can* get inserted in the pass_thru layouts.
6236         This is primarily for literate documents.
6237
6238 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6239
6240         * buffer.C: increment LYX_FORMAT to 223
6241
6242 2003-03-14 André Pönitz <poenitz@gmx.net>
6243
6244         * textclass.h: prepare for environment handling, ws changes
6245         * lyxlayout.C: read latexheader and latexfooter tags
6246
6247 2003-03-14  John Levon  <levon@movementarian.org>
6248
6249         * text2.C: rewrite ::status() a bit
6250
6251 2003-03-13  John Levon  <levon@movementarian.org>
6252
6253         * lyxtext.h: add some docs
6254
6255 2003-03-13  John Levon  <levon@movementarian.org>
6256
6257         * lyxtext.h:
6258         * text.C:
6259         * text2.C:
6260         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6261
6262 2003-03-13  John Levon  <levon@movementarian.org>
6263
6264         * text3.C: fix appendix redrawing
6265
6266 2003-03-13  John Levon  <levon@movementarian.org>
6267
6268         * text.C (setHeightOfRow):
6269         * rowpainter.h:
6270         * rowpainter.C: make appendix mark have the text
6271           "Appendix" so the user knows what it is
6272
6273         * LColor.h:
6274         * LColor.C: s/appendixline/appendix/ from above
6275
6276 2003-03-13  John Levon  <levon@movementarian.org>
6277
6278         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6279
6280         * text.C: fix a getChar(pos) bug properly
6281
6282 2003-03-13  Angus Leeming  <leeming@lyx.org>
6283
6284         * commandtags.h:
6285         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6286         Probably only temporary. Let's see how things pan out.
6287
6288         * BufferView.C (unlockInset):
6289         * BufferView_pimpl.C (fitCursor):
6290         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6291
6292         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6293         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6294
6295         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6296         new functions that convert ParagraphParameters to and from a string.
6297
6298         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6299         BufferView::Pimpl's dispatch.
6300         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6301
6302 2003-03-13 André Pönitz <poenitz@gmx.net>
6303
6304         * lyxfunc.C:
6305         * text3.C:
6306         * factory.C: make it aware of InsetEnv
6307
6308 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * text2.C (setCursor): never ask for one past last
6311         (setCursor): add some debugging messages.
6312
6313         * text.C (singleWidth): never ask for one past last
6314         (singleWidth): ditto
6315         (leftMargin): ditto
6316         (rightMargin): ditto
6317         (rowBreakPoint): ditto
6318         (setHeightOfRow): ditto
6319         (prepareToPrint): ditto
6320
6321         * rowpainter.C (paintBackground): never ask for one past last
6322         (paintText): never ask for one past last
6323
6324         * paragraph_pimpl.C (getChar): make the assert stricter, never
6325         allow the one past last pos to be taken
6326
6327         * paragraph.C (getChar): ws changes only
6328
6329         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6330         (numberOfSeparators): ditto
6331         (numberOfHfills): ditto
6332
6333 2003-03-12  John Levon  <levon@movementarian.org>
6334
6335         * author.h:
6336         * author.C:
6337         * bufferparams.h:
6338         * bufferparams.C:
6339         * paragraph_funcs.C: fix per-buffer authorlists
6340
6341 2003-03-12  John Levon  <levon@movementarian.org>
6342
6343         * text.C: fix newline in right address
6344
6345 2003-03-12  Angus Leeming  <leeming@lyx.org>
6346
6347         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6348         duplicate those in LyXFunc::dispatch.
6349
6350         * commandtags.h:
6351         * LyXAction.C:
6352         * ToolbarDefaults.C:
6353         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6354         Add LFUN_FONTFREE_UPDATE.
6355
6356         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6357         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6358
6359         * bufferview_func.[Ch]: several new functions to facilliate
6360         transfer of data to and from the character dialog.
6361
6362 2003-03-12  John Levon  <levon@movementarian.org>
6363
6364         * buffer.C:
6365         * paragraph.h:
6366         * paragraph.C:
6367         * paragraph_funcs.C:
6368         * paragraph_pimpl.C:
6369         * sgml.C:
6370         * tabular.C:
6371         * text.C:
6372         * text3.C: remove META_NEWLINE in favour of an inset
6373
6374         * rowpainter.h:
6375         * rowpainter.C: remove paintNewline (done by inset)
6376
6377 2003-03-12  John Levon  <levon@movementarian.org>
6378
6379         * paragraph_pimpl.C: complain about bad getChar()s
6380         for a while at least
6381
6382 2003-03-12  John Levon  <levon@movementarian.org>
6383
6384         * buffer.h:
6385         * buffer.C: move paragraph read into a separate function,
6386         a little renaming to reflect that.
6387
6388         * bufferparams.h:
6389         * bufferparams.C: remove the author_ids map, not necessary now
6390
6391         * factory.h:
6392         * factory.C: moved Buffer::readInset to here
6393
6394         * paragraph_funcs.h:
6395         * paragraph_funcs.C: readParagraph free function moved from
6396         buffer.C
6397
6398         * tabular.C: name change
6399
6400 2003-03-12  John Levon  <levon@movementarian.org>
6401
6402         * buffer.C:
6403         * ParagraphParameters.C: move par params input to
6404         a read() method
6405
6406         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6407         behave like a normal read from the stream wrt reading
6408         a line vs. a \\token
6409
6410 2003-03-12  John Levon  <levon@movementarian.org>
6411
6412         * paragraph.C:
6413         * ParagraphParameters.h:
6414         * ParagraphParameters.C: move output code to a
6415         ::write() method
6416
6417 2003-03-12  John Levon  <levon@movementarian.org>
6418
6419         * BufferView.C (insertLyXFile):
6420         * buffer.h:
6421         * buffer.C:
6422         * tabular.C: use a parlist iterator for creating the
6423           document.
6424
6425 2003-03-12  John Levon  <levon@movementarian.org>
6426
6427         * buffer.C: make current_change static local not
6428           static file-scope
6429
6430 2003-03-12  John Levon  <levon@movementarian.org>
6431
6432         * buffer.C: fix insertStringAsLines for change tracking
6433
6434 2003-03-12  John Levon  <levon@movementarian.org>
6435
6436         * BufferView.C:
6437         * tabular.C:
6438         * buffer.h:
6439         * buffer.C:
6440         * bufferparams.h:
6441         * bufferparams.C: move author list into params. Rename some
6442           functions. Move the header reading into a separate token
6443           loop. Move the header token reading into BufferParams.
6444
6445 2003-03-12  John Levon  <levon@movementarian.org>
6446
6447         * changes.C: put debug inside lyxerr.debugging() checks
6448
6449 2003-03-11 André Pönitz <poenitz@gmx.net>
6450
6451         * factory.C: make it aware of InsetHFill
6452
6453 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6454
6455         * buffer.C (latexParagraphs): move function from here...
6456         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6457         args.
6458
6459 2003-03-10  Angus Leeming  <leeming@lyx.org>
6460
6461         * LyXAction.C (init): fix bug in poplating array with multiple entries
6462         with the same LFUN (spotted by JMarc).
6463
6464 2003-03-10  John Levon  <levon@movementarian.org>
6465
6466         * text.C:
6467         * text2.C: move getColumnNearX() near its
6468         only call site
6469
6470 2003-03-10  John Levon  <levon@movementarian.org>
6471
6472         * text.C: fix break before a minipage
6473
6474 2003-03-10  John Levon  <levon@movementarian.org>
6475
6476         * text.C: fix the last commit
6477
6478 2003-03-09  John Levon  <levon@movementarian.org>
6479
6480         * lyxtext.h:
6481         * text.C:
6482         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6483         bug 365 (don't break before insets unless needed). Don't
6484         return a value > last under any circumstances.
6485
6486 2003-03-09  Angus Leeming  <leeming@lyx.org>
6487
6488         * BufferView_pimpl.C (trackChanges, dispatch): call
6489         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6490
6491 2003-03-09  Angus Leeming  <leeming@lyx.org>
6492
6493         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6494         than Dialogs::showAboutlyx().
6495
6496 2003-03-09  Angus Leeming  <leeming@lyx.org>
6497
6498         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6499         than Dialogs::showTabularCreate().
6500
6501 2003-03-09  John Levon  <levon@movementarian.org>
6502
6503         * lyxtext.h:
6504         * text.C:
6505         * text2.C: 3rd arg to nextBreakPoint was always the same.
6506           Use references.
6507
6508 2003-03-08  John Levon  <levon@movementarian.org>
6509
6510         * lyxrow.C:
6511         * paragraph.C:
6512         * paragraph.h:
6513         * rowpainter.C:
6514         * text.C:
6515         * text2.C: Remove the "main" bit from the "main body"
6516           notion.
6517
6518 2003-03-08  John Levon  <levon@movementarian.org>
6519
6520         * text.C (leftMargin): The left margin of an empty
6521         manual label paragraph should not include the label width
6522         string length.
6523
6524         * text.C (prepareToPrint): don't attempt to measure hfills
6525         for empty manual label paragraphs - the answer should be 0
6526
6527 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6528
6529         * CutAndPaste.C: remove commented code and reindent.
6530
6531 2003-03-08  John Levon  <levon@movementarian.org>
6532
6533         * lyxfunc.h:
6534         * lyxfunc.C: move reloadBuffer()
6535
6536         * BufferView.h:
6537         * BufferView.C: to here
6538
6539         * lyxvc.C: add comment
6540
6541         * vc-backend.h:
6542         * vc-backend.C: call bv->reload() to avoid
6543           getStatus() check on MENURELOAD
6544
6545 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6546
6547         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6548         to an old format .dep file.
6549
6550 2003-03-07  Angus Leeming  <leeming@lyx.org>
6551
6552         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6553         when the LFUN_MOUSE_RELEASE should have been handled by
6554         inset->localDispatch.
6555
6556 2003-03-07  Angus Leeming  <leeming@lyx.org>
6557
6558         * BufferView_pimpl.C (dispatch):
6559         * LyXAction.C (init):
6560         * ToolbarDefaults.C (init):
6561         * commandtags.h:
6562         * lyxfunc.C (getStatus):
6563         remove LFUN_INSET_GRAPHICS.
6564
6565         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6566
6567 2003-03-07  Angus Leeming  <leeming@lyx.org>
6568
6569         * commandtags.h:
6570         * LyXAction.C (init):
6571         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6572
6573         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6574
6575         * commandtags.h:
6576         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6577
6578         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6579         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6580
6581 2003-03-07  Angus Leeming  <leeming@lyx.org>
6582
6583         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6584         remove "ert".
6585
6586 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * ParagraphList.C (front): new function
6589         (back): implement
6590
6591 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6594         and top_row_offset_. removed var first_y.
6595         * text.C (top_y):
6596         * text2.C (LyXText, removeRow):
6597         * text3.C:
6598         * BufferView_pimpl.C:
6599         use these methods instead of using first_y
6600
6601 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6602
6603         * text2.C (pasteSelection): adjust for checkPastePossible
6604
6605         * CutAndPaste.C: remove Paragraph * buf and replace with
6606         ParagraphList paragraphs.
6607         (DeleteBuffer): delete
6608         (cutSelection): change the tc type to textclass_type
6609         (copySelection): change the tc type to textclass_type
6610         (copySelection): adjust for ParagraphList
6611         (pasteSelection): change the tc type to textclass_type
6612         (pasteSelection): adjust for Paragraphlist
6613         (nrOfParagraphs): simplify for ParagraphList
6614         (checkPastePossible): simplify for ParagraphList
6615         (checkPastePossible): remove unused arg
6616
6617         * ParagraphList.C (insert): handle the case where there are no
6618         paragraphs yet.
6619
6620         * CutAndPaste.h: make CutAndPaste a namespace.
6621
6622         * text3.C (dispatch): adjust
6623
6624         * text.C (breakParagraph): add a ParagraphList as arg
6625
6626         * paragraph_funcs.C (breakParagraph): change to take a
6627         BufferParams and a ParagraphList as args.
6628         (breakParagraphConservative): ditto
6629         (mergeParagraph): ditto
6630         (TeXDeeper): add a ParagraphList arg
6631         (TeXEnvironment): ditto
6632         (TeXOnePar): ditto
6633
6634         * buffer.C (readLyXformat2): adjust
6635         (insertStringAsLines): adjust
6636         (latexParagraphs): adjust
6637
6638         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6639         (cutSelection): adjust
6640         (pasteSelection): adjust
6641
6642         * BufferView_pimpl.C (insertInset): adjust
6643
6644 2003-03-05  Angus Leeming  <leeming@lyx.org>
6645
6646         * commandtags.h:
6647         * LyXAction.C (init):
6648         * BufferView_pimpl.C (dispatch):
6649         * lyxfunc.C (getStatus):
6650         remove LFUN_CHILD_INSERT.
6651
6652         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6653
6654 2003-03-05  Angus Leeming  <leeming@lyx.org>
6655
6656         * commandtags.h:
6657         * LyXAction.C (init):
6658         * src/factory.C (createInset):
6659         * lyxfunc.C (getStatus):
6660         * text3.C (dispatch):
6661         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6662
6663         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6664
6665 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6666
6667         * ParagraphList.C (insert): handle insert right before end()
6668         (erase): fix cases where it can be first or last paragraph.
6669
6670 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6673         Paragraph::next and Paragraph::previous
6674         (TeXOnePar): ditto
6675
6676         * text.C (breakParagraph): adjust
6677
6678         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6679         BufferParams& as arg.
6680         (breakParagraph): use ParagraphList::insert
6681         (breakParagraphConservative): take a Buffer* instead of a
6682         BufferParams& as arg.
6683         (breakParagraphConservative): use ParagraphList::insert.
6684
6685         * buffer.C (insertStringAsLines): un-const it
6686         (insertStringAsLines): adjust
6687
6688         * ParagraphList.C (insert): new function
6689
6690         * CutAndPaste.C (pasteSelection): adjust
6691
6692         * text.C (backspace): adjust
6693
6694         * tabular.C (SetMultiColumn): adjust
6695
6696         * CutAndPaste.C (cutSelection): adjust
6697         (pasteSelection): adjust
6698
6699         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6700         Buffer const * as arg
6701
6702         * ParagraphList.C (erase): new function
6703         * paragraph_funcs.C (mergeParagraph): use it
6704         (mergeParagraph): make it take a Buffer* instead of a
6705         BufferParams* as arg
6706
6707         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6708         as arg
6709         (breakParagraphConservative): ditto
6710
6711         * paragraph.h: remove the breakParagraph friend
6712
6713         * paragraph.C (eraseIntern): new function
6714         (setChange): new function
6715
6716         * paragraph_funcs.C (mergeParagraph): make it take a
6717         ParagraphList::iterator instead of a Paragraph *, adjust
6718         accordingly.
6719
6720         * paragraph.h: move an #endif so that the change tracking stuff
6721         also works in the NO_NEXT case.
6722
6723 2003-03-04  Angus Leeming  <leeming@lyx.org>
6724
6725         * commandtags.h:
6726         * LyXAction.C: new LFUN_INSET_MODIFY.
6727
6728         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6729         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6730
6731 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6732
6733         * several files: ws changes only
6734
6735         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6736         (TeXEnvironment): ditto
6737         (TeXDeeper): ditto
6738
6739         * buffer.C (makeLaTeXFile): adjust
6740         (latexParagraphs): make it take ParagraphList::iterator as args
6741
6742 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6743
6744         * buffer.C (latexParagraphs): adjust
6745
6746         * paragraph.C (TeXOnePar): move function...
6747         (optArgInset): move function...
6748         (TeXEnvironment): move function...
6749         * paragraph_pimpl.C (TeXDeeper): move function...
6750         * paragraph_funcs.C: ...here
6751
6752         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6753
6754 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6755
6756         * buffer.C (readInset): remove compability code for old Figure and
6757         InsetInfo insets
6758
6759 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * buffer.C: ws changes
6762         (readInset):
6763
6764         * BufferView_pimpl.C: ditto
6765         * author.C: ditto
6766         * buffer.h: ditto
6767         * bufferlist.h: ditto
6768         * changes.h: ditto
6769         * lyxfunc.C: ditto
6770
6771 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6772
6773         * converter.[Ch]: split into itself +
6774         * graph.[Ch]
6775         * format.[Ch]
6776         * Makefile.am: += graph.[Ch] + format.[Ch]
6777         * MenuBackend.C
6778         * buffer.C
6779         * exporter.C
6780         * importer.C
6781         * lyx_main.C
6782         * lyxfunc.C
6783         * lyxrc.C: added #include "format.h"
6784
6785 2003-02-27  Angus Leeming  <leeming@lyx.org>
6786
6787         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6788           a label.
6789
6790         * factory.C (createInset): add "label" to the factory.
6791
6792         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6793           string and do no more.
6794
6795 2003-02-27  Angus Leeming  <leeming@lyx.org>
6796
6797         * commandtags.h:
6798         * LyXAction.C (init):
6799         * factory.C (createInset):
6800         * BufferView_pimpl.C (dispatch):
6801           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6802
6803         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6804
6805         * lyxfunc.C (dispatch):
6806         * text3.C (dispatch): pass name to params2string.
6807
6808 2003-02-26  Angus Leeming  <leeming@lyx.org>
6809
6810         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6811           blocks together.
6812           Rearrange the ~includes. Strip out the unnecessary ones.
6813
6814         * factory.C (createInset): reformat.
6815           create new insets for the various LFUN_XYZ_APPLY lfuns.
6816
6817 2003-02-26  John Levon  <levon@movementarian.org>
6818
6819         * lyxrow.h:
6820         * lyxrow.C: add isParStart,isParEnd helpers
6821
6822         * paragraph.h: make isInserted/DeletedText take refs
6823
6824         * paragraph_funcs.h:
6825         * paragraph_funcs.C: remove #if 0'd code
6826
6827         * lyxtext.h:
6828         * text3.C:
6829         * text2.C:
6830         * text.C: use lyxrow helpers above.
6831           Move draw and paint routines to RowPainter.
6832           Make several methods use refs not pointers.
6833           Make backgroundColor() const.
6834           Add markChangeInDraw(), isInInset().
6835           Merge changeRegionCase into changeCase.
6836           Make workWidth() shouldn't-happen code into an Assert.
6837
6838         * rowpainter.h:
6839         * rowpainter.C: new class for painting a row.
6840
6841         * vspace.h:
6842         * vspace.C: make inPixels take a ref
6843
6844 2003-02-26  Angus Leeming  <leeming@lyx.org>
6845
6846         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6847         LFUN_REF_APPLY.
6848
6849 2003-02-25  John Levon  <levon@movementarian.org>
6850
6851         * ispell.C: give the forked command a more accurate name
6852
6853 2003-02-22  John Levon  <levon@movementarian.org>
6854
6855         * toc.h:
6856         * toc.C: make TocItem store an id not a Paragraph *
6857           (bug #913)
6858
6859 2003-02-21  Angus Leeming  <leeming@lyx.org>
6860
6861         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6862           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6863           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6864           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6865           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6866           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6867
6868         * BufferView_pimpl.C (dispatch):
6869         * LyXAction.C (init):
6870         * factory.C (createInset):
6871         * lyxfunc.C (getStatus, dispatch):
6872         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6873
6874 2003-02-21  Angus Leeming  <leeming@lyx.org>
6875
6876         * BufferView_pimpl.C (MenuInsertLyXFile):
6877         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6878         * lyxfunc.C (menuNew, open, doImport):
6879           no longer pass a LyXView & to fileDlg.
6880
6881 2003-02-21  Angus Leeming  <leeming@lyx.org>
6882
6883         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6884         * LyXAction.C: change, BIBKEY to BIBITEM.
6885         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6886         Change InsetBibKey to InsetBibitem.
6887         Change BIBKEY_CODE to BIBITEM_CODE.
6888         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6889         * factory.C: replace insetbib.h with insetbibitem.h.
6890         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6891         * paragraph.C: replace insetbib.h with insetbibitem.h.
6892         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6893         Change bibkey() to bibitem().
6894         * text.C: remove insetbib.h.
6895         * text2.C: replace insetbib.h with insetbibitem.h.
6896         change bibkey() to bibitem().
6897         * text3.C: remove insetbib.h.
6898         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6899
6900 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6901
6902         * lyxrc.C (output): enclose user email in quotes (in case there are
6903         several words)
6904
6905 2003-02-18  John Levon  <levon@movementarian.org>
6906
6907         * buffer.h: add std::
6908
6909 2003-02-17  John Levon  <levon@movementarian.org>
6910
6911         * SpellBase.h:
6912         * ispell.h:
6913         * ispell.C:
6914         * pspell.h:
6915         * pspell.C: reworking. Especially in ispell, a large
6916           number of clean ups and bug fixes.
6917
6918         * lyxfunc.C: fix revert to behave sensibly
6919
6920 2003-02-17 André Pönitz <poenitz@gmx.net>
6921
6922         * LyXAction.C:
6923         * commandtags.h: new LFUN_INSERT_BIBKEY
6924
6925         * layout.h:
6926         * lyxlayout.C:
6927         * buffer.C:
6928         * factory.C:
6929         * text.C:
6930         * text2.C:
6931         * text3.C:
6932         * paragraph.[Ch]:
6933         * paragraph_func.C: remove special bibkey handling
6934
6935 2003-02-17  John Levon  <levon@movementarian.org>
6936
6937         * text.C (Delete): fix case where delete at the end of
6938           the very first paragraph would not merge the pars
6939
6940 2003-02-17  John Levon  <levon@movementarian.org>
6941
6942         * lyxrow.C: fix lastPrintablePos()
6943
6944 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6945
6946         * bufferparams.C (writeLaTeX): add a std:here
6947
6948         * buffer.C: and remove a using directive there
6949
6950 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6951
6952         * buffer.C (makeLaTeXFile): move the code that generates the
6953           preamble...
6954
6955         * bufferparams.C (writeLaTeX): ... in this new method
6956
6957         * LaTeXFeatures.C (getEncodingSet): make const
6958           (getLanguages): make const
6959
6960         * MenuBackend.C (binding): returns the binding associated to this
6961           action
6962           (add): sets the status of each item by calling getStatus. Adds
6963           some intelligence.
6964           (read): add support for OptSubMenu
6965           (expand): remove extra separator at the end of expanded menu
6966
6967 2003-02-15  John Levon  <levon@movementarian.org>
6968
6969         * BufferView.C:
6970         * BufferView_pimpl.C:
6971         * bufferlist.h:
6972         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6973           inset code that had no actual effect. Remove unneeded status
6974           code.
6975
6976 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6977
6978         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6979           in preamble
6980
6981 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6982
6983         * text.C (drawLengthMarker): also draw an arrow marker for
6984           symbolic lengths (medskip...)
6985
6986 2003-02-14  John Levon  <levon@movementarian.org>
6987
6988         * tabular.h:
6989         * tabular.C: better method names
6990
6991 2003-02-14  John Levon  <levon@movementarian.org>
6992
6993         * BufferView_pimpl.C:
6994         * bufferlist.C:
6995         * buffer.C:
6996         * converter.C:
6997         * lyx_cb.C:
6998         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6999           it's a more accurate name. Remove some pointless uses.
7000
7001 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7002
7003         * text2.C (LyXText): change order of initilizers to shut off
7004           warnings
7005
7006 2003-02-14  John Levon  <levon@movementarian.org>
7007
7008         * buffer.C: use ParIterator for getParFromID()
7009
7010         * paragraph.h:
7011         * paragraph.C:
7012         * paragraph_pimpl.h:
7013         * paragraph_pimpl.C: remove unused getParFromID()
7014
7015 2003-02-14  John Levon  <levon@movementarian.org>
7016
7017         * buffer.C: remove some very old #if 0'd parse code
7018
7019 2003-02-13  John Levon  <levon@movementarian.org>
7020
7021         * text.h:
7022         * text.C:
7023         * text2.C: move hfillExpansion(), numberOfSeparators(),
7024           rowLast(), rowLastPrintable(), numberofHfills(),
7025           numberOfLabelHfills() ...
7026
7027         * lyxrow.h:
7028         * lyxrow.C: ... to member functions here.
7029
7030         * paragraph.h:
7031         * paragraph.C:
7032         * lyxtext.h:
7033         * text.C: remove LyXText::beginningOfMainBody(), and call
7034           p->beginningOfMainBody() directly. Move the check for
7035           LABEL_MANUAL into the latter.
7036
7037         * text.h:
7038         * text.C:
7039         * text2.C:
7040         * vspace.C:
7041         * BufferView.h:
7042         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7043
7044         * text.h:
7045         * text.C:
7046         * text2.C:
7047         * text3.C:
7048         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7049           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7050
7051 2003-02-13  John Levon  <levon@movementarian.org>
7052
7053         * CutAndPaste.C: remove debug
7054
7055 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7056
7057         * paragraph.C (asString): remove two unused variables
7058
7059         * lyxtextclass.C (readTitleType):
7060           (Read):
7061           (LyXTextClass): handle new members titletype_ and titlename_
7062
7063         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7064
7065 2003-02-09  John Levon  <levon@movementarian.org>
7066
7067         * buffer.h:
7068         * buffer.C: replace hand-coded list with a map for the dep clean
7069
7070 2003-02-08  John Levon  <levon@movementarian.org>
7071
7072         * LaTeX.C: consolidate code into showRunMessage() helper
7073
7074 2003-02-08  John Levon  <levon@movementarian.org>
7075
7076         * lyxfind.C:
7077         * lyxtext.h:
7078         * text2.C:
7079         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7080           and pass the size in explicitly
7081
7082         * BufferView_pimpl.h:
7083         * BufferView_pimpl.C:
7084         * BufferView.h:
7085         * BufferView.C: add getCurrentChange()
7086
7087         * BufferView_pimpl.h:
7088         * BufferView_pimpl.C: handle change lfuns
7089
7090         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7091           for changes. Mark pasted paragraphs as new.
7092
7093         * support/lyxtime.h:
7094         * support/lyxtime.C:
7095         * DepTable.C: abstract time_t as lyx::time_type
7096
7097         * LColor.h:
7098         * LColor.C: add colours for new text, deleted text, changebars
7099
7100         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7101           package use "usenames" option.
7102
7103         * commandtags.h:
7104         * lyxfunc.C:
7105         * LyXAction.C: add change lfuns
7106
7107         * Makefile.am:
7108         * author.h:
7109         * author.C: author handling
7110
7111         * buffer.h:
7112         * buffer.C: add a per-buffer author list, with first entry as
7113           current author. Handle new .lyx tokens for change tracking. Output
7114           author list to .lyx file. Output dvipost stuff to .tex preamble.
7115           Bump lyx format to 222.
7116
7117         * bufferlist.h:
7118         * bufferlist.C: add setCurrentAuthor() to reset current author details
7119           in all buffers.
7120
7121         * bufferparams.h:
7122         * bufferparams.C: add param for tracking
7123
7124         * bufferview_funcs.C: output change info in minibuffer
7125
7126         * Makefile.am:
7127         * changes.h:
7128         * changes.C: add change-tracking structure
7129
7130         * debug.h:
7131         * debug.C: add CHANGES debug flag
7132
7133         * lyxfind.h:
7134         * lyxfind.C: add code for finding the next change piece
7135
7136         * lyxrc.h:
7137         * lyxrc.C: add user_name and user_email
7138
7139         * lyxrow.h:
7140         * lyxrow.C: add a metric for the top of the text line
7141
7142         * lyxtext.h:
7143         * text.C: implement accept/rejectChange()
7144
7145         * lyxtext.h:
7146         * text.C: paint changebars. Paint new/deleted text in the chosen
7147         colours. Strike through deleted text.
7148
7149         * paragraph.h:
7150         * paragraph.C:
7151         * paragraph_pimpl.h:
7152         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7153           in the current change to the insert functions. Rework erase to
7154           mark text as deleted, adding an eraseIntern() and a range-based
7155           erase(). Implement per-paragraph change lookup and
7156           accept/reject.
7157
7158         * paragraph_funcs.C: Fixup paste for change tracking.
7159
7160         * tabular.C: mark added row/columns as new.
7161
7162         * text.C: fix rowLast() to never return -1. Don't allow
7163           spellchecking of deleted text. Track transpose changes. Don't
7164           allow paragraph break or merge where appropriate.
7165
7166         * text2.C: leave cursor at end of selection after a cut.
7167
7168 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7169
7170         * text.C (getLengthMarkerHeight):
7171         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7172         visible on screen too.
7173
7174 2003-02-07  John Levon  <levon@movementarian.org>
7175
7176         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7177
7178 2003-02-05  Angus Leeming  <leeming@lyx.org>
7179
7180         * lyxserver.C (read_ready): revert my patch of 11 September last year
7181         as it sends PC cpu through the roof. Presumably this means that
7182         the lyxserver will no longer run on an Alpha...
7183
7184 2003-01-30  Angus Leeming  <leeming@lyx.org>
7185
7186         * factory.C (createInset): create an InsetCommandParam of type "index"
7187         and use it to 'do the right thing'.
7188
7189         * text2.C (getStringToIndex): ensure that cursor position is always
7190         reset to the reset_cursor position.
7191
7192 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7193
7194         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7195         disabled.
7196
7197 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7198
7199         * bufferview.C:
7200         * lyxcb.C:
7201         * lyxfunc.C: Output messages with identical spelling, punctuation,
7202         and spaces
7203
7204 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7205
7206         * MenuBackend.C (expandFormats): List only viewable export formats
7207         in "View" menu
7208
7209         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7210         message
7211
7212         * lyxfunc.C (getStatus): Make sure that formats other than
7213         "fax" can also be disabled
7214
7215 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7216
7217         * text3.C (dispatch): put the lfuns that insert insets in 3
7218         groups, and call doInsertInset with appropriate arguments.
7219         (doInsertInset): new function, that creates an inset and inserts
7220         it according to some boolean parameters.
7221
7222 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * buffer.C (readFile): remember to pass on 'par' when calling
7225         readFile recursively.
7226
7227 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7228
7229         * MenuBackend.C (expandFormats): add "..." to import formats.
7230
7231 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7232
7233         * paragraph.C (asString): Remove XForms RTL hacks.
7234
7235 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7236         * buffer.C: fix typo
7237
7238 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7239
7240         * Makefile.am (LIBS): delete var
7241         (lyx_LDADD): add @LIBS@ here instead.
7242
7243 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7244
7245         * Clarify the meaning of "wheel mouse jump"
7246
7247 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7248
7249         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7250         tabular in a float
7251
7252 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7253
7254         * importer.C (Loaders): do not preallocate 3 elements in the
7255         vector, since one ends up with 6 elements otherwise
7256
7257 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7258
7259         * DepTable.C (write): write the file name as last element of the
7260         .dep file (because it may contain spaces)
7261         (read): read info in the right order
7262
7263 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7264
7265         * paragraph_pimpl.C (simpleTeXBlanks):
7266         (simpleTeXSpecialChars):
7267         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7268
7269         * tabular.C (latex): add some missing case statements. Reindent.
7270
7271         * MenuBackend.C (expandToc): remove unused variable.
7272
7273 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7274
7275         * LColor.C:
7276         * LaTeX.C:
7277         * LyXAction.C:
7278         * MenuBackend.C:
7279         * buffer.C:
7280         * exporter.C:
7281         * lyxfunc.C:
7282         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7283         and the like.
7284
7285 2003-01-05  John Levon  <levon@movementarian.org>
7286
7287         * BufferView.h:
7288         * BufferView.C: add getEncoding()
7289
7290         * kbsequence.h:
7291         * kbsequence.C: do not store last keypress
7292
7293         * lyxfunc.h:
7294         * lyxfunc.C: store last keypress here instead. Pass encoding
7295           to getISOEncoded()
7296
7297 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7298
7299         * lyx_main.C (init): remove annoying error message when following
7300         symbolic links (bug #780)
7301
7302 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7303
7304         * text.C (insertChar):
7305         * lyxrc.C (getDescription): remove extra spaces
7306
7307 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7308
7309         * lyxrc.C (getDescription): remove extra spaces
7310
7311 2002-12-20  John Levon  <levon@movementarian.org>
7312
7313         * text3.C: hack fix for page up/down across tall rows
7314
7315 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7316
7317         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7318         not been invoked
7319
7320 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7321
7322         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7323         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7324         thesaurus is not compiled in
7325
7326 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7327
7328         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7329
7330 2002-12-16  Angus Leeming  <leeming@lyx.org>
7331
7332         * lyxrc.[Ch]:
7333         * lyx_main.C (init): remove override_x_deadkeys stuff.
7334
7335 2002-12-12  John Levon  <levon@movementarian.org>
7336
7337         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7338           insert. Only remove shift modifier under strict
7339           circumstances.
7340
7341 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * MenuBackend.C (expandToc): fix crash.
7344
7345 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * MenuBackend.C (expandToc): gettext on float names.
7348
7349 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7350
7351         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7352         implement bool empty() [bug 490]
7353
7354 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7355
7356         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7357
7358 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * several files: ws changes
7361
7362 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * text2.C (setCounter): clean up a bit, use boost.format.
7365         (updateCounters): initialize par upon declaration.
7366
7367         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7368         if the layout exists. We do not just store the layout any more.
7369         (SwitchLayoutsBetweenClasses): use boost.format
7370
7371 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7372
7373         * converter.C (convert): if from and to files are the same, use a
7374         temporary files as intermediary
7375
7376 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7377
7378         * commandtags.h:
7379         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7380
7381 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7382
7383         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7384
7385 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * tabular.C (asciiPrintCell): use string(size, char) instead of
7388         explicit loop.
7389
7390         * sgml.C (openTag): fix order of arguments to string constructor
7391         (closeTag): ditto
7392
7393         * lyxfunc.C (dispatch): use boost.format
7394
7395         * lots of files: change "c" -> 'c'
7396
7397 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7398
7399         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7400
7401 2002-11-25  Angus Leeming  <leeming@lyx.org>
7402
7403         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7404
7405         * lyx_main.C (init): compile fix.
7406
7407 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7408
7409         * lyx_cb.C (start): boost.formatify
7410         do not include <iostream>
7411
7412         * lengthcommon.C: ws only
7413
7414         * boost-inst.C,BoostFormat.h: add more explict instantations
7415
7416 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7417
7418         * lots of files: handle USE_BOOST_FORMAT
7419
7420 2002-11-21  John Levon  <levon@movementarian.org>
7421
7422         * pspell.C: fix compile
7423
7424 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7425
7426         * lyxfunc.C (dispatch): use boost::format
7427         (open): ditto
7428         (doImport): ditto
7429
7430         * lyxfont.C (stateText): use boost::format
7431
7432         * lyx_main.C (LyX): use boost::format
7433         (init): ditto
7434         (queryUserLyXDir): ditto
7435         (readRcFile): ditto
7436         (parse_dbg): ditto
7437         (typedef boost::function): use the recommened syntax.
7438
7439         * importer.C (Import): use boost::format
7440
7441         * debug.C (showLevel): use boost::format
7442
7443         * converter.C (view): use boost::format
7444         (convert): ditto
7445         (move): ditto
7446         (scanLog): ditto
7447
7448         * bufferview_funcs.C (currentState): use boost::format
7449
7450         * bufferlist.C (emergencyWrite): use boost::format
7451
7452         * buffer.C (readLyXformat2): use boost::format
7453         (parseSingleLyXformat2Token): ditto
7454
7455         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7456
7457         * LaTeX.C (run): use boost::format
7458
7459         * Chktex.C (scanLogFile): use boost::format
7460
7461         * BufferView_pimpl.C (savePosition): use boost::format
7462         (restorePosition): ditto
7463         (MenuInsertLyXFile): ditto
7464
7465         * BoostFormat.h: help file for explicit instation.
7466
7467 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7468
7469         * tabular.C (latex): Support for block alignment in fixed width
7470         columns.
7471
7472 2002-11-17  John Levon  <levon@movementarian.org>
7473
7474         * BufferView_pimpl.C:
7475         * lyx_cb.C:
7476         * lyxfunc.C: split filedialog into open/save
7477
7478 2002-11-08  Juergen Vigna  <jug@sad.it>
7479
7480         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7481         by my last patch (hopefully).
7482
7483 2002-11-08  John Levon  <levon@movementarian.org>
7484
7485         * iterators.h:
7486         * iterators.C:
7487         * buffer.h:
7488         * buffer.C:
7489         * paragraph.h:
7490         * paragraph.C:
7491         * toc.h:
7492         * toc.C: ParConstIterator, and use it (from Lars)
7493
7494 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7495
7496         * lyxtextclass.[Ch]: revise and add doxygen comments
7497
7498 2002-11-07  John Levon  <levon@movementarian.org>
7499
7500         * text.C: fix progress value for spellchecker
7501
7502         * toc.C: fix navigate menu for insetwrap inside minipage
7503
7504         * paragraph_funcs.C: added FIXME for suspect code
7505
7506 2002-11-07  John Levon  <levon@movementarian.org>
7507
7508         * BufferView_pimpl.C: fix redrawing of insets
7509           on buffer switch
7510
7511 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7512
7513         * text2.C (updateCounters): fix bug 668
7514
7515 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7516
7517         * text3.C (dispatch): Do not make the buffer dirty when moving the
7518         cursor.
7519
7520 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * vc-backend.C: STRCONV
7523         (scanMaster): ditto
7524
7525         * text2.C (setCounter): STRCONV
7526
7527         * paragraph.C (asString): STRCONV
7528
7529         * lyxlength.C (asString): STRCONV
7530         (asLatexString): ditto
7531
7532         * lyxgluelength.C (asString): STRCONV
7533         (asLatexString): ditto
7534
7535         * lyxfunc.C (dispatch): STRCONV
7536         (open): ditto
7537
7538         * lyxfont.C (stateText): STRCONV
7539
7540         * importer.C (Import): STRCONV
7541
7542         * counters.C (labelItem): STRCONV
7543         (numberLabel): ditto
7544         (numberLabel): remove unused ostringstream o
7545
7546         * chset.C: STRCONV
7547         (loadFile): ditto
7548
7549         * bufferview_funcs.C (currentState): STRCONV
7550
7551         * buffer.C (readFile): STRCONV
7552         (asciiParagraph): ditto
7553         (makeLaTeXFile): ditto
7554
7555         * Spacing.C (writeEnvirBegin): STRCONV
7556
7557         * LaTeXFeatures.C (getLanguages): STRCONV
7558         (getPackages): ditto
7559         (getMacros): ditto
7560         (getBabelOptions): ditto
7561         (getTClassPreamble): ditto
7562         (getLyXSGMLEntities): ditto
7563         (getIncludedFiles): ditto
7564
7565         * LaTeX.C: STRCONV
7566         (run): ditto
7567         (scanAuxFile): ditto
7568         (deplog): ditto
7569
7570         * LString.h: add the STRCONV macros
7571
7572         * BufferView_pimpl.C (savePosition): STRCONV
7573         (restorePosition): ditto
7574         (MenuInsertLyXFile): ditto
7575
7576         * vc-backend.C (scanMaster): change from submatch[...] to
7577         submatch.str(...)
7578
7579         * funcrequest.C: include config.h
7580
7581         * factory.C: include config.h
7582
7583         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7584
7585         * box.C: include config.h
7586
7587         * LaTeX.C (scanAuxFile): change from submatch[...] to
7588         submatch.str(...)
7589         (deplog): ditto
7590
7591 2002-10-25  Angus Leeming  <leeming@lyx.org>
7592
7593         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7594
7595         * ispell.[Ch] (setError): new method.
7596         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7597         Use setError() insetead of goto END.
7598
7599         * lyx_cb.C (AutoSave): move out child process into new class
7600         AutoSaveBuffer.
7601
7602 2002-10-30  John Levon  <levon@movementarian.org>
7603
7604         * text3.C: make start appendix undoable
7605
7606 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7607
7608         * lyxlength.C (inPixels): Fix returned value.
7609
7610         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7611         environment.
7612
7613 2002-10-24  Angus Leeming  <leeming@lyx.org>
7614
7615         * lyxgluelength.h: no need to forward declare BufferParams
7616         or BufferView, so don't.
7617
7618 2002-10-21  John Levon  <levon@movementarian.org>
7619
7620         * BufferView.C: menuUndo ->undo, redo
7621
7622         * BufferView.h: document, remove dead, make some methods private
7623
7624         * paragraph_funcs.h:
7625         * paragraph_funcs.C:
7626         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7627
7628         * buffer.h:
7629         * buffer.C:
7630         * sgml.h:
7631         * sgml.C: move sgml open/close tag into sgml.C
7632
7633         * bufferview_funcs.h: unused prototype
7634
7635         * lyxfunc.h:
7636         * lyxfunc.C: remove unused
7637
7638         * lyxtext.h:
7639         * text.C: remove unused
7640
7641 2002-10-21  John Levon  <levon@movementarian.org>
7642
7643         * BufferView.h:
7644         * BufferView.C:
7645         * BufferView_pimpl.h:
7646         * BufferView_pimpl.C: fix mouse wheel handling based on
7647           patch from Darren Freeman
7648
7649 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7650
7651         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7652
7653 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7654
7655         * lyxlength.C (inPixels): Fix hanfling of negative length.
7656         Fix LyXLength::MU case.
7657
7658 2002-10-16  John Levon  <levon@movementarian.org>
7659
7660         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7661
7662 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7663
7664         * converter.C (view): add support for $$i (file name) and $$p
7665         (file path) for the viewer command. If $$i is not specified, then
7666         it is appended to the command (for compatibility with old syntax)
7667
7668 2002-10-14  Juergen Vigna  <jug@sad.it>
7669
7670         * undo_funcs.C (textHandleUndo): alter the order in which the
7671         new undopar is added to the LyXText, as we have to set first
7672         the right prev/next and then add it as otherwise the rebuild of
7673         LyXText is not correct. Also reset the cursor to the right paragraph,
7674         with this IMO we could remove the hack in "redoParagraphs()".
7675
7676 2002-10-09  Angus Leeming  <leeming@lyx.org>
7677
7678         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7679         to turn off an optimisation if a new inset is to be inserted.
7680
7681 2002-10-11 André Pönitz <poenitz@gmx.net>
7682
7683         * lyxtext.h: make some functions public to allow access
7684         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7685
7686 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7687
7688         * text3.C (dispatch): when changing layout, avoid an infinite loop
7689         [bug #652]
7690
7691 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7692
7693         * lyxrc.C (read): treat a viewer or converter command of "none" as
7694         if it were empty.
7695
7696         * MenuBackend.C (expandFormats): for an update, also allow the
7697         formats that are not viewable
7698
7699         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7700         script if it is newer than the lyxrc.defaults in user directory
7701
7702 2002-10-07 André Pönitz <poenitz@gmx.net>
7703
7704         * text.C: Vitaly Lipatov's small i18n fix
7705
7706 2002-09-25  Angus Leeming  <leeming@lyx.org>
7707
7708         * ispell.h: doxygen fix.
7709
7710 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7711
7712         * buffer.h (readFile): Add a new argument to the method, to allow
7713         reading of old-format templates.
7714
7715 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7716
7717         * toc.C (getTocList): Get TOC from InsetWrap.
7718
7719 2002-09-16  John Levon  <levon@movementarian.org>
7720
7721         * lyxfunc.C: check tabular for cut/copy too
7722
7723 2002-09-12  John Levon  <levon@movementarian.org>
7724
7725         * LyXAction.C: tidy
7726
7727         * factory.h:
7728         * factory.C: add header
7729
7730         * paragraph_funcs.h:
7731         * paragraph_funcs.C: cleanup
7732
7733 2002-09-11  John Levon  <levon@movementarian.org>
7734
7735         * PrinterParams.h: odd/even default to true
7736
7737 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7738
7739         * PrinterParams.h: update printer parameters for new xforms dialog
7740
7741 2002-09-11  Angus Leeming  <leeming@lyx.org>
7742
7743         * lyxserver.C (read_ready): re-write to make it more transparent
7744         and to make it work in coherent fashion under Tru64 Unix.
7745
7746 2002-09-11  André Pönitz <poenitz@gmx.net>
7747
7748         * commandtags.h:
7749         * LyXAction.C:
7750         * text3.C: implement LFUN_WORDSEL
7751
7752 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7755         make floatlist_ a boost::shared_ptr<FloatList>
7756
7757         * lyxtextclass.C: include FloatList.h
7758         (LyXTextClass): initialize floatlist_
7759         (TextClassTags): add TC_NOFLOAT
7760         (Read): match "nofloat" to TC_NOFLOAT and use it.
7761         (readFloat): modify call to floatlist_
7762         (floats): ditto
7763         (floats): ditto
7764
7765         * FloatList.[Ch] (FloatList): remove commented out float
7766         initialization.
7767         (erase): new function
7768
7769 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7770
7771         * MenuBackend.C (expandToc): fix crash when there is no document
7772         open
7773
7774 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7775
7776         * many files: Add insetwrap.
7777
7778 2002-09-09  John Levon  <levon@movementarian.org>
7779
7780         * text2.C: remove confusing and awkward depth wraparound
7781
7782 2002-09-09  John Levon  <levon@movementarian.org>
7783
7784         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7785
7786         * buffer.h:
7787         * buffer.C: remove getIncludeonlyList()
7788
7789         * paragraph.C:
7790         * lyxfunc.C: remove headers
7791
7792 2002-09-09  Juergen Vigna  <jug@sad.it>
7793
7794         * text.C (getColumnNearX): fix form Michael this is most
7795         probably a cut&paste bug.
7796
7797 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7800
7801         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7802         references, ws changes.
7803
7804         * text2.C (init): update counters after init
7805         (insertParagraph): no need to set counter on idividual paragraphs.
7806         (setCounter): access the counters object in the textclass object
7807         on in the buffer object.
7808         (updateCounters): ditto
7809
7810         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7811         shared_ptr<Counters> to avoid loading counters.h in all
7812         compilation units.
7813         (LyXTextClass): initialize ctrs_
7814         (TextClassTags): add TC_COUNTER, and ...
7815         (Read): use it here.
7816         (CounterTags): new tags
7817         (readCounter): new function
7818         (counters): new funtion
7819         (defaultLayoutName): return a const reference
7820
7821         * counters.C (Counters): remove contructor
7822         (newCounter): remove a couple of unneeded statements.
7823         (newCounter): simplify a bit.
7824         (numberLabel): some small formatting changes.
7825
7826         * buffer.[Ch]: remove all traces of counters, move the Counters
7827         object to the LyXTextClass.
7828
7829 2002-09-06  Alain Castera  <castera@in2p3.fr>
7830
7831         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7832         package to set the horizontal alignment on fixed width columns.
7833
7834         * lyx_sty.C:
7835         * lyx_sty.h: added tabularnewline macro def.
7836
7837         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7838
7839 2002-09-06  John Levon  <levon@movementarian.org>
7840
7841         * LyXAction.C: tooltips for sub/superscript
7842
7843         * MenuBackend.C: a bit more verbose
7844
7845         * lyxfunc.C: tiny clean
7846
7847         * undo_funcs.C: document undo_frozen
7848
7849 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * counters.C (Counters): add missing algorithm counter.
7852
7853         * text2.C (setCounter): lookup the counter with layouts latexname
7854         instead of by section number.
7855         (setCounter): use a hackish way to lookup the correct enum
7856         counter.
7857         a float name->type change
7858         reset enum couners with counter name directly instead of depth value.
7859
7860         * counters.C (Counters): remove the push_backs, change to use the
7861         float type not the float name.
7862         (labelItem): remove unused string, float name->type change
7863
7864         * counters.h: don't include vector, loose the enums and sects vectors
7865
7866 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7869         (Read): add float->TC_FLOAT to textclassTags
7870         (Read): and handle it in the switch
7871         (readFloat): new function
7872
7873         * FloatList.C (FloatList): comment out the hardcoded float
7874         definitions.
7875
7876         * lyxlayout.h: ws change.
7877
7878 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7879
7880         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7881
7882 2002-09-03  Angus Leeming  <leeming@lyx.org>
7883
7884         * BufferView_pimpl.h: qualified name is not allowed in member
7885         declaration: WorkArea & Pimpl::workarea() const;
7886
7887         * factory.C: added using std::endl directive.
7888
7889         * text3.C: added using std::find and std::vector directives.
7890
7891 2002-08-29  André Pönitz <poenitz@gmx.net>
7892
7893         * lyxtext.h:
7894         * text2.C: remove unused member number_of_rows
7895
7896         * Makefile.am:
7897         * BufferView2.C: remove file, move contents to...
7898         * BufferView.C: ... here
7899
7900         * BufferView_pimpl.C:
7901         * factory.C: move more inset creation to factory
7902
7903         * vspace.C: avoid direct usage of LyXText, ws changes
7904
7905         * BufferView.[Ch]:
7906                 don't provide direct access to WorkArea, use two simple
7907                 acessors haveSelction() and workHeight() instead
7908
7909
7910 2002-08-29  John Levon  <levon@movementarian.org>
7911
7912         * BufferView_pimpl.C (dispatch): do not continue when
7913           no buffer
7914
7915 2002-08-28  André Pönitz <poenitz@gmx.net>
7916
7917         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7918
7919         * BufferView.h:
7920         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7921
7922 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7923
7924         * buffer.C: increment LYX_FORMAT to 221
7925
7926         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7927         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7928
7929         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7930
7931         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7932
7933 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * factory.C (createInset): use LyXTextClass::floats
7936
7937         * MenuBackend.C (expandFloatListInsert):
7938         (expandFloatInsert):
7939         (expandToc):
7940
7941         * text2.C (setCounter):
7942
7943         * LaTeXFeatures.C (useFloat):
7944         (getFloatDefinitions):
7945
7946         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7947
7948         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7949         floatlist_, with accessor floats().
7950
7951         * FloatList.h: remove global FloatList
7952
7953 2002-08-26  André Pönitz <poenitz@gmx.net>
7954
7955         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7956
7957         * BufferView.h:
7958         * BufferView2.C:
7959         * BufferView_pimpl.C:
7960         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7961
7962 2002-08-25  John Levon  <levon@movementarian.org>
7963
7964         * LyXAction.C: fix margin note description
7965
7966 2002-08-24  John Levon  <levon@movementarian.org>
7967
7968         * buffer.C:
7969         * bufferlist.C:
7970         * bufferview_funcs.C:
7971         * lyxfont.C:
7972         * undo_funcs.C: cleanups
7973
7974         * lyxfunc.C: disable CUT/COPY when no selection
7975
7976 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7977
7978         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7979         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7980
7981         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7982         Add backward compatibility to "mono", "gray" and "no".
7983
7984 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7985
7986         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7987         (and file_format >= 200).
7988
7989 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7990
7991         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7992
7993 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7994
7995         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7996
7997 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7998
7999         * BufferView_pimpl.C:
8000         * LyXAction.C:
8001         * buffer.C:
8002         * commandtags.h:
8003         * lyxfunc.C:
8004         * paragraph.[Ch]:
8005         * text2.C:
8006         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8007         inset and code to make it  work with the paragraph code. The inset
8008         can be anywhere in the paragraph, but will only do the expected
8009         thing in LaTeX if the layout file contains the parameter line
8010                         OptionalArgs    1
8011         (or more generally, a nonzero value) for that layout.
8012
8013 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8014
8015         * paragraph.h: remove the declaration of undefined counters class
8016         function.
8017
8018 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8019
8020         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8021         Dr. Richard Hawkins.
8022
8023 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8024
8025         * paragraph_funcs.h: remove some unneeded includes
8026
8027         * text.C (backspace): pasteParagraph now in global scipe
8028
8029         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8030         (pasteSelection): ditto
8031
8032         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8033         * paragraph_funcs.C (pasteParagraph): ... here
8034
8035 2002-08-20  André Pönitz <poenitz@gmx.net>
8036
8037         * commandtags.h: new LFUNs for swapping/copying table row/colums
8038
8039         * LyXAction.C:
8040         * lyxfunc.C: support for new lfuns
8041
8042 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * tabular.C:
8045         * buffer.[Ch]: remove NO_COMPABILITY stuff
8046
8047 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * boost.C (throw_exception): new file, with helper function for
8050         boost compiled without exceptions.
8051
8052         * paragraph.h:
8053         * lyxlength.C:
8054         * buffer.C:
8055         * ParameterStruct.h:
8056         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8057
8058         * bufferlist.C (emergencyWriteAll): use boost bind
8059
8060         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8061
8062         * text.C: include paragraph_funcs.h
8063         (breakParagraph): breakParagraph is now in global scope
8064
8065         * paragraph_funcs.[Ch]: new files
8066
8067         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8068         global scope
8069
8070         * buffer.C: include paragraph_funcs.h
8071         (insertStringAsLines): breakParagraph is now in global scope
8072
8073         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8074         paragraph_funcs.C
8075
8076         * CutAndPaste.C: include paragraph_funcs.h
8077         (cutSelection): breakParagraphConservative is now in global scope
8078         (pasteSelection): ditto
8079
8080         * buffer.h: declare oprator== and operator!= for
8081         Buffer::inset_iterator
8082
8083         * bufferlist.C (emergencyWrite): don't use fmt(...)
8084
8085         * text3.C: add using std::endl
8086
8087         * BufferView.C (moveCursorUpdate): remove default arg
8088
8089 2002-08-20  André Pönitz <poenitz@gmx.net>
8090
8091         * buffer.[Ch]: move inline functions to .C
8092
8093         * BufferView2.C:
8094         * BufferView_pimpl.C:
8095         * text.C:
8096         * buffer.[Ch]: use improved inset_iterator
8097
8098         * buffer.C:
8099         * paragraph.[Ch]: write one paragraph at a time
8100
8101 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8102
8103         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8104         style if style is not specified.
8105
8106 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8107
8108         * text2.C (setCounter): when searching for right label for a
8109         caption, make sure to recurse to parent insets (so that a caption
8110         in a minipage in a figure float works) (bug #568)
8111
8112 2002-08-20  André Pönitz <poenitz@gmx.net>
8113
8114         * text3.C: new file for LyXText::dispatch() and helpers
8115
8116         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8117
8118         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8119
8120 2002-08-19  André Pönitz <poenitz@gmx.net>
8121
8122         * lyxtext.h:
8123         * text.C: new LyXText::dispatch()
8124
8125         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8126
8127 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8128
8129         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8130
8131         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8132         Hebrew text.
8133
8134 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8135
8136         * Makefile.am: use $(variables) instead of @substitutions@
8137
8138 2002-08-15  André Pönitz <poenitz@gmx.net>
8139
8140         * lyxfunc.C:
8141         * BufferView_pimpl.C: streamlining mathed <-> outer world
8142         interaction
8143
8144         * commandtags.h:
8145         * LyXAction.C: remove unused LFUN_MATH
8146
8147 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8148
8149         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8150
8151 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * paragraph.C (Paragraph): reformat a bit
8154         (cutIntoMinibuffer): use builtin InsetList function instad of
8155         doing it manually.
8156         (getInset): ditto
8157
8158         * buffer.C: include boost/bind.hpp, add using std::for_each
8159         (writeFileAscii): use ParagraphList iterators
8160         (validate): use for_each for validate traversal of paragraphs
8161         (getBibkeyList): use ParagraphList iterators
8162         (resizeInsets): use for_each to resizeInsetsLyXText for all
8163         paragraphs.
8164         (getParFromID): use ParagraphList iterators
8165
8166         * BufferView2.C (lockInset): use paragraph list and iterators
8167
8168 2002-08-14  John Levon  <levon@movementarian.org>
8169
8170         * lyxserver.C: remove spurious xforms include
8171
8172 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8173
8174         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8175
8176 2002-08-13  André Pönitz <poenitz@gmx.net>
8177
8178         * LyXAction.[Ch]:
8179         * lyxfunc.C: further cleaning
8180
8181 2002-08-13  André Pönitz <poenitz@gmx.net>
8182
8183         * funcrequest.h: new constructor
8184
8185         * funcrequest.C: move stuff here from .h
8186
8187         * Makefile.am:
8188         * BufferView_pimpl.C:
8189         * LyXAction.C:
8190         * toc.C:
8191         * lyxfunc.C: subsequent changes
8192
8193         * lyxfunc.h: new view() member function
8194
8195         * lyxfunc.C: subsequent changes
8196
8197 2002-08-13  Angus Leeming  <leeming@lyx.org>
8198
8199         * BufferView2.C:
8200         * BufferView_pimpl.C:
8201         * buffer.C:
8202         * converter.C:
8203         * importer.C:
8204         * lyxfunc.C:
8205         * lyxvc.C:
8206         * toc.C:
8207         * vc-backend.C:
8208         changes due to the changed LyXView interface that now returns references
8209         to member variables not pointers.
8210
8211 2002-08-13  Angus Leeming  <leeming@lyx.org>
8212
8213         * WordLangTuple (word, lang_code): return references to strings,
8214         not strings.
8215
8216         * BufferView.h:
8217         * SpellBase.h:
8218         * lyxtext.h: forward-declare WordLangTuple.
8219
8220         * BufferView2.C:
8221         * ispell.C:
8222         * pspell.C:
8223         * text.C: #include "WordLangTuple.h".
8224
8225         * lyxtext.h:
8226         * text.C: (selectNextWordToSpellcheck): constify return type.
8227
8228 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8229
8230         * buffer.C:
8231         * buffer.h:
8232         * lyxtext.h:
8233         * paragraph.C:
8234         * paragraph_pimpl.h:
8235         * text.C:
8236         * text2.C:
8237         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8238         suggested by Angus.
8239         Made updateCounter always count from start of buffer, and removed
8240         second argument (par).
8241         Reverted floats number display to '#'. Perhaps I'll try again when the
8242         code base is sanitized a bit.
8243
8244 2002-08-12  Angus Leeming  <leeming@lyx.org>
8245
8246         * buffer.[Ch] (getLabelList): constify.
8247
8248 2002-08-07  André Pönitz <poenitz@gmx.net>
8249
8250         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8251
8252         * funcrequest.h: extension to keep mouse (x,y) position
8253
8254 2002-08-12  Juergen Vigna  <jug@sad.it>
8255
8256         * BufferView2.C (insertErrors): forbid undo when inserting error
8257         insets.
8258
8259         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8260
8261 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * ParagraphList.[Ch]: new files
8264
8265         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8266
8267         * BufferView2.C (lockInset): ParagraphList changes
8268         * toc.C: ditto
8269         * text2.C: ditto
8270         * bufferlist.C: ditto
8271         * buffer.h: ditto
8272         * buffer.C: ditto
8273
8274 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8277         unused class variable counter_,
8278
8279         * paragraph.[Ch] (getFirstCounter): delete unused function
8280
8281         * counters.C: include LAssert.h
8282         (reset): add a new function with no arg, change other version to
8283         not have def. arg and to not allow empty arg.
8284
8285         * text2.C (setCounter): remove empty arg from call to Counters::reset
8286
8287 2002-08-11  John Levon  <levon@movementarian.org>
8288
8289         * Makefile.am: add WordLangTuple.h
8290
8291 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8294         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8295
8296         * insets/insettext.C: InsetList changes
8297
8298         * graphics/GraphicsSupport.C (operator()): InsetList changes
8299
8300         * toc.C (getTocList): InsetList changes
8301
8302         * paragraph_pimpl.[Ch]: InsetList changes
8303
8304         * paragraph.[Ch]: InsetList changes
8305
8306         * buffer.C (inset_iterator): InsetList changes
8307         (setParagraph): ditto
8308         * buffer.h (inset_iterator): ditto
8309         * iterators.C (operator++): ditto
8310         * iterators.h: ditto
8311
8312         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8313
8314         * InsetList.[Ch]: new files, most InsetList handling moved out of
8315         paragraph.C.
8316
8317         * BufferView2.C (removeAutoInsets): InsetList changes
8318         (lockInset): ditto
8319         (ChangeInsets): ditto
8320
8321 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * paragraph_pimpl.h (empty): new function
8324
8325         * paragraph.[Ch] (empty): new function
8326
8327         * other files: use the new Paragraph::empty function
8328
8329 2002-08-09  John Levon  <levon@movementarian.org>
8330
8331         * lyxtext.h: remove unused refresh_height
8332
8333 2002-08-09  John Levon  <levon@movementarian.org>
8334
8335         * Makefile.am:
8336         * sgml.h:
8337         * sgml.C:
8338         * buffer.C:
8339         * paragraph.h:
8340         * paragraph.C: move sgml char escaping out of paragraph
8341
8342         * paragraph.h:
8343         * paragraph.C: remove id setter
8344
8345         * buffer.C:
8346         * paragraph.C:
8347         * paragraph_pimpl.C: remove dead tex_code_break_column
8348
8349         * bufferview_funcs.C: small cleanup
8350
8351         * lyxfunc.C: remove dead proto
8352
8353         * lyxtext.h: make some stuff private. Remove some dead stuff.
8354
8355         * lyxgluelength.C: make as[LyX]String() readable
8356
8357 2002-08-08  John Levon  <levon@movementarian.org>
8358
8359         * LyXAction.h:
8360         * LyXAction.C:
8361         * MenuBackend.C:
8362         * ToolbarDefaults.C:
8363         * lyxfunc.C:
8364         * lyxrc.C:
8365         * toc.C: lyxaction cleanup
8366
8367 2002-08-08  John Levon  <levon@movementarian.org>
8368
8369         * BufferView2.C: small cleanup
8370
8371         * lyxfind.h:
8372         * lyxfind.C: move unnecessary header into the .C
8373
8374 2002-08-08  John Levon  <levon@movementarian.org>
8375
8376         * funcrequest.h: just tedious nonsense
8377
8378         * lyx_main.h:
8379         * lyx_main.C: cleanups
8380
8381         * buffer.C:
8382         * vspace.C: remove dead header lyx_main.h
8383
8384 2002-08-07  Angus Leeming  <leeming@lyx.org>
8385
8386         * Paragraph.[Ch]:
8387         * paragraph_pimpl.h:
8388         Forward declare class Counters in paragraph.h by moving the ctrs member
8389         variable into Paragraph::Pimpl.
8390         (counters): new method, returning a reference to pimpl_->ctrs.
8391
8392         * text2.C: ensuing changes.
8393
8394 2002-08-07  John Levon  <levon@movementarian.org>
8395
8396         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8397
8398         * BufferView_pimpl.C: announce X selection on double/triple
8399           click
8400
8401         * lyx_main.C: use correct bool in batch dispatch
8402
8403         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8404
8405 2002-08-07  André Pönitz <poenitz@gmx.net>
8406
8407         * funcrequest.h: new class to wrap a kb_action and its argument
8408
8409         * BufferView.[Ch]:
8410         * BufferView_pimpl[Ch]:
8411         * LaTeX.C:
8412         * LyXAction.[Ch]:
8413         * lyxfunc.[Ch]:
8414         * lyxrc.C: subsequent changes
8415
8416
8417 2002-08-07  John Levon  <levon@movementarian.org>
8418
8419         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8420           document options change.
8421
8422 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8423
8424         * counters.[Ch]
8425         * text2.C
8426         * paragraph.[Ch]
8427         * makefile.am: move counters functionality over from
8428         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8429
8430 2002-08-06  John Levon  <levon@movementarian.org>
8431
8432         * WordLangTuple.h: new file for word + language code tuple
8433
8434         * SpellBase.h:
8435         * pspell.h:
8436         * pspell.C:
8437         * ispell.h:
8438         * ispell.C:
8439         * lyxtext.h:
8440         * text.C:
8441         * text2.C:
8442         * BufferView.h:
8443         * BufferView2.C: use WordLangTuple
8444
8445         * layout.h:
8446         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8447
8448 2002-08-06  John Levon  <levon@movementarian.org>
8449
8450         * lyx_main.C: fix cmdline batch handling
8451
8452 2002-08-06  André Pönitz <poenitz@gmx.net>
8453
8454         * lyxrc.C: set default for show_banner to true
8455
8456 2002-08-06  John Levon  <levon@movementarian.org>
8457
8458         * pspell.C: fix a crash, and allow new aspell to work
8459
8460 2002-08-06  John Levon  <levon@movementarian.org>
8461
8462         * lyxfunc.C:
8463         * kbmap.C: small cleanup
8464
8465         * vspace.h:
8466         * vspace.C: add const
8467
8468 2002-08-05  John Levon  <levon@movementarian.org>
8469
8470         * LyXAction.C: back to tabular-insert
8471
8472 2002-08-04  John Levon  <levon@movementarian.org>
8473
8474         * BufferView.h:
8475         * BufferView.C: cosmetic change
8476
8477         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8478
8479         * bufferlist.C:
8480         * buffer.h:
8481         * buffer.C:
8482         * lyxcb.h:
8483         * lyxcb.C:
8484         * lyxserver.C:
8485         * lyxvc.C:
8486         * vc-backend.C:
8487         * BufferView2.C: purge all "Lyx" not "LyX" strings
8488
8489         * lyxcursor.h:
8490         * lyxcursor.C: attempt to add some documentation
8491
8492         * lyxfunc.C:
8493         * commandtags.h:
8494         * LyXAction.C:
8495         * ToolbarDefaults.C:
8496         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8497           merge with LFUN_TABULAR_INSERT
8498
8499         * Makefile.am:
8500         * SpellBase.h:
8501         * ispell.h:
8502         * ispell.C:
8503         * pspell.h:
8504         * pspell.C: split up i/pspell implementations into separate
8505           files, many cleanups
8506
8507         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8508
8509         * text2.C: some cleanup
8510
8511         * lyxfunc.C: don't check for isp_command == "none" any more, it
8512           didn't make any sense
8513
8514 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8515
8516         * counters.[Ch]
8517         * text2.C
8518         * paragraph.[Ch]
8519         * makefile.am: move counters functionality over
8520         from text2.C/paragraph.[Ch] to counters.[Ch], and
8521         make proper C++.
8522 2002-08-02  John Levon  <levon@movementarian.org>
8523
8524         * buffer.C: s/lyxconvert/lyx2lyx/
8525
8526 2002-08-02  Angus Leeming  <leeming@lyx.org>
8527
8528         * lyxlex.C: revert John's change as it breaks reading of the user
8529         preamble.
8530
8531 2002-08-02  Angus Leeming  <leeming@lyx.org>
8532
8533         * importer.C (Import):
8534         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8535         changes due to LyXView::view() now returning a boost::shared_ptr.
8536
8537 2002-08-02  John Levon  <levon@movementarian.org>
8538
8539         * lyxlex.C: small cleanup
8540
8541 2002-08-02  John Levon  <levon@movementarian.org>
8542
8543         * text2.C (status): small cleanup, no logic change
8544
8545 2002-08-01  John Levon  <levon@movementarian.org>
8546
8547         * buffer.h:
8548         * buffer.C (writeFile): don't output alerts, caller
8549           handles this
8550
8551         * bufferlist.C:
8552         * lyx_cb.C: from above
8553
8554         * lyxfunc.C: allow to open non-existent files
8555
8556 2002-07-31  John Levon  <levon@movementarian.org>
8557
8558         * lyxserver.C: don't let incidental errors get
8559           in the way (errno)
8560
8561 2002-07-30  John Levon  <levon@movementarian.org>
8562
8563         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8564
8565 2002-07-30  John Levon  <levon@movementarian.org>
8566
8567         * lyxserver.h:
8568         * lyxserver.C: remove I/O callback too
8569
8570 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8571
8572         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8573         log.
8574
8575 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8576
8577         * many files: strip,frontStrip -> trim,ltrim,rtrim
8578
8579 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * PrinterParams.h: remove extern containsOnly, and include
8582         support/lstrings.h instead.
8583
8584         * LaTeX.C (scanAuxFile): modify because of strip changes
8585         (deplog): ditto
8586         * buffer.C (makeLaTeXFile): ditto
8587         * bufferparams.C (writeFile): ditt
8588         * lyxfont.C (stateText): ditto
8589         * lyxserver.C (read_ready): ditto
8590         * vc-backend.C (scanMaster): ditto
8591
8592         * BufferView_pimpl.h: ws changes
8593
8594         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8595
8596 2002-07-26  André Pönitz <poenitz@gmx.net>
8597
8598         * kb_sequence.C: remove unnedred usings
8599
8600 2002-07-26  Juergen Vigna  <jug@sad.it>
8601
8602         * lyxfind.C (LyXReplace): we have to check better if the returned
8603         text is not of theLockingInset()->getLockingInset().
8604
8605 2002-07-25  Juergen Vigna  <jug@sad.it>
8606
8607         * lyxfind.C (LyXReplace): don't replace if we don't get the
8608         right LyXText.
8609
8610         * undo_funcs.C (createUndo): remove debugging code.
8611
8612 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8613
8614         * buffer.C (parseSingleLyXformat2Token): Use default placement
8615         when reading old floats.
8616
8617         * FloatList.C (FloatList): Change the default placement of figure
8618         and tables to "tbp".
8619
8620 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * MenuBackend.C: using std::max
8623
8624 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8625
8626         * MenuBackend.C (expandToc):
8627         (expandToc2): code moved from xforms menu frontend. It is now
8628         generic and TOCs are transparent to menu frontends.
8629
8630 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8631
8632         * toc.C (getTocList): protect against buf=0
8633
8634         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8635         Menu as first parameter. Now, this calls itself recursively to
8636         expand a whole tree (this will be useful for TOC handling)
8637         (expandFloatInsert): remove 'wide' version of floats
8638
8639         * MenuBackend.h (submenuname): returns the name of the submenu.
8640         (submenu): returns the submenu itself, provided it has been
8641         created by MenuBackend::expand
8642
8643 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8644
8645         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8646         insets which have noFontChange == true. (bug #172)
8647
8648 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8649
8650         * BufferView_pimpl.C: add connection objects and use them...
8651         (Pimpl): here.
8652
8653 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * MenuBackend.C (expandLastfiles):
8656         (expandDocuments):
8657         (expandFormats):
8658         (expandFloatListInsert):
8659         (expandFloatInsert):
8660         (expand): split expand in parts
8661
8662 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * lyx_gui.C: use lyx_gui::exit()
8665
8666 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8667
8668         * LyXAction.C: show the failing pseudo action
8669
8670 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8671
8672         * buffer.C (readFile): Run the lyxconvert script in order to read
8673         old files.
8674
8675 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8676
8677         * LyXAction.C:
8678         * commandtags.h:
8679         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8680
8681 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8682
8683         * LyXAction.C:
8684         * commandtags.h:
8685         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8686
8687 2002-07-22  Herbert Voss  <voss@lyx.org>
8688
8689         * lengthcommon.C:
8690         * lyxlength.[Ch]: add support for the vertical lengths
8691
8692 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8693
8694         * toc.[Ch]: std:: fixes
8695
8696 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8697
8698         * lyxrc.C: do not include lyx_main.h
8699
8700         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8701         for layouts
8702
8703         * lyxrc.C:
8704         * encoding.C:
8705         * bufferlist.C:
8706         * BufferView2.C: include "lyxlex.h"
8707
8708         * tabular.h:
8709         * bufferparams.h: do not #include "lyxlex.h"
8710
8711         * lyxtextclasslist.C (Add): remove method
8712         (classlist): renamed to classlist_
8713
8714         * paragraph_pimpl.C:
8715         * paragraph.C:
8716         * text2.C:
8717         * CutAndPaste.C:
8718         * bufferview_funcs.C:
8719         * bufferlist.C:
8720         * text.C:
8721         * LaTeXFeatures.C:
8722         * buffer.C:
8723         * toc.C (getTocList): use BufferParams::getLyXTextClass
8724
8725         * toc.C (getTocList): use InsetFloat::addToToc
8726
8727         * toc.[Ch]: new files, containing helper functions to handle table
8728         of contents
8729
8730         * lyxfunc.C (dispatch): no need to remove spaces around command
8731         given as a string
8732         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8733         first command of the sequence; it is not very clever, but I do not
8734         have a better idea, actually
8735
8736         * LyXAction.C (LookupFunc): make sure to remove space at the
8737         beginning and end of the command
8738
8739 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8740
8741         * MenuBackend.C (getMenubar): new method: return the menubar of
8742         this menu set
8743         (read): treat differently reading of menu and menubar (in
8744         particular, the menubar has no name now)
8745         (Menu::menubar): remove
8746
8747         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8748         saving is finished
8749
8750 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8751
8752         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8753         a bibitem inset in a RTL paragraph.
8754
8755 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8756
8757         * paragraph_pimpl.C: constify
8758
8759         * BufferView_pimpl.C:
8760         * LaTeX.C:
8761         * lyxfunc.C: fix dispatch in a nicer way
8762
8763 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8764
8765         * lyxfunc.C (dispatch):
8766         * BufferView_pimpl.C:
8767         * BufferView_pimpl.h:
8768         * BufferView.C:
8769         * BufferView.h: rename Dispatch() to dispatch()
8770
8771         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8772
8773         * lyxlayout.C (Read): honor DependsOn tag
8774
8775         * lyxlayout.[Ch] (depends_on): new method
8776
8777         * version.C.in: update lyx_docversion
8778
8779         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8780
8781         * paragraph.C (validate): remove from here...
8782         * paragraph_pimpl.C (validate): ... and move here
8783         (isTextAt): make it const
8784
8785         * buffer.C (getLists): ws cleanup
8786
8787 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8788
8789         * language.C (read): Use iso8859-1 encoding in latex_lang
8790         (this prevents LyX from crashing when using iso10646-1 encoding).
8791
8792 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8793
8794         * text2.C (toggleInset): if cursor is inside an inset, close the
8795         inset and leave cursor _after_ it
8796
8797 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8798
8799         * lyxfunc.C: move minibuffer completion handling out of here
8800
8801 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8802
8803         * BufferView_pimpl.C:
8804         * LaTeX.C: fix dispatch calls
8805
8806 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8807
8808         * text.C (drawChars): Fix Arabic text rendering.
8809
8810 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8811
8812         * LyXAction.C:
8813         * commandtags.h:
8814         * lyxfunc.C: remove message-push/pop
8815
8816         * lyxserver.C:
8817         * lyxfunc.h:
8818         * lyxfunc.C: rationalise some code by removing verboseDispatch
8819           in favour of a bool argument to dispatch()
8820
8821 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8822
8823         * lyx_main.C (init): make sure to read symlinks as absolute paths
8824
8825 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * lyxfunc.h:
8828         * lyxfunc.C: no need for commandshortcut to be a member
8829
8830 2002-07-15  André Pönitz <poenitz@gmx.net>
8831
8832         * converter.C: add support for $$s (scripts from lib/scripts dir)
8833         * lyx_main.C: white space
8834
8835 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8836
8837         * bufferlist.C:
8838         * lyxrc.h:
8839         * lyxrc.C: remove second exit confirmation
8840
8841 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8842
8843         * BufferView.h:
8844         * BufferView.C:
8845         * BufferView2.C:
8846         * BufferView_pimpl.h:
8847         * BufferView_pimpl.C:
8848         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8849
8850 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8851
8852         * MenuBackend.C (expand): add numeric shortcuts to document menu
8853
8854         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8855
8856 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8857
8858         * lyxfont.C (setLyXFamily):
8859         (setLyXSeries):
8860         (setLyXShape):
8861         (setLyXSize):
8862         (setLyXMisc):
8863         (lyxRead):
8864         * debug.C (value):
8865         * buffer.C (asciiParagraph): use ascii_lowercase
8866
8867 2002-07-15  Mike Fabian  <mfabian@suse.de>
8868
8869         * lyxlex_pimpl.C (search_kw):
8870         * lyxlex.C (getLongString):
8871         * converter.h (operator<):
8872         * converter.C (operator<):
8873         * buffer.C (parseSingleLyXformat2Token):
8874         (asciiParagraph):
8875         * ToolbarDefaults.C (read):
8876         * MenuBackend.C (checkShortcuts):
8877         (read):
8878         * LColor.C (getFromGUIName):
8879         (getFromLyXName): use the compare_ascii_no_case instead of
8880         compare_no_case, because in turkish, 'i' is not the lowercase
8881         version of 'I', and thus turkish locale breaks parsing of tags.
8882
8883 2002-07-16  Angus Leeming  <leeming@lyx.org>
8884
8885         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8886         now takes a Buffer const & argument.
8887
8888 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * BufferView.C (resize): check there's a buffer to resize
8891
8892 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8893
8894         * lyxfunc.C: remove dead code
8895
8896         * lyxserver.h:
8897         * lyxserver.C: use lyx_guii::set_read_callback
8898
8899 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8900
8901         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8902         an inset in a RTL paragraph.
8903
8904 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8905
8906         * lyxfunc.C: repaint after a font size update
8907
8908 2002-07-15  André Pönitz <poenitz@gmx.net>
8909
8910         * lyxlength.C: inBP should be able to return negative values
8911
8912 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8913
8914         * lyxfunc.C: use lyx_gui::update_fonts()
8915
8916 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8917
8918         * lyxfunc.C: use lyx_gui::update_color()
8919
8920 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * bufferlist.C:
8923         * lyxfunc.h:
8924         * lyxfunc.C:
8925         * lyxrc.h:
8926         * lyxrc.C: remove file->new asks for name option, and let
8927           buffer-new take an argument
8928
8929 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8930
8931         * BufferView_pimpl.C: remove unneeded extra repaint()
8932
8933 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8934
8935         * LyXAction.C: allow command-sequence with NoBuffer
8936
8937         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8938
8939 2002-07-10  Angus Leeming  <leeming@lyx.org>
8940
8941         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8942
8943 2002-07-09  Angus Leeming  <leeming@lyx.org>
8944
8945         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8946
8947 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8948
8949         * lengthcommon.h: whitespace
8950
8951         * lyxfunc.C: update scrollbar after goto paragraph
8952
8953         * lyxtext.h: factor out page break drawing, and fix it so
8954           page break/added space paints as selected nicely
8955
8956 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8957
8958         * BufferView_pimpl.C: add FIXMEs, clean up a little
8959
8960 2002-07-09  André Pönitz <poenitz@gmx.net>
8961
8962         * lyxfont.[Ch]: support for wasy symbols
8963
8964 2002-07-08  André Pönitz <poenitz@gmx.net>
8965
8966         * BufferView_pimpl.C: apply John's patch for #93.
8967
8968 2002-07-05  Angus Leeming  <leeming@lyx.org>
8969
8970         * BufferView_pimpl.C (buffer): generate previews if desired.
8971
8972         * LColor.h: add "preview" to the color enum.
8973
8974         * LColor.C (LColor): add a corresponding entry to the items array.
8975
8976         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8977         with this buffer.
8978
8979 2002-07-05  Angus Leeming  <leeming@lyx.org>
8980
8981         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8982         The body of the code is now in the method that is passed an ostream &
8983         rather than a file name.
8984         Pass an additional only_preamble parameter, useful for the forthcoming
8985         preview stuff.
8986
8987 2002-07-03  André Pönitz <poenitz@gmx.net>
8988
8989         * lyxfunc.C: simplify getStatus() a bit for math stuff
8990
8991 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8992
8993         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8994
8995 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * text.C (changeRegionCase): do not change case of all the
8998         document when region ends at paragraph end (bug #461)
8999
9000 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9001
9002         * paragraph.C (startTeXParParams):
9003         (endTeXParParams): add \protect when necessary
9004
9005 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9006
9007         * BufferView_pimpl.C (workAreaExpose): remove warning
9008
9009 2002-06-27  Angus Leeming  <leeming@lyx.org>
9010
9011         * Makefile.am: add lyxlayout_ptr_fwd.h.
9012
9013 2002-06-26  André Pönitz <poenitz@gmx.net>
9014
9015         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9016
9017 2002-06-25  Angus Leeming  <leeming@lyx.org>
9018
9019         * lyxfunc.C (dispatch): Comment out the call to
9020         grfx::GCache::changeDisplay. The method no longer exists now that the
9021         pixmap generation part of the graphics loader has been moved into
9022         InsetGraphics.
9023
9024 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * text2.C: layout as layout
9027
9028         * text.C: layout as layout
9029
9030         * tabular.C (OldFormatRead): layout as layout
9031
9032         * paragraph_pimpl.C (TeXDeeper): layout as layout
9033         (realizeFont): layout as layout
9034
9035         * paragraph.C (writeFile): layout as layout
9036         (validate): layout as layout
9037         (getFont): layout as layout
9038         (getLabelFont): layout as layout
9039         (getLayoutFont): layout as layout
9040         (breakParagraph): layout as layout
9041         (stripLeadingSpaces): layout as layout
9042         (getEndLabel): layout as layout
9043         (getMaxDepthAfter): layout as layout
9044         (applyLayout): layout as layout
9045         (TeXOnePar): layout as layout
9046         (simpleTeXOnePar): layout as layout
9047         (TeXEnvironment): layout as layout
9048         (layout): layout as layout
9049         (layout): layout as layout
9050
9051         * lyxtextclass.C (compare_name): new functor to work with
9052         shared_ptr, layout as layout
9053         (Read): layout as layout
9054         (hasLayout): layout as layout
9055         (operator): layout as layout
9056         (delete_layout): layout as layout
9057         (defaultLayout): layout as layout
9058
9059         * lyxlayout_ptr_fwd.h: new file
9060
9061         * lyxlayout.C (Read): layout as layout
9062
9063         * lyx_cb.C (MenuInsertLabel): layout as layout
9064
9065         * bufferlist.C (newFile): layout as layout
9066
9067         * buffer.C (readLyXformat2): layout as layout
9068         (parseSingleLyXformat2Token): layout as layout
9069         (insertStringAsLines): layout as layout
9070         (asciiParagraph): layout as layout
9071         (latexParagraphs): layout as layout
9072         (makeLinuxDocFile): layout as layout
9073         (simpleLinuxDocOnePar): layout as layout
9074         (makeDocBookFile): layout as layout
9075         (simpleDocBookOnePar): layout as layout
9076         (getLists): layout as layout
9077
9078         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9079
9080         * CutAndPaste.C (cutSelection): layout as layout
9081         (pasteSelection): layout as layout
9082         (SwitchLayoutsBetweenClasses): layout as layout
9083
9084         * BufferView_pimpl.C (Dispatch): layout as layout
9085         (smartQuote): layout as layout
9086
9087         * BufferView2.C (unlockInset): layout as layout
9088
9089 2002-06-24  André Pönitz <poenitz@gmx.net>
9090
9091         * lyxfunc.C: fix #487
9092
9093 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * lyxrc.h:
9096         * lyxrc.C:
9097         * lyxfunc.C: remove display_shortcuts, show_banner
9098
9099 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * Buffer_pimpl.C: oops, update on resize
9102
9103 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * buffer.C:
9106         * converter.C:
9107         * exporter.C:
9108         * lyxfunc.C:
9109         * BufferView.h:
9110         * BufferView.C: use repaint()
9111
9112         * BufferView_pimpl.h:
9113         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9114           as it's a clearer description. Remove superfluous
9115           redraws.
9116
9117 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9118
9119         * text.C: fix bug 488. Not ideal, but getting
9120           getWord() to work properly for the insets that
9121           matter is more difficult ...
9122
9123 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * BufferView_pimpl.C:
9126         * LyXAction.C:
9127         * commandtags.h:
9128         * lyxfunc.C: remove the six million index lyxfuncs to just
9129           one, and DTRT (bug 458)
9130
9131 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9132
9133         * BufferView.h:
9134         * BufferView.C:
9135         * BufferView_pimpl.h:
9136         * BufferView_pimpl.C: clean up resize() stuff,
9137           and unnecessary updateScreen()s
9138
9139 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9140
9141         * BufferView.h:
9142         * BufferView.C:
9143         * BufferView_pimpl.h:
9144         * BufferView_pimpl.C:
9145         * lyxfind.h:
9146         * lyxfind.C:
9147         * minibuffer.C: remove focus management of workarea,
9148           not needed. Use screen's greyOut()
9149
9150 2002-06-17  Herbert Voss  <voss@lyx.org>
9151
9152         * converter.C: (convert) do not post a message, when converting
9153         fails, let the calling function decide what to do in this case
9154
9155 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9156
9157         * lyxfunc.C: tidy up a little
9158
9159 2002-06-16    <alstrup@diku.dk>
9160
9161         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9162         Got rid of FORMS_H_LOCATION include. Now we are
9163         GUII.
9164
9165 2002-06-15  LyX Development team  <lyx@rilke>
9166
9167         * buffer.[Ch] (sgmlOpenTag):
9168         (sgmlCloseTag): Added support for avoiding pernicious mixed
9169         content. Return number of lines written.
9170
9171         (makeLinuxDocFile):
9172         (makeDocBookFile): Fixed calls to sgml*Tag.
9173         Simple white space clean.
9174
9175         (simpleDocBookOnePar): Simple white space clean.
9176
9177         * tabular.[Ch] (docBook): Renamed to docbook and got another
9178         argument to related with the pernicious mixed content.
9179
9180         (docbookRow): Fixed calls for docbook inset method.
9181
9182 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9183
9184         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9185         so it's X11 independent.
9186
9187         * kb*.[Ch]: ditto.
9188
9189         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9190
9191 2002-06-15  Lyx Development team  <lyx@electronia>
9192
9193         * intl.h: Renamed getTrans to getTransManager.
9194
9195 2002-06-14  Angus Leeming  <leeming@lyx.org>
9196
9197         * Makefile.am: nuke forgotten stl_string_fwd.h.
9198
9199 2002-06-12  Angus Leeming  <leeming@lyx.org>
9200
9201         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9202
9203 2002-06-13  Angus Leeming  <leeming@lyx.org>
9204
9205         * LaTeX.C:
9206         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9207
9208 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9209
9210         * kbmap.C (getiso): add support for cyrillic and greek
9211
9212 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9213
9214         * BufferView.h:
9215         * BufferView.C:
9216         * BufferView_pimpl.h:
9217         * BufferView_pimpl.C: move bogus scrolling logic
9218           to xforms
9219
9220 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * lyxfunc.C:
9223         * BufferView_pimpl.C: view->resize() change
9224
9225 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * BufferView_pimpl.C: topCursorVisible
9228           prototype change
9229
9230 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9231
9232         * Makefile.am:
9233         * lyx_gui.h:
9234         * lyx_gui.C: move to frontends/
9235
9236         * main.C:
9237         * lyx_main.h:
9238         * lyx_main.C: changes from above
9239
9240 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9241
9242         * intl.C:
9243         * intl.h:
9244         * kbmap.C:
9245         * kbsequence.C:
9246         * lyx_cb.C:
9247         * lyx_main.C: minor tidy
9248
9249 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9250
9251         * BufferView_pimpl.h:
9252         * BufferView_pimpl.C:
9253         * BufferView.h:
9254         * BufferView.C: make painter() const,
9255           remove dead code
9256
9257         * BufferView2.C: use screen() accessor
9258
9259         * lyx_main.h:
9260         * lyx_main.C: some minor cleanup
9261
9262 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9263
9264         * BufferView_pimpl.h:
9265         * BufferView_pimpl.C: remove enter/leaveView,
9266           use workHeight()
9267
9268 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9269
9270         * BufferView.h:
9271         * BufferView.C:
9272         * BufferView2.C:
9273         * BufferView_pimpl.h:
9274         * BufferView_pimpl.C: only construct screen once,
9275           rename
9276
9277         * lyxrc.C: remove pointless comment
9278
9279 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9280
9281         * BufferView.h:
9282         * BufferView.C: remove active() and belowMouse()
9283
9284         * BufferView_pimpl.h:
9285         * BufferView_pimpl.C: use workarea() not workarea_,
9286           and make it use a scoped_ptr instead
9287
9288 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * lyx_gui.C: add debug message on BadWindow
9291
9292 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9293
9294         * sp_spell.C: fdopen is not part of the C++ standard.
9295
9296         * paragraph.C (InsetIterator): use >= instead of ==
9297
9298 2002-06-07  Angus Leeming  <leeming@lyx.org>
9299
9300         Fixes needed to compile with Compaq cxx 6.5.
9301         * BufferView_pimpl.C:
9302         * DepTable.C:
9303         * buffer.C:
9304         * converter.C:
9305         * encoding.C:
9306         * lyx_gui.C:
9307         * lyx_main.C:
9308         * lyxtextclasslist.C:
9309         * minibuffer.C:
9310         * sp_spell.C:
9311         * tabular_funcs.C:
9312         * vc-backend.C:
9313         all c-library variables have been moved into namespace std. Wrap
9314         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9315
9316         * lyxlength.C:
9317         * tabular-old.C:
9318         * tabular.C:
9319         Add a using std::abs declaration.
9320
9321         * kbmap.h (modifier_pair):
9322         * paragraph.h (InsetTable, InsetList):
9323         * lyxfont.h (FontBits):
9324         type definition made public.
9325
9326         * bufferlist.C (emergencyWriteAll): the compiler complains that
9327         there is more than one possible lyx::class_fun template to choose from.
9328         I re-named the void specialisation as lyx::void_class_fun.
9329
9330         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9331
9332         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9333         the compiler is is unable to find tostr in write_attribute.
9334
9335 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * buffer.C (sgmlError): hide #warning
9338
9339 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9340
9341         * xtl/*: get rid of xtl, which is not in use anyway
9342
9343         * LyXAction.C (init):
9344         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9345         were unimplemented xtl experimentation
9346
9347 2002-06-04  André Pönitz <poenitz@gmx.net>
9348
9349         * lyxfunc.C: disable array operation on simple formulae
9350
9351 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * converter.C: constify a bit
9354
9355 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * lyx_gui.C: check xforms version correctly
9358
9359 2002-04-30  Herbert Voss  <voss@lyx.org>
9360
9361         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9362         "keep" option
9363
9364 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9367           attempt to register it with a VCS)
9368
9369 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9370
9371         * lyx_main.C (init): honor variables LYX_DIR_13x and
9372         LYX_USERDIR_13x
9373
9374 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9375
9376         * buffer.h:
9377         * buffer.C:
9378         * lyx_main.C: fix a crash on bad command line,
9379           and give a useful exit status on error
9380
9381         * lyxfunc.C (doImport): allow -i lyx to work
9382
9383 2002-03-30  André Pönitz <poenitz@gmx.net>
9384
9385         * lyxfunc.C: mathed font changes
9386
9387 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9388
9389         * LaTeX.C:
9390         * importer.h:
9391         * importer.C:
9392         * lyx_sty.h:
9393         * lyx_sty.C:
9394         * lyxlex.C:
9395         * lyxrow.h:
9396         * lyxtext.h:
9397         * paragraph.h:
9398         * paragraph.C:
9399         * texrow.h:
9400         * texrow.C:
9401         * text.C:
9402         * trans_mgr.h: srcdocs, and some minor cleanups
9403
9404 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9405
9406         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9407         call getFont all the time)
9408
9409 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9410
9411         * switch from SigC signals to boost::signals
9412
9413 2002-05-29  André Pönitz <poenitz@gmx.net>
9414
9415         * paragraph_pimpl.C (getChar): don't call size() too often...
9416
9417 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9418
9419         * paragraph_pimpl.C (insertChar): do not try to update tables when
9420         appending (pos == size())
9421
9422         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9423         in order to reduce drastically the number of comparisons needed to
9424         parse a large document
9425
9426 2002-05-29  André Pönitz <poenitz@gmx.net>
9427
9428         * text.C:
9429         * text2.C:
9430         * lyxtextclass.C:
9431         * sp_pspell.h:
9432         * textclasslist.[Ch]:
9433         * sp_ispell.h: whitespace change
9434
9435 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9436
9437         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9438         lyxaction directly now.
9439
9440 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * trans.C:
9443         * lyxfont.C:
9444         * lyxvc.C: remove unused headers
9445
9446 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9447
9448         * Makefile.am:
9449         * buffer.h:
9450         * undostack.h:
9451         * undostack.C:
9452         * undo_funcs.h:
9453         * undo_funcs.C: some cleanups. Use shared_ptr
9454           and a template for the undo stacks.
9455
9456 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * BufferView_pimpl.h:
9459         * BufferView_pimpl.C:
9460         * kbmap.h:
9461         * kbmap.C:
9462         * kbsequence.h:
9463         * kbsequence.C:
9464         * lyxfunc.h:
9465         * lyxfunc.C:
9466         * text2.C: use key_state/mouse_state
9467
9468 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9469
9470         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9471         and LSubstring
9472
9473         * chset.C: change include order
9474         (loadFile): use boost regex and get rid of LRegex and LSubstring
9475
9476         * Makefile.am (BOOST_LIBS): new variable
9477         (lyx_LDADD): use it
9478
9479         * LaTeX.C: change include order.
9480         (scanAuxFile): use boost regex and get rid of LRegex and
9481         LSubstring
9482         (deplog): ditto
9483
9484 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9485
9486         * ColorHandler.h:
9487         * ColorHandler.C:
9488         * FontInfo.h:
9489         * FontInfo.C: moved to frontends/xforms/
9490
9491         * FontLoader.h:
9492         * FontLoader.C: moved into frontends for GUIIzation
9493
9494         * Makefile.am:
9495         * lyx_gui.C:
9496         * lyxfont.C:
9497         * lyxfunc.C: changes from above
9498
9499 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9500
9501         * LColor.C: remove spurious X include
9502
9503         * BufferView_pimpl.C:
9504         * Makefile.am:
9505         * font.h:
9506         * font.C:
9507         * text.C:
9508         * text2.C: move font metrics to frontends/
9509
9510 2002-05-24  Juergen Vigna  <jug@sad.it>
9511
9512         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9513         setting the undo_cursor.
9514
9515         * ParagraphParameters.h: include local includes first.
9516
9517 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9518
9519         * BufferView_pimpl.C:
9520         * BufferView_pimpl.h:
9521         * Makefile.am:
9522         * WorkArea.h:
9523         * WorkArea.C:
9524         * screen.C: move WorkArea into frontends/
9525
9526         * lyxscreen.h:
9527         * screen.C:
9528         * text.C:
9529         * BufferView.C:
9530         * BufferView2.C: move LyXScreen into frontends/
9531
9532         * lyxlookup.h:
9533         * lyxlookup.C:
9534         * lyx_gui.C: move lyxlookup into frontends/xforms/
9535
9536 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9537
9538         * BufferView2.C:
9539         * BufferView_pimpl.C:
9540         * FontLoader.C:
9541         * LyXView.h:
9542         * LyXView.C:
9543         * Makefile.am:
9544         * WorkArea.C:
9545         * XFormsView.h:
9546         * XFormsView.C:
9547         * buffer.C:
9548         * bufferlist.C:
9549         * bufferview_funcs.C:
9550         * converter.C:
9551         * importer.C:
9552         * lyx_cb.C:
9553         * lyx_gui.C:
9554         * lyx_main.C:
9555         * lyx_find.C:
9556         * lyxfunc.C:
9557         * lyxvc.C:
9558         * minibuffer.C:
9559         * text.C:
9560         * text2.C:
9561         * trans.C:
9562         * vc-backend.C: move LyX/XFormsView into frontends/
9563
9564 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9565
9566         * Makefile.am:
9567         * PainterBase.C:
9568         * PainterBase.h:
9569         * Painter.C:
9570         * Painter.h:
9571         * WorkArea.C:
9572         * WorkArea.h:
9573         * screen.C:
9574         * tabular.C:
9575         * text.C:
9576         * text2.C: move Painter to frontends/
9577
9578 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9579
9580         * buffer.C: comment out some some code that depend upon lyx_format
9581         < 220
9582
9583         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9584         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9585
9586         * buffer.h (NO_COMPABILITY): turn off compability
9587
9588         * ColorHandler.C: include scoped_array.hpp
9589
9590         * font.C: Use more specific smart_ptr header.
9591         * Painter.C: ditto
9592         * gettext.C: ditto
9593         * ShareContainer.h: ditto
9594         * lyx_main.h: ditto
9595         * kbmap.h: ditto
9596         * FontInfo.h: ditto
9597         * BufferView_pimpl.h: ditto
9598         * ColorHandler.h: ditto
9599
9600         * kbmap.C (defkey): change call to shared_ptr::reset
9601
9602 2002-05-21  Juergen Vigna  <jug@sad.it>
9603
9604         * buffer.C (insertErtContents): fix to insert ert asis if it is
9605         non empty. Skip it completely if it contains only whitespaces.
9606
9607 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9608
9609         * BufferView_pimpl.C:
9610         * BufferView2.C: clear selection on paste (bug 393)
9611
9612 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9613
9614         * DepTable.C: include ctime
9615
9616 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9617
9618         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9619
9620 2002-05-14  Juergen Vigna  <jug@sad.it>
9621
9622         * text.C (breakParagraph): fixed function to honor the keepempty
9623         layout in the right maner and also to permit the right breaking
9624         algorithm on empty or non empyt keepempty paragraphs.
9625
9626         * paragraph.C (breakParagraph): we have to check also if the par
9627         is really empty (!size()) for isempty otherwise we do the wrong
9628         paragraph break.
9629
9630 2002-05-10  Juergen Vigna  <jug@sad.it>
9631
9632         * buffer.[Ch] : The following are only changes to the ert
9633         compatibility read reading old LaTeX layout and font stuff and
9634         convert it to ERTInsets.
9635
9636         * buffer.h: added isErtInset().
9637
9638         * buffer.C (struct ErtComp): add a fromlayout bool to check
9639         if we're inside a LaTeX layout.
9640         (isErtInset): new helper function.
9641         (insertErtContents): look for other ert insets before this one
9642         and insert the contents there, so that we don't have subsequent
9643         ERT insets with nothing between them. This way we create only one
9644         inset with multiple paragraphs. Also check if we don't insert only
9645         spaces ' ' as they are ignored anyway afterwards in the .tex file
9646         so if we have only spaces we will ignore this latex part in the
9647         new file.
9648         (parseSingleLyXformat2Token \\layout): better compatibility when
9649         reading layout-latex stuff.
9650         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9651         language tag.
9652         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9653         stuff after reading the inset only get the information back from
9654         the stack.
9655
9656 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9657
9658         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9659
9660         * LaTeXFeatures.C (getBabelOptions): New method.
9661
9662 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9663
9664         * BufferView_pimpl.C (Dispatch): work around missing argument for
9665         'layout'
9666
9667 2002-05-08  Juergen Vigna  <jug@sad.it>
9668
9669         * text.C (leftMargin): handle paragraph leftindent.
9670
9671         * paragraph.C (writeFile): write the new \\leftindent tag.
9672         (validate): handle leftindent code.
9673         (TeXEnvironment): handle paragraphleftindent code again.
9674
9675         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9676
9677         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9678         for paragrap_extra indent code and new token \\leftindent.
9679         (latexParagraphs): handle the leftindent as environment.
9680
9681         * ParameterStruct.h: added leftindent support.
9682
9683         * ParagraphParameters.C (leftIndent): added support functions for
9684         the paragraph left indent.
9685
9686         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9687         more appropriate.
9688
9689 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9690
9691         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9692         inside insetERT.
9693
9694         * text.C (computeBidiTables): No bidi in insetERT.
9695
9696         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9697         in RTL documents.
9698
9699 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9700
9701         * version.C.in: pre 5
9702
9703 2002-05-02  José Matos  <jamatos@fep.up.pt>
9704         * buffer.C (makeDocBookFile): white space changes, add newline to
9705         command styles.
9706         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9707
9708         * tabular.C (docBook): fix typo.
9709
9710 2002-05-03  Juergen Vigna  <jug@sad.it>
9711
9712         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9713         change in LyXText as we can not be sure it was not freed.
9714         (drawOneRow): remove unused code.
9715
9716         * text.C (drawInset): redo the calculation of the need_break_row as
9717         it could have a row which was already freed.
9718         (draw): look at the return value of drawInset and return false if
9719         it also returned false.
9720         (paintRowText): look at the return value of draw and return false if
9721         it also returned false.
9722
9723         * lyxtext.h: added bool return type to drawInset() and draw() so that
9724         if we have a change in the row so that the rowbreak has to be redone
9725         we abort drawing as it will be called again.
9726
9727 2002-05-02  Juergen Vigna  <jug@sad.it>
9728
9729         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9730         a change in the maintext also if we're inside an inset.
9731         (Dispatch): set the cursor again after a break line and after the
9732         screen has been updated as it could be we're in a different row.
9733
9734         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9735         to set the cursor behind the pargraph with > size().
9736         (setCursor): check also for the same paragraph when checking where
9737         to put the cursor if we have a NFR inset.
9738
9739         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9740         parts of layout read further up as it still was in the wrong
9741         position.
9742
9743 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9744
9745         * screen.C (drawFromTo): change sine fullRebreak always return
9746         true.
9747
9748         * buffer.C (parseSingleLyXformat2Token): reindent some
9749
9750         * BufferView_pimpl.C (update): change since fullRebreak always
9751         return true.
9752         (Dispatch): git rid of the last hardcoded "Standard"s.
9753
9754 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9755
9756         * text2.[Ch] (fullRebreak): make it return void now that we always
9757         returned true.
9758
9759 2002-04-30  Juergen Vigna  <jug@sad.it>
9760
9761         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9762         ert compatibility check for "latex" layout.
9763
9764 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9765
9766         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9767         minipages: use col% instead of p%, and also use the current font.
9768         (makeLaTeXFile): Fix use babel condition.
9769         (parseSingleLyXformat2Token): Correct font when reading old floats.
9770
9771 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9772
9773         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9774         inserting list of floats.
9775
9776 2002-04-25  Herbert Voss  <voss@lyx.org>
9777
9778         * MenuBackend.C (expand): don't add the graphics extensions to the
9779         export menu
9780
9781 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9784         non-existing layout, do not complain if it was the default layout
9785         of the original class (bug #342)
9786
9787 2002-04-24  Juergen Vigna  <jug@sad.it>
9788
9789         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9790         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9791
9792 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9793
9794         * buffer.C (getBibkeyList): If using \bibliography, return the
9795         option field with the reference itself. Enables us to provide natbib
9796         support when using \bibliography.
9797
9798 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9799
9800         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9801
9802         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9803         natbib is provided by the LaTeX class.
9804
9805 2002-04-23  Juergen Vigna  <jug@sad.it>
9806
9807         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9808         Wakeup functions.
9809
9810         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9811
9812 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9813
9814         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9815
9816         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9817         ensuremath around textordmasculine, textordfeminine and
9818         textdegree.
9819
9820 2002-04-19  Juergen Vigna  <jug@sad.it>
9821
9822         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9823         reinitializing the buffer otherwise row-dimensions may be wrong.
9824         (update): reset also the selection cursors if they do exits otherwise
9825         their x/y positions may be wrong.
9826
9827         * text2.C (cursorDown): don't enter the inset if we came from a row
9828         above and are one row over the inset.
9829
9830         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9831         really leaving an inset.
9832
9833 2002-04-18  Juergen Vigna  <jug@sad.it>
9834
9835         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9836         of the selected paragraph does not have the selected layout also if
9837         the last one had!
9838
9839         * text2.C (setLayout): fixed bug which did not change last selected
9840         paragraph.
9841
9842         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9843         changed the read and substituted \\end_float with \\end_inset!
9844
9845         * BufferView_pimpl.C (cursorPrevious):
9846         (cursorNext): fixed to make it work with rows heigher than the work
9847         area without moving the cursor only the draw of the row.
9848         (workAreaMotionNotify): fix jumping over high rows.
9849
9850 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9851
9852         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9853         Ressler.
9854
9855 2002-04-16  Juergen Vigna  <jug@sad.it>
9856
9857         * text2.C (setCursor): set also the irow().
9858         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9859         (cursorUp):
9860         (cursorDown): support for locking an inset if the x_fix value goes
9861         inside it. That way I can transverse insets too with cursor up/down.
9862
9863         * lyxrow.h: added irow helper function same as other (i) functions.
9864
9865         * BufferView_pimpl.C (cursorPrevious):
9866         (cursorNext): fixed for insets!
9867
9868 2002-04-15  Juergen Vigna  <jug@sad.it>
9869
9870         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9871         position otherwise it is wrong in some cases.
9872
9873         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9874         inside the inset before the call.
9875
9876 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9877
9878         * buffer.[Ch] (getBibkeyList): make it const.
9879
9880 2002-04-12  Juergen Vigna  <jug@sad.it>
9881
9882         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9883
9884         * text2.C (getCursorX): new helper function
9885         (setCursor): compute also ix_
9886         (setCursorFromCoordinates): set also ix.
9887
9888         * lyxcursor.h: added ix_ and helper functions.
9889
9890         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9891
9892         * buffer.C (insertStringAsLines): dont break paragraph if the this
9893         paragraph is inside an inset which does not permit it!
9894
9895         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9896         also with no chars on this paragraph.
9897         (paintRowText): only paint stuff if it's inside the workarea!
9898
9899         * paragraph.C (breakParagraph): honor keepempty flag and break the
9900         paragraph always below not above.
9901
9902         * BufferView2.C (unlockInset): update the paragraph layout on inset
9903         unlock as we changed paragraph in such a case.
9904
9905         * lyxfind.C (LyXFind): clear the former selection if not found!
9906
9907         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9908         again called in insertChar().
9909
9910         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9911         an inset which uses the whole row!
9912         (rightMargin): ditto.
9913         (insertChar): force a rebreak if we inserted an inset!
9914
9915 2002-03-28  Herbert Voss  <voss@lyx.org>
9916
9917         * lyxlength.[Ch]: add inBP() to get the right PS-point
9918         units (BigPoint). With inPixels we have rounding errors
9919
9920 2002-04-11  Juergen Vigna  <jug@sad.it>
9921
9922         * text2.C (setCursorFromCoordinates): set iy to the right value.
9923         (setCursor): add check if row->previous exists!
9924
9925         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9926         an old float_type as this was the case in the old code!
9927
9928         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9929
9930         * BufferView2.C (showLockedInsetCursor): use iy
9931         (fitLockedInsetCursor): ditto
9932
9933         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9934         locked insets as there we have the right value now.
9935
9936         * lyxcursor.C: added iy_ variable and iy functions to set to the
9937         baseline of cursor-y of the locked inset.
9938
9939         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9940         (setCursor): fixed for insets which need a full row.
9941
9942         * text.C (rowLastPrintable): don't ignore the last space when before
9943         an inset which needs a full row.
9944         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9945         as last character of a row when before a inset which needs a full row.
9946
9947 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9948
9949         * version.C.in: update date
9950
9951         * text2.C (fullRebreak): try to always return true and see what
9952         happens...
9953
9954 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * MenuBackend.C (expand): use Floating::listName
9957
9958         * FloatList.C (FloatList): add listName argument to the built-in
9959         floats
9960
9961         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9962         text associated with the float.
9963
9964 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9967
9968 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9969
9970         * ShareContainer.h: add a couple of missing typenames.
9971
9972 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9973
9974         * lyxrc.C (getDescription): use _() correctly rather than N_().
9975
9976 2002-03-28  Herbert Voss  <voss@lyx.org>
9977
9978         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9979         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9980
9981 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9982
9983         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9984         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9985
9986 2002-03-29  Juergen Vigna  <jug@sad.it>
9987
9988         * lyxfunc.C (dispatch): add a missing fitCursor call.
9989
9990         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9991         it was scrolled by a cursor move, so return the bool status.
9992
9993         * BufferView.C (fitCursor): return the bool flag also to the outside
9994         world as this is needed.
9995
9996         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9997
9998         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9999         call the edit() as it is not needed (and wrong) IMO.
10000         (workAreaButtonPress): set the screen_first variable before evt.
10001         unlock the inset as this may change screen_first and then we have
10002         a wrong y position for the click!
10003
10004 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10005
10006         * MenuBackend.C (expand): another translation that I missed
10007
10008 2002-03-28  Juergen Vigna  <jug@sad.it>
10009
10010         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10011
10012         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10013
10014 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10017
10018         * MenuBackend.C (expand): fix export/view/update when there is no
10019         document open.
10020
10021 2002-03-27  Herbert Voss  <voss@lyx.org>
10022
10023         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10024         and text%
10025
10026 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10027
10028         * bufferview_funcs.C (currentState): only show paragraph number
10029         for is DEVEL_VERSION is set.
10030
10031         * lyxfunc.C (dispatch): put warning in INFO channel
10032
10033         * MenuBackend.C (expand): translate the name of floats
10034
10035         * FloatList.C (FloatList): mark the float names for translation
10036
10037         * converter.C (convert): use LibScriptSearch
10038
10039 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10040
10041         * MenuBackend.C (defaults): fix default menu (we might as well get
10042         rid of it...)
10043
10044 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10045
10046         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10047         directory.
10048
10049 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10050
10051         * lyxvc.C: reorder includes.
10052
10053 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10054
10055         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10056           properly
10057
10058 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * CutAndPaste.C: change layouts earlier on paste
10061           to avoid crashing when calling getFont()
10062
10063 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10064
10065         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10066         irritating #error.
10067
10068 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10069
10070         * WorkArea.C: remove 'Pending' debug message.
10071
10072         * most files: ws cleanup
10073
10074         * buffer.[Ch]: ws changes
10075
10076         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10077
10078 2002-03-21  Juergen Vigna  <jug@sad.it>
10079
10080         * tabular.C (SetMultiColumn): collapse also the contents of the
10081         cells and set the last border right. Added a Buffer const * param.
10082
10083 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10084
10085         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10086         linking or not.
10087
10088 2002-03-19  Juergen Vigna  <jug@sad.it>
10089
10090         * text2.C (clearSelection): reset also xsel_cache.
10091
10092         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10093         where it needs to be called (John tells us to do so too :)
10094         (selectionLost): reset sel_cache.
10095
10096         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10097
10098 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10099
10100         * text2.C (setCursorIntern): put debuging code in INSETS channel
10101
10102 2002-03-19  André Pönitz <poenitz@gmx.net>
10103
10104         * lyxfunc.C: tiny whitespace change
10105
10106 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10107
10108         * ToolbarDefaults.C (init):
10109         * LyXAction.C (init):
10110         * commandtags.h:
10111         * BufferView_pimpl.C (Dispatch):
10112         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10113
10114 2002-03-19  Allan Rae  <rae@lyx.org>
10115
10116         * exporter.C (Export): removeAutoInsets before doing anything else.
10117         While I've just introduced a dependency on BufferView this really is
10118         the best place to clean the buffer otherwise you need to cleanup in
10119         a dozen places before calling export or cleanup in a dozen functions
10120         that export calls.
10121
10122         * converter.C (runLaTeX):
10123         (scanLog): Better handling of removeAutoInsets and screen updates.
10124
10125         * lyxfunc.C (dispatch): small whitespace changes
10126
10127 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10128
10129         * WorkArea.C (C_WorkAreaEvent): return a value.
10130         (event_cb): return 1 if we handled the event, 0 otherwise.
10131
10132         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10133
10134 2002-03-18  Juergen Vigna  <jug@sad.it>
10135
10136         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10137         (GetAdditionalWidth): ditto.
10138         (RightLine): ditto.
10139         (LeftLine): ditto.
10140
10141         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10142         inset if we're there actually (probably not used right now but this
10143         is the direction to go for unifying code).
10144         (paste): disable code to clear the selection.
10145
10146         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10147         inside an InsetText and move the check further up as it is in the
10148         wrong place.
10149
10150         * text2.C (pasteSelection): set a selection over the pasted text.
10151
10152 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10153
10154         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10155         and libgraphics to build on Cygwin.
10156
10157 2002-03-15  Juergen Vigna  <jug@sad.it>
10158
10159         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10160         inserting an Inset into the paragraph. I know this is not the best
10161         fix but we already use current_view in CutAndPaste so we will remove
10162         all of it's using at the same time.
10163
10164         * buffer.C (sgmlError): deactivated function till it is rewritten in
10165         the right mode, now it can create problems.
10166
10167         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10168         before accessing it.
10169
10170 2002-03-14  Juergen Vigna  <jug@sad.it>
10171
10172         * undo_funcs.C (textHandleUndo): do the right thing when updating
10173         the inset after the undo/redo.
10174
10175         * text2.C (setCursor): just some testcode for #44 not ready yet.
10176
10177         * undo_funcs.C (textHandleUndo): set the next() and previous()
10178         pointers of the paragraph to 0 before deleting otherwise we have
10179         problems with the Paragraph::[destructor].
10180
10181         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10182         on a paragraph insertion.
10183
10184 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10185
10186         * buffer.C (asciiParagraph): use += operator for char append to
10187         string.
10188
10189         * paragraph.C (getFontSettings): compare >= not just >
10190         (highestFontInRange): ditto
10191         (setFont): ditto
10192
10193 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10194
10195         * paragraph.C: change several algorithm to be more appripriate for
10196         the problem domain. This is lookip in FontList and in the InsetList.
10197
10198 2002-03-13  André Pönitz <poenitz@gmx.net>
10199
10200         * commandtags.h:
10201         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10202
10203 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * commandtags.h:
10206         * LyXAction.C:
10207         * lyxfunc.C:
10208         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10209
10210 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10211
10212         * Painter.C (display): anon helper function, adjust code for this
10213         change.
10214         (pixmap): remove function.
10215
10216         * Painter.h: remove private display variable.
10217
10218         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10219
10220 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10221
10222         * WorkArea.[Ch]: remove figinset_canvas cruft.
10223
10224 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10225
10226         * lyxtextclass.C (operator): add one item cache optimization.
10227
10228         * bufferlist.h: doxy changes
10229
10230         * bufferlist.C: ws changes
10231
10232         * DepTable.[Ch] (ext_exist): place const in the right spot.
10233
10234         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10235         call resizeInsets.
10236         (workAreaExpose): call resizeInsets when the with BufferView changes.
10237         (Dispatch): adjust for protectedBlank removal
10238         (specialChar): call updateInset if the insert went ok.
10239
10240         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10241         specialChar instead.
10242
10243         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10244
10245         * BufferView.h: doxy change
10246
10247         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10248
10249         * lyxtextclass.C (operator[]): remove non-const version
10250         (defaultLayout): remove non-const version
10251
10252 2002-03-12  Juergen Vigna  <jug@sad.it>
10253
10254         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10255         did resize the LyXText too.
10256
10257         * buffer.C (readLyXformat2): set layout information on newly allocated
10258         paragraphs.
10259
10260         * tabular.C (OldFormatRead): set layout information on the paragraph.
10261
10262 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10263
10264         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10265
10266 2002-03-11  Juergen Vigna  <jug@sad.it>
10267
10268         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10269         plainly wrong.
10270         (resizeCurrentBuffer): force also the insets to resize themselfes.
10271         (moveCursorUpdate): fixed up for InsetText.
10272
10273 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10274
10275         * commandtags.h:
10276         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10277         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10278         value of Dialogs::tooltipsEnabled().
10279         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10280
10281 2002-03-08  Juergen Vigna  <jug@sad.it>
10282
10283         * BufferView_pimpl.C (updateInset): update inset inside inset also
10284         if it isn't inside theLockingInset().
10285
10286 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10287
10288         * buffer.C (asciiParagraph): redo some of the word and line length
10289         handling.
10290         (getLists): look for Caption instead of caption.
10291
10292 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10293
10294         * buffer.C (Buffer): initialize niceFile to true
10295         (makeLaTeXFile):
10296         (makeLinuxDocFile):
10297         (makeDocBookFile): make sure niceFile is true on exit
10298
10299 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10302
10303 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10304
10305         * LyXSendto.C: remove.
10306         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10307         * lyx_gui.C: remove now-redundant comment.
10308         * ColorHandler.h: remove forward declaration of class WorkArea.
10309         * lyxfunc.C: remove #include "WorkArea.h".
10310
10311 2002-03-07  Juergen Vigna  <jug@sad.it>
10312
10313         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10314         got moved away with the DEPM and also set the inset_owner always
10315         right which before could have been omitted.
10316
10317 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10318
10319         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10320         wanted layout is not found.
10321
10322 2002-03-07  Juergen Vigna  <jug@sad.it>
10323
10324         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10325
10326 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10327
10328         * paragraph.C (breakParagraph): use default layout not layout of
10329         prev paragraph.
10330         (Paragraph): clear ParagraphParameters.
10331
10332 2002-03-06  Juergen Vigna  <jug@sad.it>
10333
10334         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10335         otherwise it would not be a valid lenght. Fixed a special case in
10336         the minipage compatibility read where we end the document with a
10337         minipage.
10338
10339         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10340         was set as it could be 0 for InsetTexts first entry.
10341
10342 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * paragraph.C (writeFile): if layout is empty write out
10345         defaultLayoutName().
10346
10347         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10348         file without named layout we set layout to defaultLayoutName().
10349
10350 2002-03-06  Juergen Vigna  <jug@sad.it>
10351
10352         * CutAndPaste.C (copySelection): set layout for new paragraph.
10353
10354         * text.C (prepareToPrint): leave ERT inset left aligned
10355         (leftMargin): don't indent paragraphs inside ERT insets
10356
10357 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10358
10359         * paragraph.C (breakParagraph): dont call clear do the work manually
10360
10361         * paragraph.[Ch] (clear): remove function
10362
10363 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * paragraph.C (Paragraph): dont call clear, the work has already
10366         been done.
10367
10368         * lyxtextclass.C (operator): assert if n is empty
10369
10370         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10371         work manually instead.
10372
10373 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * BufferView_pimpl.C: protect selectionLost against text == 0
10376
10377 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10378
10379         * text.C (breakParagraph): fix a setting layout to '0' problem.
10380
10381 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10382
10383         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10384         final location of file, for the included files, and graphics.
10385
10386 2002-03-05  Juergen Vigna  <jug@sad.it>
10387
10388         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10389
10390 2002-03-04  Juergen Vigna  <jug@sad.it>
10391
10392         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10393
10394         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10395         last column of multicolumn cells.
10396         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10397
10398 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10399
10400         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10401         file if it doesn't go to a temporary file.
10402
10403         * buffer.C (sgmlOpenTag):
10404         (sgmlCloseTag):  remove extra newline insertion.
10405
10406 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10407
10408         * text.C (getRowNearY): comment out debug msg
10409
10410 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10411
10412         * text2.C: first -> first_y
10413
10414         * text.C (getRowNearY): add some attemts at a possible
10415         optimization, not working.
10416
10417         * tabular.[Ch]: add BufferParams to several function so that newly
10418         created paragraph can be initialized to he default layotu for the
10419         buffers textclass.
10420
10421         * tabular-old.C (ReadOld): add buf->params to call of Init
10422
10423         * screen.C: rename text->first to text->first_y
10424
10425         * paragraph.C (breakParagraph): always set layout in the broken
10426         paragraph
10427
10428         * lyxtextclass.C (Read): remove lowercase
10429         (hasLayout): ditto
10430         (operator): ditto
10431         (delete_layout): ditto
10432
10433         * lyxtext.h: rename first -> first_y
10434
10435         * lyxlayout.C (Read): remove lowercase
10436         (name): ditto
10437         (setName): ditto
10438         (obsoleted_by): ditto
10439
10440         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10441
10442         * buffer.C (insertErtContents): add params are to InsetERT
10443         (parseSingleLyXformat2Token): add code to check if a paragraphs
10444         layout really exist.
10445         (parseSingleLyXformat2Token): add params to several inset
10446         constructors
10447         (asciiParagraph): remove lowercase, do the layout comparisons with
10448         no_case
10449
10450         * BufferView_pimpl.C (cursorNext): first -> first_y
10451         (resizeCurrentBuffer): first -> first_y
10452         (updateScrollbar): first -> first_y
10453         (scrollCB): first -> first_y
10454         (workAreaMotionNotify): first -> first_y
10455         (workAreaButtonPress): first -> first_y
10456         (checkInsetHit): first -> first_y
10457         (cursorPrevious): first -> first_y
10458         (cursorNext): first -> first_y
10459         (Dispatch): add buffer_->params to severl inset contructors
10460
10461 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10462
10463         * lyxlayout.C (Read): remove some debug info that I forgot.
10464
10465         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10466         clean up the code slightly.
10467         (makeLinuxDocFile): ditto
10468         (makeDocBookFile): ditto
10469
10470         * text2.C: layout as string
10471
10472         * text.C: layout as string
10473
10474         * paragraph_pimpl.C: layout as string
10475
10476         * paragraph.[Ch]: layout as string
10477
10478         * lyxtextclasslist.[Ch]: layout as string
10479
10480         * lyxtextclass.[Ch]: layout as string
10481
10482         * lyxtext.h: layout as string
10483
10484         * lyxlayout.[Ch]: layout as string
10485
10486         * lyx_cb.C: layout as string
10487
10488         * bufferview_funcs.C: layout as string
10489
10490         * bufferparams.C: layout as string
10491
10492         * buffer.C: layout as string
10493
10494         * LyXView.[Ch]: layout as string
10495
10496         * LaTeXFeatures.[Ch]: layout as string
10497
10498         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10499
10500         * BufferView_pimpl.C: change current_layout to string, remove
10501         lyx::layout_type.
10502         (Dispatch):
10503         (smartQuote):
10504         (insertInset):
10505         (workAreaButtonRelease): layout as string
10506
10507         * BufferView2.C (unlockInset): adjust
10508
10509         * vspace.C (asLatexCommand): use an explict temp variable.
10510
10511 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10512
10513         * Makefile.am: use FRONTEND_*
10514
10515 2002-03-01  Juergen Vigna  <jug@sad.it>
10516
10517         * tabular.C (SetWidthOfMulticolCell): changed to something better
10518         I hope but still work in progress.
10519         (recalculateMulticolumnsOfColumn): renamed function from
10520         recalculateMulticolCells as it is more appropriate now.
10521         (SetWidthOfCell): calculate multicols better.
10522
10523 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10526
10527         * lyxfunc.C (processKeySym): print sequence also if it is
10528         `deleted' (complete)
10529
10530         * kbsequence.C (print): print sequence even if it is deleted
10531         (complete would be a better word, actually).
10532
10533         * lyxfunc.C (dispatch): print complete options after a prefix key
10534
10535         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10536
10537 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10538
10539         * text2.C (setCharFont): eliminate setCharFont code duplication.
10540
10541 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10544         LFUN_TABULAR_FEATURE (bug #177)
10545
10546 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10547
10548         * Makefile.am: remove figure.h
10549
10550 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10551
10552         * Bufferview_pimpl.C:
10553         * CutAndPasteC:
10554         * LaTeX.C:
10555         * LyXSendto.C:
10556         * buffer.C:
10557         * bufferlist.C:
10558         * converter.C:
10559         * language.C:
10560         * lyxfunc.C:
10561         * lyxvc.C:
10562         * paragraph.C:
10563         * text.C:
10564         * text2.C: remove #include "lyx_gui_misc.h".
10565
10566         * LaTeX.C: added #include <cstdio>
10567
10568 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10569
10570         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10571         that the paragraph following this one can have.
10572
10573         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10574
10575         * vspace.C (asLatexCommand): fix bogus gcc warning
10576
10577         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10578
10579 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10580
10581         * text2.C (setLayout): get rid of redundant code
10582
10583 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10584
10585         * text2.C (incDepth): make sure depth cannot be increased beyond
10586         reasonable values.
10587
10588 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10589
10590         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10591         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10592
10593         * PainterBase.h (image):
10594         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10595         a LyXImage const *.
10596
10597 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * BufferView.C:
10600         * BufferView.h:
10601         * BufferView_pimpl.C:
10602         * BufferView_pimpl.h:
10603         * LaTeXFeatures.C:
10604         * LyXAction.C:
10605         * LyXView.C:
10606         * Makefile.am:
10607         * UpdateList.h:
10608         * UpdateList.C:
10609         * buffer.C:
10610         * figure.h:
10611         * figureForm.C:
10612         * figureForm.h:
10613         * figure_form.C:
10614         * figure_form.h:
10615         * lyx_cb.C:
10616         * lyx_gui.C:
10617         * lyx_gui_misc.C:
10618         * lyxfunc.C:
10619         * sp_base.h:
10620         * sp_ispell.h:
10621         * sp_pspell.h:
10622         * sp_spell.C: remove fig inset, and the crap house of
10623           cards that follows it
10624
10625 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10626
10627         * Makefile.am:
10628         * lyxserver.C:
10629         * os2_defines.h:
10630         * os2_errortable.h:
10631         * nt_defines.h: move .h into support/
10632
10633         * vms_defines.h: remove
10634
10635         * WorkArea.C: add space in debug output
10636
10637         * text2.C:
10638         * paragraph.C:
10639         * buffer.C: add WITH_WARNINGS
10640
10641         * vc-backend.h:
10642         * vc-backend.C:
10643         * bufferlist.C: s/retrive/retrieve/, add docs
10644
10645         * vspace.h:
10646         * vspace.C:
10647         * kbmap.h:
10648         * lyxlength.h:
10649         * lyxgluelength.h:
10650         * length_common.h:
10651         * chset.h:
10652         * chset.C: add docs
10653
10654         * lyxgui.C: add ID to X error handler
10655
10656         * lyxtestclass.c: fix typo
10657
10658 2002-02-26  Juergen Vigna  <jug@sad.it>
10659
10660         * tabular_funcs.C (write_attribute): changed so that some default
10661         attributes are not written at all.
10662         (getTokenValue): set default values before trying to read the
10663         value so we have the return value always set as default if we don't
10664         find the token we search for.
10665
10666         * tabular.C (Write): write bools as bools not as strings!
10667
10668 2002-02-22  Juergen Vigna  <jug@sad.it>
10669
10670         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10671         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10672
10673         * text.C (leftMargin): don't add an indent for paragraphs inside
10674         tabular cells (fix #208).
10675
10676 2002-02-21  José Matos  <jamatos@fep.up.pt>
10677
10678         * tabular.C (docBook): fixed support for long tables.
10679
10680 2002-02-20  Juergen Vigna  <jug@sad.it>
10681
10682         * text2.C (getFont): get the drawing font of the Inset if this
10683         paragraph is inside an inset (only important for InsetERT for now).
10684
10685         * buffer.C (insertErtContents): use new lanugage params in ERT
10686         constructor.
10687
10688         * CutAndPaste.C: commenting out seemingly uneeded code.
10689
10690 2002-02-19  Allan Rae  <rae@lyx.org>
10691
10692         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10693         Iterators might be simple to use but they also get invalidated.
10694         (removeAutoInsets): renamed saved cursor tracking variables and added
10695         some comments to clarify what everything does.
10696
10697 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10698
10699         * Chktex.C:
10700         * LaTeX.C:
10701         * LyXSendto.C:
10702         * converter.C:
10703         * lyx_cb.C:
10704         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10705         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10706
10707         * lyxfunc.C:
10708         * vc-backend.h: remove #include "support/syscall.h"
10709
10710         * LaTeX.C:
10711         * LyXSendto.C:
10712         * converter.C: rearrange #includes in Lars' approved fashion.
10713
10714         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10715         forward declare class Timeout in the header file.
10716
10717         * XFormsView.C: changes due to the above.
10718
10719         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10720         similar to LyXView.
10721
10722         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10723         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10724
10725 2002-02-18  José Matos  <jamatos@fep.up.pt>
10726
10727         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10728         insets contents.
10729
10730 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10731
10732         * a lot of small ws changes
10733         * add a lot of using std::XXX
10734         * use std construcs some places where approp.
10735         * use some exisint stuff from lyxfunctional where approp.
10736         * Make file changes to use partial linking (lets test this now...)
10737
10738 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10739
10740         * Chktex.C:
10741         * buffer.C:
10742         remove #include "support/syscontr.h" as it's redundant. Always has been.
10743
10744         * Chktex.C:
10745         * LaTeX.C:
10746         * LyXSendto.C:
10747         * converter.C:
10748         * lyx_cb.C:
10749         * vc-backend.C:
10750         change Systemcalls::System to Systemcalls::Wait and
10751         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10752         No change of functionality, just reflects the stripped down Systemcalls
10753         class.
10754
10755 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10756
10757         * debug.[Ch]: add a GRAPHICS type to the enum.
10758
10759 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10760
10761         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10762
10763         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10764         there is an inset.
10765
10766 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10767
10768         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10769         match the changes below.
10770
10771         * text2.C (toggleInset): if there is not editable inset at cursor
10772         position, try to see if cursor is _inside_ a collapsable inset
10773         and close it.
10774
10775 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10776
10777         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10778         document menu has a nice checkbox
10779
10780 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10781
10782         * lyxlength.C (asLatexString): change PW to output as percent of
10783         \textwidth.
10784
10785         * lengthcommon.C: change '%' to 't%'
10786
10787         * lyxfunc.C (dispatch): a few comments from Martin
10788
10789 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * WorkArea.h:
10792         * WorkArea.C:
10793         * BufferView_pimpl.h:
10794         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10795           the X selection.
10796
10797 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10798
10799         * vspace.C (inPixels): fix compiler warning
10800
10801 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10802
10803         * lyxfunc.C (getStatus): fix status message for disabled commands.
10804
10805 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * BufferView_pimpl.C: fix crash on close buffer
10808         during selection (#227)
10809
10810 2002-01-27  Herbert Voss  <voss@lyx.org>
10811
10812         * buffer.C: link old Figure to new graphic inset
10813
10814 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10815
10816         * FontLoader.C (getFontinfo): Change the latex font names in order
10817         to match the names of type1inst.
10818
10819 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10820
10821         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10822
10823         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10824         (extchanged): ditto
10825         (ext_exist): ditto
10826         (remove_files_with_extension): ditto
10827         (remove_file): ditto
10828         (write): ditto
10829
10830         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10831         document is smaller than the work area height. Do not initialize
10832         static variables to 0.
10833
10834 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10837
10838         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10839         LFUN_LAYOUT_PARAGRAPHS.
10840
10841         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10842         tabular. It is possible to provide a possible cell, which will
10843         typically be the actcell from the corresponding insettabular
10844
10845         * lyxfunc.C (getStatus): small cleanup; disable
10846         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10847         true
10848
10849 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10850
10851         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10852
10853         * paragraph.C (startTeXParParams):
10854         (endTeXParParams): new methods. The LaTeX code to
10855         start/end paragraph formatting
10856         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10857         empty (fixes bug #200)
10858
10859         * vspace.C (inPixels): adapt to the change below
10860         (inPixels): [later] more cleanups (remove unused variables)
10861
10862         * lyxlength.C (inPixels): change to use a width and a height as
10863         parameter.
10864
10865 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10866
10867         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10868         Replaced with \paperwidth
10869
10870         * DepTable.C (insert): add std:: qualifier
10871
10872 2002-01-18  Allan Rae  <rae@lyx.org>
10873
10874         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10875         updated also?
10876
10877         * text.C (drawInset): Turned out I didn't know enough about how
10878         rebreaking worked.  This fixes most of the redraw problems.  I see
10879         an occasional cursor trail when a line is broken now and the cursor
10880         placement can seem out by a few pixels also after a rebreak.
10881
10882 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10883
10884         * buffer.C (parseSingleLyXformat2Token): update because minipage
10885         width is now a LyXLength
10886
10887         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10888
10889         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10890         math insets
10891
10892 2002-01-17  Juergen Vigna  <jug@sad.it>
10893
10894         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10895
10896         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10897         is set correctly and the inset is updated correctly.
10898
10899 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10900
10901         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10902         the beginning of the loop.
10903
10904 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * lyxrc.C: improve help for use_scalable_fonts
10907
10908 2002-01-17  Allan Rae  <rae@lyx.org>
10909
10910         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10911
10912 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10913
10914         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10915         make sure to set their inset_owner to the right value (bug #171)
10916
10917 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10918
10919         * DepTable.h
10920         * DepTable.C: Implement mtime checking to reduce time spent doing
10921         CRCs.
10922
10923 2002-01-16  Juergen Vigna  <jug@sad.it>
10924
10925         * tabular.C (GetAdditionalHeight): one of error fixed.
10926
10927         * lyxrc.C (output): small fix in writing use_pspell.
10928
10929 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10930
10931         * sp_base.h: #include LString.h
10932
10933 2002-01-16  Allan Rae  <rae@lyx.org>
10934
10935         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10936         Can someone check this please?
10937
10938         * text.C (drawInset): It was possible that p.row would be removed by
10939         breakAgainOneRow upsetting a few other settings.  There may be another
10940         small tweak possible by setting need_break_row = 0 when p.row has been
10941         removed but I don't know enough about the logic here.
10942
10943 2002-01-15  Allan Rae  <rae@lyx.org>
10944
10945         * text.C (insertChar): removed conditional truism.
10946
10947         * BufferView2.C (removeAutoInsets): More tweaks.
10948         cur_par_prev could be a stray pointer.  Check for trailing empty line
10949         in case last line was cur_par and only had an error inset on it.
10950
10951 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10954         absolute
10955
10956         * vc-backend.C (most methods):
10957         * exporter.C (Export):
10958         * converter.C (convert):
10959         (runLaTeX):
10960         * LyXSendto.C (SendtoApplyCB):
10961         * lyxfunc.C (dispatch):
10962         (menuNew):
10963         (open):
10964         (doImport):
10965         * lyx_cb.C (AutoSave):
10966         (InsertAsciiFile):
10967         * BufferView_pimpl.C (MenuInsertLyXFile):
10968         * buffer.C (runChktex): use Buffer::filePath().
10969
10970         * buffer.h: rename filename to filename_; rename filepath to
10971         filepath_ and make it private
10972         (filePath): new method
10973
10974         * buffer.C (writeFile): use fileName()
10975         (getLatexName):
10976
10977         * lyx_main.C (init): fix starting  of LyX when the binary is a
10978         link from so,ewhere else.
10979
10980         * minibuffer.C: include <cctype> for isprint
10981
10982 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10983
10984         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10985         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10986         name clash with InsetCollapsable's width function.
10987
10988 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10989
10990         * lastfiles.C: include <iterator>
10991
10992 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10993
10994         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10995         std::count.
10996
10997         * buffer.C (makeLaTeXFile): ditto.
10998         Also make loop operation more transparent.
10999
11000 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11001
11002         * ToolbarDefaults.C: remove trailing comma closing namespace.
11003
11004         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11005
11006         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11007         as in WorkArea.
11008
11009         * trans.C (Load): comment out unused variable, allowed.
11010
11011 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11012
11013         * minibuffer.[Ch] (append_char): new method to recieve input from the
11014         drop-down completion browser. If a key was pressed, then recieve this
11015         char and append it to the existing string.
11016         (peek_event): modify the positioning data passed to the completion
11017         browser so that it can be placed above the minibuffer rather than below.
11018 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11019
11020         * LyXAction.C (init): alloe error-next for readonly documents.
11021
11022         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11023         count.
11024
11025 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11026
11027         * bufferlist.C (readFile): create the buffer _after_ checking that
11028         the file exists.
11029
11030         * lyxfunc.C (verboseDispatch): fix handling of arguments
11031
11032         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11033
11034         * lyxrc.C: use string::erase() instead of initializing to "".
11035
11036
11037 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11038
11039         * BufferView_pimpl.h:
11040         * BufferView_pimpl.C:
11041         * WorkArea.h:
11042         * WorkArea.C:
11043         * text2.C: tell X when we have made a selection for copying
11044
11045 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11046
11047         * BufferView_pimpl.C (MenuInsertLyXFile):
11048         * lyxfunc.C (menuNew):
11049         (open):
11050         (doImport): add shortcuts to directory buttons
11051
11052         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11053         open a float)
11054
11055         * lyxfunc.C (setStatusMessage):
11056         (getStatusMessage): new methods
11057         (getStatus):use setStatusMessage instead of setErrorMessage
11058         (dispatch): when function is disabled, set error message here
11059         [instead of in getStatus previously]
11060
11061         * BufferView_pimpl.C (workAreaButtonRelease): update
11062         toolbar/menubar here too.
11063
11064 2002-01-13  Allan Rae  <rae@lyx.org>
11065
11066         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11067         Now seems indestructible.  Remaining task is to audit all other
11068         code affected by deleteEmptyParagraphMechanism.  One small quirk
11069         left is that an empty document with an error in the preamble can
11070         be made to report an error but no error box appears.  I don't know
11071         where it goes.
11072         (removeAutoInsets): Improved comments.
11073
11074 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11075
11076         * Thesaurus.h:
11077         * Thesaurus.C: update for Aiksaurus 0.14
11078
11079 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11080
11081         * text2.C (firstParagraph): removed member function, all uses
11082         replaces with ownerParagraph
11083         (redoParagraphs): here
11084         (updateInset): here
11085         (toggleAppendix): here
11086         * BufferView2.C (insertErrors): here
11087         (setCursorFromRow): here
11088
11089 2002-01-13  Allan Rae  <rae@lyx.org>
11090
11091         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11092         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11093         There is still a way to segfault this although you may have to do this
11094         multiple times: Have an InsetERT with an unknown command in it.
11095         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11096         <down-arrow>, <Enter> again, View->DVI, BANG!
11097
11098         * text2.C (setCursor):
11099         (deleteEmptyParagraphMechanism):
11100         * lyxtext.h (setCursor):
11101         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11102         Making use of the return value may help fix other bugs.
11103
11104 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11105
11106         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11107
11108         * LyXView.C (updateMenubar): call MenuBar::update here
11109         (updateToolbar): but not here
11110         (showState): do not update toolbar/menubar
11111
11112         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11113         should need to care about that.
11114
11115         * lyxfunc.C (verboseDispatch): simplify a bit
11116         (getStatus): have a version which takes a pseudoaction, and
11117         another which requires a (kb_action,string).
11118
11119         * LyXAction.C (retrieveActionArg): make it work also when action
11120         is not a pseudo-action.
11121         (getActionName): simplify a bit
11122         (helpText):
11123
11124 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11125
11126         * lyxfunc.C (verboseDispatch): new families of methods with
11127         several ways to specify a command and a bool to indicate whether
11128         the command name and shortcut should be displayed in minibuffer
11129         (eventually, we could extend that to a finer bitmask like
11130         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11131         (dispatch): the pristine dispatch command which just, well,
11132         dispatchs! Note it still sets its result to minibuffer; I'm not
11133         sure we want that.
11134
11135         * lyxfunc.h: remove setHintMessage
11136
11137         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11138
11139 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * BufferView_pimpl.C (specialChar): delete new inset if we have
11142         not been able to insert it.
11143
11144         * kbmap.C: revert to using int instead of kb_action, since all we
11145         are dealing with is pseudo-actions.
11146
11147         * LyXAction.C (searchActionArg): change to return int instead of
11148         kb_action, since the result is a pseudoaction.
11149
11150 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11151
11152         * buffer.C (insertErtContents): Fix (partially) the font bug.
11153
11154 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11155
11156         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11157         as the other one is broken on my machine!
11158
11159 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11160
11161         * commandtags.h:
11162         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11163
11164 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11165
11166         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11167         reflect their actual use. Provide compatibility code for older lyxrc
11168         files.
11169
11170         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11171         FL_NORMAL_STYLE.
11172         change names of popup font variables in line with the changes to lyxrc.C
11173
11174 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11175
11176         * buffer.C (asciiParagraph): avoid outputing a word twice after
11177         an inset.
11178
11179         * lyxrc.C (getDescription): document that document_path and
11180         template_path can be empty.
11181
11182 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * LaTeXFeatures.C (getMacros):
11185         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11186
11187         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11188
11189         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11190         getPackages.
11191         (getPackages): rename feature "floats" to "float". Use an array to
11192         iterate over 'simple' features (i.e. just a \usepackage). Add
11193         handling of "amsmath" (renamed from "amsstyle").
11194
11195 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11196
11197         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11198         features list.
11199
11200 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11201
11202         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11203         FuncStaus::FuncStatus & FuncStaus::some_method().
11204
11205 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11206
11207         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11208         of the func_satus stuff. Edited and massaged in various ways by
11209         JMarc.
11210
11211         * lyxfunc.C (getStatus): use FuncStatus
11212
11213 2002-01-08  Juergen Vigna  <jug@sad.it>
11214
11215         * text.C (nextBreakPoint): use function Inset::isChar().
11216
11217         * paragraph.C (TeXOnePar): use function
11218         Inset::forceDefaultParagraphs.
11219
11220         * buffer.C (latexParagraphs): use function
11221         Inset::forceDefaultParagraphs.
11222
11223 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11224
11225         * lyx_gui.C (init): set the style of the menu popups to
11226         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11227
11228 2002-01-07  Juergen Vigna  <jug@sad.it>
11229
11230         * text.C (setHeightOfRow): small fix
11231         (prepareToPrint): don't look at alignment if we don't have the place
11232         for doing it.
11233
11234 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11235
11236         * box.C: New file. Move the Box methods and functions out of box.h,
11237         following Lars' suggestion.
11238
11239 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11240
11241         * box.h: #include "support/LOstream.h", needed for inlined function.
11242
11243         * lyxtextclass.C:
11244         * lyxtextclasslist.C: added some using std declarations.
11245
11246 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11247
11248         * box.h: make signed dimensions to allow insets wider than
11249           the screen (bug #162)
11250
11251         * BufferView_pimpl.C: add some insetHit debug
11252
11253 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * vc-backend.C: add FIXME
11256
11257 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * lyxfunc.C (getStatus): enable code for showing math font status
11260         in toolbar/menu.
11261
11262 2002-01-07  Juergen Vigna  <jug@sad.it>
11263
11264         * text.C (nextBreakPoint): removed debug output not needed anymore.
11265
11266 2002-01-06  Juergen Vigna  <jug@sad.it>
11267
11268         * text.C (nextBreakPoint): fixed up this function we had this bug
11269         since ever but now hopefully we break row better.
11270         (insertChar): we have to check if an inset is the next char as it
11271         could now happen that a large inset is causing a break.
11272
11273 2002-01-05  Juergen Vigna  <jug@sad.it>
11274
11275         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11276         if it doesn't like to be drawed.
11277
11278 2002-01-04  Juergen Vigna  <jug@sad.it>
11279
11280         * BufferView2.C (lockInset): forgot to set a cursor.
11281
11282         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11283
11284 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11285
11286         * FormMathsPanel.C:
11287         * FormMathsPanel.h
11288         * MathsSymbols.C:
11289         * form_maths_panel.C:
11290         * form_maths_panel.h:
11291         * form_maths_panel.fd: implemented sub- and super- buttons in math
11292         panel.
11293
11294         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11295         (or ^ space) to be used as in TeX (req'd by André).
11296
11297         * lyxfunc.C: Allow ^ and _ again to be used both as
11298         super/subscript (mathed) and as themselves (in text).
11299
11300 2002-01-03  Allan Rae  <rae@lyx.org>
11301
11302         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11303         "LyX" or the filename of the current buffer if it has one.  This is a
11304         modified form of John Levon's patch.
11305
11306         * XFormsView.C (setWindowTitle): also set icon title.
11307
11308         * LyXView.h (setWindowTitle): signature changed.
11309         * XFormsView.h (setWindowTitle): ditto.
11310
11311 2002-01-02  Juergen Vigna  <jug@sad.it>
11312
11313         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11314
11315 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * screen.C (topCursorVisible): introduce a temp var for
11318         text->cursor.row(), handle the case where this row is null. (kindo
11319         hachish)
11320
11321         * text2.C (setCursor): add a couple of asserts.
11322
11323         * paragraph.h (inset_iterator): add -> operator
11324
11325         * paragraph.[Ch] (autoDeleteInsets): remove member function
11326
11327         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11328         cursor pos correctly and handle inset deletion by itself.
11329         (insertErrors): move iterator declaration out of for expression
11330
11331         * lyxtextclass.C: add <algorithm>
11332
11333         * Makefile.am: added the new files to sources, removed layout.C
11334
11335         * layout.C: removed file
11336
11337         * layout.h: remove LYX_DUMMY_LAYOUT
11338
11339         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11340         layout.
11341
11342         * lyxlayout.[Ch]:
11343         * lyxtextclass.[Ch]:
11344         * lyxtextclasslist.[Ch]: new files
11345
11346         * include order changes to a lot of files, also changes because of
11347         the six new files.
11348
11349 2001-12-27  Juergen Vigna  <jug@sad.it>
11350
11351         * buffer.C (asciiParagraph): more fixes.
11352
11353         * tabular.C (ascii): make ascii export support export of only the
11354         data separated by a column-delimiter.
11355         (ascii): better support for ascii export.
11356
11357         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11358
11359 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11360
11361         * tabular_funcs.C: use a "using std::getline" instead of the
11362         previous fix from Angus (necessary for cxx + lyxstring)
11363
11364 2001-12-24  Juergen Vigna  <jug@sad.it>
11365
11366         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11367
11368         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11369         problems. First check a minipage also if we have some ert-contents
11370         (not only on par->size(), second set the right depth of the paragraph
11371         on the relink to the root-paragraph-list!
11372
11373         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11374         which then did not anymore update the main paragraphs on undo/redo!
11375
11376 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11377
11378         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11379         code. Support all font-changing funcs (even those which are not in
11380         menu currently). Support for reporting font settings in
11381         mathed (disabled until Andre provides a function on mathed's side).
11382
11383         * func_status.h (toggle): small helper function to set toggle
11384         state on a flag.
11385
11386 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11387
11388         * tabular_funcs.C: getline -> std::getline
11389
11390 2001-12-21  Juergen Vigna  <jug@sad.it>
11391
11392         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11393         accessed and could be 0 (I couldn't generate this but it seems
11394         Michael could!).
11395
11396 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11399         * tabular_funcs.h: here and include iosfwd
11400
11401 2001-12-20  Juergen Vigna  <jug@sad.it>
11402
11403         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11404         inside inset but undo_par was.
11405
11406 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * Thesaurus.C: always include <config.h> in sources.
11409
11410         * Painter.h:
11411         * lyxlookup.h:
11412         * box.h: do not include <config.h> in header files
11413
11414         * text.C (paintLastRow): remove unused variable
11415
11416         * text.C (transformChar):
11417         (insertChar):
11418         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11419
11420         * Painter.C (text):
11421         * font.C (width): rewrite to use uppercase() instead of
11422         islower/toupper.
11423
11424         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11425
11426 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * lyxfind.C: clean up of find failure position change
11429
11430 2001-12-20  Juergen Vigna  <jug@sad.it>
11431
11432         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11433
11434         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11435         (TeXRow): added to LaTeX a single tabular row.
11436         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11437         (Latex): simplified and finally good LT-h/f support.
11438         (various_functions): just small adaptions for LT-h/f support.
11439
11440         * tabular_funcs.[hC]: added and moved here all not classfunctions
11441         of LyXTabular.
11442
11443 2001-12-19  Juergen Vigna  <jug@sad.it>
11444
11445         * tabular.[Ch]: better support for longtabular options (not finished
11446         yet!)
11447
11448 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11449
11450         * text.C (paintLastRow): use the label font instead of the font of
11451         the last character to compute the size of *_BOX. This makes more
11452         sense and avoids a crash with empty paragraphs.
11453         Use Painter::rectangle to draw EMPTY_BOX.
11454
11455 2001-12-19  Juergen Vigna  <jug@sad.it>
11456
11457         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11458         the paragraphs if the replaced paragraph is not the first one!
11459         Tried to delete not used paragraphs but does not work yet so for
11460         now it's inside #ifdef's and by default off!
11461
11462 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * MenuBackend.C: include "lyx_main.h" instead of declaring
11465         lastfiles (actually was declared as LastFiles* instead of a
11466         scoped_ptr).
11467
11468 2001-12-17  Juergen Vigna  <jug@sad.it>
11469
11470         * tabular.C (AppendColumn): applied John's fix
11471
11472 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11473
11474         * BufferView.h:
11475         * BufferView.C:
11476         * BufferView_pimpl.h:
11477         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11478
11479         * Makefile.am:
11480         * box.h: new start of class for above
11481
11482         * lyxfunc.C: ignore space-only minibuffer dispatches.
11483           Show the command name when it doesn't exist
11484
11485         * minibuffer.C: don't add empty lines to the history
11486
11487         * minibuffer.C: add a space on dropdown completion
11488
11489 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * text.C: fix line above/below drawing in insets
11492
11493 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * lyxlength.C (LyXLength): Initialize private variables.
11496
11497 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11498
11499         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11500         when inserting error insets.
11501
11502 2001-12-13  Juergen Vigna  <jug@sad.it>
11503
11504         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11505         actually sometimes the before-paragraph.
11506         (setUndo): don't clear the redostack if we're not actually undoing!
11507
11508 2001-12-06  Juergen Vigna  <jug@sad.it>
11509
11510         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11511         and fixed redoing of main paragraph, so we can use it now ;)
11512
11513         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11514
11515 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11516
11517         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11518         Juergen's request
11519
11520 2001-12-13  André Pönitz <poenitz@gmx.net>
11521
11522         * undostack.[Ch]:
11523         * undo_func.C: minor cleanup
11524
11525 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11528         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11529         font in urw-fonts package which is marked as -urw-fontspecific and
11530         does not work (incidentally, changing the encoding in the
11531         fonts.dir of this package to -adobe-fontspecific fixes the
11532         problem).
11533
11534         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11535         is a crash when undoing first paragraph (Juergen, please take a
11536         look). THis does not mean the undo fix is wrong, just that it
11537         uncovers problems.
11538
11539         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11540         the (Paragraph*) version when needed instead of duplicating the
11541         code.
11542
11543         * text.C (workWidth): use Inset::parOwner to find out where the
11544         inset has been inserted. This is a huge performance gain for large
11545         documents with lots of insets. If Inset::parOwner is not set, fall
11546         back on the brute force method
11547
11548         * paragraph_pimpl.C (insertInset):
11549         * paragraph.C (Paragraph):
11550         (cutIntoMinibuffer): set parOwner of insets when
11551         inserting/removing them
11552
11553         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11554
11555 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11556
11557         * commandtags.h:
11558         * LyXAction.C:
11559         * lyx_main.C:
11560         * lyxfunc.C:
11561         * mathed/formulabase.C:
11562         * mathed/math_cursor.[Ch]:
11563         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11564
11565
11566 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * lyxlength.[Ch] (operator!=): new function
11569
11570 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11571
11572         * text.C (workWidth): use Inset::parOwner to find out where the
11573         inset has been inserted. This is a huge performance gain for large
11574         documents with lots of insets. If Inset::parOwner is not set, fall
11575         back on the brute force method
11576
11577         * paragraph_pimpl.C (insertInset):
11578         * paragraph.C (Paragraph):
11579         (cutIntoMinibuffer): set parOwner of insets when
11580         inserting/removing them
11581
11582         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11583
11584 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11585
11586         * tabular-old.C (getTokenValue):
11587         * tabular.C (getTokenValue):
11588         (write_attribute): new versions for LyXLength
11589         (everywhere): adjust the use of widths
11590
11591         * tabular.h: change the type of widths from string to LyXLength
11592
11593 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11594
11595         * paragraph.C: fixed missing line number count when exporting
11596         Environments to LaTeX file
11597
11598         * buffer.C: added informational message for checking line numbers.
11599
11600 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11601
11602         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11603         paragraph, do the 'double space' part, but not the 'empty
11604         paragraph' one.
11605
11606         * text.C (workWidth): small optimization
11607         (getLengthMarkerHeight): use minimal size for negative lengths.
11608
11609 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11610
11611         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11612
11613         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11614
11615 2001-12-11  André Pönitz <poenitz@gmx.net>
11616
11617         * FontLoader.C:
11618         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11619
11620 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * text2.C: keep selection on a setFont()
11623
11624 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11625
11626         * lyx_cb.C: another bv->text misuse, from insert label
11627
11628 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * kbsequence.h:
11631         * kbsequence.C: re-instate nmodifier mask
11632
11633 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11634
11635         * lyx_main.h: make lyxGUI private.
11636
11637 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * lyxfind.C: place the cursor correctly on failed search
11640
11641 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11642
11643         * text.C (getLengthMarkerHeight): for small heights, the arrows
11644         are not always on top/bottom of the text
11645         (drawLengthMarker): smaller arrows; take the left margin in
11646         account; draw also vfills.
11647         (paintFirstRow):
11648         (paintLastRow): remove special code for vfill and standard spaces,
11649         since everything is handled in drawLengthMarker now.
11650
11651 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11652
11653         * buffer.C (insertErtContents): try to handle font and language
11654         interaction a bit better.g
11655
11656         * ColorHandler.C (updateColor): change the hash to cover the whole
11657         LColor enum, ws cleanup
11658         (getGCLinepars): ditto
11659         (getGCLinepars): only lookup in the linecache once.
11660
11661 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11662
11663         * iterators.C (operator++): Make the iterator more robust
11664
11665         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11666         (John's patch)
11667         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11668
11669 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * lyxtext.h:
11672         * text.C: better added space drawing
11673
11674 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11675
11676         * LyXView.C:
11677         * BufferView2.C: fix layout combo update on inset unlock
11678
11679 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * Makefile.am: don't compile unused files
11682
11683 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * lyxfunc.C:
11686         * commandtags.h:
11687         * LyXAction.C: remove old LFUN_LAYOUTNO
11688
11689 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * paragraph_pimpl.h:
11692         * paragraph_pimpl.C: isTextAt() doesn't need font param
11693
11694 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * lyxlex.h:
11697         * lyxlex.C: little cleanup
11698
11699 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * BufferView_pimpl.C: fix insertAscii for insets
11702
11703 2001-12-05  Juergen Vigna  <jug@sad.it>
11704
11705         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11706         set the right font on the "multi" paragraph paste!
11707
11708 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * trans_decl.h:
11711         * trans_mgr.[Ch]:
11712         * trans.[Ch]:
11713         * lyxgluelength.C:
11714         * lyxlength.C: remove out-commented code.
11715
11716         * BufferView_pimpl:
11717         * CutAndPaste.C:
11718         * DepTable.C:
11719         * buffer.C:
11720         * chset.C:
11721         * lastfiles.C:
11722         * lyxlex.C:
11723         * lyxlex_pimpl.C:
11724         * lyxserver.C:
11725         * screen.C:
11726         * tabular-old.C:
11727         * tabular.C:
11728         * text.C:
11729         * trans_mgr.C:
11730         * vc-backend.C: change "while(" to "while ("
11731
11732         * lyxlength.[Ch]: add zero function to check if length is zero or
11733         not
11734         * lyxgluelength.C: use it
11735
11736 2001-12-05  Allan Rae  <rae@lyx.org>
11737
11738         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11739         Works for 2.95.3, from what I understand of Garst's reports this should
11740         work for other g++ versions.  We're screwed if the abs(int) definition
11741         changed between bugfix releases of gcc.
11742
11743 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11744
11745         * text.C: fix chapter label offset !
11746
11747 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * lyxtext.h:
11750         * text.C: fix hfill at end of line, clean up
11751
11752 2001-12-04  Juergen Vigna  <jug@sad.it>
11753
11754         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11755         that we force an update of the inset and it's owners if neccessary.
11756
11757 2001-12-03  Juergen Vigna  <jug@sad.it>
11758
11759         * text.C (rowLast): simplified code
11760
11761 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * lyxfunc.C: fix show options on timeout
11764
11765 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11766
11767         * screen.C (topCursorVisible): scroll half a page when the cursor
11768         reached top of bottom of screen
11769
11770 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11771
11772         * minibuffer.C: deactivate on loss of focus
11773
11774 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * vspace.[Ch] (operator!=): add operator.
11777
11778 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * BufferView_pimpl.C: refuse to open an inset when
11781         there's a selection.
11782
11783 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * BufferView_pimpl.C: allow to click on RHS of full row insets
11786
11787 2001-11-30  Juergen Vigna  <jug@sad.it>
11788
11789         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11790         insets for undo reasons.
11791
11792 2001-11-28  André Pönitz <poenitz@gmx.net>
11793
11794         * vspace.[Ch]: cosmetical changes
11795
11796 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * LyXAction.h:
11799         * LyXAction.C:
11800         * lyxfunc.h:
11801         * lyxfunc.C:
11802         * kbmap.h:
11803         * kbmap.C:
11804         * lyxrc.C:
11805         * kbsequence.h:
11806         * kbsequence.C: part re-write of old kb code
11807
11808         * Painter.C:
11809         * WorkArea.C: remove Lgb_bug_find_hack
11810
11811 2001-11-30  José Matos <jamatos@fep.up.pt>
11812
11813         * buffer.C (makeDocBookFile): add a comment to point a hack.
11814         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11815         Fixed a double write of labels.
11816
11817 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11818
11819         * LaTeX.C:
11820         * LaTeX.h Fixed bug in LaTeX class where it would not
11821         re-run latex if no depfiles were changed, but the .dvi was removed.
11822
11823 2001-11-28  André Pönitz <poenitz@gmx.net>
11824
11825         * all the files from the change on 2001/11/26:
11826         use lyx::layout_type instead of LyXTextClass::size_type
11827         use lyx::textclass_type instead of LyXTextClassList::size_type
11828
11829 2001-11-29  Juergen Vigna  <jug@sad.it>
11830
11831         * text.C: added support for paragraph::isFreeSpacing()
11832
11833         * buffer.C: same as above
11834
11835         * paragraph.h: inserted isFreeSpacing() function to enable
11836         FreeSpacing inside InsetERT.
11837
11838         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11839         of the paragraph's in the cut/copy buffer to 0!
11840
11841         * text2.C (removeRow): remove the assert as it can!
11842
11843         * lyxtext.h: added helper function firstRow returning firstrow and
11844         made firstrow private again.
11845
11846         * BufferView2.C (lockInset): don't relock if we're already locked!
11847
11848         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11849         the only paragraph.
11850         (removeRow): added Assert::(firstrow)
11851
11852         * debug.C: forgot to add INSETTEXT here.
11853
11854 2001-11-28  Juergen Vigna  <jug@sad.it>
11855
11856         * sp_spell.C (initialize): changed error text to more general
11857         spellchecker command use (not only ispell!)
11858
11859         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11860
11861         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11862
11863 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11864
11865         * vspace.C: initialise lyxgluelength on failure
11866
11867 2001-11-28  Allan Rae  <rae@lyx.org>
11868
11869         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11870         declaration & definition that looks like a function declaration.
11871
11872 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11873
11874         * BufferView2.C (copy):
11875         (copyEnvironment): do not clear the selection when doing a copy.
11876
11877         * text.C (paintFirstRow): compilation fix
11878
11879 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11880
11881         * tabular.C (Latex): correct line count when writing latex.
11882
11883 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * paragraph_pimpl.h:
11886         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11887           bug a bit
11888
11889 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * text.C:
11892         * LColor.h:
11893         * LColor.C: change vfillline->added_space
11894
11895         * text.C: add markers and text for added space
11896
11897         * vspace.C: fix comment
11898
11899 2001-11-28  André Pönitz <poenitz@gmx.net>
11900
11901         * paragraph.C: whitespace changes
11902         * all the other files from the change on 2001/11/26:
11903         change *::pos_type into lyx::pos_type
11904
11905 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11906
11907         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11908         language of the document when inserting error insets.
11909
11910 2001-11-26  André Pönitz <poenitz@gmx.net>
11911
11912         * BufferView_pimpl.[Ch]:
11913         *       CutAndPaste.C:
11914         * buffer.[Ch]:
11915         * lyxcursor.[Ch]:
11916         * lyxfind.C:
11917         * lyxfunc.C:
11918         * lyxrow.[Ch]:
11919         * paragraph.[Ch]:
11920         * paragraph_pimpl.[Ch]:
11921         * sp_spell.C:
11922         * text.C:
11923         * text2.C: reduce header dependencies, introduce type for positions
11924
11925 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * <various>: change to use Alert.h
11928
11929 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11930
11931         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11932         when encountering an unknown token.
11933         (readLyXformat2): Show an error message if there were unknown tokens.
11934
11935 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11936
11937         * BufferView2.C:
11938         * BufferView_pimpl.C:
11939         * buffer.C:
11940         * paragraph.h:
11941         * text.C:
11942         * text2.C: use par->isInset()
11943
11944 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * paragraph_pimpl.h:
11947         * paragraph_pimpl.C: cleanup
11948
11949 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11950
11951         * text2.C (removeRow):
11952         * text.C (setHeightOfRow): remove useless (and costly) call to
11953         getRow.
11954
11955 2001-11-20  Allan Rae  <rae@lyx.org>
11956
11957         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11958         Now need Inset*::checkInsertChar() to return true for appropriate
11959         cases so that the characters in the minibuffer will actually be
11960         inserted.
11961
11962 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11963
11964         * text.C: change the order of the includes.
11965         (workWidth): initialize it at once.
11966         (workWidth): make maxw unsigned
11967         (setHeightOfRow): remove unused variable (inset)
11968         (selectSelectedWord): remove unused variable (inset)
11969         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11970
11971 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11972
11973         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11974         server is not running.
11975         (openConnection):
11976         (closeConnection): add debug info when server is disabled.
11977
11978         * ColorHandler.C (getGCForeground): send debug message to GUI
11979         channel.
11980
11981         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11982
11983         * kbmap.C (bind): modify because return conventions of
11984         kb_sequence::parse have changed.
11985
11986         * kbsequence.C (parse): only ignore spaces and not any stupid
11987         control character. This avoids tests like s[i] <= ' ', which are
11988         guaranteed to fail with 8bit characters and signed chars.
11989         Change return code to string::npos when there have been no error
11990         (0 was a bad idea when error is at first character)
11991
11992 2001-11-14  José Matos  <jamatos@fep.up.pt>
11993
11994         * buffer.h:
11995         * buffer.C (simpleDocBookOnePar): removed unused argument.
11996
11997 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11998
11999         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12000         insets which are part of a word. Paragraph::isLetter takes care of
12001         that now. Use Paragraph::isInset to identify insets.
12002         (selectSelectedWord): do not test for hyphenation break.
12003
12004         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12005         that protected spaces are considered as spaces.
12006
12007         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12008         Inset::isLetter.
12009
12010 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * lyxserver.h:
12013         * lyxserver.C: fix it. and small cleanup.
12014
12015 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * BufferView_pimpl.C: use inline helpers
12018
12019         * LaTeXFeatures.h:
12020         * LaTeXFeatures.C: fix typos
12021
12022         * Spacing.h:
12023         * Spacing.C: move spacing_string into class
12024
12025         * ToolbarDefaults.C: move stuff into namespace anon
12026
12027         * layout.h: update enum
12028
12029         * lyxfunc.C: use better debug
12030
12031         * minibuffer.h: fix typo
12032
12033         * debug.h:
12034         * debug.C:
12035         * WorkArea.C: add and use Debug::WORKAREA
12036
12037         * lyxtext.h:
12038         * text.C:
12039         * text2.C: code re-organisation, inline helpers
12040
12041 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12042
12043         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12044         std::vector.empty().
12045
12046 2001-11-09  Allan Rae  <rae@lyx.org>
12047
12048         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12049         '\n's after tables.  Tabular and ERT inset work now makes this no
12050         longer necessary.
12051
12052 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * minibuffer.h:
12055         * minibuffer.C: fix crash, improve drop-down completion
12056
12057 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12058
12059         * lyxserver.h:
12060         * lyxserver.C: invalidate fd's when doing endPipe()
12061
12062 2001-11-08  José Matos  <jamatos@fep.up.pt>
12063
12064         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12065         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12066
12067         * paragraph.h:
12068         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12069
12070 2001-11-07  José Matos  <jamatos@fep.up.pt>
12071
12072         * buffer.h:
12073         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12074         const qualifier.
12075
12076         * buffer.C (sgmlOpenTag):
12077         * buffer.C (sgmlCloseTag): removed debug info.
12078
12079         * buffer.h (sgmlOpenTag):
12080         * buffer.h (sgmlCloseTag): made public.
12081
12082 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12083
12084         * buffer.C (saveParamsAsDefaults):
12085         * lyx_cb.C (MenuLayoutSave): remove
12086
12087         * LyXAction.C (init):
12088         * commandtags.h:
12089         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12090
12091 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12092
12093         * buffer.C (setPaperStuff): removed from here...
12094
12095         * bufferparams.C (setPaperStuff): ... and moved there.
12096
12097 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12098
12099         * minibuffer.h:
12100         * minibuffer.C:
12101         * XFormsView.C: add support for drop-down completion
12102
12103 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12104
12105         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12106         commands.
12107
12108 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12109
12110         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12111         disabled.
12112
12113 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * lyx_main.C: change ref to known bugs
12116
12117 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12118
12119         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12120         to work around older babel problems.
12121
12122 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12123
12124         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12125
12126 2001-10-24  Juergen Vigna  <jug@sad.it>
12127
12128         * tabular-old.C (ReadOld): below variable changes reflected.
12129
12130         * tabular.[Ch]: added ltType struct for longtable header/footer
12131         defines and changed all instances where they are used. Added
12132         future support for double top/bottom rows.
12133
12134 2001-10-24  José Matos  <jamatos@fep.up.pt>
12135
12136         * buffer.h (docbookHandleCaption):
12137         * buffer.C (docbookHandleCaption): removed unused function.
12138         (makeDocBookFile): moved docbook supported version to v4.1.
12139
12140 2001-10-24  José Matos  <jamatos@fep.up.pt>
12141
12142         * tabular.h:
12143         * tabular.C (docbookRow): new function to export docbook code of a row.
12144         (DocBook): now honors the longtable flags.
12145
12146 2001-10-23  José Matos  <jamatos@fep.up.pt>
12147
12148         * LaTeXFeatures.h:
12149         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12150         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12151
12152         * buffer.C (makeLinuxDocFile):
12153         (makeDocBookFile): reworked the preamble, more clean, and with
12154         support for lyx defined entities. Changed the document declaration
12155         to be more XML friendly.
12156
12157         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12158         if we need to output XML that should be done with a filter.
12159
12160 2001-10-22  Juergen Vigna  <jug@sad.it>
12161
12162         * sp_pspell.h (class PSpell): add alive function needed in the
12163         controller to see if the spellchecker could be started.
12164
12165 2001-10-22  Juergen Vigna  <jug@sad.it>
12166
12167         * buffer.C (insertStringAsLines): modify the font for inserting
12168         chars in certain conditions by calling checkInsertChar(font).
12169
12170 2001-10-19  Juergen Vigna  <jug@sad.it>
12171
12172         * text.C (workWidth): use getRow instead of wrong algorithm.
12173         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12174
12175 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12176
12177         * lyxserver.h:
12178         * lyxserver.C:
12179         * lyx_main.h:
12180         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12181
12182 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * text.C (workWidth): do not search for the exact row when
12185         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12186         optimization for big documents.
12187
12188 2001-10-18  Juergen Vigna  <jug@sad.it>
12189
12190         * text.C (workWidth): new function with added Inset * parameter.
12191
12192 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12193
12194         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12195
12196         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12197         change return type of getColumnNearX.
12198
12199
12200         * text.C (changeRegionCase): use uppercase/lowercase instead of
12201         toupper/tolower.
12202         (leftMargin):
12203         (rightMargin): simplify code by factoring out the uses of
12204         textclasslist.
12205         (labelFill):
12206         (numberOfHfills):
12207         (setHeightOfRow):
12208         (appendParagraph): use Paragraph::size_type
12209
12210 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12211
12212         * vspace.C (asLatexString): add a missing break
12213
12214 2001-10-15  Herbert Voss  <voss@perce.de>
12215
12216         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12217
12218 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12219
12220         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12221         is not available.
12222
12223 2001-10-10  André Pönitz <poenitz@gmx.net>
12224
12225         * lyxfunc.C: removed greek_kb_flag.
12226
12227 2001-10-10  Herbert Voss  <voss@perce.de>
12228
12229         * lyx_main.C: delete global string help_lyxdir.
12230
12231 2001-10-09  Herbert Voss  <voss@perce.de>
12232
12233         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12234
12235         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12236
12237         * lyx_main.C: added global string help_lyxdir.
12238
12239         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12240
12241 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12242
12243         * lyxrc.C (set_font_norm_type): support iso8859-4
12244
12245 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12246
12247         * LaTeX.C (deplog): add another regex for MikTeX
12248
12249 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12250
12251         * lyxrc.C (set_font_norm_type): support iso8859-3
12252
12253 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12254
12255         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12256
12257         * LaTeXFeatures.C: remove special case of french and index
12258
12259         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12260         before \begin{document}). This solves several incompatibilities.
12261
12262 2001-10-03  Garst Reese  <reese@isn.net>
12263
12264         * lyx_cb.C: change CheckTex error msg.
12265
12266 2001-10-03  José Matos  <jamatos@fep.up.pt>
12267
12268         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12269
12270 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12271
12272         * .cvsignore: update
12273
12274         * lyx_main.C (commandLineVersionInfo): use new style version info.
12275
12276         * buffer.C (writeFile):
12277         (makeLaTeXFile):
12278         (makeLinuxDocFile):
12279         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12280
12281         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12282
12283         * version.h: update to use stuff in version.C
12284
12285         * version.C.in: new file. Contains version information determined
12286         at compile time. This is a merging of version.h and
12287         version_info.h.in.
12288
12289 2001-10-03  Juergen Vigna  <jug@sad.it>
12290
12291         * BufferView_pimpl.C (update): don't change "dirty" status in
12292         updateInset call.
12293
12294 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12295
12296         * WorkArea.C (c-tor): re-position version string slightly.
12297
12298 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12299
12300         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12301         revert to previous code.
12302
12303         WorkArea.[Ch]: (show, destroySplash): methods removed.
12304
12305         WorkArea.C: rework code so that it's an amalgam of the codes before and
12306         after the splash screen was moved to WorkArea.
12307
12308 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12309
12310         * lyxrc.C (read):
12311         * vspace.C (inPixels):
12312         (lyx_advance):
12313         * kbmap.C (bind):
12314         * buffer.C (insertStringAsLines):
12315         (asciiParagraph): fix types to be large enough
12316
12317         * lyxlex_pimpl.h: change member status from short to int
12318
12319         * layout.h: fix type of endlabeltype
12320
12321         * kbmap.C (bind):
12322         * kbsequence.C (parse): change return type to string::size_type
12323
12324         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12325         variable
12326
12327         * Bullet.C (bulletSize):
12328         (bulletEntry): do not use short ints as parameters
12329
12330         * BufferView2.C (insertLyXFile): change a char to an int.
12331
12332         * WorkArea.C (WorkArea): remove unneeded floats in computation
12333
12334 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12335
12336         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12337
12338         * paragraph.C (asString): Do not ignore newline/hfill chars when
12339         copying to the clipboard.
12340
12341 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12342
12343         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12344         after a multi-line inset.
12345
12346 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12347
12348         * paragraph.C (validate): Set NeedLyXFootnoteCode
12349
12350 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12351
12352         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12353         and decrease-error to decrease.
12354
12355 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12358         it more readable (should be equivalent)
12359
12360 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12361
12362         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12363
12364 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12365
12366         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12367         of a cursor (row, etc.) after a character has been deleted
12368         (deleteEmptyParagraphMechanism): call the method above on _all_
12369         cursors held by the LyXText when a double space has been
12370         detected/deleted.
12371
12372 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12373
12374         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12375         pixmap.
12376         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12377
12378         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12379         background. Use greyOut() and the new show() methods to toggle between
12380         the foreground and background. Add code to remove the splash after
12381         its initial showing.
12382
12383         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12384         (create_forms): no longer call Dialogs::showSplash.
12385
12386 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12387
12388         * .cvsignore: add version_info.h
12389
12390 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12391
12392         * version_info.h.in: new file
12393
12394         * Makefile.am: add version_info.h.in
12395
12396         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12397         version_info.h instead of VERSION_INFO
12398
12399 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12400
12401         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12402         The ERT inset now returns string().
12403
12404 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12405
12406         * lyxtext.h, text.C (selectNextWord): renamed as
12407         selectNextWordToSpellcheck.
12408
12409         * text.C (selectNextWordToSpellcheck): Modified to not select
12410         words inside an ERT inset.
12411
12412 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12413
12414         * lyx_cb.C (MenuLayoutSave): change a bit the question
12415
12416         * sp_base.h: include <sys/types.h>
12417
12418 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12419
12420         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12421
12422 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12423
12424         * several files: fix typos in user-visible strings
12425
12426 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12427
12428         * text2.C (pasteSelection): do not set the selection, since it
12429         will be cleared later. Actually, the intent was to fix the way the
12430         selection was set, but I figured rmoving the code was just as good.
12431
12432 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12433
12434         * FontLoader.C (available): Check if font is available without
12435         loading the font.
12436
12437 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12438
12439         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12440
12441 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * lyxrc.[Ch]: added display_graphics variable and associated code.
12444
12445 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12446
12447         * bufferparams.C (hasClassDefaults): new method. Returns true if
12448         the buffer parameters correspond to known class defaults
12449
12450 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12451
12452         * XFormsView.C (show): set minimum size to the main window.
12453
12454 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * text2.C (copySelection):
12457         (cutSelection):
12458         * lyxfind.C (LyXReplace):
12459         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12460         LyXText::selectionAsString.
12461
12462         * paragraph.C (asString): add "label" argument to the second form
12463
12464         * text2.C (selectionAsString): add "label" argument and pass it to
12465         Paragraph::asString.
12466
12467 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12468
12469         * lyx_main.C (commandLineHelp): remove version information
12470
12471 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12472
12473         * lyx_main.C: add -version commandline option
12474
12475 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * paragraph.h: make the optional constructor arg required instead.
12478         some modifications to other files because of this.
12479
12480         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12481
12482         * lyxserver.C (C_LyXComm_callback): make it static
12483
12484         * lyx_main.C (error_handler): make it static
12485
12486         * lyx_gui.C (LyX_XErrHandler): make it static
12487
12488         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12489
12490         * WorkArea.C: make the extern "C" methods static.
12491
12492         * Makefile.am (lyx_LDADD): simplify
12493
12494 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12495
12496         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12497         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12498
12499         * LyXAction.C (init):
12500         * lyxfunc.C (dispatch): associated code removal.
12501
12502 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12503
12504         * lyxfont.h (isSymbolFont): shut off warning
12505
12506         * text.C (setHeightOfRow):
12507         (getVisibleRow): fix crash with empty paragraphs which have a
12508         bottom line
12509
12510 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12511
12512         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12513         code.
12514
12515 2001-09-04  José Matos  <jamatos@fep.up.pt>
12516         * buffer.C
12517         * buffer.h
12518         * tabular.C (docbook): rename docBook method to docbook.
12519
12520 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12521
12522         * Makefile.am: add dependencies to main.o.
12523
12524 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12525
12526         * FontLoader.C (available): Return false if !lyxrc.use_gui
12527
12528 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12529
12530         * FontInfo.C (query):
12531         * converter.C (view):
12532         * importer.C (Import):
12533         * exporter.C (Export): Can not -> cannot.
12534
12535 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * BufferView_pimpl.C: allow to create index inset even if
12538           string is empty
12539
12540 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * buffer.C (getLists): replace boost::tie code with an explicit pair
12543         as boost::tie can break some compilers.
12544
12545         * iterators.h: Added a std:: declaration to the return type of
12546         ParIterator::size.
12547
12548 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12551           case.
12552
12553 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12554
12555         * iterators.[Ch]: New files. Provide paragraph iterators.
12556
12557         * buffer.C (changeLanguage): Use paragraph iterators.
12558         (isMultiLingual): ditto
12559
12560         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12561
12562 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12563
12564         * FontLoader.C: Support for cmr font.
12565
12566 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12567
12568         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12569         (available): New method.
12570
12571         * FontInfo.C (getFontname): Use scalable fonts even when
12572         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12573         found.
12574
12575 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12576
12577         * converter.C (Formats::view): reverted! Incorrect fix.
12578
12579 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12580
12581         * converter.C (Formats::view): only output the -paper option
12582         if the dvi viewer is xdvi, thereby fixing bug #233429.
12583
12584 2001-08-23  Herbert Voss  <voss@perce>
12585
12586         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12587
12588 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12589
12590         * Spacing.h (Spacing): Set space to Default on in the default
12591         constructor.
12592
12593 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * vc-backend.h (RCS::versionString): add RCS to version
12596         (CVS::versionString): add CVS to version
12597
12598         * vc-backend.C (scanMaster): do not add CVS to version.
12599         (scanMaster): do not add RCS to version
12600
12601         * lyxvc.C (versionString): new method
12602
12603         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12604
12605 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12606
12607         * Spacing.C (set): initialize fval
12608
12609 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12610
12611         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12612         " or \.
12613
12614 2001-08-16  Juergen Vigna  <jug@sad.it>
12615
12616         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12617
12618 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12619
12620         * BufferView_pimpl.C:
12621         * figureForm.C:
12622         * lyxtext.h:
12623         * text2.C: setParagraph takes linespacing now
12624
12625 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * LyxAction.C: add internal LFUN_CITATION_INSERT
12628
12629         * LyXView.C: actually apply fix
12630
12631         * bufferlist.C: fix open non-existent file
12632
12633         * lyxfind.C: fix indentation
12634
12635         * lyxfunc.C: remove unneeded assert, fix typo
12636
12637 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12638
12639         * MenuBackend.C: use "Floatname List"
12640
12641 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12642
12643         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12644         when converting LaTeX layout to insetERT.
12645         Generate a non-collapsed float when reading old float
12646
12647 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12648
12649         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12650         ERT insets.
12651
12652 2001-08-13  Juergen Vigna  <jug@sad.it>
12653
12654         * text.C (fill): return 0 instead of 20 as this seems to be the more
12655         correct value.
12656
12657 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12658
12659         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12660         lyxrc.font_norm.
12661
12662 2001-08-13  Juergen Vigna  <jug@sad.it>
12663
12664         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12665         casesensitive off.
12666         (SearchBackward): comment out the unlocking of the inset_owner this
12667         should not be needed!
12668
12669 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12670
12671         * Many files: Remove inherit_language, and add latex_language
12672
12673         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12674         collapsible insets.
12675
12676 2001-08-10  Juergen Vigna  <jug@sad.it>
12677
12678         * text.C (prepareToPrint): fixed hfill-width in draw!
12679
12680         * BufferView2.C (selectLastWord): save the selection cursor as this
12681         now is cleared in the function LyXText::clearSelection!
12682
12683 2001-08-08  Juergen Vigna  <jug@sad.it>
12684
12685         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12686         BACKSPACE type functions.
12687
12688         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12689         is only cutted from the document but not put in the cut-buffer, where
12690         still the old stuff should be.
12691
12692         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12693
12694         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12695
12696         * tabular.C (SetWidthOfCell): fixed special case where the width
12697         was not updated!
12698         (LeftLine): handle '|' in align_special.
12699         (RightLine): ditto
12700         (LeftAlreadyDrawed): ditto
12701         (SetWidthOfCell): ditto
12702
12703 2001-08-07  Juergen Vigna  <jug@sad.it>
12704
12705         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12706
12707 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12708
12709         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12710         * lyxlex.[hC]: ditto
12711
12712 2001-08-06  Juergen Vigna  <jug@sad.it>
12713
12714         * text.C (getVisibleRow): fix up row clearing a bit.
12715
12716 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12717
12718         * minibuffer.C: make sure the X server sees the changes in the input.
12719
12720 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12721
12722         * paragraph.C (getFont): split into...
12723         (getLabelFont): this
12724         (getLayoutFont): and this
12725         * paragraph_pimpl.C (realizeFont): calling this
12726
12727         * text2.C (getFont): split into...
12728         (getLayoutFont): this
12729         (getLabelFont): and this
12730         (realizeFont): all three calling this
12731
12732         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12733         files where used.
12734
12735 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12736
12737         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12738
12739 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12740
12741         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12742         layouts from the Quote inset insertion.
12743
12744 2001-08-03  Juergen Vigna  <jug@sad.it>
12745
12746         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12747
12748         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12749         only if status not is already CHANGED_IN_DRAW (second level).
12750
12751         * text.C (draw): don't set the need_break_row when inside an
12752         InsetText LyXText.
12753
12754 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * buffer.C (parseSingleLyXformat2Token): handle more latex
12757         conversion cases.
12758
12759         * bufferview_funcs.[hC]: change function names to
12760         begin with small char, adjust other files.
12761
12762 2001-08-02  André Pönitz <poenitz@gmx.net>
12763
12764         * lyxfunc.C:
12765         BufferView_pimpl.C: remove broken special code for math-greek
12766
12767 2001-08-02  Juergen Vigna  <jug@sad.it>
12768
12769         * BufferView_pimpl.C (update): redone this function so that we
12770         update the text again if there was a CHANGE_IN_DRAW.
12771
12772         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12773         (drawFromTo): added a new internal bool which is used by draw() and
12774         redraw() function.
12775         (general): some cursor drawing problems fixed.
12776
12777 2001-08-01  Juergen Vigna  <jug@sad.it>
12778
12779         * lyxfind.C (LyXFind): fixed
12780         (SearchForward): ditto
12781         (SearchBackward): ditto
12782
12783         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12784         spurius drawing of the cursor in the main area.
12785
12786         * text2.C (status): small fix which could lead to a segfault!
12787         (clearSelection): remove unneeded BufferView param.
12788
12789 2001-08-01  André Pönitz <poenitz@gmx.net>
12790
12791         * lyxfunc.C: small change due to changed mathed interface
12792
12793 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12796
12797 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * lyxfunc.c: fail gracefully if file doesn't exist
12800
12801         * LyXSendto.C:
12802         * buffer.C:
12803         * lyxfunc.C:
12804         * BufferView_pimpl.C: IsDirWriteable() proto changed
12805
12806         * LyXView.C: fix updateWindowTitle() to store the last title
12807
12808 2001-07-31  Juergen Vigna  <jug@sad.it>
12809
12810         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12811         the font (wrong since using of Paragraph::highestFontInRange).
12812
12813         * paragraph.C (highestFontInRange): added a default_size parameter.
12814
12815         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12816         (setHeightOfRow): reformat
12817
12818 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12819
12820         * converter.[hC] + affected files: move to (inital-char)lowercase
12821         function names.
12822
12823         * ParagraphParameters.C (ParagraphParameters): remove commented code
12824
12825         * PainterBase.[Ch]: remove commented code
12826
12827         * LaTeXFeatures.h: add "bool floats" for float.sty
12828
12829         * LaTeXFeatures.C (LaTeXFeatures): init floats
12830         (require): handle float
12831         (getPackages): do it with floats
12832
12833 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * BufferView_pimpl.C (Dispatch): improve handling of
12836         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12837
12838         * commandtags.h: #include lyxfont.h here temporarily to avoid
12839         keybinding bug.
12840
12841         * bufferlist.h: include LString.h here.
12842
12843 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12844
12845         * text2.C (getStringToIndex): new method.
12846
12847 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12848
12849         * *: Reduced header file dependencies all over.
12850
12851 2001-07-30  Baruch Even  <baruch@lyx.org>
12852
12853         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12854
12855 2001-07-29  Baruch Even  <baruch@lyx.org>
12856
12857         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12858
12859 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12860
12861         * ParameterStruct.h (endif): add a default constructor to make
12862         sure that all variables is initialized.
12863
12864         * ParagraphParameters.C (ParagraphParameters): adjust
12865
12866 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12869         index; also, check that there is something to index, and that it
12870         does not span over several paragraphs.
12871         (doubleClick): use WHOLE_WORD_STRICT for double click.
12872
12873         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12874
12875         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12876         scheme.
12877
12878 2001-07-26  Baruch Even  <baruch@lyx.org>
12879
12880         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12881         an InsetFig figure, backwards compatible reading of old figure code.
12882
12883 2001-07-27  Juergen Vigna  <jug@sad.it>
12884
12885         * text2.C: font.realize function adaption.
12886
12887         * text.C (draw): add a warnings lyxerr text if needed.
12888
12889         * layout.C: font.realize function adaption.
12890
12891         * language.C: add inherit_language and implement it's handlings
12892
12893         * bufferview_funcs.C (StyleReset): remove language parameter from
12894         font creation (should be language_inherit now).
12895
12896         * bufferparams.C (writeFile): handle ignore_language.
12897
12898         * paragraph.C (getFontSettings): the language has to be resolved
12899         otherwise we have problems in LyXFont!
12900
12901         * lyxfont.C (lyxWriteChanges): added document_language parameter
12902         (update): removed unneeded language parameter
12903
12904         * paragraph.C (validate): fixed wrong output of color-package when
12905         using interface colors for certain fonts in certain environments,
12906         which should not seen as that on the final output.
12907
12908 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * BufferView_pimpl.C:
12911         * Thesaurus.h:
12912         * Thesaurus.C:
12913         * Makefile.am:
12914         * commandtags.h:
12915         * LyXAction.C: add thesaurus support
12916
12917         * lyxfind.h:
12918         * lyxfind.C: add "once" parameter, for thesaurus, to not
12919           move to the next match
12920
12921 2001-07-26  Juergen Vigna  <jug@sad.it>
12922
12923         * lyxfont.C (realize): honor ignore_language too!
12924         (resolved): ditto.
12925
12926         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12927
12928         * text.C (draw): one place more for ignore_language to not draw
12929         itself!
12930
12931 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12932
12933         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12934
12935 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12938         the minipage conversion problem.
12939
12940 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12943         insert an inset.
12944
12945 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * BufferView.h: don't forward declare WorkArea
12948
12949         * BufferView.C: don't include WorkArea.h
12950
12951 2001-07-25  André Pönitz <poenitz@gmx.net>
12952
12953         * commandtags.h:
12954         * LyXAction.C:
12955         * lyxfunc.C:  new LFUN 'math-space'
12956
12957         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12958
12959 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * text2.C (toggleInset): call open/close
12962
12963 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * lyxfunc.C (dispatch): add debug for the disabled case
12966
12967         * font.C (buttonText): make similar to rectText
12968
12969         * buffer.C (readInset): comment out parsing of insetlist and
12970         insttheorem
12971
12972         * PainterBase.C (rectText): small correction
12973
12974         * BufferView_pimpl.C: comment out insettheorem and insetlist
12975         * LyXAction.C: ditto
12976         * commandtags.h: ditto
12977
12978 2001-07-24  Juergen Vigna  <jug@sad.it>
12979
12980         * text.C (draw): honor the ignore_language.
12981
12982         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12983
12984 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12985
12986         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12987         char inset.
12988
12989 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12990
12991         * lyxtext.h: remove unused (and unimplemented) methods
12992
12993 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12994
12995         * text.C (getVisibleRow): honor background color
12996
12997         * PainterBase.h:
12998         * Painter.h: remove default color argument for fillRectangle
12999
13000         * text.C (backgroundColor): new method
13001
13002 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * text.C (getVisibleRow): adjust
13005
13006         * font.[Ch] (rectText): new method, metrics
13007         (buttonText): new method, metrics
13008
13009         * PainterBase.[hC]: make rectText and buttonText always draw and take
13010         fewer paramteres.
13011
13012 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13013
13014         * ToolbarDefaults.C (read):
13015         * MenuBackend.C (read): allow escaping in all strings
13016
13017         * BufferView_pimpl.C (insertAndEditInset): new method.
13018         (Dispatch): use insertAndEditInset whenever appropriate.
13019
13020         * BufferView_pimpl.C (insertNote): removed
13021
13022         * BufferView_pimpl.C (smartQuote): new method, moved from
13023         BufferView; if an insetquote cannot be inserted, insert a '"'
13024         character instead.
13025
13026         * BufferView2.C: remove insertCorrectQuote();
13027
13028         * lyxfunc.C (getStatus): Add support for all remaingin
13029         inset-insert lfuns.
13030
13031         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13032
13033         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13034         command (necessary to pass " as parameter of self-insert.
13035
13036         * text.C (selectWordWhenUnderCursor):
13037         (selectWord): add word_location parameter
13038         (selectWordWhenUnderCursor): same + remove special code for word
13039         boundary.
13040         (selectNextWord): use kind() to guess type of insetspecialchar,
13041         not latex().
13042
13043         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13044         (insertErtContents): create ert insets as collapsed.
13045         (readInset): better compatibility code for Info inset.
13046
13047 2001-07-20  Juergen Vigna  <jug@sad.it>
13048
13049         * lyxfunc.C (dispatch): use always LyXFind now!
13050
13051         * text2.C (init): add a reinit flag so that the LyXText can be
13052         reinited instead of deleted and reallocated (used in InsetText).
13053
13054         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13055
13056         * text.C: ditto
13057
13058         * text2.C: ditto
13059
13060 2001-07-18  Juergen Vigna  <jug@sad.it>
13061
13062         * text.C (selectNextWord): handle insets inside inset by calling
13063         always the bv->text functions so that we can go up the_locking_inset!
13064
13065         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13066         in strange locations when inside an inset!
13067
13068         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13069         handling to include insets.
13070
13071         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13072
13073 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13074
13075         * LyXAction.C (init):
13076         * commandtags.h:
13077         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13078         LIGATURE_BREAK, since the name is so stupid.
13079
13080 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13081
13082         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13083         InsetInfos.
13084
13085         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13086
13087         * sp_form.[Ch]: remove.
13088
13089         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13090
13091         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13092         InsetInfo.
13093
13094         * src/buffer.C (readInset): ditto.
13095
13096 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13097
13098         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13099         menuSeparator(), endOfSentenceDot(), ldots() and
13100         hyphenationPoint(), which are therefore removed.
13101         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13102
13103         * LyXAction.C (init):
13104         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13105
13106         * paragraph.C (getWord): removed.
13107
13108         * BufferView_pimpl.C (Dispatch): use last word or selection for
13109         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13110
13111         * lyx_main.C (queryUserLyXDir): do not ask before creating
13112         user_dir, except if it has been named explicitely.
13113
13114 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13115
13116         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13117         a document of zero size.
13118
13119 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13120
13121         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13122         approriately in the c-tor and in require().
13123         (getPackages): output the appropriate LaTeX for natbib support.
13124
13125         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13126         variables "use_natbib" and "use_numerical_citations" when reading the
13127         LyX file.
13128         (readInset): read the various natbib cite commands.
13129         (validate): white-space change.
13130
13131         * bufferparams.[Ch]: new variables "bool use_natbib" and
13132         "bool use_numerical_citations".
13133         (writeFile): output them in the LyX file.
13134
13135 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13136
13137         * lyxfunc.C (getStatus): add support for all the inset insertion
13138         commands.
13139
13140         * text2.C (insertInset):
13141         * paragraph.C (insetAllowed):
13142         * BufferView_pimpl.C (insertInset): update to take in account the
13143         renaming of insertInsetAllowed
13144
13145         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13146
13147         * text2.C (getInset): new method. returns inset at cursor position.
13148
13149         * BufferView_pimpl.C (Dispatch): changes because of this.
13150
13151         * LyXAction.C (init): rename open-stuff to inset-toggle.
13152
13153         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13154
13155         * text2.C (toggleInset): renamed from openStuff; use
13156         Inset::open().
13157
13158 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13159
13160         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13161
13162         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13163
13164 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13165
13166         * buffer.C (readLyXformat2): Add filename to the error dialog
13167
13168 2001-07-18  Juergen Vigna  <jug@sad.it>
13169
13170         * tabular.C (GetCellNumber): put an assert here instead of the check!
13171
13172 2001-07-17  Juergen Vigna  <jug@sad.it>
13173
13174         * BufferView_pimpl.C (toggleSelection): adapted too.
13175
13176         * text.C (selectNextWord): adapted for use with insets.
13177         (selectSelectedWord): ditto
13178
13179 2001-07-17  Juergen Vigna  <jug@sad.it>
13180
13181         * sp_spell.C (PSpell): fix initialitation order.
13182
13183 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13184
13185         * paragraph.C: spacing
13186
13187 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13188
13189         * sp_spell.C: repair language selection for pspell
13190
13191 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * lyxfunc.h: change more methods to begin with lower char.
13194
13195 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13196
13197         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13198         for unknown layouts.
13199
13200 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13201
13202         * buffer.C (readLyXformat2): Generate an error dialog if there are
13203         unknown layouts.
13204
13205 2001-07-16  Juergen Vigna  <jug@sad.it>
13206
13207         * sp_spell.C: always compile ISpell part.
13208
13209         * lyxrc.C: added use_pspell entry and it's handling.
13210
13211 2001-07-13  Juergen Vigna  <jug@sad.it>
13212
13213         * sp_spell.C: removed double includes.
13214
13215 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13216
13217         Consistent use of Lsstream.h:
13218         * Lsstream.h: added using std::stringstream for consistencies sake.
13219
13220         * buffer.C: removed using std::stringstream
13221
13222         * lyxfont.C (stateText):
13223         * paragraph.C (asString):
13224         * text.C (selectNextWord, selectSelectedWord):
13225         * text2.C (setCounter):
13226         * vspace.C (asString, asLatexString):
13227         std::ostringstream -> ostringstream.
13228
13229 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13230
13231         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13232         * commandtags.h: add LFUN_HELP_ABOUTLYX
13233         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13234
13235 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13236
13237         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13238         cursorToggle()
13239         * lyx_gui_misc.C: remove spellchecker
13240         * lyxfunc.C: showSpellchecker
13241         * sp_base.h: added
13242         * sp_ispell.h: added
13243         * sp_pspell.h: added
13244         * sp_spell.C: added
13245         * sp_form.[Ch]: removed
13246         * spellchecker.[Ch]: removed
13247
13248 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13249
13250         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13251         is set.
13252         (simpleTeXSpecialChars): Simply print the input character without
13253         any special translation if pass_thru is set.
13254
13255         * layout.h: Added bool pass_thru to layout class for being able to
13256         implement pass through of a paragraph for Literate Programming.
13257
13258         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13259         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13260         * layout.C (Read): add "passthru" to list of layout tags and add
13261         code to set the pass_thru boolean when it is read.
13262
13263 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * trans_decl.h: remove allowed from KmodInfo
13266
13267         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13268         remove allowed code
13269         (Load): adjust
13270
13271         * paragraph_pimpl.C (erase): use boost::prior
13272
13273         * Painter.C (text): use data() instead of c_str() when length is
13274         also provided.
13275         * WorkArea.C (putClipboard): ditto
13276         * font.h (width): ditto
13277
13278         * BufferView2.C: use it-> instead of (*it). for iterators
13279         * texrow.C: ditto
13280         * paragraph_pimpl.C: ditto
13281         * paragraph.C: ditto
13282         * minibuffer.C: ditto
13283         * language.C: ditto
13284         * kbmap.C: ditto
13285         * encoding.C: ditto
13286         * counters.C: ditto
13287         * converter.C: ditto
13288         * chset.C: ditto
13289         * Variables.C: ditto
13290         * TextCache.C: ditto
13291         * MenuBackend.C: ditto
13292         * LyXAction.C: ditto
13293         * LColor.C: ditto
13294         * FloatList.C: ditto
13295         * DepTable.C: ditto
13296         * ColorHandler.C (LyXColorHandler): ditto
13297
13298 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13301
13302         * text2.C (openStuff): reintroduce this method (which had been
13303         nuked in NEW_INSETS frenzy).
13304
13305         * lyxfunc.C (Dispatch): when an action has not been handled, use
13306         its name in the error message, not its number.
13307
13308         * paragraph.C (inInset): change method name to begin with lowercase.
13309
13310         * undo_funcs.C:
13311         * text2.C: updates because of this.
13312
13313 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * ToolbarDefaults.C (add): add spaces in error message
13316
13317 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13320         (readLyXformat2): rename return_par to first_par, use lyxlex's
13321         pushToken and remove the manual push handling.
13322         (parseSingleLyXformat2Token): add another ert comp. variable:
13323         in_tabular, rename return_par to first_par. handle newlines better
13324
13325 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13328
13329 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13330
13331         * text2.C (getParFromID): removed
13332
13333         * buffer.C (getParFromID): new method moved form lyxtext.
13334         * BufferView2.C (insertErrors): adjust
13335         (setCursorFromRow): adjust
13336         * BufferView_pimpl.C (restorePosition): adjust
13337         * lyxfunc.C (Dispatch): adjust
13338         * undo_funcs.C (textUndo): adjust
13339         (textRedo): adjust
13340         (textHandleUndo): adjust
13341         (textHandleUndo): adjust
13342
13343 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * buffer.C: up' the LYX_FORMAT
13346
13347         * lyxfont.h: turn NO_LATEX on as default
13348
13349         * buffer.C (insertErtContents): new methods of tex style compability.
13350         (parseSingleLyXformat2Token): use it several places.
13351         * tabular.C (OldFormatRead): and here
13352
13353 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * text2.C: remove some commented code.
13356         reindent file.
13357
13358         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13359         * trans.C: changes because of the above.
13360
13361 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13362
13363         * text2.C (setCounter): Fix counters bug with bibliography layout.
13364
13365 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13368         own member functions
13369         (simpleTeXSpecialChars): ditto
13370
13371 2001-07-06  Juergen Vigna  <jug@sad.it>
13372
13373         * a lot of files: changed the access to LyXText::status and the
13374         call of undo-functions.
13375
13376         * undo.[Ch]: added a inset_id to the undo informations.
13377
13378         * undo_funcs.[Ch]: added and moved here all undo functions.
13379
13380         * lyxtext.h: give the status enum a weight, made status_ a private
13381         variable and made accessor functions for it, removed the whole bunch
13382         of undo-functions as they are now in their own file, make some
13383         functions publically available. Added function ownerParagraph with
13384         int parameter.
13385
13386         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13387         made InInset() a const function, added getParFromID() function.
13388
13389         * buffer.[Ch]: added const version for inset_iterator functions,
13390         added getInsetFromID() function.
13391
13392         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13393         changed undo functions for new version.
13394
13395 2001-07-05  Juergen Vigna  <jug@sad.it>
13396
13397         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13398         unknow mechanism does not call the proper constructor but only this
13399         one also if I request the other!?
13400
13401 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13404
13405         * text2.C (LyXText): use initialization lists.
13406
13407         * lyxtext.h (Selection): initialize set_ and mark_
13408         (init): remove method
13409
13410 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13411
13412         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13413
13414 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * screen.[Ch]: change method names to begin with lowercase
13417
13418         * BufferView_pimpl.C (updateScrollbar): simplify further and
13419         hopefully make it a bit faster.
13420
13421 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13422
13423         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13424         calling directly xforms functions.
13425
13426         * Painter.C (Painter):
13427         * lyx_cb.C (MenuWrite):
13428         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13429         fl_display.
13430
13431         * lyx_gui.C: remove bogus guiruntime extern declaration.
13432
13433 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13434
13435         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13436         in NEW_INSETS
13437         (redoDrawingOfParagraph): ditto
13438         (redoParagraphs): ditto
13439         (cutSelection): don't create a object for CutAndPaste use the
13440         static method directly
13441         (pasteSelection): ditto
13442
13443         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13444         LyXview (+ rename)
13445
13446 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * modifications to some other files because of this.
13449
13450         * Makefile.am (lyx_SOURCES): add XFormsView
13451
13452         * XFormsView.[Ch]: new files
13453
13454         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13455         the main window. Move the gui dependent stuff to XFormsView
13456
13457 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * tabular.C (GetCellInset): update cur_cell also in the row/col
13460         version of this function.
13461
13462         * lyxfunc.C: no need to include figure_form.h here.
13463
13464         * FontLoader.h:
13465         * lyxfunc.h:
13466         * lyxscreen.h:
13467         * text2.C:
13468         * lyxvc.C: no need to include forms.h here.
13469
13470 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13473
13474         * lyxfunc.C (Dispatch):
13475         * Spacing.C (set):
13476         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13477         constructor argument.
13478
13479 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13480
13481         * paragraph.C (Paragraph): dont't clear, and just set layout.
13482         (makeSameLayout): use params's copy contructor.
13483
13484         * ParagraphParameters.[Ch] (makeSame): delete method
13485
13486 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13487
13488         * Variables.[Ch]: fix indentation, rename set to isSet
13489
13490 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13491
13492         * lyxfunc.C (Dispatch): fix typo
13493
13494 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13495
13496         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13497         upper_bound.
13498
13499         * bufferlist.C: include assert.h for emergencyWrite().
13500
13501 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13502
13503         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13504           give up at last (bug #425202) !
13505
13506 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * lyx_gui_misc.C:
13509         * sp_form.h:
13510         * sp_form.C:
13511         * spellchecker.h:
13512         * spellchecker.C: strip spellchecker options and bring up
13513           preferences tab instead
13514
13515 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13518         the istringstream constructor
13519
13520 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13521
13522         * paragraph.C (getLayout): fix return value
13523
13524         * paragraph.h: do not declare getLayout as inline.
13525
13526         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13527
13528 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13529
13530         * lyxcursor.h (operator<): new func
13531         (operator>): new func
13532         (operator>=): new func
13533         (operator<=): new func
13534
13535         * text.C (changeCase): use selection.start and selection.end
13536         (changeRegionCase): require from to be <= to. Require par to be a
13537         valid paragraph.
13538
13539         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13540
13541 2001-06-27  Juergen Vigna  <jug@sad.it>
13542
13543         * text.C (cursorLeftOneWord): changed to return the cursor and added
13544         overlay with BufferView * parameter which calls this one.
13545         (getWord): added
13546         (selectWord): use new getWord function.
13547         (changeCase): renamed from changeWordCase as and extended to work
13548         also on selections.
13549
13550         * lyxtext.h: added enum word_location
13551
13552         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13553         changeCase as this operates now also on selections.
13554
13555 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13556
13557         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13558
13559         * many files: send debug output to Debug::INFO instead of
13560         Debug::ANY.
13561
13562         * converter.C (View):
13563         (Convert):
13564         (Move): send debug output to Debug::FILES instead of console.
13565
13566 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13567
13568         * lyxfunc.C (getStatus): use func_status
13569
13570         * func_status.h: new header, describing the results of
13571         LyXFunc::getStatus;
13572
13573         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13574         LFUN_MATH_HALIGN.
13575
13576 2001-06-25  The LyX Project  <jug@sad.it>
13577
13578         * buffer.C (sgmlOpenTag):
13579         (sgmlCloseTag):
13580         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13581
13582 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13583
13584         * text2.C: remove some dead code
13585
13586         * tabular.C (GetCellInset): store the last cell checked (gotten)
13587
13588         * tabular.h: add the helper for the speedup
13589
13590         * lyxtext.h: remove some dead code
13591
13592 2001-06-26  The LyX Project  <Asger>
13593
13594         * paragraph.C: Change export to LaTeX of alignment to
13595         \begin{center} and family for better roundtrip work with reLyX.
13596
13597         * Tune the math drawing a bit.
13598
13599 2001-06-25  The LyX Project  <Asger>
13600
13601         * LColor.C (LColor): New color for math background. New color
13602         for buttons.
13603
13604 2001-06-25  The LyX Project  <jug@sad.it>
13605
13606         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13607
13608         * lyxfunc.C (Open):
13609         * bufferlist.C (newFile): do not restrict to files ending with
13610         .lyx
13611
13612         * BufferView_pimpl.C (MenuInsertLyXFile):
13613
13614 2001-06-24  The LyX Project  <jug@sad.it>
13615
13616         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13617         of compare_no_case
13618
13619 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13620
13621         * lyxtext.h: rename most methods to begin with a small char.
13622         Lots of changes because of this.
13623
13624         * paragraph.C (Paragraph): do not call fitToSize
13625         (erase): call Pimpl::erase
13626         (insertChar): call Pimpl::insertChar
13627         (insertInset): call Pipl::insertInset
13628         (breakParagraph): do not call fitToSize
13629         (breakParagraphConservative): do not call fitToSize
13630         (fitToSize): remove method
13631
13632         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13633
13634 2001-06-24  The LyX Project  <Asger>
13635
13636         * Fix Qt compilation^2
13637
13638 2001-06-24  The LyX Project  <jug@sad.it>
13639
13640         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13641         depthHook(getDepth()-1).
13642
13643         * paragraph.h:
13644         * ParagraphParameters.h:
13645         * ParameterStruct.h: change type of depth to unsigned int ==
13646         depth_type. Many adaptations to other files before of that.
13647
13648 2001-06-24  The LyX Project  <Asger>
13649
13650         * Fix Qt compilation.
13651
13652 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13653
13654         * paragraph.h: renamed several methods to begin with small letter.
13655         several changes to many parts of the code because of this.
13656
13657 2001-06-23  The LyX Project  <jug@sad.it>
13658
13659         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13660         rewritten to discard all double spaces when KeepEmpty is off
13661         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13662         to only handle newlines but not fiddle with spaces and friends.
13663
13664         * lyxfunc.C (MenuNew): when doing 'new from template', use
13665         template_path as default directory
13666
13667 2001-06-23  The LyX Project  <Asger>
13668
13669         * Clean-up of header file includes all over
13670         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13671
13672 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13673
13674         * paragraph.h: renamed from lyxparagraph.h
13675
13676 2001-06-23  Asger  <lyx@violet.home.sad.it>
13677
13678         * Buffer.h: Removed Buffer::resize
13679         * BufferList.h: Removed BufferList::resize
13680         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13681         the document lazily when we change the width, or the font settings.
13682
13683 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13684
13685         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13686
13687 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13688
13689         * buffer.h: remove out of date comment
13690
13691 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13692
13693         * lyxscreen.h:
13694         * screen.C: fix "theoretical" GC leak
13695
13696 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13697
13698         * LaTeX.C (scanAuxFile):
13699         (deplog): remove trailing \r when reading stream (useful under
13700         win32)
13701
13702 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13703
13704         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13705         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13706         and BufferView::theLockingInset(Inset*), so should use them and not
13707         access bv_->text->the_locking_inset directly.
13708
13709         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13710
13711 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13712
13713         * Makefile.am:
13714         * tex-defs.h: remove old unused file
13715
13716 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13717
13718         * BufferView_pimpl.C: fix typo, remove minibuffer message
13719           when buffer has loaded
13720
13721 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13722
13723         * lyxfunc.C (Dispatch): use stringstream
13724         (MenuNew): use stringstream
13725         (Open): use stringstream
13726
13727         * importer.C (Import): use stringstream
13728
13729         * bufferview_funcs.C (CurrentState): use stringstream
13730
13731         * LaTeX.C (run): use stringstream
13732
13733         * BufferView_pimpl.C (savePosition): use stringstream
13734         (restorePosition): use stringstream
13735         (MenuInsertLyXFile): use stringstream
13736
13737 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13738
13739         * BufferView.C:
13740         * Bullet.C:
13741         * ColorHandler.C:
13742         * FontInfo.C:
13743         * FontLoader.C:
13744         * LColor.C:
13745         * LaTeXFeatures.C:
13746         * Painter.C:
13747         * gettext.C:
13748         * lyx_gui_misc.C:
13749         * lyxserver.C:
13750         * vspace.C: removed // -*- C++ -*- as first line.
13751
13752         * lyxfind.h:
13753         * version.h: added // -*- C++ -*- as first line.
13754
13755 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13756
13757         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13758
13759         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13760         of string
13761
13762 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13765         of floats.
13766
13767 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * gettext.C: include LString.h even when --disable-nls is on.
13770
13771 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13772
13773         * converter.h (Get): changed argument type from int to
13774         FormatList::size_type to avoid unnecessary conversion.
13775
13776         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13777         before using it.
13778
13779 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13780
13781         * gettext.h: include LString.h even when --disable-nls is on.
13782
13783 2001-06-07  Juergen Vigna  <jug@sad.it>
13784
13785         * text.C (BreakAgain): subst spaces with tabs.
13786
13787         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13788         (resizeInsetsLyXText): set force on resizeLyXText.
13789
13790 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13791
13792         * gettext.h (gettext_init):
13793         (locale_init): use a real definition instead of a macro
13794
13795 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13796
13797         * Bufferview_pimpl.C:
13798         * LColor.h:
13799         * LColor.C: further lcolor tidies
13800
13801 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13802
13803         * BufferView_pimpl.C (updateScrollbar): simplify.
13804
13805         * BufferView2.C: don't include insets/insetinfo.h, change
13806         prototype for insertInset and call the Pimpl version. let
13807         updateInset call Pimpl version.
13808
13809         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13810         gotoInset to BufferView::Pimpl
13811
13812 2001-06-01  Juergen Vigna  <jug@sad.it>
13813
13814         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13815         inside a LockingInset (is the update needed at all?).
13816
13817 2001-05-31  Juergen Vigna  <jug@sad.it>
13818
13819         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13820         here not the old one otherwise how should we compare it afterwards
13821         if it's the same!
13822
13823 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13824
13825         * lyxfont.C:
13826         * tabular.C:
13827         * tabular-old.C:
13828         * FontInfo.C: bring C functions into global namespace when
13829         necessary
13830
13831 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13832
13833         * LString.h: make sure config.h has been loaded before LString.h.
13834
13835         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13836         (one for each char read by EatLine!).
13837
13838         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13839         variables.
13840
13841 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13842
13843         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13844         to the same as the par we break from
13845
13846 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13849
13850         * MenuBackend.C (expand): also create menu entries for wide
13851         versions of the floats.
13852
13853         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13854
13855         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13856
13857         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13858         frontends/Makefile.am
13859
13860         * text2.C: adjust
13861         * text.C: adjust
13862
13863
13864         * tabular.C (getTokenValue): add std::
13865
13866         * tabular-old.C (getTokenValue): add std::
13867         (getTokenValue): ditto
13868         (getTokenValue): ditto
13869
13870         * screen.C (ToggleSelection): adjust
13871
13872         * lyxtext.h: put selection cursors inside a Selection struct.
13873
13874         * lyxfunc.C (moveCursorUpdate): adjust
13875
13876         * lyxfont.C (latexWriteStartChanges): add std::
13877
13878         * lyxfind.C: adjust
13879
13880         * font.h: delete with(char const *, LyXFont const &)
13881
13882         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13883
13884         * FontInfo.C (getFontname): add std::
13885
13886         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13887         (workAreaButtonPress): adjust
13888         (tripleClick): adjust
13889         (update): adjust
13890         (moveCursorUpdate): adjust
13891         (Dispatch): adjust
13892
13893         * BufferView2.C (gotoInset): adjust
13894
13895 2001-05-30  Juergen Vigna  <jug@sad.it>
13896
13897         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13898         to check pspell I add this as default as I now have new pspell
13899         libraries and they seem to use this.
13900
13901 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13902
13903         * text2.C (CutSelection): make the cursor valid before the call to
13904         ClearSelection.
13905
13906 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13907
13908         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13909         relied on 0 terminated strings and other horrors. Bug found due to
13910         the new assert in lyxstring!
13911
13912         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13913         KP_ keys.
13914
13915 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13916
13917         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13918         to latinkeys.bind.
13919
13920         * lyxfunc.C (processKeySym): change method of getting to the
13921         self-insert char.
13922
13923         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13924         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13925         * BufferView_pimpl.[Ch]: here as private methods.
13926
13927 2001-05-28  Juergen Vigna  <jug@sad.it>
13928
13929         * text.C (SetHeightOfRow): added the update() call again as it is
13930         needed to initialize inset dimensions!
13931
13932 2001-05-16  Juergen Vigna  <jug@sad.it>
13933
13934         * text2.C (SetCharFont): Add new function with BufferView * and
13935         bool toggleall parameters for setting insets internal fonts.
13936         (SetFont): Freeze the undo as we may change fonts in Insets and
13937         all this change should be inside only one Undo!
13938
13939         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13940         setting font's in insets as for them we have the SetFont function!
13941
13942 2001-05-15  Juergen Vigna  <jug@sad.it>
13943
13944         * text2.C (ClearSelection): to be sure we REALLY don't have any
13945         selection anymore!
13946
13947         * tabular.C (TeXCellPreamble): fixed the left border problem for
13948         multicolumn cells.
13949
13950 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13951
13952         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13953         dependancy file
13954
13955 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13956
13957         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13958         LFUN_BREAKPARAGRAPH.
13959
13960         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13961         help test to "internal only", similar for LFUN_INSERT_URL
13962
13963         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13964         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13965         auto_region_delete and deadkeys.
13966
13967 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13968
13969         * LColor.h:
13970         * LColor.C: remove some dead entries, tidy a little
13971
13972 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13973
13974         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13975         commented code.
13976         (Dispatch): implement LFUN_ESCAPE
13977
13978         * commandtags.h: add LFUN_ESCAPE
13979
13980         * LyXAction.C (init): add entry for LFUN_ESCAPE
13981
13982         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13983         Remove commented code.
13984         (insertNote): moved here
13985         (open_new_inset): moved here
13986
13987         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13988         BufferView_pimpl
13989
13990 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13991
13992         * kbmap.C (findbinding): clean it up and make it work correctly.
13993
13994         * lyx_main.C (init): do not pass argc and argv as parameters
13995
13996 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13997
13998         * buffer.C: fix path for OS/2 & Win32
13999
14000         * lyx_gui.C:
14001         * lyx_main:
14002         * lyx_main.C: Added os:: class.
14003
14004         * os2_defines.h: update
14005
14006 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14007
14008         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14009         better by trying again with reduced state.
14010
14011 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14012
14013         * lyxrc.C (read): print error about invalid key sequence only when
14014         debugging (because not all latinX keysyms are known to some X
14015         servers)
14016
14017         * kbsequence.C (getiso): add a few std:: qualifiers
14018         (getiso): comment out extra return statement.
14019
14020 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14021
14022         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14023         handling.
14024         (Dispatch): enhance the accent inset a bit. (not perfect)
14025
14026 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14027
14028         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14029
14030 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * bufferlist.C (emergencyWrite): fix assert() call
14033
14034 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14035
14036         * text.C (InsertChar): Added trivial patch to only send the "you
14037         can not do multiple spaces this way" message once during a
14038         session.
14039
14040 2001-05-08  Baruch Even  <baruch@lyx.org>
14041
14042         * Makefile.am: Changed order of libraries to get LyX to link properly
14043         with the gnome frontend.
14044
14045 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14046
14047         * LaTeXFeatures.h: add a std:: qualifier
14048
14049 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14050
14051         * paragraph.C (String): use stringstream
14052
14053 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14054
14055         * paragraph.C (writeFile): remove footflag arg
14056
14057         * buffer.C (makeLaTeXFile): use stringstream
14058         (latexParagraphs): remove footnot gurba
14059
14060         * LaTeXFeatures.C (getPackages): use stringstream
14061         (getMacros): likewise
14062         (getTClassPreamble): likewise
14063         (getFloatDefinitions): new method
14064
14065         * paragraph.C (writeFile): reindent
14066         (Erase): reindent
14067
14068         * WorkArea.h: revert the xpos + etc changes.
14069
14070         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14071
14072         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14073
14074         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14075         (pasteSelection): likewise
14076         * text2.C (CreateUndo): likewise
14077
14078 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * minibuffer.C (peek_event): temporarily reduce the functionality
14081         of the minibuffer (to allow args on lfuns)
14082
14083         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14084         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14085
14086         * buffer.C (readInset): add compability reading of old float
14087         lists, add reading of new style float list.
14088         (readInset): avoid reevaluation of inscmd.getCmdName()
14089         (getLists): reindent
14090
14091         * MenuBackend.C (MenuItem): implement parsing of
14092         md_floatlistinsert and md_floatinsert.
14093         (expand::LastFiles): move initalizaton of iterators out of loop,
14094         avoid reevaluation.
14095         (expand::Documents): introduce typdedef vector<string> Strings,
14096         and use it.
14097         (expand::ExportFormats): introduce typedef vector<Format const *>
14098         Formats, and use it.
14099         (expand): implement FloatListInsert and FloatInsert.
14100
14101         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14102         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14103         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14104
14105         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14106         handling.
14107         (Dispatch::LFUN_FLOAT_LIST): implement
14108
14109 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14110
14111         * LaTeX.C (run): Fix problem with --export code.
14112
14113 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14114
14115         * BufferView.[Ch] (workarea): removed.
14116         (getClipboard) new method; wrapper for workarea()->getClipboard()
14117
14118         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14119         bug.
14120
14121         * WorkArea.h (width, height, xpos, ypos): These methods all
14122         returned the dimensions of the work_area sub-area of WorkArea,
14123         resulting in a position error if the WorkArea were resized. Now
14124         return the dimensions of the entire WorkArea.
14125
14126         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14127
14128 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14129
14130         * LaTeX.C (deplog): correct the syntax of regex reg1
14131
14132 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14133
14134         * undo.C: remove !NEW_INSETS cruft
14135
14136 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14137
14138         * text2.C: remove !NEW_INSETS cruft
14139
14140         * text.C: remove !NEW_INSETS cruft
14141
14142         * tabular.C: remove !NEW_INSETS cruft
14143
14144         * spellchecker.C: remove !NEW_INSETS cruft
14145
14146         * lyxtext.h: remove !NEW_INSETS cruft
14147
14148         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14149
14150         * lyxfunc.C: remove !NEW_INSETS cruft
14151
14152         * lyxfind.C: remove !NEW_INSETS cruft
14153
14154         * lyx_cb.C: remove !NEW_INSETS cruft
14155
14156         * figureForm.C: remove  !NEW_INSETS cruft
14157
14158         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14159
14160         * buffer.[Ch]: remove !NEW_INSETS cruft
14161
14162         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14163
14164         * CutAndPaste.C: remove !NEW_INSETS cruft
14165
14166         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14167
14168         * BufferView2.C: remove !NEW_INSETS cruft
14169
14170         * BufferView.h: remove !NEW_INSETS cruft
14171
14172 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * Lsstream.h: include LString.h before the sstream headers to
14175         fix problem with gcc 2.95.3 and lyxstring
14176
14177 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * lyx_main.C: add using directives when needed for C functions
14180         declared in std:: namespace.
14181
14182 2001-04-27  Juergen Vigna  <jug@sad.it>
14183
14184         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14185         (SetHeightOfRow): comment out the update call should not be needed!
14186
14187 2001-04-13  Juergen Vigna  <jug@sad.it>
14188
14189         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14190         (LyXTabular): tried to minimize operator= operations (and realized
14191         hopfully Lars wish).
14192
14193 2001-04-27  Juergen Vigna  <jug@sad.it>
14194
14195         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14196
14197 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14198
14199         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14200
14201         * buffer.C (readInset): hack to make listof algorithm work
14202
14203         * BufferView_pimpl.C: hack to make listof algorithm work
14204
14205 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * LyXAction.C: removed all !NEW_INSETS cruft
14208         (init): moved lfun_item in method
14209
14210         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14211
14212 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14213
14214         * BufferView2.C (theLockingInset): white space.
14215
14216 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14217
14218         * minibuffer.C: include <iostream>
14219
14220         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14221
14222         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14223
14224         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14225
14226         * text.[Ch] (TransposeChars): new method
14227
14228 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14229
14230         * call message directly through LyXView instead of through LyXFunc
14231         * BufferView2.C: adjust
14232         * BufferView_pimpl.C: adjust
14233         * FontLoader.C: adjust
14234         * buffer.C: adjust
14235         * bufferview_funcs.C: adjust
14236         * converter.C: adjust
14237         * figureForm.C: adjust
14238         * importer.C: adjust
14239         * lyx_cb.C: adjust
14240         * lyx_gui_misc.C: adjust
14241         * lyxfunc.C: adjust
14242         * lyxvc.C: adjust
14243         * text2.C: adjust
14244         + more files in subdirs
14245
14246         * lyxparagraph.h (size): move up int file
14247         (GetLayout): ditto
14248
14249         * adjust all uses of Assert to lyx::Assert.
14250
14251         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14252         lyxfunctional in namespace lyx
14253         * layout.C (hasLayout): ditto
14254         (GetLayout): ditto
14255         (GetLayout): ditto
14256         (delete_layout): ditto
14257         (NumberOfClass): ditto
14258         * converter.C (GetFormat): ditto
14259         (GetNumber): ditto
14260         (Add): ditto
14261         (Delete): ditto
14262         (SetViewer): ditto
14263         * bufferlist.C (getFileNames): ditto
14264         (emergencyWriteAll): ditto
14265         (exists): ditto
14266         (getBuffer): ditto
14267         * MenuBackend.C (hasSubmenu): ditto
14268         (hasMenu): ditto
14269         (getMenu): ditto
14270         * BufferView_pimpl.C (getInsetByCode): ditto
14271
14272 2001-04-18  Juergen Vigna  <jug@sad.it>
14273
14274         * vspace.C (asLatexString): fixed the 100% problem.
14275
14276 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14277
14278         * lyxfunc.C (Dispatch):
14279         * minibuffer.C:
14280         * minibuffer.h: add a few std:: qualifiers
14281
14282 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * minibuffer.[Ch]: reimplement so that commands is initiated and
14285         run from lyxfunc, simplified som handling, and made the completion
14286         and history code for complete. wip.
14287
14288         * lyxfunc.C (processKeySym): call message
14289         (miniDispatch): new temporary method
14290         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14291         (LFUN_MESSAGE): implement
14292         (LFUN_MESSAGE_PUSH): implement
14293         (LFUN_MESSAGE_POP): implement
14294         (initMiniBuffer): the initial/defualt minibuffer message.
14295
14296         * lyxfont.[Ch]: inline some more getters
14297
14298         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14299
14300         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14301
14302         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14303         (AutoSave): use LFUN_MESSAGE
14304         (Reconfigure): ditto
14305
14306         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14307
14308         * figureForm.C: use LFUN_MESSAGE
14309
14310         * converter.C (runLaTeX): use LFUN_MESSAGE
14311
14312         * bufferview_funcs.C: use LFUN_MESSAGE
14313         (Melt): ditto
14314         (changeDepth): ditto
14315
14316         * bufferparams.h: use boost::
14317
14318         * bufferlist.h: inherit privately from noncopyable
14319
14320         * bufferlist.C (loadLyXFile): remove some commented code.
14321
14322         * buffer.C (runChktex): use LFUN_MESSAGE
14323
14324         * ShareContainer.h: inherit privately from noncopyable
14325
14326         * ParagraphParameters.[hC] (depth): inline it.
14327
14328         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14329         methods.
14330         (message): new method
14331         (messagePush): ditto
14332         (messagePop): ditto
14333         (show): init minibuffer
14334         (showState): direct call
14335
14336         * LaTeX.[Ch]: inherit privately from noncopyable
14337         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14338         instead of WriteStatus.
14339
14340         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14341
14342         * BufferView_pimpl.C (buffer): don't init minibuffer
14343         (workAreaButtonPress): use LFUN_MESSAGE
14344         (workAreaButtonRelease): ditto
14345         (savePosition): ditto
14346         (restorePosition): ditto
14347         (MenuInsertLyXFile): ditto
14348         (workAreaExpose): don't init minibuffer
14349         (update): remove commented code, simplify
14350
14351         * BufferView2.C (openStuff): use LFUN_MESSAGE
14352         (toggleFloat): ditto
14353         (menuUndo): ditto
14354         (menuRedo): ditto
14355         (copyEnvironment): ditto
14356         (pasteEnvironment): ditto
14357         (copy): ditto
14358         (cut): ditto
14359         (paste): ditto
14360         (gotoInset): ditto
14361         (updateInset): remove some commented code
14362
14363         * lastfiles.h: inherit privately from noncopyable
14364         * layout.h: ditto
14365         * lyx_gui.h: ditto
14366         * lyx_main.h: ditto
14367         * lyxlex.h: ditto
14368         * lyxlex_pimpl.h: ditto
14369
14370         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14371         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14372         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14373
14374         * LyXAction.h: inherit privately from noncopyable, add methods
14375         func_begin, func_end, returning iterators to the func map.
14376
14377         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14378         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14379         (func_begin): new method
14380         (func_end): new method
14381
14382         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14383         and not)
14384         (copySelection): ditto
14385         (pasteSelection): ditto
14386
14387         * BufferView.C: whitespace change
14388         * BufferView.h: inherit privately from noncopyable
14389
14390 2001-04-16  Allan Rae  <rae@lyx.org>
14391
14392         * tabular-old.C (l_getline):
14393         * spellchecker.C (sc_check_word):
14394         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14395         an unrecognised preprocessor directive.  So ensure they're wrapped.
14396
14397 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * src/exporter.C (Export): Give an error message when path to file
14400         contains spaces.
14401
14402 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14403
14404         * LaTeX.C (deplog): Always check that foundfile exists.
14405
14406 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * lyx_main.h:
14409         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14410
14411 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * tabular.[Ch] (getLabelList): implement new method
14414
14415         * minibuffer.h: comment ouf setTiimer
14416
14417         * minibuffer.C (ExecutingCB): constify res
14418         (peek_event): constify s
14419         (Set): constify ntext
14420         (Init): constify nicename
14421
14422         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14423
14424         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14425         (savePosition): use two params to Minibuffer::Set
14426         (restorePosition): ditto
14427
14428 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * lyx_main.C: include language.h
14431
14432         * Makefile.am (lyx_main.o): add language.h
14433
14434 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14435
14436         * exporter.C:
14437         * paragraph.C:
14438         * screen.C:
14439         * tabular.C:
14440         * CutAndPaste.C: include gettext.h
14441
14442         * lyxfont.h: remove old hack with ON and OFF.
14443
14444         * lyxparagraph.h:
14445         * lyxfont.h: do not include language.h...
14446
14447         * BufferView2.C:
14448         * LaTeXFeatures.C:
14449         * Painter.C:
14450         * bufferview_funcs.C:
14451         * font.C:
14452         * lyxfont.C:
14453         * text.C:
14454         * text2.C:
14455         * trans_mgr.C:
14456         * paragraph.C: ... but do it here instead
14457
14458 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14459
14460         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14461
14462         * tabular.C: small reformat
14463
14464         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14465         NEW_INSETS version
14466         (GetChar): ditto
14467         (BreakParagraph): ditto
14468         (SetOnlyLayout): ditto
14469         (SetLayout): ditto
14470
14471         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14472         with one arg less.
14473
14474         * lastfiles.C: removed most using decl, add std:: where needed
14475
14476         * buffer.C: ws changes
14477
14478         * MenuBackend.C (class compare_format): put into anon namespace
14479         (expand): constify label, names, action, action2
14480         (expand):
14481
14482         * text.C (SingleWidth): constify font
14483         (IsBoundary): constify rtl2
14484         (GetVisibleRow): constify ww
14485
14486         * LaTeX.C (deplog): constify logfile
14487
14488         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14489         start_x, end_x
14490         (workAreaExpose): constify widthChange, heightChange
14491
14492         * lyxrow.C (par): moved
14493         (height): moved
14494         (next): moved
14495         * lyxrow.h: as inlines here
14496
14497         * lyxfont.h (shape): moved from lyxfont.C
14498         (emph): moved from lyxfont.C
14499
14500         * lyxfont.C (LyXFont): use initialization list for all
14501         constructors
14502         (shape): move to lyxfont.h as inline
14503         (emph): move to lyxfont.h as inline
14504
14505
14506 2001-04-04  Juergen Vigna  <jug@sad.it>
14507
14508         * vspace.C: had to include stdio.h for use of sscanf
14509
14510 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14511
14512         * BufferView.h:
14513         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14514         independent of xforms.
14515
14516 2001-04-02  Juergen Vigna  <jug@sad.it>
14517
14518         * spellchecker.C: fixed namespace placing!
14519
14520 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14521
14522         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14523         the LyXParagraph * is 0.
14524
14525 2001-03-29  Juergen Vigna  <jug@sad.it>
14526
14527         * vspace.C: added support for %, c%, p%, l%.
14528         (stringFromUnit): added helper function.
14529         (asLatexString): changed to give right results for the %-values.
14530
14531         * buffer.C: convert the widthp in a width%.
14532
14533 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14534
14535         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14536         figureForm.[Ch].
14537
14538         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14539         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14540
14541         * lyx_cb.[Ch]: see above.
14542
14543         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14544         form1.[Ch].
14545
14546         * form1.[Ch]:
14547         * lyx.[Ch]: replaced by figure_form.[Ch].
14548
14549         * lyx_gui.C:
14550         * lyx_gui_misc.C:
14551         * lyxfunc.C: changed headers associated with above changes.
14552
14553 2001-03-27  Juergen Vigna  <jug@sad.it>
14554
14555         * BufferView_pimpl.C: set the temporary cursor right!
14556
14557 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14558
14559         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14560
14561 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * LString.h: removed "using std::getline"!
14564
14565         * BufferView_pimpl.C (Dispatch): changes due to changes in
14566         InsetInclude::Params.
14567
14568         * buffer.C (tag_name): removed redundant break statements as they were
14569         producing lots of warnings with my compiler.
14570
14571 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14572
14573         * LString.h: add "using std::getline" when using the real <string>.
14574
14575 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14576
14577         * buffer.C: removed bitset usage.
14578         PAR_TAG moved to an anonymous name space.
14579         (tag_name): new funtion, also in the anonymous namespace.
14580         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14581         (makeDocBookFile): clean code. Completed transition from string arrays
14582         to string vectors.
14583         (SimpleDocBookOnePar): code clean.
14584
14585 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14586
14587         * tabular.C: add some comments.
14588
14589 2001-03-22  Juergen Vigna  <jug@sad.it>
14590
14591         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14592         compatibility read a bit and fixed bug with minipage in different
14593         depth.
14594
14595 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14596
14597         * buffer.C (pop_tag): removed.
14598         (push_tag): removed.
14599         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14600         array replaced with vector. Added support for CDATA sections.
14601         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14602         at any nest level.
14603         (makeDocBookFile): XML conformant declaration of CDATA section,
14604         fixed bug related to <emphasis> in the first paragraph char.
14605         (sgmlOpenTag): exclude empty tags.
14606         (sgmlCloseTag): ditto.
14607
14608         * buffer.h (pop_tag): removed.
14609         (push_tag): removed.
14610
14611 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14612
14613         * language.h (Languages): added size_type and size().
14614
14615 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14616
14617         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14618         response on compability reading of minipages. One probliem is that
14619         the old usage of minipages was «flertydig»
14620
14621         * several files here and in subdirs: don't use static at file
14622         scope use anon namespaces instead.
14623
14624 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14625
14626         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14627         LaTeX output. This is necessary for Literate document
14628         processing.
14629
14630 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14631
14632         * buffer.C: insert hfill when needed.
14633
14634         * tabular.C (l_getline): use string::erase, small whitespace change.
14635
14636         * BufferView_pimpl.C: try the anon namespace.
14637         * WorkArea.C: ditto
14638
14639 2001-03-16  Juergen Vigna  <jug@sad.it>
14640
14641         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14642         otherwise it won't open options-dialogs.
14643
14644         * buffer.C: honor pextraWidth(p) on converting minipages.
14645
14646         * tabular.C (l_getline): changed the functions to strip trailing \r.
14647
14648 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14649
14650         * BufferView_pimpl.C:
14651         * minibuffer..C: added "using SigC::slot" declaration.
14652
14653 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14654
14655         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14656
14657         * text2.C: ditto
14658
14659         * text.C: ditto
14660
14661         * paragraph.C: ditto
14662
14663         * lyxtext.h: NO_PEXTRA
14664
14665         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14666
14667         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14668         * ParameterStruct.h: ditto
14669         * ParagraphParameters.h: ditto
14670         * lyxparagraph.h: ditto
14671
14672 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14673
14674         * buffer.C: add compability for minipage alignment.
14675         (latexParagraphs): remove unwanted pextra check.
14676
14677         * several files: remove CXX_WORKING_NAMESPACES
14678
14679         * buffer.C (pop_tag): tie is in namespace boost
14680
14681         * BufferView.h: noncopyable is in namespace boost
14682         * lyxlex.h: ditto
14683         * lyx_main.h: ditto
14684         * lyx_gui.h: ditto
14685         * layout.h: ditto
14686         * lastfiles.h: ditto
14687         * bufferlist.h: ditto
14688         * ShareContainer.h: ditto
14689         * LyXView.h: ditto
14690         * LyXAction.h: ditto
14691         * LaTeX.h: ditto
14692
14693 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14694
14695         * Merging changes from BRANCH_MVC back into HEAD.
14696
14697         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14698
14699 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14700
14701         * BufferView_pimpl.C: change from intl.C
14702
14703         * combox.h:
14704         * combox.C:
14705         * Makefile.am: move combox.*
14706
14707         * form1.h:
14708         * form1.C:
14709         * lyx_gui.C:
14710         * intl.h:
14711         * intl.C: remove dialog (covered by prefs)
14712
14713 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14714
14715         * lyxfunc.C (Dispatch): removed redundant break statement.
14716
14717 2001-03-14  Juergen Vigna  <jug@sad.it>
14718
14719         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14720
14721 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14722
14723         * buffer.C: add hack to fix compability reading of minipages.
14724
14725 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14726
14727         * buffer.C (getLists): Cleanup.
14728
14729 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14730
14731         * lyxfont.C (update): don't honor toggleall on font size.
14732
14733 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * bmtable.c:
14736         * bmtable.h:
14737         * Makefile.am: moved to frontends/xforms/
14738
14739         * lyx_gui_misc.C:
14740         * lyxfunc.C:
14741         * BufferView_pimpl.C: changes for moved mathpanel
14742
14743 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * gettext.h: fix gettext_init() in --disable-nls
14746
14747 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14750
14751 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * lyx.C:
14754         * lyx.h: strip external form
14755
14756 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14757
14758         * BufferView_pimpl.C: add comment, destroySplash()
14759
14760 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14761
14762         * BufferView_pimpl.C:
14763         * LyXAction.C:
14764         * buffer.C:
14765         * commandtags.h:
14766         * lyxfunc.C: use re-worked insetinclude
14767
14768 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14769
14770         * buffer.C: add using std::stringstream.
14771
14772         * lyx_cb.C: readd using std::ios.
14773
14774         * buffer.C: add using std::map.
14775
14776         * BufferView_pimpl.C: add using std::vector.
14777
14778         * ShareContainer.h: add std:: to swap.
14779
14780         * buffer.h: add some typedefs
14781         * buffer.C (getLists): use them
14782         (getLists): renamed from getTocList.
14783         add a counter for the different float types and use it in the
14784         generated string.
14785         (getLists): use the same counter for the NEW_INSETS and the "non"
14786         NEW_INSETS
14787
14788         * lyx_cb.h: remove unused items, includes, using etc.
14789
14790         * ShareContainer.h: remove some commented code, add more comments
14791         and "documentation".
14792
14793 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14794
14795         * buffer.C (getTocList): make the list also when NEW_INSETS is
14796         defined.
14797
14798         * buffer.h: remove TocType
14799
14800         * buffer.C (getTocList): change to return a map<string,
14801         vector<TocItem> >, implement for dynamic number of list.
14802
14803         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14804         * text2.C (PasteSelection): adjust
14805         * CutAndPaste.C (pasteSelection): adjust
14806
14807         * FloatList.C (FloatList): update from the new_insets branch.
14808         * Floating.[Ch]: ditto
14809         * LaTeXFeatures.C: ditto
14810         * buffer.C: ditto
14811         * lyxlex_pimpl.C: ditto
14812
14813         * paragraph.C (Last): remove when NEW_INSETS is defined.
14814
14815         * other file: changes because of the above.
14816
14817 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14818
14819         * lyxparagraph.h: rename next to next_, previous to previous_,
14820         make them private for NEW_INSETS. Rename Next() to next(),
14821         Previous() to previous().
14822
14823         * other files: changes because of the above.
14824
14825 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * BufferView.h:
14828         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14829         problem.
14830
14831 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * main.C (main): pass lyx_localedir to gettext_init().
14834
14835         * gettext.h: remove locale_init and gettext_init macros
14836
14837         * gettext.C (locale_init): new function
14838         (gettext_init): new function
14839
14840         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14841         setlocale().
14842
14843 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14844
14845         * Moved credits to frontends:
14846         * credits.[Ch]: removed
14847         * credits_form.[Ch]: removed
14848         * lyx_gui_misc.C: remove credits stuff
14849         * Makefile.am:
14850
14851 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14852
14853         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14854
14855         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14856         unneeded destructor.
14857
14858         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14859         a standalone pointer again.
14860
14861         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14862
14863 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14864
14865         * Makefile.am:
14866         * filedlg.h:
14867         * filedlg.C:
14868         * LyXAction.C:
14869         * ToolbarDefaults.C:
14870         * bufferlist.C:
14871         * commandtags.h:
14872         * form1.C:
14873         * form1.h:
14874         * lyx_cb.C:
14875         * lyx_cb.h:
14876         * lyxfunc.h:
14877         * lyxfunc.C:
14878         * BufferView_pimpl.C: use new file dialog in GUII
14879
14880         * lyx_cb.h:
14881         * lyx_cb.C: remove LayoutsCB to Toolbar
14882
14883 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * ShareContainer.h (get): add std:: qualifier
14886
14887 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14888
14889         * ShareContainer.h: define a proper ShareContainer::value_type
14890         type (and use typename to please compaq cxx)
14891
14892 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14893
14894         * lyxparagraph.h: move serveral local vars to
14895         ParameterStruct/ParagraphParameters., use ShareContainer in
14896         FontTable., make vars in FontTable private and add getter and
14897         setter.
14898
14899         * paragraph.C: changes because of the above.
14900
14901         * lyxfont.h: remove copy constructor and copy assignment. (the
14902         default ones is ok), move number inside FontBits. move inlines to
14903         lyxfont.C
14904
14905         * lyxfont.C: add number to initializaton of statics, move several
14906         inlines here. constify several local vars. some whitespace
14907         cleanup. Dont hide outerscope variables.
14908
14909         * Spacing.h: add two new constructors to match the set methods.
14910
14911         * ShareContainer.h: new file, will perhaps be moved to support
14912
14913         * ParameterStruct.h: new file
14914
14915         * ParagraphParameters.h: new file
14916
14917         * ParagraphParameters.C: new file
14918
14919         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14920         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14921
14922         * BufferView_pimpl.C: ParagraphParameter changes.
14923         * buffer.C: Likewise.
14924         * bufferview_funcs.C: Likewise.
14925         * text.C: Likewise.
14926         * text2.C: Likewise.
14927
14928 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * lyxfind.C (LyXReplace): do not redefine default argument in
14931         implementation.
14932         (IsStringInText): ditto
14933         (SearchForward): ditto
14934         (SearchBackward): ditto
14935
14936 2001-03-06  Juergen Vigna  <jug@sad.it>
14937
14938         * lyxfind.C (IsStringInText): put parentes around expressions.
14939
14940 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14941
14942         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14943
14944 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14945
14946         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14947
14948         * stl_string_fwd.h: add comment
14949
14950         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14951
14952         * tabular.h:
14953         * tabular.C: remove unused DocBook methods
14954
14955         * intl.C:
14956         * language.C:
14957         * paragraph.C:
14958         * buffer.C:
14959         killed DO_USE_DEFAULT_LANGUAGE
14960
14961 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14962
14963         * lyx_gui.C: do not include language.h.
14964
14965         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14966         arguments in function implementation.
14967
14968 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14969
14970         * BufferView_pimpl.C: add <ctime>
14971
14972 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14973
14974         * BufferView_pimpl.C: add using std::find_if
14975
14976 2001-02-27  José Matos  <jamatos@fep.up.pt>
14977
14978         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14979         by OnlyPath.
14980
14981 2001-02-11  José Matos  <jamatos@fep.up.pt>
14982
14983         * buffer.C (makeDocBookFile): command styles now have a parameter as
14984         "title" by default.
14985
14986 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14987
14988         * layout_forms.[Ch]: removed
14989         * lyx_cb.[Ch]: out character
14990         * lyx_gui.C: out character
14991         * lyx_gui_misc.C: out character
14992         * bufferview_funcs.C: : out character,
14993         added toggleall as parameter in ToggleAndShow
14994
14995 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14996
14997         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14998
14999         * text2.C (SetCurrentFont): Disable number property at boundary.
15000
15001 2001-02-26  Juergen Vigna  <jug@sad.it>
15002
15003         * lyxfunc.C (getStatus): added a string argument override function so
15004         that this is correctly called from LyXFunc::Dispatch if it contains a
15005         do_not_use_argument which is used!
15006         (Dispatch): added check for "custom" export and call appropriate func.
15007
15008 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15009
15010         * lyxrc.C: Add language_command_local, language_use_babel and
15011         language_global_options.
15012
15013         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15014
15015         * buffer.C (makeLaTeXFile): Use language_use_babel and
15016         language_global_options.
15017
15018 2001-02-23  Juergen Vigna  <jug@sad.it>
15019
15020         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15021         which works with LyXText and putted it inside BufferView. Here now we
15022         only call for that part the BufferView::Dispatch() function.
15023
15024         * BufferView.C (Dispatch): added.
15025
15026         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15027         functions which needs to use a LyXText over from LyXFunc.
15028         (MenuInsertLyXFile): added
15029         (getInsetByCode): added
15030         (moveCursorUpdate): added
15031         (static TEXT): added
15032
15033 2001-02-22  Juergen Vigna  <jug@sad.it>
15034
15035         * BufferView_pimpl.C (update): call a status update to see if LyXText
15036         needs it.
15037
15038 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15039
15040         * vc-backend.C (revert): implement for CVS
15041         (getLog): implement for CVS
15042
15043 2001-02-20  Juergen Vigna  <jug@sad.it>
15044
15045         * text2.C (ClearSelection): added BufferView param for inset_owner call
15046
15047         * lyxfunc.C (TEXT): added this function and use it instead of
15048         directly owner->view()-text of getLyXText().
15049
15050 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15051
15052         * src/layout_forms.C: out preamble
15053         * src/layout_forms.h: out preamble
15054         * src/lyx_cb.C: out preamble
15055         * src/lyx_cb.h: out preamble
15056         * src/lyx_gui.C: out preamble
15057         * src/lyx_gui_misc.C: out preamble
15058         * src/lyxfunc.C: connect with guii preamble
15059
15060 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15061
15062         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15063
15064 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15065
15066         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15067         whether to run bibtex.
15068
15069 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15070
15071         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15072
15073 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15074
15075         * Makefile.am (lyx_SOURCES): removed bibforms.h
15076
15077         * vspace.h: doxygen
15078
15079         * text.C (GetVisibleRow): make several local vars const
15080
15081         * tabular.C: small cleanup.
15082
15083         * lyxserver.C (callback): use compare instead of strncmp
15084
15085         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15086         inlines to after class or to paragraph.C
15087
15088         * lyxfont.h: remove friend operator!=
15089
15090         * converter.h: move friend bool operator< to non friend and after
15091         class def.
15092
15093         * combox.h: small cleanup
15094
15095         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15096         to inlines after class def.
15097
15098         * buffer.C (pop_tag): use string operations instead of strcmp
15099
15100         * bmtable.c: doxygen, small cleanup
15101
15102         * LaTeX.h: remove friend operator==
15103
15104 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15105
15106         * screen.C:
15107         * lyxrc.[Ch]:
15108         * lyxfunc.C:
15109         * lyxfont.[Ch]:
15110         * lyx_cb.C:
15111         * intl.[Ch]:
15112         * commandtags.h:
15113         * buffer.C:
15114         * WorkArea.[Ch]:
15115         * LyXAction.C:
15116         * BufferView_pimpl.C:
15117         * BufferView.[Ch]: remove cruft
15118
15119 2001-02-14  Juergen Vigna  <jug@sad.it>
15120
15121         * lyxfunc.C: removed #if 0 unused code
15122
15123         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15124
15125         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15126
15127         * text2.C (SetSelection): added a BufferView * parameter
15128
15129 2001-02-13  Juergen Vigna  <jug@sad.it>
15130
15131         * lyxfunc.C (Dispatch): fixed protected blank problem.
15132         * BufferView2.C (protectedBlank): added LyxText * parameter.
15133
15134         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15135         (AppendColumn): same as above for column_info.
15136
15137         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15138         (moveCursorUpdate): use a LyXText param for support of InsetText.
15139
15140         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15141         (tripleClick): ditto
15142
15143         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15144
15145         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15146
15147         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15148
15149         * text2.C (SetSelection): set correct update status if inset_owner
15150         (ToggleFree): ditto
15151
15152 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15153
15154         * tabular.C: remove some commented code.
15155
15156 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15157
15158         * BufferView_pimpl.C: call hideSplash()
15159
15160         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15161
15162         * include_form.h:
15163         * bibforms.h: remove
15164
15165         * lyxfunc.C:
15166         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15167           add LFUN_CHILD_CREATE
15168
15169         * counters.h: fix tiny typo
15170
15171         * lyx_cb.C:
15172         * lyx.h:
15173         * lyx_gui.C:
15174         * lyx.C: move splash to frontends/xforms/
15175
15176         * lyx_gui_misc.C: move Include and Bibform to frontends
15177
15178         * lyxvc.h: clarify comment
15179
15180         * vspace.C: tiny housekeeping
15181
15182 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15183
15184         * text.C (PrepareToPrint): RTL Fix.
15185
15186         * paragraph.C (GetUChar): New method.
15187         (String):  Use GetUChar.
15188
15189         * buffer.C (asciiParagraph): Use GetUChar.
15190
15191 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15192
15193         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15194
15195 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15196
15197         * buffer.h:
15198         * buffer.C: rename to getLogName(), handle
15199           build log / latex log nicely
15200
15201 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * MenuBackend.C:
15204         * MenuBackend.h: remove support for reference menuitem type.
15205
15206 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15207
15208         * BufferView_pimpl.C: housekeeping
15209         * BufferView_pimpl.h:
15210         * LyXView.h:
15211         * Makefile.am:
15212         * Timeout.C:
15213         * Timeout.h:
15214         * minibuffer.h: move Timeout GUI-I
15215
15216 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15217
15218         * lyxrc.C (read): Update converters data-structures.
15219
15220 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15221
15222         * LaTeX.h (operator!=): add operator != for Aux_Info
15223
15224 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15225
15226         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15227
15228         * LaTeXLog.C: deleted, useful code moved to Buffer
15229
15230         * buffer.h:
15231         * buffer.C: new function getLatexLogName()
15232
15233         * lyx_gui_misc.C:
15234         * lyx_gui.C:
15235         * lyxvc.C:
15236         * lyxvc.h:
15237         * lyxfunc.C: use frontends for LaTeX and VC logs
15238
15239 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15240
15241         * LaTeX.h: yet another std:: that Allan forgot.
15242
15243         * Variables.C (set): renamed from isset(), because this clashes
15244         with some HP-UX macros (grr).
15245
15246 2001-02-06  Allan Rae  <rae@lyx.org>
15247
15248         * LaTeX.h: Another bug fix.  Missing std:: this time.
15249
15250 2001-02-04  Allan Rae  <rae@lyx.org>
15251
15252         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15253         floats problem. I've left it commented out because it's not quite
15254         correct.  It should also test that the current object is a table or
15255         figure inset.  But I haven't gotten around to figuring out how to do
15256         that.  I *think* it'll be something like: "table" == inset.type()
15257
15258         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15259         bool.
15260
15261 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15262
15263         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15264         all the citation/databases/styles in the auxilary file.
15265         (run): Rerun latex if there was a babel language error.
15266
15267 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15268
15269         * text.C (Backspace): Preserve the font when changing newline char
15270         with a space.
15271         (BreakParagraph): If the cursor is before a space, delete the space.
15272
15273         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15274
15275 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15276
15277         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15278         new argument (code).
15279         (ChangeCitationsIfUnique): New method.
15280
15281         * paragraph.C (GetPositionOfInset): Handle bibkey.
15282
15283 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15284
15285         * BufferView_pimpl.h: change type of Position::par_pos to
15286         LyXParagraph::size_type.
15287
15288 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15289
15290         * BufferView_pimpl.C (savePosition, restorePosition): Write
15291         messages to minibuffer.
15292
15293 2001-01-28  José Matos  <jamatos@fep.up.pt>
15294
15295         * buffer.C (makeDocBookFile): adds support for document language.
15296         A silly restriction on the name of LatexCommand types where removed.
15297         Added support for CDATA sections, allows to chars unescaped, used
15298         among others in code, to avoid escape < and >.
15299
15300 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15301
15302         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15303         saved positions instrad of a stack. Furthermore, a position is
15304         stored using paragraph id/paragraph position.
15305
15306         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15307         Remove LFUN_REF_BACK.
15308
15309 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15310
15311         * converter.C (dvipdfm_options): New method.
15312
15313 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15314
15315         * vspace.C (isValidLength): Fix for empty input string.
15316
15317 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15318
15319         * LyXAction.C (init): change description of LFUN_FIGURE to
15320         "Insert Graphics"
15321
15322 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15323
15324         * LaTeX.C: add using directive
15325
15326 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15327
15328         * MenuBackend.C (expand): Fix the sorting of the formats.
15329
15330 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15331
15332         * lyx_main.C: tiny error message fix
15333
15334 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15337         calling fl_initialize(). This fixes the problem with ',' as
15338         decimal separator in text files.
15339
15340 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15341
15342         * trans.C (process): Fix the keymap bug.
15343
15344 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15345
15346         * LaTeX.C (scanAuxFiles): New method. Provides support for
15347         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15348         (scanLogFile) Scan for "run BibTeX" messages.
15349
15350         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15351         OT1 font encoding. Also, load the aecompl package if the ae
15352         package is loaded.
15353
15354         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15355
15356 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * texrow.C (increasePos): turn two error messages into debug
15359         messages.
15360
15361 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15362
15363         * LaTeX.C (scanAux): Handle the \@input macro.
15364         (runBibTeX): Use scanAux().
15365
15366         * language.C (latex_options_): New field.
15367
15368         * LaTeXFeatures.C (getMacros): Add language macros.
15369
15370         * buffer.C (makeLaTeXFile): Small fix.
15371
15372 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15373
15374         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15375
15376         * text2.C: add a using directive.
15377
15378 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15379
15380         * BufferView2.C:
15381         * lyx_gui_misc.h:
15382         * lyxfr1.C:
15383         * lyxfunc.C: kill LyXBell.
15384
15385 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15386
15387         * text.C (IsBoundary): Remove the error message
15388
15389         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15390
15391         * lyxrc.C (setDefaults): Correct initialization value for
15392         font_norm_type.
15393
15394 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15395
15396         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15397         gotoError().
15398
15399         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15400         and GotoNextNote().
15401
15402         * src/LyXAction.C: Added reference-next.
15403
15404         * text.C (InsertChar): Use contains instead of strchr.
15405
15406         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15407
15408 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15409
15410         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15411         alignment commands (when needed).
15412
15413         * text.C (InsertChar): Add ':' to number separator chars.