]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
717f3e20a776d8f78b0b5463c645f5a66c012c91
[lyx.git] / src / ChangeLog
1 2004-05-14  Angus Leeming  <leeming@lyx.org>
2
3         * bufferparams.h: move biblio::CiteEngine enum here to minimize
4         dependencies on src/frontends/controllers/biblio.h. Define a
5         CiteEngine_enum wrapper class to enable the enum to be forward
6         declared.
7
8 2004-05-12  Angus Leeming  <leeming@lyx.org>
9
10         * buffer.C: up LYX_FORMAT to 234.
11         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
12         use_numerical_citations with a single biblio::CiteEngine cite_engine
13         variable.
14         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
15
16 2004-05-13  José Matos  <jamatos@lyx.org>
17
18         * converter.h:
19         * converter.C (Converter, readFlags): add xml member.
20         * outputparams.h: add XML flavor.
21         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
22
23 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * lyxfunc.C (dispatch): 
26         (getStatus): fix handling of LFUN_SEQUENCE
27
28 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * debug.C (showLevel): do not forget the end-of-line marker
31
32 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * kbmap.C (read): do not stop parsing a bind file when an error
35         occurs (bug 1575)
36
37 2004-04-29  Angus Leeming  <leeming@lyx.org>
38
39         * cursor.C:
40         * factory.C:
41         * pariterator.C:
42         * text2.C: wrap a bunch of #warning statements
43         inside #ifdef WITH_WARNINGS blocks.
44
45 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
46
47         * buffer.C: increment format to 233.
48
49 2004-04-28  Angus Leeming  <leeming@lyx.org>
50
51         * BufferView_pimpl.C:
52         * lyxfunc.C:
53         * text3.C:
54         s/updateToolbar()/updateToolbars()/
55         s/Toolbar.h/Toolbars.h/
56
57 2004-04-28  Angus Leeming  <leeming@lyx.org>
58
59         * BufferView.[Ch] (c-tor):
60         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
61         No longer passes these data to the WorkArea generator.
62
63 2004-04-28  Angus Leeming  <leeming@lyx.org>
64
65         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
66
67 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
70
71 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * output_latex.C (TeXEnvironment): make sure that there is a line
74         break before \end{foo} for the last paragraph of a document
75         (TeXOnePar): if the paragraph is at the end of the document (or
76         inset) and the language has to be reset, then make sure that the
77         line break is _before_ the language command, not after (fixes bug
78         1225); also make sure that the language reset command is the first
79         thing after the paragraph (to ensure proper nesting of
80         environments and thus fix bug 1404)
81
82 2004-04-21  John Levon  <levon@movementarian.org>
83
84         * ToolbarBackend.h:
85         * ToolbarBackend.C: make "name" be a programmatic name
86         and a gui_name field.
87
88         * lyxfunc.C: display the minibuffer on M-x
89
90 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
91
92         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
93         (bug 1526)
94
95 2004-04-19  Angus Leeming  <leeming@lyx.org>
96
97         * BufferView_pimpl.C (setBuffer): changed preview interface.
98
99         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
100         possible values.
101
102 2004-04-19  John Levon  <levon@movementarian.org>
103
104         * BufferView_pimpl.C:
105         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
106
107 2004-04-05  Angus Leeming  <leeming@lyx.org>
108
109         * text.C (redoParagraphs): add call to updateCounters(), thereby
110         fixing the missing "Figure #:" label from the caption of a
111         figure float.
112
113 2004-04-13  Angus Leeming  <leeming@lyx.org>
114
115         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
116         cursor is clicked out of an inset.
117
118 2004-04-13  Angus Leeming  <leeming@lyx.org>
119
120         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
121         than an InsetOld one.
122
123 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
124
125         * format.[Ch]: add editor to Format
126         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
127         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
128
129 2004-04-08  André Pönitz  <poenitz@gmx.net>
130
131         * metricsinfo.h: remove PainterInfo::width member
132
133 2004-04-08  Angus Leeming  <leeming@lyx.org>
134
135         * lyx_sty.C (boldsymbol_def): modify so that it outputs
136         "\providecommand" rather than "\newcommand", thereby preventing
137         clashes with packages that define "\boldsymbol" themselves.
138         Eg, beamer.
139
140 2004-04-08  Angus Leeming  <leeming@lyx.org>
141
142         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
143         thereby squashing an unnecessary warning.
144
145 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
146
147         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
148         setBuffer()
149
150 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
151
152         * BufferView.C (setCursor): call redoParagraph (some insets could
153         have been opened)
154         (putSelectionAt): remove the 'double update' trick
155
156         * BufferView_pimpl.C (fitCursor): call refreshPar
157         (workAreaDispatch): remove an uneeded update call
158         (dispatch): remove some manual update calls
159
160         * cursor.[Ch]: remove cached_y_, updatePos
161         (selHandle): set noUpdate when appropriate
162
163         * lyxfunc.C (dispatch): track if we need an update
164
165         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
166
167         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
168         (paintSelection): cheap optimization, do not call cursorX when not
169         needed
170         (paintPars): change signature
171         (refreshPar): add
172         (paintText): adjust
173         (paintTextInset): adjust
174
175         * text.C: adjust
176
177 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * lengthcommon.C: compilation fix: remove explicit array size from
180         unit_name[] and friends
181
182 2004-04-05  Angus Leeming  <leeming@lyx.org>
183
184         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
185
186         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
187         present only for the preferences dialog.
188         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
189
190 2004-04-05  Angus Leeming  <leeming@lyx.org>
191
192         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
193         to enable the frontends to export changes to lyxrc correctly.
194
195         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
196
197 2004-04-07  André Pönitz  <poenitz@gmx.net>
198
199         * cursor.[Ch] (selClear, adjust): remove math
200
201         * cursor_slice.C: more agressive assert
202
203         * lyxfunc.C:
204         * BufferView_pimpl.C: rework mouse event dispatch
205
206         * dociterator.C:
207         * paragraph.C:
208         * text2.C:
209         * text3.C: adjust
210
211 2004-04-05  André Pönitz  <poenitz@gmx.net>
212
213         * cursor.[Ch] (valign, halign...): remove unneeded functions
214
215 2004-04-05  Angus Leeming  <leeming@lyx.org>
216
217         * lyxlength.[Ch] (unit_name et al.): const-correct.
218
219 2004-04-05  Angus Leeming  <leeming@lyx.org>
220
221         * BufferView_pimpl.C:
222         * buffer.C:
223         * counters.C:
224         * cursor.C:
225         * lyxfunc.C
226         * paragraph.C:
227         * pariterator.C:
228         * text.C:
229         * text2.C:
230         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
231
232 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * text3.C (getStatus): add LFUN_BEGINNINGBUF
235
236 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
237
238         * lyxfind.C: add a couple of inTexted() tests + other small fixes
239         * BufferView_pimpl.[Ch] (getStatus)
240         * BufferView.[Ch] (getStatus): add
241         * lyxfunc.C (getStatus): move lfuns handled in
242         BufferView::dispatch to te function above
243         * Cursor.C (setSelection): set selection() = true
244
245 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
246
247         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
248
249 2004-03-31  Angus Leeming  <leeming@lyx.org>
250
251         * lyxfunc.C (dispatch): Fall through to the generic
252         Dialogs::show("preamble").
253
254 2004-03-31  Angus Leeming  <leeming@lyx.org>
255
256         * lyxfunc.C (dispatch): Fall through to the generic
257         Dialogs::show("spellchecker").
258
259 2004-03-31  Angus Leeming  <leeming@lyx.org>
260
261         * lyxfunc.C (getStatus, dispatch): changed invocation of the
262         preferences dialog.
263
264 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
265
266         * BufferView.C
267         * cursor.[Ch]
268         * dociterator.[Ch]:
269         * insetiterator.[Ch]:
270         * lyxfind.C:
271         * lyxfunc.C:
272         * pariterator.[Ch]:
273         * text2.C:
274         * undo.[Ch]: s/DocumentIterator/DocIterator/g
275
276 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
277
278         * BufferView.C (setCursor, putSelectionAt): call edit to open the
279         insets where we are putting the cursor.
280
281 2004-03-31  Angus Leeming  <leeming@lyx.org>
282
283         * lfuns.h:
284         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
285
286         * lyxrc.[Ch] (read, write): overloaded member functions taking
287         a std::[io]stream arguments.
288
289         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
290
291 2004-03-31  Angus Leeming  <leeming@lyx.org>
292
293         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
294         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
295
296         * lyxtextclass.C (load): if the text class couldn't be loaded, then
297         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
298
299 2004-03-31  Angus Leeming  <leeming@lyx.org>
300
301         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
302         the LFUN_ALL_INSETS_TOGGLE code.
303
304 2004-03-30  Angus Leeming  <leeming@lyx.org>
305
306         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
307         has died. Fall through to the generic Dialogs::show("document").
308
309 2004-03-30  Angus Leeming  <leeming@lyx.org>
310
311         * lfuns.h:
312         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
313         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
314
315         * lyxfunc.C (getStatus, dispatch): define the actions for these
316         lfuns. Little more than a cut and pste job from ControlDocument.C
317
318         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
319
320 2004-03-30  Angus Leeming  <leeming@lyx.org>
321
322         * lfuns.h:
323         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
324         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
325
326         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
327         open/closed state of ollapsable insets. Usage:
328
329         all-inset-toggle <state> <name>, where
330         <state> == "open" || "closed" || "toggle" and
331         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
332
333         * lyxtext.h, text2.C (toggleInset): removed.
334
335         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
336         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
337         now passes LFUN_INSET_TOGGLE to the found inset.
338
339         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
340         is now invoked as "all-insets-toggle toggle branch".
341
342 2004-03-30  Angus Leeming  <leeming@lyx.org>
343
344         * dociterator.C:
345         * insetiterator.C:
346         * pariterator.[Ch]: added/corrected header blurb.
347
348 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
349
350         * dociterator.[Ch]: add an inset_ member
351         (backwardPos): implemented
352         (backwardPos, forwardPos): use inset_ when the stack is empty.
353         (doc_iterator_begin, doc_iterator_end): implemented
354         * pariterator.[Ch]: adjust, add begin, end
355         * insetiterator.[Ch]: adjust, add begin, end
356         * cursor.C:
357         * document.C:
358         * BufferView.C:
359         * BufferView_pimpl.C:
360         * CutAndPaste.C: adjust
361
362 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
363
364         * buffer.C: increment file format to 232.
365         * LaTeXFeatures.C: add bibtopic package.
366         * bufferparams.[Ch]: param \use_bibtopic.
367
368         * lyxrc.[Ch]: add lyxrc bibtex_command
369         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
370
371         * buffer.C: increment file format to 231.
372
373 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
374
375         * dociterator.C: implement forwardPar
376         * iterators.[Ch]: remove, replaced by
377         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
378         * BufferView.C:
379         * BufferView_pimpl.C:
380         * CutAndPaste.C:
381         * buffer.C:
382         * bufferview_funcs.C:
383         * cursor.C:
384         * lyxfind.C
385         * lyxfunc.C
386         * paragraph_funcs.C
387         * toc.C:
388         * Makefile.am: adjust
389
390 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * CutAndPaste.C (pasteSelection): fix 2 crashes
393         (eraseSelection): fix a crash
394         * paragraph_funcs.C: remove a warning
395
396 2004-03-28  Angus Leeming  <leeming@lyx.org>
397
398         * lfuns.h:
399         * LyXAction.C (init): new LFUN_PRINT.
400
401         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
402
403 2004-03-27  Angus Leeming  <leeming@lyx.org>
404
405         * lfuns.h:
406         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
407
408         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
409
410 2004-03-27  Angus Leeming  <leeming@lyx.org>
411
412         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
413         insetlist always contains non-null pointers to insets.
414
415 2004-03-26  Angus Leeming  <leeming@lyx.org>
416
417         * src/BufferView_pimpl.C:
418         * src/CutAndPaste.C:
419         * src/buffer.C:
420         * src/iterators.C:
421         * src/output_plaintext.C:
422         * src/outputparams.h:
423         * src/paragraph_funcs.C:
424         * src/rowpainter.C:
425         * src/text.C:
426         * src/text2.C:
427         * src/frontends/controllers/ControlErrorList.C:
428         * src/frontends/gtk/FileDialogPrivate.C:
429         * src/frontends/gtk/GPainter.C:
430         * src/frontends/gtk/GToolbar.C:
431         * src/frontends/qt2/QRef.C:
432         * src/mathed/math_scriptinset.C: squash compiler warnings.
433
434 2004-03-26  Angus Leeming  <leeming@lyx.org>
435
436         * ispell.C (LaunchIspell::start):
437         * lyx_cb.C (AutoSaveBuffer::start):
438         invoke run(DontWait) rather than runNonBlocking().
439
440 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
443
444 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * kbsequence.C (print): adjust
447
448         * kbmap.C (printKeySym): rename and change signature
449         (printKey): use LyXKeySym::print()
450
451 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
452
453         * undo.C: add using std::advance to compile for stlport
454
455 2004-03-24  Angus Leeming  <leeming@lyx.org>
456
457         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
458         it leads to a crash when no buffer is present.
459
460 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461             Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * lyxfunc.C (dispatch):
464         * bufferparams.C (readToken): use the new LColor::setColor
465
466         * LColor.[Ch] (setColor): new version that takes two strings as
467         argument and creates a new color entry if necessary
468
469 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
470
471         * buffer.C (makeLaTeXFile): if the main latex file that is
472         processed is usually a subdocument of some master, then pretend
473         for a while that it is actually the master
474
475 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
476
477         * buffer.C (getLabelList):
478         (getBibkeyList): use getMasterBuffer()
479         (getMasterBuffer): new method. Returns the main document in the
480         case where one is using included documents.
481
482 2004-03-25  André Pönitz  <poenitz@gmx.net>
483
484         * Makefile.am:
485         * iterators.[Ch]:
486         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
487
488         * ParagraphList_fwd.h: change ParagraphList to a std::vector
489
490         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
491         text*.C over here. Rename namespace CutAndPaste to lyx::cap
492
493         * ParameterStruct.h: merge with ParagraphParameters
494
495         * lyxtext.h: remove LyXText::parOffset() and getPar()
496
497         * text3.C: Remove all 'manual' update calls. We do now one per user
498         interaction which is completely sufficient.
499
500         * Bidi.C:
501         * BufferView.[Ch]:
502         * BufferView_pimpl.C:
503         * FontIterator.[Ch]:
504         * MenuBackend.C:
505         * ParagraphParameters.[Ch]:
506         * buffer.C:
507         * buffer.h:
508         * bufferlist.C:
509         * cursor.[Ch]:
510         * cursor_slice.[Ch]:
511         * dociterator.[Ch]:
512         * errorlist.[Ch]:
513         * factory.C:
514         * lfuns.h:
515         * lyxfind.C:
516         * lyxfunc.C:
517         * output_docbook.[Ch]:
518         * output_latex.[Ch]:
519         * output_linuxdoc.[Ch]:
520         * output_plaintext.[Ch]:
521         * paragraph.[Ch]:
522         * paragraph_funcs.[Ch]:
523         * paragraph_pimpl.[Ch]:
524         * rowpainter.C:
525         * tabular.[Ch]:
526         * text.C:
527         * text2.C:
528         * toc.C:
529         * undo.[Ch]: adjust
530
531         * frontends/controllers/ControlDocument.C:
532         * frontends/controllers/ControlErrorList.C:
533         * frontends/controllers/ControlSpellchecker.C:
534         * insets/inset.C:
535         * insets/inset.h:
536         * insets/insetbase.h:
537         * insets/insetbibitem.C:
538         * insets/insetbox.C:
539         * insets/insetbranch.C:
540         * insets/insetcaption.C:
541         * insets/insetcharstyle.C:
542         * insets/insetcharstyle.h:
543         * insets/insetcollapsable.C:
544         * insets/insetcollapsable.h:
545         * insets/insetert.C:
546         * insets/insetfloat.C:
547         * insets/insetfoot.C:
548         * insets/insetmarginal.C:
549         * insets/insetnote.C:
550         * insets/insetoptarg.C:
551         * insets/insettabular.C:
552         * insets/insettext.C:
553         * insets/insettext.h:
554         * insets/insetwrap.C:
555         * mathed/math_mboxinset.C:
556         * mathed/math_nestinset.C:
557         * mathed/math_scriptinset.C:
558         * mathed/math_scriptinset.h:
559         * support/types.h:
560
561 2004-03-24  Angus Leeming  <leeming@lyx.org>
562
563         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
564         deal with any child processes that have finished but are waiting to
565         communicate this fact to the rest of LyX.
566
567 2004-03-24  Angus Leeming  <leeming@lyx.org>
568
569         64-bit compile fixes.
570
571         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
572         (c-tor): pass lyx::pos_types rather than ints.
573
574         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
575         lyx::pos_type.
576
577         * text.C (Delete): compile fix.
578         (getPar): ensure that function declaration is the same as that in
579         the header file.
580
581 2004-03-23  Angus Leeming  <leeming@lyx.org>
582
583         * ispell.C (LaunchIspell):
584         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
585         a boost::shred_ptr rather than a std::auto_ptr.
586
587 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * lyxfunc.C (getStatus): handle read-only buffers correctly;
590         handle LFUN_FILE_INSERT_*
591
592         * lyxrc.C (setDefaults, getDescription, output, read):
593         * lyxrc.h: remove ps_command
594
595 2004-03-22  Angus Leeming  <leeming@lyx.org>
596
597         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
598         Ensure that error_handler is processed once only and that all data
599         is saved before attempting to output any warning messages.
600
601         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
602
603 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
604
605         * tabular.C (TeXRow): crash fix (from Kayvan and André)
606
607 2004-03-19  André Pönitz  <poenitz@gmx.net>
608
609         * cursor.[Ch] (reset): take main text inset as argument
610
611         * BufferView: adjust
612         * BufferView_pimpl.C: adjust
613
614         * paragraph.[Ch]: fix completely broken operator=()
615
616 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * LColor.C (getFromLyXName): make sure that the color name is used
619         as lowercase.
620
621 2004-03-17  Angus Leeming  <leeming@lyx.org>
622
623         * lfuns.h:
624         * LyXAction.C (init): remove LFUN_FORKS_KILL.
625
626         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
627         dialog and to kill a forked process.
628
629 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
630
631         * text2.C (setCursorFromCoordinates): fix font problem
632
633 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
634
635         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
636         bogus "rebuild cursor" code
637
638 2004-03-11  André Pönitz  <poenitz@gmx.net>
639
640         * buffer.[Ch]: use InsetText instead of LyXText as container for
641         the main lyx text.
642
643         * dociterator.[Ch]: drop the BufferView * member which is not needed
644         anymore after the change to buffer.C
645
646         * paragraph_funcs.C:
647         * text.C:
648         * text2.C:
649         * BufferView.[Ch]:
650         * BufferView_pimpl.[Ch]:
651         * cursor.[Ch]:
652         * cursor_slice.[Ch]: adjust
653
654         * text3.C: fix bug in mathDispatch
655
656 2004-03-08  André Pönitz  <poenitz@gmx.net>
657
658         * undo.[Ch]: use 'StableDocumentIterator' as base for
659         the Undo struct.
660
661 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
662
663         * LaTeXFeatures.C:
664         * bufferparams.[Ch]: add jurabib support and param.
665
666         * LaTeX.C: add FIXME/comment.
667
668 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
669
670         * buffer.C: increment file format to 230.
671
672 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
673
674         * cursor.C (dispatch): avoid infinite loops
675
676 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
677
678         * rowpainter.C (paintSelection): fix x coordinates
679
680 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
681
682         * text.C (rowBreakPoint): fix breaking before displayed insets
683
684 2004-03-01  André Pönitz  <poenitz@gmx.net>
685
686         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
687
688         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
689
690         * Makefile.am:
691         * BufferView.C:
692         * BufferView_pimpl.C:
693         * buffer.C:
694         * lyxfind.C:
695         * lyxfunc.C:
696         * text.C:
697         * text2.C:
698         * text3.C: adjust
699
700 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * lyxtext.h:
703         * text.C:
704         * text2.C:
705         * rowpainter.C:
706         * BufferView_pimpl.C: rename textwidth -> maxwidth,
707         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
708
709 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
710
711         * Bidi.[Ch] (computeTables): const correctness
712         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
713         fill_hfill, fill_label_hfill and x from Row
714         * lyxtext.h: prepareToPrint returns a RowMetrics
715         * rowPainter.C: adjust
716         * text.C (prepareToPrint): use width, not textWidth. adjust
717         (redoParagraphInternal, cursorX): adjust
718         * text2.C (getColumnNearX): adjust
719         (init): put a default value to the top LyXText::width
720
721 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
724
725 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
726
727         * lyxtext.h: add FontIterator class
728
729         * text.C (FontIterator, operator*, operator->, operator++): add
730         (rowBreakPoint, setRowWidth): adjust (fixing a
731         rebreaking bug)
732
733 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * BufferView_pimpl.C (workAreaDispatch): allow also
736         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
737
738 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
739
740         * text.C (rowBreakPoint): fix a bug showing with very large insets
741
742 2004-02-25  André Pönitz  <poenitz@gmx.net>
743
744         * text3.C:
745         * cursor.[Ch]: move some mathed specific code to mathed
746
747 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
748
749         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
750         use_tempdir in preferences
751         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
752         tempfile creation
753         * lyx_main.C: ensure that tempdir is valid
754         * lyxlex.h: correct typo
755         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
756         * paragraph.[Ch] (isMultiLingual): make const
757         * cursor.[Ch] (openable): make const
758
759 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
760
761         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
762
763 2004-02-20  André Pönitz  <poenitz@gmx.net>
764
765         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
766
767         * cursor.[Ch]: prepare for localized getStatus()
768
769         * lyxtext.h:
770         * tabular.C:
771         * text.C:
772         * text2.C:
773         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
774
775 2004-02-20  André Pönitz  <poenitz@gmx.net>
776
777         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
778
779 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
780
781         * text2.C (setCursorFromCoordinates): switch to absolute coords
782         (cursorUp): adjust
783         (cursorDown): adjust
784         * text3.C (dispatch): adjust
785
786 2004-02-16  André Pönitz  <poenitz@gmx.net>
787
788         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
789           insets/ChangeLog)
790
791         * cursor_slice.[Ch]: remove unneeded acessor function
792
793         * lyxtext.h: rename rtl() to isRTL()
794
795         * rowpainter.C:
796         * tabular.C:
797         * text.C:
798         * text2.C:
799         * text3.C: adjust
800
801 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
802
803         * rowpainter.C (paintSelection): coord fix
804
805 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
806
807         * Spacing.C: compile fix
808
809 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
810
811         * cursor.C (dispatch): restore current_ before returning
812
813 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
814
815         * text2.C (cursorUp, cursorDown): fix coords
816         (moveUp): fix crash
817
818 2004-02-12  André Pönitz  <poenitz@gmx.net>
819
820         * lyxtext.h:
821         * text.C:
822         * text2.C:
823         * text3.C: add LCursor & parameter to most cursor movement functions
824           remove usage of LyXText::cursorRow() and cursorPar()
825
826         * cursor.[Ch]: add textRow() needed members
827
828         * BufferView.C:
829         * BufferView_pimpl.C:
830         * paragraph.[Ch]:
831         * BufferView.C:
832         * BufferView_pimpl.C: adjust
833
834 2004-02-11  André Pönitz  <poenitz@gmx.net>
835
836         * lyxfunc.C:
837         * BufferView.[Ch]:
838         * BufferView_pimpl.C: shift undo/redo handling
839
840         * cursor.[Ch]: fix mathed crash
841
842         * lyxfind.C:
843         * lyxtext.h: move selectionAsText to LCursor
844
845         * output_latex.C:
846         * paragraph.C:
847         * text.C:
848         * text2.C:
849         * text3.C: adjust
850
851         * rowpainter.C: fix excessive drawing
852
853 2004-02-06  André Pönitz  <poenitz@gmx.net>
854
855         * BufferView.[Ch]:
856         * BufferView_pimpl.[Ch]:
857         * text3.C: move some text specific LFUN handling
858
859 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
860
861         * text3.C (checkInsetHit): adjust coords
862         * text2.C (getColumnNearX): adjust coords
863         (edit): adjust coords
864         * text.C (getRowNearY): add two asserts
865
866 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
867
868         * converter.C:
869         * format.C: add using std::distance to compile on gcc 2.95/stlport
870
871 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
872
873         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
874
875 2004-02-04  André Pönitz  <poenitz@gmx.net>
876
877         * BufferView.[Ch] (insertInset):
878         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
879
880         * text2.C:
881         * text3.C: adjust
882
883 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
884
885         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
886         on the default clause of the switch
887         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
888         wasn't catched by LCursor::dispatch
889
890 2004-02-03  André Pönitz  <poenitz@gmx.net>
891
892         * BufferView.C:
893         * cursor.[Ch]: some additional asserts
894
895         * undo.[Ch]: remove LyXText dependency in interface
896
897         * lyxfunc.C: adjust
898
899         * lyxtext.h (firstPar, lastPar): remove dead functions
900
901         * text.C:
902         * text2.C:
903         * text3.C:
904         * paragraph.[Ch]: adjust
905
906 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
907
908         * lyxfind.C (find): fix argument order in call to ::find
909
910 2004-02-02  André Pönitz  <poenitz@gmx.net>
911
912         * cursor.[Ch]: remove direct access to anchor
913
914         * text.C: remove findText() hack
915
916 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
917
918         * iterators.[Ch] (lockPath): remove in favour of...
919         * BufferView.[Ch] (setCursor): this addition
920         * BufferView.C (putSelectionAt): adjust
921         * undo.C (performUndoOrRedo): adjust
922         * lyxfunc.C (dispatch): adjust
923
924 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
925
926         * iterators.C (lockPath): add a missing slice
927         * undo.C (performUndoOrRedo): remove redundant positioning code
928
929 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
930
931         * vc-backend.C (scanMaster): ";" -> ';'
932
933 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
934
935         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
936         std::binary_function
937
938         * lyxtextclass.C (compare_name): rename to...
939         (LayoutNamesEqual): ...this
940
941         * lyxlex_pimpl.C (compare_tags): inherit from
942         std::binary_function, put back into anon namespace
943
944         * lyxfind.C (MatchString): inherig from std::binary_function
945         (findChange): use empty() istead of !size()
946
947         * format.C (FormatNamesEqual): new functor
948         (getFormat): use it
949         (getNumber): use it
950         (add): use it
951         (erase): use it
952         (setViewer): use it
953
954         * converter.C (compare_Converter): rename to...
955         (ConverterEqual): ...this, and fixup a bit.
956         (getConverter): use it, and make function const
957         (getNumber): use it, and make function const
958         (add): use it
959         (erase): use it:
960
961         * bufferlist.C: add using boost::bind
962
963         * MenuBackend.C (MenuNamesEqual): new functor
964         (hasMenu): use it, and make function const
965         (hasSubmenu): use nested bind to get rid of compare_memfun.
966
967 2004-01-30  André Pönitz  <poenitz@gmx.net>
968
969         * BufferView_pimpl.C:
970         * cursor.C:
971         * cursor.h:
972         * cursor_slice.[Ch]:
973         * lyxfunc.C:
974         * lyxtext.h:
975         * paragraph_funcs.C:
976         * paragraph_funcs.h:
977         * rowpainter.C:
978         * text.C:
979         * text2.C:
980         * text3.C: move some of the edit(x,y) handling to the insets
981         some coordinate changes.
982
983 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
984
985         * text.C: add using statements for std::advance and std::distance
986
987         * paragraph.C: add using statement for std::distance
988
989         * lyxfind.C: add using statement for std::advance
990
991         * cursor.C (region): remove std:: from swap
992         (openable): use nucleus in stead of operator->
993
994         * BufferView.C: add using statements for std::distance and std::swap
995
996 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
997
998         * iterators.C: Remove the pimple, move the needed structures to
999         the header file. Create accessor for the positions stack.
1000         (asPosIterator): remove function
1001
1002         * PosIterator.C (PosIterator): move constructors to top of file
1003         (PosIterator): reimplement the constructor taking a ParIterator in
1004         terms of setFrom.
1005         (setFrom): new function
1006         (operator!=): inline it
1007
1008 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1009
1010         * lyxfind.C (replaceAll): use std::advance
1011
1012         * iterators.h: inherit from std::iterator.
1013
1014         * PosIterator.C (advance, distance): remove
1015         * PosIterator.h: interit from std::iterator.
1016
1017 2004-01-26  André Pönitz  <poenitz@gmx.net>
1018
1019         * BufferView.[Ch]:
1020         * BufferView_pimpl.[Ch]:
1021         * InsetList.[Ch]:
1022         * PosIterator.[Ch]:
1023         * buffer.h:
1024         * bufferview_funcs.C:
1025         * cursor.[Ch]:
1026         * cursor_slice.h:
1027         * factory.[Ch]:
1028         * iterators.[Ch]:
1029         * lyxfind.C:
1030         * lyxfunc.C:
1031         * lyxtext.h:
1032         * output_docbook.C:
1033         * output_latex.C:
1034         * output_linuxdoc.C:
1035         * output_plaintext.C:
1036         * paragraph.[Ch]:
1037         * paragraph_funcs.[Ch]:
1038         * paragraph_pimpl.[Ch]:
1039         * rowpainter.C:
1040         * tabular.C:
1041         * tabular.h:
1042         * text.C:
1043         * text2.C:
1044         * text3.C: more IU:  dumps most of the rest of the mathcursor
1045     implementation into cursor.[Ch]; "globalize" a bit of it.
1046
1047 2004-01-25  Angus Leeming  <leeming@lyx.org>
1048
1049         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1050
1051 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1052
1053         * LaTeXFeatures.h: add nice_ and nice() const
1054         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1055
1056 2004-01-20  André Pönitz  <poenitz@gmx.net>
1057
1058         * BufferView.[Ch]:
1059         * BufferView_pimpl.C:
1060         * PosIterator.C:
1061         * bufferview_funcs.C:
1062         * cursor.[Ch]:
1063         * cursor_slice.[Ch]:
1064         * factory.C:
1065         * iterators.C:
1066         * lyx_cb.C:
1067         * lyxfind.C:
1068         * lyxfunc.C:
1069         * lyxtext.h:
1070         * rowpainter.C:
1071         * text.C:
1072         * text2.C:
1073         * text3.C:
1074         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1075           LCursor and mathcursor parts to LCursor and InsetBase.
1076
1077 2004-01-15  André Pönitz  <poenitz@gmx.net>
1078
1079         * cursor_slice.[Ch]: add a few covienience functions
1080
1081         * funcrequest.[Ch]: remove BufferView * member
1082
1083         * BufferView_pimpl.C:
1084         * cursor.C:
1085         * factory.[Ch]:
1086         * lyxfind.[Ch]:
1087         * lyxfunc.C:
1088         * lyxtext.h:
1089         * text3.C:
1090         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1091
1092 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1093
1094         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1095         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1096
1097 2004-01-13  André Pönitz  <poenitz@gmx.net>
1098
1099         * textcursor.[Ch]:
1100         * lyxtext.h: hide cursor and selection anchor behind accessor function
1101
1102         * BufferView.C:
1103         * BufferView_pimpl.[Ch]:
1104         * PosIterator.C:
1105         * bufferview_funcs.C:
1106         * cursor.h:
1107         * lyxfind.C:
1108         * lyxfunc.C:
1109         * text.C:
1110         * text2.C:
1111         * text3.C:
1112         * undo.C: adjust
1113
1114         * cursor.h:
1115         * cursor_slice.[Ch]: some integer type changes for inset unification
1116
1117         * lyxcursor.[hC]: remove, it's CursorSlice now.
1118
1119         * Makefile.am:
1120         * BufferView_pimpl.[Ch]:
1121         * bufferview_funcs.C:
1122         * cursor_slice.C:
1123         * lyxtext.h:
1124         * text.C:
1125         * text2.C:
1126         * text3.C:
1127         * textcursor.[Ch]: adjust
1128
1129 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1130
1131         * text2.C (undoSpan): add and use
1132         * text.C (breakParagraph): use undoSpan (fix bug 578)
1133         * lyxtext.h: adjust
1134
1135 2004-01-08  Angus Leeming  <leeming@lyx.org>
1136
1137         * BufferView_pimpl.C (MenuInsertLyXFile):
1138         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1139         * lyxfunc.C (menuNew, open, doImport):
1140         FileFilterList change to the FileDialog open and save functions.
1141
1142 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1143
1144         * ShareContainer.h: make isEqual and isUnique adaptable
1145
1146         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1147
1148 2004-01-07  Angus Leeming  <leeming@lyx.org>
1149
1150         * LyXAction.C:
1151         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1152
1153         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1154
1155         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1156         functions replacing find, replace and replaceAll.
1157
1158         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1159         LFUN_WORDFIND(FORWARD|BACKWARD).
1160
1161 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * text.C (breakParagraph): remove an outdated #warning
1164
1165 2004-01-07  André Pönitz  <poenitz@gmx.net>
1166
1167         * lyxfind.C: somewhat clearer logic
1168
1169         * text.C: prevent crash in cursorX on unitialized row cache
1170
1171 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1172
1173         * lyxcursor.[Ch] (operator>): add
1174         * textcursor.C (selStart, selEnd): use std::min and std::max
1175
1176 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1177
1178         * Chktex.C: include boost/format.hpp
1179
1180 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1181
1182         * InsetList.C: replace functor MathcIt with adaptable functor
1183         InsetTablePosLess
1184         (insetIterator): modify accordingly
1185
1186         * BranchList.h: move the BranchNamesEqual functor here from...
1187         * BranchList.C: ... to here
1188
1189         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1190         SameName and match.
1191         (add): replace a finding loop with std::find_if.
1192
1193 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1194
1195         * output_docbook.C: moving LatexParam functionality into
1196         .layout files
1197
1198 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * buffer.C: increment format to 229.
1201
1202 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1203
1204         * LaTeXFeatures.C:
1205         * lyx_sty.[Ch]: remove minipageindent_def
1206
1207         * LyXAction.C:
1208         * factory.C:
1209         * lfuns.h:
1210         * lyxfunc.C:
1211         * text3.C: remove LFUN_INSET_MINIPAGE
1212
1213 2003-12-28  Angus Leeming  <leeming@lyx.org>
1214
1215         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1216
1217 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1218
1219         * text2.C (setParagraph): fix off-by-one crash
1220
1221 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1222
1223         * output_docbook.C: header stuff for AGU
1224
1225 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1226
1227         * text2.C (redoCursor): remove
1228         * text.C:
1229         * text3.C:
1230         * BufferView_pimpl.C: remove calls to redoCursor and
1231         setCursor(cursor.par(), cursor.pos()) all around
1232
1233 2003-12-15  Angus Leeming  <leeming@lyx.org>
1234
1235         * buffer.C: up the format to 228.
1236
1237 2003-12-15  André Pönitz  <poenitz@gmx.net>
1238
1239         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1240         slices
1241
1242         * Makefile.am:
1243
1244         * BufferView_pimpl.C:
1245         * cursor.[Ch]:
1246         * lyxcursor.[Ch]:
1247         * rowpainter.[Ch]:
1248         * lyxtext.h:
1249         * text.C:
1250         * text2.C:
1251         * text3.C: adjust
1252
1253 2003-12-15  Angus Leeming  <leeming@lyx.org>
1254
1255         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1256         than getFromGUIName to manipulate the color.
1257
1258 2003-12-14  Angus Leeming  <leeming@lyx.org>
1259
1260         * BranchList.[Ch]: minimize the API.
1261         (Branch::getBranch, getColor): now return a 'const &'.
1262         (Branch::setSelected) now returns a bool set to true if the
1263         selection status changes.
1264         (BranchList::clear, size, getColor, setColor, setSelected,
1265         allBranches, allSelected, separator): removed.
1266         (BranchList::find): new functions, returning the Branch with
1267         the given name.
1268         (BranchList::add, remove): return a bool indicating that
1269         the operation was successful.
1270
1271         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1272         new InsetBranch::isBranchSlected member function.
1273
1274         * LColor.[Ch]: mimimize the API.
1275         (fill): renamed as addColor and made private.
1276         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1277         versions of these functions taking a string arg have been removed.
1278
1279         * bufferparams.C (readToken):
1280         * lyxfunc.C (dispatch):
1281         * lyxrc.C (read): changes due to the altered BranchList and
1282         LColor APIs.
1283
1284         * factory.C (createInset, readInset): changes due to altered
1285         InsetBranch c-tor.
1286
1287 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1288
1289         * factory.C:
1290         * lyxfunc.C: remove insetminipage. "minipage-insert"
1291         now produces a frameless minipage box inset.
1292
1293 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * textcursor.[Ch] (selStart,selEnd): add new methods
1296         remove selection::start, end, use LyXCursor::operator<
1297         * lyxcursor.[Ch] (operator<): add
1298         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1299         * BufferView.[Ch] (unsetXSel): add
1300         * text2.C (clearSelection): use unsetXSel,adjust
1301         * text.C: adjust
1302         * text3.C: adjust
1303         * rowpainter.C: adjust
1304         * bufferview_funcs.C (put_selection_at): adjust
1305
1306 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1307
1308         * BufferView_pimpl.C: small coord. correction
1309
1310 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1311
1312         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1313         dragging over the splash screen.
1314
1315 2003-12-11  Angus Leeming  <leeming@lyx.org>
1316
1317         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1318         as it is now handled in LyXText::dispatch.
1319
1320         * text3.C (doInsertInset): remove a level of nesting.
1321
1322 2003-12-11  Angus Leeming  <leeming@lyx.org>
1323
1324         * factory.C (createInset): changes due to the changed interface to
1325         InsetCommandMailer::string2params.
1326
1327 2003-12-10  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1330         'dialog-show-new-inset <inset name>'
1331
1332 2003-12-10  Angus Leeming  <leeming@lyx.org>
1333
1334         * buffer.C: up the format to 227.
1335
1336         * factory.C: the box inset is now identified simply by 'Box'.
1337
1338 2003-12-10  Angus Leeming  <leeming@lyx.org>
1339
1340         * buffer.C: up the format to 226.
1341
1342         * factory.C: the note inset is now identified simply by 'Note'.
1343
1344 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1345
1346         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1347         when a pit is enough. Standarize a couple of loops.
1348
1349 2003-12-05  Angus Leeming  <leeming@lyx.org>
1350
1351         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1352         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1353         data to the re-worked "log" dialog.
1354
1355 2003-12-03  André Pönitz  <poenitz@gmx.net>
1356
1357         * PosIterator.C:
1358         * iterators.C:
1359         * lyxtext.h:
1360         * output_latex.C:
1361         * paragraph_funcs.C:
1362         * text.C:
1363         * text2.C: use Inset::getText instead of Inset::getParagraph
1364
1365 2003-12-03  André Pönitz  <poenitz@gmx.net>
1366
1367         * buffer.[Ch]:
1368         * lyxtext.h:
1369         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1370         InsetText::read() as LyXText::read()
1371
1372 2003-12-02  Angus Leeming  <leeming@lyx.org>
1373
1374         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1375         type. Add a comment in the implementation that the function uses
1376         the stream's bad() function rather than fail() as the std::streams
1377         would do.
1378
1379 2003-12-02  André Pönitz  <poenitz@gmx.net>
1380
1381         * lyxlex.[Ch]: make interface more similar to std::stream
1382
1383         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1384
1385 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1386
1387         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1388
1389 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1390
1391         * vspace.[Ch]: remove VSpace::NONE
1392
1393 2003-12-01  André Pönitz  <poenitz@gmx.net>
1394
1395         * buffer.[Ch]:
1396         * lyxtext.h: move ParagraphList member to LyXText
1397         rename LyXText::ownerParagraphs to LyXText::paragraph
1398
1399         * CutAndPaste.C:
1400         * bufferview_funcs.C:
1401         * iterators.[Ch]:
1402         * lyx_cb.C:
1403         * paragraph.C:
1404         * rowpainter.C:
1405         * tabular.C:
1406         * text.C:
1407         * text2.C:
1408         * text3.C: adjust
1409
1410         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1411
1412         * undo.C: fix cursor positioning
1413
1414 2003-12-01  John Levon  <levon@movementarian.org>
1415
1416         * BufferView_pimpl.C: fix a crash on exit with
1417         a buffer open
1418
1419 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1420
1421         * BranchList.C: fix setSelected() method.
1422
1423 2003-11-28  André Pönitz  <poenitz@gmx.net>
1424
1425         * ParagraphParameters.[Ch]:
1426         * ParameterStruct.h: remove space above/below from Paragraph to
1427          InsetVSpace
1428
1429         * BufferView_pimpl.C:
1430         * factory.C:
1431         * lyxfunc.C:
1432         * lyxtext.h:
1433         * output_latex.C:
1434         * paragraph.C:
1435         * paragraph_funcs.C:
1436         * rowpainter.[Ch]:
1437         * text.C:
1438         * text2.C:
1439         * text3.C: adjust
1440
1441 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1442
1443         * factory.C: Syntax change for CharStyles
1444
1445 2003-11-28  André Pönitz  <poenitz@gmx.net>
1446
1447         * BufferView.[Ch]:
1448         * BufferView.[Ch]:
1449         * buffer.[Ch]:
1450         * buffer.[Ch]: move LyXText member
1451
1452 2003-11-28  André Pönitz  <poenitz@gmx.net>
1453
1454         * BufferView.[Ch]: make LyXText * text a private member
1455
1456         * BufferView_pimpl.C:
1457         * cursor.C:
1458         * iterators.C:
1459         * lyx_cb.C:
1460         * lyxfind.C:
1461         * lyxtext.h:
1462         * rowpainter.[Ch]:
1463         * text.C:
1464         * text2.C:
1465         * undo.C: adjust
1466
1467         * output_plaintext.C: cleanup
1468
1469 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1470
1471         * buffer.C:
1472         * lyxtextclass.[Ch]: parametrize SGML document header
1473
1474 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1475
1476         * converter.[Ch]:
1477         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1478         getFlavor().
1479
1480 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1481
1482         * text2.C (setFont): rework using PosIterator (no more recursive)
1483         (setCharFont): no more needed
1484         (setLayout): no more selection cursors fiddling (done by redoCursor)
1485         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1486         destroy remaining ones)
1487
1488 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1489
1490         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1491         * lyxtext.h: ditto
1492         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1493         selection cursors
1494         * lyxfunc.C: adjust
1495         * text3.C: adjust + re-allow multi par depth changes
1496         * textcursor.C: simplify a bit
1497
1498 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1499
1500         * src/buffer.C:
1501         * src/lyxlayout.C:
1502         * src/lyxlayout.h:
1503         * src/lyxtext.h:
1504         * src/output_docbook.C:
1505         * src/output_latex.C:
1506         * src/paragraph.C:
1507         * src/paragraph.h:
1508         * src/sgml.C:
1509         * src/sgml.h:
1510         * src/text2.C: Introducing a number of tags parametrizing various
1511         XML formats that we may want to support
1512
1513 2003-11-25  André Pönitz  <poenitz@gmx.net>
1514
1515         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1516
1517         * lyxtext.h (leftMargin/rightMargin): simplify interface
1518
1519         * rowpainter.C:
1520         * text.C:
1521         * text2.C:
1522         * text3.C: adjust
1523
1524 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1525
1526         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1527         master file to any child files. Fixes bug 546.
1528
1529 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1530
1531         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1532
1533 2003-11-24  André Pönitz  <poenitz@gmx.net>
1534
1535         * rowpainter.C: simplification
1536
1537         * text2.C (updateCounters): remove call to redoParagraph on
1538         changed labels as this is far too expensive.
1539
1540 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1541
1542         * converter.C (convert): fix a crash: this function gets
1543         called with buffer == 0 from importer code.
1544
1545 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1546
1547         * text3.C (cursorPrevious): make sure that we do not compare
1548         iterators form different containers.
1549         (cursorNext): ditto
1550
1551         * rowpainter.C (paintSelection): make sure that we do not compare
1552         iterators from different containers.
1553
1554         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1555         iterators from different ParagraphList containers.
1556         [NEXT] ditto
1557
1558         * text2.C (LyXText): change order of initialization slightly
1559         (operator=): new function. copy all variables except cache_par_
1560         (moveUp): make sure that we do not compare iterators from
1561         different ParagraphList constainers.
1562         (moveDown): ditto
1563
1564         * text.C (firstPar): new function
1565         (lastPar): new function
1566         (endPar): new function
1567
1568         * lyxtext.h: move things around and group public functions, public
1569         variables, private functions, private variables
1570
1571 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1572
1573         * factory.C: change call to InsetERT constructor to avoid
1574         additional invocation of method status
1575         * text2.C (toggleInset): remove redundant update() call
1576         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1577         instead of a Bufferview pointer
1578
1579 2003-11-21  André Pönitz  <poenitz@gmx.net>
1580
1581         * rowpainter.C: simplification
1582
1583 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * text3.C (dispatch): make possible to extend a word/row selection
1586         with the mouse
1587
1588 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1589
1590         * lyxtext.h: x0_,y0_ -> xo_,yo_
1591         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1592         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1593         * rowpainter.C (paintRows): paint full paragraphs
1594
1595 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1598         screen coordinates)
1599
1600 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1601
1602         * lyxtext.h: add x0_, y0_
1603         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1604         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1605
1606 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1607
1608         * text2.C (setCursorIntern): move the x_target update here *
1609         * text3.C: change some bv() to true/false in calls to
1610         cursorUp/Down/Right/Left
1611         * cursor.C: use helper function.
1612
1613 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1614
1615         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1616         * paragraph_funcs.[Ch]: correct comment
1617         * rowpainter.C: do not paint selections away from bv->cursor()
1618         Fix a long standing selection painting bug.
1619         * text3.C: generalize mouse-selection code to LyXTexts other that
1620         top one
1621         * textcursor.C: do not use y coords if we can use par offsets
1622
1623 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1624
1625         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1626         cursor position after e.g. inset insert)
1627
1628 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1629
1630         * lyxfind.C (replace): adjust to locking removal + some
1631         code simplification
1632
1633 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1634
1635         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1636         of the path
1637
1638 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1639
1640         * lyxlayout.[Ch]:
1641         * output_docbook.C: XML sanitation: new layout
1642         parameters InnerTag and CommandDepth
1643
1644 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1645
1646         * BufferView_pimpl.C:
1647         * factory.C:
1648         * text3.C: Fix the insertion and modification of button-style
1649         insets
1650
1651 2003-11-13  André Pönitz  <poenitz@gmx.net>
1652
1653         * InsetList.[Ch]: remove deleteLyXText
1654
1655         * paragraph.[Ch]: cache beginOfBody position
1656
1657         * Bidi.C:
1658         * text.C:
1659         * text2.C:
1660         * text3.C: remove superfluous update() calls
1661
1662         * vspace.C: cleanup
1663
1664 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1665
1666         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1667         * BufferView.C (fitLockedInsetCursor): remove
1668         * cursor.[Ch] (getDim): add
1669         * text.C (getRowNearY): add faster version
1670         * text3.C: remove some update calls
1671
1672 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1673
1674         * LaTeXFeatures.C:
1675         * LyXAction.C:
1676         * MenuBackend.C:
1677         * MenuBackend.h:
1678         * dispatchresult.h:
1679         * factory.C:
1680         * lfuns.h:
1681         * lyxfunc.C:
1682         * lyxtextclass.C:
1683         * lyxtextclass.h:
1684         * text3.C: The Character Style /XML short element patch.
1685
1686 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1687
1688         * text3.C:
1689         * factory.C: Small step to solving 'unable to insert some insets'
1690         problem
1691
1692 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1693
1694         * cursor.[Ch] (updatePos): new function for updating the y
1695         position of the tip inset
1696         * bufferview_funcs.C (put_selection_at):
1697         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1698
1699 2003-11-11  André Pönitz  <poenitz@gmx.net>
1700
1701         * text.C: remove big comment on invalid Paragraph pointers as it is
1702         not valid anymore
1703
1704 2003-11-11  André Pönitz  <poenitz@gmx.net>
1705
1706         * text_funcs.[Ch]: merge with ...
1707
1708         * text.C: ... this
1709
1710         * lyxtext.h:
1711         * text2.C:
1712         * text3.C: adjust
1713
1714         * Makefile.am: remove text_funcs.[Ch]
1715
1716 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1717
1718         * cursor.C (getPos): return absolute cached y coord
1719
1720         * BufferView_pimpl.C (fitCursor): new simplistic code
1721         (workAreaDispatch): add a fitCursor call
1722
1723 2003-11-10  André Pönitz  <poenitz@gmx.net>
1724
1725         * BufferView.[Ch]:
1726         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1727
1728 2003-11-10  André Pönitz  <poenitz@gmx.net>
1729
1730         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1731         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1732         indicate that the cursor needs to leave an inset
1733
1734         * lyxtext.h: remove inset locking
1735
1736         * cursor.[Ch]: re-implement functionality provided by inset locking
1737
1738         * BufferView.[Ch]:
1739         * BufferView_pimpl.[Ch]:
1740         * LyXAction.C:
1741         * bufferview_funcs.[Ch]:
1742         * factory.C:
1743         * funcrequest.[Ch]:
1744         * iterators.C:
1745         * lyx_cb.C:
1746         * lyxfind.C:
1747         * lyxfunc.C:
1748         * text.C:
1749         * text2.C:
1750         * text3.C:
1751         * undo.C: adjust
1752
1753 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1754
1755         * PosIterator.[Ch]: replace the stack with a vector, add inset
1756         accesor
1757         * iterators.[C]: adjust
1758
1759 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1760
1761         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1762         replaced
1763         * paragraph_funcs.C (readParToken): put the correct id in the
1764         error item, not the id of the top paragraph
1765
1766 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1767
1768         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1769         * bufferview_funcs.C (put_selection_at): use the above
1770
1771 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1772
1773         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1774
1775 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * output_linuxdoc.h:
1778         * output_plaintext.h:
1779         * output.h:
1780         * output_docbook.h: add #include statements
1781
1782 2003-11-05  José Matos  <jamatos@lyx.org>
1783
1784         * output_docbook.[Ch]:
1785         * output_latex.[Ch]:
1786         * output_linuxdoc.[Ch]:
1787         * output_plaintext.[Ch]: New files for output formats.
1788         * output.[Ch]: New file for helper functions.
1789
1790         * buffer.[Ch]:
1791         * paragraph_funcs.[Ch]: output functions moved to new files.
1792
1793         * outputparams.h: rename of latexrunparams.h
1794
1795         * LaTeX.[Ch]:
1796         * buffer.[Ch]:
1797         * bufferlist.[Ch]:
1798         * converter.[Ch]:
1799         * exporter.C:
1800         * paragraph.[Ch]:
1801         * paragraph_funcs.[Ch]:
1802         * paragraph_pimpl.[Ch]:
1803         * tabular.[Ch]: rename ascii to plaintext
1804         and LatexRunParams to OutputParams.
1805
1806 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1807
1808         * iterators.[Ch] (text): require bv argument
1809         * undo.C (recordUndo):
1810         * lyxfunc.C (dispatch):
1811         * bufferview_funcs.C (put_selection_at): adjust
1812
1813 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1814
1815         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1816
1817 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1818
1819         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1820         nestings
1821
1822 2003-11-04  André Pönitz  <poenitz@gmx.net>
1823
1824         * cursor.[Ch]: restructure
1825
1826         * BufferView.[Ch]:
1827         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1828
1829         * iterators.[Ch] (asCursor): remove
1830
1831         * lfuns.h: remove LFUN_INSET_EDIT
1832
1833         * lyxfunc.C:
1834         * tabular.C:
1835         * text.C:
1836         * text2.C:
1837         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1838
1839 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * lyxfind.[Ch]: complete overhaul
1842         * BufferView_pimpl.C:
1843         * lyxfunc.C: adjust
1844         * paragraph.[Ch] (insert): add
1845
1846 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1847
1848         * BufferView.[Ch]:
1849         * lyxtext.h:
1850         * text.C: remove dead spellcheck code
1851
1852 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1853
1854         * dispatchresult.h: add a val setter
1855
1856         * cursor.C (dispatch): use a tempvar for data_[i]
1857
1858 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * PosIterator.[Ch]: compile fix
1861
1862 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1863
1864         * text.C (cursorPar): deactivate the cursor cache
1865
1866 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1867
1868         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1869
1870 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1871
1872         * text3.C (dispatch): adjust for new DisptchResult semantics.
1873
1874         * lyxfunc.C (dispatch): handle update when return from
1875         Cursor::dispatch, adjust for new DispatchResult semantics.
1876
1877         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1878         DispatchResult(true) mean to not update. Add class functions for
1879         setting dispatched and update, as well as reading.
1880
1881         * cursor.C (dispatch): don't handle update here
1882
1883 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1884
1885         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1886         * trans_mgr.C: adjust
1887
1888         * paragraph_funcs.C (readParToken): exception safety
1889
1890         * lyxvc.h: store the vcs pointer in a scoped_ptr
1891         * lyxvc.C: adjust
1892
1893         * lyxsocket.C (serverCallback): exception safety
1894
1895         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1896
1897         * ispell.C (clone): make it return a auto_ptr
1898
1899         * factory.C (createInset): exception safety
1900         (readInset): exception safety
1901
1902         * bufferlist.C (newBuffer): exception safety
1903
1904         * Thesaurus.C (Thesaurus): use initialization for aik_
1905
1906         * MenuBackend.C (expandToc): exception safety.
1907
1908 2003-11-03  André Pönitz  <poenitz@gmx.net>
1909
1910         * buffer.C:
1911         * buffer.h:
1912         * bufferview_funcs.C: remove getInsetFromId()
1913
1914         * lyxcursor.[Ch]:
1915         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1916
1917         * lyxfunc.C:
1918         * text2.C:
1919         * text3.C: adjust
1920
1921 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1922
1923         * PosIterator.C (distance, advance): new
1924         * bufferview_funcs.[Ch] (put_selection_at): new
1925         * iterators.[Ch] (lockPath): new
1926
1927 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1928
1929         * iterators.[Ch] (asPosIterator): added
1930         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1931         * PosIterator.[Ch]: added
1932
1933 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1934
1935         * text3.C:
1936         * lyxfunc.C:
1937         * cursor.C (dispatch):
1938         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1939
1940         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1941         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1942         contructor, add a class function dispatched. Remove operator>=
1943
1944 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1945
1946         * debug.C: only use the default constructor for debugstream
1947         (lyxerr) here.
1948
1949         * main.C (main): include debug.h and setup the lyxerr streambuf
1950         here.
1951
1952 2003-10-31  José Matos  <jamatos@lyx.org>
1953
1954         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1955
1956         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1957         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1958         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1959         * paragraph_pimpl.C (simpleTeXSpecialC):
1960         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1961         add LatexRunParams argument.
1962
1963         * exporter.C (Export): change call accordingly.
1964
1965         * latexrunparams.h: add new member to take care of the other backends.
1966 2003-10-30  José Matos  <jamatos@lyx.org>
1967
1968         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1969         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1970         factorise code for paragraph output.
1971         * buffer.[Ch]:
1972         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1973         move functions.
1974
1975 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1976
1977         * text3.C (dispatch):
1978         * lyxfunc.C (dispatch):
1979         * cursor.C (dispatch):
1980         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1981
1982         * dispatchresult.h: make the dispatch_result_t ctor explicit
1983
1984 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1985
1986         * sgml.[Ch]:
1987         * buffer.C: small refactoring of docbook stuff
1988
1989 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1992         meaning.
1993
1994 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1995
1996         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1997         operator dispatch_result_t, and operators for == != and >=
1998
1999         * cursor.C (dispatch): adjust for operator dispatch_result_t
2000         removal. comment out call to update
2001
2002         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2003
2004 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2005
2006         * text3.C:
2007         * text2.C:
2008         * text.C:
2009         * lyxtext.h:
2010         * lyxfunc.C:
2011         * cursor.C:
2012         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2013         (dispatch):
2014
2015         * dispatchresult.h: new file, DispatchResult broken out of
2016         insets/insetbase.h
2017
2018         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2019
2020 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2021
2022         * text.C (rowBreakPoint): put a hack inside #if 0
2023
2024 2003-10-28  André Pönitz  <poenitz@gmx.net>
2025
2026         * lyxtext.h:
2027         * metricsinfo.C:
2028         * paragraph_funcs.C:
2029         * rowpainter.C:
2030         * text.C:
2031         * text2.C: general cleanup (lots of small stuff)
2032
2033 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2034
2035         * text2.C (cursorEnd): simple fix to the "end key goes to one
2036         before the end on last row" bug
2037
2038 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2039
2040         * text.C (backspace): fix the "zombie characters"
2041
2042 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2043
2044         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2045
2046 2003-10-27  André Pönitz  <poenitz@gmx.net>
2047
2048         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2049
2050         * factory.C: handle new InsetPagebreak, InsetLine
2051
2052         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2053         and move handling into new InsetPagebreak, InsetLine
2054
2055         * BufferView_pimpl.C:
2056         * LyXAction.C:
2057         * ParagraphParameters.C:
2058         * ParameterStruct.h:
2059         * lyxfunc.C:
2060         * lyxtext.h:
2061         * paragraph.C:
2062         * paragraph.h:
2063         * paragraph_funcs.C:
2064         * paragraph_pimpl.C:
2065         * rowpainter.C:
2066         * text.C:
2067         * text2.C:
2068         * text3.C: adjust
2069
2070 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2071
2072         * text.C:
2073         * lyxrow_funcs.[Ch]:
2074         * Bidi.C:
2075         * paragraph.C:
2076         * lyxtext.h:
2077         * rowpainter.C:
2078         * text2.C:
2079         * text3.C: remove lastPos uses in favour of Row::endpos
2080
2081 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2082
2083         * undo.C (performUndoOrRedo): fix two crashes by setting a
2084         cursor by hand and reordering some calls. Use bv->lockInset instead
2085         of inset->edit because the latter loses cursor information
2086
2087 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2088
2089         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2090         by Martin
2091         (rowBreakPoint): fix width. change point to point + 1.
2092         Add a missing check.
2093
2094 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2095
2096         * MenuBackend.C:
2097         * lyxfunc.C: fix (at least partly) the problems
2098         with the Nav menu and headers inside branch insets
2099         reported by Kayvan
2100
2101 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2102
2103         * paragraph.C (getChar): add strong asserts
2104
2105         * lyxrow_funcs.C (lastPos): remove hideous hack
2106
2107         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2108         (fill): adjust to that (avoid an infinite loop)
2109
2110 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2111
2112         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2113
2114 2003-10-23  André Pönitz  <poenitz@gmx.net>
2115
2116         * RowList_fwd.h: change list<> to vector<> to gain speed
2117         after suggestion from Alfredo
2118
2119 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2120
2121         * lyxtext.h: move the bidi stuff from here...
2122         * text.C: and here
2123         * text2.C: and here
2124         * Bidi.[Ch]: ... to here
2125
2126 2003-10-23  André Pönitz  <poenitz@gmx.net>
2127
2128         * lyxtext.h:
2129         * text.C (isLastRow, isFirstRow): new functions
2130
2131         * paragraph.h: new width cache member
2132
2133         * rowpainter.C: replace RowList::iterator with Row & where possible
2134
2135         * lyxfunc.C: replace several view()->text with a single call
2136
2137         * toc.C: fix 'unused' warning
2138
2139 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2140
2141         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2142         when woring with stream::pos_type
2143         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2144
2145 2003-10-22  André Pönitz  <poenitz@gmx.net>
2146
2147         * lyxtext.h:
2148         * text.C: use Row & instead of RowList::iterator
2149
2150         * lyxrow.h: rename end() to endpos()
2151
2152         * rowpainter.C:
2153         * text.C:
2154         * text2.C: adjust
2155
2156 2003-10-22  Angus Leeming  <leeming@lyx.org>
2157
2158         * buffer.[Ch] (fully_loaded): new member function, returning true
2159         only when the file has been loaded fully.
2160         Used to prevent the premature generation of previews and by the
2161         citation inset to prevent computation of the natbib-style label.
2162
2163         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2164         templates are all set up.
2165
2166         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2167
2168 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * text.C: fixed an "oops" in the "is a bit silly"
2171         bug fix
2172
2173 2003-10-21  André Pönitz  <poenitz@gmx.net>
2174
2175         * FuncStatus.[Ch]: small stuff, whitespace
2176
2177         * lyxfont.[Ch]: operator<<() for debug reasons
2178
2179         * lyxfunc.C:
2180         * lyxrow_funcs.C:
2181         * lyxtext.h: whitespace, spelling
2182
2183         * paragraph.C: naming of variables
2184
2185         * text.C:
2186         * text2.C: small stuff
2187
2188
2189 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2190
2191         * text.C: (1) finish off the inset display() work;
2192         (2) fix the "is a bit silly" bug (accessing char
2193         past end of par).
2194
2195 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2196
2197         * text.C: re-introduce display() for insets, fixing the
2198         various bugs (stretch of line above, math inset
2199         positioning, ...)
2200
2201 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * text.C (rightMargin): remove spurious semicolon
2204
2205         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2206         1415)
2207
2208 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2209
2210         * text3.C: fix one crash due to wrong cursor def
2211
2212 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2213
2214         * vc-backend.C (scanMaster): make the regex static
2215
2216         * LaTeX.C (scanAuxFile): make the regexs static
2217
2218         * text3.C (doInsertInset, dispatch, dispatch):
2219         * text2.C (cursorUp, cursorDown):
2220         * text.C (selectNextWordToSpellcheck):
2221         * BufferView_pimpl.C (dispatch):
2222         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2223
2224 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2225
2226         * lyxsocket.C: include <cerrno>
2227
2228 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2229
2230         * lyxfunc.C (dispatch): remove textcache stuff
2231
2232         * bufferlist.C (release): remove textcache stuff
2233         (closeAll): ditto
2234
2235         * TextCache.C: delete file
2236         * TextCache.h: delete file
2237
2238         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2239
2240         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2241         delete of the bv_->text.
2242         (resizeCurrentBuffer): remove texcache stuff
2243         (workAreaResize): ditto
2244
2245 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2246
2247         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2248         action.
2249
2250 2003-10-16  André Pönitz  <poenitz@gmx.net>
2251
2252         * lyxrow.[Ch]:
2253         * paragraph.h:
2254         * rowpainter.C:
2255         * text.C:
2256         * text2.C:
2257         * text3.C: speed up by storing y positions per paragraph plus per-row
2258         offset instead of having a 'full' y position in the row.
2259
2260 2003-10-15  André Pönitz  <poenitz@gmx.net>
2261
2262         * iterators.[Ch]:
2263         * iterators.[Ch]:
2264         * undo.[Ch]: make undo aware of inner insets
2265
2266 2003-10-14  Angus Leeming  <leeming@lyx.org>
2267
2268         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2269         static member functions LyX::ref() and LyX::cref.
2270         (lastfiles): new accessor functions for the new lastfiles_ member var.
2271         (addLyXView, views_): add a new LyXView to the list of views_.
2272         (updateInset): loop over all LyXViews to call their own updateInset
2273         member function, returning a pointer to the Buffer owning the inset.
2274
2275         * BufferView_pimpl.C (loadLyXFile):
2276         * MenuBackend.C (expandLastfiles):
2277         * bufferlist.C (MenuWrite, QuitLyX):
2278         lastfiles is no longer a global variable.
2279         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2280
2281         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2282         static function. Access through LyX::cref().emergencyCleanup().
2283
2284 2003-10-14  André Pönitz  <poenitz@gmx.net>
2285
2286         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2287
2288         * undo.[Ch]: restoring part of 'undo in insets'
2289
2290         * Makefile.am:
2291         * undo_funcs.[Ch]: merge with undo.[Ch]
2292
2293         * tabular.C: small cleansing stuff
2294
2295 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2296
2297         * paragraph_funcs.C (readParToken): report unknown insets as error
2298         boxes. Use the outer paragraph as location (also for unknown
2299         tokens).
2300
2301         * factory.C (readInset): do not abort on reading an unknown inset.
2302         Eat it and return 0.
2303
2304 2003-10-13  Angus Leeming  <leeming@lyx.org>
2305
2306         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2307
2308         * lyxrc.C: displayTranslator is now a function,
2309         declared in GraphicsTypes.h.
2310
2311 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2312
2313         * format.C: new placeholder $$a to pass the socket address.
2314
2315         * bufferlist.[Ch]: new function getBufferFromTmp.
2316
2317         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2318           files in the temporary dir.
2319
2320 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2321
2322         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2323
2324         * Makefile.am: add lyxsocket.[Ch].
2325
2326         * lyx_main.C (error_handler): handle SIGPIPE.
2327
2328 2003-10-13  André Pönitz  <poenitz@gmx.net>
2329
2330         * BufferView_pimpl.C:
2331         * lyxtext.h:
2332         * text.C:
2333         * text2.C:
2334         * text3.C:
2335         * undo_funcs.[Ch]: use paroffset_type instead of
2336           ParagraphList::iterators to prevent multiple conversion
2337           (and get a more robust interface)
2338
2339 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2340
2341         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2342         * lyxtext.h: ditto
2343         * text3.C (dispatch): ditto
2344
2345 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2348         move the onlyfile, use onlyfile instead of foundfile in a couple
2349         of places.
2350
2351         * DepTable.C (update): flush the error stream a bit more
2352
2353 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * lyxserver.C (callback): adjust
2356
2357         * lyxfunc.C (getStatus): add a missing brace in commented code
2358         (ensureBufferClean): reindent
2359         (dispatch): delete version taking a string
2360
2361 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * LaTeX.C (deplog): move found file handlig from here...
2364         (handleFoundFile): .. to new function here.
2365         (deplog): make sure to discover several files mentioned on the
2366         same log line.
2367
2368 2003-10-10  André Pönitz  <poenitz@gmx.net>
2369
2370         * lyxfunc.C:
2371         * lyxtext.h:
2372         * tabular.C:
2373         * text.C:
2374         * text2.C:
2375         * text3.C: fix some of the tabular crashes
2376
2377 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2378
2379         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2380
2381         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2382
2383 2003-10-09  André Pönitz  <poenitz@gmx.net>
2384
2385         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2386
2387         * BufferView.C:
2388         * BufferView_pimpl.C:
2389         * bufferview_funcs.C:
2390         * lyx_cb.C:
2391         * lyxcursor.C:
2392         * lyxfind.C:
2393         * lyxfunc.C:
2394         * lyxtext.h:
2395         * text.C:
2396         * text2.C:
2397         * text3.C:
2398         * text_funcs.[Ch]:
2399         * textcursor.[Ch]:
2400         * undo_funcs.C: adjust
2401
2402 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * text2.C (incrementItemDepth): new function, use a backtracking
2405         algorithm to discover the correct item depth.
2406         (resetEnumCounterIfNeeded): new function, use a backtracking
2407         algorithm to discover if counter reset is needed.
2408         (setCounter): use them. Simplify a bit. Add different labels for
2409         different item depths for itemize.
2410
2411         * paragraph.C (Paragraph): remove initialization of enumdepth
2412         (operator=): ditto
2413
2414         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2415         enumerate and itemize. Change the type of itemdepth to signed char.
2416
2417 2003-10-08  André Pönitz  <poenitz@gmx.net>
2418
2419         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2420           thing assignable.
2421         * text.C:
2422         * text2.C: adjust
2423
2424         * tabular.[Ch]: fix crash after 'row-insert'
2425
2426 2003-10-08  Angus Leeming  <leeming@lyx.org>
2427
2428         Fix doxygen warnings.
2429
2430         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2431         Remove CutAndPaste:: prefix from header file declaration.
2432
2433         * LColor.h (fill): remove LColor:: prefix from declaration.
2434
2435         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2436         use lyx::depth_type rather than Paragraph::depth_type so that
2437         header file and .C file match.
2438
2439         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2440
2441         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2442         * aspell.C: \file aspell_local.C -> \file aspell.C
2443         * gettext.C: \file gettext.C -> \file src/gettext.C
2444         * gettext.h: \file gettext.h -> \file src/gettext.h
2445         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2446         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2447         * text.C: \file text.C -> \file src/text.C
2448
2449         * toc.C: move comment so that doxygen is not confused.
2450
2451 2003-10-07  Angus Leeming  <leeming@lyx.org>
2452
2453         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2454
2455 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2456
2457         * aspell.C:
2458         * aspell_local.h: add forgotten std::string's.
2459
2460 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2461
2462         * LaTeXFeatures.C:
2463         * LyXAction.C:
2464         * factory.C:
2465         * lfuns.h:
2466         * lyxfunc.C:
2467         * text3.C: The Box patch. Fancybox support, minipage, parbox
2468
2469 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2470
2471         * CutAndPaste.h:
2472         * DepTable.h:
2473         * FloatList.h:
2474         * LaTeXFeatures.h:
2475         * ParagraphParameters.h:
2476         * TextCache.h:
2477         * Thesaurus.h:
2478         * bufferlist.h:
2479         * exporter.h:
2480         * importer.h:
2481         * lastfiles.h:
2482         * lyxfind.h:
2483         * lyxfont.h:
2484         * lyxlex.h:
2485         * lyxtextclasslist.h:
2486         * messages.h:
2487         * paragraph.h:
2488         * paragraph_pimpl.C:
2489         * textcursor.h: add <string> and other small fixes to make Lars'
2490         std::string patch compile with STLport.
2491
2492 2003-10-06  Angus Leeming  <leeming@lyx.org>
2493
2494         * LColor.h: Add missing #include <string>.
2495
2496 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * All most all file in all subdirs: Make <string> be the prefered
2499         way of getting to std::string, add using declarations.
2500
2501 2003-10-06  André Pönitz  <poenitz@gmx.net>
2502
2503         * metricsinfo.C: initialize LyXFont before changing attribute.
2504         (fixes the 'math in \emph is upright' bug)
2505
2506 2003-10-06  André Pönitz  <poenitz@gmx.net>
2507
2508         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2509
2510 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2511
2512         * graph.C:
2513         * paragraph_pimpl.C: Small fixes to build using STLport
2514
2515 2003-10-02  André Pönitz  <poenitz@gmx.net>
2516
2517         * lyxfunc.C:
2518         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2519
2520 2003-10-01  André Pönitz  <poenitz@gmx.net>
2521
2522         * factory.C: assert early
2523
2524 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2525
2526         * lyx_main.C: remove the global debug object
2527
2528         * debug.h: adjust for new debugstream
2529
2530         * debug.C: adjust for new debugstream and keep the global debug
2531         object here.
2532
2533 2003-09-22  Angus Leeming  <leeming@lyx.org>
2534
2535         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2536         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2537         an incomplete class LyXFont.
2538
2539 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2540
2541         * factory.C: bug fix in branches
2542
2543 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * lyxfunc.C (processKeySym): adjust
2546         (dispatch): adjust
2547         (dispatch): change arg name from ev to func, adjust
2548         (sendDispatchMessage): ditto
2549
2550         * lyx_main.C (defaultKeyBindings): adjust keybindings
2551         (deadKeyBindings): ditto
2552
2553         * kbsequence.C (addkey): return a FuncRequest
2554
2555         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2556
2557         * kbmap.C (bind): take a FuncRequest as arg, adjust
2558         (read): adjust
2559         (lookup): adjust
2560         (defkey): change to take a FuncRequest as arg, adjust
2561         (findbinding): take a FuncRequest as arg, adjust.
2562
2563         * funcrequest.h (operator=): added
2564
2565         * funcrequest.C (FuncRequest): default kb_action changed from
2566         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2567
2568         * buffer.C (dispatch): simplify
2569         (dispatch): adjust to take a FuncRequest as arg, adjust
2570
2571         * boost.C (assertion_failed): change assertion message slightly
2572
2573         * ToolbarBackend.C (read): simplify
2574
2575         * MenuBackend.C (binding): adjust call to findbinding, add a
2576         message if no binding is found.
2577         (read): simplify
2578         (expandToc): correct by adding a empty FuncRequest
2579
2580         * LyXAction.C: include <boost/assert.hpp>
2581         (isPseudoAction): delete function
2582         (LookupFunc): change name to...
2583         (lookupFunc): this. change return type to FuncRequest.
2584         (getActionName): take kb_action as arg, simplify
2585         (funcHasFlag): add an assert, simplify.
2586
2587 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2588
2589         * toc.C (action): return a FuncRequest, simplify
2590
2591         * lyxfunc.C (processKeySym): adjust
2592         (getStatus): delete version that takes an int.
2593         (getStatus): adjust
2594         (dispatch): delete version that takes action as int
2595         (dispatch): adjust
2596         (sendDispatchMessage): simplify and adjust
2597
2598         * funcrequest.C (getArg): take unsigned int as arg
2599
2600         * ToolbarBackend.C (read): adjust
2601         (add): delete version that takes func as a string.
2602         (getIton): take a FuncRequest as arg
2603
2604         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2605         action.
2606
2607         * MenuBackend.C (MenuItem): add a new construct that only takes a
2608         Kind, simplify the constructor use for submenus.
2609         (add): adjust
2610         (expandLastfiles): adjust
2611         (expandDocuments): adjust
2612         (expandFormats): adjust
2613         (expandFloatListInsert): adjust
2614         (expandFloatInsert): adjust
2615         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2616
2617         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2618         Remove class variables lyx_pseudo_map and lyx_arg_map
2619
2620         * LyXAction.C (searchActionArg): delete function
2621         (getPseudoAction): delete function
2622         (retrieveActionArg): delete function
2623         (LookupFunc): make it return kb_action, simplify.
2624         (getActionName): simplify
2625
2626         * factory.C (createInset): fix new bug
2627
2628 2003-09-19  Angus Leeming  <leeming@lyx.org>
2629
2630         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2631         masterFilename_ parameter in the include inset.
2632
2633         * factory.C (createInset): changes due to the changes to InsetInclude.
2634
2635 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2636
2637         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2638
2639 2003-09-18  Angus Leeming  <leeming@lyx.org>
2640
2641         * buffer.C:
2642         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2643         Inset::fillWithBibKeys.
2644         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2645
2646 2003-09-18  Angus Leeming  <leeming@lyx.org>
2647
2648         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2649         variables.
2650         (ctor): pass and store a 'Buffer const &'
2651         (buffer): new member function.
2652
2653         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2654         '*this' to the LaTeXFeatures ctor.
2655
2656 2003-09-18  Angus Leeming  <leeming@lyx.org>
2657
2658         * LColor.h:
2659         * lyxfont.C:
2660         * lyxfont.h:
2661         * lyxtext.h:
2662         * text.C: rename EnumLColor as LColor_color.
2663
2664 2003-09-18  Angus Leeming  <leeming@lyx.org>
2665
2666         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2667         remove #include "insets/insetbase.h" from cursor.h.
2668
2669 2003-09-18  Angus Leeming  <leeming@lyx.org>
2670
2671         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2672         InsetOld_code to remove #include "inset.h".
2673
2674         * iterators.C: add #include "insets/inset.h"
2675
2676 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2677
2678         * BufferView.C: remove more locking stuff that apparently doesn't
2679         do anything sensible.
2680
2681 2003-09-16  André Pönitz  <poenitz@gmx.net>
2682
2683         * paragraph.[Ch]:
2684         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2685           performance boost.
2686
2687 2003-09-16  Angus Leeming  <leeming@lyx.org>
2688
2689         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2690
2691         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2692         arg/return type.
2693
2694         * paragraph.h: remove #include "lyxfont.h". Forward declare
2695         LyXFont_size.
2696
2697 2003-09-16  Angus Leeming  <leeming@lyx.org>
2698
2699         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2700         of support/textutils.h.
2701         (isWord): move the contents of support/textutils.h's IsWordChar here.
2702
2703         * buffer.C:
2704         * lyxfind.C:
2705         * rowpainter.C:
2706         * text.C:
2707         * text2.C: add #include "paragraph.h".
2708
2709         * rowpainter.C:
2710         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2711
2712 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * main.C:
2715         * lyx_main.C:
2716         * lyx_cb.C:
2717         * buffer.C:
2718         * LaTeX.C: use namespace alias for lyx::support::os
2719
2720 2003-09-16  Angus Leeming  <leeming@lyx.org>
2721
2722         * bufferparams.C:
2723         * bufferview_funcs.C:
2724         * factory.C:
2725         * lyxfunc.C:
2726         * paragraph_pimpl.C:
2727         * rowpainter.C:
2728         * text.C: add #include "LColor.h".
2729
2730 2003-09-16  Angus Leeming  <leeming@lyx.org>
2731
2732         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2733         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2734         return LyXFont &.
2735         Store the FontBits::color variable as an int rather than as an
2736         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2737         file.
2738
2739         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2740         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2741         string calls together.
2742
2743         * lyxrc.C: add #include "LColor.h".
2744
2745 2003-09-15  Angus Leeming  <leeming@lyx.org>
2746
2747         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2748         a cow_ptr.
2749
2750 2003-09-15  Angus Leeming  <leeming@lyx.org>
2751
2752         * LColor.h: add an EnumLColor wrapper for LColor::color.
2753
2754         * lyxfont.[Ch] (color, setColor, realColor):
2755         * lyxtext.h, text.C (backgroundColor):
2756         pass EnumLColor args to/from the functions, rather than LColor::color
2757         ones.
2758
2759         * lyxfont.h:
2760         * lyxtext.h: forward declare EnumLColor.
2761
2762         * lyx_main.C: add #include "LColor.h".
2763
2764 2003-09-15  Angus Leeming  <leeming@lyx.org>
2765
2766         * .cvsignore: add lyx-gtk.
2767
2768 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * Chktex.C
2771         * LaTeX.C
2772         * LaTeXFeatures.C
2773         * ParagraphParameters.C
2774         * Spacing.C
2775         * buffer.C
2776         * bufferparams.C
2777         * bufferview_funcs.C
2778         * chset.C
2779         * counters.C
2780         * funcrequest.C
2781         * lyxfont.C
2782         * lyxgluelength.C
2783         * lyxlength.C
2784         * paragraph.C
2785         * paragraph_funcs.C
2786         * text3.C
2787         * vc-backend.C: remove usage of STRCONV
2788
2789 2003-09-15  Angus Leeming  <leeming@lyx.org>
2790
2791         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2792         explicitly define the color passed to the painter.
2793
2794 2003-09-15  Angus Leeming  <leeming@lyx.org>
2795
2796         * bufferparams.C (BufferParams): reorder member initializers to avoid
2797         compiler warning.
2798
2799 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2800
2801         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2802         * text.C (updateRowPositions): remove an unusual nop
2803
2804 2003-09-12  André Pönitz  <poenitz@gmx.net>
2805
2806         * BufferView_pimpl.C:
2807         * Bullet.C:
2808         * layout.h:
2809         * lyxfunc.C:
2810         * lyxlayout.[Ch]:
2811         * lyxtextclass.C:
2812         * rowpainter.C:
2813         * text.C:
2814         * text2.C:
2815         * Counters.[Ch]: finish the 'automatic counters' job
2816
2817 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2818
2819         * aspell.C: include <boost/assert.cpp> (compile fix)
2820
2821 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2822
2823         * boost.C (assertion_failed): use lyx::support::abort instead of
2824         assert.
2825
2826 2003-09-10  Angus Leeming  <leeming@lyx.org>
2827
2828         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2829         with their _fwd progeny.
2830
2831 2003-09-09  Angus Leeming  <leeming@lyx.org>
2832
2833         134 files throughtout the source tree: replace 'using namespace abc;'
2834         directives with the appropriate 'using abc::xyz;' declarations.
2835
2836 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2837
2838         * boost.C (emergencyCleanup): moved here from LAssert.c
2839         (assertion_failed): new function, called by BOOST_ASSERT
2840
2841         * several files: change Assert to BOOST_ASSERT
2842
2843 2003-09-09  Angus Leeming  <leeming@lyx.org>
2844
2845         * buffer.[Ch]: Add an Impl class and move Buffer's member
2846         variables into it. As a result move several header files out of
2847         buffer.h.
2848
2849         Add header files to lots of .C files all over the tree as a result.
2850
2851 2003-09-09  Angus Leeming  <leeming@lyx.org>
2852
2853         * buffer.[Ch]: make Buffer's member variables private. Add
2854         accessor functions.
2855
2856         Lots of changes all over the tree as a result.
2857
2858 2003-09-08  Angus Leeming  <leeming@lyx.org>
2859
2860         * graph.C: #include <config.h>.
2861
2862 2003-09-08  Angus Leeming  <leeming@lyx.org>
2863
2864         * BranchList.C:
2865         * BufferView.C:
2866         * BufferView_pimpl.C:
2867         * CutAndPaste.C:
2868         * DepTable.C:
2869         * LaTeX.C:
2870         * LaTeXFeatures.C:
2871         * LyXAction.C:
2872         * MenuBackend.C:
2873         * TextCache.C:
2874         * aspell.C:
2875         * buffer.C:
2876         * bufferlist.C:
2877         * changes.C:
2878         * chset.C:
2879         * converter.C:
2880         * counters.C:
2881         * debug.C:
2882         * graph.C:
2883         * ispell.C:
2884         * lyx_cb.C:
2885         * lyxfind.C:
2886         * lyxfunc.C:
2887         * lyxlex_pimpl.C:
2888         * lyxrc.C:
2889         * lyxrow.C:
2890         * paragraph.C:
2891         * rowpainter.C:
2892         * texrow.C:
2893         * text.C:
2894         * text2.C:
2895         * toc.C: remove redundant using directives.
2896
2897 2003-09-07  Angus Leeming  <leeming@lyx.org>
2898
2899         * LaTeXFeatures.h: remove #include "support/types.h".
2900         * ToolbarBackend.h: remove #include <algorithm>.
2901         * changes.h: remove #include <ctime>.
2902         * debug.h: remove #include <iosfwd>.
2903         * graph.h: remove #include "support/std_string.h".
2904         * lyx_main.h: remove #include <csignal>.
2905         * lyxlex_pimpl.h: remove #include <fstream>.
2906         * sgml.h: remove #include <algorithm>, <utility>.
2907         * toc.h: remove #include "support/std_ostream.h".
2908         Add #include <iosfwd>.
2909
2910 2003-09-07  Angus Leeming  <leeming@lyx.org>
2911
2912         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2913
2914         * converter.h: forward declare LatexRunParams.
2915         * encoding.h: remove #include "lyxrc.h".
2916         * lyxtext.h: remove #include "LColor.h".
2917         * lyxtextclass.h: remove #include "support/types.h".
2918         * trans.h: remove #include "tex-accent.h".
2919         * trans_mgr.h: remove #include "tex-accent.h".
2920         * insets/inset.h: remove #include "support/types.h", <vector>.
2921         * insets/insetcollapsable.h: remove #include "LColor.h".
2922         * insets/insetinclude.h: remove #include "dimension.h".
2923         * insets/insetlatexaccent.h: remove #include "dimension.h".
2924         * insets/insetoptarg.h:: remove #include "insettext.h".
2925         * insets/insettext.h: remove #include "dimension.h",
2926         <boost/shared_ptr.hpp>
2927
2928         * insets/renderers.h: add #include "dimension.h".
2929         * insets/updatableinset.h: add #include "support/types.h".
2930
2931         * many .C files: Associated changes.
2932
2933 2003-09-06  Angus Leeming  <leeming@lyx.org>
2934
2935         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2936         one, inside testInvariant.
2937
2938         * PrinterParams.C: new file.
2939         * PrinterParams.[Ch]: move the function bodies out of line.
2940
2941 2003-09-06  Angus Leeming  <leeming@lyx.org>
2942
2943         * ParagraphParameters.h: forward declare ParameterStruct rather than
2944         including its header file.
2945         (depth): moved out-of-line.
2946
2947 2003-09-06  Angus Leeming  <leeming@lyx.org>
2948
2949         * BufferView_pimpl.h:
2950         * kbmap.h:
2951         * kbsequence.h:
2952         * lyxfunc.h: forward declare LyXKeySym rather than
2953         #include "frontends/LyXKeySym.h".
2954
2955         * BufferView_pimpl.C:
2956         * kbmap.C:
2957         * kbsequence.C:
2958         * lyxfunc.C: associated changes.
2959
2960 2003-09-06  Angus Leeming  <leeming@lyx.org>
2961
2962         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2963         As a result, can remove the #include "insets/inset.h" from BufferView.h
2964
2965 2003-09-06  Angus Leeming  <leeming@lyx.org>
2966
2967         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2968         As a result, can remove the #include "insets/inset.h" from BufferView.h
2969
2970 2003-09-06  Angus Leeming  <leeming@lyx.org>
2971
2972         * buffer_funcs.C:
2973         * buffer.h:
2974         * bufferlist.C:
2975         * BufferView.C:
2976         * bufferview_funcs.C:
2977         * BufferView_pimpl.C:
2978         * CutAndPaste.C:
2979         * lyx_cb.C:
2980         * lyxfunc.C:
2981         * paragraph.h:
2982         * ParagraphParameters.C:
2983         * tabular.C:
2984         * text3.C:
2985         * toc.C:
2986         * undo_funcs.C:
2987         * frontends/controllers/ControlDocument.C:
2988         * insets/insetcaption.C: rearrange the #includes into some sort of
2989         coherent order.
2990
2991         * buffer.h: remove #includes ErrorList.h, undo.h
2992
2993 2003-09-06  Angus Leeming  <leeming@lyx.org>
2994
2995         * support/types.h: add a 'depth_type' typedef, used to store the
2996         nesting depth of a paragraph.
2997
2998         * paragraph.h:
2999         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3000         defining explicitly.
3001
3002         * buffer.h:
3003         * paragraph_funcs.h:
3004         * ParagraphParameters.h:
3005         * sgml.h: use lyx::depth_type rather than Paragraph or
3006         ParameterStruct's depth_type.
3007
3008         * buffer.h
3009         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3010
3011         * BufferView.C:
3012         * BufferView_pimpl.C:
3013         * CutAndPaste.C:
3014         * ParagraphParameters.C:
3015         * buffer_funcs.C:
3016         * bufferlist.C:
3017         * bufferview_funcs.C:
3018         * lyx_cb.C:
3019         * lyxfunc.C:
3020         * tabular.C:
3021         * text3.C:
3022         * toc.C:
3023         * undo_funcs.C:
3024         * frontends/LyXView.C:
3025         * frontends/controllers/ControlDocument.C:
3026         * frontends/controllers/ControlErrorList.C:
3027         * insets/insetbibitem.C:
3028         * insets/insetbranch.C:
3029         * insets/insetcaption.C:
3030         * insets/insetcollapsable.C:
3031         * insets/insetenv.C:
3032         * insets/insetert.C:
3033         * insets/insetfloat.C:
3034         * insets/insetfoot.C:
3035         * insets/insetfootlike.C:
3036         * insets/insetnewline.C:
3037         * insets/insetquotes.C:
3038         * insets/insettabular.C:
3039         * insets/insettext.C:
3040         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3041
3042         * frontends/controllers/ControlChanges.C: #include "changes.h".
3043
3044 2003-09-06  Angus Leeming  <leeming@lyx.org>
3045
3046         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3047         than #including paragraph.h.
3048
3049         * ParagraphList.h:
3050         * RowList.h: deleted. Superfluous.
3051
3052         * CutAndPaste.h:
3053         * iterators.h:
3054         * lyxcursor.h:
3055         * lyxtext.h:
3056         * text_funcs.h:
3057         * undo.h:
3058         * undo_funcs.h:
3059         * insets/inset.h:
3060         * insets/insettext.h: use ParagraphList_fwd.h rather than
3061         ParagraphList.h.
3062
3063         * paragraph.h: don't forward declare ParagraphList.
3064
3065         * buffer.h:
3066         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3067         rather than ParagraphList.h. paragraph.h is still needed for the
3068         Paragraph::depth_type parameters.
3069
3070         * textcursor.h: enable it to compile stand-alone in light of the
3071         above changes.
3072
3073         * bufferview_funcs.C:
3074         * iterators.C:
3075         * lyxfunc.C:
3076         * lyxrow_funcs.C:
3077         * paragraph.C:
3078         * rowpainter.C:
3079         * text.C:
3080         * text2.C:
3081         * text3.C:
3082         * text_funcs.C:
3083         * textcursor.C:
3084         * undo.C:
3085         * frontends/controllers/ControlParagraph.C:
3086         * frontends/controllers/ControlTabular.C:
3087         * insets/insetmarginal.C:
3088         * insets/insetminipage.C:
3089         * insets/insetnote.C:
3090         * insets/insetoptarg.C: add header files needed to compile again.
3091
3092 2003-09-06  Angus Leeming  <leeming@lyx.org>
3093
3094         * RowList_fwd.h: new file, forward-declaring Row rather than
3095         #including lyxrow.h.
3096
3097         * lyxrow_funcs.h:
3098         * lyxtext.h:
3099         * paragraph.h:
3100         * insets/insettext.h: use it instead of RowList.h
3101
3102         * bufferview_funcs.C:
3103         * lyxfunc.C:
3104         * lyxrow_funcs.C:
3105         * paragraph.C:
3106         * rowpainter.C:
3107         * text.C:
3108         * text2.C:
3109         * text3.C: #include "RowList.h".
3110
3111 2003-09-05  Angus Leeming  <leeming@lyx.org>
3112
3113         * factory.C (createInset):
3114         * vspace.C (c-tor): replace sscanf call with an istringstream.
3115         * ispell.C: re-add missing HP/UX headers.
3116         * lyxserver.C: re-add missing  os2 headers.
3117
3118 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3119
3120         * BranchList.C:
3121         * graph.C:
3122         * ispell.C:
3123         * lastfiles.C:
3124         * lyx_cb.C:
3125         * lyxserver.C:
3126         * texrow.C:
3127         * text3.C: re-add missing system headers, needed for 2.95.2.
3128
3129 2003-09-05  Angus Leeming  <leeming@lyx.org>
3130
3131         Changes most place everywhere due to the removal of using directives
3132         from support/std_sstream.h.
3133
3134 2003-09-05  Angus Leeming  <leeming@lyx.org>
3135
3136         Replace LString.h with support/std_string.h,
3137         Lsstream.h with support/std_sstream.h,
3138         support/LIstream.h with support/std_istream.h,
3139         support/LOstream.h with support/std_ostream.h.
3140
3141         Changes resulting throughout the tree.
3142
3143 2003-09-05  Angus Leeming  <leeming@lyx.org>
3144
3145         * sgml.h: ensure that the header file can be compiled stand-alone.
3146         * *.C: strip out redundant #includes. (320 in total.)
3147
3148 2003-09-04  Angus Leeming  <leeming@lyx.org>
3149
3150         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3151         here (from getPackages).
3152
3153         * debug.[Ch]: add a new EXTERNAL tag.
3154
3155 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3156
3157         * text2.C (cursorEnd): simplify
3158         (setCursor): adjust
3159         (getColumnNearX): adjust
3160
3161         * text.C (computeBidiTables): adjust
3162         (fill): adjust
3163
3164         * rowpainter.C (paintChars): adjust
3165         (paintSelection): adjust
3166         (paintChangeBar): adjust
3167         (paintText): adjust
3168
3169         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3170         lastPos instead.
3171         (numberOfSeparators): adjust
3172
3173 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3174
3175         * LyXAction.C:
3176         * box.[Ch]:
3177         * lfuns.h:
3178         * lyxfunc.C:
3179         * text3.C: Restricts the mouse click functionality
3180         of insets like bibtex, include, toc and floatlist to the visible
3181         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3182         up the dialogs. Cursor has to be in front of the inset (i.e.
3183         start of row) for this to function.
3184
3185 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3186
3187         * bufferview_funcs.C (currentState): output row information
3188
3189 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3190
3191         * bufferview_funcs.C (currentState): output paragraph position
3192
3193 2003-09-04  Angus Leeming  <leeming@lyx.org>
3194
3195         * FloatList.h: move out #include "Floating.h".
3196         * LaTeX.h: move out #include "DepTable.h".
3197         * LyXAction.h: move out #include "funcrequest.h".
3198         * buffer.h: move out #include "author.h", "iterators.h".
3199         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3200         * lyx_main.h: move out #include "errorlist.h".
3201         * lyxfunc.h: move out #include "FuncStatus.h".
3202         * lyxtext: move out #include "lyxcursor.h".
3203         * paragraph_pimpl.h: move out #include "counters.h".
3204
3205 2003-09-03  Angus Leeming  <leeming@lyx.org>
3206
3207         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3208         preamble_snippets list, enabling us to add snippets to the preamble
3209         only if the snippet was not there already.
3210
3211 2003-09-04  Angus Leeming  <leeming@lyx.org>
3212
3213         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3214
3215 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3216
3217         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3218         update
3219
3220 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3221
3222         * BranchList.C: point fix, earlier forgotten
3223
3224 2003-09-02  Angus Leeming  <leeming@lyx.org>
3225
3226         * box.C (contains): renamed from 'contained' after a fantastic
3227         amount of hot air.
3228
3229 2003-09-02  John Levon  <levon@movementarian.org>
3230
3231         * BufferView.C:
3232         * lyxcursor.h:
3233         * lyxcursor.C:
3234         * lyxfunc.C:
3235         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3236
3237 2003-09-02  John Levon  <levon@movementarian.org>
3238
3239         * text2.C: simplification of cursorEnd(), including partial
3240         fix for bug 1376
3241
3242 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3243
3244         * buffer.C (readFile): add a space
3245
3246 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3247
3248         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3249
3250 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * buffer.C (readFile): new function, take a filename and a
3253         ParagraphList::iterator
3254         (readFile): adjust
3255         (readFile): adjust, make it private. don't use setStream, make
3256         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3257         always contain the filename.
3258
3259         * BufferView.C (insertLyXFile): simplify and make it work for
3260         gzipped files.
3261
3262 2003-08-30  John Levon  <levon@movementarian.org>
3263
3264         * Makefile.am: fix dist (from Kayvan)
3265
3266 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3267
3268         * most files: change to use const Buffer refs
3269
3270 2003-08-27  André Pönitz  <poenitz@gmx.net>
3271
3272         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3273         on top of ownerPar().
3274
3275 2003-08-27  John Levon  <levon@movementarian.org>
3276
3277         * funcrequest.C: properly initialise POD members
3278
3279 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3280
3281         * lyxtext.h (top_y): move top_y from here
3282         * text.C:
3283         * text2.C:
3284         * text3.C:
3285         * BufferView.[Ch]:
3286         * BufferView_pimpl.[Ch]: to here
3287         * frontends/screen.C:
3288         * insets/insettabular.C:
3289         * insets/insettext.C: adjust
3290         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3291
3292 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * BufferView.[Ch]:
3295         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3296
3297 2003-08-26  André Pönitz  <poenitz@gmx.net>
3298
3299         * paragraph_func.[Ch] (outerPar): new function
3300
3301         * paragraph.C:
3302         * paragraph_funcs.C:
3303         * paragraph_funcs.h:
3304         * paragraph_pimpl.C:
3305         * text2.C: remove Inset::par_owner
3306
3307 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3308
3309         * lyxrow_funcs.C:
3310         * lyxtext.h:
3311         * text.C:
3312         * text2.C: eliminates the needFullRow/display() stuff
3313         altogether, putting the logic in metrics/draw in the insets.
3314
3315 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3316
3317         * text2.C (redoParagraphInternal, redoParagraphs):
3318         * text.C (redoParagraph): add a call to updateRowPositions at the
3319         end of each 'metrics-like' call. Remove all others.
3320         (getRow): remove the 'y-computing' version.
3321         (getRowNearY): do not compute nor return the real y. Solve the
3322         'y < 0' problem and simplify.
3323
3324 2003-08-22  Angus Leeming  <leeming@lyx.org>
3325
3326         * *.[Ch]: clean-up of licence and author blurbs.
3327         Also move config.h out of a few .h files and into a few .C files.
3328
3329 2003-08-22  André Pönitz  <poenitz@gmx.net>
3330
3331         * lyxrow.[Ch]: add x_ and *fill_ members
3332
3333         * lyxtext.h:
3334         * text.C:
3335         * rowpainter.C:
3336         * text2.C: adjust/remove prepareToPrint() calls
3337
3338 2003-08-22  André Pönitz  <poenitz@gmx.net>
3339
3340         * lyxrow.[Ch]: add  end_ member
3341
3342         * lyxrow_funcs.C: use LyXRow::end_
3343
3344         * lyxtext.h (singleWidth): add LyXFont parameter
3345
3346         * rowpainter.C:
3347         * text2.C: adjust LyXText::singleWidth() calls
3348
3349         * text.C (redoParagraph): simplify row breaking logic
3350
3351
3352 2003-08-19  André Pönitz  <poenitz@gmx.net>
3353
3354         * funcrequest.C: initialize button_ member
3355
3356         * text3.C:
3357         * rowpainter.[Ch]: interface consolidation
3358
3359 2003-08-18  André Pönitz  <poenitz@gmx.net>
3360
3361         * BufferView.C:
3362         * BufferView_pimpl.C:
3363         * lyxfind.C:
3364         * paragraph_funcs.C:
3365         * rowpainter.C:
3366         * text3.C: remove LyXScreen::draw() and fitCursor calls
3367
3368         * BranchList.h: remove spurious semicolons
3369
3370         * MenuBackend.C: fix branchlist related crash
3371
3372 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3373
3374         * BranchList.[Ch]:
3375         * InsetList.[Ch]:
3376         * LColor.[Ch]:
3377         * LyXAction.C:
3378         * Makefile.am:
3379         * MenuBackend.[Ch]:
3380         * bufferparams.[Ch]:
3381         * factory.C:
3382         * lfuns.h:
3383         * lyxfunc.C:
3384         * text3.C: implements the 'branch inset'
3385         idea. This allows the output of various versions of a document
3386         from a single source version, selectively outputing or suppressing
3387         output of parts of the text.
3388         This implementation contains a 'branch list editor' in a separate
3389         tab of the document settings dialog. Branches are user definable
3390         and have a "display colour" to distinguish them on-screen.
3391
3392         ColorHandler was somewhat cleaned up.
3393         (1) make possible a dynamically growing LColor list by allowing
3394         the graphic context cache to grow along (vector);
3395         (2) eliminate an IMHO unnecessary step in colour allocation.
3396
3397 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3398
3399         * BufferView_pimpl.C: compile fix
3400
3401 2003-08-15  André Pönitz  <poenitz@gmx.net>
3402
3403         * rowpainter.C: remove extra metrics calls
3404
3405         * lyxtext.h: merge the two constructors into a single one,
3406           pass reference to owner's par list
3407
3408         * BufferView_pimpl.C:
3409         * text.C:
3410         * text2.C: adjust
3411
3412 2003-08-15  André Pönitz  <poenitz@gmx.net>
3413
3414         * lyxrow_funcs.[Ch]:
3415         * lyxtext.h:
3416         * paragraph.h:
3417         * paragraph_funcs.C:
3418         * rowpainter.C:
3419         * text.C:
3420         * text2.C:
3421         * text3.C:
3422         * text_funcs.C: split LyXText::rowlist_ into individual
3423         Paragraph::rows_ chunks
3424
3425         * BufferView.[Ch]:
3426         * BufferView_pimpl.[Ch]:
3427         * lyxfind.C:
3428         * lyxtext.h:
3429         * text3.C: remove toggleSelection()
3430
3431 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3432
3433         * bufferlist.C: beautify two alerts (shorter text of buttons)
3434         * buffer.C: Remove redundant ' ' from message
3435         * tabular.h:
3436         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3437         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3438         rename VALIGN_CENTER to VALIGN_MIDDLE
3439
3440 2003-08-11  André Pönitz  <poenitz@gmx.net>
3441
3442         * lyxtext.h (getPar):
3443         * text.C: new function
3444
3445 2003-08-11  André Pönitz  <poenitz@gmx.net>
3446
3447         * Makefile.am:
3448         * tracer.[Ch]: remove unneeded files
3449
3450         * InsetList.[Ch]: remove resizeInsetsLyXText()
3451
3452         * lyxtext.h:
3453         * text.C:
3454         * text2.C:
3455         * text3.C: merge insertParagraphs() and appendParagraph()
3456         remove breakAgain(), update()
3457
3458         * BufferView_pimpl.[Ch]:
3459         * bufferview_funcs.[Ch]:
3460         * lyxfunc.C:
3461         * paragraph.[Ch]:
3462         * rowpainter.C:
3463         * tabular.C: adjust after text & InsetList changes.
3464
3465 2003-08-08  André Pönitz  <poenitz@gmx.net>
3466
3467         * text.C (insertChar, backspace): replace rowlist fiddling
3468         with rebreak of full par
3469
3470         * lyxtext.h:
3471         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3472         checkParagraph, updateInset): removed
3473
3474 2003-08-07  André Pönitz  <poenitz@gmx.net>
3475
3476         * paragraph.C:
3477         * text3.C: merge some LFUN handlers, remove dead code
3478
3479 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3480
3481         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3482
3483 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * text2.C (DEPM): fix part of bug 1255 and 1256
3486
3487 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3488
3489         * BufferView_pimpl.C (workAreaDispatch): change to use
3490         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3491         that are no mouse related.
3492
3493 2003-08-05  André Pönitz  <poenitz@gmx.net>
3494
3495         * BufferView.[Ch]:
3496         * BufferView_pimpl.[Ch]:
3497         * bufferview_funcs.C:
3498         * text2.C:
3499         * text3.C: rip out "deep update"
3500
3501         * textcursor.[Ch] (last_sel_cursor): remove unused member
3502
3503 2003-08-04  André Pönitz  <poenitz@gmx.net>
3504
3505         * BufferView.[Ch]:
3506         * BufferView_pimpl.[Ch]:
3507         * ParagraphParameters.C:
3508         * bufferview_funcs.C:
3509         * lyx_cb.C:
3510         * lyxfind.C:
3511         * lyxfunc.C:
3512         * text.C:
3513         * text2.C:
3514         * text3.C: replace "complicated" BufferView::update(...) calls with
3515         simpler ones.
3516
3517         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3518
3519 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3520
3521         * Makefile.am (lyx_SOURCES): add paper.h
3522
3523 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3524
3525         * Makefile.am: move things around so that both lyx-qt and
3526         lyx-xforms can be built (according to --with-frontend). Then lyx
3527         is a symbolic link to lyx-[firstfrontend]
3528
3529 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3530
3531         * Always use std::endl with lyxerr
3532
3533 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3534
3535         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3536
3537 2003-08-01  André Pönitz  <poenitz@gmx.net>
3538
3539         * BufferView.[Ch]:
3540         * BufferView_pimpl.[Ch]:
3541         * lyxfunc.C:
3542         * text3.C: merge BufferView::repaint() and BufferView::update()
3543
3544 2003-08-01  José Matos  <jamatos@lyx.org>
3545
3546         * buffer.[Ch]: file_format is no longer a buffer data element.
3547
3548 2003-08-01  André Pönitz  <poenitz@gmx.net>
3549
3550         * BufferView.C:
3551         * lyxtext.h:
3552         * text.C:
3553         * text2.C: make redoParagraph more independent of current cursor
3554
3555         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3556         * text.C:
3557         * text2.C: remove unneeded members
3558
3559 2003-07-30  André Pönitz  <poenitz@gmx.net>
3560
3561         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3562
3563         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3564           create a single function...
3565
3566         * paragraph_funcs.C (moveItem): ... here.
3567
3568         * text.C:
3569           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3570
3571 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3572
3573         * LColor.[Ch]: Add comment and greyedout logical colors.
3574
3575 2003-07-30  André Pönitz  <poenitz@gmx.net>
3576
3577         * tabular.C: don't use Assert too heavily. This crashes where it
3578           shouldn't
3579
3580 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3581
3582         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3583         is disabled (bug 1232)
3584
3585 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3586
3587         * factory.C: limited 'arg' scope
3588
3589 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3590
3591         * factory.C: fixed Note submenu issues
3592
3593 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3594
3595         * factory.C: submenu for Note/Comment/Greyedout
3596
3597 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3598
3599         * lyx_main.C (LyX):
3600         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3601
3602 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3603
3604         * LaTeXFeatures.C:
3605         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3606         greyedout. Patch provided by Jürgen Spitzmüller.
3607
3608 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3609
3610         * kbmap.C (read): fix error message when reading bind files
3611
3612 2003-07-29  Angus Leeming  <leeming@lyx.org>
3613
3614         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3615         certainly does not do what it purports to do. I am doing it, and
3616         us, a favour by killing it.
3617
3618 2003-07-28  José Matos  <jamatos@lyx.org>
3619
3620         * buffer.C (readBody, do_writeFile):
3621         * paragraph.C(readParagraph): \end_document replaces \the_end.
3622
3623 2003-07-29  André Pönitz  <poenitz@gmx.net>
3624
3625         * BufferView.[Ch]:
3626         * BufferView_pimpl.[Ch]:
3627         * lyxfunc.C:
3628         * text2.C:
3629         * text3.C:
3630         * textcursor.[Ch]: remove toggleToggle & Co
3631
3632 2003-07-28  José Matos  <jamatos@fep.up.pt>
3633
3634         * buffer.C (readParagraph):
3635         * params_func (readParToken, readParagraph):
3636         * paragraph.C (write): \layout -> \begin_layout.
3637
3638 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * lyxlex_pimpl.C (setFile): clean up slightly.
3641
3642         * bufferparams.h: add compressed var
3643
3644         * buffer_funcs.C (readFile): adjust for LyXLex change
3645         (newFile): ditto + simplify
3646
3647         * buffer.C (writeFile): handle writing of compressed files
3648
3649         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3650         Check if the file is compressed and set a bufferparm if so.
3651
3652         * Makefile.am (lyx_LDADD): remove explicit -lz
3653
3654 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3655
3656         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3657         makeDocBookFile): put the real LyX version in the first line of
3658         the file
3659
3660         * version.h:
3661         * version.C.in: remove lyx_docversion
3662
3663         * tabular.C (write_attribute): add a template-based version to
3664         write enums properly
3665
3666 2003-07-28  André Pönitz  <poenitz@gmx.net>
3667
3668         * lyxtext.h:
3669         * text.C:
3670         * text2.C:
3671         * text3.C: use doubles again for x-coordinates. They are needed.
3672
3673 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3674
3675         * messages.C (getLocaleDir): use lyx_localedir()
3676
3677         * lyxlex_pimpl.C (setFile): compress stuff
3678
3679         * buffer.C (writeFile): add some compression stuff
3680         (do_writeFile): new func, dont call expliti close... will this
3681         breake anything?
3682
3683         * Makefile.am (lyx_LDADD): add -lz
3684
3685 2003-07-28  José Matos  <jamatos@fep.up.pt>
3686
3687         * buffer.C: increment file format.
3688         * paragraph_funcs (readParagraph, readParToken):
3689         * paragraph.C (readParagraph): add \end_layout.
3690
3691 2003-07-27  Angus Leeming  <leeming@lyx.org>
3692
3693         * Makefile.am: remove special casing for configure-time setting of
3694         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3695
3696         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3697         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3698
3699 2003-07-26  André Pönitz  <poenitz@gmx.net>
3700
3701         * paragraph_func.[Ch]:
3702         * paragraph.C (realizeFont): inline it whereever it is used
3703
3704         * rowpainter.C:
3705         * text.C:
3706         * text2.C:
3707         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3708
3709
3710 2003-07-26  André Pönitz  <poenitz@gmx.net>
3711
3712         *       lyxtext.h:
3713         * text.C:
3714         * text2.C: get rid of LyXText::need_break_row
3715
3716 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3717
3718         * toc.[Ch]: put namespace toc inside namespace lyx
3719
3720         * MenuBackend.C (expandToc2): adjust for lyx::toc
3721         (expandToc): ditto
3722
3723         * lyxfunc.C (dispatch): adjust for lyx::find
3724
3725         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3726         lyx::find instead. Reorganize a bit.
3727         (LyXReplace): rename to replace
3728         (LyXFind): rename to find
3729
3730         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3731         (dispatch): ditto
3732
3733 2003-07-26  André Pönitz  <poenitz@gmx.net>
3734
3735         * text.C (setHeightOfRow): restrict scope of temporary variable
3736
3737         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3738           code (never has been used?)
3739
3740 2003-07-27  Asger Alstrup  <alstrup@local>
3741
3742         * text.C (fill): Optimise algorithm to exploit that we can reuse
3743         the LyXFont for many characters.
3744         (setHeightOfRow): Same thing.
3745         (rowBreakPoint): Same thing.
3746
3747 2003-07-26  Asger Alstrup  <alstrup@local>
3748
3749         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3750
3751         * text.C (singleWidth): Spurious font copying in hot-spot
3752         singleWidth avoided. Reorder tests for arabic for efficiency.
3753
3754         * text.C (fill): handle empty paragraphs better.
3755
3756 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3757
3758         * ispell.C:
3759         * encoding.h: add includes
3760
3761         * lyxrc.C: remove reading of bind files
3762
3763         * lyx_main.C (init): setup bindings and menus only if we have a
3764         gui.
3765
3766         * kbmap.C (read): new method. Do the actual reading of bind
3767         files.
3768
3769         * converter.C (dvipdfm_options):
3770         * bufferparams.C:
3771         * lyxrc.C (read):
3772         (output): adapt PAPER_* enums.
3773
3774         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3775
3776         * bufferparams.h: remove paper-related enums from there
3777
3778         * paper.h: New file. A trivial header file to hold paper-related
3779         enums. It should later expand to contain many paper-related
3780         horrors access.
3781
3782         * lyxrc.C: declare extern displayTranslator
3783
3784 2003-07-27  José Matos  <jamatos@fep.up.pt>
3785
3786         * tabular.[Ch] (linuxdoc): add support for tables and figures
3787         (linuxdoc).
3788
3789 2003-07-27  José Matos  <jamatos@fep.up.pt>
3790
3791         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3792         consistency in both functions.
3793         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3794
3795 2003-07-26  Asger Alstrup  <alstrup@local>
3796
3797         * rowpainter.C (paintRows): Change algorithm to work directly on
3798         the insets rather than asking every character in the document
3799         whether its an inset.
3800
3801 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3802
3803         * buffer.C (openFileWrite): factorize some code
3804
3805 2003-07-26  Angus Leeming  <leeming@lyx.org>
3806
3807         * lyx_cb.C:
3808         * lyx_main.[Ch]: replace occurances of system_tempdir with
3809         os::getTmpDir().
3810
3811 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3812
3813         * rename Inset to InsetOld
3814
3815 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3816
3817         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3818         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3819         which I think is a bit clearer. EDIT is gone, since it was
3820         premature optimisation, and broken for mathed anyway.
3821         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3822         with cursor positioning in insets as well (math insets still do not
3823         work, but that's a different story anyway.) It mysteriously
3824         crashes sometimes with undo in the first paragraph, but I'm fairly
3825         confident that this is a compiler bug.
3826
3827 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * paragraph.C (Paragraph): adjust for new clone return type
3830         (operator==): ditto
3831         (copyIntoMinibuffer): ditto
3832
3833 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3834
3835         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3836         by not having a special case, and always doing a full rebreak of
3837         the document after undo.
3838
3839 2003-07-23  Angus Leeming  <leeming@lyx.org>
3840
3841         * factory.C (createInset): InsetExternal::setParams now takes a
3842         Buffer const * arg.
3843
3844 2003-07-23  Angus Leeming  <leeming@lyx.org>
3845
3846         * factory.C (createInset): changed interface to the external and
3847         graphics mailers' string2params functions.
3848
3849 2003-07-23  Angus Leeming  <leeming@lyx.org>
3850
3851         * factory.C (createInset): pass a
3852         Buffer const * parameter to InsetExternalMailer's string2params.
3853
3854 2003-07-22  John Levon  <levon@movementarian.org>
3855
3856         * Thesaurus.h: include the right aiksaurus header
3857
3858 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3859
3860         * MenuBackend.C (expand): check menu shortcuts unconditionally
3861
3862 2003-07-21  Angus Leeming  <leeming@lyx.org>
3863
3864         * factory.C (createInset): pass a
3865         buffer_path parameter to InsetGraphicsMailer's string2params.
3866
3867 2003-07-21  Angus Leeming  <leeming@lyx.org>
3868
3869         * BufferView_pimpl.C (buffer):
3870         * buffer.C (d-tor):
3871         * lyx_main.C (LyX):
3872         * lyxfunc.C (dispatch):
3873         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3874         rather than the grfx shortcut.
3875
3876 2003-07-21  André Pönitz  <poenitz@gmx.net>
3877
3878         * rowpainter.C: remove unused variables
3879
3880         * tabular_funcs.C:
3881         * tabular_funcs.h: move to tabular.C
3882         * Makefile.am: adjust
3883
3884         * tabular.[Ch]: basic optical cleaning
3885
3886         * author.h: pass references, not values
3887
3888 2003-07-18  André Pönitz  <poenitz@gmx.net>
3889
3890         * lyxtext.h:
3891         * metricsinfo.C:
3892         * metricsinfo.h:
3893         * rowpainter.C:
3894         * text.C:
3895         * text2.C:
3896         * text3.C: two-phase drawing for InsetText and InsetTabular
3897         some float -> int changes.
3898
3899 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3900
3901         * lyx_main.C: fix the fix
3902
3903 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * lyx_main.C: fix a crash in batch mode if no files specified
3906         * converter.C: ws
3907
3908 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3909
3910         * format.[Ch] (papersize): moved to BufferParams
3911         * converter.[Ch] (dvips_options): moved to BufferParams
3912         (dvipdfm_options): moved to anon namespace
3913         * bufferparams.[Ch]: added above functions.
3914
3915 2003-07-17  André Pönitz  <poenitz@gmx.net>
3916
3917         * lyxtext.h:
3918         * rowpainter.C:
3919         * text2.C: don't call inset->update() anymore
3920
3921         * metricsinfo.[Ch]: add convenience constructor
3922
3923 2003-07-16  André Pönitz  <poenitz@gmx.net>
3924
3925         * lyxcursor.[Ch]:
3926         * lyxfunc.[Ch]:
3927         * text.C:
3928         * text2.C: replace the LyXCursor::irow_ member with
3929          on-demand computation of the value
3930
3931 2003-07-16  John Levon  <levon@movementarian.org>
3932
3933         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3934
3935 2003-07-15  André Pönitz  <poenitz@gmx.net>
3936
3937         * text.C:
3938         * text2.C: remove no more needed refresh_row
3939
3940 2003-07-15  André Pönitz  <poenitz@gmx.net>
3941
3942         * lyxtext.h:
3943         * rowpainter.C:
3944         * text2.C:
3945         * text3.C: refresh_status tristate -> need_update bool
3946
3947 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3948
3949         * lyxtext.h (init): remove reinit argument (act as if always true)
3950         * text2.C: adjust to that
3951
3952 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3953
3954         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3955         * text3.C: use it to delete selections in some cases
3956         (bugs 441, 673, 702, 954).
3957
3958 2003-07-14  André Pönitz  <poenitz@gmx.net>
3959
3960         * rowpainter.[Ch]: reduce interface
3961
3962 2003-07-14  André Pönitz  <poenitz@gmx.net>
3963
3964         * BufferView_pimpl.C:
3965         * text2.C: adjust after removing unused BufferView * argument
3966
3967 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3968
3969         * text2.C (init): fix a crash fired on resize
3970
3971 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * buffer.[Ch]: added new closing signal
3974         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3975         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3976         BufferView::Pimpl via the closing the signal
3977
3978 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3979
3980         * buffer.[Ch]: take out all bv-related from buffer
3981         * BufferView.C:
3982         * BufferView_pimpl.[Ch]: connect to new signals
3983         * CutAndPaste.C: removed useless asserts
3984         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3985         * lyxvc.[Ch]:
3986         * vc-backend.[Ch]:
3987         * lyxfunc.C: moved view-related funciontality from vc here
3988         * paragraph.C: removed outdated comments
3989         * text.C: ws
3990
3991 2003-07-10  André Pönitz  <poenitz@gmx.net>
3992
3993         * BufferView_pimpl.C:
3994         * tabular.h:
3995         * tabular_funcs.C:
3996         * text.C:
3997         * text2.C: remove InsetText::InnerCache, clean up consequences
3998
3999 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4000
4001         * ispell.C: fix two typos in error messages
4002
4003 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4004
4005         * Extend Note inset to other forms of annotation like Comment
4006         and Greyedout. Right button click gives dialog.
4007
4008         Files modified or added (+):
4009
4010         * insetnote.[Ch]
4011         * FormNote.[Ch]      +
4012         * ControlNote.[Ch]   +
4013         * form_note.fd       +
4014         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4015         frontends/controllers
4016         * xforms/Dialogs.C
4017         * factory.C
4018
4019 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4020
4021         * aspell.C: add missing namespace lyx::support
4022
4023 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4024
4025         * BufferView.[Ch] (newFile): Add
4026         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4027         * LaTeX.[Ch] (message): added this signal and use it
4028         * buffer.[Ch] (busy, message): added these signals and use them
4029         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4030         * converter.C:
4031         * exporter.C:
4032         * format.C:
4033         * importer.C: use buffer signals instead of direct bv calling
4034         * lyx_cb.[Ch] (ShowMessage): removed
4035         * lyx_main.C:
4036         * lyxfunc.C:
4037         * paragraph_funcs.C:
4038         * text2.C: use buffer signals
4039
4040 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * introduce namespace lyx::graphics
4043
4044 2003-07-02  André Pönitz  <poenitz@gmx.net>
4045
4046         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4047
4048 2003-07-01  André Pönitz  <poenitz@gmx.net>
4049
4050         * text.C:
4051         * text2.C:
4052         * text3.C:
4053         * text_funcs.[Ch]:
4054         * textcursor.h:
4055         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4056           text*.C to text_func.C
4057
4058 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4059
4060         * introduce namespace lyx::support
4061
4062 2003-06-30  André Pönitz  <poenitz@gmx.net>
4063
4064         * Chktex.C:
4065         * funcrequest.C:
4066         * lyxtext.h:
4067         * text.C: re-enable --with-included-string
4068
4069 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * textcursor.C: add <config.h>
4072
4073         * text.C (getWord): remove const from word_location arg
4074
4075         * lyxvc.C (getLogFile): fix const type order
4076
4077         * lyxtext.h: remove const from word_location arg, add arg name
4078
4079         * lyxlayout.h: currect type on labeltype.
4080
4081         * importer.C: correct \file
4082
4083         * converter.C (intToFormat): use std:: on ret val, ws changes
4084
4085         * bufferlist.h: correct \file
4086
4087         * buffer.C (makeLinuxDocFile): fix const type order
4088         (makeDocBookFile): ditto
4089         (fillWithBibKeys): use std:: on stdlib args.
4090
4091         * CutAndPaste.C: fix authors.
4092         (availableSelections): use std:: on return vector
4093
4094 2003-06-27  André Pönitz  <poenitz@gmx.net>
4095
4096         * BufferView_pimpl.C:
4097         * bufferview_funcs.C:
4098         * lyxcursor.C:
4099         * lyxcursor.h:
4100         * lyxfunc.C:
4101         * lyxtext.h:
4102         * rowpainter.C:
4103         * text.C:
4104         * text2.C:
4105         * text3.C: remove LyXCursor::row_ member
4106
4107         * lyxtext.h:
4108         * text.C: rename fullRebreak() to partialRebreak() and implement
4109           a fullRebreak() that really bereks fully
4110
4111         * textcursor.h: new struct for cursor-related data
4112
4113 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4114
4115         * lyx_main.C (LyX): get full path of document loaded on the
4116         command line
4117
4118 2003-06-26  André Pönitz  <poenitz@gmx.net>
4119
4120         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4121           remove unused/broken operator>,<,>=.
4122
4123         *       text.C: remove only use of broken operator<= in an Assert().
4124
4125 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4126
4127         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4128         moved errorlist_.clear to showErrorList
4129
4130 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * converter.C (scanLog, runLaTeX):
4133         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4134         move the bv->showErrorList call to the callers
4135         * lyxfunc.C: i.e. here...
4136         * text2.C: and here
4137         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4138         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4139         namespace, the second to...
4140         * buffer_funcs (BufferFormat, parseErrors): added
4141         * errorlist.C (ErrorList(TeXErrors const &)): removed
4142
4143 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4144
4145         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4146
4147 2003-06-24  "Garst R. Reese" <reese@isn.net>
4148
4149         * debug.C: fix typo
4150
4151 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4152
4153         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4154
4155         * version.C.in: change docversion to 1.4
4156
4157 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * buffer.C: fix a bug just introduced
4160
4161 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4162
4163         * buffer.[Ch]: added the parseError signal and use it, removed
4164         sgmlError
4165         * BufferView.[Ch] (addError): moved to ...
4166         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4167         to the Buffer::parseError signal to catch (guess what) parse errors
4168         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4169
4170 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4171
4172         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4173         ability to create a buffer and to return an existing one from
4174         the list. Moved these functions to...
4175         * buffer_funcs.[Ch]: added
4176         * BufferView.[Ch] (loadLyXFile): added
4177         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4178         job removed from bufferlist::loadLyXFile.
4179         * buffer.C (setReadOnly): make it work without view
4180         (i.e added an if (users))
4181
4182 2003-06-19  Angus Leeming  <leeming@lyx.org>
4183
4184         * lfuns.h:
4185         * LyXAction.C (init):
4186         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4187         with LFUN_DIALOG_SHOW <name> <data>.
4188
4189 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4190
4191         * CutAndPaste.C (availableSelections): small compilation fix for
4192         ancient (gcc 2.9x) compilers
4193
4194 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * text3.C (cursorNext): add tmp var
4197
4198         * text2.C (updateCounters): for function calling out of for clause
4199         (replaceSelectionWithString): ditto
4200         (insertStringAsParagraphs): ditto
4201         (getColumnNearX): add tmp var
4202         (setCursorFromCoordinates): add tmp var
4203         (cursorDownParagraph): add tmp var
4204         (deleteEmptyParagraphMechanism): add tmp var
4205
4206         * text.C (insertChar): add tmp var
4207
4208         * rowpainter.C (paintDepthBar): add tmp var
4209
4210         * CutAndPaste.C (availableSelections): potentially check all
4211         paragraphs in a cut to fill the shown strings.
4212
4213 2003-06-18  André Pönitz  <poenitz@gmx.net>
4214
4215         * kbmap.[Ch]: use vector<> instead of list<>
4216
4217 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4218
4219         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4220         pasteSelection with index
4221
4222         * text2.C (pasteSelection): modify, call pasteSelection with index
4223
4224         * paragraph.C (asString): reimplement version with no interval to
4225         call the one with interval.
4226
4227         * lyxtext.h: add index arg to pasteSelection
4228
4229         * MenuBackend.C (MenuItem): handle PasteRecent
4230         (Menu::read::Menutags): add md_pasterecent
4231         (read): handle it
4232         (expandPasteRecent): new function
4233         (expand): use it
4234
4235         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4236
4237         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4238         the limited stack
4239         (availableSelections): new function
4240
4241 2003-06-17  Angus Leeming  <leeming@lyx.org>
4242
4243         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4244
4245 2003-06-17  Angus Leeming  <leeming@lyx.org>
4246
4247         * lfuns.h:
4248         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4249
4250         * lyxfunc.C (dispatch): invoke it.
4251
4252 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4253
4254         * iterators.C (operator++, ParPosition): reintroduce some
4255         const_cast for the benefit of older compilers.
4256
4257 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4258
4259         * text3.C (dispatch): do not modify clipboard when doing
4260         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4261         LFUN_DELETE_SKIP on a selection selection
4262
4263 2003-06-16  André Pönitz  <poenitz@gmx.net>
4264
4265         * BufferView.C:
4266         * buffer.C:
4267         * buffer.h:
4268         * paragraph.C:
4269         * tabular.[Ch]: IU of clone() and getLabelList();
4270
4271 2003-06-13  André Pönitz  <poenitz@gmx.net>
4272
4273         * tabular.h: compactification
4274
4275 2003-06-12  André Pönitz  <poenitz@gmx.net>
4276
4277         * tabular.C:
4278         * tabular.h:
4279         * tabular_funcs.h: some renaming plus whitespace
4280
4281 2003-06-12  André Pönitz  <poenitz@gmx.net>
4282
4283         * BufferView.C:
4284         * BufferView_pimpl.C:
4285         * CutAndPaste.C:
4286         * buffer.C:
4287         * iterators.[Ch]:
4288         * lyxfunc.C:
4289         * text.C:
4290         * toc.C: Return a Paragraph & for ParIterator::operator*()
4291
4292 2003-06-11  John Levon  <levon@movementarian.org>
4293
4294         * lyx_main.C:
4295         * ToolbarBackend.h:
4296         * ToolbarBackend.C: add "Toolbars" section and
4297         put the flags there
4298
4299 2003-06-10  Angus Leeming  <leeming@lyx.org>
4300
4301         * lfuns.h:
4302         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4303
4304         * lyxfunc.C (dispatch): invoke it.
4305
4306 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4307
4308         * main.C: protect <ios> with HAVE_IOS
4309         (main): protect sync_with_stdio with HAVE_IOS
4310
4311 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4312
4313         * text2.C (cutSelection): adjust
4314         (pasteSelection): adjust
4315
4316         * messages.C: handle get of empty string
4317
4318         * main.C (main): use sync_with_stdio(false)
4319
4320         * lyxfunc.C (dispatch): adjust
4321
4322         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4323         (WriteAs): remove unneeded BufferView arg.
4324
4325         * bufferparams.h: use correct types on papersize, papersize2 and
4326         paperpackage.
4327
4328         * bufferparams.C (readToken): adjust for type
4329         (writeLaTeX): add missing cases to switch.
4330
4331         * bufferlist.C (quitWriteBuffer): adjust
4332         (close): adjust
4333
4334         * buffer.C (asciiParagraph): remove some commented code.
4335
4336         * CutAndPaste.C: remove current_view extern variable.
4337         (cutSelection): add BufferParams arg.
4338         (eraseSelection): add BufferParams arg.
4339         (pasteSelection): add Buffer const & arg
4340
4341 2003-06-07  John Levon  <levon@movementarian.org>
4342
4343         * buffer.C:
4344         * paragraph_funcs.C:
4345         * paragraph_pimpl.C:
4346         * text.C:
4347         * text2.C:
4348         * paragraph.h:
4349         * paragraph.C: allow InsetERT to freely space lines,
4350         and some consolidation of code
4351
4352 2003-06-06  José Matos  <jamatos@fep.up.pt>
4353
4354         * buffer.C (makeDocBookFile): fix bug #821
4355
4356 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4359
4360 2003-06-04  Angus Leeming  <leeming@lyx.org>
4361
4362         * buffer.C: bump format to 224.
4363
4364 2003-06-05  André Pönitz  <poenitz@gmx.net>
4365
4366         * text2.C (redoParagraphs): remove two const_cast<>
4367
4368 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4369
4370         * ParagraphList.h: remove last remnants of NO_STD_LIST
4371
4372 2003-06-03  Angus Leeming  <leeming@lyx.org>
4373
4374         * factory.C (createInset): small change to the way InsetExternal's params
4375         are set.
4376
4377 2003-06-04  André Pönitz  <poenitz@gmx.net>
4378
4379         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4380
4381         * paragraph_pimpl.h:
4382         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4383
4384         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4385
4386         * undo_funcs.C: make some simple cases of undo work again
4387
4388 2003-06-03  John Levon  <levon@movementarian.org>
4389
4390         * ispell.C: HPUX doesn't have sys/select.h
4391         (from Albert Chin)
4392
4393 2003-06-03  John Levon  <levon@movementarian.org>
4394
4395         * CutAndPaste.C: update tabular and include inset
4396         buffer references
4397
4398         * buffer.h:
4399         * paragraph.h:
4400         * paragraph.C: remove owningBuffer(), don't pass Buffer
4401         to clone()
4402
4403         * factory.C: insetGraphicsParams changed
4404
4405 2003-06-02  John Levon  <levon@movementarian.org>
4406
4407         * LyXAction.C:
4408         * factory.C:
4409         * lfuns.h:
4410         * lyxfunc.C:
4411         * text3.C: remove insetparent
4412
4413 2003-06-02  John Levon  <levon@movementarian.org>
4414
4415         * buffer.h:
4416         * buffer.C: fix inset_iterator.end(), move out of line
4417         (bug 1149)
4418
4419 2003-06-01  John Levon  <levon@movementarian.org>
4420
4421         * text3.C: use a proper cut/paste when doing inset
4422         insert (from Jürgen Spitzmüller)
4423
4424 2003-06-01  John Levon  <levon@movementarian.org>
4425
4426         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4427
4428 2003-05-30  André Pönitz  <poenitz@gmx.net>
4429
4430         * rowpainter.C: unify second drawing phase
4431
4432 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * trans_mgr.C: remove one case of current_view
4435
4436         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4437
4438         * paragraph_funcs.h: remove paragraph.h include
4439
4440         * paragraph.h: delete NO_STD_LIST stuff
4441
4442         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4443
4444         * buffer.h: remove paragraph.h include
4445
4446         * ParagraphList.C: delete file
4447
4448         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4449
4450         * toc.C (getTocList): adjust
4451
4452         * paragraph_pimpl.C (validate): adjust
4453
4454         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4455
4456         * paragraph.C (Paragraph): adjust
4457         (getPositionOfInset): use const_iterator, adjust
4458         (bibitem): use const_iterator, adjust
4459         (setInsetOwner): adjust
4460
4461         * iterators.C (operator++): adjust
4462
4463         * InsetList.[Ch]: Replace selfmade iterator with standard
4464         vector::iterator also introduce const_iterator. Remove getPos,
4465         getInset and setInset from InsetTable. Adjust accordingly.
4466
4467         * BufferView.C (lockInset): adjust
4468         (ChangeInsets): adjust
4469
4470         * tabular.[Ch]: delete commented same_id functions
4471
4472 2003-05-28  John Levon  <levon@movementarian.org>
4473
4474         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4475
4476 2003-05-28  André Pönitz  <poenitz@gmx.net>
4477
4478         * metricsinfo.[Ch]: remove 'fullredraw' member
4479
4480 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4481
4482         * lyxtextclass.C (operator): remove caching.
4483
4484 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4485
4486         * text3.C: adjust
4487
4488         * text2.C (cursorBottom): adjust
4489         (setCounter): use ParagraphList::find, adjust
4490
4491         * text.C (workWidth): use ParagraphList::find, adjust
4492
4493         * lyxcursor.C (LyXCursor): adjust
4494
4495         * buffer.C (inset_iterator): adjust
4496
4497         * ParagraphList.h: make iterator(value_type) private, make
4498         ParagraphList a friend of iterator.
4499
4500         * ParagraphList.C (find): new function
4501
4502         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4503
4504 2003-05-27  André Pönitz  <poenitz@gmx.net>
4505
4506         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4507
4508 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4509
4510         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4511
4512 2003-05-26  John Levon  <levon@movementarian.org>
4513
4514         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4515
4516 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4517
4518         * remove same_id from function signatures, adjust.
4519
4520 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4523
4524         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4525
4526         * paragraph.C (Paragraph): get rid of same_ids parameter
4527
4528         * ParagraphList.C (insert): adjust
4529         (push_back): adjust
4530
4531 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * paragraph_funcs.C (breakParagraph): adjust
4534         (breakParagraphConservative): adjust
4535
4536         * buffer.C (readParagraph): adjust
4537
4538         * ParagraphList.C (insert): take a reference instead of a pointer
4539         (insert): adjust
4540
4541         * paragraph.[Ch] (id): new function
4542
4543         * bufferlist.C (newFile): adjust
4544
4545         * ParagraphList.C (ParagraphList): adjust
4546         (assign): adjust
4547         (push_back): take a reference instead of a pointer.
4548
4549         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4550
4551         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4552         instead.
4553
4554         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4555         set else use old code.
4556
4557         * ParagraphList.C: remove all NO_NEXT code and only compile this
4558         code of NO_STD_LIST is set.
4559
4560 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * BufferView_pimpl.C:
4563         * TextCache.C:
4564         * TextCache.h:
4565         * bufferlist.C:
4566         * errorlist.h:
4567         * format.C:
4568         * format.h:
4569         * graph.C:
4570         * lyxfunc.C:
4571         * lyxrc.C:
4572         * graphics/GraphicsConverter.C:
4573         * graphics/PreviewLoader.C: header adjustment
4574
4575 2003-05-23  Angus Leeming  <leeming@lyx.org>
4576
4577         * LaTeXFeatures.[Ch] (useBabel): new method.
4578         * bufferparams.C (writeLaTeX): use it.
4579
4580 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * ParagraphList.h (set): remove unused function.
4583
4584 2003-05-23  André Pönitz  <poenitz@gmx.net>
4585
4586         * BufferView.C:
4587         * BufferView_pimpl.C:
4588         * buffer.C:
4589         * buffer.h:
4590         * lyxfunc.C:
4591         * undo_funcs.C: setUndo reworked
4592
4593         * iterators.[Ch]: add access to topmost ParagraphList
4594
4595         * lyxtext.[Ch] (workWidth): add a const
4596
4597 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4598
4599         * texrow.[Ch] (increasePos): remove function
4600         * exporter.C (export): removed unused var and outdated comment
4601
4602 2003-05-23  Angus Leeming  <leeming@lyx.org>
4603
4604         * latexrunparams.h: rename fragile as moving_arg.
4605         * paragraph.C (simpleTeXOnePar): ditto.
4606         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4607
4608 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4611         (createUndo): ditto
4612         (textUndoOrRedo): comment out a currently unused var.
4613
4614         * paragraph.h (NO_NEXT): enable NO_NEXT
4615
4616         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4617
4618         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4619
4620         * exporter.C (Export): adjust for removeAutoInsets removal.
4621
4622         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4623
4624         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4625
4626         * BufferView.[Ch] (removeAutoInsets): delete function
4627
4628 2003-05-22  Angus Leeming  <leeming@lyx.org>
4629
4630         * latexrunparams.h: add a free_spacing variable.
4631
4632         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4633         to pass moving_arg, as the data is stored in runparams.fragile.
4634
4635         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4636         to Inset::latexOptional or to simpleTeXOnePar.
4637
4638         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4639         free_spacing arg to Inset::latexOptional.
4640
4641         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4642         free_spacing arg.
4643
4644 2003-05-22  Angus Leeming  <leeming@lyx.org>
4645
4646         * latexrunparams.h: add fragile and use_babel variables.
4647
4648         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4649         * buffer.C (makeLaTeXFile): store this returned value in
4650         runparams.use_babel, thus passing it to the inset::latex methods.
4651
4652         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4653         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4654
4655         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4656         longer has a fragile arg, as it is stored in runparams.fragile.
4657
4658         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4659         moving_arg parameter as the data is stored in runparams.fragile.
4660
4661         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4662         a fragile parameter as the data is stored in runparams.fragile.
4663
4664 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4667
4668 2003-05-22  Angus Leeming  <leeming@lyx.org>
4669
4670         * latexrunparams.h: add a 'bool nice' which defaults to false.
4671
4672         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4673         now encapsulated within runparams.
4674
4675         * bufferlist.C (updateIncludedTeXfiles):
4676         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4677
4678 2003-05-22  Angus Leeming  <leeming@lyx.org>
4679
4680         * latexrunparams.h: new file containing struct LatexRunParams.
4681         * Makefile.am: add new file.
4682
4683         * LaTeX.[Ch] (c-tor, run):
4684         * buffer.[Ch] (makeLaTeXFile):
4685         * bufferlist.[Ch] (updateIncludedTeXfiles):
4686         * converter.C (convert, scanLog):
4687         * converter.[Ch] (runLaTeX):
4688         * exporter.C (Export):
4689         * paragraph.[Ch] (simpleTeXOnePar):
4690         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4691         * paragraph_funcs.[Ch] (latexParagraphs):
4692         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4693         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4694         pass around a LatexRunParams parameter.
4695
4696 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4697
4698         * paragraph.[Ch]: remove unused constructor
4699
4700         * ParagraphList.C (erase): new function, taking two iterators
4701
4702 2003-05-22  André Pönitz  <poenitz@gmx.net>
4703
4704         * undo_funcs.C: remove duplicated code
4705
4706         * iterator.[Ch]: operator=
4707
4708 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * tabular.C (SetMultiColumn): ws changes
4711
4712         * rowpainter.C (paintFirst): get rid of a ->previous
4713
4714         * lyx_cb.C (getPossibleLabel): parlist simplification
4715
4716         * BufferView.C (ChangeInsets): simplify slightly.
4717
4718 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4719
4720         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4721         * lfuns.h: new LFUN_SPACE
4722         * lyxfunc.C: protected space has a new lfun
4723         * paragraph_funcs.C: read new space insets
4724         * text3.C:
4725         * factory.C: handle new space insets
4726
4727 2003-05-22  André Pönitz  <poenitz@gmx.net>
4728
4729         * BufferView.C:
4730         * BufferView_pimpl.C:
4731         * buffer.[Ch]:
4732         * lyxfunc.C:
4733         * undo_funcs.C: return a ParIterator from getParFromID.
4734
4735         * iterators.[Ch]: add two const's
4736
4737 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * toc.C (getTocList): adjust
4740
4741         * iterators.[Ch]: rework for parlist
4742
4743         * buffer.C (par_iterator_begin): adjust
4744         (par_iterator_end): adjust
4745
4746         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4747
4748         * BufferView.C (removeAutoInsets): adjust
4749         (ChangeInsets): adjust
4750
4751 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4752
4753         * text.C (top_y): fix bug 1110
4754
4755 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4756
4757         * errorlist.[Ch]: added
4758         * buffer.C:
4759         * BufferView.[Ch]:
4760         * BufferView_pimpl.C:
4761         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4762         instead
4763
4764 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * Makefile.am: ensure that lyx is relinked upon changes to the
4767         various "convenience" libs.
4768
4769 2003-05-20  Angus Leeming  <leeming@lyx.org>
4770
4771         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4772         files are compiled in alphabetical order again.
4773
4774         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4775
4776 2003-05-19  Angus Leeming  <leeming@lyx.org>
4777
4778         * gettext.[Ch]: remove "char const * _(char const *)".
4779
4780 2003-05-19  André Pönitz  <poenitz@gmx.net>
4781
4782         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4783
4784         * Makefile.am:
4785         * BufferView.C:
4786         * DepTable.h:
4787         * LaTeXFeatures.C:
4788         * buffer.C:
4789         * lyxfont.C:
4790         * lyxlex.h:
4791         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4792
4793 2003-05-19  André Pönitz  <poenitz@gmx.net>
4794
4795         * buffer.C:
4796         * lyxlayout.[Ch]:
4797         * lyxtextclass.[Ch]:
4798         * paragraph.C:
4799         * paragraph_funcs.[Ch]:
4800         * text2.C:
4801         * text3.C: more insetenv work
4802
4803 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4804
4805         * ParagraphParameters.C (params2string): small bug fixed
4806
4807 2003-05-16  André Pönitz  <poenitz@gmx.net>
4808
4809         * debug.C:
4810         * bufferview_funcs.C: patch from Kornel Benko to prevent
4811           crash when _(...) is called twice in a statement
4812
4813 2003-05-16  André Pönitz  <poenitz@gmx.net>
4814
4815         * BufferView.C:
4816         * lyxfunc.C:
4817         * text.C:
4818         * text2.C:
4819         * text3.C:
4820         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4821
4822 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4823
4824         * lyx_main.C (init): remove spurious static_cast
4825
4826 2003-05-14  André Pönitz  <poenitz@gmx.net>
4827
4828         * BufferView.C: fix format string
4829
4830 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * BufferView.[Ch] (insertErrors): removed
4833         * BufferView.[Ch] (showErrorList): added
4834         * buffer.C (runChkTeX):
4835         * converter.C (scanLog): call showErrorList instead of inserterrors
4836
4837 2003-05-13  André Pönitz  <poenitz@gmx.net>
4838
4839         * BufferView_pimpl.C:
4840         * buffer.C:
4841         * bufferview_func.C:
4842         * MenuBackend.C:
4843         * lyxfunc.C:
4844         * lyxrc.C:
4845         * tex-accent.C:
4846         * text3.C:
4847         * toc.C:
4848         * tabular_funcs.h: tostr() from its own header
4849
4850         * ParagraphParameters.C:
4851         * ToolbarBackend.C:
4852         * bufferparams.C:
4853         * format.C:
4854         * lyxlex_pimpl.C:
4855         * text3.C: STRCONV()
4856
4857 2003-05-12  André Pönitz  <poenitz@gmx.net>
4858
4859         * BufferView.C:
4860         * BufferView_pimpl.C:
4861         * CutAndPaste.C:
4862         * LaTeX.C:
4863         * LaTeXFeatures.C:
4864         * ParagraphParameters.C:
4865         * buffer.C:
4866         * bufferlist.C:
4867         * bufferparams.C:
4868         * bufferview_funcs.C:
4869         * converter.C:
4870         * counters.C:
4871         * debug.C:
4872         * exporter.C:
4873         * format.C:
4874         * importer.C:
4875         * lyx_cb.C:
4876         * lyx_main.C:
4877         * lyxfont.C:
4878         * lyxfunc.C:
4879         * lyxvc.C:
4880         * paragraph.C:
4881         * paragraph_funcs.C:
4882         * tabular.C:
4883         * tabular_funcs.C:
4884         * text2.C:
4885         * text3.C:  boost::format -> bformat  all over the place
4886
4887
4888 2003-05-09  André Pönitz  <poenitz@gmx.net>
4889
4890         * LColor.[Ch]: Pimpl the #include <map> away
4891
4892 2003-05-09  John Levon  <levon@movementarian.org>
4893
4894         * bufferlist.C: never remove emergency saves
4895
4896 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * Makefile.am: better lib building
4899
4900 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4903         instead.
4904         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4905         (simpleTeXSpecialChars): adjust
4906         (simpleTeXSpecialChars): adjust
4907         * paragraph.C (simpleTeXOnePar): adjust
4908         * buffer.C (makeLaTeXFile): adjust
4909
4910         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4911
4912         * text2.C (changeDepth): parlist cleanup
4913         (getColumnNearX): ditto
4914
4915         * rowpainter.C (getLabelFont): parlist cleanup
4916
4917         * bufferlist.C (newFile): parlist cleanup
4918
4919         * CutAndPaste.C (eraseSelection): parlist cleanup
4920
4921         * BufferView_pimpl.C (trackChanges): parlist cleanup
4922         (dispatch): ditto
4923
4924         * BufferView.C (lockInset): parlist cleanup.
4925         (ChangeInsets): ditto
4926
4927 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * CutAndPaste.h: Update file header.
4930
4931         * CutAndPaste.C: Update file header.
4932         Store the parts cut out of the Document in a limited_stack.
4933         (copySelection): adjust
4934         (pasteSelection): new function, takes the index in the limited stack.
4935         (nrOfParagraphs): adjust
4936         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4937         simplify error inset insertion.
4938         (checkPastePossible): adjust
4939
4940 2003-05-06  John Levon  <levon@movementarian.org>
4941
4942         * text2.C: don't cast wrap inset to float
4943
4944 2003-05-05  André Pönitz  <poenitz@gmx.net>
4945
4946         * iterator.C:
4947         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4948
4949         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4950           few naked Paragraph *.
4951
4952 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4953
4954         * bufferparams.C: Output warning if a document with missing
4955         TeX document class is loaded
4956         * exporter.C: Disable TeX exports if the document class is missing
4957         * lyxtextclass.C:
4958         * lyxtextclass.h:
4959         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4960         isTeXClassAvailable()
4961
4962 2003-05-03  John Levon  <levon@movementarian.org>
4963
4964         * BufferView.h:
4965         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4966         explicit cursor show/hide
4967
4968         * BufferView_pimpl.h:
4969         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4970         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4971
4972         * lyxfunc.C: hide cursor before dispatching.
4973
4974         * lyx_cb.C:
4975         * lyxfind.C:
4976         * text.C:
4977         * text3.C: remove explicit cursor hides
4978
4979 2003-05-02  André Pönitz  <poenitz@gmx.net>
4980
4981         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4982
4983         * undo_funcs.C:
4984         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4985           linked lists
4986
4987         * text2.C: tiny whitespace
4988
4989 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * undo_funcs.C: almost only ws changes.
4992
4993         * ParagraphList.C (splice): just return if pl is empty.
4994
4995 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * ParagraphList.C (splice): new function.
4998
4999         * CutAndPaste.C (pasteSelection): use it
5000
5001 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * CutAndPaste.C (pasteSelection): remove the last next and
5004         previous from this file.
5005
5006 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * CutAndPaste.C (pasteSelection): more clean up, user proper
5009         ParagraphList functions for pasteing.
5010
5011         * ParagraphList.C (insert): new function, three arg insert
5012
5013 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * ParagraphList.C (insert): new function, three arg insert
5016
5017         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5018         not on paragraphs.
5019
5020 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5023
5024 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5027
5028 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5031         (copySelection): clean up a bit.
5032         (pasteSelection): use make_pair
5033
5034         * ParagraphList.C (ParagraphList): implement copy constructor
5035         (operator=): implement, base on copy constructor.
5036         (assign): new func
5037
5038         * paragraph.C (erase): return a bool
5039
5040         * paragraph_pimpl.C (erasePos): remove function, move contents...
5041         (erase): ... here. Return a bool.
5042         (erase): call erase instead of erasePos.
5043
5044 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5045
5046         * ParagraphList.h: define PitPosPair
5047         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5048         ParagraphList, fix a bug on pasting multiple pars
5049         * text2.C: change interface to C&P
5050
5051 2003-04-30  André Pönitz  <poenitz@gmx.net>
5052
5053         * undo_func.C: revert part of yesterday's patch 2
5054
5055 2003-04-30  John Levon  <levon@movementarian.org>
5056
5057         * LColor.C: s/tabular/table/
5058
5059 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5060
5061         * text3.C (dispatch): do not convert iterator -> pointer
5062         * undo_funcs.C (setCursorParUndo): ditto
5063         * text_funcs.C (transposeChars): ditto
5064
5065         * text2.C (setLayout): ws changes only
5066
5067         * text.C (breakParagraph): do not convert iterator -> pointer
5068         (insertChar): ditto
5069         (acceptChange): ditto
5070         (rejectChange): ditto
5071         (changeCase): ditto
5072         (Delete): ditto
5073         (backspace): ditto
5074
5075         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5076         pointer
5077
5078 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5079
5080         * text3.C (gotoInset): YABG (yet another bad getChar)
5081
5082 2003-04-29  André Pönitz  <poenitz@gmx.net>
5083
5084         * paragraph.h: make operator= private unimplemented as long as
5085           it is unusable
5086
5087         * ParagraphList.C: whitespace
5088
5089         * paragraph.[Ch]:
5090         * paragraph_pimpl.[Ch]:
5091         * paragraph_funcs.C:
5092         * CutAndPaste.C:
5093         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5094
5095         * text2.C:
5096           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5097
5098 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5101         * paragraph.[Ch] (erase):
5102         * paragraph_pimpl.[Ch] (erase): change return type and value
5103         * text2.C (cutSelection): some rework
5104
5105 2003-04-28  John Levon  <levon@movementarian.org>
5106
5107         * bufferlist.C: changes for unsaved changes dialog
5108
5109 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5110
5111         * bufferlist.C (newFile): set language (messages_) for new
5112         documents also.
5113
5114         * buffer.C (readFile): ws changes only.
5115
5116 2003-04-28  André Pönitz  <poenitz@gmx.net>
5117
5118         * undo_funcs.C:
5119         * lyxfunc.C:
5120         * buffer.[Ch]:
5121         * BufferView_pimpl.C:
5122         * BufferView.C: getParFromID related ParagraphList::iterator changes
5123
5124 2003-04-28  André Pönitz  <poenitz@gmx.net>
5125
5126         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5127           Changes
5128
5129 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * messages.C: remove one more localedir class variable.
5132
5133 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * messages.C (getLocaleDir): singleton generation function
5136         (Pimpl): use it.
5137         (Messages): add a default constructor.
5138
5139         * main.C (main): do not setup localedir here, do not call
5140         gettext_init.
5141
5142         * gettext.C (_): use it.
5143         (gettext_init): delete funciton
5144
5145 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * gettext.C (getLyXMessages): new singleton generating function.
5148
5149         * buffer.C (updateDocLang): adjust
5150
5151         * Makefile.am (messages.o): add target
5152         (main.o): remove target
5153
5154 2003-04-27  John Levon  <levon@movementarian.org>
5155
5156         * bufferlist.C:
5157         * lyx_cb.C:
5158         * lyxfunc.C:
5159         * lyxvc.C: specify cancel button in Alert::prompt
5160
5161 2003-04-26  John Levon  <levon@movementarian.org>
5162
5163         * text3.C:
5164         * lyxfunc.C:
5165         * lfuns.h:
5166         * LyXAction.C: add LFUN_INSET_SETTINGS
5167
5168         * lyxfunc.C: don't enable tabular-feature when there's
5169         just any locking inset
5170
5171 2003-04-26  John Levon  <levon@movementarian.org>
5172
5173         * bufferlist.C: re-add Cancel to buffer close question
5174
5175         * lyxfunc.C: fix import UI a bit
5176
5177 2003-04-25  John Levon  <levon@movementarian.org>
5178
5179         * gettext.C: remove the broken asserts for now
5180
5181 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * messages.C: make case where setlocale cannot comply work better.
5184
5185         * buffer.C (updateDocLang): new function
5186         (changeLanguage): use it
5187         (readFile): use it
5188
5189         * text2.C (setCounter): use B_ a bit.
5190
5191         * lyxlayout.C (Read): be sure to trim the label strings.
5192
5193         * messages.C (Messages): fix typo in comment
5194
5195         * buffer.C (readFile): set message_ after file is loaded.
5196         (makeDocBookFile): remove double return
5197         (changeLanguage): reset message_ upon language change.
5198         (B_): new func, use this to get translated buffer strings.
5199
5200         * main.C: add myself and Jean Marc as authors.
5201
5202 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5203
5204         * messages.[hC]: pimplify Messages, and three different pimpls to be
5205         used in different circumstances.
5206
5207         * gettext.[Ch]: change for use with new message code.
5208
5209 2003-04-24 André Pönitz <poenitz@gmx.net>
5210
5211         * factory.C: support for eqref
5212
5213 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * messages.[Ch]: add missing char
5216
5217         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5218
5219         * messages.[Ch]: New files
5220
5221 2003-04-18  John Levon  <levon@movementarian.org>
5222
5223         * BufferView.h:
5224         * BufferView.C:
5225         * BufferView_pimpl.C:
5226         * lfuns.h:
5227         * LyXAction.C:
5228         * lyxtext.h:
5229         * text2.C: remove layout-copy/paste (bug 778)
5230
5231 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5232
5233         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5234
5235 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5236
5237         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5238         if they succeed. Act accordingly.
5239
5240 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5241
5242         * text2.C (setCharFont): adjust
5243         (setCounter): adjust
5244         (insertStringAsLines): adjust
5245
5246         * text.C (leftMargin): adjust
5247         (setHeightOfRow): adjust
5248
5249         * rowpainter.C (paintFirst): adjust
5250         (paintLast): adjust
5251
5252         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5253         (outerHook): ditto
5254         (isFirstInSequence): ditto
5255         (getEndLabel): ditto
5256         (outerFont): adjust
5257
5258         * paragraph.C (getParLanguage): comment out some hard stuff.
5259
5260         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5261         (sgmlError): ditto
5262         (simpleDocBookOnePar): ditto
5263         (makeDocBookFile): use ParagraphList::iterator
5264
5265         * CutAndPaste.C (pasteSelection): adjust
5266
5267 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * text2.C (getFont): adjust
5270         (getLayoutFont): adjust
5271         (getLabelFont): adjust
5272
5273         * paragraph_funcs.C (TeXOnePar): adjust
5274
5275         * buffer.C (simpleLinuxDocOnePar): adjust
5276         (simpleDocBookOnePar): adjust
5277
5278         * CutAndPaste.C (pasteSelection): adjust
5279
5280         * BufferView.C (getEncoding): adjust
5281
5282         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5283
5284 2003-04-16  John Levon  <levon@movementarian.org>
5285
5286         * lyxfind.C: use parlist stuff for search/changes
5287
5288 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5291
5292         * text2.C (deleteEmptyParagraphMechanism): adjust
5293
5294         * text2.[Ch] (ownerParagraph): delete func (both of them
5295
5296 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5299
5300 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * ParagraphList.C: prepare for NO_NEXT
5303
5304 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * text2.C (getFont): adjust
5307         (getLayoutFont): adjust
5308         (getLabelFont): adjust
5309
5310         * paragraph.C (getFont): adjust
5311         (getLabelFont): adjust
5312         (getLayoutFont): adjust
5313
5314         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5315
5316 2003-04-15  John Levon  <levon@movementarian.org>
5317
5318         From Angus Leeming
5319
5320         * lyx_main.C: handle Include in .ui files
5321
5322 2003-04-15  John Levon  <levon@movementarian.org>
5323
5324         * MenuBackend.C: make the doc files length shorter
5325
5326         * ToolbarBackend.h:
5327         * ToolbarBackend.C: handle toolbar placement flags,
5328         Minibuffer
5329
5330 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5333         adjust
5334
5335         * paragraph_funcs.C (TeXOnePar): adjust
5336
5337         * paragraph.C (getLabelFont): add outerfont arg, adjust
5338         (getLayoutFont): ditto
5339         (simpleTeXOnePar): adjust
5340
5341         * paragraph_pimpl.C (realizeFont): delete func
5342
5343 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5344
5345         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5346         row argument, constify cur argument.
5347
5348 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * text2.C (getFont): adjust
5351         (getLayoutFont): adjust
5352         (getLabelFont): adjust
5353
5354         * paragraph_funcs.C (TeXOnePar): adjust
5355         (outerFont): new func...
5356         (realizeFont): ...moved out from here, changed this to facilitate
5357         transition
5358
5359         * paragraph.C (getFont): take outerfont as arg, adjust
5360         (simpleTeXOnePar): add outerfont arg, adjust
5361
5362         * buffer.C (simpleLinuxDocOnePar): adjust
5363         (simpleDocBookOnePar): adjust
5364
5365         * CutAndPaste.C (pasteSelection): adjust
5366
5367         * BufferView.C (getEncoding): adjust
5368
5369 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * text2.C (setCharFont): adjust
5372         (setCounter): adjust
5373
5374         * text.C (leftMargin): adjust
5375         (setHeightOfRow): adjust
5376
5377         * rowpainter.C (paintFirst): adjust
5378         (paintLast): adjust
5379
5380         * paragraph_pimpl.C (realizeFont): adjust
5381
5382         * paragraph.C (isFirstInSequence): move from here...
5383         * paragraph_funcs.C (isFirstInSequence): ...to here
5384
5385         * paragraph.C (outerHook): move from here...
5386         * paragraph_funcs.C (outerHook): ...to here
5387
5388         * paragraph.C (depthHook): move from here...
5389         * paragraph_funcs.C (depthHook): ...to here
5390
5391         * paragraph.C (getEndLabel): move from here...
5392         * paragraph_funcs.C (getEndLabel): ...to here
5393
5394         * text2.C (realizeFont): move from here...
5395         * paragraph_funcs.C (realizeFont): ...to here
5396
5397 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5398
5399         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5400
5401 2003-04-14  Angus Leeming  <leeming@lyx.org>
5402
5403         * LColor.[Ch]: scrap LColor mathcursor.
5404
5405 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * lyxlex.[Ch] (text): delete function
5408         * trans.C (Load): adjust
5409         * paragraph_funcs.C (readParToken): adjust
5410
5411 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5414         vector<char> instead of a char[].
5415
5416         * lyxlex_pimpl.C (getString): adjust
5417         (next): adjust
5418         (lex): use getString
5419         (eatLine): adjust
5420         (nextToken): adjust
5421
5422         * lyxlex.C (text): use pimpl_->getString()
5423         (getBool): ditto
5424         (findToken): ditto
5425
5426 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5429         (makeFontEntriesLayoutSpecific): temp var for par.size()
5430         (setLayout): temp var for ownerParagraphs().end()
5431         (fullRebreak): temp var for rows().end()
5432         (selectionAsString): temp var for boost::next(startpit), realize
5433         that the while really is a regular for loop.
5434         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5435         setCursor in one place.
5436         (setParagraph): temp vr for ownerParagraphs().end()
5437         (updateCounters): make the while loop a for loop
5438         (cutSelection): temp var for ownerParagraphs().end()
5439         (updateInset): make the do {} while() a regular for loop
5440         (getCursorX): use temp vars
5441         (setCurrentFont): use temp vars
5442         (getColumnNearX): use temp vars
5443
5444 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5445
5446         * text.C (transformChar): use temp var for getChar
5447         (computeBidiTables): use temp var for row->par()
5448         (fill): move temp vars for row->par() and pit->layout() earlier in
5449         the function.
5450         (labelFill): use temp var for row->par()
5451         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5452         asc and desc, realize that pit never changes and that firstpit is
5453         just a duplicate and not needed. Exchange rit->par() with pit in a
5454         lot of places.
5455         (breakAgain): use a temp var for boost::next(rit)
5456         (breakAgainOneRow): ditto
5457         (breakParagraph): use a temp var for rows().begin()
5458         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5459         (cursorRightOneWord): use temp var for cursor.par() and
5460         cursor.pos(), remove usage of tmpcursor.
5461         (cursorLeftOneWord): use temp var for cursor.par() and
5462         cursor.pos() only set cur at end of function.
5463
5464 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * text.C, text2.C: exchange all usage of Paragraph::next with
5467         boost::next(ParagraphList::iterator)
5468
5469         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5470
5471         * text2.C (cursorTop): simplify implementation
5472         (cursorBottom): ditto
5473         (setParagraph): use ParagraphList::iterator
5474         (setCurrentFont): adjust
5475         (getColumnNearX): adjust
5476         (cursorRight): adjust
5477         (cursorLeft): remove usage of Paragraph::previous
5478         (cursorUpParagraph): ditto
5479         (deleteEmptyParagraphMechanism): slight cleanup
5480
5481         * text.C (isBoundary): take a Paragraph const & instead of a
5482         pointer as arg.
5483         (addressBreakPoint): ditto
5484         (leftMargin): remove usage of Paragraph::previous.
5485         (setHeightOfRow): ditto
5486         (cursorLeftOneWord): ditto
5487         (selectNextWordToSpellcheck): ditto
5488         (Delete): ditto
5489         (backspace): ditto
5490         (breakParagraph): remove one usage of Paragraph::next
5491         (redoParagraph): ditto
5492         (acceptChange): ditto
5493         (insertChar): adjust
5494         (rowBreakPoint): adjust
5495
5496         * bufferview_funcs.C (toggleAndShow): adjust
5497
5498 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5499
5500         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5501         methods to access it.
5502         * lyxtext.h:
5503         * text.C: Added updateRowPositions to compute all row positions.
5504         Make top_y and getRowNearY() to use the cached y position
5505
5506 2003-04-11  John Levon  <levon@movementarian.org>
5507
5508         * text.C (rowBreakPoint): reintroduce the labelEnd
5509         checks, code copied from the row fill stuff. Deep voodoo.
5510
5511         * text.C (fill): add a comment and debugging for the
5512         next poor soul.
5513
5514 2003-04-11  John Levon  <levon@movementarian.org>
5515
5516         * text.C: make sure fullrow insets get wrapped to the next line,
5517         even when they're in a manual label
5518
5519 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5520
5521         * text2.C (insertParagraph): make it take ParagraphList::iterator
5522         as arg.
5523         (setLayout): make it return ParagraphList::iterator
5524         (redoParagraphs): ditto
5525         (setCounter): ditto
5526         (checkParagraph): ditto
5527
5528         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5529
5530         * text2.C: adjust several funcs.
5531         (realizeFont): take a ParagraphList::iterator as arg.
5532         (getLayoutFont): ditto
5533         (getLabelFont): ditto
5534         (setCharFont): ditto
5535
5536         * text.C: adjust several funcs.
5537
5538 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5539
5540         * text.C (selectNextWordToSpellcheck): don't accidentally
5541         skip insets
5542
5543 2003-04-10  John Levon  <levon@movementarian.org>
5544
5545         * ToolbarBackend.C (getIcon): special handling for
5546         LFUN_MATH_DELIM
5547
5548 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5549
5550         * text2.C (cursorRight): a getChar assert fixed
5551
5552 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5553
5554         * text2.C (getFont): change to take a ParagraphList::iterator
5555         instead of Paragraph*
5556         Adjust several functions.
5557
5558         * text.C (transformChar): change to take a ParagraphList::iterator
5559         instead of Paragraph*
5560         (singleWidth): ditto
5561         Adjust several functions.
5562
5563         * rowpainter.C: adjust several functions
5564         * rowpainter.h:store a ParagraphList::iterator and not a
5565         Paragraph&.
5566
5567
5568 2003-04-09  John Levon  <levon@movementarian.org>
5569
5570         * lyxfunc.C:
5571         * lfuns.h:
5572         * LyXAction.h:
5573         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5574         and the "help" bits as well
5575
5576 2003-04-09  John Levon  <levon@movementarian.org>
5577
5578         * ToolbarBackend.h:
5579         * ToolbarBackend.C: allow multiple toolbars
5580
5581 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * undo_funcs.C (setCursorParUndo): adjust
5584
5585         * text_funcs.C (transposeChars): adjust
5586
5587         * text3.C (gotoNextInset): adjust
5588         (dispatch): adjust
5589
5590         * text2.C (setLayout): adjust
5591         (changeDepth): adjust
5592         (setFont): adjust
5593         (redoParagraphs): adjust
5594         (selectionAsString): adjust
5595         (setParagraph): adjust
5596         (insertInset): adjust
5597         (cutSelection): adjust
5598         (copySelection): adjust
5599         (pasteSelection): adjust
5600         (insertStringAsLines): adjust
5601         (updateInset): adjust
5602         (setCursor): change to take a ParagraphList::iterator parameter
5603         (setCursorIntern): change to take a ParagraphList::iterator parameter
5604         (setCurrentFont): adjust
5605         (cursorLeft): adjust
5606         (cursorRight): adjust
5607         (deleteEmptyParagraphMechanism): adjust
5608
5609         * text.C (breakParagraph): adjust
5610         (insertChar): adjust
5611         (acceptChange): adjust
5612         (rejectChange): adjust
5613         (selectNextWordToSpellcheck): adjust
5614         (changeCase): adjust
5615         (Delete): adjust
5616         (backspace): adjust
5617
5618         * lyxfind.C (SearchForward): adjust
5619         (SearchBackward): adjust
5620         (nextChange): adjust
5621
5622         * lyxcursor.C (par): adjust
5623
5624         * lyxcursor.h: store a ParagraphList::iterator instead of a
5625         Paragraph*
5626
5627         * lyx_cb.C (getPossibleLabel): adjust
5628
5629         * bufferview_funcs.C (toggleAndShow): adjust
5630
5631         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5632         (dispatch): adjust
5633
5634         * BufferView.C (removeAutoInsets): adjust
5635         (lockedInsetStoreUndo): adjust
5636
5637 2003-04-09  John Levon  <levon@movementarian.org>
5638
5639         * ToolbarBackend.C: try icon without argument
5640         if with argument fails
5641
5642 2003-04-08  John Levon  <levon@movementarian.org>
5643
5644         * ToolbarBackend.h:
5645         * ToolbarBackend.C: add getIcon(), handle tooltip,
5646         and change from "Icon" to "Item".
5647
5648 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * BufferView.C (lockInset): another bad getchar crunched
5651
5652 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5653
5654         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5655         again)
5656
5657 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5658
5659         * lyxfind.C (searchForward, searchBackwards): bug 782
5660
5661 2003-04-07  John Levon  <levon@movementarian.org>
5662
5663         * paragraph.C: remove dead comment
5664
5665         * text.C: remove troublesome depth-fiddling code
5666         in leftMargin() and rightMargin() (bug 1017)
5667
5668         * text.C: fix breaking of rows in nested lists
5669         (bug 1004)
5670
5671         * text2.C (updateCounters): fix up depth values
5672         (bug 1013)
5673
5674 2003-04-07  John Levon  <levon@movementarian.org>
5675
5676         * BufferView_pimpl.C: clear message when doc finishes resizing,
5677         and after a mouse event
5678
5679         * lyxfunc.C: clear message after exiting inset
5680
5681 2003-04-07  John Levon  <levon@movementarian.org>
5682
5683         * bufferview_funcs.C: show math status not outside
5684         status in the statusbar
5685
5686 2003-04-07  John Levon  <levon@movementarian.org>
5687
5688         * lyxfunc.C: note status changed after a depth change
5689
5690 2003-04-04  Angus Leeming  <leeming@lyx.org>
5691
5692         * LaTeX.h: move AuxInfo operator==, != out of line.
5693         Remove LaTeX virtual destructor; nothing derives from it.
5694         Move operator()() out of public area and rename it startscript().
5695         Change protected for private.
5696
5697 2003-04-04  Angus Leeming  <leeming@lyx.org>
5698
5699         * lyxfunc.C:
5700         * text2.C: remove unneeded #includes.
5701
5702 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5703
5704         * text2.C (dEPM): fix the heigth of the next row
5705
5706 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5707
5708         * text.C: squashed an invalid getChar requester + some ws changes
5709
5710 2003-04-03  John Levon  <levon@movementarian.org>
5711
5712         * bufferview_funcs.h:
5713         * bufferview_funcs.C:
5714         * lyxfunc.C:
5715         * lyxtext.h:
5716         * text2.C: make getStatus work for the env depth lfuns
5717
5718 2003-04-03  John Levon  <levon@movementarian.org>
5719
5720         * bufferview_funcs.h:
5721         * bufferview_funcs.C:
5722         * lyxfunc.C:
5723         * lyxtext.h:
5724         * text2.C: parlistize decDepth(), by merging it with incDepth()
5725
5726 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * lyxrow.h: store a ParagraphList::iterator instead of a
5729         Paragraph* and adjust other class functions to suit.
5730
5731         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5732         above.
5733
5734 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5735
5736         * text2.C (setCursor): do not anchor to cursor row for the time being
5737
5738 2003-04-02  John Levon  <levon@movementarian.org>
5739
5740         * LyXAction.C:
5741         * lfuns.h:
5742         * lyx_main.C:
5743         * lyxtext.h:
5744         * text.C:
5745         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5746
5747 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5748
5749         * paragraph.h: make ParagraphList and ParagraphList::iterator
5750         friends of Paragraph.
5751
5752         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5753
5754         * ParagraphList.C: Use the private next_ and previous_ from
5755         Paragraph.
5756
5757 2003-04-01  John Levon  <levon@movementarian.org>
5758
5759         * ToolbarBackend.h:
5760         * ToolbarBackend.C:
5761         * Makefile.am: rename, remove defaults gunk
5762
5763         * MenuBackend.h:
5764         * MenuBackend.C: remove defaults gunk
5765
5766         * Languages.h:
5767         * Languages.C: remove defaults gunk
5768
5769         * lyx_main.h:
5770         * lyx_main.C: error out if files couldn't be found.
5771
5772 2003-04-02  John Levon  <levon@movementarian.org>
5773
5774         * text2.C: make incDepth() use parlist
5775
5776 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5777
5778         * undo_funcs.C (firstUndoParagraph): adjust
5779
5780         * text3.C (gotoInset): adjust
5781         (dispatch): adjust, and rewrite loop.
5782
5783         * text2.C (init): adjust, and rewrite loop.
5784         (redoParagraphs): adjust
5785         (updateInset): adjust, and rewrite loop.
5786         (deleteEmptyParagraphMechanism): adjust
5787
5788         * tabular.C (LyXTabular): adjust
5789         (SetMultiColumn): adjust
5790         (TeXRow): adjust
5791
5792         * lyxtext.[Ch] (ownerParagraph): delete function
5793         (ownerParagraphs): new function returns a ParagraphList.
5794
5795         * BufferView.C (removeAutoInsets): adjust
5796         (insertErrors): adjust
5797         (setCursorFromRow): adjust
5798
5799 2003-04-01  Angus Leeming  <leeming@lyx.org>
5800
5801         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5802         in the frontends.
5803
5804 2003-04-02  John Levon  <levon@movementarian.org>
5805
5806         * lyxtext.h:
5807         * text.C:
5808         * Makefile.am:
5809         * text_funcs.h:
5810         * text_funcs.C: make transposeChars a free function
5811
5812         * lyxrow_funcs.C: remove wrong comment
5813
5814 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * lyxtext.h: adjust
5817         * rowpainter.C: adjust
5818         * text.C: adjust
5819         * text2.C: adjust
5820         * text3.C: adjust
5821
5822         * lyxrow_funcs. [Ch]: new files
5823
5824         * lyxrow.[Ch]: remove next and previous pointers
5825         (next,previous): remove accessor functions
5826         (isParEnd): move to lyxrow_funcs
5827         (lastPos): move to lyxrow_funcs
5828         (nextRowIsAllInset): move to lyxrow_funcs
5829         (lastPrintablePos): move to lyxrow_funcs
5830         (numberOfSeparators): move to lyxrow_funcs
5831         (numberOfHfills): move to lyxrow_funcs
5832         (numberOfLabelHfills): move to lyxrow_funcs
5833         (hfillExpansion): move to lyxrow_funcs
5834
5835         * lyxfunc.C: adjust
5836
5837         * bufferview_funcs.C (toggleAndShow): adjust
5838
5839         * RowList.h: Remove class RowList from file leave just a
5840         std::list<Row>.
5841
5842         * RowList.C: delete file
5843
5844         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5845         and lyxrow_funcs.h
5846
5847 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * text3.C (cursorPrevious): adjust
5850         (cursorNext): adjust
5851         (dispatch): adjust
5852
5853         * text2.C (redoHeightOfParagraph): adjust
5854         (redoDrawingOfParagraph): adjust
5855         (setCursor): adjust
5856
5857         * text.C (breakParagraph): adjust
5858         (insertChar): adjust
5859         (backspace): adjust
5860
5861         * rowpainter.C (RowPainter): adjust
5862         (leftMargin): simplify and adjust
5863         (most rowpainter functions): adjust.
5864
5865         * rowpainter.h: store the row as RowList::iterator not as Row*
5866
5867         * lyxcursor.C (row): taka RowList::iterator as arg
5868         (irow): ditto
5869
5870         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5871         of Row*.
5872
5873 2003-04-01  Angus Leeming  <leeming@lyx.org>
5874
5875         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5876         stuff like bool Bool.
5877
5878 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5879
5880         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5881         rewrite a loop
5882
5883 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5884
5885         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5886         RowList::iterator.
5887
5888         * lyxtext.h (rows): drop one version and leve a const variant that
5889         returns a RowList::iterator.
5890
5891 2003-03-31  Angus Leeming  <leeming@lyx.org>
5892
5893         * text.C (fill): ensure that the signature is the same as that in the
5894         header file.
5895
5896 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * text2.C (redoParagraphs): adjust
5899         (updateCounters): adjust
5900         (checkParagraph): adjust
5901         (getColumnNearX): adjust and reformat a bit.
5902
5903         * text.C (top_y): adjust
5904         (workWidth): adjust
5905         (leftMargin): adjust
5906         (prepareToPrint): adjust
5907         (getRow): adjust
5908         (getRowNearY): adjust
5909
5910         * lyxtext.h: make rowlist_ mutable.
5911
5912         * RowList.h: add const_iterator
5913         * RowList.C: adjust for RowList::const_iterator.
5914
5915         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5916         adjust.
5917
5918 2003-03-31  John Levon  <levon@movementarian.org>
5919
5920         * lyxrc.h:
5921         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5922
5923         * lyx_main.C: set default fonts from using lyx_gui funcs
5924
5925         * exporter.C: pdf_mode moved from lyxrc
5926
5927         * lyx_cb.C:
5928         * lyxfunc.C: changes from above
5929
5930 2003-03-31  John Levon  <levon@movementarian.org>
5931
5932         * lyx_main.C: fix to the last fix
5933
5934 2003-03-31  John Levon  <levon@movementarian.org>
5935
5936         * bufferlist.C: "Load original" -> "Load Original"
5937
5938         * converter.C:
5939         * exporter.C:
5940         * importer.C:
5941         * lyx_main.C:
5942         * format.C: more Alert cleanups
5943
5944 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5945
5946         * text2.C (removeParagraph): make it take a RowList::iterator as
5947         arg, adjust.
5948         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5949         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5950
5951         * text.C (anchor_row): make it take a RowList::iterator as arg,
5952         adjust.
5953         (computeBidiTables): make it take a const reference to Row instead
5954         of Row pointer, adjust.
5955         (leftMargin): make it take a RowList::iterator as arg, adjust.
5956         (rowBreakPoint): adjust
5957         (breakAgainOneRow): make it take a RowList::iterator as arg,
5958         adjust.
5959         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5960
5961         * bufferview_funcs.C (toggleAndShow): adjust
5962
5963 2003-03-30  John Levon  <levon@movementarian.org>
5964
5965         * Makefile.am:
5966         * BoostFormat.h:
5967         * boost-inst.C: moved to support
5968
5969         * several files: changes as a result
5970
5971 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * text2.C (LyXText): adjust.
5974         (init): adjust
5975         (removeRow): make it take a RowList::iterator as arg, adjust.
5976         (fullRebreak): adjust
5977         (deleteEmptyParagraphMechanism): adjust
5978         (clearPaint): adjust
5979         (postPaint): adjust
5980
5981         * text.C (top_y): adjust
5982         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5983         (breakAgain): make it take a RowList::iterator as arg, adjust.
5984         (breakParagraph): adjust
5985         (insertChar): adjust
5986         (backspace): adjust
5987
5988         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5989         need_break_row, and refresh_row.
5990
5991         * text3.C (dispatch): adjust
5992
5993         * text2.C (checkParagraph): adjust
5994         (setCursor): adjust
5995         (setCursorFromCoordinates): adjust
5996
5997         * text.C (top_y): adjust
5998         (workWidth): adjust
5999         (getRow): make it return a RowList::iterator, adjust
6000         (getRowNearY): make it return a RowList::iterator, adjust
6001
6002         * text2.C (init): adjust
6003         (insertRow): remove function
6004         (insertParagraph): adjust
6005         (redoParagraphs): adjust
6006         (fullRebreak): adjust
6007         (updateCounters): adjust
6008
6009         * text.C (top_y): rewrite to use RowList iterators.
6010         (top_y): adjust
6011         (setHeightOfRow): rewrite to sue RowList iterators.
6012         (appendParagraph): adjust
6013         (breakAgain): adjust
6014         (breakAgainOneRow): adjust
6015         (breakParagraph): adjust
6016         (getRow): adjust
6017         (getRowNearY): adjust, and remove commented code.
6018
6019         * lyxtext.h (firstRow): delete function
6020         (lastRow): delete function
6021         (rows): new function (const and non-const versions.)
6022         (insertRow): delete function
6023
6024         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6025
6026 2003-03-29  John Levon  <levon@movementarian.org>
6027
6028         * BufferView_pimpl.C: always update scrollbar top
6029         because pasting text when we're anchored could mean we
6030         miss an update altogether
6031
6032 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * text2.C (init): use rowlist_.end() and not 0.
6035         (insertRow): change to take a RowList::iterator as arg, adjust
6036         for this.
6037         (insertParagraph): change to take a RowList::iterator as arg,
6038         adjust for this.
6039         (redoParagraphs): remove some debug msgs.
6040
6041         * text.C (appendParagraph): change to take a RowList::iterator
6042         arg, adjust for this.
6043         (breakAgain): add an assert
6044         (breakAgainOneRow): ditto
6045
6046 2003-03-29  John Levon  <levon@movementarian.org>
6047
6048         * text2.C: do not clear selection after inc/decDepth
6049         (bug 550)
6050
6051 2003-03-29  John Levon  <levon@movementarian.org>
6052
6053         * BufferView.C:
6054         * buffer.C: fix broken strerrors according to Lars
6055
6056 2003-03-29  John Levon  <levon@movementarian.org>
6057
6058         * converters.C: more Alert cleanups
6059
6060 2003-03-29  John Levon  <levon@movementarian.org>
6061
6062         * bufferview_funcs.C: remove pointless Alert
6063
6064         * buffer.C: fix confusing error message when
6065         a template is chmoded 000
6066
6067 2003-03-29  John Levon  <levon@movementarian.org>
6068
6069         * BufferView.C:
6070         * BufferView.h:
6071         * BufferView_pimpl.C: Alert fixes
6072
6073         * Makefile.am:
6074         * tabular.C:
6075         * tabular-old.C: remove unused table compat reading
6076
6077 2003-03-29  John Levon  <levon@movementarian.org>
6078
6079         * BufferView.C:
6080         * buffer.C:
6081         * lyx_cb.h:
6082         * lyx_cb.C: more Alert cleanups
6083
6084         * lyxfunc.C: don't allow chktex if not latex document
6085
6086 2003-03-29  John Levon  <levon@movementarian.org>
6087
6088         * lyx_cb.C:
6089         * BufferView.C:
6090         * buffer.C: warnings pushed down from support/,
6091         kill err_alert
6092
6093 2003-03-29  John Levon  <levon@movementarian.org>
6094
6095         * lyxfunc.C: safety check for C-r (revert)
6096
6097 2003-03-29  John Levon  <levon@movementarian.org>
6098
6099         * bufferlist.h:
6100         * bufferlist.C: several UI fixes using Alert::prompt.
6101         Fix the pointless looping quit code. Fix stupid revert
6102         behaviour (bug 938)
6103
6104         * lyxvc.h:
6105         * lyxvc.C:
6106         * lyx_cb.C: use Alert::prompt
6107
6108         * lyx_main.C: remove a silly question
6109
6110         * lyxfunc.C: remove a couple of silly questions,
6111         use Alert::prompt
6112
6113 2003-03-28  John Levon  <levon@movementarian.org>
6114
6115         * text2.C: fix bug 974 (End on empty par)
6116
6117 2003-03-28  John Levon  <levon@movementarian.org>
6118
6119         * BufferView_pimpl.C:
6120         * LyXAction.C:
6121         * lfuns.h: remove do-nothing math greek lfuns
6122
6123 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * lyxgluelength.h (isValidGlueLength): add default arg on
6126         parameter 2. Remove default arg from friend in class.
6127
6128         * lyxlength.h (isValidLength): add default arg on parameter 2.
6129         Remove default arg from friend in class.
6130
6131         * text2.C (LyXText): adjust, initialize refresh_row.
6132         (init): adjust
6133         (removeRow): adjust
6134         (insertRow): adjust
6135         (insertParagraph): adjst
6136         (redoParagraphs): adjust
6137         (fullRebreak): adjust
6138         (updateCounters): adjust
6139         (deleteEmptyParagraphMechanism): first attempt at fixing a
6140         crashing bug.
6141
6142         * text.C (top_y): adjust
6143         (setHeightOfRow): adjust
6144         (getRow): adjust
6145         (getRowNearY): adjust
6146
6147         * lyxtext.h: include RowList.h
6148         (~LyXText): not needed anymore, deleted.
6149         (firstRow): modify for RowList
6150         (lastRow): new function
6151         Delete firstrow and lastrow class variables, add a Rowlist
6152         rowlist_ class variable.
6153
6154         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6155         paragraph is empty.
6156
6157         * RowList.C (insert): fix case where it == begin().
6158
6159 2003-03-26  Angus Leeming  <leeming@lyx.org>
6160
6161         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6162         the thesaurus dialog.
6163
6164 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6167
6168         * RowList.[Ch]: new files
6169
6170         * ParagraphList.C (erase): handle the case where it == begin
6171         correctly.
6172
6173 2003-03-25  John Levon  <levon@movementarian.org>
6174
6175         * Makefile.am:
6176         * aspell_local.h:
6177         * aspell.C: add new aspell support
6178
6179         * lyxrc.h:
6180         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6181         have it accessible.
6182
6183 2003-03-25  Angus Leeming  <leeming@lyx.org>
6184
6185         * lfuns.h:
6186         * LyXAction.C (init): new LFUN_INSET_INSERT.
6187
6188         * BufferView_pimpl.C (dispatch): split out part of the
6189         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6190
6191         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6192         LFUN_INSET_APPLY.
6193
6194 2003-03-25  Angus Leeming  <leeming@lyx.org>
6195
6196         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6197
6198 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * text2.C:
6201         * text3.C: remove useless row->height(0)
6202
6203 2003-03-25  John Levon  <levon@movementarian.org>
6204
6205         * lyxtext.h:
6206         * text2.C:
6207         * text3.C: rename the refreshing stuff to better names
6208
6209 2003-03-24  John Levon  <levon@movementarian.org>
6210
6211         * BufferView_pimpl.h:
6212         * BufferView_pimpl.C: update layout choice on a mouse
6213         press/release
6214
6215 2003-03-23  John Levon  <levon@movementarian.org>
6216
6217         * Makefile.am: fix commandtags.h reference
6218
6219 2003-03-22  John Levon  <levon@movementarian.org>
6220
6221         * BufferView_pimpl.C:
6222         * lyxtext.h:
6223         * rowpainter.C:
6224         * rowpainter.h:
6225         * text.C:
6226         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6227
6228 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6229
6230         * lyxtext.h:
6231         * text.C: take the rtl methods out of line
6232
6233 2003-03-21 André Pönitz <poenitz@gmx.net>
6234
6235         * metricsinfo.[Ch]: new files containing structures to be passed around
6236         during the two-phase-drawing...
6237
6238 2003-03-21 André Pönitz <poenitz@gmx.net>
6239
6240         * lyxtextclass.C: read 'environment' tag.
6241
6242 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6243
6244         * text2.C (removeRow): fix bug 964
6245
6246 2003-03-20  John Levon  <levon@movementarian.org>
6247
6248         * rowpainter.C:
6249         * text.C:
6250         * text2.C: paint cleanups. Inset::update() dropped font
6251         parameter
6252
6253 2003-03-19  John Levon  <levon@movementarian.org>
6254
6255         * lyxfunc.C: only fitcursor/markDirty if available()
6256
6257 2003-03-19  John Levon  <levon@movementarian.org>
6258
6259         * commandtags.h: rename to ...
6260
6261         * lfuns.h: ... this, and renumber / cleanup
6262
6263 2003-03-19  John Levon  <levon@movementarian.org>
6264
6265         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6266         fit the cursor after an lfun
6267
6268         * BufferView.h:
6269         * BufferView.C:
6270         * BufferView_pimpl.h:
6271         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6272
6273         * LyXAction.C: layout-character should have ReadOnly
6274
6275         * ParagraphParameters.C:
6276         * buffer.C:
6277         * bufferview_funcs.C:
6278         * lyx_cb.C:
6279         * lyxfind.C:
6280         * lyxtext.h:
6281         * text.C:
6282         * text2.C:
6283         * text3.C:
6284         * undo_funcs.C: changes from above
6285
6286 2003-03-18  John Levon  <levon@movementarian.org>
6287
6288         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6289         remove it from update()
6290
6291         * lyxfunc.C: update layout choice after an lfun
6292
6293         * text3.C: remove extra updateLayoutChoice()s
6294
6295 2003-03-18  John Levon  <levon@movementarian.org>
6296
6297         * text.C: top_y change means full repaint, fix
6298         a drawing bug with cursor movement
6299
6300 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6301
6302         * lyxtext.h:
6303         * text.C:
6304         * text2.C: anchor row on setCursor
6305
6306 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6307
6308         * lyxtext.h: remove almost all mutable keywords
6309         * text.C:
6310         * text2.C:
6311         * text3.C: remove const keywords accordingly
6312
6313 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6316         anon namespace
6317         (TeXEnvironment): ditto
6318         (TeXOnePar): ditto
6319
6320 2003-03-17  John Levon  <levon@movementarian.org>
6321
6322         * text.C (rowBreakPoint): remove attempt to fix displayed
6323         math insets inside a manual label
6324
6325 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * lyxtext.h: remove BufferView* as first arg from almost all class
6328         functions.
6329         * other files: adjust.
6330
6331 2003-03-17  John Levon  <levon@movementarian.org>
6332
6333         * lyxtext.h:
6334         * undo_funcs.C:
6335         * text2.C: more paint cleanups
6336
6337         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6338
6339         * rowpainter.h:
6340         * rowpainter.C: remove "smart" background painting code
6341
6342 2003-03-16  John Levon  <levon@movementarian.org>
6343
6344         * lyxtext.h:
6345         * text.C:
6346         * text2.C:
6347         * text3.C: add helper functions for setting refresh_row/y
6348
6349 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6350
6351         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6352         newline inset which *can* get inserted in the pass_thru layouts.
6353         This is primarily for literate documents.
6354
6355 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6356
6357         * buffer.C: increment LYX_FORMAT to 223
6358
6359 2003-03-14 André Pönitz <poenitz@gmx.net>
6360
6361         * textclass.h: prepare for environment handling, ws changes
6362         * lyxlayout.C: read latexheader and latexfooter tags
6363
6364 2003-03-14  John Levon  <levon@movementarian.org>
6365
6366         * text2.C: rewrite ::status() a bit
6367
6368 2003-03-13  John Levon  <levon@movementarian.org>
6369
6370         * lyxtext.h: add some docs
6371
6372 2003-03-13  John Levon  <levon@movementarian.org>
6373
6374         * lyxtext.h:
6375         * text.C:
6376         * text2.C:
6377         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6378
6379 2003-03-13  John Levon  <levon@movementarian.org>
6380
6381         * text3.C: fix appendix redrawing
6382
6383 2003-03-13  John Levon  <levon@movementarian.org>
6384
6385         * text.C (setHeightOfRow):
6386         * rowpainter.h:
6387         * rowpainter.C: make appendix mark have the text
6388           "Appendix" so the user knows what it is
6389
6390         * LColor.h:
6391         * LColor.C: s/appendixline/appendix/ from above
6392
6393 2003-03-13  John Levon  <levon@movementarian.org>
6394
6395         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6396
6397         * text.C: fix a getChar(pos) bug properly
6398
6399 2003-03-13  Angus Leeming  <leeming@lyx.org>
6400
6401         * commandtags.h:
6402         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6403         Probably only temporary. Let's see how things pan out.
6404
6405         * BufferView.C (unlockInset):
6406         * BufferView_pimpl.C (fitCursor):
6407         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6408
6409         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6410         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6411
6412         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6413         new functions that convert ParagraphParameters to and from a string.
6414
6415         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6416         BufferView::Pimpl's dispatch.
6417         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6418
6419 2003-03-13 André Pönitz <poenitz@gmx.net>
6420
6421         * lyxfunc.C:
6422         * text3.C:
6423         * factory.C: make it aware of InsetEnv
6424
6425 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * text2.C (setCursor): never ask for one past last
6428         (setCursor): add some debugging messages.
6429
6430         * text.C (singleWidth): never ask for one past last
6431         (singleWidth): ditto
6432         (leftMargin): ditto
6433         (rightMargin): ditto
6434         (rowBreakPoint): ditto
6435         (setHeightOfRow): ditto
6436         (prepareToPrint): ditto
6437
6438         * rowpainter.C (paintBackground): never ask for one past last
6439         (paintText): never ask for one past last
6440
6441         * paragraph_pimpl.C (getChar): make the assert stricter, never
6442         allow the one past last pos to be taken
6443
6444         * paragraph.C (getChar): ws changes only
6445
6446         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6447         (numberOfSeparators): ditto
6448         (numberOfHfills): ditto
6449
6450 2003-03-12  John Levon  <levon@movementarian.org>
6451
6452         * author.h:
6453         * author.C:
6454         * bufferparams.h:
6455         * bufferparams.C:
6456         * paragraph_funcs.C: fix per-buffer authorlists
6457
6458 2003-03-12  John Levon  <levon@movementarian.org>
6459
6460         * text.C: fix newline in right address
6461
6462 2003-03-12  Angus Leeming  <leeming@lyx.org>
6463
6464         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6465         duplicate those in LyXFunc::dispatch.
6466
6467         * commandtags.h:
6468         * LyXAction.C:
6469         * ToolbarDefaults.C:
6470         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6471         Add LFUN_FONTFREE_UPDATE.
6472
6473         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6474         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6475
6476         * bufferview_func.[Ch]: several new functions to facilliate
6477         transfer of data to and from the character dialog.
6478
6479 2003-03-12  John Levon  <levon@movementarian.org>
6480
6481         * buffer.C:
6482         * paragraph.h:
6483         * paragraph.C:
6484         * paragraph_funcs.C:
6485         * paragraph_pimpl.C:
6486         * sgml.C:
6487         * tabular.C:
6488         * text.C:
6489         * text3.C: remove META_NEWLINE in favour of an inset
6490
6491         * rowpainter.h:
6492         * rowpainter.C: remove paintNewline (done by inset)
6493
6494 2003-03-12  John Levon  <levon@movementarian.org>
6495
6496         * paragraph_pimpl.C: complain about bad getChar()s
6497         for a while at least
6498
6499 2003-03-12  John Levon  <levon@movementarian.org>
6500
6501         * buffer.h:
6502         * buffer.C: move paragraph read into a separate function,
6503         a little renaming to reflect that.
6504
6505         * bufferparams.h:
6506         * bufferparams.C: remove the author_ids map, not necessary now
6507
6508         * factory.h:
6509         * factory.C: moved Buffer::readInset to here
6510
6511         * paragraph_funcs.h:
6512         * paragraph_funcs.C: readParagraph free function moved from
6513         buffer.C
6514
6515         * tabular.C: name change
6516
6517 2003-03-12  John Levon  <levon@movementarian.org>
6518
6519         * buffer.C:
6520         * ParagraphParameters.C: move par params input to
6521         a read() method
6522
6523         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6524         behave like a normal read from the stream wrt reading
6525         a line vs. a \\token
6526
6527 2003-03-12  John Levon  <levon@movementarian.org>
6528
6529         * paragraph.C:
6530         * ParagraphParameters.h:
6531         * ParagraphParameters.C: move output code to a
6532         ::write() method
6533
6534 2003-03-12  John Levon  <levon@movementarian.org>
6535
6536         * BufferView.C (insertLyXFile):
6537         * buffer.h:
6538         * buffer.C:
6539         * tabular.C: use a parlist iterator for creating the
6540           document.
6541
6542 2003-03-12  John Levon  <levon@movementarian.org>
6543
6544         * buffer.C: make current_change static local not
6545           static file-scope
6546
6547 2003-03-12  John Levon  <levon@movementarian.org>
6548
6549         * buffer.C: fix insertStringAsLines for change tracking
6550
6551 2003-03-12  John Levon  <levon@movementarian.org>
6552
6553         * BufferView.C:
6554         * tabular.C:
6555         * buffer.h:
6556         * buffer.C:
6557         * bufferparams.h:
6558         * bufferparams.C: move author list into params. Rename some
6559           functions. Move the header reading into a separate token
6560           loop. Move the header token reading into BufferParams.
6561
6562 2003-03-12  John Levon  <levon@movementarian.org>
6563
6564         * changes.C: put debug inside lyxerr.debugging() checks
6565
6566 2003-03-11 André Pönitz <poenitz@gmx.net>
6567
6568         * factory.C: make it aware of InsetHFill
6569
6570 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6571
6572         * buffer.C (latexParagraphs): move function from here...
6573         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6574         args.
6575
6576 2003-03-10  Angus Leeming  <leeming@lyx.org>
6577
6578         * LyXAction.C (init): fix bug in poplating array with multiple entries
6579         with the same LFUN (spotted by JMarc).
6580
6581 2003-03-10  John Levon  <levon@movementarian.org>
6582
6583         * text.C:
6584         * text2.C: move getColumnNearX() near its
6585         only call site
6586
6587 2003-03-10  John Levon  <levon@movementarian.org>
6588
6589         * text.C: fix break before a minipage
6590
6591 2003-03-10  John Levon  <levon@movementarian.org>
6592
6593         * text.C: fix the last commit
6594
6595 2003-03-09  John Levon  <levon@movementarian.org>
6596
6597         * lyxtext.h:
6598         * text.C:
6599         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6600         bug 365 (don't break before insets unless needed). Don't
6601         return a value > last under any circumstances.
6602
6603 2003-03-09  Angus Leeming  <leeming@lyx.org>
6604
6605         * BufferView_pimpl.C (trackChanges, dispatch): call
6606         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6607
6608 2003-03-09  Angus Leeming  <leeming@lyx.org>
6609
6610         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6611         than Dialogs::showAboutlyx().
6612
6613 2003-03-09  Angus Leeming  <leeming@lyx.org>
6614
6615         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6616         than Dialogs::showTabularCreate().
6617
6618 2003-03-09  John Levon  <levon@movementarian.org>
6619
6620         * lyxtext.h:
6621         * text.C:
6622         * text2.C: 3rd arg to nextBreakPoint was always the same.
6623           Use references.
6624
6625 2003-03-08  John Levon  <levon@movementarian.org>
6626
6627         * lyxrow.C:
6628         * paragraph.C:
6629         * paragraph.h:
6630         * rowpainter.C:
6631         * text.C:
6632         * text2.C: Remove the "main" bit from the "main body"
6633           notion.
6634
6635 2003-03-08  John Levon  <levon@movementarian.org>
6636
6637         * text.C (leftMargin): The left margin of an empty
6638         manual label paragraph should not include the label width
6639         string length.
6640
6641         * text.C (prepareToPrint): don't attempt to measure hfills
6642         for empty manual label paragraphs - the answer should be 0
6643
6644 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * CutAndPaste.C: remove commented code and reindent.
6647
6648 2003-03-08  John Levon  <levon@movementarian.org>
6649
6650         * lyxfunc.h:
6651         * lyxfunc.C: move reloadBuffer()
6652
6653         * BufferView.h:
6654         * BufferView.C: to here
6655
6656         * lyxvc.C: add comment
6657
6658         * vc-backend.h:
6659         * vc-backend.C: call bv->reload() to avoid
6660           getStatus() check on MENURELOAD
6661
6662 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6663
6664         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6665         to an old format .dep file.
6666
6667 2003-03-07  Angus Leeming  <leeming@lyx.org>
6668
6669         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6670         when the LFUN_MOUSE_RELEASE should have been handled by
6671         inset->localDispatch.
6672
6673 2003-03-07  Angus Leeming  <leeming@lyx.org>
6674
6675         * BufferView_pimpl.C (dispatch):
6676         * LyXAction.C (init):
6677         * ToolbarDefaults.C (init):
6678         * commandtags.h:
6679         * lyxfunc.C (getStatus):
6680         remove LFUN_INSET_GRAPHICS.
6681
6682         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6683
6684 2003-03-07  Angus Leeming  <leeming@lyx.org>
6685
6686         * commandtags.h:
6687         * LyXAction.C (init):
6688         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6689
6690         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6691
6692         * commandtags.h:
6693         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6694
6695         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6696         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6697
6698 2003-03-07  Angus Leeming  <leeming@lyx.org>
6699
6700         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6701         remove "ert".
6702
6703 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * ParagraphList.C (front): new function
6706         (back): implement
6707
6708 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6709
6710         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6711         and top_row_offset_. removed var first_y.
6712         * text.C (top_y):
6713         * text2.C (LyXText, removeRow):
6714         * text3.C:
6715         * BufferView_pimpl.C:
6716         use these methods instead of using first_y
6717
6718 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6719
6720         * text2.C (pasteSelection): adjust for checkPastePossible
6721
6722         * CutAndPaste.C: remove Paragraph * buf and replace with
6723         ParagraphList paragraphs.
6724         (DeleteBuffer): delete
6725         (cutSelection): change the tc type to textclass_type
6726         (copySelection): change the tc type to textclass_type
6727         (copySelection): adjust for ParagraphList
6728         (pasteSelection): change the tc type to textclass_type
6729         (pasteSelection): adjust for Paragraphlist
6730         (nrOfParagraphs): simplify for ParagraphList
6731         (checkPastePossible): simplify for ParagraphList
6732         (checkPastePossible): remove unused arg
6733
6734         * ParagraphList.C (insert): handle the case where there are no
6735         paragraphs yet.
6736
6737         * CutAndPaste.h: make CutAndPaste a namespace.
6738
6739         * text3.C (dispatch): adjust
6740
6741         * text.C (breakParagraph): add a ParagraphList as arg
6742
6743         * paragraph_funcs.C (breakParagraph): change to take a
6744         BufferParams and a ParagraphList as args.
6745         (breakParagraphConservative): ditto
6746         (mergeParagraph): ditto
6747         (TeXDeeper): add a ParagraphList arg
6748         (TeXEnvironment): ditto
6749         (TeXOnePar): ditto
6750
6751         * buffer.C (readLyXformat2): adjust
6752         (insertStringAsLines): adjust
6753         (latexParagraphs): adjust
6754
6755         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6756         (cutSelection): adjust
6757         (pasteSelection): adjust
6758
6759         * BufferView_pimpl.C (insertInset): adjust
6760
6761 2003-03-05  Angus Leeming  <leeming@lyx.org>
6762
6763         * commandtags.h:
6764         * LyXAction.C (init):
6765         * BufferView_pimpl.C (dispatch):
6766         * lyxfunc.C (getStatus):
6767         remove LFUN_CHILD_INSERT.
6768
6769         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6770
6771 2003-03-05  Angus Leeming  <leeming@lyx.org>
6772
6773         * commandtags.h:
6774         * LyXAction.C (init):
6775         * src/factory.C (createInset):
6776         * lyxfunc.C (getStatus):
6777         * text3.C (dispatch):
6778         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6779
6780         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6781
6782 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * ParagraphList.C (insert): handle insert right before end()
6785         (erase): fix cases where it can be first or last paragraph.
6786
6787 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6790         Paragraph::next and Paragraph::previous
6791         (TeXOnePar): ditto
6792
6793         * text.C (breakParagraph): adjust
6794
6795         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6796         BufferParams& as arg.
6797         (breakParagraph): use ParagraphList::insert
6798         (breakParagraphConservative): take a Buffer* instead of a
6799         BufferParams& as arg.
6800         (breakParagraphConservative): use ParagraphList::insert.
6801
6802         * buffer.C (insertStringAsLines): un-const it
6803         (insertStringAsLines): adjust
6804
6805         * ParagraphList.C (insert): new function
6806
6807         * CutAndPaste.C (pasteSelection): adjust
6808
6809         * text.C (backspace): adjust
6810
6811         * tabular.C (SetMultiColumn): adjust
6812
6813         * CutAndPaste.C (cutSelection): adjust
6814         (pasteSelection): adjust
6815
6816         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6817         Buffer const * as arg
6818
6819         * ParagraphList.C (erase): new function
6820         * paragraph_funcs.C (mergeParagraph): use it
6821         (mergeParagraph): make it take a Buffer* instead of a
6822         BufferParams* as arg
6823
6824         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6825         as arg
6826         (breakParagraphConservative): ditto
6827
6828         * paragraph.h: remove the breakParagraph friend
6829
6830         * paragraph.C (eraseIntern): new function
6831         (setChange): new function
6832
6833         * paragraph_funcs.C (mergeParagraph): make it take a
6834         ParagraphList::iterator instead of a Paragraph *, adjust
6835         accordingly.
6836
6837         * paragraph.h: move an #endif so that the change tracking stuff
6838         also works in the NO_NEXT case.
6839
6840 2003-03-04  Angus Leeming  <leeming@lyx.org>
6841
6842         * commandtags.h:
6843         * LyXAction.C: new LFUN_INSET_MODIFY.
6844
6845         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6846         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6847
6848 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6849
6850         * several files: ws changes only
6851
6852         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6853         (TeXEnvironment): ditto
6854         (TeXDeeper): ditto
6855
6856         * buffer.C (makeLaTeXFile): adjust
6857         (latexParagraphs): make it take ParagraphList::iterator as args
6858
6859 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * buffer.C (latexParagraphs): adjust
6862
6863         * paragraph.C (TeXOnePar): move function...
6864         (optArgInset): move function...
6865         (TeXEnvironment): move function...
6866         * paragraph_pimpl.C (TeXDeeper): move function...
6867         * paragraph_funcs.C: ...here
6868
6869         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6870
6871 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * buffer.C (readInset): remove compability code for old Figure and
6874         InsetInfo insets
6875
6876 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * buffer.C: ws changes
6879         (readInset):
6880
6881         * BufferView_pimpl.C: ditto
6882         * author.C: ditto
6883         * buffer.h: ditto
6884         * bufferlist.h: ditto
6885         * changes.h: ditto
6886         * lyxfunc.C: ditto
6887
6888 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6889
6890         * converter.[Ch]: split into itself +
6891         * graph.[Ch]
6892         * format.[Ch]
6893         * Makefile.am: += graph.[Ch] + format.[Ch]
6894         * MenuBackend.C
6895         * buffer.C
6896         * exporter.C
6897         * importer.C
6898         * lyx_main.C
6899         * lyxfunc.C
6900         * lyxrc.C: added #include "format.h"
6901
6902 2003-02-27  Angus Leeming  <leeming@lyx.org>
6903
6904         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6905           a label.
6906
6907         * factory.C (createInset): add "label" to the factory.
6908
6909         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6910           string and do no more.
6911
6912 2003-02-27  Angus Leeming  <leeming@lyx.org>
6913
6914         * commandtags.h:
6915         * LyXAction.C (init):
6916         * factory.C (createInset):
6917         * BufferView_pimpl.C (dispatch):
6918           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6919
6920         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6921
6922         * lyxfunc.C (dispatch):
6923         * text3.C (dispatch): pass name to params2string.
6924
6925 2003-02-26  Angus Leeming  <leeming@lyx.org>
6926
6927         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6928           blocks together.
6929           Rearrange the ~includes. Strip out the unnecessary ones.
6930
6931         * factory.C (createInset): reformat.
6932           create new insets for the various LFUN_XYZ_APPLY lfuns.
6933
6934 2003-02-26  John Levon  <levon@movementarian.org>
6935
6936         * lyxrow.h:
6937         * lyxrow.C: add isParStart,isParEnd helpers
6938
6939         * paragraph.h: make isInserted/DeletedText take refs
6940
6941         * paragraph_funcs.h:
6942         * paragraph_funcs.C: remove #if 0'd code
6943
6944         * lyxtext.h:
6945         * text3.C:
6946         * text2.C:
6947         * text.C: use lyxrow helpers above.
6948           Move draw and paint routines to RowPainter.
6949           Make several methods use refs not pointers.
6950           Make backgroundColor() const.
6951           Add markChangeInDraw(), isInInset().
6952           Merge changeRegionCase into changeCase.
6953           Make workWidth() shouldn't-happen code into an Assert.
6954
6955         * rowpainter.h:
6956         * rowpainter.C: new class for painting a row.
6957
6958         * vspace.h:
6959         * vspace.C: make inPixels take a ref
6960
6961 2003-02-26  Angus Leeming  <leeming@lyx.org>
6962
6963         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6964         LFUN_REF_APPLY.
6965
6966 2003-02-25  John Levon  <levon@movementarian.org>
6967
6968         * ispell.C: give the forked command a more accurate name
6969
6970 2003-02-22  John Levon  <levon@movementarian.org>
6971
6972         * toc.h:
6973         * toc.C: make TocItem store an id not a Paragraph *
6974           (bug #913)
6975
6976 2003-02-21  Angus Leeming  <leeming@lyx.org>
6977
6978         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6979           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6980           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6981           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6982           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6983           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6984
6985         * BufferView_pimpl.C (dispatch):
6986         * LyXAction.C (init):
6987         * factory.C (createInset):
6988         * lyxfunc.C (getStatus, dispatch):
6989         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6990
6991 2003-02-21  Angus Leeming  <leeming@lyx.org>
6992
6993         * BufferView_pimpl.C (MenuInsertLyXFile):
6994         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6995         * lyxfunc.C (menuNew, open, doImport):
6996           no longer pass a LyXView & to fileDlg.
6997
6998 2003-02-21  Angus Leeming  <leeming@lyx.org>
6999
7000         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7001         * LyXAction.C: change, BIBKEY to BIBITEM.
7002         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7003         Change InsetBibKey to InsetBibitem.
7004         Change BIBKEY_CODE to BIBITEM_CODE.
7005         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7006         * factory.C: replace insetbib.h with insetbibitem.h.
7007         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7008         * paragraph.C: replace insetbib.h with insetbibitem.h.
7009         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7010         Change bibkey() to bibitem().
7011         * text.C: remove insetbib.h.
7012         * text2.C: replace insetbib.h with insetbibitem.h.
7013         change bibkey() to bibitem().
7014         * text3.C: remove insetbib.h.
7015         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7016
7017 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7018
7019         * lyxrc.C (output): enclose user email in quotes (in case there are
7020         several words)
7021
7022 2003-02-18  John Levon  <levon@movementarian.org>
7023
7024         * buffer.h: add std::
7025
7026 2003-02-17  John Levon  <levon@movementarian.org>
7027
7028         * SpellBase.h:
7029         * ispell.h:
7030         * ispell.C:
7031         * pspell.h:
7032         * pspell.C: reworking. Especially in ispell, a large
7033           number of clean ups and bug fixes.
7034
7035         * lyxfunc.C: fix revert to behave sensibly
7036
7037 2003-02-17 André Pönitz <poenitz@gmx.net>
7038
7039         * LyXAction.C:
7040         * commandtags.h: new LFUN_INSERT_BIBKEY
7041
7042         * layout.h:
7043         * lyxlayout.C:
7044         * buffer.C:
7045         * factory.C:
7046         * text.C:
7047         * text2.C:
7048         * text3.C:
7049         * paragraph.[Ch]:
7050         * paragraph_func.C: remove special bibkey handling
7051
7052 2003-02-17  John Levon  <levon@movementarian.org>
7053
7054         * text.C (Delete): fix case where delete at the end of
7055           the very first paragraph would not merge the pars
7056
7057 2003-02-17  John Levon  <levon@movementarian.org>
7058
7059         * lyxrow.C: fix lastPrintablePos()
7060
7061 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7062
7063         * bufferparams.C (writeLaTeX): add a std:here
7064
7065         * buffer.C: and remove a using directive there
7066
7067 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7068
7069         * buffer.C (makeLaTeXFile): move the code that generates the
7070           preamble...
7071
7072         * bufferparams.C (writeLaTeX): ... in this new method
7073
7074         * LaTeXFeatures.C (getEncodingSet): make const
7075           (getLanguages): make const
7076
7077         * MenuBackend.C (binding): returns the binding associated to this
7078           action
7079           (add): sets the status of each item by calling getStatus. Adds
7080           some intelligence.
7081           (read): add support for OptSubMenu
7082           (expand): remove extra separator at the end of expanded menu
7083
7084 2003-02-15  John Levon  <levon@movementarian.org>
7085
7086         * BufferView.C:
7087         * BufferView_pimpl.C:
7088         * bufferlist.h:
7089         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7090           inset code that had no actual effect. Remove unneeded status
7091           code.
7092
7093 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7094
7095         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7096           in preamble
7097
7098 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7099
7100         * text.C (drawLengthMarker): also draw an arrow marker for
7101           symbolic lengths (medskip...)
7102
7103 2003-02-14  John Levon  <levon@movementarian.org>
7104
7105         * tabular.h:
7106         * tabular.C: better method names
7107
7108 2003-02-14  John Levon  <levon@movementarian.org>
7109
7110         * BufferView_pimpl.C:
7111         * bufferlist.C:
7112         * buffer.C:
7113         * converter.C:
7114         * lyx_cb.C:
7115         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7116           it's a more accurate name. Remove some pointless uses.
7117
7118 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7119
7120         * text2.C (LyXText): change order of initilizers to shut off
7121           warnings
7122
7123 2003-02-14  John Levon  <levon@movementarian.org>
7124
7125         * buffer.C: use ParIterator for getParFromID()
7126
7127         * paragraph.h:
7128         * paragraph.C:
7129         * paragraph_pimpl.h:
7130         * paragraph_pimpl.C: remove unused getParFromID()
7131
7132 2003-02-14  John Levon  <levon@movementarian.org>
7133
7134         * buffer.C: remove some very old #if 0'd parse code
7135
7136 2003-02-13  John Levon  <levon@movementarian.org>
7137
7138         * text.h:
7139         * text.C:
7140         * text2.C: move hfillExpansion(), numberOfSeparators(),
7141           rowLast(), rowLastPrintable(), numberofHfills(),
7142           numberOfLabelHfills() ...
7143
7144         * lyxrow.h:
7145         * lyxrow.C: ... to member functions here.
7146
7147         * paragraph.h:
7148         * paragraph.C:
7149         * lyxtext.h:
7150         * text.C: remove LyXText::beginningOfMainBody(), and call
7151           p->beginningOfMainBody() directly. Move the check for
7152           LABEL_MANUAL into the latter.
7153
7154         * text.h:
7155         * text.C:
7156         * text2.C:
7157         * vspace.C:
7158         * BufferView.h:
7159         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7160
7161         * text.h:
7162         * text.C:
7163         * text2.C:
7164         * text3.C:
7165         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7166           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7167
7168 2003-02-13  John Levon  <levon@movementarian.org>
7169
7170         * CutAndPaste.C: remove debug
7171
7172 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7173
7174         * paragraph.C (asString): remove two unused variables
7175
7176         * lyxtextclass.C (readTitleType):
7177           (Read):
7178           (LyXTextClass): handle new members titletype_ and titlename_
7179
7180         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7181
7182 2003-02-09  John Levon  <levon@movementarian.org>
7183
7184         * buffer.h:
7185         * buffer.C: replace hand-coded list with a map for the dep clean
7186
7187 2003-02-08  John Levon  <levon@movementarian.org>
7188
7189         * LaTeX.C: consolidate code into showRunMessage() helper
7190
7191 2003-02-08  John Levon  <levon@movementarian.org>
7192
7193         * lyxfind.C:
7194         * lyxtext.h:
7195         * text2.C:
7196         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7197           and pass the size in explicitly
7198
7199         * BufferView_pimpl.h:
7200         * BufferView_pimpl.C:
7201         * BufferView.h:
7202         * BufferView.C: add getCurrentChange()
7203
7204         * BufferView_pimpl.h:
7205         * BufferView_pimpl.C: handle change lfuns
7206
7207         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7208           for changes. Mark pasted paragraphs as new.
7209
7210         * support/lyxtime.h:
7211         * support/lyxtime.C:
7212         * DepTable.C: abstract time_t as lyx::time_type
7213
7214         * LColor.h:
7215         * LColor.C: add colours for new text, deleted text, changebars
7216
7217         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7218           package use "usenames" option.
7219
7220         * commandtags.h:
7221         * lyxfunc.C:
7222         * LyXAction.C: add change lfuns
7223
7224         * Makefile.am:
7225         * author.h:
7226         * author.C: author handling
7227
7228         * buffer.h:
7229         * buffer.C: add a per-buffer author list, with first entry as
7230           current author. Handle new .lyx tokens for change tracking. Output
7231           author list to .lyx file. Output dvipost stuff to .tex preamble.
7232           Bump lyx format to 222.
7233
7234         * bufferlist.h:
7235         * bufferlist.C: add setCurrentAuthor() to reset current author details
7236           in all buffers.
7237
7238         * bufferparams.h:
7239         * bufferparams.C: add param for tracking
7240
7241         * bufferview_funcs.C: output change info in minibuffer
7242
7243         * Makefile.am:
7244         * changes.h:
7245         * changes.C: add change-tracking structure
7246
7247         * debug.h:
7248         * debug.C: add CHANGES debug flag
7249
7250         * lyxfind.h:
7251         * lyxfind.C: add code for finding the next change piece
7252
7253         * lyxrc.h:
7254         * lyxrc.C: add user_name and user_email
7255
7256         * lyxrow.h:
7257         * lyxrow.C: add a metric for the top of the text line
7258
7259         * lyxtext.h:
7260         * text.C: implement accept/rejectChange()
7261
7262         * lyxtext.h:
7263         * text.C: paint changebars. Paint new/deleted text in the chosen
7264         colours. Strike through deleted text.
7265
7266         * paragraph.h:
7267         * paragraph.C:
7268         * paragraph_pimpl.h:
7269         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7270           in the current change to the insert functions. Rework erase to
7271           mark text as deleted, adding an eraseIntern() and a range-based
7272           erase(). Implement per-paragraph change lookup and
7273           accept/reject.
7274
7275         * paragraph_funcs.C: Fixup paste for change tracking.
7276
7277         * tabular.C: mark added row/columns as new.
7278
7279         * text.C: fix rowLast() to never return -1. Don't allow
7280           spellchecking of deleted text. Track transpose changes. Don't
7281           allow paragraph break or merge where appropriate.
7282
7283         * text2.C: leave cursor at end of selection after a cut.
7284
7285 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7286
7287         * text.C (getLengthMarkerHeight):
7288         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7289         visible on screen too.
7290
7291 2003-02-07  John Levon  <levon@movementarian.org>
7292
7293         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7294
7295 2003-02-05  Angus Leeming  <leeming@lyx.org>
7296
7297         * lyxserver.C (read_ready): revert my patch of 11 September last year
7298         as it sends PC cpu through the roof. Presumably this means that
7299         the lyxserver will no longer run on an Alpha...
7300
7301 2003-01-30  Angus Leeming  <leeming@lyx.org>
7302
7303         * factory.C (createInset): create an InsetCommandParam of type "index"
7304         and use it to 'do the right thing'.
7305
7306         * text2.C (getStringToIndex): ensure that cursor position is always
7307         reset to the reset_cursor position.
7308
7309 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7310
7311         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7312         disabled.
7313
7314 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7315
7316         * bufferview.C:
7317         * lyxcb.C:
7318         * lyxfunc.C: Output messages with identical spelling, punctuation,
7319         and spaces
7320
7321 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7322
7323         * MenuBackend.C (expandFormats): List only viewable export formats
7324         in "View" menu
7325
7326         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7327         message
7328
7329         * lyxfunc.C (getStatus): Make sure that formats other than
7330         "fax" can also be disabled
7331
7332 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7333
7334         * text3.C (dispatch): put the lfuns that insert insets in 3
7335         groups, and call doInsertInset with appropriate arguments.
7336         (doInsertInset): new function, that creates an inset and inserts
7337         it according to some boolean parameters.
7338
7339 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * buffer.C (readFile): remember to pass on 'par' when calling
7342         readFile recursively.
7343
7344 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7345
7346         * MenuBackend.C (expandFormats): add "..." to import formats.
7347
7348 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7349
7350         * paragraph.C (asString): Remove XForms RTL hacks.
7351
7352 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7353         * buffer.C: fix typo
7354
7355 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * Makefile.am (LIBS): delete var
7358         (lyx_LDADD): add @LIBS@ here instead.
7359
7360 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7361
7362         * Clarify the meaning of "wheel mouse jump"
7363
7364 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7365
7366         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7367         tabular in a float
7368
7369 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7370
7371         * importer.C (Loaders): do not preallocate 3 elements in the
7372         vector, since one ends up with 6 elements otherwise
7373
7374 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7375
7376         * DepTable.C (write): write the file name as last element of the
7377         .dep file (because it may contain spaces)
7378         (read): read info in the right order
7379
7380 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7381
7382         * paragraph_pimpl.C (simpleTeXBlanks):
7383         (simpleTeXSpecialChars):
7384         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7385
7386         * tabular.C (latex): add some missing case statements. Reindent.
7387
7388         * MenuBackend.C (expandToc): remove unused variable.
7389
7390 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7391
7392         * LColor.C:
7393         * LaTeX.C:
7394         * LyXAction.C:
7395         * MenuBackend.C:
7396         * buffer.C:
7397         * exporter.C:
7398         * lyxfunc.C:
7399         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7400         and the like.
7401
7402 2003-01-05  John Levon  <levon@movementarian.org>
7403
7404         * BufferView.h:
7405         * BufferView.C: add getEncoding()
7406
7407         * kbsequence.h:
7408         * kbsequence.C: do not store last keypress
7409
7410         * lyxfunc.h:
7411         * lyxfunc.C: store last keypress here instead. Pass encoding
7412           to getISOEncoded()
7413
7414 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7415
7416         * lyx_main.C (init): remove annoying error message when following
7417         symbolic links (bug #780)
7418
7419 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7420
7421         * text.C (insertChar):
7422         * lyxrc.C (getDescription): remove extra spaces
7423
7424 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7425
7426         * lyxrc.C (getDescription): remove extra spaces
7427
7428 2002-12-20  John Levon  <levon@movementarian.org>
7429
7430         * text3.C: hack fix for page up/down across tall rows
7431
7432 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7433
7434         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7435         not been invoked
7436
7437 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7438
7439         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7440         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7441         thesaurus is not compiled in
7442
7443 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7444
7445         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7446
7447 2002-12-16  Angus Leeming  <leeming@lyx.org>
7448
7449         * lyxrc.[Ch]:
7450         * lyx_main.C (init): remove override_x_deadkeys stuff.
7451
7452 2002-12-12  John Levon  <levon@movementarian.org>
7453
7454         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7455           insert. Only remove shift modifier under strict
7456           circumstances.
7457
7458 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * MenuBackend.C (expandToc): fix crash.
7461
7462 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7463
7464         * MenuBackend.C (expandToc): gettext on float names.
7465
7466 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7467
7468         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7469         implement bool empty() [bug 490]
7470
7471 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7472
7473         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7474
7475 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7476
7477         * several files: ws changes
7478
7479 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * text2.C (setCounter): clean up a bit, use boost.format.
7482         (updateCounters): initialize par upon declaration.
7483
7484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7485         if the layout exists. We do not just store the layout any more.
7486         (SwitchLayoutsBetweenClasses): use boost.format
7487
7488 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7489
7490         * converter.C (convert): if from and to files are the same, use a
7491         temporary files as intermediary
7492
7493 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7494
7495         * commandtags.h:
7496         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7497
7498 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7499
7500         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7501
7502 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * tabular.C (asciiPrintCell): use string(size, char) instead of
7505         explicit loop.
7506
7507         * sgml.C (openTag): fix order of arguments to string constructor
7508         (closeTag): ditto
7509
7510         * lyxfunc.C (dispatch): use boost.format
7511
7512         * lots of files: change "c" -> 'c'
7513
7514 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7515
7516         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7517
7518 2002-11-25  Angus Leeming  <leeming@lyx.org>
7519
7520         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7521
7522         * lyx_main.C (init): compile fix.
7523
7524 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * lyx_cb.C (start): boost.formatify
7527         do not include <iostream>
7528
7529         * lengthcommon.C: ws only
7530
7531         * boost-inst.C,BoostFormat.h: add more explict instantations
7532
7533 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * lots of files: handle USE_BOOST_FORMAT
7536
7537 2002-11-21  John Levon  <levon@movementarian.org>
7538
7539         * pspell.C: fix compile
7540
7541 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7542
7543         * lyxfunc.C (dispatch): use boost::format
7544         (open): ditto
7545         (doImport): ditto
7546
7547         * lyxfont.C (stateText): use boost::format
7548
7549         * lyx_main.C (LyX): use boost::format
7550         (init): ditto
7551         (queryUserLyXDir): ditto
7552         (readRcFile): ditto
7553         (parse_dbg): ditto
7554         (typedef boost::function): use the recommened syntax.
7555
7556         * importer.C (Import): use boost::format
7557
7558         * debug.C (showLevel): use boost::format
7559
7560         * converter.C (view): use boost::format
7561         (convert): ditto
7562         (move): ditto
7563         (scanLog): ditto
7564
7565         * bufferview_funcs.C (currentState): use boost::format
7566
7567         * bufferlist.C (emergencyWrite): use boost::format
7568
7569         * buffer.C (readLyXformat2): use boost::format
7570         (parseSingleLyXformat2Token): ditto
7571
7572         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7573
7574         * LaTeX.C (run): use boost::format
7575
7576         * Chktex.C (scanLogFile): use boost::format
7577
7578         * BufferView_pimpl.C (savePosition): use boost::format
7579         (restorePosition): ditto
7580         (MenuInsertLyXFile): ditto
7581
7582         * BoostFormat.h: help file for explicit instation.
7583
7584 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7585
7586         * tabular.C (latex): Support for block alignment in fixed width
7587         columns.
7588
7589 2002-11-17  John Levon  <levon@movementarian.org>
7590
7591         * BufferView_pimpl.C:
7592         * lyx_cb.C:
7593         * lyxfunc.C: split filedialog into open/save
7594
7595 2002-11-08  Juergen Vigna  <jug@sad.it>
7596
7597         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7598         by my last patch (hopefully).
7599
7600 2002-11-08  John Levon  <levon@movementarian.org>
7601
7602         * iterators.h:
7603         * iterators.C:
7604         * buffer.h:
7605         * buffer.C:
7606         * paragraph.h:
7607         * paragraph.C:
7608         * toc.h:
7609         * toc.C: ParConstIterator, and use it (from Lars)
7610
7611 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7612
7613         * lyxtextclass.[Ch]: revise and add doxygen comments
7614
7615 2002-11-07  John Levon  <levon@movementarian.org>
7616
7617         * text.C: fix progress value for spellchecker
7618
7619         * toc.C: fix navigate menu for insetwrap inside minipage
7620
7621         * paragraph_funcs.C: added FIXME for suspect code
7622
7623 2002-11-07  John Levon  <levon@movementarian.org>
7624
7625         * BufferView_pimpl.C: fix redrawing of insets
7626           on buffer switch
7627
7628 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7629
7630         * text2.C (updateCounters): fix bug 668
7631
7632 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7633
7634         * text3.C (dispatch): Do not make the buffer dirty when moving the
7635         cursor.
7636
7637 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7638
7639         * vc-backend.C: STRCONV
7640         (scanMaster): ditto
7641
7642         * text2.C (setCounter): STRCONV
7643
7644         * paragraph.C (asString): STRCONV
7645
7646         * lyxlength.C (asString): STRCONV
7647         (asLatexString): ditto
7648
7649         * lyxgluelength.C (asString): STRCONV
7650         (asLatexString): ditto
7651
7652         * lyxfunc.C (dispatch): STRCONV
7653         (open): ditto
7654
7655         * lyxfont.C (stateText): STRCONV
7656
7657         * importer.C (Import): STRCONV
7658
7659         * counters.C (labelItem): STRCONV
7660         (numberLabel): ditto
7661         (numberLabel): remove unused ostringstream o
7662
7663         * chset.C: STRCONV
7664         (loadFile): ditto
7665
7666         * bufferview_funcs.C (currentState): STRCONV
7667
7668         * buffer.C (readFile): STRCONV
7669         (asciiParagraph): ditto
7670         (makeLaTeXFile): ditto
7671
7672         * Spacing.C (writeEnvirBegin): STRCONV
7673
7674         * LaTeXFeatures.C (getLanguages): STRCONV
7675         (getPackages): ditto
7676         (getMacros): ditto
7677         (getBabelOptions): ditto
7678         (getTClassPreamble): ditto
7679         (getLyXSGMLEntities): ditto
7680         (getIncludedFiles): ditto
7681
7682         * LaTeX.C: STRCONV
7683         (run): ditto
7684         (scanAuxFile): ditto
7685         (deplog): ditto
7686
7687         * LString.h: add the STRCONV macros
7688
7689         * BufferView_pimpl.C (savePosition): STRCONV
7690         (restorePosition): ditto
7691         (MenuInsertLyXFile): ditto
7692
7693         * vc-backend.C (scanMaster): change from submatch[...] to
7694         submatch.str(...)
7695
7696         * funcrequest.C: include config.h
7697
7698         * factory.C: include config.h
7699
7700         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7701
7702         * box.C: include config.h
7703
7704         * LaTeX.C (scanAuxFile): change from submatch[...] to
7705         submatch.str(...)
7706         (deplog): ditto
7707
7708 2002-10-25  Angus Leeming  <leeming@lyx.org>
7709
7710         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7711
7712         * ispell.[Ch] (setError): new method.
7713         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7714         Use setError() insetead of goto END.
7715
7716         * lyx_cb.C (AutoSave): move out child process into new class
7717         AutoSaveBuffer.
7718
7719 2002-10-30  John Levon  <levon@movementarian.org>
7720
7721         * text3.C: make start appendix undoable
7722
7723 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7724
7725         * lyxlength.C (inPixels): Fix returned value.
7726
7727         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7728         environment.
7729
7730 2002-10-24  Angus Leeming  <leeming@lyx.org>
7731
7732         * lyxgluelength.h: no need to forward declare BufferParams
7733         or BufferView, so don't.
7734
7735 2002-10-21  John Levon  <levon@movementarian.org>
7736
7737         * BufferView.C: menuUndo ->undo, redo
7738
7739         * BufferView.h: document, remove dead, make some methods private
7740
7741         * paragraph_funcs.h:
7742         * paragraph_funcs.C:
7743         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7744
7745         * buffer.h:
7746         * buffer.C:
7747         * sgml.h:
7748         * sgml.C: move sgml open/close tag into sgml.C
7749
7750         * bufferview_funcs.h: unused prototype
7751
7752         * lyxfunc.h:
7753         * lyxfunc.C: remove unused
7754
7755         * lyxtext.h:
7756         * text.C: remove unused
7757
7758 2002-10-21  John Levon  <levon@movementarian.org>
7759
7760         * BufferView.h:
7761         * BufferView.C:
7762         * BufferView_pimpl.h:
7763         * BufferView_pimpl.C: fix mouse wheel handling based on
7764           patch from Darren Freeman
7765
7766 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7767
7768         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7769
7770 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7771
7772         * lyxlength.C (inPixels): Fix hanfling of negative length.
7773         Fix LyXLength::MU case.
7774
7775 2002-10-16  John Levon  <levon@movementarian.org>
7776
7777         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7778
7779 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7780
7781         * converter.C (view): add support for $$i (file name) and $$p
7782         (file path) for the viewer command. If $$i is not specified, then
7783         it is appended to the command (for compatibility with old syntax)
7784
7785 2002-10-14  Juergen Vigna  <jug@sad.it>
7786
7787         * undo_funcs.C (textHandleUndo): alter the order in which the
7788         new undopar is added to the LyXText, as we have to set first
7789         the right prev/next and then add it as otherwise the rebuild of
7790         LyXText is not correct. Also reset the cursor to the right paragraph,
7791         with this IMO we could remove the hack in "redoParagraphs()".
7792
7793 2002-10-09  Angus Leeming  <leeming@lyx.org>
7794
7795         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7796         to turn off an optimisation if a new inset is to be inserted.
7797
7798 2002-10-11 André Pönitz <poenitz@gmx.net>
7799
7800         * lyxtext.h: make some functions public to allow access
7801         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7802
7803 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7804
7805         * text3.C (dispatch): when changing layout, avoid an infinite loop
7806         [bug #652]
7807
7808 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7809
7810         * lyxrc.C (read): treat a viewer or converter command of "none" as
7811         if it were empty.
7812
7813         * MenuBackend.C (expandFormats): for an update, also allow the
7814         formats that are not viewable
7815
7816         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7817         script if it is newer than the lyxrc.defaults in user directory
7818
7819 2002-10-07 André Pönitz <poenitz@gmx.net>
7820
7821         * text.C: Vitaly Lipatov's small i18n fix
7822
7823 2002-09-25  Angus Leeming  <leeming@lyx.org>
7824
7825         * ispell.h: doxygen fix.
7826
7827 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7828
7829         * buffer.h (readFile): Add a new argument to the method, to allow
7830         reading of old-format templates.
7831
7832 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7833
7834         * toc.C (getTocList): Get TOC from InsetWrap.
7835
7836 2002-09-16  John Levon  <levon@movementarian.org>
7837
7838         * lyxfunc.C: check tabular for cut/copy too
7839
7840 2002-09-12  John Levon  <levon@movementarian.org>
7841
7842         * LyXAction.C: tidy
7843
7844         * factory.h:
7845         * factory.C: add header
7846
7847         * paragraph_funcs.h:
7848         * paragraph_funcs.C: cleanup
7849
7850 2002-09-11  John Levon  <levon@movementarian.org>
7851
7852         * PrinterParams.h: odd/even default to true
7853
7854 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7855
7856         * PrinterParams.h: update printer parameters for new xforms dialog
7857
7858 2002-09-11  Angus Leeming  <leeming@lyx.org>
7859
7860         * lyxserver.C (read_ready): re-write to make it more transparent
7861         and to make it work in coherent fashion under Tru64 Unix.
7862
7863 2002-09-11  André Pönitz <poenitz@gmx.net>
7864
7865         * commandtags.h:
7866         * LyXAction.C:
7867         * text3.C: implement LFUN_WORDSEL
7868
7869 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7872         make floatlist_ a boost::shared_ptr<FloatList>
7873
7874         * lyxtextclass.C: include FloatList.h
7875         (LyXTextClass): initialize floatlist_
7876         (TextClassTags): add TC_NOFLOAT
7877         (Read): match "nofloat" to TC_NOFLOAT and use it.
7878         (readFloat): modify call to floatlist_
7879         (floats): ditto
7880         (floats): ditto
7881
7882         * FloatList.[Ch] (FloatList): remove commented out float
7883         initialization.
7884         (erase): new function
7885
7886 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7887
7888         * MenuBackend.C (expandToc): fix crash when there is no document
7889         open
7890
7891 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7892
7893         * many files: Add insetwrap.
7894
7895 2002-09-09  John Levon  <levon@movementarian.org>
7896
7897         * text2.C: remove confusing and awkward depth wraparound
7898
7899 2002-09-09  John Levon  <levon@movementarian.org>
7900
7901         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7902
7903         * buffer.h:
7904         * buffer.C: remove getIncludeonlyList()
7905
7906         * paragraph.C:
7907         * lyxfunc.C: remove headers
7908
7909 2002-09-09  Juergen Vigna  <jug@sad.it>
7910
7911         * text.C (getColumnNearX): fix form Michael this is most
7912         probably a cut&paste bug.
7913
7914 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7915
7916         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7917
7918         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7919         references, ws changes.
7920
7921         * text2.C (init): update counters after init
7922         (insertParagraph): no need to set counter on idividual paragraphs.
7923         (setCounter): access the counters object in the textclass object
7924         on in the buffer object.
7925         (updateCounters): ditto
7926
7927         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7928         shared_ptr<Counters> to avoid loading counters.h in all
7929         compilation units.
7930         (LyXTextClass): initialize ctrs_
7931         (TextClassTags): add TC_COUNTER, and ...
7932         (Read): use it here.
7933         (CounterTags): new tags
7934         (readCounter): new function
7935         (counters): new funtion
7936         (defaultLayoutName): return a const reference
7937
7938         * counters.C (Counters): remove contructor
7939         (newCounter): remove a couple of unneeded statements.
7940         (newCounter): simplify a bit.
7941         (numberLabel): some small formatting changes.
7942
7943         * buffer.[Ch]: remove all traces of counters, move the Counters
7944         object to the LyXTextClass.
7945
7946 2002-09-06  Alain Castera  <castera@in2p3.fr>
7947
7948         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7949         package to set the horizontal alignment on fixed width columns.
7950
7951         * lyx_sty.C:
7952         * lyx_sty.h: added tabularnewline macro def.
7953
7954         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7955
7956 2002-09-06  John Levon  <levon@movementarian.org>
7957
7958         * LyXAction.C: tooltips for sub/superscript
7959
7960         * MenuBackend.C: a bit more verbose
7961
7962         * lyxfunc.C: tiny clean
7963
7964         * undo_funcs.C: document undo_frozen
7965
7966 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * counters.C (Counters): add missing algorithm counter.
7969
7970         * text2.C (setCounter): lookup the counter with layouts latexname
7971         instead of by section number.
7972         (setCounter): use a hackish way to lookup the correct enum
7973         counter.
7974         a float name->type change
7975         reset enum couners with counter name directly instead of depth value.
7976
7977         * counters.C (Counters): remove the push_backs, change to use the
7978         float type not the float name.
7979         (labelItem): remove unused string, float name->type change
7980
7981         * counters.h: don't include vector, loose the enums and sects vectors
7982
7983 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7986         (Read): add float->TC_FLOAT to textclassTags
7987         (Read): and handle it in the switch
7988         (readFloat): new function
7989
7990         * FloatList.C (FloatList): comment out the hardcoded float
7991         definitions.
7992
7993         * lyxlayout.h: ws change.
7994
7995 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7996
7997         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7998
7999 2002-09-03  Angus Leeming  <leeming@lyx.org>
8000
8001         * BufferView_pimpl.h: qualified name is not allowed in member
8002         declaration: WorkArea & Pimpl::workarea() const;
8003
8004         * factory.C: added using std::endl directive.
8005
8006         * text3.C: added using std::find and std::vector directives.
8007
8008 2002-08-29  André Pönitz <poenitz@gmx.net>
8009
8010         * lyxtext.h:
8011         * text2.C: remove unused member number_of_rows
8012
8013         * Makefile.am:
8014         * BufferView2.C: remove file, move contents to...
8015         * BufferView.C: ... here
8016
8017         * BufferView_pimpl.C:
8018         * factory.C: move more inset creation to factory
8019
8020         * vspace.C: avoid direct usage of LyXText, ws changes
8021
8022         * BufferView.[Ch]:
8023                 don't provide direct access to WorkArea, use two simple
8024                 acessors haveSelction() and workHeight() instead
8025
8026
8027 2002-08-29  John Levon  <levon@movementarian.org>
8028
8029         * BufferView_pimpl.C (dispatch): do not continue when
8030           no buffer
8031
8032 2002-08-28  André Pönitz <poenitz@gmx.net>
8033
8034         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8035
8036         * BufferView.h:
8037         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8038
8039 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8040
8041         * buffer.C: increment LYX_FORMAT to 221
8042
8043         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8044         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8045
8046         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8047
8048         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8049
8050 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8051
8052         * factory.C (createInset): use LyXTextClass::floats
8053
8054         * MenuBackend.C (expandFloatListInsert):
8055         (expandFloatInsert):
8056         (expandToc):
8057
8058         * text2.C (setCounter):
8059
8060         * LaTeXFeatures.C (useFloat):
8061         (getFloatDefinitions):
8062
8063         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8064
8065         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8066         floatlist_, with accessor floats().
8067
8068         * FloatList.h: remove global FloatList
8069
8070 2002-08-26  André Pönitz <poenitz@gmx.net>
8071
8072         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8073
8074         * BufferView.h:
8075         * BufferView2.C:
8076         * BufferView_pimpl.C:
8077         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8078
8079 2002-08-25  John Levon  <levon@movementarian.org>
8080
8081         * LyXAction.C: fix margin note description
8082
8083 2002-08-24  John Levon  <levon@movementarian.org>
8084
8085         * buffer.C:
8086         * bufferlist.C:
8087         * bufferview_funcs.C:
8088         * lyxfont.C:
8089         * undo_funcs.C: cleanups
8090
8091         * lyxfunc.C: disable CUT/COPY when no selection
8092
8093 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8094
8095         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8096         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8097
8098         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8099         Add backward compatibility to "mono", "gray" and "no".
8100
8101 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8102
8103         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8104         (and file_format >= 200).
8105
8106 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8107
8108         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8109
8110 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8111
8112         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8113
8114 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8115
8116         * BufferView_pimpl.C:
8117         * LyXAction.C:
8118         * buffer.C:
8119         * commandtags.h:
8120         * lyxfunc.C:
8121         * paragraph.[Ch]:
8122         * text2.C:
8123         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8124         inset and code to make it  work with the paragraph code. The inset
8125         can be anywhere in the paragraph, but will only do the expected
8126         thing in LaTeX if the layout file contains the parameter line
8127                         OptionalArgs    1
8128         (or more generally, a nonzero value) for that layout.
8129
8130 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8131
8132         * paragraph.h: remove the declaration of undefined counters class
8133         function.
8134
8135 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8136
8137         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8138         Dr. Richard Hawkins.
8139
8140 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8141
8142         * paragraph_funcs.h: remove some unneeded includes
8143
8144         * text.C (backspace): pasteParagraph now in global scipe
8145
8146         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8147         (pasteSelection): ditto
8148
8149         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8150         * paragraph_funcs.C (pasteParagraph): ... here
8151
8152 2002-08-20  André Pönitz <poenitz@gmx.net>
8153
8154         * commandtags.h: new LFUNs for swapping/copying table row/colums
8155
8156         * LyXAction.C:
8157         * lyxfunc.C: support for new lfuns
8158
8159 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * tabular.C:
8162         * buffer.[Ch]: remove NO_COMPABILITY stuff
8163
8164 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * boost.C (throw_exception): new file, with helper function for
8167         boost compiled without exceptions.
8168
8169         * paragraph.h:
8170         * lyxlength.C:
8171         * buffer.C:
8172         * ParameterStruct.h:
8173         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8174
8175         * bufferlist.C (emergencyWriteAll): use boost bind
8176
8177         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8178
8179         * text.C: include paragraph_funcs.h
8180         (breakParagraph): breakParagraph is now in global scope
8181
8182         * paragraph_funcs.[Ch]: new files
8183
8184         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8185         global scope
8186
8187         * buffer.C: include paragraph_funcs.h
8188         (insertStringAsLines): breakParagraph is now in global scope
8189
8190         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8191         paragraph_funcs.C
8192
8193         * CutAndPaste.C: include paragraph_funcs.h
8194         (cutSelection): breakParagraphConservative is now in global scope
8195         (pasteSelection): ditto
8196
8197         * buffer.h: declare oprator== and operator!= for
8198         Buffer::inset_iterator
8199
8200         * bufferlist.C (emergencyWrite): don't use fmt(...)
8201
8202         * text3.C: add using std::endl
8203
8204         * BufferView.C (moveCursorUpdate): remove default arg
8205
8206 2002-08-20  André Pönitz <poenitz@gmx.net>
8207
8208         * buffer.[Ch]: move inline functions to .C
8209
8210         * BufferView2.C:
8211         * BufferView_pimpl.C:
8212         * text.C:
8213         * buffer.[Ch]: use improved inset_iterator
8214
8215         * buffer.C:
8216         * paragraph.[Ch]: write one paragraph at a time
8217
8218 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8219
8220         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8221         style if style is not specified.
8222
8223 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8224
8225         * text2.C (setCounter): when searching for right label for a
8226         caption, make sure to recurse to parent insets (so that a caption
8227         in a minipage in a figure float works) (bug #568)
8228
8229 2002-08-20  André Pönitz <poenitz@gmx.net>
8230
8231         * text3.C: new file for LyXText::dispatch() and helpers
8232
8233         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8234
8235         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8236
8237 2002-08-19  André Pönitz <poenitz@gmx.net>
8238
8239         * lyxtext.h:
8240         * text.C: new LyXText::dispatch()
8241
8242         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8243
8244 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8245
8246         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8247
8248         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8249         Hebrew text.
8250
8251 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8252
8253         * Makefile.am: use $(variables) instead of @substitutions@
8254
8255 2002-08-15  André Pönitz <poenitz@gmx.net>
8256
8257         * lyxfunc.C:
8258         * BufferView_pimpl.C: streamlining mathed <-> outer world
8259         interaction
8260
8261         * commandtags.h:
8262         * LyXAction.C: remove unused LFUN_MATH
8263
8264 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8267
8268 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * paragraph.C (Paragraph): reformat a bit
8271         (cutIntoMinibuffer): use builtin InsetList function instad of
8272         doing it manually.
8273         (getInset): ditto
8274
8275         * buffer.C: include boost/bind.hpp, add using std::for_each
8276         (writeFileAscii): use ParagraphList iterators
8277         (validate): use for_each for validate traversal of paragraphs
8278         (getBibkeyList): use ParagraphList iterators
8279         (resizeInsets): use for_each to resizeInsetsLyXText for all
8280         paragraphs.
8281         (getParFromID): use ParagraphList iterators
8282
8283         * BufferView2.C (lockInset): use paragraph list and iterators
8284
8285 2002-08-14  John Levon  <levon@movementarian.org>
8286
8287         * lyxserver.C: remove spurious xforms include
8288
8289 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8290
8291         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8292
8293 2002-08-13  André Pönitz <poenitz@gmx.net>
8294
8295         * LyXAction.[Ch]:
8296         * lyxfunc.C: further cleaning
8297
8298 2002-08-13  André Pönitz <poenitz@gmx.net>
8299
8300         * funcrequest.h: new constructor
8301
8302         * funcrequest.C: move stuff here from .h
8303
8304         * Makefile.am:
8305         * BufferView_pimpl.C:
8306         * LyXAction.C:
8307         * toc.C:
8308         * lyxfunc.C: subsequent changes
8309
8310         * lyxfunc.h: new view() member function
8311
8312         * lyxfunc.C: subsequent changes
8313
8314 2002-08-13  Angus Leeming  <leeming@lyx.org>
8315
8316         * BufferView2.C:
8317         * BufferView_pimpl.C:
8318         * buffer.C:
8319         * converter.C:
8320         * importer.C:
8321         * lyxfunc.C:
8322         * lyxvc.C:
8323         * toc.C:
8324         * vc-backend.C:
8325         changes due to the changed LyXView interface that now returns references
8326         to member variables not pointers.
8327
8328 2002-08-13  Angus Leeming  <leeming@lyx.org>
8329
8330         * WordLangTuple (word, lang_code): return references to strings,
8331         not strings.
8332
8333         * BufferView.h:
8334         * SpellBase.h:
8335         * lyxtext.h: forward-declare WordLangTuple.
8336
8337         * BufferView2.C:
8338         * ispell.C:
8339         * pspell.C:
8340         * text.C: #include "WordLangTuple.h".
8341
8342         * lyxtext.h:
8343         * text.C: (selectNextWordToSpellcheck): constify return type.
8344
8345 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8346
8347         * buffer.C:
8348         * buffer.h:
8349         * lyxtext.h:
8350         * paragraph.C:
8351         * paragraph_pimpl.h:
8352         * text.C:
8353         * text2.C:
8354         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8355         suggested by Angus.
8356         Made updateCounter always count from start of buffer, and removed
8357         second argument (par).
8358         Reverted floats number display to '#'. Perhaps I'll try again when the
8359         code base is sanitized a bit.
8360
8361 2002-08-12  Angus Leeming  <leeming@lyx.org>
8362
8363         * buffer.[Ch] (getLabelList): constify.
8364
8365 2002-08-07  André Pönitz <poenitz@gmx.net>
8366
8367         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8368
8369         * funcrequest.h: extension to keep mouse (x,y) position
8370
8371 2002-08-12  Juergen Vigna  <jug@sad.it>
8372
8373         * BufferView2.C (insertErrors): forbid undo when inserting error
8374         insets.
8375
8376         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8377
8378 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * ParagraphList.[Ch]: new files
8381
8382         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8383
8384         * BufferView2.C (lockInset): ParagraphList changes
8385         * toc.C: ditto
8386         * text2.C: ditto
8387         * bufferlist.C: ditto
8388         * buffer.h: ditto
8389         * buffer.C: ditto
8390
8391 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8392
8393         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8394         unused class variable counter_,
8395
8396         * paragraph.[Ch] (getFirstCounter): delete unused function
8397
8398         * counters.C: include LAssert.h
8399         (reset): add a new function with no arg, change other version to
8400         not have def. arg and to not allow empty arg.
8401
8402         * text2.C (setCounter): remove empty arg from call to Counters::reset
8403
8404 2002-08-11  John Levon  <levon@movementarian.org>
8405
8406         * Makefile.am: add WordLangTuple.h
8407
8408 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8411         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8412
8413         * insets/insettext.C: InsetList changes
8414
8415         * graphics/GraphicsSupport.C (operator()): InsetList changes
8416
8417         * toc.C (getTocList): InsetList changes
8418
8419         * paragraph_pimpl.[Ch]: InsetList changes
8420
8421         * paragraph.[Ch]: InsetList changes
8422
8423         * buffer.C (inset_iterator): InsetList changes
8424         (setParagraph): ditto
8425         * buffer.h (inset_iterator): ditto
8426         * iterators.C (operator++): ditto
8427         * iterators.h: ditto
8428
8429         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8430
8431         * InsetList.[Ch]: new files, most InsetList handling moved out of
8432         paragraph.C.
8433
8434         * BufferView2.C (removeAutoInsets): InsetList changes
8435         (lockInset): ditto
8436         (ChangeInsets): ditto
8437
8438 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * paragraph_pimpl.h (empty): new function
8441
8442         * paragraph.[Ch] (empty): new function
8443
8444         * other files: use the new Paragraph::empty function
8445
8446 2002-08-09  John Levon  <levon@movementarian.org>
8447
8448         * lyxtext.h: remove unused refresh_height
8449
8450 2002-08-09  John Levon  <levon@movementarian.org>
8451
8452         * Makefile.am:
8453         * sgml.h:
8454         * sgml.C:
8455         * buffer.C:
8456         * paragraph.h:
8457         * paragraph.C: move sgml char escaping out of paragraph
8458
8459         * paragraph.h:
8460         * paragraph.C: remove id setter
8461
8462         * buffer.C:
8463         * paragraph.C:
8464         * paragraph_pimpl.C: remove dead tex_code_break_column
8465
8466         * bufferview_funcs.C: small cleanup
8467
8468         * lyxfunc.C: remove dead proto
8469
8470         * lyxtext.h: make some stuff private. Remove some dead stuff.
8471
8472         * lyxgluelength.C: make as[LyX]String() readable
8473
8474 2002-08-08  John Levon  <levon@movementarian.org>
8475
8476         * LyXAction.h:
8477         * LyXAction.C:
8478         * MenuBackend.C:
8479         * ToolbarDefaults.C:
8480         * lyxfunc.C:
8481         * lyxrc.C:
8482         * toc.C: lyxaction cleanup
8483
8484 2002-08-08  John Levon  <levon@movementarian.org>
8485
8486         * BufferView2.C: small cleanup
8487
8488         * lyxfind.h:
8489         * lyxfind.C: move unnecessary header into the .C
8490
8491 2002-08-08  John Levon  <levon@movementarian.org>
8492
8493         * funcrequest.h: just tedious nonsense
8494
8495         * lyx_main.h:
8496         * lyx_main.C: cleanups
8497
8498         * buffer.C:
8499         * vspace.C: remove dead header lyx_main.h
8500
8501 2002-08-07  Angus Leeming  <leeming@lyx.org>
8502
8503         * Paragraph.[Ch]:
8504         * paragraph_pimpl.h:
8505         Forward declare class Counters in paragraph.h by moving the ctrs member
8506         variable into Paragraph::Pimpl.
8507         (counters): new method, returning a reference to pimpl_->ctrs.
8508
8509         * text2.C: ensuing changes.
8510
8511 2002-08-07  John Levon  <levon@movementarian.org>
8512
8513         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8514
8515         * BufferView_pimpl.C: announce X selection on double/triple
8516           click
8517
8518         * lyx_main.C: use correct bool in batch dispatch
8519
8520         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8521
8522 2002-08-07  André Pönitz <poenitz@gmx.net>
8523
8524         * funcrequest.h: new class to wrap a kb_action and its argument
8525
8526         * BufferView.[Ch]:
8527         * BufferView_pimpl[Ch]:
8528         * LaTeX.C:
8529         * LyXAction.[Ch]:
8530         * lyxfunc.[Ch]:
8531         * lyxrc.C: subsequent changes
8532
8533
8534 2002-08-07  John Levon  <levon@movementarian.org>
8535
8536         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8537           document options change.
8538
8539 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8540
8541         * counters.[Ch]
8542         * text2.C
8543         * paragraph.[Ch]
8544         * makefile.am: move counters functionality over from
8545         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8546
8547 2002-08-06  John Levon  <levon@movementarian.org>
8548
8549         * WordLangTuple.h: new file for word + language code tuple
8550
8551         * SpellBase.h:
8552         * pspell.h:
8553         * pspell.C:
8554         * ispell.h:
8555         * ispell.C:
8556         * lyxtext.h:
8557         * text.C:
8558         * text2.C:
8559         * BufferView.h:
8560         * BufferView2.C: use WordLangTuple
8561
8562         * layout.h:
8563         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8564
8565 2002-08-06  John Levon  <levon@movementarian.org>
8566
8567         * lyx_main.C: fix cmdline batch handling
8568
8569 2002-08-06  André Pönitz <poenitz@gmx.net>
8570
8571         * lyxrc.C: set default for show_banner to true
8572
8573 2002-08-06  John Levon  <levon@movementarian.org>
8574
8575         * pspell.C: fix a crash, and allow new aspell to work
8576
8577 2002-08-06  John Levon  <levon@movementarian.org>
8578
8579         * lyxfunc.C:
8580         * kbmap.C: small cleanup
8581
8582         * vspace.h:
8583         * vspace.C: add const
8584
8585 2002-08-05  John Levon  <levon@movementarian.org>
8586
8587         * LyXAction.C: back to tabular-insert
8588
8589 2002-08-04  John Levon  <levon@movementarian.org>
8590
8591         * BufferView.h:
8592         * BufferView.C: cosmetic change
8593
8594         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8595
8596         * bufferlist.C:
8597         * buffer.h:
8598         * buffer.C:
8599         * lyxcb.h:
8600         * lyxcb.C:
8601         * lyxserver.C:
8602         * lyxvc.C:
8603         * vc-backend.C:
8604         * BufferView2.C: purge all "Lyx" not "LyX" strings
8605
8606         * lyxcursor.h:
8607         * lyxcursor.C: attempt to add some documentation
8608
8609         * lyxfunc.C:
8610         * commandtags.h:
8611         * LyXAction.C:
8612         * ToolbarDefaults.C:
8613         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8614           merge with LFUN_TABULAR_INSERT
8615
8616         * Makefile.am:
8617         * SpellBase.h:
8618         * ispell.h:
8619         * ispell.C:
8620         * pspell.h:
8621         * pspell.C: split up i/pspell implementations into separate
8622           files, many cleanups
8623
8624         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8625
8626         * text2.C: some cleanup
8627
8628         * lyxfunc.C: don't check for isp_command == "none" any more, it
8629           didn't make any sense
8630
8631 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8632
8633         * counters.[Ch]
8634         * text2.C
8635         * paragraph.[Ch]
8636         * makefile.am: move counters functionality over
8637         from text2.C/paragraph.[Ch] to counters.[Ch], and
8638         make proper C++.
8639 2002-08-02  John Levon  <levon@movementarian.org>
8640
8641         * buffer.C: s/lyxconvert/lyx2lyx/
8642
8643 2002-08-02  Angus Leeming  <leeming@lyx.org>
8644
8645         * lyxlex.C: revert John's change as it breaks reading of the user
8646         preamble.
8647
8648 2002-08-02  Angus Leeming  <leeming@lyx.org>
8649
8650         * importer.C (Import):
8651         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8652         changes due to LyXView::view() now returning a boost::shared_ptr.
8653
8654 2002-08-02  John Levon  <levon@movementarian.org>
8655
8656         * lyxlex.C: small cleanup
8657
8658 2002-08-02  John Levon  <levon@movementarian.org>
8659
8660         * text2.C (status): small cleanup, no logic change
8661
8662 2002-08-01  John Levon  <levon@movementarian.org>
8663
8664         * buffer.h:
8665         * buffer.C (writeFile): don't output alerts, caller
8666           handles this
8667
8668         * bufferlist.C:
8669         * lyx_cb.C: from above
8670
8671         * lyxfunc.C: allow to open non-existent files
8672
8673 2002-07-31  John Levon  <levon@movementarian.org>
8674
8675         * lyxserver.C: don't let incidental errors get
8676           in the way (errno)
8677
8678 2002-07-30  John Levon  <levon@movementarian.org>
8679
8680         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8681
8682 2002-07-30  John Levon  <levon@movementarian.org>
8683
8684         * lyxserver.h:
8685         * lyxserver.C: remove I/O callback too
8686
8687 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8688
8689         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8690         log.
8691
8692 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8693
8694         * many files: strip,frontStrip -> trim,ltrim,rtrim
8695
8696 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8697
8698         * PrinterParams.h: remove extern containsOnly, and include
8699         support/lstrings.h instead.
8700
8701         * LaTeX.C (scanAuxFile): modify because of strip changes
8702         (deplog): ditto
8703         * buffer.C (makeLaTeXFile): ditto
8704         * bufferparams.C (writeFile): ditt
8705         * lyxfont.C (stateText): ditto
8706         * lyxserver.C (read_ready): ditto
8707         * vc-backend.C (scanMaster): ditto
8708
8709         * BufferView_pimpl.h: ws changes
8710
8711         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8712
8713 2002-07-26  André Pönitz <poenitz@gmx.net>
8714
8715         * kb_sequence.C: remove unnedred usings
8716
8717 2002-07-26  Juergen Vigna  <jug@sad.it>
8718
8719         * lyxfind.C (LyXReplace): we have to check better if the returned
8720         text is not of theLockingInset()->getLockingInset().
8721
8722 2002-07-25  Juergen Vigna  <jug@sad.it>
8723
8724         * lyxfind.C (LyXReplace): don't replace if we don't get the
8725         right LyXText.
8726
8727         * undo_funcs.C (createUndo): remove debugging code.
8728
8729 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8730
8731         * buffer.C (parseSingleLyXformat2Token): Use default placement
8732         when reading old floats.
8733
8734         * FloatList.C (FloatList): Change the default placement of figure
8735         and tables to "tbp".
8736
8737 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8738
8739         * MenuBackend.C: using std::max
8740
8741 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8742
8743         * MenuBackend.C (expandToc):
8744         (expandToc2): code moved from xforms menu frontend. It is now
8745         generic and TOCs are transparent to menu frontends.
8746
8747 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8748
8749         * toc.C (getTocList): protect against buf=0
8750
8751         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8752         Menu as first parameter. Now, this calls itself recursively to
8753         expand a whole tree (this will be useful for TOC handling)
8754         (expandFloatInsert): remove 'wide' version of floats
8755
8756         * MenuBackend.h (submenuname): returns the name of the submenu.
8757         (submenu): returns the submenu itself, provided it has been
8758         created by MenuBackend::expand
8759
8760 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8763         insets which have noFontChange == true. (bug #172)
8764
8765 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8766
8767         * BufferView_pimpl.C: add connection objects and use them...
8768         (Pimpl): here.
8769
8770 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8771
8772         * MenuBackend.C (expandLastfiles):
8773         (expandDocuments):
8774         (expandFormats):
8775         (expandFloatListInsert):
8776         (expandFloatInsert):
8777         (expand): split expand in parts
8778
8779 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8780
8781         * lyx_gui.C: use lyx_gui::exit()
8782
8783 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8784
8785         * LyXAction.C: show the failing pseudo action
8786
8787 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8788
8789         * buffer.C (readFile): Run the lyxconvert script in order to read
8790         old files.
8791
8792 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8793
8794         * LyXAction.C:
8795         * commandtags.h:
8796         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8797
8798 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * LyXAction.C:
8801         * commandtags.h:
8802         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8803
8804 2002-07-22  Herbert Voss  <voss@lyx.org>
8805
8806         * lengthcommon.C:
8807         * lyxlength.[Ch]: add support for the vertical lengths
8808
8809 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8810
8811         * toc.[Ch]: std:: fixes
8812
8813 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8814
8815         * lyxrc.C: do not include lyx_main.h
8816
8817         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8818         for layouts
8819
8820         * lyxrc.C:
8821         * encoding.C:
8822         * bufferlist.C:
8823         * BufferView2.C: include "lyxlex.h"
8824
8825         * tabular.h:
8826         * bufferparams.h: do not #include "lyxlex.h"
8827
8828         * lyxtextclasslist.C (Add): remove method
8829         (classlist): renamed to classlist_
8830
8831         * paragraph_pimpl.C:
8832         * paragraph.C:
8833         * text2.C:
8834         * CutAndPaste.C:
8835         * bufferview_funcs.C:
8836         * bufferlist.C:
8837         * text.C:
8838         * LaTeXFeatures.C:
8839         * buffer.C:
8840         * toc.C (getTocList): use BufferParams::getLyXTextClass
8841
8842         * toc.C (getTocList): use InsetFloat::addToToc
8843
8844         * toc.[Ch]: new files, containing helper functions to handle table
8845         of contents
8846
8847         * lyxfunc.C (dispatch): no need to remove spaces around command
8848         given as a string
8849         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8850         first command of the sequence; it is not very clever, but I do not
8851         have a better idea, actually
8852
8853         * LyXAction.C (LookupFunc): make sure to remove space at the
8854         beginning and end of the command
8855
8856 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8857
8858         * MenuBackend.C (getMenubar): new method: return the menubar of
8859         this menu set
8860         (read): treat differently reading of menu and menubar (in
8861         particular, the menubar has no name now)
8862         (Menu::menubar): remove
8863
8864         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8865         saving is finished
8866
8867 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8868
8869         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8870         a bibitem inset in a RTL paragraph.
8871
8872 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8873
8874         * paragraph_pimpl.C: constify
8875
8876         * BufferView_pimpl.C:
8877         * LaTeX.C:
8878         * lyxfunc.C: fix dispatch in a nicer way
8879
8880 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8881
8882         * lyxfunc.C (dispatch):
8883         * BufferView_pimpl.C:
8884         * BufferView_pimpl.h:
8885         * BufferView.C:
8886         * BufferView.h: rename Dispatch() to dispatch()
8887
8888         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8889
8890         * lyxlayout.C (Read): honor DependsOn tag
8891
8892         * lyxlayout.[Ch] (depends_on): new method
8893
8894         * version.C.in: update lyx_docversion
8895
8896         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8897
8898         * paragraph.C (validate): remove from here...
8899         * paragraph_pimpl.C (validate): ... and move here
8900         (isTextAt): make it const
8901
8902         * buffer.C (getLists): ws cleanup
8903
8904 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8905
8906         * language.C (read): Use iso8859-1 encoding in latex_lang
8907         (this prevents LyX from crashing when using iso10646-1 encoding).
8908
8909 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8910
8911         * text2.C (toggleInset): if cursor is inside an inset, close the
8912         inset and leave cursor _after_ it
8913
8914 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8915
8916         * lyxfunc.C: move minibuffer completion handling out of here
8917
8918 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8919
8920         * BufferView_pimpl.C:
8921         * LaTeX.C: fix dispatch calls
8922
8923 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8924
8925         * text.C (drawChars): Fix Arabic text rendering.
8926
8927 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8928
8929         * LyXAction.C:
8930         * commandtags.h:
8931         * lyxfunc.C: remove message-push/pop
8932
8933         * lyxserver.C:
8934         * lyxfunc.h:
8935         * lyxfunc.C: rationalise some code by removing verboseDispatch
8936           in favour of a bool argument to dispatch()
8937
8938 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8939
8940         * lyx_main.C (init): make sure to read symlinks as absolute paths
8941
8942 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8943
8944         * lyxfunc.h:
8945         * lyxfunc.C: no need for commandshortcut to be a member
8946
8947 2002-07-15  André Pönitz <poenitz@gmx.net>
8948
8949         * converter.C: add support for $$s (scripts from lib/scripts dir)
8950         * lyx_main.C: white space
8951
8952 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * bufferlist.C:
8955         * lyxrc.h:
8956         * lyxrc.C: remove second exit confirmation
8957
8958 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * BufferView.h:
8961         * BufferView.C:
8962         * BufferView2.C:
8963         * BufferView_pimpl.h:
8964         * BufferView_pimpl.C:
8965         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8966
8967 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8968
8969         * MenuBackend.C (expand): add numeric shortcuts to document menu
8970
8971         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8972
8973 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8974
8975         * lyxfont.C (setLyXFamily):
8976         (setLyXSeries):
8977         (setLyXShape):
8978         (setLyXSize):
8979         (setLyXMisc):
8980         (lyxRead):
8981         * debug.C (value):
8982         * buffer.C (asciiParagraph): use ascii_lowercase
8983
8984 2002-07-15  Mike Fabian  <mfabian@suse.de>
8985
8986         * lyxlex_pimpl.C (search_kw):
8987         * lyxlex.C (getLongString):
8988         * converter.h (operator<):
8989         * converter.C (operator<):
8990         * buffer.C (parseSingleLyXformat2Token):
8991         (asciiParagraph):
8992         * ToolbarDefaults.C (read):
8993         * MenuBackend.C (checkShortcuts):
8994         (read):
8995         * LColor.C (getFromGUIName):
8996         (getFromLyXName): use the compare_ascii_no_case instead of
8997         compare_no_case, because in turkish, 'i' is not the lowercase
8998         version of 'I', and thus turkish locale breaks parsing of tags.
8999
9000 2002-07-16  Angus Leeming  <leeming@lyx.org>
9001
9002         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9003         now takes a Buffer const & argument.
9004
9005 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9006
9007         * BufferView.C (resize): check there's a buffer to resize
9008
9009 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9010
9011         * lyxfunc.C: remove dead code
9012
9013         * lyxserver.h:
9014         * lyxserver.C: use lyx_guii::set_read_callback
9015
9016 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9017
9018         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9019         an inset in a RTL paragraph.
9020
9021 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9022
9023         * lyxfunc.C: repaint after a font size update
9024
9025 2002-07-15  André Pönitz <poenitz@gmx.net>
9026
9027         * lyxlength.C: inBP should be able to return negative values
9028
9029 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * lyxfunc.C: use lyx_gui::update_fonts()
9032
9033 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9034
9035         * lyxfunc.C: use lyx_gui::update_color()
9036
9037 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9038
9039         * bufferlist.C:
9040         * lyxfunc.h:
9041         * lyxfunc.C:
9042         * lyxrc.h:
9043         * lyxrc.C: remove file->new asks for name option, and let
9044           buffer-new take an argument
9045
9046 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9047
9048         * BufferView_pimpl.C: remove unneeded extra repaint()
9049
9050 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9051
9052         * LyXAction.C: allow command-sequence with NoBuffer
9053
9054         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9055
9056 2002-07-10  Angus Leeming  <leeming@lyx.org>
9057
9058         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9059
9060 2002-07-09  Angus Leeming  <leeming@lyx.org>
9061
9062         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9063
9064 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * lengthcommon.h: whitespace
9067
9068         * lyxfunc.C: update scrollbar after goto paragraph
9069
9070         * lyxtext.h: factor out page break drawing, and fix it so
9071           page break/added space paints as selected nicely
9072
9073 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9074
9075         * BufferView_pimpl.C: add FIXMEs, clean up a little
9076
9077 2002-07-09  André Pönitz <poenitz@gmx.net>
9078
9079         * lyxfont.[Ch]: support for wasy symbols
9080
9081 2002-07-08  André Pönitz <poenitz@gmx.net>
9082
9083         * BufferView_pimpl.C: apply John's patch for #93.
9084
9085 2002-07-05  Angus Leeming  <leeming@lyx.org>
9086
9087         * BufferView_pimpl.C (buffer): generate previews if desired.
9088
9089         * LColor.h: add "preview" to the color enum.
9090
9091         * LColor.C (LColor): add a corresponding entry to the items array.
9092
9093         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9094         with this buffer.
9095
9096 2002-07-05  Angus Leeming  <leeming@lyx.org>
9097
9098         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9099         The body of the code is now in the method that is passed an ostream &
9100         rather than a file name.
9101         Pass an additional only_preamble parameter, useful for the forthcoming
9102         preview stuff.
9103
9104 2002-07-03  André Pönitz <poenitz@gmx.net>
9105
9106         * lyxfunc.C: simplify getStatus() a bit for math stuff
9107
9108 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9109
9110         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9111
9112 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9113
9114         * text.C (changeRegionCase): do not change case of all the
9115         document when region ends at paragraph end (bug #461)
9116
9117 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9118
9119         * paragraph.C (startTeXParParams):
9120         (endTeXParParams): add \protect when necessary
9121
9122 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9123
9124         * BufferView_pimpl.C (workAreaExpose): remove warning
9125
9126 2002-06-27  Angus Leeming  <leeming@lyx.org>
9127
9128         * Makefile.am: add lyxlayout_ptr_fwd.h.
9129
9130 2002-06-26  André Pönitz <poenitz@gmx.net>
9131
9132         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9133
9134 2002-06-25  Angus Leeming  <leeming@lyx.org>
9135
9136         * lyxfunc.C (dispatch): Comment out the call to
9137         grfx::GCache::changeDisplay. The method no longer exists now that the
9138         pixmap generation part of the graphics loader has been moved into
9139         InsetGraphics.
9140
9141 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9142
9143         * text2.C: layout as layout
9144
9145         * text.C: layout as layout
9146
9147         * tabular.C (OldFormatRead): layout as layout
9148
9149         * paragraph_pimpl.C (TeXDeeper): layout as layout
9150         (realizeFont): layout as layout
9151
9152         * paragraph.C (writeFile): layout as layout
9153         (validate): layout as layout
9154         (getFont): layout as layout
9155         (getLabelFont): layout as layout
9156         (getLayoutFont): layout as layout
9157         (breakParagraph): layout as layout
9158         (stripLeadingSpaces): layout as layout
9159         (getEndLabel): layout as layout
9160         (getMaxDepthAfter): layout as layout
9161         (applyLayout): layout as layout
9162         (TeXOnePar): layout as layout
9163         (simpleTeXOnePar): layout as layout
9164         (TeXEnvironment): layout as layout
9165         (layout): layout as layout
9166         (layout): layout as layout
9167
9168         * lyxtextclass.C (compare_name): new functor to work with
9169         shared_ptr, layout as layout
9170         (Read): layout as layout
9171         (hasLayout): layout as layout
9172         (operator): layout as layout
9173         (delete_layout): layout as layout
9174         (defaultLayout): layout as layout
9175
9176         * lyxlayout_ptr_fwd.h: new file
9177
9178         * lyxlayout.C (Read): layout as layout
9179
9180         * lyx_cb.C (MenuInsertLabel): layout as layout
9181
9182         * bufferlist.C (newFile): layout as layout
9183
9184         * buffer.C (readLyXformat2): layout as layout
9185         (parseSingleLyXformat2Token): layout as layout
9186         (insertStringAsLines): layout as layout
9187         (asciiParagraph): layout as layout
9188         (latexParagraphs): layout as layout
9189         (makeLinuxDocFile): layout as layout
9190         (simpleLinuxDocOnePar): layout as layout
9191         (makeDocBookFile): layout as layout
9192         (simpleDocBookOnePar): layout as layout
9193         (getLists): layout as layout
9194
9195         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9196
9197         * CutAndPaste.C (cutSelection): layout as layout
9198         (pasteSelection): layout as layout
9199         (SwitchLayoutsBetweenClasses): layout as layout
9200
9201         * BufferView_pimpl.C (Dispatch): layout as layout
9202         (smartQuote): layout as layout
9203
9204         * BufferView2.C (unlockInset): layout as layout
9205
9206 2002-06-24  André Pönitz <poenitz@gmx.net>
9207
9208         * lyxfunc.C: fix #487
9209
9210 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * lyxrc.h:
9213         * lyxrc.C:
9214         * lyxfunc.C: remove display_shortcuts, show_banner
9215
9216 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9217
9218         * Buffer_pimpl.C: oops, update on resize
9219
9220 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * buffer.C:
9223         * converter.C:
9224         * exporter.C:
9225         * lyxfunc.C:
9226         * BufferView.h:
9227         * BufferView.C: use repaint()
9228
9229         * BufferView_pimpl.h:
9230         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9231           as it's a clearer description. Remove superfluous
9232           redraws.
9233
9234 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9235
9236         * text.C: fix bug 488. Not ideal, but getting
9237           getWord() to work properly for the insets that
9238           matter is more difficult ...
9239
9240 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9241
9242         * BufferView_pimpl.C:
9243         * LyXAction.C:
9244         * commandtags.h:
9245         * lyxfunc.C: remove the six million index lyxfuncs to just
9246           one, and DTRT (bug 458)
9247
9248 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * BufferView.h:
9251         * BufferView.C:
9252         * BufferView_pimpl.h:
9253         * BufferView_pimpl.C: clean up resize() stuff,
9254           and unnecessary updateScreen()s
9255
9256 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * BufferView.h:
9259         * BufferView.C:
9260         * BufferView_pimpl.h:
9261         * BufferView_pimpl.C:
9262         * lyxfind.h:
9263         * lyxfind.C:
9264         * minibuffer.C: remove focus management of workarea,
9265           not needed. Use screen's greyOut()
9266
9267 2002-06-17  Herbert Voss  <voss@lyx.org>
9268
9269         * converter.C: (convert) do not post a message, when converting
9270         fails, let the calling function decide what to do in this case
9271
9272 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9273
9274         * lyxfunc.C: tidy up a little
9275
9276 2002-06-16    <alstrup@diku.dk>
9277
9278         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9279         Got rid of FORMS_H_LOCATION include. Now we are
9280         GUII.
9281
9282 2002-06-15  LyX Development team  <lyx@rilke>
9283
9284         * buffer.[Ch] (sgmlOpenTag):
9285         (sgmlCloseTag): Added support for avoiding pernicious mixed
9286         content. Return number of lines written.
9287
9288         (makeLinuxDocFile):
9289         (makeDocBookFile): Fixed calls to sgml*Tag.
9290         Simple white space clean.
9291
9292         (simpleDocBookOnePar): Simple white space clean.
9293
9294         * tabular.[Ch] (docBook): Renamed to docbook and got another
9295         argument to related with the pernicious mixed content.
9296
9297         (docbookRow): Fixed calls for docbook inset method.
9298
9299 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9300
9301         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9302         so it's X11 independent.
9303
9304         * kb*.[Ch]: ditto.
9305
9306         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9307
9308 2002-06-15  Lyx Development team  <lyx@electronia>
9309
9310         * intl.h: Renamed getTrans to getTransManager.
9311
9312 2002-06-14  Angus Leeming  <leeming@lyx.org>
9313
9314         * Makefile.am: nuke forgotten stl_string_fwd.h.
9315
9316 2002-06-12  Angus Leeming  <leeming@lyx.org>
9317
9318         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9319
9320 2002-06-13  Angus Leeming  <leeming@lyx.org>
9321
9322         * LaTeX.C:
9323         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9324
9325 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9326
9327         * kbmap.C (getiso): add support for cyrillic and greek
9328
9329 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * BufferView.h:
9332         * BufferView.C:
9333         * BufferView_pimpl.h:
9334         * BufferView_pimpl.C: move bogus scrolling logic
9335           to xforms
9336
9337 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9338
9339         * lyxfunc.C:
9340         * BufferView_pimpl.C: view->resize() change
9341
9342 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * BufferView_pimpl.C: topCursorVisible
9345           prototype change
9346
9347 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9348
9349         * Makefile.am:
9350         * lyx_gui.h:
9351         * lyx_gui.C: move to frontends/
9352
9353         * main.C:
9354         * lyx_main.h:
9355         * lyx_main.C: changes from above
9356
9357 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9358
9359         * intl.C:
9360         * intl.h:
9361         * kbmap.C:
9362         * kbsequence.C:
9363         * lyx_cb.C:
9364         * lyx_main.C: minor tidy
9365
9366 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * BufferView_pimpl.h:
9369         * BufferView_pimpl.C:
9370         * BufferView.h:
9371         * BufferView.C: make painter() const,
9372           remove dead code
9373
9374         * BufferView2.C: use screen() accessor
9375
9376         * lyx_main.h:
9377         * lyx_main.C: some minor cleanup
9378
9379 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9380
9381         * BufferView_pimpl.h:
9382         * BufferView_pimpl.C: remove enter/leaveView,
9383           use workHeight()
9384
9385 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9386
9387         * BufferView.h:
9388         * BufferView.C:
9389         * BufferView2.C:
9390         * BufferView_pimpl.h:
9391         * BufferView_pimpl.C: only construct screen once,
9392           rename
9393
9394         * lyxrc.C: remove pointless comment
9395
9396 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9397
9398         * BufferView.h:
9399         * BufferView.C: remove active() and belowMouse()
9400
9401         * BufferView_pimpl.h:
9402         * BufferView_pimpl.C: use workarea() not workarea_,
9403           and make it use a scoped_ptr instead
9404
9405 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9406
9407         * lyx_gui.C: add debug message on BadWindow
9408
9409 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9410
9411         * sp_spell.C: fdopen is not part of the C++ standard.
9412
9413         * paragraph.C (InsetIterator): use >= instead of ==
9414
9415 2002-06-07  Angus Leeming  <leeming@lyx.org>
9416
9417         Fixes needed to compile with Compaq cxx 6.5.
9418         * BufferView_pimpl.C:
9419         * DepTable.C:
9420         * buffer.C:
9421         * converter.C:
9422         * encoding.C:
9423         * lyx_gui.C:
9424         * lyx_main.C:
9425         * lyxtextclasslist.C:
9426         * minibuffer.C:
9427         * sp_spell.C:
9428         * tabular_funcs.C:
9429         * vc-backend.C:
9430         all c-library variables have been moved into namespace std. Wrap
9431         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9432
9433         * lyxlength.C:
9434         * tabular-old.C:
9435         * tabular.C:
9436         Add a using std::abs declaration.
9437
9438         * kbmap.h (modifier_pair):
9439         * paragraph.h (InsetTable, InsetList):
9440         * lyxfont.h (FontBits):
9441         type definition made public.
9442
9443         * bufferlist.C (emergencyWriteAll): the compiler complains that
9444         there is more than one possible lyx::class_fun template to choose from.
9445         I re-named the void specialisation as lyx::void_class_fun.
9446
9447         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9448
9449         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9450         the compiler is is unable to find tostr in write_attribute.
9451
9452 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9453
9454         * buffer.C (sgmlError): hide #warning
9455
9456 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9457
9458         * xtl/*: get rid of xtl, which is not in use anyway
9459
9460         * LyXAction.C (init):
9461         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9462         were unimplemented xtl experimentation
9463
9464 2002-06-04  André Pönitz <poenitz@gmx.net>
9465
9466         * lyxfunc.C: disable array operation on simple formulae
9467
9468 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9469
9470         * converter.C: constify a bit
9471
9472 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9473
9474         * lyx_gui.C: check xforms version correctly
9475
9476 2002-04-30  Herbert Voss  <voss@lyx.org>
9477
9478         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9479         "keep" option
9480
9481 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9484           attempt to register it with a VCS)
9485
9486 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9487
9488         * lyx_main.C (init): honor variables LYX_DIR_13x and
9489         LYX_USERDIR_13x
9490
9491 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9492
9493         * buffer.h:
9494         * buffer.C:
9495         * lyx_main.C: fix a crash on bad command line,
9496           and give a useful exit status on error
9497
9498         * lyxfunc.C (doImport): allow -i lyx to work
9499
9500 2002-03-30  André Pönitz <poenitz@gmx.net>
9501
9502         * lyxfunc.C: mathed font changes
9503
9504 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9505
9506         * LaTeX.C:
9507         * importer.h:
9508         * importer.C:
9509         * lyx_sty.h:
9510         * lyx_sty.C:
9511         * lyxlex.C:
9512         * lyxrow.h:
9513         * lyxtext.h:
9514         * paragraph.h:
9515         * paragraph.C:
9516         * texrow.h:
9517         * texrow.C:
9518         * text.C:
9519         * trans_mgr.h: srcdocs, and some minor cleanups
9520
9521 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9522
9523         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9524         call getFont all the time)
9525
9526 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9527
9528         * switch from SigC signals to boost::signals
9529
9530 2002-05-29  André Pönitz <poenitz@gmx.net>
9531
9532         * paragraph_pimpl.C (getChar): don't call size() too often...
9533
9534 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9535
9536         * paragraph_pimpl.C (insertChar): do not try to update tables when
9537         appending (pos == size())
9538
9539         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9540         in order to reduce drastically the number of comparisons needed to
9541         parse a large document
9542
9543 2002-05-29  André Pönitz <poenitz@gmx.net>
9544
9545         * text.C:
9546         * text2.C:
9547         * lyxtextclass.C:
9548         * sp_pspell.h:
9549         * textclasslist.[Ch]:
9550         * sp_ispell.h: whitespace change
9551
9552 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9553
9554         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9555         lyxaction directly now.
9556
9557 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9558
9559         * trans.C:
9560         * lyxfont.C:
9561         * lyxvc.C: remove unused headers
9562
9563 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9564
9565         * Makefile.am:
9566         * buffer.h:
9567         * undostack.h:
9568         * undostack.C:
9569         * undo_funcs.h:
9570         * undo_funcs.C: some cleanups. Use shared_ptr
9571           and a template for the undo stacks.
9572
9573 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * BufferView_pimpl.h:
9576         * BufferView_pimpl.C:
9577         * kbmap.h:
9578         * kbmap.C:
9579         * kbsequence.h:
9580         * kbsequence.C:
9581         * lyxfunc.h:
9582         * lyxfunc.C:
9583         * text2.C: use key_state/mouse_state
9584
9585 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9586
9587         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9588         and LSubstring
9589
9590         * chset.C: change include order
9591         (loadFile): use boost regex and get rid of LRegex and LSubstring
9592
9593         * Makefile.am (BOOST_LIBS): new variable
9594         (lyx_LDADD): use it
9595
9596         * LaTeX.C: change include order.
9597         (scanAuxFile): use boost regex and get rid of LRegex and
9598         LSubstring
9599         (deplog): ditto
9600
9601 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * ColorHandler.h:
9604         * ColorHandler.C:
9605         * FontInfo.h:
9606         * FontInfo.C: moved to frontends/xforms/
9607
9608         * FontLoader.h:
9609         * FontLoader.C: moved into frontends for GUIIzation
9610
9611         * Makefile.am:
9612         * lyx_gui.C:
9613         * lyxfont.C:
9614         * lyxfunc.C: changes from above
9615
9616 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9617
9618         * LColor.C: remove spurious X include
9619
9620         * BufferView_pimpl.C:
9621         * Makefile.am:
9622         * font.h:
9623         * font.C:
9624         * text.C:
9625         * text2.C: move font metrics to frontends/
9626
9627 2002-05-24  Juergen Vigna  <jug@sad.it>
9628
9629         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9630         setting the undo_cursor.
9631
9632         * ParagraphParameters.h: include local includes first.
9633
9634 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * BufferView_pimpl.C:
9637         * BufferView_pimpl.h:
9638         * Makefile.am:
9639         * WorkArea.h:
9640         * WorkArea.C:
9641         * screen.C: move WorkArea into frontends/
9642
9643         * lyxscreen.h:
9644         * screen.C:
9645         * text.C:
9646         * BufferView.C:
9647         * BufferView2.C: move LyXScreen into frontends/
9648
9649         * lyxlookup.h:
9650         * lyxlookup.C:
9651         * lyx_gui.C: move lyxlookup into frontends/xforms/
9652
9653 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9654
9655         * BufferView2.C:
9656         * BufferView_pimpl.C:
9657         * FontLoader.C:
9658         * LyXView.h:
9659         * LyXView.C:
9660         * Makefile.am:
9661         * WorkArea.C:
9662         * XFormsView.h:
9663         * XFormsView.C:
9664         * buffer.C:
9665         * bufferlist.C:
9666         * bufferview_funcs.C:
9667         * converter.C:
9668         * importer.C:
9669         * lyx_cb.C:
9670         * lyx_gui.C:
9671         * lyx_main.C:
9672         * lyx_find.C:
9673         * lyxfunc.C:
9674         * lyxvc.C:
9675         * minibuffer.C:
9676         * text.C:
9677         * text2.C:
9678         * trans.C:
9679         * vc-backend.C: move LyX/XFormsView into frontends/
9680
9681 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * Makefile.am:
9684         * PainterBase.C:
9685         * PainterBase.h:
9686         * Painter.C:
9687         * Painter.h:
9688         * WorkArea.C:
9689         * WorkArea.h:
9690         * screen.C:
9691         * tabular.C:
9692         * text.C:
9693         * text2.C: move Painter to frontends/
9694
9695 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9696
9697         * buffer.C: comment out some some code that depend upon lyx_format
9698         < 220
9699
9700         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9701         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9702
9703         * buffer.h (NO_COMPABILITY): turn off compability
9704
9705         * ColorHandler.C: include scoped_array.hpp
9706
9707         * font.C: Use more specific smart_ptr header.
9708         * Painter.C: ditto
9709         * gettext.C: ditto
9710         * ShareContainer.h: ditto
9711         * lyx_main.h: ditto
9712         * kbmap.h: ditto
9713         * FontInfo.h: ditto
9714         * BufferView_pimpl.h: ditto
9715         * ColorHandler.h: ditto
9716
9717         * kbmap.C (defkey): change call to shared_ptr::reset
9718
9719 2002-05-21  Juergen Vigna  <jug@sad.it>
9720
9721         * buffer.C (insertErtContents): fix to insert ert asis if it is
9722         non empty. Skip it completely if it contains only whitespaces.
9723
9724 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * BufferView_pimpl.C:
9727         * BufferView2.C: clear selection on paste (bug 393)
9728
9729 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9730
9731         * DepTable.C: include ctime
9732
9733 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9734
9735         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9736
9737 2002-05-14  Juergen Vigna  <jug@sad.it>
9738
9739         * text.C (breakParagraph): fixed function to honor the keepempty
9740         layout in the right maner and also to permit the right breaking
9741         algorithm on empty or non empyt keepempty paragraphs.
9742
9743         * paragraph.C (breakParagraph): we have to check also if the par
9744         is really empty (!size()) for isempty otherwise we do the wrong
9745         paragraph break.
9746
9747 2002-05-10  Juergen Vigna  <jug@sad.it>
9748
9749         * buffer.[Ch] : The following are only changes to the ert
9750         compatibility read reading old LaTeX layout and font stuff and
9751         convert it to ERTInsets.
9752
9753         * buffer.h: added isErtInset().
9754
9755         * buffer.C (struct ErtComp): add a fromlayout bool to check
9756         if we're inside a LaTeX layout.
9757         (isErtInset): new helper function.
9758         (insertErtContents): look for other ert insets before this one
9759         and insert the contents there, so that we don't have subsequent
9760         ERT insets with nothing between them. This way we create only one
9761         inset with multiple paragraphs. Also check if we don't insert only
9762         spaces ' ' as they are ignored anyway afterwards in the .tex file
9763         so if we have only spaces we will ignore this latex part in the
9764         new file.
9765         (parseSingleLyXformat2Token \\layout): better compatibility when
9766         reading layout-latex stuff.
9767         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9768         language tag.
9769         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9770         stuff after reading the inset only get the information back from
9771         the stack.
9772
9773 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9774
9775         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9776
9777         * LaTeXFeatures.C (getBabelOptions): New method.
9778
9779 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9780
9781         * BufferView_pimpl.C (Dispatch): work around missing argument for
9782         'layout'
9783
9784 2002-05-08  Juergen Vigna  <jug@sad.it>
9785
9786         * text.C (leftMargin): handle paragraph leftindent.
9787
9788         * paragraph.C (writeFile): write the new \\leftindent tag.
9789         (validate): handle leftindent code.
9790         (TeXEnvironment): handle paragraphleftindent code again.
9791
9792         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9793
9794         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9795         for paragrap_extra indent code and new token \\leftindent.
9796         (latexParagraphs): handle the leftindent as environment.
9797
9798         * ParameterStruct.h: added leftindent support.
9799
9800         * ParagraphParameters.C (leftIndent): added support functions for
9801         the paragraph left indent.
9802
9803         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9804         more appropriate.
9805
9806 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9807
9808         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9809         inside insetERT.
9810
9811         * text.C (computeBidiTables): No bidi in insetERT.
9812
9813         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9814         in RTL documents.
9815
9816 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9817
9818         * version.C.in: pre 5
9819
9820 2002-05-02  José Matos  <jamatos@fep.up.pt>
9821         * buffer.C (makeDocBookFile): white space changes, add newline to
9822         command styles.
9823         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9824
9825         * tabular.C (docBook): fix typo.
9826
9827 2002-05-03  Juergen Vigna  <jug@sad.it>
9828
9829         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9830         change in LyXText as we can not be sure it was not freed.
9831         (drawOneRow): remove unused code.
9832
9833         * text.C (drawInset): redo the calculation of the need_break_row as
9834         it could have a row which was already freed.
9835         (draw): look at the return value of drawInset and return false if
9836         it also returned false.
9837         (paintRowText): look at the return value of draw and return false if
9838         it also returned false.
9839
9840         * lyxtext.h: added bool return type to drawInset() and draw() so that
9841         if we have a change in the row so that the rowbreak has to be redone
9842         we abort drawing as it will be called again.
9843
9844 2002-05-02  Juergen Vigna  <jug@sad.it>
9845
9846         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9847         a change in the maintext also if we're inside an inset.
9848         (Dispatch): set the cursor again after a break line and after the
9849         screen has been updated as it could be we're in a different row.
9850
9851         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9852         to set the cursor behind the pargraph with > size().
9853         (setCursor): check also for the same paragraph when checking where
9854         to put the cursor if we have a NFR inset.
9855
9856         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9857         parts of layout read further up as it still was in the wrong
9858         position.
9859
9860 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9861
9862         * screen.C (drawFromTo): change sine fullRebreak always return
9863         true.
9864
9865         * buffer.C (parseSingleLyXformat2Token): reindent some
9866
9867         * BufferView_pimpl.C (update): change since fullRebreak always
9868         return true.
9869         (Dispatch): git rid of the last hardcoded "Standard"s.
9870
9871 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9872
9873         * text2.[Ch] (fullRebreak): make it return void now that we always
9874         returned true.
9875
9876 2002-04-30  Juergen Vigna  <jug@sad.it>
9877
9878         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9879         ert compatibility check for "latex" layout.
9880
9881 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9882
9883         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9884         minipages: use col% instead of p%, and also use the current font.
9885         (makeLaTeXFile): Fix use babel condition.
9886         (parseSingleLyXformat2Token): Correct font when reading old floats.
9887
9888 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9891         inserting list of floats.
9892
9893 2002-04-25  Herbert Voss  <voss@lyx.org>
9894
9895         * MenuBackend.C (expand): don't add the graphics extensions to the
9896         export menu
9897
9898 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9901         non-existing layout, do not complain if it was the default layout
9902         of the original class (bug #342)
9903
9904 2002-04-24  Juergen Vigna  <jug@sad.it>
9905
9906         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9907         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9908
9909 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9910
9911         * buffer.C (getBibkeyList): If using \bibliography, return the
9912         option field with the reference itself. Enables us to provide natbib
9913         support when using \bibliography.
9914
9915 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9916
9917         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9918
9919         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9920         natbib is provided by the LaTeX class.
9921
9922 2002-04-23  Juergen Vigna  <jug@sad.it>
9923
9924         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9925         Wakeup functions.
9926
9927         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9928
9929 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9930
9931         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9932
9933         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9934         ensuremath around textordmasculine, textordfeminine and
9935         textdegree.
9936
9937 2002-04-19  Juergen Vigna  <jug@sad.it>
9938
9939         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9940         reinitializing the buffer otherwise row-dimensions may be wrong.
9941         (update): reset also the selection cursors if they do exits otherwise
9942         their x/y positions may be wrong.
9943
9944         * text2.C (cursorDown): don't enter the inset if we came from a row
9945         above and are one row over the inset.
9946
9947         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9948         really leaving an inset.
9949
9950 2002-04-18  Juergen Vigna  <jug@sad.it>
9951
9952         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9953         of the selected paragraph does not have the selected layout also if
9954         the last one had!
9955
9956         * text2.C (setLayout): fixed bug which did not change last selected
9957         paragraph.
9958
9959         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9960         changed the read and substituted \\end_float with \\end_inset!
9961
9962         * BufferView_pimpl.C (cursorPrevious):
9963         (cursorNext): fixed to make it work with rows heigher than the work
9964         area without moving the cursor only the draw of the row.
9965         (workAreaMotionNotify): fix jumping over high rows.
9966
9967 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9968
9969         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9970         Ressler.
9971
9972 2002-04-16  Juergen Vigna  <jug@sad.it>
9973
9974         * text2.C (setCursor): set also the irow().
9975         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9976         (cursorUp):
9977         (cursorDown): support for locking an inset if the x_fix value goes
9978         inside it. That way I can transverse insets too with cursor up/down.
9979
9980         * lyxrow.h: added irow helper function same as other (i) functions.
9981
9982         * BufferView_pimpl.C (cursorPrevious):
9983         (cursorNext): fixed for insets!
9984
9985 2002-04-15  Juergen Vigna  <jug@sad.it>
9986
9987         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9988         position otherwise it is wrong in some cases.
9989
9990         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9991         inside the inset before the call.
9992
9993 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9994
9995         * buffer.[Ch] (getBibkeyList): make it const.
9996
9997 2002-04-12  Juergen Vigna  <jug@sad.it>
9998
9999         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10000
10001         * text2.C (getCursorX): new helper function
10002         (setCursor): compute also ix_
10003         (setCursorFromCoordinates): set also ix.
10004
10005         * lyxcursor.h: added ix_ and helper functions.
10006
10007         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10008
10009         * buffer.C (insertStringAsLines): dont break paragraph if the this
10010         paragraph is inside an inset which does not permit it!
10011
10012         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10013         also with no chars on this paragraph.
10014         (paintRowText): only paint stuff if it's inside the workarea!
10015
10016         * paragraph.C (breakParagraph): honor keepempty flag and break the
10017         paragraph always below not above.
10018
10019         * BufferView2.C (unlockInset): update the paragraph layout on inset
10020         unlock as we changed paragraph in such a case.
10021
10022         * lyxfind.C (LyXFind): clear the former selection if not found!
10023
10024         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10025         again called in insertChar().
10026
10027         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10028         an inset which uses the whole row!
10029         (rightMargin): ditto.
10030         (insertChar): force a rebreak if we inserted an inset!
10031
10032 2002-03-28  Herbert Voss  <voss@lyx.org>
10033
10034         * lyxlength.[Ch]: add inBP() to get the right PS-point
10035         units (BigPoint). With inPixels we have rounding errors
10036
10037 2002-04-11  Juergen Vigna  <jug@sad.it>
10038
10039         * text2.C (setCursorFromCoordinates): set iy to the right value.
10040         (setCursor): add check if row->previous exists!
10041
10042         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10043         an old float_type as this was the case in the old code!
10044
10045         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10046
10047         * BufferView2.C (showLockedInsetCursor): use iy
10048         (fitLockedInsetCursor): ditto
10049
10050         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10051         locked insets as there we have the right value now.
10052
10053         * lyxcursor.C: added iy_ variable and iy functions to set to the
10054         baseline of cursor-y of the locked inset.
10055
10056         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10057         (setCursor): fixed for insets which need a full row.
10058
10059         * text.C (rowLastPrintable): don't ignore the last space when before
10060         an inset which needs a full row.
10061         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10062         as last character of a row when before a inset which needs a full row.
10063
10064 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10065
10066         * version.C.in: update date
10067
10068         * text2.C (fullRebreak): try to always return true and see what
10069         happens...
10070
10071 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * MenuBackend.C (expand): use Floating::listName
10074
10075         * FloatList.C (FloatList): add listName argument to the built-in
10076         floats
10077
10078         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10079         text associated with the float.
10080
10081 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10084
10085 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10086
10087         * ShareContainer.h: add a couple of missing typenames.
10088
10089 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10090
10091         * lyxrc.C (getDescription): use _() correctly rather than N_().
10092
10093 2002-03-28  Herbert Voss  <voss@lyx.org>
10094
10095         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10096         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10097
10098 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10099
10100         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10101         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10102
10103 2002-03-29  Juergen Vigna  <jug@sad.it>
10104
10105         * lyxfunc.C (dispatch): add a missing fitCursor call.
10106
10107         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10108         it was scrolled by a cursor move, so return the bool status.
10109
10110         * BufferView.C (fitCursor): return the bool flag also to the outside
10111         world as this is needed.
10112
10113         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10114
10115         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10116         call the edit() as it is not needed (and wrong) IMO.
10117         (workAreaButtonPress): set the screen_first variable before evt.
10118         unlock the inset as this may change screen_first and then we have
10119         a wrong y position for the click!
10120
10121 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * MenuBackend.C (expand): another translation that I missed
10124
10125 2002-03-28  Juergen Vigna  <jug@sad.it>
10126
10127         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10128
10129         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10130
10131 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10134
10135         * MenuBackend.C (expand): fix export/view/update when there is no
10136         document open.
10137
10138 2002-03-27  Herbert Voss  <voss@lyx.org>
10139
10140         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10141         and text%
10142
10143 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * bufferview_funcs.C (currentState): only show paragraph number
10146         for is DEVEL_VERSION is set.
10147
10148         * lyxfunc.C (dispatch): put warning in INFO channel
10149
10150         * MenuBackend.C (expand): translate the name of floats
10151
10152         * FloatList.C (FloatList): mark the float names for translation
10153
10154         * converter.C (convert): use LibScriptSearch
10155
10156 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * MenuBackend.C (defaults): fix default menu (we might as well get
10159         rid of it...)
10160
10161 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10162
10163         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10164         directory.
10165
10166 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10167
10168         * lyxvc.C: reorder includes.
10169
10170 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10171
10172         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10173           properly
10174
10175 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * CutAndPaste.C: change layouts earlier on paste
10178           to avoid crashing when calling getFont()
10179
10180 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10181
10182         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10183         irritating #error.
10184
10185 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10186
10187         * WorkArea.C: remove 'Pending' debug message.
10188
10189         * most files: ws cleanup
10190
10191         * buffer.[Ch]: ws changes
10192
10193         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10194
10195 2002-03-21  Juergen Vigna  <jug@sad.it>
10196
10197         * tabular.C (SetMultiColumn): collapse also the contents of the
10198         cells and set the last border right. Added a Buffer const * param.
10199
10200 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10203         linking or not.
10204
10205 2002-03-19  Juergen Vigna  <jug@sad.it>
10206
10207         * text2.C (clearSelection): reset also xsel_cache.
10208
10209         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10210         where it needs to be called (John tells us to do so too :)
10211         (selectionLost): reset sel_cache.
10212
10213         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10214
10215 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10216
10217         * text2.C (setCursorIntern): put debuging code in INSETS channel
10218
10219 2002-03-19  André Pönitz <poenitz@gmx.net>
10220
10221         * lyxfunc.C: tiny whitespace change
10222
10223 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10224
10225         * ToolbarDefaults.C (init):
10226         * LyXAction.C (init):
10227         * commandtags.h:
10228         * BufferView_pimpl.C (Dispatch):
10229         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10230
10231 2002-03-19  Allan Rae  <rae@lyx.org>
10232
10233         * exporter.C (Export): removeAutoInsets before doing anything else.
10234         While I've just introduced a dependency on BufferView this really is
10235         the best place to clean the buffer otherwise you need to cleanup in
10236         a dozen places before calling export or cleanup in a dozen functions
10237         that export calls.
10238
10239         * converter.C (runLaTeX):
10240         (scanLog): Better handling of removeAutoInsets and screen updates.
10241
10242         * lyxfunc.C (dispatch): small whitespace changes
10243
10244 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10245
10246         * WorkArea.C (C_WorkAreaEvent): return a value.
10247         (event_cb): return 1 if we handled the event, 0 otherwise.
10248
10249         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10250
10251 2002-03-18  Juergen Vigna  <jug@sad.it>
10252
10253         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10254         (GetAdditionalWidth): ditto.
10255         (RightLine): ditto.
10256         (LeftLine): ditto.
10257
10258         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10259         inset if we're there actually (probably not used right now but this
10260         is the direction to go for unifying code).
10261         (paste): disable code to clear the selection.
10262
10263         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10264         inside an InsetText and move the check further up as it is in the
10265         wrong place.
10266
10267         * text2.C (pasteSelection): set a selection over the pasted text.
10268
10269 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10270
10271         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10272         and libgraphics to build on Cygwin.
10273
10274 2002-03-15  Juergen Vigna  <jug@sad.it>
10275
10276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10277         inserting an Inset into the paragraph. I know this is not the best
10278         fix but we already use current_view in CutAndPaste so we will remove
10279         all of it's using at the same time.
10280
10281         * buffer.C (sgmlError): deactivated function till it is rewritten in
10282         the right mode, now it can create problems.
10283
10284         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10285         before accessing it.
10286
10287 2002-03-14  Juergen Vigna  <jug@sad.it>
10288
10289         * undo_funcs.C (textHandleUndo): do the right thing when updating
10290         the inset after the undo/redo.
10291
10292         * text2.C (setCursor): just some testcode for #44 not ready yet.
10293
10294         * undo_funcs.C (textHandleUndo): set the next() and previous()
10295         pointers of the paragraph to 0 before deleting otherwise we have
10296         problems with the Paragraph::[destructor].
10297
10298         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10299         on a paragraph insertion.
10300
10301 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * buffer.C (asciiParagraph): use += operator for char append to
10304         string.
10305
10306         * paragraph.C (getFontSettings): compare >= not just >
10307         (highestFontInRange): ditto
10308         (setFont): ditto
10309
10310 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10311
10312         * paragraph.C: change several algorithm to be more appripriate for
10313         the problem domain. This is lookip in FontList and in the InsetList.
10314
10315 2002-03-13  André Pönitz <poenitz@gmx.net>
10316
10317         * commandtags.h:
10318         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10319
10320 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * commandtags.h:
10323         * LyXAction.C:
10324         * lyxfunc.C:
10325         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10326
10327 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * Painter.C (display): anon helper function, adjust code for this
10330         change.
10331         (pixmap): remove function.
10332
10333         * Painter.h: remove private display variable.
10334
10335         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10336
10337 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10338
10339         * WorkArea.[Ch]: remove figinset_canvas cruft.
10340
10341 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10342
10343         * lyxtextclass.C (operator): add one item cache optimization.
10344
10345         * bufferlist.h: doxy changes
10346
10347         * bufferlist.C: ws changes
10348
10349         * DepTable.[Ch] (ext_exist): place const in the right spot.
10350
10351         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10352         call resizeInsets.
10353         (workAreaExpose): call resizeInsets when the with BufferView changes.
10354         (Dispatch): adjust for protectedBlank removal
10355         (specialChar): call updateInset if the insert went ok.
10356
10357         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10358         specialChar instead.
10359
10360         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10361
10362         * BufferView.h: doxy change
10363
10364         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10365
10366         * lyxtextclass.C (operator[]): remove non-const version
10367         (defaultLayout): remove non-const version
10368
10369 2002-03-12  Juergen Vigna  <jug@sad.it>
10370
10371         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10372         did resize the LyXText too.
10373
10374         * buffer.C (readLyXformat2): set layout information on newly allocated
10375         paragraphs.
10376
10377         * tabular.C (OldFormatRead): set layout information on the paragraph.
10378
10379 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10380
10381         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10382
10383 2002-03-11  Juergen Vigna  <jug@sad.it>
10384
10385         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10386         plainly wrong.
10387         (resizeCurrentBuffer): force also the insets to resize themselfes.
10388         (moveCursorUpdate): fixed up for InsetText.
10389
10390 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10391
10392         * commandtags.h:
10393         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10394         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10395         value of Dialogs::tooltipsEnabled().
10396         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10397
10398 2002-03-08  Juergen Vigna  <jug@sad.it>
10399
10400         * BufferView_pimpl.C (updateInset): update inset inside inset also
10401         if it isn't inside theLockingInset().
10402
10403 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10404
10405         * buffer.C (asciiParagraph): redo some of the word and line length
10406         handling.
10407         (getLists): look for Caption instead of caption.
10408
10409 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10410
10411         * buffer.C (Buffer): initialize niceFile to true
10412         (makeLaTeXFile):
10413         (makeLinuxDocFile):
10414         (makeDocBookFile): make sure niceFile is true on exit
10415
10416 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10417
10418         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10419
10420 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10421
10422         * LyXSendto.C: remove.
10423         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10424         * lyx_gui.C: remove now-redundant comment.
10425         * ColorHandler.h: remove forward declaration of class WorkArea.
10426         * lyxfunc.C: remove #include "WorkArea.h".
10427
10428 2002-03-07  Juergen Vigna  <jug@sad.it>
10429
10430         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10431         got moved away with the DEPM and also set the inset_owner always
10432         right which before could have been omitted.
10433
10434 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10435
10436         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10437         wanted layout is not found.
10438
10439 2002-03-07  Juergen Vigna  <jug@sad.it>
10440
10441         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10442
10443 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * paragraph.C (breakParagraph): use default layout not layout of
10446         prev paragraph.
10447         (Paragraph): clear ParagraphParameters.
10448
10449 2002-03-06  Juergen Vigna  <jug@sad.it>
10450
10451         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10452         otherwise it would not be a valid lenght. Fixed a special case in
10453         the minipage compatibility read where we end the document with a
10454         minipage.
10455
10456         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10457         was set as it could be 0 for InsetTexts first entry.
10458
10459 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * paragraph.C (writeFile): if layout is empty write out
10462         defaultLayoutName().
10463
10464         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10465         file without named layout we set layout to defaultLayoutName().
10466
10467 2002-03-06  Juergen Vigna  <jug@sad.it>
10468
10469         * CutAndPaste.C (copySelection): set layout for new paragraph.
10470
10471         * text.C (prepareToPrint): leave ERT inset left aligned
10472         (leftMargin): don't indent paragraphs inside ERT insets
10473
10474 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10475
10476         * paragraph.C (breakParagraph): dont call clear do the work manually
10477
10478         * paragraph.[Ch] (clear): remove function
10479
10480 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10481
10482         * paragraph.C (Paragraph): dont call clear, the work has already
10483         been done.
10484
10485         * lyxtextclass.C (operator): assert if n is empty
10486
10487         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10488         work manually instead.
10489
10490 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * BufferView_pimpl.C: protect selectionLost against text == 0
10493
10494 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10495
10496         * text.C (breakParagraph): fix a setting layout to '0' problem.
10497
10498 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10499
10500         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10501         final location of file, for the included files, and graphics.
10502
10503 2002-03-05  Juergen Vigna  <jug@sad.it>
10504
10505         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10506
10507 2002-03-04  Juergen Vigna  <jug@sad.it>
10508
10509         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10510
10511         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10512         last column of multicolumn cells.
10513         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10514
10515 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10516
10517         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10518         file if it doesn't go to a temporary file.
10519
10520         * buffer.C (sgmlOpenTag):
10521         (sgmlCloseTag):  remove extra newline insertion.
10522
10523 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10524
10525         * text.C (getRowNearY): comment out debug msg
10526
10527 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10528
10529         * text2.C: first -> first_y
10530
10531         * text.C (getRowNearY): add some attemts at a possible
10532         optimization, not working.
10533
10534         * tabular.[Ch]: add BufferParams to several function so that newly
10535         created paragraph can be initialized to he default layotu for the
10536         buffers textclass.
10537
10538         * tabular-old.C (ReadOld): add buf->params to call of Init
10539
10540         * screen.C: rename text->first to text->first_y
10541
10542         * paragraph.C (breakParagraph): always set layout in the broken
10543         paragraph
10544
10545         * lyxtextclass.C (Read): remove lowercase
10546         (hasLayout): ditto
10547         (operator): ditto
10548         (delete_layout): ditto
10549
10550         * lyxtext.h: rename first -> first_y
10551
10552         * lyxlayout.C (Read): remove lowercase
10553         (name): ditto
10554         (setName): ditto
10555         (obsoleted_by): ditto
10556
10557         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10558
10559         * buffer.C (insertErtContents): add params are to InsetERT
10560         (parseSingleLyXformat2Token): add code to check if a paragraphs
10561         layout really exist.
10562         (parseSingleLyXformat2Token): add params to several inset
10563         constructors
10564         (asciiParagraph): remove lowercase, do the layout comparisons with
10565         no_case
10566
10567         * BufferView_pimpl.C (cursorNext): first -> first_y
10568         (resizeCurrentBuffer): first -> first_y
10569         (updateScrollbar): first -> first_y
10570         (scrollCB): first -> first_y
10571         (workAreaMotionNotify): first -> first_y
10572         (workAreaButtonPress): first -> first_y
10573         (checkInsetHit): first -> first_y
10574         (cursorPrevious): first -> first_y
10575         (cursorNext): first -> first_y
10576         (Dispatch): add buffer_->params to severl inset contructors
10577
10578 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10579
10580         * lyxlayout.C (Read): remove some debug info that I forgot.
10581
10582         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10583         clean up the code slightly.
10584         (makeLinuxDocFile): ditto
10585         (makeDocBookFile): ditto
10586
10587         * text2.C: layout as string
10588
10589         * text.C: layout as string
10590
10591         * paragraph_pimpl.C: layout as string
10592
10593         * paragraph.[Ch]: layout as string
10594
10595         * lyxtextclasslist.[Ch]: layout as string
10596
10597         * lyxtextclass.[Ch]: layout as string
10598
10599         * lyxtext.h: layout as string
10600
10601         * lyxlayout.[Ch]: layout as string
10602
10603         * lyx_cb.C: layout as string
10604
10605         * bufferview_funcs.C: layout as string
10606
10607         * bufferparams.C: layout as string
10608
10609         * buffer.C: layout as string
10610
10611         * LyXView.[Ch]: layout as string
10612
10613         * LaTeXFeatures.[Ch]: layout as string
10614
10615         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10616
10617         * BufferView_pimpl.C: change current_layout to string, remove
10618         lyx::layout_type.
10619         (Dispatch):
10620         (smartQuote):
10621         (insertInset):
10622         (workAreaButtonRelease): layout as string
10623
10624         * BufferView2.C (unlockInset): adjust
10625
10626         * vspace.C (asLatexCommand): use an explict temp variable.
10627
10628 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * Makefile.am: use FRONTEND_*
10631
10632 2002-03-01  Juergen Vigna  <jug@sad.it>
10633
10634         * tabular.C (SetWidthOfMulticolCell): changed to something better
10635         I hope but still work in progress.
10636         (recalculateMulticolumnsOfColumn): renamed function from
10637         recalculateMulticolCells as it is more appropriate now.
10638         (SetWidthOfCell): calculate multicols better.
10639
10640 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10643
10644         * lyxfunc.C (processKeySym): print sequence also if it is
10645         `deleted' (complete)
10646
10647         * kbsequence.C (print): print sequence even if it is deleted
10648         (complete would be a better word, actually).
10649
10650         * lyxfunc.C (dispatch): print complete options after a prefix key
10651
10652         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10653
10654 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10655
10656         * text2.C (setCharFont): eliminate setCharFont code duplication.
10657
10658 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10659
10660         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10661         LFUN_TABULAR_FEATURE (bug #177)
10662
10663 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10664
10665         * Makefile.am: remove figure.h
10666
10667 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10668
10669         * Bufferview_pimpl.C:
10670         * CutAndPasteC:
10671         * LaTeX.C:
10672         * LyXSendto.C:
10673         * buffer.C:
10674         * bufferlist.C:
10675         * converter.C:
10676         * language.C:
10677         * lyxfunc.C:
10678         * lyxvc.C:
10679         * paragraph.C:
10680         * text.C:
10681         * text2.C: remove #include "lyx_gui_misc.h".
10682
10683         * LaTeX.C: added #include <cstdio>
10684
10685 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10686
10687         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10688         that the paragraph following this one can have.
10689
10690         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10691
10692         * vspace.C (asLatexCommand): fix bogus gcc warning
10693
10694         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10695
10696 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10697
10698         * text2.C (setLayout): get rid of redundant code
10699
10700 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10701
10702         * text2.C (incDepth): make sure depth cannot be increased beyond
10703         reasonable values.
10704
10705 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10706
10707         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10708         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10709
10710         * PainterBase.h (image):
10711         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10712         a LyXImage const *.
10713
10714 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10715
10716         * BufferView.C:
10717         * BufferView.h:
10718         * BufferView_pimpl.C:
10719         * BufferView_pimpl.h:
10720         * LaTeXFeatures.C:
10721         * LyXAction.C:
10722         * LyXView.C:
10723         * Makefile.am:
10724         * UpdateList.h:
10725         * UpdateList.C:
10726         * buffer.C:
10727         * figure.h:
10728         * figureForm.C:
10729         * figureForm.h:
10730         * figure_form.C:
10731         * figure_form.h:
10732         * lyx_cb.C:
10733         * lyx_gui.C:
10734         * lyx_gui_misc.C:
10735         * lyxfunc.C:
10736         * sp_base.h:
10737         * sp_ispell.h:
10738         * sp_pspell.h:
10739         * sp_spell.C: remove fig inset, and the crap house of
10740           cards that follows it
10741
10742 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * Makefile.am:
10745         * lyxserver.C:
10746         * os2_defines.h:
10747         * os2_errortable.h:
10748         * nt_defines.h: move .h into support/
10749
10750         * vms_defines.h: remove
10751
10752         * WorkArea.C: add space in debug output
10753
10754         * text2.C:
10755         * paragraph.C:
10756         * buffer.C: add WITH_WARNINGS
10757
10758         * vc-backend.h:
10759         * vc-backend.C:
10760         * bufferlist.C: s/retrive/retrieve/, add docs
10761
10762         * vspace.h:
10763         * vspace.C:
10764         * kbmap.h:
10765         * lyxlength.h:
10766         * lyxgluelength.h:
10767         * length_common.h:
10768         * chset.h:
10769         * chset.C: add docs
10770
10771         * lyxgui.C: add ID to X error handler
10772
10773         * lyxtestclass.c: fix typo
10774
10775 2002-02-26  Juergen Vigna  <jug@sad.it>
10776
10777         * tabular_funcs.C (write_attribute): changed so that some default
10778         attributes are not written at all.
10779         (getTokenValue): set default values before trying to read the
10780         value so we have the return value always set as default if we don't
10781         find the token we search for.
10782
10783         * tabular.C (Write): write bools as bools not as strings!
10784
10785 2002-02-22  Juergen Vigna  <jug@sad.it>
10786
10787         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10788         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10789
10790         * text.C (leftMargin): don't add an indent for paragraphs inside
10791         tabular cells (fix #208).
10792
10793 2002-02-21  José Matos  <jamatos@fep.up.pt>
10794
10795         * tabular.C (docBook): fixed support for long tables.
10796
10797 2002-02-20  Juergen Vigna  <jug@sad.it>
10798
10799         * text2.C (getFont): get the drawing font of the Inset if this
10800         paragraph is inside an inset (only important for InsetERT for now).
10801
10802         * buffer.C (insertErtContents): use new lanugage params in ERT
10803         constructor.
10804
10805         * CutAndPaste.C: commenting out seemingly uneeded code.
10806
10807 2002-02-19  Allan Rae  <rae@lyx.org>
10808
10809         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10810         Iterators might be simple to use but they also get invalidated.
10811         (removeAutoInsets): renamed saved cursor tracking variables and added
10812         some comments to clarify what everything does.
10813
10814 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10815
10816         * Chktex.C:
10817         * LaTeX.C:
10818         * LyXSendto.C:
10819         * converter.C:
10820         * lyx_cb.C:
10821         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10822         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10823
10824         * lyxfunc.C:
10825         * vc-backend.h: remove #include "support/syscall.h"
10826
10827         * LaTeX.C:
10828         * LyXSendto.C:
10829         * converter.C: rearrange #includes in Lars' approved fashion.
10830
10831         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10832         forward declare class Timeout in the header file.
10833
10834         * XFormsView.C: changes due to the above.
10835
10836         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10837         similar to LyXView.
10838
10839         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10840         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10841
10842 2002-02-18  José Matos  <jamatos@fep.up.pt>
10843
10844         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10845         insets contents.
10846
10847 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10848
10849         * a lot of small ws changes
10850         * add a lot of using std::XXX
10851         * use std construcs some places where approp.
10852         * use some exisint stuff from lyxfunctional where approp.
10853         * Make file changes to use partial linking (lets test this now...)
10854
10855 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10856
10857         * Chktex.C:
10858         * buffer.C:
10859         remove #include "support/syscontr.h" as it's redundant. Always has been.
10860
10861         * Chktex.C:
10862         * LaTeX.C:
10863         * LyXSendto.C:
10864         * converter.C:
10865         * lyx_cb.C:
10866         * vc-backend.C:
10867         change Systemcalls::System to Systemcalls::Wait and
10868         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10869         No change of functionality, just reflects the stripped down Systemcalls
10870         class.
10871
10872 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10873
10874         * debug.[Ch]: add a GRAPHICS type to the enum.
10875
10876 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10879
10880         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10881         there is an inset.
10882
10883 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10884
10885         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10886         match the changes below.
10887
10888         * text2.C (toggleInset): if there is not editable inset at cursor
10889         position, try to see if cursor is _inside_ a collapsable inset
10890         and close it.
10891
10892 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10895         document menu has a nice checkbox
10896
10897 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10898
10899         * lyxlength.C (asLatexString): change PW to output as percent of
10900         \textwidth.
10901
10902         * lengthcommon.C: change '%' to 't%'
10903
10904         * lyxfunc.C (dispatch): a few comments from Martin
10905
10906 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * WorkArea.h:
10909         * WorkArea.C:
10910         * BufferView_pimpl.h:
10911         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10912           the X selection.
10913
10914 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10915
10916         * vspace.C (inPixels): fix compiler warning
10917
10918 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * lyxfunc.C (getStatus): fix status message for disabled commands.
10921
10922 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10923
10924         * BufferView_pimpl.C: fix crash on close buffer
10925         during selection (#227)
10926
10927 2002-01-27  Herbert Voss  <voss@lyx.org>
10928
10929         * buffer.C: link old Figure to new graphic inset
10930
10931 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10932
10933         * FontLoader.C (getFontinfo): Change the latex font names in order
10934         to match the names of type1inst.
10935
10936 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10937
10938         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10939
10940         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10941         (extchanged): ditto
10942         (ext_exist): ditto
10943         (remove_files_with_extension): ditto
10944         (remove_file): ditto
10945         (write): ditto
10946
10947         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10948         document is smaller than the work area height. Do not initialize
10949         static variables to 0.
10950
10951 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10954
10955         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10956         LFUN_LAYOUT_PARAGRAPHS.
10957
10958         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10959         tabular. It is possible to provide a possible cell, which will
10960         typically be the actcell from the corresponding insettabular
10961
10962         * lyxfunc.C (getStatus): small cleanup; disable
10963         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10964         true
10965
10966 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10967
10968         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10969
10970         * paragraph.C (startTeXParParams):
10971         (endTeXParParams): new methods. The LaTeX code to
10972         start/end paragraph formatting
10973         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10974         empty (fixes bug #200)
10975
10976         * vspace.C (inPixels): adapt to the change below
10977         (inPixels): [later] more cleanups (remove unused variables)
10978
10979         * lyxlength.C (inPixels): change to use a width and a height as
10980         parameter.
10981
10982 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10983
10984         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10985         Replaced with \paperwidth
10986
10987         * DepTable.C (insert): add std:: qualifier
10988
10989 2002-01-18  Allan Rae  <rae@lyx.org>
10990
10991         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10992         updated also?
10993
10994         * text.C (drawInset): Turned out I didn't know enough about how
10995         rebreaking worked.  This fixes most of the redraw problems.  I see
10996         an occasional cursor trail when a line is broken now and the cursor
10997         placement can seem out by a few pixels also after a rebreak.
10998
10999 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11000
11001         * buffer.C (parseSingleLyXformat2Token): update because minipage
11002         width is now a LyXLength
11003
11004         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11005
11006         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11007         math insets
11008
11009 2002-01-17  Juergen Vigna  <jug@sad.it>
11010
11011         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11012
11013         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11014         is set correctly and the inset is updated correctly.
11015
11016 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11017
11018         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11019         the beginning of the loop.
11020
11021 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11022
11023         * lyxrc.C: improve help for use_scalable_fonts
11024
11025 2002-01-17  Allan Rae  <rae@lyx.org>
11026
11027         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11028
11029 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11030
11031         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11032         make sure to set their inset_owner to the right value (bug #171)
11033
11034 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11035
11036         * DepTable.h
11037         * DepTable.C: Implement mtime checking to reduce time spent doing
11038         CRCs.
11039
11040 2002-01-16  Juergen Vigna  <jug@sad.it>
11041
11042         * tabular.C (GetAdditionalHeight): one of error fixed.
11043
11044         * lyxrc.C (output): small fix in writing use_pspell.
11045
11046 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11047
11048         * sp_base.h: #include LString.h
11049
11050 2002-01-16  Allan Rae  <rae@lyx.org>
11051
11052         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11053         Can someone check this please?
11054
11055         * text.C (drawInset): It was possible that p.row would be removed by
11056         breakAgainOneRow upsetting a few other settings.  There may be another
11057         small tweak possible by setting need_break_row = 0 when p.row has been
11058         removed but I don't know enough about the logic here.
11059
11060 2002-01-15  Allan Rae  <rae@lyx.org>
11061
11062         * text.C (insertChar): removed conditional truism.
11063
11064         * BufferView2.C (removeAutoInsets): More tweaks.
11065         cur_par_prev could be a stray pointer.  Check for trailing empty line
11066         in case last line was cur_par and only had an error inset on it.
11067
11068 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11071         absolute
11072
11073         * vc-backend.C (most methods):
11074         * exporter.C (Export):
11075         * converter.C (convert):
11076         (runLaTeX):
11077         * LyXSendto.C (SendtoApplyCB):
11078         * lyxfunc.C (dispatch):
11079         (menuNew):
11080         (open):
11081         (doImport):
11082         * lyx_cb.C (AutoSave):
11083         (InsertAsciiFile):
11084         * BufferView_pimpl.C (MenuInsertLyXFile):
11085         * buffer.C (runChktex): use Buffer::filePath().
11086
11087         * buffer.h: rename filename to filename_; rename filepath to
11088         filepath_ and make it private
11089         (filePath): new method
11090
11091         * buffer.C (writeFile): use fileName()
11092         (getLatexName):
11093
11094         * lyx_main.C (init): fix starting  of LyX when the binary is a
11095         link from so,ewhere else.
11096
11097         * minibuffer.C: include <cctype> for isprint
11098
11099 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11100
11101         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11102         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11103         name clash with InsetCollapsable's width function.
11104
11105 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * lastfiles.C: include <iterator>
11108
11109 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11110
11111         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11112         std::count.
11113
11114         * buffer.C (makeLaTeXFile): ditto.
11115         Also make loop operation more transparent.
11116
11117 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11118
11119         * ToolbarDefaults.C: remove trailing comma closing namespace.
11120
11121         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11122
11123         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11124         as in WorkArea.
11125
11126         * trans.C (Load): comment out unused variable, allowed.
11127
11128 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * minibuffer.[Ch] (append_char): new method to recieve input from the
11131         drop-down completion browser. If a key was pressed, then recieve this
11132         char and append it to the existing string.
11133         (peek_event): modify the positioning data passed to the completion
11134         browser so that it can be placed above the minibuffer rather than below.
11135 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * LyXAction.C (init): alloe error-next for readonly documents.
11138
11139         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11140         count.
11141
11142 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11143
11144         * bufferlist.C (readFile): create the buffer _after_ checking that
11145         the file exists.
11146
11147         * lyxfunc.C (verboseDispatch): fix handling of arguments
11148
11149         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11150
11151         * lyxrc.C: use string::erase() instead of initializing to "".
11152
11153
11154 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11155
11156         * BufferView_pimpl.h:
11157         * BufferView_pimpl.C:
11158         * WorkArea.h:
11159         * WorkArea.C:
11160         * text2.C: tell X when we have made a selection for copying
11161
11162 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * BufferView_pimpl.C (MenuInsertLyXFile):
11165         * lyxfunc.C (menuNew):
11166         (open):
11167         (doImport): add shortcuts to directory buttons
11168
11169         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11170         open a float)
11171
11172         * lyxfunc.C (setStatusMessage):
11173         (getStatusMessage): new methods
11174         (getStatus):use setStatusMessage instead of setErrorMessage
11175         (dispatch): when function is disabled, set error message here
11176         [instead of in getStatus previously]
11177
11178         * BufferView_pimpl.C (workAreaButtonRelease): update
11179         toolbar/menubar here too.
11180
11181 2002-01-13  Allan Rae  <rae@lyx.org>
11182
11183         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11184         Now seems indestructible.  Remaining task is to audit all other
11185         code affected by deleteEmptyParagraphMechanism.  One small quirk
11186         left is that an empty document with an error in the preamble can
11187         be made to report an error but no error box appears.  I don't know
11188         where it goes.
11189         (removeAutoInsets): Improved comments.
11190
11191 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11192
11193         * Thesaurus.h:
11194         * Thesaurus.C: update for Aiksaurus 0.14
11195
11196 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * text2.C (firstParagraph): removed member function, all uses
11199         replaces with ownerParagraph
11200         (redoParagraphs): here
11201         (updateInset): here
11202         (toggleAppendix): here
11203         * BufferView2.C (insertErrors): here
11204         (setCursorFromRow): here
11205
11206 2002-01-13  Allan Rae  <rae@lyx.org>
11207
11208         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11209         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11210         There is still a way to segfault this although you may have to do this
11211         multiple times: Have an InsetERT with an unknown command in it.
11212         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11213         <down-arrow>, <Enter> again, View->DVI, BANG!
11214
11215         * text2.C (setCursor):
11216         (deleteEmptyParagraphMechanism):
11217         * lyxtext.h (setCursor):
11218         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11219         Making use of the return value may help fix other bugs.
11220
11221 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11224
11225         * LyXView.C (updateMenubar): call MenuBar::update here
11226         (updateToolbar): but not here
11227         (showState): do not update toolbar/menubar
11228
11229         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11230         should need to care about that.
11231
11232         * lyxfunc.C (verboseDispatch): simplify a bit
11233         (getStatus): have a version which takes a pseudoaction, and
11234         another which requires a (kb_action,string).
11235
11236         * LyXAction.C (retrieveActionArg): make it work also when action
11237         is not a pseudo-action.
11238         (getActionName): simplify a bit
11239         (helpText):
11240
11241 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * lyxfunc.C (verboseDispatch): new families of methods with
11244         several ways to specify a command and a bool to indicate whether
11245         the command name and shortcut should be displayed in minibuffer
11246         (eventually, we could extend that to a finer bitmask like
11247         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11248         (dispatch): the pristine dispatch command which just, well,
11249         dispatchs! Note it still sets its result to minibuffer; I'm not
11250         sure we want that.
11251
11252         * lyxfunc.h: remove setHintMessage
11253
11254         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11255
11256 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11257
11258         * BufferView_pimpl.C (specialChar): delete new inset if we have
11259         not been able to insert it.
11260
11261         * kbmap.C: revert to using int instead of kb_action, since all we
11262         are dealing with is pseudo-actions.
11263
11264         * LyXAction.C (searchActionArg): change to return int instead of
11265         kb_action, since the result is a pseudoaction.
11266
11267 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11268
11269         * buffer.C (insertErtContents): Fix (partially) the font bug.
11270
11271 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11272
11273         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11274         as the other one is broken on my machine!
11275
11276 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11277
11278         * commandtags.h:
11279         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11280
11281 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11282
11283         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11284         reflect their actual use. Provide compatibility code for older lyxrc
11285         files.
11286
11287         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11288         FL_NORMAL_STYLE.
11289         change names of popup font variables in line with the changes to lyxrc.C
11290
11291 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11292
11293         * buffer.C (asciiParagraph): avoid outputing a word twice after
11294         an inset.
11295
11296         * lyxrc.C (getDescription): document that document_path and
11297         template_path can be empty.
11298
11299 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * LaTeXFeatures.C (getMacros):
11302         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11303
11304         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11305
11306         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11307         getPackages.
11308         (getPackages): rename feature "floats" to "float". Use an array to
11309         iterate over 'simple' features (i.e. just a \usepackage). Add
11310         handling of "amsmath" (renamed from "amsstyle").
11311
11312 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11313
11314         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11315         features list.
11316
11317 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11318
11319         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11320         FuncStaus::FuncStatus & FuncStaus::some_method().
11321
11322 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11323
11324         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11325         of the func_satus stuff. Edited and massaged in various ways by
11326         JMarc.
11327
11328         * lyxfunc.C (getStatus): use FuncStatus
11329
11330 2002-01-08  Juergen Vigna  <jug@sad.it>
11331
11332         * text.C (nextBreakPoint): use function Inset::isChar().
11333
11334         * paragraph.C (TeXOnePar): use function
11335         Inset::forceDefaultParagraphs.
11336
11337         * buffer.C (latexParagraphs): use function
11338         Inset::forceDefaultParagraphs.
11339
11340 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11341
11342         * lyx_gui.C (init): set the style of the menu popups to
11343         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11344
11345 2002-01-07  Juergen Vigna  <jug@sad.it>
11346
11347         * text.C (setHeightOfRow): small fix
11348         (prepareToPrint): don't look at alignment if we don't have the place
11349         for doing it.
11350
11351 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11352
11353         * box.C: New file. Move the Box methods and functions out of box.h,
11354         following Lars' suggestion.
11355
11356 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11357
11358         * box.h: #include "support/LOstream.h", needed for inlined function.
11359
11360         * lyxtextclass.C:
11361         * lyxtextclasslist.C: added some using std declarations.
11362
11363 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * box.h: make signed dimensions to allow insets wider than
11366           the screen (bug #162)
11367
11368         * BufferView_pimpl.C: add some insetHit debug
11369
11370 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11371
11372         * vc-backend.C: add FIXME
11373
11374 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11375
11376         * lyxfunc.C (getStatus): enable code for showing math font status
11377         in toolbar/menu.
11378
11379 2002-01-07  Juergen Vigna  <jug@sad.it>
11380
11381         * text.C (nextBreakPoint): removed debug output not needed anymore.
11382
11383 2002-01-06  Juergen Vigna  <jug@sad.it>
11384
11385         * text.C (nextBreakPoint): fixed up this function we had this bug
11386         since ever but now hopefully we break row better.
11387         (insertChar): we have to check if an inset is the next char as it
11388         could now happen that a large inset is causing a break.
11389
11390 2002-01-05  Juergen Vigna  <jug@sad.it>
11391
11392         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11393         if it doesn't like to be drawed.
11394
11395 2002-01-04  Juergen Vigna  <jug@sad.it>
11396
11397         * BufferView2.C (lockInset): forgot to set a cursor.
11398
11399         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11400
11401 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11402
11403         * FormMathsPanel.C:
11404         * FormMathsPanel.h
11405         * MathsSymbols.C:
11406         * form_maths_panel.C:
11407         * form_maths_panel.h:
11408         * form_maths_panel.fd: implemented sub- and super- buttons in math
11409         panel.
11410
11411         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11412         (or ^ space) to be used as in TeX (req'd by André).
11413
11414         * lyxfunc.C: Allow ^ and _ again to be used both as
11415         super/subscript (mathed) and as themselves (in text).
11416
11417 2002-01-03  Allan Rae  <rae@lyx.org>
11418
11419         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11420         "LyX" or the filename of the current buffer if it has one.  This is a
11421         modified form of John Levon's patch.
11422
11423         * XFormsView.C (setWindowTitle): also set icon title.
11424
11425         * LyXView.h (setWindowTitle): signature changed.
11426         * XFormsView.h (setWindowTitle): ditto.
11427
11428 2002-01-02  Juergen Vigna  <jug@sad.it>
11429
11430         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11431
11432 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * screen.C (topCursorVisible): introduce a temp var for
11435         text->cursor.row(), handle the case where this row is null. (kindo
11436         hachish)
11437
11438         * text2.C (setCursor): add a couple of asserts.
11439
11440         * paragraph.h (inset_iterator): add -> operator
11441
11442         * paragraph.[Ch] (autoDeleteInsets): remove member function
11443
11444         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11445         cursor pos correctly and handle inset deletion by itself.
11446         (insertErrors): move iterator declaration out of for expression
11447
11448         * lyxtextclass.C: add <algorithm>
11449
11450         * Makefile.am: added the new files to sources, removed layout.C
11451
11452         * layout.C: removed file
11453
11454         * layout.h: remove LYX_DUMMY_LAYOUT
11455
11456         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11457         layout.
11458
11459         * lyxlayout.[Ch]:
11460         * lyxtextclass.[Ch]:
11461         * lyxtextclasslist.[Ch]: new files
11462
11463         * include order changes to a lot of files, also changes because of
11464         the six new files.
11465
11466 2001-12-27  Juergen Vigna  <jug@sad.it>
11467
11468         * buffer.C (asciiParagraph): more fixes.
11469
11470         * tabular.C (ascii): make ascii export support export of only the
11471         data separated by a column-delimiter.
11472         (ascii): better support for ascii export.
11473
11474         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11475
11476 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11477
11478         * tabular_funcs.C: use a "using std::getline" instead of the
11479         previous fix from Angus (necessary for cxx + lyxstring)
11480
11481 2001-12-24  Juergen Vigna  <jug@sad.it>
11482
11483         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11484
11485         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11486         problems. First check a minipage also if we have some ert-contents
11487         (not only on par->size(), second set the right depth of the paragraph
11488         on the relink to the root-paragraph-list!
11489
11490         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11491         which then did not anymore update the main paragraphs on undo/redo!
11492
11493 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11494
11495         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11496         code. Support all font-changing funcs (even those which are not in
11497         menu currently). Support for reporting font settings in
11498         mathed (disabled until Andre provides a function on mathed's side).
11499
11500         * func_status.h (toggle): small helper function to set toggle
11501         state on a flag.
11502
11503 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11504
11505         * tabular_funcs.C: getline -> std::getline
11506
11507 2001-12-21  Juergen Vigna  <jug@sad.it>
11508
11509         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11510         accessed and could be 0 (I couldn't generate this but it seems
11511         Michael could!).
11512
11513 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11516         * tabular_funcs.h: here and include iosfwd
11517
11518 2001-12-20  Juergen Vigna  <jug@sad.it>
11519
11520         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11521         inside inset but undo_par was.
11522
11523 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * Thesaurus.C: always include <config.h> in sources.
11526
11527         * Painter.h:
11528         * lyxlookup.h:
11529         * box.h: do not include <config.h> in header files
11530
11531         * text.C (paintLastRow): remove unused variable
11532
11533         * text.C (transformChar):
11534         (insertChar):
11535         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11536
11537         * Painter.C (text):
11538         * font.C (width): rewrite to use uppercase() instead of
11539         islower/toupper.
11540
11541         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11542
11543 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * lyxfind.C: clean up of find failure position change
11546
11547 2001-12-20  Juergen Vigna  <jug@sad.it>
11548
11549         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11550
11551         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11552         (TeXRow): added to LaTeX a single tabular row.
11553         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11554         (Latex): simplified and finally good LT-h/f support.
11555         (various_functions): just small adaptions for LT-h/f support.
11556
11557         * tabular_funcs.[hC]: added and moved here all not classfunctions
11558         of LyXTabular.
11559
11560 2001-12-19  Juergen Vigna  <jug@sad.it>
11561
11562         * tabular.[Ch]: better support for longtabular options (not finished
11563         yet!)
11564
11565 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11566
11567         * text.C (paintLastRow): use the label font instead of the font of
11568         the last character to compute the size of *_BOX. This makes more
11569         sense and avoids a crash with empty paragraphs.
11570         Use Painter::rectangle to draw EMPTY_BOX.
11571
11572 2001-12-19  Juergen Vigna  <jug@sad.it>
11573
11574         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11575         the paragraphs if the replaced paragraph is not the first one!
11576         Tried to delete not used paragraphs but does not work yet so for
11577         now it's inside #ifdef's and by default off!
11578
11579 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11580
11581         * MenuBackend.C: include "lyx_main.h" instead of declaring
11582         lastfiles (actually was declared as LastFiles* instead of a
11583         scoped_ptr).
11584
11585 2001-12-17  Juergen Vigna  <jug@sad.it>
11586
11587         * tabular.C (AppendColumn): applied John's fix
11588
11589 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * BufferView.h:
11592         * BufferView.C:
11593         * BufferView_pimpl.h:
11594         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11595
11596         * Makefile.am:
11597         * box.h: new start of class for above
11598
11599         * lyxfunc.C: ignore space-only minibuffer dispatches.
11600           Show the command name when it doesn't exist
11601
11602         * minibuffer.C: don't add empty lines to the history
11603
11604         * minibuffer.C: add a space on dropdown completion
11605
11606 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * text.C: fix line above/below drawing in insets
11609
11610 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * lyxlength.C (LyXLength): Initialize private variables.
11613
11614 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11615
11616         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11617         when inserting error insets.
11618
11619 2001-12-13  Juergen Vigna  <jug@sad.it>
11620
11621         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11622         actually sometimes the before-paragraph.
11623         (setUndo): don't clear the redostack if we're not actually undoing!
11624
11625 2001-12-06  Juergen Vigna  <jug@sad.it>
11626
11627         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11628         and fixed redoing of main paragraph, so we can use it now ;)
11629
11630         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11631
11632 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11633
11634         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11635         Juergen's request
11636
11637 2001-12-13  André Pönitz <poenitz@gmx.net>
11638
11639         * undostack.[Ch]:
11640         * undo_func.C: minor cleanup
11641
11642 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11643
11644         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11645         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11646         font in urw-fonts package which is marked as -urw-fontspecific and
11647         does not work (incidentally, changing the encoding in the
11648         fonts.dir of this package to -adobe-fontspecific fixes the
11649         problem).
11650
11651         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11652         is a crash when undoing first paragraph (Juergen, please take a
11653         look). THis does not mean the undo fix is wrong, just that it
11654         uncovers problems.
11655
11656         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11657         the (Paragraph*) version when needed instead of duplicating the
11658         code.
11659
11660         * text.C (workWidth): use Inset::parOwner to find out where the
11661         inset has been inserted. This is a huge performance gain for large
11662         documents with lots of insets. If Inset::parOwner is not set, fall
11663         back on the brute force method
11664
11665         * paragraph_pimpl.C (insertInset):
11666         * paragraph.C (Paragraph):
11667         (cutIntoMinibuffer): set parOwner of insets when
11668         inserting/removing them
11669
11670         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11671
11672 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11673
11674         * commandtags.h:
11675         * LyXAction.C:
11676         * lyx_main.C:
11677         * lyxfunc.C:
11678         * mathed/formulabase.C:
11679         * mathed/math_cursor.[Ch]:
11680         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11681
11682
11683 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * lyxlength.[Ch] (operator!=): new function
11686
11687 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11688
11689         * text.C (workWidth): use Inset::parOwner to find out where the
11690         inset has been inserted. This is a huge performance gain for large
11691         documents with lots of insets. If Inset::parOwner is not set, fall
11692         back on the brute force method
11693
11694         * paragraph_pimpl.C (insertInset):
11695         * paragraph.C (Paragraph):
11696         (cutIntoMinibuffer): set parOwner of insets when
11697         inserting/removing them
11698
11699         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11700
11701 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11702
11703         * tabular-old.C (getTokenValue):
11704         * tabular.C (getTokenValue):
11705         (write_attribute): new versions for LyXLength
11706         (everywhere): adjust the use of widths
11707
11708         * tabular.h: change the type of widths from string to LyXLength
11709
11710 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11711
11712         * paragraph.C: fixed missing line number count when exporting
11713         Environments to LaTeX file
11714
11715         * buffer.C: added informational message for checking line numbers.
11716
11717 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11720         paragraph, do the 'double space' part, but not the 'empty
11721         paragraph' one.
11722
11723         * text.C (workWidth): small optimization
11724         (getLengthMarkerHeight): use minimal size for negative lengths.
11725
11726 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11727
11728         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11729
11730         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11731
11732 2001-12-11  André Pönitz <poenitz@gmx.net>
11733
11734         * FontLoader.C:
11735         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11736
11737 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * text2.C: keep selection on a setFont()
11740
11741 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * lyx_cb.C: another bv->text misuse, from insert label
11744
11745 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * kbsequence.h:
11748         * kbsequence.C: re-instate nmodifier mask
11749
11750 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11751
11752         * lyx_main.h: make lyxGUI private.
11753
11754 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * lyxfind.C: place the cursor correctly on failed search
11757
11758 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11759
11760         * text.C (getLengthMarkerHeight): for small heights, the arrows
11761         are not always on top/bottom of the text
11762         (drawLengthMarker): smaller arrows; take the left margin in
11763         account; draw also vfills.
11764         (paintFirstRow):
11765         (paintLastRow): remove special code for vfill and standard spaces,
11766         since everything is handled in drawLengthMarker now.
11767
11768 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11769
11770         * buffer.C (insertErtContents): try to handle font and language
11771         interaction a bit better.g
11772
11773         * ColorHandler.C (updateColor): change the hash to cover the whole
11774         LColor enum, ws cleanup
11775         (getGCLinepars): ditto
11776         (getGCLinepars): only lookup in the linecache once.
11777
11778 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11779
11780         * iterators.C (operator++): Make the iterator more robust
11781
11782         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11783         (John's patch)
11784         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11785
11786 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyxtext.h:
11789         * text.C: better added space drawing
11790
11791 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11792
11793         * LyXView.C:
11794         * BufferView2.C: fix layout combo update on inset unlock
11795
11796 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * Makefile.am: don't compile unused files
11799
11800 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * lyxfunc.C:
11803         * commandtags.h:
11804         * LyXAction.C: remove old LFUN_LAYOUTNO
11805
11806 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * paragraph_pimpl.h:
11809         * paragraph_pimpl.C: isTextAt() doesn't need font param
11810
11811 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * lyxlex.h:
11814         * lyxlex.C: little cleanup
11815
11816 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * BufferView_pimpl.C: fix insertAscii for insets
11819
11820 2001-12-05  Juergen Vigna  <jug@sad.it>
11821
11822         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11823         set the right font on the "multi" paragraph paste!
11824
11825 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * trans_decl.h:
11828         * trans_mgr.[Ch]:
11829         * trans.[Ch]:
11830         * lyxgluelength.C:
11831         * lyxlength.C: remove out-commented code.
11832
11833         * BufferView_pimpl:
11834         * CutAndPaste.C:
11835         * DepTable.C:
11836         * buffer.C:
11837         * chset.C:
11838         * lastfiles.C:
11839         * lyxlex.C:
11840         * lyxlex_pimpl.C:
11841         * lyxserver.C:
11842         * screen.C:
11843         * tabular-old.C:
11844         * tabular.C:
11845         * text.C:
11846         * trans_mgr.C:
11847         * vc-backend.C: change "while(" to "while ("
11848
11849         * lyxlength.[Ch]: add zero function to check if length is zero or
11850         not
11851         * lyxgluelength.C: use it
11852
11853 2001-12-05  Allan Rae  <rae@lyx.org>
11854
11855         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11856         Works for 2.95.3, from what I understand of Garst's reports this should
11857         work for other g++ versions.  We're screwed if the abs(int) definition
11858         changed between bugfix releases of gcc.
11859
11860 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * text.C: fix chapter label offset !
11863
11864 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * lyxtext.h:
11867         * text.C: fix hfill at end of line, clean up
11868
11869 2001-12-04  Juergen Vigna  <jug@sad.it>
11870
11871         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11872         that we force an update of the inset and it's owners if neccessary.
11873
11874 2001-12-03  Juergen Vigna  <jug@sad.it>
11875
11876         * text.C (rowLast): simplified code
11877
11878 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * lyxfunc.C: fix show options on timeout
11881
11882 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * screen.C (topCursorVisible): scroll half a page when the cursor
11885         reached top of bottom of screen
11886
11887 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * minibuffer.C: deactivate on loss of focus
11890
11891 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11892
11893         * vspace.[Ch] (operator!=): add operator.
11894
11895 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * BufferView_pimpl.C: refuse to open an inset when
11898         there's a selection.
11899
11900 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11901
11902         * BufferView_pimpl.C: allow to click on RHS of full row insets
11903
11904 2001-11-30  Juergen Vigna  <jug@sad.it>
11905
11906         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11907         insets for undo reasons.
11908
11909 2001-11-28  André Pönitz <poenitz@gmx.net>
11910
11911         * vspace.[Ch]: cosmetical changes
11912
11913 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * LyXAction.h:
11916         * LyXAction.C:
11917         * lyxfunc.h:
11918         * lyxfunc.C:
11919         * kbmap.h:
11920         * kbmap.C:
11921         * lyxrc.C:
11922         * kbsequence.h:
11923         * kbsequence.C: part re-write of old kb code
11924
11925         * Painter.C:
11926         * WorkArea.C: remove Lgb_bug_find_hack
11927
11928 2001-11-30  José Matos <jamatos@fep.up.pt>
11929
11930         * buffer.C (makeDocBookFile): add a comment to point a hack.
11931         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11932         Fixed a double write of labels.
11933
11934 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11935
11936         * LaTeX.C:
11937         * LaTeX.h Fixed bug in LaTeX class where it would not
11938         re-run latex if no depfiles were changed, but the .dvi was removed.
11939
11940 2001-11-28  André Pönitz <poenitz@gmx.net>
11941
11942         * all the files from the change on 2001/11/26:
11943         use lyx::layout_type instead of LyXTextClass::size_type
11944         use lyx::textclass_type instead of LyXTextClassList::size_type
11945
11946 2001-11-29  Juergen Vigna  <jug@sad.it>
11947
11948         * text.C: added support for paragraph::isFreeSpacing()
11949
11950         * buffer.C: same as above
11951
11952         * paragraph.h: inserted isFreeSpacing() function to enable
11953         FreeSpacing inside InsetERT.
11954
11955         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11956         of the paragraph's in the cut/copy buffer to 0!
11957
11958         * text2.C (removeRow): remove the assert as it can!
11959
11960         * lyxtext.h: added helper function firstRow returning firstrow and
11961         made firstrow private again.
11962
11963         * BufferView2.C (lockInset): don't relock if we're already locked!
11964
11965         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11966         the only paragraph.
11967         (removeRow): added Assert::(firstrow)
11968
11969         * debug.C: forgot to add INSETTEXT here.
11970
11971 2001-11-28  Juergen Vigna  <jug@sad.it>
11972
11973         * sp_spell.C (initialize): changed error text to more general
11974         spellchecker command use (not only ispell!)
11975
11976         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11977
11978         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11979
11980 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11981
11982         * vspace.C: initialise lyxgluelength on failure
11983
11984 2001-11-28  Allan Rae  <rae@lyx.org>
11985
11986         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11987         declaration & definition that looks like a function declaration.
11988
11989 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11990
11991         * BufferView2.C (copy):
11992         (copyEnvironment): do not clear the selection when doing a copy.
11993
11994         * text.C (paintFirstRow): compilation fix
11995
11996 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11997
11998         * tabular.C (Latex): correct line count when writing latex.
11999
12000 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * paragraph_pimpl.h:
12003         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12004           bug a bit
12005
12006 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * text.C:
12009         * LColor.h:
12010         * LColor.C: change vfillline->added_space
12011
12012         * text.C: add markers and text for added space
12013
12014         * vspace.C: fix comment
12015
12016 2001-11-28  André Pönitz <poenitz@gmx.net>
12017
12018         * paragraph.C: whitespace changes
12019         * all the other files from the change on 2001/11/26:
12020         change *::pos_type into lyx::pos_type
12021
12022 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12023
12024         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12025         language of the document when inserting error insets.
12026
12027 2001-11-26  André Pönitz <poenitz@gmx.net>
12028
12029         * BufferView_pimpl.[Ch]:
12030         *       CutAndPaste.C:
12031         * buffer.[Ch]:
12032         * lyxcursor.[Ch]:
12033         * lyxfind.C:
12034         * lyxfunc.C:
12035         * lyxrow.[Ch]:
12036         * paragraph.[Ch]:
12037         * paragraph_pimpl.[Ch]:
12038         * sp_spell.C:
12039         * text.C:
12040         * text2.C: reduce header dependencies, introduce type for positions
12041
12042 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * <various>: change to use Alert.h
12045
12046 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12047
12048         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12049         when encountering an unknown token.
12050         (readLyXformat2): Show an error message if there were unknown tokens.
12051
12052 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * BufferView2.C:
12055         * BufferView_pimpl.C:
12056         * buffer.C:
12057         * paragraph.h:
12058         * text.C:
12059         * text2.C: use par->isInset()
12060
12061 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * paragraph_pimpl.h:
12064         * paragraph_pimpl.C: cleanup
12065
12066 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12067
12068         * text2.C (removeRow):
12069         * text.C (setHeightOfRow): remove useless (and costly) call to
12070         getRow.
12071
12072 2001-11-20  Allan Rae  <rae@lyx.org>
12073
12074         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12075         Now need Inset*::checkInsertChar() to return true for appropriate
12076         cases so that the characters in the minibuffer will actually be
12077         inserted.
12078
12079 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12080
12081         * text.C: change the order of the includes.
12082         (workWidth): initialize it at once.
12083         (workWidth): make maxw unsigned
12084         (setHeightOfRow): remove unused variable (inset)
12085         (selectSelectedWord): remove unused variable (inset)
12086         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12087
12088 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12089
12090         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12091         server is not running.
12092         (openConnection):
12093         (closeConnection): add debug info when server is disabled.
12094
12095         * ColorHandler.C (getGCForeground): send debug message to GUI
12096         channel.
12097
12098         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12099
12100         * kbmap.C (bind): modify because return conventions of
12101         kb_sequence::parse have changed.
12102
12103         * kbsequence.C (parse): only ignore spaces and not any stupid
12104         control character. This avoids tests like s[i] <= ' ', which are
12105         guaranteed to fail with 8bit characters and signed chars.
12106         Change return code to string::npos when there have been no error
12107         (0 was a bad idea when error is at first character)
12108
12109 2001-11-14  José Matos  <jamatos@fep.up.pt>
12110
12111         * buffer.h:
12112         * buffer.C (simpleDocBookOnePar): removed unused argument.
12113
12114 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12115
12116         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12117         insets which are part of a word. Paragraph::isLetter takes care of
12118         that now. Use Paragraph::isInset to identify insets.
12119         (selectSelectedWord): do not test for hyphenation break.
12120
12121         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12122         that protected spaces are considered as spaces.
12123
12124         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12125         Inset::isLetter.
12126
12127 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * lyxserver.h:
12130         * lyxserver.C: fix it. and small cleanup.
12131
12132 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * BufferView_pimpl.C: use inline helpers
12135
12136         * LaTeXFeatures.h:
12137         * LaTeXFeatures.C: fix typos
12138
12139         * Spacing.h:
12140         * Spacing.C: move spacing_string into class
12141
12142         * ToolbarDefaults.C: move stuff into namespace anon
12143
12144         * layout.h: update enum
12145
12146         * lyxfunc.C: use better debug
12147
12148         * minibuffer.h: fix typo
12149
12150         * debug.h:
12151         * debug.C:
12152         * WorkArea.C: add and use Debug::WORKAREA
12153
12154         * lyxtext.h:
12155         * text.C:
12156         * text2.C: code re-organisation, inline helpers
12157
12158 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12159
12160         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12161         std::vector.empty().
12162
12163 2001-11-09  Allan Rae  <rae@lyx.org>
12164
12165         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12166         '\n's after tables.  Tabular and ERT inset work now makes this no
12167         longer necessary.
12168
12169 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12170
12171         * minibuffer.h:
12172         * minibuffer.C: fix crash, improve drop-down completion
12173
12174 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * lyxserver.h:
12177         * lyxserver.C: invalidate fd's when doing endPipe()
12178
12179 2001-11-08  José Matos  <jamatos@fep.up.pt>
12180
12181         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12182         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12183
12184         * paragraph.h:
12185         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12186
12187 2001-11-07  José Matos  <jamatos@fep.up.pt>
12188
12189         * buffer.h:
12190         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12191         const qualifier.
12192
12193         * buffer.C (sgmlOpenTag):
12194         * buffer.C (sgmlCloseTag): removed debug info.
12195
12196         * buffer.h (sgmlOpenTag):
12197         * buffer.h (sgmlCloseTag): made public.
12198
12199 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12200
12201         * buffer.C (saveParamsAsDefaults):
12202         * lyx_cb.C (MenuLayoutSave): remove
12203
12204         * LyXAction.C (init):
12205         * commandtags.h:
12206         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12207
12208 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12209
12210         * buffer.C (setPaperStuff): removed from here...
12211
12212         * bufferparams.C (setPaperStuff): ... and moved there.
12213
12214 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12215
12216         * minibuffer.h:
12217         * minibuffer.C:
12218         * XFormsView.C: add support for drop-down completion
12219
12220 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12223         commands.
12224
12225 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12226
12227         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12228         disabled.
12229
12230 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * lyx_main.C: change ref to known bugs
12233
12234 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12235
12236         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12237         to work around older babel problems.
12238
12239 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12240
12241         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12242
12243 2001-10-24  Juergen Vigna  <jug@sad.it>
12244
12245         * tabular-old.C (ReadOld): below variable changes reflected.
12246
12247         * tabular.[Ch]: added ltType struct for longtable header/footer
12248         defines and changed all instances where they are used. Added
12249         future support for double top/bottom rows.
12250
12251 2001-10-24  José Matos  <jamatos@fep.up.pt>
12252
12253         * buffer.h (docbookHandleCaption):
12254         * buffer.C (docbookHandleCaption): removed unused function.
12255         (makeDocBookFile): moved docbook supported version to v4.1.
12256
12257 2001-10-24  José Matos  <jamatos@fep.up.pt>
12258
12259         * tabular.h:
12260         * tabular.C (docbookRow): new function to export docbook code of a row.
12261         (DocBook): now honors the longtable flags.
12262
12263 2001-10-23  José Matos  <jamatos@fep.up.pt>
12264
12265         * LaTeXFeatures.h:
12266         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12267         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12268
12269         * buffer.C (makeLinuxDocFile):
12270         (makeDocBookFile): reworked the preamble, more clean, and with
12271         support for lyx defined entities. Changed the document declaration
12272         to be more XML friendly.
12273
12274         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12275         if we need to output XML that should be done with a filter.
12276
12277 2001-10-22  Juergen Vigna  <jug@sad.it>
12278
12279         * sp_pspell.h (class PSpell): add alive function needed in the
12280         controller to see if the spellchecker could be started.
12281
12282 2001-10-22  Juergen Vigna  <jug@sad.it>
12283
12284         * buffer.C (insertStringAsLines): modify the font for inserting
12285         chars in certain conditions by calling checkInsertChar(font).
12286
12287 2001-10-19  Juergen Vigna  <jug@sad.it>
12288
12289         * text.C (workWidth): use getRow instead of wrong algorithm.
12290         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12291
12292 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * lyxserver.h:
12295         * lyxserver.C:
12296         * lyx_main.h:
12297         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12298
12299 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12300
12301         * text.C (workWidth): do not search for the exact row when
12302         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12303         optimization for big documents.
12304
12305 2001-10-18  Juergen Vigna  <jug@sad.it>
12306
12307         * text.C (workWidth): new function with added Inset * parameter.
12308
12309 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12310
12311         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12312
12313         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12314         change return type of getColumnNearX.
12315
12316
12317         * text.C (changeRegionCase): use uppercase/lowercase instead of
12318         toupper/tolower.
12319         (leftMargin):
12320         (rightMargin): simplify code by factoring out the uses of
12321         textclasslist.
12322         (labelFill):
12323         (numberOfHfills):
12324         (setHeightOfRow):
12325         (appendParagraph): use Paragraph::size_type
12326
12327 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12328
12329         * vspace.C (asLatexString): add a missing break
12330
12331 2001-10-15  Herbert Voss  <voss@perce.de>
12332
12333         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12334
12335 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12336
12337         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12338         is not available.
12339
12340 2001-10-10  André Pönitz <poenitz@gmx.net>
12341
12342         * lyxfunc.C: removed greek_kb_flag.
12343
12344 2001-10-10  Herbert Voss  <voss@perce.de>
12345
12346         * lyx_main.C: delete global string help_lyxdir.
12347
12348 2001-10-09  Herbert Voss  <voss@perce.de>
12349
12350         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12351
12352         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12353
12354         * lyx_main.C: added global string help_lyxdir.
12355
12356         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12357
12358 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12359
12360         * lyxrc.C (set_font_norm_type): support iso8859-4
12361
12362 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12363
12364         * LaTeX.C (deplog): add another regex for MikTeX
12365
12366 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12367
12368         * lyxrc.C (set_font_norm_type): support iso8859-3
12369
12370 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12371
12372         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12373
12374         * LaTeXFeatures.C: remove special case of french and index
12375
12376         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12377         before \begin{document}). This solves several incompatibilities.
12378
12379 2001-10-03  Garst Reese  <reese@isn.net>
12380
12381         * lyx_cb.C: change CheckTex error msg.
12382
12383 2001-10-03  José Matos  <jamatos@fep.up.pt>
12384
12385         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12386
12387 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12388
12389         * .cvsignore: update
12390
12391         * lyx_main.C (commandLineVersionInfo): use new style version info.
12392
12393         * buffer.C (writeFile):
12394         (makeLaTeXFile):
12395         (makeLinuxDocFile):
12396         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12397
12398         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12399
12400         * version.h: update to use stuff in version.C
12401
12402         * version.C.in: new file. Contains version information determined
12403         at compile time. This is a merging of version.h and
12404         version_info.h.in.
12405
12406 2001-10-03  Juergen Vigna  <jug@sad.it>
12407
12408         * BufferView_pimpl.C (update): don't change "dirty" status in
12409         updateInset call.
12410
12411 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12412
12413         * WorkArea.C (c-tor): re-position version string slightly.
12414
12415 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12416
12417         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12418         revert to previous code.
12419
12420         WorkArea.[Ch]: (show, destroySplash): methods removed.
12421
12422         WorkArea.C: rework code so that it's an amalgam of the codes before and
12423         after the splash screen was moved to WorkArea.
12424
12425 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12426
12427         * lyxrc.C (read):
12428         * vspace.C (inPixels):
12429         (lyx_advance):
12430         * kbmap.C (bind):
12431         * buffer.C (insertStringAsLines):
12432         (asciiParagraph): fix types to be large enough
12433
12434         * lyxlex_pimpl.h: change member status from short to int
12435
12436         * layout.h: fix type of endlabeltype
12437
12438         * kbmap.C (bind):
12439         * kbsequence.C (parse): change return type to string::size_type
12440
12441         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12442         variable
12443
12444         * Bullet.C (bulletSize):
12445         (bulletEntry): do not use short ints as parameters
12446
12447         * BufferView2.C (insertLyXFile): change a char to an int.
12448
12449         * WorkArea.C (WorkArea): remove unneeded floats in computation
12450
12451 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12452
12453         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12454
12455         * paragraph.C (asString): Do not ignore newline/hfill chars when
12456         copying to the clipboard.
12457
12458 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12459
12460         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12461         after a multi-line inset.
12462
12463 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12464
12465         * paragraph.C (validate): Set NeedLyXFootnoteCode
12466
12467 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12470         and decrease-error to decrease.
12471
12472 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12473
12474         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12475         it more readable (should be equivalent)
12476
12477 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12478
12479         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12480
12481 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12482
12483         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12484         of a cursor (row, etc.) after a character has been deleted
12485         (deleteEmptyParagraphMechanism): call the method above on _all_
12486         cursors held by the LyXText when a double space has been
12487         detected/deleted.
12488
12489 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12490
12491         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12492         pixmap.
12493         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12494
12495         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12496         background. Use greyOut() and the new show() methods to toggle between
12497         the foreground and background. Add code to remove the splash after
12498         its initial showing.
12499
12500         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12501         (create_forms): no longer call Dialogs::showSplash.
12502
12503 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12504
12505         * .cvsignore: add version_info.h
12506
12507 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12508
12509         * version_info.h.in: new file
12510
12511         * Makefile.am: add version_info.h.in
12512
12513         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12514         version_info.h instead of VERSION_INFO
12515
12516 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12517
12518         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12519         The ERT inset now returns string().
12520
12521 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12522
12523         * lyxtext.h, text.C (selectNextWord): renamed as
12524         selectNextWordToSpellcheck.
12525
12526         * text.C (selectNextWordToSpellcheck): Modified to not select
12527         words inside an ERT inset.
12528
12529 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12530
12531         * lyx_cb.C (MenuLayoutSave): change a bit the question
12532
12533         * sp_base.h: include <sys/types.h>
12534
12535 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12536
12537         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12538
12539 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12540
12541         * several files: fix typos in user-visible strings
12542
12543 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12544
12545         * text2.C (pasteSelection): do not set the selection, since it
12546         will be cleared later. Actually, the intent was to fix the way the
12547         selection was set, but I figured rmoving the code was just as good.
12548
12549 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12550
12551         * FontLoader.C (available): Check if font is available without
12552         loading the font.
12553
12554 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12555
12556         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12557
12558 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12559
12560         * lyxrc.[Ch]: added display_graphics variable and associated code.
12561
12562 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12563
12564         * bufferparams.C (hasClassDefaults): new method. Returns true if
12565         the buffer parameters correspond to known class defaults
12566
12567 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12568
12569         * XFormsView.C (show): set minimum size to the main window.
12570
12571 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12572
12573         * text2.C (copySelection):
12574         (cutSelection):
12575         * lyxfind.C (LyXReplace):
12576         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12577         LyXText::selectionAsString.
12578
12579         * paragraph.C (asString): add "label" argument to the second form
12580
12581         * text2.C (selectionAsString): add "label" argument and pass it to
12582         Paragraph::asString.
12583
12584 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12585
12586         * lyx_main.C (commandLineHelp): remove version information
12587
12588 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12589
12590         * lyx_main.C: add -version commandline option
12591
12592 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * paragraph.h: make the optional constructor arg required instead.
12595         some modifications to other files because of this.
12596
12597         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12598
12599         * lyxserver.C (C_LyXComm_callback): make it static
12600
12601         * lyx_main.C (error_handler): make it static
12602
12603         * lyx_gui.C (LyX_XErrHandler): make it static
12604
12605         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12606
12607         * WorkArea.C: make the extern "C" methods static.
12608
12609         * Makefile.am (lyx_LDADD): simplify
12610
12611 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12612
12613         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12614         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12615
12616         * LyXAction.C (init):
12617         * lyxfunc.C (dispatch): associated code removal.
12618
12619 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12620
12621         * lyxfont.h (isSymbolFont): shut off warning
12622
12623         * text.C (setHeightOfRow):
12624         (getVisibleRow): fix crash with empty paragraphs which have a
12625         bottom line
12626
12627 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12628
12629         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12630         code.
12631
12632 2001-09-04  José Matos  <jamatos@fep.up.pt>
12633         * buffer.C
12634         * buffer.h
12635         * tabular.C (docbook): rename docBook method to docbook.
12636
12637 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12638
12639         * Makefile.am: add dependencies to main.o.
12640
12641 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12642
12643         * FontLoader.C (available): Return false if !lyxrc.use_gui
12644
12645 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12646
12647         * FontInfo.C (query):
12648         * converter.C (view):
12649         * importer.C (Import):
12650         * exporter.C (Export): Can not -> cannot.
12651
12652 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * BufferView_pimpl.C: allow to create index inset even if
12655           string is empty
12656
12657 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12658
12659         * buffer.C (getLists): replace boost::tie code with an explicit pair
12660         as boost::tie can break some compilers.
12661
12662         * iterators.h: Added a std:: declaration to the return type of
12663         ParIterator::size.
12664
12665 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12668           case.
12669
12670 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12671
12672         * iterators.[Ch]: New files. Provide paragraph iterators.
12673
12674         * buffer.C (changeLanguage): Use paragraph iterators.
12675         (isMultiLingual): ditto
12676
12677         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12678
12679 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12680
12681         * FontLoader.C: Support for cmr font.
12682
12683 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12684
12685         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12686         (available): New method.
12687
12688         * FontInfo.C (getFontname): Use scalable fonts even when
12689         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12690         found.
12691
12692 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12693
12694         * converter.C (Formats::view): reverted! Incorrect fix.
12695
12696 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         * converter.C (Formats::view): only output the -paper option
12699         if the dvi viewer is xdvi, thereby fixing bug #233429.
12700
12701 2001-08-23  Herbert Voss  <voss@perce>
12702
12703         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12704
12705 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12706
12707         * Spacing.h (Spacing): Set space to Default on in the default
12708         constructor.
12709
12710 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * vc-backend.h (RCS::versionString): add RCS to version
12713         (CVS::versionString): add CVS to version
12714
12715         * vc-backend.C (scanMaster): do not add CVS to version.
12716         (scanMaster): do not add RCS to version
12717
12718         * lyxvc.C (versionString): new method
12719
12720         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12721
12722 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * Spacing.C (set): initialize fval
12725
12726 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12727
12728         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12729         " or \.
12730
12731 2001-08-16  Juergen Vigna  <jug@sad.it>
12732
12733         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12734
12735 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * BufferView_pimpl.C:
12738         * figureForm.C:
12739         * lyxtext.h:
12740         * text2.C: setParagraph takes linespacing now
12741
12742 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * LyxAction.C: add internal LFUN_CITATION_INSERT
12745
12746         * LyXView.C: actually apply fix
12747
12748         * bufferlist.C: fix open non-existent file
12749
12750         * lyxfind.C: fix indentation
12751
12752         * lyxfunc.C: remove unneeded assert, fix typo
12753
12754 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * MenuBackend.C: use "Floatname List"
12757
12758 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12759
12760         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12761         when converting LaTeX layout to insetERT.
12762         Generate a non-collapsed float when reading old float
12763
12764 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12765
12766         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12767         ERT insets.
12768
12769 2001-08-13  Juergen Vigna  <jug@sad.it>
12770
12771         * text.C (fill): return 0 instead of 20 as this seems to be the more
12772         correct value.
12773
12774 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12775
12776         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12777         lyxrc.font_norm.
12778
12779 2001-08-13  Juergen Vigna  <jug@sad.it>
12780
12781         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12782         casesensitive off.
12783         (SearchBackward): comment out the unlocking of the inset_owner this
12784         should not be needed!
12785
12786 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12787
12788         * Many files: Remove inherit_language, and add latex_language
12789
12790         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12791         collapsible insets.
12792
12793 2001-08-10  Juergen Vigna  <jug@sad.it>
12794
12795         * text.C (prepareToPrint): fixed hfill-width in draw!
12796
12797         * BufferView2.C (selectLastWord): save the selection cursor as this
12798         now is cleared in the function LyXText::clearSelection!
12799
12800 2001-08-08  Juergen Vigna  <jug@sad.it>
12801
12802         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12803         BACKSPACE type functions.
12804
12805         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12806         is only cutted from the document but not put in the cut-buffer, where
12807         still the old stuff should be.
12808
12809         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12810
12811         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12812
12813         * tabular.C (SetWidthOfCell): fixed special case where the width
12814         was not updated!
12815         (LeftLine): handle '|' in align_special.
12816         (RightLine): ditto
12817         (LeftAlreadyDrawed): ditto
12818         (SetWidthOfCell): ditto
12819
12820 2001-08-07  Juergen Vigna  <jug@sad.it>
12821
12822         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12823
12824 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12827         * lyxlex.[hC]: ditto
12828
12829 2001-08-06  Juergen Vigna  <jug@sad.it>
12830
12831         * text.C (getVisibleRow): fix up row clearing a bit.
12832
12833 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * minibuffer.C: make sure the X server sees the changes in the input.
12836
12837 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12838
12839         * paragraph.C (getFont): split into...
12840         (getLabelFont): this
12841         (getLayoutFont): and this
12842         * paragraph_pimpl.C (realizeFont): calling this
12843
12844         * text2.C (getFont): split into...
12845         (getLayoutFont): this
12846         (getLabelFont): and this
12847         (realizeFont): all three calling this
12848
12849         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12850         files where used.
12851
12852 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12853
12854         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12855
12856 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12857
12858         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12859         layouts from the Quote inset insertion.
12860
12861 2001-08-03  Juergen Vigna  <jug@sad.it>
12862
12863         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12864
12865         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12866         only if status not is already CHANGED_IN_DRAW (second level).
12867
12868         * text.C (draw): don't set the need_break_row when inside an
12869         InsetText LyXText.
12870
12871 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12872
12873         * buffer.C (parseSingleLyXformat2Token): handle more latex
12874         conversion cases.
12875
12876         * bufferview_funcs.[hC]: change function names to
12877         begin with small char, adjust other files.
12878
12879 2001-08-02  André Pönitz <poenitz@gmx.net>
12880
12881         * lyxfunc.C:
12882         BufferView_pimpl.C: remove broken special code for math-greek
12883
12884 2001-08-02  Juergen Vigna  <jug@sad.it>
12885
12886         * BufferView_pimpl.C (update): redone this function so that we
12887         update the text again if there was a CHANGE_IN_DRAW.
12888
12889         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12890         (drawFromTo): added a new internal bool which is used by draw() and
12891         redraw() function.
12892         (general): some cursor drawing problems fixed.
12893
12894 2001-08-01  Juergen Vigna  <jug@sad.it>
12895
12896         * lyxfind.C (LyXFind): fixed
12897         (SearchForward): ditto
12898         (SearchBackward): ditto
12899
12900         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12901         spurius drawing of the cursor in the main area.
12902
12903         * text2.C (status): small fix which could lead to a segfault!
12904         (clearSelection): remove unneeded BufferView param.
12905
12906 2001-08-01  André Pönitz <poenitz@gmx.net>
12907
12908         * lyxfunc.C: small change due to changed mathed interface
12909
12910 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12911
12912         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12913
12914 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * lyxfunc.c: fail gracefully if file doesn't exist
12917
12918         * LyXSendto.C:
12919         * buffer.C:
12920         * lyxfunc.C:
12921         * BufferView_pimpl.C: IsDirWriteable() proto changed
12922
12923         * LyXView.C: fix updateWindowTitle() to store the last title
12924
12925 2001-07-31  Juergen Vigna  <jug@sad.it>
12926
12927         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12928         the font (wrong since using of Paragraph::highestFontInRange).
12929
12930         * paragraph.C (highestFontInRange): added a default_size parameter.
12931
12932         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12933         (setHeightOfRow): reformat
12934
12935 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * converter.[hC] + affected files: move to (inital-char)lowercase
12938         function names.
12939
12940         * ParagraphParameters.C (ParagraphParameters): remove commented code
12941
12942         * PainterBase.[Ch]: remove commented code
12943
12944         * LaTeXFeatures.h: add "bool floats" for float.sty
12945
12946         * LaTeXFeatures.C (LaTeXFeatures): init floats
12947         (require): handle float
12948         (getPackages): do it with floats
12949
12950 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12951
12952         * BufferView_pimpl.C (Dispatch): improve handling of
12953         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12954
12955         * commandtags.h: #include lyxfont.h here temporarily to avoid
12956         keybinding bug.
12957
12958         * bufferlist.h: include LString.h here.
12959
12960 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12961
12962         * text2.C (getStringToIndex): new method.
12963
12964 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12965
12966         * *: Reduced header file dependencies all over.
12967
12968 2001-07-30  Baruch Even  <baruch@lyx.org>
12969
12970         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12971
12972 2001-07-29  Baruch Even  <baruch@lyx.org>
12973
12974         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12975
12976 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * ParameterStruct.h (endif): add a default constructor to make
12979         sure that all variables is initialized.
12980
12981         * ParagraphParameters.C (ParagraphParameters): adjust
12982
12983 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12984
12985         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12986         index; also, check that there is something to index, and that it
12987         does not span over several paragraphs.
12988         (doubleClick): use WHOLE_WORD_STRICT for double click.
12989
12990         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12991
12992         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12993         scheme.
12994
12995 2001-07-26  Baruch Even  <baruch@lyx.org>
12996
12997         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12998         an InsetFig figure, backwards compatible reading of old figure code.
12999
13000 2001-07-27  Juergen Vigna  <jug@sad.it>
13001
13002         * text2.C: font.realize function adaption.
13003
13004         * text.C (draw): add a warnings lyxerr text if needed.
13005
13006         * layout.C: font.realize function adaption.
13007
13008         * language.C: add inherit_language and implement it's handlings
13009
13010         * bufferview_funcs.C (StyleReset): remove language parameter from
13011         font creation (should be language_inherit now).
13012
13013         * bufferparams.C (writeFile): handle ignore_language.
13014
13015         * paragraph.C (getFontSettings): the language has to be resolved
13016         otherwise we have problems in LyXFont!
13017
13018         * lyxfont.C (lyxWriteChanges): added document_language parameter
13019         (update): removed unneeded language parameter
13020
13021         * paragraph.C (validate): fixed wrong output of color-package when
13022         using interface colors for certain fonts in certain environments,
13023         which should not seen as that on the final output.
13024
13025 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * BufferView_pimpl.C:
13028         * Thesaurus.h:
13029         * Thesaurus.C:
13030         * Makefile.am:
13031         * commandtags.h:
13032         * LyXAction.C: add thesaurus support
13033
13034         * lyxfind.h:
13035         * lyxfind.C: add "once" parameter, for thesaurus, to not
13036           move to the next match
13037
13038 2001-07-26  Juergen Vigna  <jug@sad.it>
13039
13040         * lyxfont.C (realize): honor ignore_language too!
13041         (resolved): ditto.
13042
13043         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13044
13045         * text.C (draw): one place more for ignore_language to not draw
13046         itself!
13047
13048 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13049
13050         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13051
13052 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13055         the minipage conversion problem.
13056
13057 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13060         insert an inset.
13061
13062 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13063
13064         * BufferView.h: don't forward declare WorkArea
13065
13066         * BufferView.C: don't include WorkArea.h
13067
13068 2001-07-25  André Pönitz <poenitz@gmx.net>
13069
13070         * commandtags.h:
13071         * LyXAction.C:
13072         * lyxfunc.C:  new LFUN 'math-space'
13073
13074         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13075
13076 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * text2.C (toggleInset): call open/close
13079
13080 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * lyxfunc.C (dispatch): add debug for the disabled case
13083
13084         * font.C (buttonText): make similar to rectText
13085
13086         * buffer.C (readInset): comment out parsing of insetlist and
13087         insttheorem
13088
13089         * PainterBase.C (rectText): small correction
13090
13091         * BufferView_pimpl.C: comment out insettheorem and insetlist
13092         * LyXAction.C: ditto
13093         * commandtags.h: ditto
13094
13095 2001-07-24  Juergen Vigna  <jug@sad.it>
13096
13097         * text.C (draw): honor the ignore_language.
13098
13099         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13100
13101 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13104         char inset.
13105
13106 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13107
13108         * lyxtext.h: remove unused (and unimplemented) methods
13109
13110 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13111
13112         * text.C (getVisibleRow): honor background color
13113
13114         * PainterBase.h:
13115         * Painter.h: remove default color argument for fillRectangle
13116
13117         * text.C (backgroundColor): new method
13118
13119 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * text.C (getVisibleRow): adjust
13122
13123         * font.[Ch] (rectText): new method, metrics
13124         (buttonText): new method, metrics
13125
13126         * PainterBase.[hC]: make rectText and buttonText always draw and take
13127         fewer paramteres.
13128
13129 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13130
13131         * ToolbarDefaults.C (read):
13132         * MenuBackend.C (read): allow escaping in all strings
13133
13134         * BufferView_pimpl.C (insertAndEditInset): new method.
13135         (Dispatch): use insertAndEditInset whenever appropriate.
13136
13137         * BufferView_pimpl.C (insertNote): removed
13138
13139         * BufferView_pimpl.C (smartQuote): new method, moved from
13140         BufferView; if an insetquote cannot be inserted, insert a '"'
13141         character instead.
13142
13143         * BufferView2.C: remove insertCorrectQuote();
13144
13145         * lyxfunc.C (getStatus): Add support for all remaingin
13146         inset-insert lfuns.
13147
13148         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13149
13150         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13151         command (necessary to pass " as parameter of self-insert.
13152
13153         * text.C (selectWordWhenUnderCursor):
13154         (selectWord): add word_location parameter
13155         (selectWordWhenUnderCursor): same + remove special code for word
13156         boundary.
13157         (selectNextWord): use kind() to guess type of insetspecialchar,
13158         not latex().
13159
13160         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13161         (insertErtContents): create ert insets as collapsed.
13162         (readInset): better compatibility code for Info inset.
13163
13164 2001-07-20  Juergen Vigna  <jug@sad.it>
13165
13166         * lyxfunc.C (dispatch): use always LyXFind now!
13167
13168         * text2.C (init): add a reinit flag so that the LyXText can be
13169         reinited instead of deleted and reallocated (used in InsetText).
13170
13171         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13172
13173         * text.C: ditto
13174
13175         * text2.C: ditto
13176
13177 2001-07-18  Juergen Vigna  <jug@sad.it>
13178
13179         * text.C (selectNextWord): handle insets inside inset by calling
13180         always the bv->text functions so that we can go up the_locking_inset!
13181
13182         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13183         in strange locations when inside an inset!
13184
13185         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13186         handling to include insets.
13187
13188         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13189
13190 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * LyXAction.C (init):
13193         * commandtags.h:
13194         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13195         LIGATURE_BREAK, since the name is so stupid.
13196
13197 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13198
13199         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13200         InsetInfos.
13201
13202         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13203
13204         * sp_form.[Ch]: remove.
13205
13206         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13207
13208         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13209         InsetInfo.
13210
13211         * src/buffer.C (readInset): ditto.
13212
13213 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13214
13215         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13216         menuSeparator(), endOfSentenceDot(), ldots() and
13217         hyphenationPoint(), which are therefore removed.
13218         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13219
13220         * LyXAction.C (init):
13221         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13222
13223         * paragraph.C (getWord): removed.
13224
13225         * BufferView_pimpl.C (Dispatch): use last word or selection for
13226         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13227
13228         * lyx_main.C (queryUserLyXDir): do not ask before creating
13229         user_dir, except if it has been named explicitely.
13230
13231 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13232
13233         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13234         a document of zero size.
13235
13236 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13237
13238         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13239         approriately in the c-tor and in require().
13240         (getPackages): output the appropriate LaTeX for natbib support.
13241
13242         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13243         variables "use_natbib" and "use_numerical_citations" when reading the
13244         LyX file.
13245         (readInset): read the various natbib cite commands.
13246         (validate): white-space change.
13247
13248         * bufferparams.[Ch]: new variables "bool use_natbib" and
13249         "bool use_numerical_citations".
13250         (writeFile): output them in the LyX file.
13251
13252 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13253
13254         * lyxfunc.C (getStatus): add support for all the inset insertion
13255         commands.
13256
13257         * text2.C (insertInset):
13258         * paragraph.C (insetAllowed):
13259         * BufferView_pimpl.C (insertInset): update to take in account the
13260         renaming of insertInsetAllowed
13261
13262         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13263
13264         * text2.C (getInset): new method. returns inset at cursor position.
13265
13266         * BufferView_pimpl.C (Dispatch): changes because of this.
13267
13268         * LyXAction.C (init): rename open-stuff to inset-toggle.
13269
13270         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13271
13272         * text2.C (toggleInset): renamed from openStuff; use
13273         Inset::open().
13274
13275 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13276
13277         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13278
13279         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13280
13281 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13282
13283         * buffer.C (readLyXformat2): Add filename to the error dialog
13284
13285 2001-07-18  Juergen Vigna  <jug@sad.it>
13286
13287         * tabular.C (GetCellNumber): put an assert here instead of the check!
13288
13289 2001-07-17  Juergen Vigna  <jug@sad.it>
13290
13291         * BufferView_pimpl.C (toggleSelection): adapted too.
13292
13293         * text.C (selectNextWord): adapted for use with insets.
13294         (selectSelectedWord): ditto
13295
13296 2001-07-17  Juergen Vigna  <jug@sad.it>
13297
13298         * sp_spell.C (PSpell): fix initialitation order.
13299
13300 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13301
13302         * paragraph.C: spacing
13303
13304 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13305
13306         * sp_spell.C: repair language selection for pspell
13307
13308 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * lyxfunc.h: change more methods to begin with lower char.
13311
13312 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13313
13314         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13315         for unknown layouts.
13316
13317 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13318
13319         * buffer.C (readLyXformat2): Generate an error dialog if there are
13320         unknown layouts.
13321
13322 2001-07-16  Juergen Vigna  <jug@sad.it>
13323
13324         * sp_spell.C: always compile ISpell part.
13325
13326         * lyxrc.C: added use_pspell entry and it's handling.
13327
13328 2001-07-13  Juergen Vigna  <jug@sad.it>
13329
13330         * sp_spell.C: removed double includes.
13331
13332 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13333
13334         Consistent use of Lsstream.h:
13335         * Lsstream.h: added using std::stringstream for consistencies sake.
13336
13337         * buffer.C: removed using std::stringstream
13338
13339         * lyxfont.C (stateText):
13340         * paragraph.C (asString):
13341         * text.C (selectNextWord, selectSelectedWord):
13342         * text2.C (setCounter):
13343         * vspace.C (asString, asLatexString):
13344         std::ostringstream -> ostringstream.
13345
13346 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13347
13348         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13349         * commandtags.h: add LFUN_HELP_ABOUTLYX
13350         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13351
13352 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13353
13354         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13355         cursorToggle()
13356         * lyx_gui_misc.C: remove spellchecker
13357         * lyxfunc.C: showSpellchecker
13358         * sp_base.h: added
13359         * sp_ispell.h: added
13360         * sp_pspell.h: added
13361         * sp_spell.C: added
13362         * sp_form.[Ch]: removed
13363         * spellchecker.[Ch]: removed
13364
13365 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13366
13367         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13368         is set.
13369         (simpleTeXSpecialChars): Simply print the input character without
13370         any special translation if pass_thru is set.
13371
13372         * layout.h: Added bool pass_thru to layout class for being able to
13373         implement pass through of a paragraph for Literate Programming.
13374
13375         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13376         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13377         * layout.C (Read): add "passthru" to list of layout tags and add
13378         code to set the pass_thru boolean when it is read.
13379
13380 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * trans_decl.h: remove allowed from KmodInfo
13383
13384         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13385         remove allowed code
13386         (Load): adjust
13387
13388         * paragraph_pimpl.C (erase): use boost::prior
13389
13390         * Painter.C (text): use data() instead of c_str() when length is
13391         also provided.
13392         * WorkArea.C (putClipboard): ditto
13393         * font.h (width): ditto
13394
13395         * BufferView2.C: use it-> instead of (*it). for iterators
13396         * texrow.C: ditto
13397         * paragraph_pimpl.C: ditto
13398         * paragraph.C: ditto
13399         * minibuffer.C: ditto
13400         * language.C: ditto
13401         * kbmap.C: ditto
13402         * encoding.C: ditto
13403         * counters.C: ditto
13404         * converter.C: ditto
13405         * chset.C: ditto
13406         * Variables.C: ditto
13407         * TextCache.C: ditto
13408         * MenuBackend.C: ditto
13409         * LyXAction.C: ditto
13410         * LColor.C: ditto
13411         * FloatList.C: ditto
13412         * DepTable.C: ditto
13413         * ColorHandler.C (LyXColorHandler): ditto
13414
13415 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13418
13419         * text2.C (openStuff): reintroduce this method (which had been
13420         nuked in NEW_INSETS frenzy).
13421
13422         * lyxfunc.C (Dispatch): when an action has not been handled, use
13423         its name in the error message, not its number.
13424
13425         * paragraph.C (inInset): change method name to begin with lowercase.
13426
13427         * undo_funcs.C:
13428         * text2.C: updates because of this.
13429
13430 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13431
13432         * ToolbarDefaults.C (add): add spaces in error message
13433
13434 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13437         (readLyXformat2): rename return_par to first_par, use lyxlex's
13438         pushToken and remove the manual push handling.
13439         (parseSingleLyXformat2Token): add another ert comp. variable:
13440         in_tabular, rename return_par to first_par. handle newlines better
13441
13442 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13445
13446 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * text2.C (getParFromID): removed
13449
13450         * buffer.C (getParFromID): new method moved form lyxtext.
13451         * BufferView2.C (insertErrors): adjust
13452         (setCursorFromRow): adjust
13453         * BufferView_pimpl.C (restorePosition): adjust
13454         * lyxfunc.C (Dispatch): adjust
13455         * undo_funcs.C (textUndo): adjust
13456         (textRedo): adjust
13457         (textHandleUndo): adjust
13458         (textHandleUndo): adjust
13459
13460 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13461
13462         * buffer.C: up' the LYX_FORMAT
13463
13464         * lyxfont.h: turn NO_LATEX on as default
13465
13466         * buffer.C (insertErtContents): new methods of tex style compability.
13467         (parseSingleLyXformat2Token): use it several places.
13468         * tabular.C (OldFormatRead): and here
13469
13470 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13471
13472         * text2.C: remove some commented code.
13473         reindent file.
13474
13475         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13476         * trans.C: changes because of the above.
13477
13478 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13479
13480         * text2.C (setCounter): Fix counters bug with bibliography layout.
13481
13482 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13483
13484         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13485         own member functions
13486         (simpleTeXSpecialChars): ditto
13487
13488 2001-07-06  Juergen Vigna  <jug@sad.it>
13489
13490         * a lot of files: changed the access to LyXText::status and the
13491         call of undo-functions.
13492
13493         * undo.[Ch]: added a inset_id to the undo informations.
13494
13495         * undo_funcs.[Ch]: added and moved here all undo functions.
13496
13497         * lyxtext.h: give the status enum a weight, made status_ a private
13498         variable and made accessor functions for it, removed the whole bunch
13499         of undo-functions as they are now in their own file, make some
13500         functions publically available. Added function ownerParagraph with
13501         int parameter.
13502
13503         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13504         made InInset() a const function, added getParFromID() function.
13505
13506         * buffer.[Ch]: added const version for inset_iterator functions,
13507         added getInsetFromID() function.
13508
13509         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13510         changed undo functions for new version.
13511
13512 2001-07-05  Juergen Vigna  <jug@sad.it>
13513
13514         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13515         unknow mechanism does not call the proper constructor but only this
13516         one also if I request the other!?
13517
13518 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13521
13522         * text2.C (LyXText): use initialization lists.
13523
13524         * lyxtext.h (Selection): initialize set_ and mark_
13525         (init): remove method
13526
13527 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13528
13529         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13530
13531 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13532
13533         * screen.[Ch]: change method names to begin with lowercase
13534
13535         * BufferView_pimpl.C (updateScrollbar): simplify further and
13536         hopefully make it a bit faster.
13537
13538 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13539
13540         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13541         calling directly xforms functions.
13542
13543         * Painter.C (Painter):
13544         * lyx_cb.C (MenuWrite):
13545         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13546         fl_display.
13547
13548         * lyx_gui.C: remove bogus guiruntime extern declaration.
13549
13550 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13551
13552         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13553         in NEW_INSETS
13554         (redoDrawingOfParagraph): ditto
13555         (redoParagraphs): ditto
13556         (cutSelection): don't create a object for CutAndPaste use the
13557         static method directly
13558         (pasteSelection): ditto
13559
13560         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13561         LyXview (+ rename)
13562
13563 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * modifications to some other files because of this.
13566
13567         * Makefile.am (lyx_SOURCES): add XFormsView
13568
13569         * XFormsView.[Ch]: new files
13570
13571         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13572         the main window. Move the gui dependent stuff to XFormsView
13573
13574 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13575
13576         * tabular.C (GetCellInset): update cur_cell also in the row/col
13577         version of this function.
13578
13579         * lyxfunc.C: no need to include figure_form.h here.
13580
13581         * FontLoader.h:
13582         * lyxfunc.h:
13583         * lyxscreen.h:
13584         * text2.C:
13585         * lyxvc.C: no need to include forms.h here.
13586
13587 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13588
13589         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13590
13591         * lyxfunc.C (Dispatch):
13592         * Spacing.C (set):
13593         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13594         constructor argument.
13595
13596 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13597
13598         * paragraph.C (Paragraph): dont't clear, and just set layout.
13599         (makeSameLayout): use params's copy contructor.
13600
13601         * ParagraphParameters.[Ch] (makeSame): delete method
13602
13603 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13604
13605         * Variables.[Ch]: fix indentation, rename set to isSet
13606
13607 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13608
13609         * lyxfunc.C (Dispatch): fix typo
13610
13611 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612
13613         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13614         upper_bound.
13615
13616         * bufferlist.C: include assert.h for emergencyWrite().
13617
13618 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13619
13620         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13621           give up at last (bug #425202) !
13622
13623 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13624
13625         * lyx_gui_misc.C:
13626         * sp_form.h:
13627         * sp_form.C:
13628         * spellchecker.h:
13629         * spellchecker.C: strip spellchecker options and bring up
13630           preferences tab instead
13631
13632 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13633
13634         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13635         the istringstream constructor
13636
13637 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13638
13639         * paragraph.C (getLayout): fix return value
13640
13641         * paragraph.h: do not declare getLayout as inline.
13642
13643         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13644
13645 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * lyxcursor.h (operator<): new func
13648         (operator>): new func
13649         (operator>=): new func
13650         (operator<=): new func
13651
13652         * text.C (changeCase): use selection.start and selection.end
13653         (changeRegionCase): require from to be <= to. Require par to be a
13654         valid paragraph.
13655
13656         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13657
13658 2001-06-27  Juergen Vigna  <jug@sad.it>
13659
13660         * text.C (cursorLeftOneWord): changed to return the cursor and added
13661         overlay with BufferView * parameter which calls this one.
13662         (getWord): added
13663         (selectWord): use new getWord function.
13664         (changeCase): renamed from changeWordCase as and extended to work
13665         also on selections.
13666
13667         * lyxtext.h: added enum word_location
13668
13669         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13670         changeCase as this operates now also on selections.
13671
13672 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13673
13674         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13675
13676         * many files: send debug output to Debug::INFO instead of
13677         Debug::ANY.
13678
13679         * converter.C (View):
13680         (Convert):
13681         (Move): send debug output to Debug::FILES instead of console.
13682
13683 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13684
13685         * lyxfunc.C (getStatus): use func_status
13686
13687         * func_status.h: new header, describing the results of
13688         LyXFunc::getStatus;
13689
13690         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13691         LFUN_MATH_HALIGN.
13692
13693 2001-06-25  The LyX Project  <jug@sad.it>
13694
13695         * buffer.C (sgmlOpenTag):
13696         (sgmlCloseTag):
13697         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13698
13699 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13700
13701         * text2.C: remove some dead code
13702
13703         * tabular.C (GetCellInset): store the last cell checked (gotten)
13704
13705         * tabular.h: add the helper for the speedup
13706
13707         * lyxtext.h: remove some dead code
13708
13709 2001-06-26  The LyX Project  <Asger>
13710
13711         * paragraph.C: Change export to LaTeX of alignment to
13712         \begin{center} and family for better roundtrip work with reLyX.
13713
13714         * Tune the math drawing a bit.
13715
13716 2001-06-25  The LyX Project  <Asger>
13717
13718         * LColor.C (LColor): New color for math background. New color
13719         for buttons.
13720
13721 2001-06-25  The LyX Project  <jug@sad.it>
13722
13723         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13724
13725         * lyxfunc.C (Open):
13726         * bufferlist.C (newFile): do not restrict to files ending with
13727         .lyx
13728
13729         * BufferView_pimpl.C (MenuInsertLyXFile):
13730
13731 2001-06-24  The LyX Project  <jug@sad.it>
13732
13733         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13734         of compare_no_case
13735
13736 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13737
13738         * lyxtext.h: rename most methods to begin with a small char.
13739         Lots of changes because of this.
13740
13741         * paragraph.C (Paragraph): do not call fitToSize
13742         (erase): call Pimpl::erase
13743         (insertChar): call Pimpl::insertChar
13744         (insertInset): call Pipl::insertInset
13745         (breakParagraph): do not call fitToSize
13746         (breakParagraphConservative): do not call fitToSize
13747         (fitToSize): remove method
13748
13749         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13750
13751 2001-06-24  The LyX Project  <Asger>
13752
13753         * Fix Qt compilation^2
13754
13755 2001-06-24  The LyX Project  <jug@sad.it>
13756
13757         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13758         depthHook(getDepth()-1).
13759
13760         * paragraph.h:
13761         * ParagraphParameters.h:
13762         * ParameterStruct.h: change type of depth to unsigned int ==
13763         depth_type. Many adaptations to other files before of that.
13764
13765 2001-06-24  The LyX Project  <Asger>
13766
13767         * Fix Qt compilation.
13768
13769 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13770
13771         * paragraph.h: renamed several methods to begin with small letter.
13772         several changes to many parts of the code because of this.
13773
13774 2001-06-23  The LyX Project  <jug@sad.it>
13775
13776         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13777         rewritten to discard all double spaces when KeepEmpty is off
13778         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13779         to only handle newlines but not fiddle with spaces and friends.
13780
13781         * lyxfunc.C (MenuNew): when doing 'new from template', use
13782         template_path as default directory
13783
13784 2001-06-23  The LyX Project  <Asger>
13785
13786         * Clean-up of header file includes all over
13787         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13788
13789 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13790
13791         * paragraph.h: renamed from lyxparagraph.h
13792
13793 2001-06-23  Asger  <lyx@violet.home.sad.it>
13794
13795         * Buffer.h: Removed Buffer::resize
13796         * BufferList.h: Removed BufferList::resize
13797         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13798         the document lazily when we change the width, or the font settings.
13799
13800 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13801
13802         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13803
13804 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * buffer.h: remove out of date comment
13807
13808 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13809
13810         * lyxscreen.h:
13811         * screen.C: fix "theoretical" GC leak
13812
13813 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * LaTeX.C (scanAuxFile):
13816         (deplog): remove trailing \r when reading stream (useful under
13817         win32)
13818
13819 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13820
13821         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13822         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13823         and BufferView::theLockingInset(Inset*), so should use them and not
13824         access bv_->text->the_locking_inset directly.
13825
13826         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13827
13828 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13829
13830         * Makefile.am:
13831         * tex-defs.h: remove old unused file
13832
13833 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13834
13835         * BufferView_pimpl.C: fix typo, remove minibuffer message
13836           when buffer has loaded
13837
13838 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13839
13840         * lyxfunc.C (Dispatch): use stringstream
13841         (MenuNew): use stringstream
13842         (Open): use stringstream
13843
13844         * importer.C (Import): use stringstream
13845
13846         * bufferview_funcs.C (CurrentState): use stringstream
13847
13848         * LaTeX.C (run): use stringstream
13849
13850         * BufferView_pimpl.C (savePosition): use stringstream
13851         (restorePosition): use stringstream
13852         (MenuInsertLyXFile): use stringstream
13853
13854 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13855
13856         * BufferView.C:
13857         * Bullet.C:
13858         * ColorHandler.C:
13859         * FontInfo.C:
13860         * FontLoader.C:
13861         * LColor.C:
13862         * LaTeXFeatures.C:
13863         * Painter.C:
13864         * gettext.C:
13865         * lyx_gui_misc.C:
13866         * lyxserver.C:
13867         * vspace.C: removed // -*- C++ -*- as first line.
13868
13869         * lyxfind.h:
13870         * version.h: added // -*- C++ -*- as first line.
13871
13872 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13875
13876         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13877         of string
13878
13879 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13880
13881         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13882         of floats.
13883
13884 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * gettext.C: include LString.h even when --disable-nls is on.
13887
13888 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13889
13890         * converter.h (Get): changed argument type from int to
13891         FormatList::size_type to avoid unnecessary conversion.
13892
13893         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13894         before using it.
13895
13896 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13897
13898         * gettext.h: include LString.h even when --disable-nls is on.
13899
13900 2001-06-07  Juergen Vigna  <jug@sad.it>
13901
13902         * text.C (BreakAgain): subst spaces with tabs.
13903
13904         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13905         (resizeInsetsLyXText): set force on resizeLyXText.
13906
13907 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13908
13909         * gettext.h (gettext_init):
13910         (locale_init): use a real definition instead of a macro
13911
13912 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13913
13914         * Bufferview_pimpl.C:
13915         * LColor.h:
13916         * LColor.C: further lcolor tidies
13917
13918 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13919
13920         * BufferView_pimpl.C (updateScrollbar): simplify.
13921
13922         * BufferView2.C: don't include insets/insetinfo.h, change
13923         prototype for insertInset and call the Pimpl version. let
13924         updateInset call Pimpl version.
13925
13926         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13927         gotoInset to BufferView::Pimpl
13928
13929 2001-06-01  Juergen Vigna  <jug@sad.it>
13930
13931         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13932         inside a LockingInset (is the update needed at all?).
13933
13934 2001-05-31  Juergen Vigna  <jug@sad.it>
13935
13936         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13937         here not the old one otherwise how should we compare it afterwards
13938         if it's the same!
13939
13940 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13941
13942         * lyxfont.C:
13943         * tabular.C:
13944         * tabular-old.C:
13945         * FontInfo.C: bring C functions into global namespace when
13946         necessary
13947
13948 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13949
13950         * LString.h: make sure config.h has been loaded before LString.h.
13951
13952         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13953         (one for each char read by EatLine!).
13954
13955         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13956         variables.
13957
13958 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13959
13960         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13961         to the same as the par we break from
13962
13963 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13966
13967         * MenuBackend.C (expand): also create menu entries for wide
13968         versions of the floats.
13969
13970         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13971
13972         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13973
13974         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13975         frontends/Makefile.am
13976
13977         * text2.C: adjust
13978         * text.C: adjust
13979
13980
13981         * tabular.C (getTokenValue): add std::
13982
13983         * tabular-old.C (getTokenValue): add std::
13984         (getTokenValue): ditto
13985         (getTokenValue): ditto
13986
13987         * screen.C (ToggleSelection): adjust
13988
13989         * lyxtext.h: put selection cursors inside a Selection struct.
13990
13991         * lyxfunc.C (moveCursorUpdate): adjust
13992
13993         * lyxfont.C (latexWriteStartChanges): add std::
13994
13995         * lyxfind.C: adjust
13996
13997         * font.h: delete with(char const *, LyXFont const &)
13998
13999         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14000
14001         * FontInfo.C (getFontname): add std::
14002
14003         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14004         (workAreaButtonPress): adjust
14005         (tripleClick): adjust
14006         (update): adjust
14007         (moveCursorUpdate): adjust
14008         (Dispatch): adjust
14009
14010         * BufferView2.C (gotoInset): adjust
14011
14012 2001-05-30  Juergen Vigna  <jug@sad.it>
14013
14014         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14015         to check pspell I add this as default as I now have new pspell
14016         libraries and they seem to use this.
14017
14018 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14019
14020         * text2.C (CutSelection): make the cursor valid before the call to
14021         ClearSelection.
14022
14023 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14024
14025         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14026         relied on 0 terminated strings and other horrors. Bug found due to
14027         the new assert in lyxstring!
14028
14029         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14030         KP_ keys.
14031
14032 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14035         to latinkeys.bind.
14036
14037         * lyxfunc.C (processKeySym): change method of getting to the
14038         self-insert char.
14039
14040         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14041         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14042         * BufferView_pimpl.[Ch]: here as private methods.
14043
14044 2001-05-28  Juergen Vigna  <jug@sad.it>
14045
14046         * text.C (SetHeightOfRow): added the update() call again as it is
14047         needed to initialize inset dimensions!
14048
14049 2001-05-16  Juergen Vigna  <jug@sad.it>
14050
14051         * text2.C (SetCharFont): Add new function with BufferView * and
14052         bool toggleall parameters for setting insets internal fonts.
14053         (SetFont): Freeze the undo as we may change fonts in Insets and
14054         all this change should be inside only one Undo!
14055
14056         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14057         setting font's in insets as for them we have the SetFont function!
14058
14059 2001-05-15  Juergen Vigna  <jug@sad.it>
14060
14061         * text2.C (ClearSelection): to be sure we REALLY don't have any
14062         selection anymore!
14063
14064         * tabular.C (TeXCellPreamble): fixed the left border problem for
14065         multicolumn cells.
14066
14067 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14068
14069         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14070         dependancy file
14071
14072 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14075         LFUN_BREAKPARAGRAPH.
14076
14077         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14078         help test to "internal only", similar for LFUN_INSERT_URL
14079
14080         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14081         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14082         auto_region_delete and deadkeys.
14083
14084 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * LColor.h:
14087         * LColor.C: remove some dead entries, tidy a little
14088
14089 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14090
14091         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14092         commented code.
14093         (Dispatch): implement LFUN_ESCAPE
14094
14095         * commandtags.h: add LFUN_ESCAPE
14096
14097         * LyXAction.C (init): add entry for LFUN_ESCAPE
14098
14099         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14100         Remove commented code.
14101         (insertNote): moved here
14102         (open_new_inset): moved here
14103
14104         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14105         BufferView_pimpl
14106
14107 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14108
14109         * kbmap.C (findbinding): clean it up and make it work correctly.
14110
14111         * lyx_main.C (init): do not pass argc and argv as parameters
14112
14113 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14114
14115         * buffer.C: fix path for OS/2 & Win32
14116
14117         * lyx_gui.C:
14118         * lyx_main:
14119         * lyx_main.C: Added os:: class.
14120
14121         * os2_defines.h: update
14122
14123 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14124
14125         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14126         better by trying again with reduced state.
14127
14128 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14129
14130         * lyxrc.C (read): print error about invalid key sequence only when
14131         debugging (because not all latinX keysyms are known to some X
14132         servers)
14133
14134         * kbsequence.C (getiso): add a few std:: qualifiers
14135         (getiso): comment out extra return statement.
14136
14137 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14140         handling.
14141         (Dispatch): enhance the accent inset a bit. (not perfect)
14142
14143 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14144
14145         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14146
14147 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14148
14149         * bufferlist.C (emergencyWrite): fix assert() call
14150
14151 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14152
14153         * text.C (InsertChar): Added trivial patch to only send the "you
14154         can not do multiple spaces this way" message once during a
14155         session.
14156
14157 2001-05-08  Baruch Even  <baruch@lyx.org>
14158
14159         * Makefile.am: Changed order of libraries to get LyX to link properly
14160         with the gnome frontend.
14161
14162 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * LaTeXFeatures.h: add a std:: qualifier
14165
14166 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14167
14168         * paragraph.C (String): use stringstream
14169
14170 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * paragraph.C (writeFile): remove footflag arg
14173
14174         * buffer.C (makeLaTeXFile): use stringstream
14175         (latexParagraphs): remove footnot gurba
14176
14177         * LaTeXFeatures.C (getPackages): use stringstream
14178         (getMacros): likewise
14179         (getTClassPreamble): likewise
14180         (getFloatDefinitions): new method
14181
14182         * paragraph.C (writeFile): reindent
14183         (Erase): reindent
14184
14185         * WorkArea.h: revert the xpos + etc changes.
14186
14187         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14188
14189         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14190
14191         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14192         (pasteSelection): likewise
14193         * text2.C (CreateUndo): likewise
14194
14195 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14196
14197         * minibuffer.C (peek_event): temporarily reduce the functionality
14198         of the minibuffer (to allow args on lfuns)
14199
14200         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14201         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14202
14203         * buffer.C (readInset): add compability reading of old float
14204         lists, add reading of new style float list.
14205         (readInset): avoid reevaluation of inscmd.getCmdName()
14206         (getLists): reindent
14207
14208         * MenuBackend.C (MenuItem): implement parsing of
14209         md_floatlistinsert and md_floatinsert.
14210         (expand::LastFiles): move initalizaton of iterators out of loop,
14211         avoid reevaluation.
14212         (expand::Documents): introduce typdedef vector<string> Strings,
14213         and use it.
14214         (expand::ExportFormats): introduce typedef vector<Format const *>
14215         Formats, and use it.
14216         (expand): implement FloatListInsert and FloatInsert.
14217
14218         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14219         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14220         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14221
14222         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14223         handling.
14224         (Dispatch::LFUN_FLOAT_LIST): implement
14225
14226 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14227
14228         * LaTeX.C (run): Fix problem with --export code.
14229
14230 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14231
14232         * BufferView.[Ch] (workarea): removed.
14233         (getClipboard) new method; wrapper for workarea()->getClipboard()
14234
14235         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14236         bug.
14237
14238         * WorkArea.h (width, height, xpos, ypos): These methods all
14239         returned the dimensions of the work_area sub-area of WorkArea,
14240         resulting in a position error if the WorkArea were resized. Now
14241         return the dimensions of the entire WorkArea.
14242
14243         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14244
14245 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14246
14247         * LaTeX.C (deplog): correct the syntax of regex reg1
14248
14249 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14250
14251         * undo.C: remove !NEW_INSETS cruft
14252
14253 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14254
14255         * text2.C: remove !NEW_INSETS cruft
14256
14257         * text.C: remove !NEW_INSETS cruft
14258
14259         * tabular.C: remove !NEW_INSETS cruft
14260
14261         * spellchecker.C: remove !NEW_INSETS cruft
14262
14263         * lyxtext.h: remove !NEW_INSETS cruft
14264
14265         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14266
14267         * lyxfunc.C: remove !NEW_INSETS cruft
14268
14269         * lyxfind.C: remove !NEW_INSETS cruft
14270
14271         * lyx_cb.C: remove !NEW_INSETS cruft
14272
14273         * figureForm.C: remove  !NEW_INSETS cruft
14274
14275         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14276
14277         * buffer.[Ch]: remove !NEW_INSETS cruft
14278
14279         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14280
14281         * CutAndPaste.C: remove !NEW_INSETS cruft
14282
14283         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14284
14285         * BufferView2.C: remove !NEW_INSETS cruft
14286
14287         * BufferView.h: remove !NEW_INSETS cruft
14288
14289 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14290
14291         * Lsstream.h: include LString.h before the sstream headers to
14292         fix problem with gcc 2.95.3 and lyxstring
14293
14294 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * lyx_main.C: add using directives when needed for C functions
14297         declared in std:: namespace.
14298
14299 2001-04-27  Juergen Vigna  <jug@sad.it>
14300
14301         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14302         (SetHeightOfRow): comment out the update call should not be needed!
14303
14304 2001-04-13  Juergen Vigna  <jug@sad.it>
14305
14306         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14307         (LyXTabular): tried to minimize operator= operations (and realized
14308         hopfully Lars wish).
14309
14310 2001-04-27  Juergen Vigna  <jug@sad.it>
14311
14312         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14313
14314 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14315
14316         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14317
14318         * buffer.C (readInset): hack to make listof algorithm work
14319
14320         * BufferView_pimpl.C: hack to make listof algorithm work
14321
14322 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * LyXAction.C: removed all !NEW_INSETS cruft
14325         (init): moved lfun_item in method
14326
14327         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14328
14329 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14330
14331         * BufferView2.C (theLockingInset): white space.
14332
14333 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14334
14335         * minibuffer.C: include <iostream>
14336
14337         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14338
14339         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14340
14341         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14342
14343         * text.[Ch] (TransposeChars): new method
14344
14345 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * call message directly through LyXView instead of through LyXFunc
14348         * BufferView2.C: adjust
14349         * BufferView_pimpl.C: adjust
14350         * FontLoader.C: adjust
14351         * buffer.C: adjust
14352         * bufferview_funcs.C: adjust
14353         * converter.C: adjust
14354         * figureForm.C: adjust
14355         * importer.C: adjust
14356         * lyx_cb.C: adjust
14357         * lyx_gui_misc.C: adjust
14358         * lyxfunc.C: adjust
14359         * lyxvc.C: adjust
14360         * text2.C: adjust
14361         + more files in subdirs
14362
14363         * lyxparagraph.h (size): move up int file
14364         (GetLayout): ditto
14365
14366         * adjust all uses of Assert to lyx::Assert.
14367
14368         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14369         lyxfunctional in namespace lyx
14370         * layout.C (hasLayout): ditto
14371         (GetLayout): ditto
14372         (GetLayout): ditto
14373         (delete_layout): ditto
14374         (NumberOfClass): ditto
14375         * converter.C (GetFormat): ditto
14376         (GetNumber): ditto
14377         (Add): ditto
14378         (Delete): ditto
14379         (SetViewer): ditto
14380         * bufferlist.C (getFileNames): ditto
14381         (emergencyWriteAll): ditto
14382         (exists): ditto
14383         (getBuffer): ditto
14384         * MenuBackend.C (hasSubmenu): ditto
14385         (hasMenu): ditto
14386         (getMenu): ditto
14387         * BufferView_pimpl.C (getInsetByCode): ditto
14388
14389 2001-04-18  Juergen Vigna  <jug@sad.it>
14390
14391         * vspace.C (asLatexString): fixed the 100% problem.
14392
14393 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14394
14395         * lyxfunc.C (Dispatch):
14396         * minibuffer.C:
14397         * minibuffer.h: add a few std:: qualifiers
14398
14399 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * minibuffer.[Ch]: reimplement so that commands is initiated and
14402         run from lyxfunc, simplified som handling, and made the completion
14403         and history code for complete. wip.
14404
14405         * lyxfunc.C (processKeySym): call message
14406         (miniDispatch): new temporary method
14407         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14408         (LFUN_MESSAGE): implement
14409         (LFUN_MESSAGE_PUSH): implement
14410         (LFUN_MESSAGE_POP): implement
14411         (initMiniBuffer): the initial/defualt minibuffer message.
14412
14413         * lyxfont.[Ch]: inline some more getters
14414
14415         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14416
14417         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14418
14419         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14420         (AutoSave): use LFUN_MESSAGE
14421         (Reconfigure): ditto
14422
14423         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14424
14425         * figureForm.C: use LFUN_MESSAGE
14426
14427         * converter.C (runLaTeX): use LFUN_MESSAGE
14428
14429         * bufferview_funcs.C: use LFUN_MESSAGE
14430         (Melt): ditto
14431         (changeDepth): ditto
14432
14433         * bufferparams.h: use boost::
14434
14435         * bufferlist.h: inherit privately from noncopyable
14436
14437         * bufferlist.C (loadLyXFile): remove some commented code.
14438
14439         * buffer.C (runChktex): use LFUN_MESSAGE
14440
14441         * ShareContainer.h: inherit privately from noncopyable
14442
14443         * ParagraphParameters.[hC] (depth): inline it.
14444
14445         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14446         methods.
14447         (message): new method
14448         (messagePush): ditto
14449         (messagePop): ditto
14450         (show): init minibuffer
14451         (showState): direct call
14452
14453         * LaTeX.[Ch]: inherit privately from noncopyable
14454         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14455         instead of WriteStatus.
14456
14457         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14458
14459         * BufferView_pimpl.C (buffer): don't init minibuffer
14460         (workAreaButtonPress): use LFUN_MESSAGE
14461         (workAreaButtonRelease): ditto
14462         (savePosition): ditto
14463         (restorePosition): ditto
14464         (MenuInsertLyXFile): ditto
14465         (workAreaExpose): don't init minibuffer
14466         (update): remove commented code, simplify
14467
14468         * BufferView2.C (openStuff): use LFUN_MESSAGE
14469         (toggleFloat): ditto
14470         (menuUndo): ditto
14471         (menuRedo): ditto
14472         (copyEnvironment): ditto
14473         (pasteEnvironment): ditto
14474         (copy): ditto
14475         (cut): ditto
14476         (paste): ditto
14477         (gotoInset): ditto
14478         (updateInset): remove some commented code
14479
14480         * lastfiles.h: inherit privately from noncopyable
14481         * layout.h: ditto
14482         * lyx_gui.h: ditto
14483         * lyx_main.h: ditto
14484         * lyxlex.h: ditto
14485         * lyxlex_pimpl.h: ditto
14486
14487         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14488         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14489         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14490
14491         * LyXAction.h: inherit privately from noncopyable, add methods
14492         func_begin, func_end, returning iterators to the func map.
14493
14494         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14495         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14496         (func_begin): new method
14497         (func_end): new method
14498
14499         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14500         and not)
14501         (copySelection): ditto
14502         (pasteSelection): ditto
14503
14504         * BufferView.C: whitespace change
14505         * BufferView.h: inherit privately from noncopyable
14506
14507 2001-04-16  Allan Rae  <rae@lyx.org>
14508
14509         * tabular-old.C (l_getline):
14510         * spellchecker.C (sc_check_word):
14511         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14512         an unrecognised preprocessor directive.  So ensure they're wrapped.
14513
14514 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14515
14516         * src/exporter.C (Export): Give an error message when path to file
14517         contains spaces.
14518
14519 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14520
14521         * LaTeX.C (deplog): Always check that foundfile exists.
14522
14523 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * lyx_main.h:
14526         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14527
14528 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14529
14530         * tabular.[Ch] (getLabelList): implement new method
14531
14532         * minibuffer.h: comment ouf setTiimer
14533
14534         * minibuffer.C (ExecutingCB): constify res
14535         (peek_event): constify s
14536         (Set): constify ntext
14537         (Init): constify nicename
14538
14539         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14540
14541         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14542         (savePosition): use two params to Minibuffer::Set
14543         (restorePosition): ditto
14544
14545 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14546
14547         * lyx_main.C: include language.h
14548
14549         * Makefile.am (lyx_main.o): add language.h
14550
14551 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14552
14553         * exporter.C:
14554         * paragraph.C:
14555         * screen.C:
14556         * tabular.C:
14557         * CutAndPaste.C: include gettext.h
14558
14559         * lyxfont.h: remove old hack with ON and OFF.
14560
14561         * lyxparagraph.h:
14562         * lyxfont.h: do not include language.h...
14563
14564         * BufferView2.C:
14565         * LaTeXFeatures.C:
14566         * Painter.C:
14567         * bufferview_funcs.C:
14568         * font.C:
14569         * lyxfont.C:
14570         * text.C:
14571         * text2.C:
14572         * trans_mgr.C:
14573         * paragraph.C: ... but do it here instead
14574
14575 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14576
14577         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14578
14579         * tabular.C: small reformat
14580
14581         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14582         NEW_INSETS version
14583         (GetChar): ditto
14584         (BreakParagraph): ditto
14585         (SetOnlyLayout): ditto
14586         (SetLayout): ditto
14587
14588         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14589         with one arg less.
14590
14591         * lastfiles.C: removed most using decl, add std:: where needed
14592
14593         * buffer.C: ws changes
14594
14595         * MenuBackend.C (class compare_format): put into anon namespace
14596         (expand): constify label, names, action, action2
14597         (expand):
14598
14599         * text.C (SingleWidth): constify font
14600         (IsBoundary): constify rtl2
14601         (GetVisibleRow): constify ww
14602
14603         * LaTeX.C (deplog): constify logfile
14604
14605         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14606         start_x, end_x
14607         (workAreaExpose): constify widthChange, heightChange
14608
14609         * lyxrow.C (par): moved
14610         (height): moved
14611         (next): moved
14612         * lyxrow.h: as inlines here
14613
14614         * lyxfont.h (shape): moved from lyxfont.C
14615         (emph): moved from lyxfont.C
14616
14617         * lyxfont.C (LyXFont): use initialization list for all
14618         constructors
14619         (shape): move to lyxfont.h as inline
14620         (emph): move to lyxfont.h as inline
14621
14622
14623 2001-04-04  Juergen Vigna  <jug@sad.it>
14624
14625         * vspace.C: had to include stdio.h for use of sscanf
14626
14627 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14628
14629         * BufferView.h:
14630         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14631         independent of xforms.
14632
14633 2001-04-02  Juergen Vigna  <jug@sad.it>
14634
14635         * spellchecker.C: fixed namespace placing!
14636
14637 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14638
14639         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14640         the LyXParagraph * is 0.
14641
14642 2001-03-29  Juergen Vigna  <jug@sad.it>
14643
14644         * vspace.C: added support for %, c%, p%, l%.
14645         (stringFromUnit): added helper function.
14646         (asLatexString): changed to give right results for the %-values.
14647
14648         * buffer.C: convert the widthp in a width%.
14649
14650 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14651
14652         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14653         figureForm.[Ch].
14654
14655         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14656         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14657
14658         * lyx_cb.[Ch]: see above.
14659
14660         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14661         form1.[Ch].
14662
14663         * form1.[Ch]:
14664         * lyx.[Ch]: replaced by figure_form.[Ch].
14665
14666         * lyx_gui.C:
14667         * lyx_gui_misc.C:
14668         * lyxfunc.C: changed headers associated with above changes.
14669
14670 2001-03-27  Juergen Vigna  <jug@sad.it>
14671
14672         * BufferView_pimpl.C: set the temporary cursor right!
14673
14674 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14675
14676         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14677
14678 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14679
14680         * LString.h: removed "using std::getline"!
14681
14682         * BufferView_pimpl.C (Dispatch): changes due to changes in
14683         InsetInclude::Params.
14684
14685         * buffer.C (tag_name): removed redundant break statements as they were
14686         producing lots of warnings with my compiler.
14687
14688 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14689
14690         * LString.h: add "using std::getline" when using the real <string>.
14691
14692 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14693
14694         * buffer.C: removed bitset usage.
14695         PAR_TAG moved to an anonymous name space.
14696         (tag_name): new funtion, also in the anonymous namespace.
14697         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14698         (makeDocBookFile): clean code. Completed transition from string arrays
14699         to string vectors.
14700         (SimpleDocBookOnePar): code clean.
14701
14702 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14703
14704         * tabular.C: add some comments.
14705
14706 2001-03-22  Juergen Vigna  <jug@sad.it>
14707
14708         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14709         compatibility read a bit and fixed bug with minipage in different
14710         depth.
14711
14712 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14713
14714         * buffer.C (pop_tag): removed.
14715         (push_tag): removed.
14716         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14717         array replaced with vector. Added support for CDATA sections.
14718         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14719         at any nest level.
14720         (makeDocBookFile): XML conformant declaration of CDATA section,
14721         fixed bug related to <emphasis> in the first paragraph char.
14722         (sgmlOpenTag): exclude empty tags.
14723         (sgmlCloseTag): ditto.
14724
14725         * buffer.h (pop_tag): removed.
14726         (push_tag): removed.
14727
14728 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14729
14730         * language.h (Languages): added size_type and size().
14731
14732 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14733
14734         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14735         response on compability reading of minipages. One probliem is that
14736         the old usage of minipages was «flertydig»
14737
14738         * several files here and in subdirs: don't use static at file
14739         scope use anon namespaces instead.
14740
14741 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14742
14743         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14744         LaTeX output. This is necessary for Literate document
14745         processing.
14746
14747 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14748
14749         * buffer.C: insert hfill when needed.
14750
14751         * tabular.C (l_getline): use string::erase, small whitespace change.
14752
14753         * BufferView_pimpl.C: try the anon namespace.
14754         * WorkArea.C: ditto
14755
14756 2001-03-16  Juergen Vigna  <jug@sad.it>
14757
14758         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14759         otherwise it won't open options-dialogs.
14760
14761         * buffer.C: honor pextraWidth(p) on converting minipages.
14762
14763         * tabular.C (l_getline): changed the functions to strip trailing \r.
14764
14765 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14766
14767         * BufferView_pimpl.C:
14768         * minibuffer..C: added "using SigC::slot" declaration.
14769
14770 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14771
14772         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14773
14774         * text2.C: ditto
14775
14776         * text.C: ditto
14777
14778         * paragraph.C: ditto
14779
14780         * lyxtext.h: NO_PEXTRA
14781
14782         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14783
14784         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14785         * ParameterStruct.h: ditto
14786         * ParagraphParameters.h: ditto
14787         * lyxparagraph.h: ditto
14788
14789 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14790
14791         * buffer.C: add compability for minipage alignment.
14792         (latexParagraphs): remove unwanted pextra check.
14793
14794         * several files: remove CXX_WORKING_NAMESPACES
14795
14796         * buffer.C (pop_tag): tie is in namespace boost
14797
14798         * BufferView.h: noncopyable is in namespace boost
14799         * lyxlex.h: ditto
14800         * lyx_main.h: ditto
14801         * lyx_gui.h: ditto
14802         * layout.h: ditto
14803         * lastfiles.h: ditto
14804         * bufferlist.h: ditto
14805         * ShareContainer.h: ditto
14806         * LyXView.h: ditto
14807         * LyXAction.h: ditto
14808         * LaTeX.h: ditto
14809
14810 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14811
14812         * Merging changes from BRANCH_MVC back into HEAD.
14813
14814         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14815
14816 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * BufferView_pimpl.C: change from intl.C
14819
14820         * combox.h:
14821         * combox.C:
14822         * Makefile.am: move combox.*
14823
14824         * form1.h:
14825         * form1.C:
14826         * lyx_gui.C:
14827         * intl.h:
14828         * intl.C: remove dialog (covered by prefs)
14829
14830 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14831
14832         * lyxfunc.C (Dispatch): removed redundant break statement.
14833
14834 2001-03-14  Juergen Vigna  <jug@sad.it>
14835
14836         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14837
14838 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14839
14840         * buffer.C: add hack to fix compability reading of minipages.
14841
14842 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14843
14844         * buffer.C (getLists): Cleanup.
14845
14846 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * lyxfont.C (update): don't honor toggleall on font size.
14849
14850 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14851
14852         * bmtable.c:
14853         * bmtable.h:
14854         * Makefile.am: moved to frontends/xforms/
14855
14856         * lyx_gui_misc.C:
14857         * lyxfunc.C:
14858         * BufferView_pimpl.C: changes for moved mathpanel
14859
14860 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14861
14862         * gettext.h: fix gettext_init() in --disable-nls
14863
14864 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14867
14868 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14869
14870         * lyx.C:
14871         * lyx.h: strip external form
14872
14873 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * BufferView_pimpl.C: add comment, destroySplash()
14876
14877 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14878
14879         * BufferView_pimpl.C:
14880         * LyXAction.C:
14881         * buffer.C:
14882         * commandtags.h:
14883         * lyxfunc.C: use re-worked insetinclude
14884
14885 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14886
14887         * buffer.C: add using std::stringstream.
14888
14889         * lyx_cb.C: readd using std::ios.
14890
14891         * buffer.C: add using std::map.
14892
14893         * BufferView_pimpl.C: add using std::vector.
14894
14895         * ShareContainer.h: add std:: to swap.
14896
14897         * buffer.h: add some typedefs
14898         * buffer.C (getLists): use them
14899         (getLists): renamed from getTocList.
14900         add a counter for the different float types and use it in the
14901         generated string.
14902         (getLists): use the same counter for the NEW_INSETS and the "non"
14903         NEW_INSETS
14904
14905         * lyx_cb.h: remove unused items, includes, using etc.
14906
14907         * ShareContainer.h: remove some commented code, add more comments
14908         and "documentation".
14909
14910 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14911
14912         * buffer.C (getTocList): make the list also when NEW_INSETS is
14913         defined.
14914
14915         * buffer.h: remove TocType
14916
14917         * buffer.C (getTocList): change to return a map<string,
14918         vector<TocItem> >, implement for dynamic number of list.
14919
14920         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14921         * text2.C (PasteSelection): adjust
14922         * CutAndPaste.C (pasteSelection): adjust
14923
14924         * FloatList.C (FloatList): update from the new_insets branch.
14925         * Floating.[Ch]: ditto
14926         * LaTeXFeatures.C: ditto
14927         * buffer.C: ditto
14928         * lyxlex_pimpl.C: ditto
14929
14930         * paragraph.C (Last): remove when NEW_INSETS is defined.
14931
14932         * other file: changes because of the above.
14933
14934 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14935
14936         * lyxparagraph.h: rename next to next_, previous to previous_,
14937         make them private for NEW_INSETS. Rename Next() to next(),
14938         Previous() to previous().
14939
14940         * other files: changes because of the above.
14941
14942 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14943
14944         * BufferView.h:
14945         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14946         problem.
14947
14948 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14949
14950         * main.C (main): pass lyx_localedir to gettext_init().
14951
14952         * gettext.h: remove locale_init and gettext_init macros
14953
14954         * gettext.C (locale_init): new function
14955         (gettext_init): new function
14956
14957         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14958         setlocale().
14959
14960 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14961
14962         * Moved credits to frontends:
14963         * credits.[Ch]: removed
14964         * credits_form.[Ch]: removed
14965         * lyx_gui_misc.C: remove credits stuff
14966         * Makefile.am:
14967
14968 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14969
14970         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14971
14972         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14973         unneeded destructor.
14974
14975         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14976         a standalone pointer again.
14977
14978         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14979
14980 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * Makefile.am:
14983         * filedlg.h:
14984         * filedlg.C:
14985         * LyXAction.C:
14986         * ToolbarDefaults.C:
14987         * bufferlist.C:
14988         * commandtags.h:
14989         * form1.C:
14990         * form1.h:
14991         * lyx_cb.C:
14992         * lyx_cb.h:
14993         * lyxfunc.h:
14994         * lyxfunc.C:
14995         * BufferView_pimpl.C: use new file dialog in GUII
14996
14997         * lyx_cb.h:
14998         * lyx_cb.C: remove LayoutsCB to Toolbar
14999
15000 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * ShareContainer.h (get): add std:: qualifier
15003
15004 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * ShareContainer.h: define a proper ShareContainer::value_type
15007         type (and use typename to please compaq cxx)
15008
15009 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15010
15011         * lyxparagraph.h: move serveral local vars to
15012         ParameterStruct/ParagraphParameters., use ShareContainer in
15013         FontTable., make vars in FontTable private and add getter and
15014         setter.
15015
15016         * paragraph.C: changes because of the above.
15017
15018         * lyxfont.h: remove copy constructor and copy assignment. (the
15019         default ones is ok), move number inside FontBits. move inlines to
15020         lyxfont.C
15021
15022         * lyxfont.C: add number to initializaton of statics, move several
15023         inlines here. constify several local vars. some whitespace
15024         cleanup. Dont hide outerscope variables.
15025
15026         * Spacing.h: add two new constructors to match the set methods.
15027
15028         * ShareContainer.h: new file, will perhaps be moved to support
15029
15030         * ParameterStruct.h: new file
15031
15032         * ParagraphParameters.h: new file
15033
15034         * ParagraphParameters.C: new file
15035
15036         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15037         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15038
15039         * BufferView_pimpl.C: ParagraphParameter changes.
15040         * buffer.C: Likewise.
15041         * bufferview_funcs.C: Likewise.
15042         * text.C: Likewise.
15043         * text2.C: Likewise.
15044
15045 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * lyxfind.C (LyXReplace): do not redefine default argument in
15048         implementation.
15049         (IsStringInText): ditto
15050         (SearchForward): ditto
15051         (SearchBackward): ditto
15052
15053 2001-03-06  Juergen Vigna  <jug@sad.it>
15054
15055         * lyxfind.C (IsStringInText): put parentes around expressions.
15056
15057 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15058
15059         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15060
15061 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15062
15063         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15064
15065         * stl_string_fwd.h: add comment
15066
15067         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15068
15069         * tabular.h:
15070         * tabular.C: remove unused DocBook methods
15071
15072         * intl.C:
15073         * language.C:
15074         * paragraph.C:
15075         * buffer.C:
15076         killed DO_USE_DEFAULT_LANGUAGE
15077
15078 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15079
15080         * lyx_gui.C: do not include language.h.
15081
15082         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15083         arguments in function implementation.
15084
15085 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15086
15087         * BufferView_pimpl.C: add <ctime>
15088
15089 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15090
15091         * BufferView_pimpl.C: add using std::find_if
15092
15093 2001-02-27  José Matos  <jamatos@fep.up.pt>
15094
15095         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15096         by OnlyPath.
15097
15098 2001-02-11  José Matos  <jamatos@fep.up.pt>
15099
15100         * buffer.C (makeDocBookFile): command styles now have a parameter as
15101         "title" by default.
15102
15103 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15104
15105         * layout_forms.[Ch]: removed
15106         * lyx_cb.[Ch]: out character
15107         * lyx_gui.C: out character
15108         * lyx_gui_misc.C: out character
15109         * bufferview_funcs.C: : out character,
15110         added toggleall as parameter in ToggleAndShow
15111
15112 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15113
15114         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15115
15116         * text2.C (SetCurrentFont): Disable number property at boundary.
15117
15118 2001-02-26  Juergen Vigna  <jug@sad.it>
15119
15120         * lyxfunc.C (getStatus): added a string argument override function so
15121         that this is correctly called from LyXFunc::Dispatch if it contains a
15122         do_not_use_argument which is used!
15123         (Dispatch): added check for "custom" export and call appropriate func.
15124
15125 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15126
15127         * lyxrc.C: Add language_command_local, language_use_babel and
15128         language_global_options.
15129
15130         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15131
15132         * buffer.C (makeLaTeXFile): Use language_use_babel and
15133         language_global_options.
15134
15135 2001-02-23  Juergen Vigna  <jug@sad.it>
15136
15137         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15138         which works with LyXText and putted it inside BufferView. Here now we
15139         only call for that part the BufferView::Dispatch() function.
15140
15141         * BufferView.C (Dispatch): added.
15142
15143         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15144         functions which needs to use a LyXText over from LyXFunc.
15145         (MenuInsertLyXFile): added
15146         (getInsetByCode): added
15147         (moveCursorUpdate): added
15148         (static TEXT): added
15149
15150 2001-02-22  Juergen Vigna  <jug@sad.it>
15151
15152         * BufferView_pimpl.C (update): call a status update to see if LyXText
15153         needs it.
15154
15155 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15156
15157         * vc-backend.C (revert): implement for CVS
15158         (getLog): implement for CVS
15159
15160 2001-02-20  Juergen Vigna  <jug@sad.it>
15161
15162         * text2.C (ClearSelection): added BufferView param for inset_owner call
15163
15164         * lyxfunc.C (TEXT): added this function and use it instead of
15165         directly owner->view()-text of getLyXText().
15166
15167 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15168
15169         * src/layout_forms.C: out preamble
15170         * src/layout_forms.h: out preamble
15171         * src/lyx_cb.C: out preamble
15172         * src/lyx_cb.h: out preamble
15173         * src/lyx_gui.C: out preamble
15174         * src/lyx_gui_misc.C: out preamble
15175         * src/lyxfunc.C: connect with guii preamble
15176
15177 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15178
15179         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15180
15181 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15182
15183         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15184         whether to run bibtex.
15185
15186 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15187
15188         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15189
15190 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15191
15192         * Makefile.am (lyx_SOURCES): removed bibforms.h
15193
15194         * vspace.h: doxygen
15195
15196         * text.C (GetVisibleRow): make several local vars const
15197
15198         * tabular.C: small cleanup.
15199
15200         * lyxserver.C (callback): use compare instead of strncmp
15201
15202         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15203         inlines to after class or to paragraph.C
15204
15205         * lyxfont.h: remove friend operator!=
15206
15207         * converter.h: move friend bool operator< to non friend and after
15208         class def.
15209
15210         * combox.h: small cleanup
15211
15212         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15213         to inlines after class def.
15214
15215         * buffer.C (pop_tag): use string operations instead of strcmp
15216
15217         * bmtable.c: doxygen, small cleanup
15218
15219         * LaTeX.h: remove friend operator==
15220
15221 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15222
15223         * screen.C:
15224         * lyxrc.[Ch]:
15225         * lyxfunc.C:
15226         * lyxfont.[Ch]:
15227         * lyx_cb.C:
15228         * intl.[Ch]:
15229         * commandtags.h:
15230         * buffer.C:
15231         * WorkArea.[Ch]:
15232         * LyXAction.C:
15233         * BufferView_pimpl.C:
15234         * BufferView.[Ch]: remove cruft
15235
15236 2001-02-14  Juergen Vigna  <jug@sad.it>
15237
15238         * lyxfunc.C: removed #if 0 unused code
15239
15240         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15241
15242         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15243
15244         * text2.C (SetSelection): added a BufferView * parameter
15245
15246 2001-02-13  Juergen Vigna  <jug@sad.it>
15247
15248         * lyxfunc.C (Dispatch): fixed protected blank problem.
15249         * BufferView2.C (protectedBlank): added LyxText * parameter.
15250
15251         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15252         (AppendColumn): same as above for column_info.
15253
15254         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15255         (moveCursorUpdate): use a LyXText param for support of InsetText.
15256
15257         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15258         (tripleClick): ditto
15259
15260         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15261
15262         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15263
15264         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15265
15266         * text2.C (SetSelection): set correct update status if inset_owner
15267         (ToggleFree): ditto
15268
15269 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15270
15271         * tabular.C: remove some commented code.
15272
15273 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15274
15275         * BufferView_pimpl.C: call hideSplash()
15276
15277         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15278
15279         * include_form.h:
15280         * bibforms.h: remove
15281
15282         * lyxfunc.C:
15283         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15284           add LFUN_CHILD_CREATE
15285
15286         * counters.h: fix tiny typo
15287
15288         * lyx_cb.C:
15289         * lyx.h:
15290         * lyx_gui.C:
15291         * lyx.C: move splash to frontends/xforms/
15292
15293         * lyx_gui_misc.C: move Include and Bibform to frontends
15294
15295         * lyxvc.h: clarify comment
15296
15297         * vspace.C: tiny housekeeping
15298
15299 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15300
15301         * text.C (PrepareToPrint): RTL Fix.
15302
15303         * paragraph.C (GetUChar): New method.
15304         (String):  Use GetUChar.
15305
15306         * buffer.C (asciiParagraph): Use GetUChar.
15307
15308 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15309
15310         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15311
15312 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15313
15314         * buffer.h:
15315         * buffer.C: rename to getLogName(), handle
15316           build log / latex log nicely
15317
15318 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15319
15320         * MenuBackend.C:
15321         * MenuBackend.h: remove support for reference menuitem type.
15322
15323 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15324
15325         * BufferView_pimpl.C: housekeeping
15326         * BufferView_pimpl.h:
15327         * LyXView.h:
15328         * Makefile.am:
15329         * Timeout.C:
15330         * Timeout.h:
15331         * minibuffer.h: move Timeout GUI-I
15332
15333 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15334
15335         * lyxrc.C (read): Update converters data-structures.
15336
15337 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15338
15339         * LaTeX.h (operator!=): add operator != for Aux_Info
15340
15341 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15342
15343         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15344
15345         * LaTeXLog.C: deleted, useful code moved to Buffer
15346
15347         * buffer.h:
15348         * buffer.C: new function getLatexLogName()
15349
15350         * lyx_gui_misc.C:
15351         * lyx_gui.C:
15352         * lyxvc.C:
15353         * lyxvc.h:
15354         * lyxfunc.C: use frontends for LaTeX and VC logs
15355
15356 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * LaTeX.h: yet another std:: that Allan forgot.
15359
15360         * Variables.C (set): renamed from isset(), because this clashes
15361         with some HP-UX macros (grr).
15362
15363 2001-02-06  Allan Rae  <rae@lyx.org>
15364
15365         * LaTeX.h: Another bug fix.  Missing std:: this time.
15366
15367 2001-02-04  Allan Rae  <rae@lyx.org>
15368
15369         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15370         floats problem. I've left it commented out because it's not quite
15371         correct.  It should also test that the current object is a table or
15372         figure inset.  But I haven't gotten around to figuring out how to do
15373         that.  I *think* it'll be something like: "table" == inset.type()
15374
15375         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15376         bool.
15377
15378 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15379
15380         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15381         all the citation/databases/styles in the auxilary file.
15382         (run): Rerun latex if there was a babel language error.
15383
15384 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15385
15386         * text.C (Backspace): Preserve the font when changing newline char
15387         with a space.
15388         (BreakParagraph): If the cursor is before a space, delete the space.
15389
15390         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15391
15392 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15393
15394         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15395         new argument (code).
15396         (ChangeCitationsIfUnique): New method.
15397
15398         * paragraph.C (GetPositionOfInset): Handle bibkey.
15399
15400 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15401
15402         * BufferView_pimpl.h: change type of Position::par_pos to
15403         LyXParagraph::size_type.
15404
15405 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15406
15407         * BufferView_pimpl.C (savePosition, restorePosition): Write
15408         messages to minibuffer.
15409
15410 2001-01-28  José Matos  <jamatos@fep.up.pt>
15411
15412         * buffer.C (makeDocBookFile): adds support for document language.
15413         A silly restriction on the name of LatexCommand types where removed.
15414         Added support for CDATA sections, allows to chars unescaped, used
15415         among others in code, to avoid escape < and >.
15416
15417 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15418
15419         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15420         saved positions instrad of a stack. Furthermore, a position is
15421         stored using paragraph id/paragraph position.
15422
15423         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15424         Remove LFUN_REF_BACK.
15425
15426 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15427
15428         * converter.C (dvipdfm_options): New method.
15429
15430 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15431
15432         * vspace.C (isValidLength): Fix for empty input string.
15433
15434 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * LyXAction.C (init): change description of LFUN_FIGURE to
15437         "Insert Graphics"
15438
15439 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15440
15441         * LaTeX.C: add using directive
15442
15443 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15444
15445         * MenuBackend.C (expand): Fix the sorting of the formats.
15446
15447 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15448
15449         * lyx_main.C: tiny error message fix
15450
15451 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15452
15453         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15454         calling fl_initialize(). This fixes the problem with ',' as
15455         decimal separator in text files.
15456
15457 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15458
15459         * trans.C (process): Fix the keymap bug.
15460
15461 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15462
15463         * LaTeX.C (scanAuxFiles): New method. Provides support for
15464         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15465         (scanLogFile) Scan for "run BibTeX" messages.
15466
15467         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15468         OT1 font encoding. Also, load the aecompl package if the ae
15469         package is loaded.
15470
15471         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15472
15473 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15474
15475         * texrow.C (increasePos): turn two error messages into debug
15476         messages.
15477
15478 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15479
15480         * LaTeX.C (scanAux): Handle the \@input macro.
15481         (runBibTeX): Use scanAux().
15482
15483         * language.C (latex_options_): New field.
15484
15485         * LaTeXFeatures.C (getMacros): Add language macros.
15486
15487         * buffer.C (makeLaTeXFile): Small fix.
15488
15489 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15490
15491         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15492
15493         * text2.C: add a using directive.
15494
15495 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15496
15497         * BufferView2.C:
15498         * lyx_gui_misc.h:
15499         * lyxfr1.C:
15500         * lyxfunc.C: kill LyXBell.
15501
15502 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15503
15504         * text.C (IsBoundary): Remove the error message
15505
15506         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15507
15508         * lyxrc.C (setDefaults): Correct initialization value for
15509         font_norm_type.
15510
15511 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15512
15513         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15514         gotoError().
15515
15516         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15517         and GotoNextNote().
15518
15519         * src/LyXAction.C: Added reference-next.
15520
15521         * text.C (InsertChar): Use contains instead of strchr.
15522
15523         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15524
15525 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15526
15527         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15528         alignment commands (when needed).
15529
15530         * text.C (InsertChar): Add ':' to number separator chars.