]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
54cb96c3003a3a0ef1b6763042d471a359a27937
[lyx.git] / src / ChangeLog
1 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * buffer.C: increment format to 233.
4
5 2004-04-28  Angus Leeming  <leeming@lyx.org>
6
7         * BufferView_pimpl.C:
8         * lyxfunc.C:
9         * text3.C:
10         s/updateToolbar()/updateToolbars()/
11         s/Toolbar.h/Toolbars.h/
12
13 2004-04-28  Angus Leeming  <leeming@lyx.org>
14
15         * BufferView.[Ch] (c-tor):
16         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
17         No longer passes these data to the WorkArea generator.
18
19 2004-04-28  Angus Leeming  <leeming@lyx.org>
20
21         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
22
23 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
24
25         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
26
27 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * output_latex.C (TeXEnvironment): make sure that there is a line
30         break before \end{foo} for the last paragraph of a document
31         (TeXOnePar): if the paragraph is at the end of the document (or
32         inset) and the language has to be reset, then make sure that the
33         line break is _before_ the language command, not after (fixes bug
34         1225); also make sure that the language reset command is the first
35         thing after the paragraph (to ensure proper nesting of
36         environments and thus fix bug 1404)
37
38 2004-04-21  John Levon  <levon@movementarian.org>
39
40         * ToolbarBackend.h:
41         * ToolbarBackend.C: make "name" be a programmatic name
42         and a gui_name field.
43
44         * lyxfunc.C: display the minibuffer on M-x
45
46 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
49         (bug 1526)
50
51 2004-04-19  Angus Leeming  <leeming@lyx.org>
52
53         * BufferView_pimpl.C (setBuffer): changed preview interface.
54
55         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
56         possible values.
57
58 2004-04-19  John Levon  <levon@movementarian.org>
59
60         * BufferView_pimpl.C:
61         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
62
63 2004-04-05  Angus Leeming  <leeming@lyx.org>
64
65         * text.C (redoParagraphs): add call to updateCounters(), thereby
66         fixing the missing "Figure #:" label from the caption of a
67         figure float.
68
69 2004-04-13  Angus Leeming  <leeming@lyx.org>
70
71         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
72         cursor is clicked out of an inset.
73
74 2004-04-13  Angus Leeming  <leeming@lyx.org>
75
76         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
77         than an InsetOld one.
78
79 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
80
81         * format.[Ch]: add editor to Format
82         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
83         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
84
85 2004-04-08  André Pönitz  <poenitz@gmx.net>
86
87         * metricsinfo.h: remove PainterInfo::width member
88
89 2004-04-08  Angus Leeming  <leeming@lyx.org>
90
91         * lyx_sty.C (boldsymbol_def): modify so that it outputs
92         "\providecommand" rather than "\newcommand", thereby preventing
93         clashes with packages that define "\boldsymbol" themselves.
94         Eg, beamer.
95
96 2004-04-08  Angus Leeming  <leeming@lyx.org>
97
98         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
99         thereby squashing an unnecessary warning.
100
101 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
102
103         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
104         setBuffer()
105
106 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
107
108         * BufferView.C (setCursor): call redoParagraph (some insets could
109         have been opened)
110         (putSelectionAt): remove the 'double update' trick
111
112         * BufferView_pimpl.C (fitCursor): call refreshPar
113         (workAreaDispatch): remove an uneeded update call
114         (dispatch): remove some manual update calls
115
116         * cursor.[Ch]: remove cached_y_, updatePos
117         (selHandle): set noUpdate when appropriate
118
119         * lyxfunc.C (dispatch): track if we need an update
120
121         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
122
123         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
124         (paintSelection): cheap optimization, do not call cursorX when not
125         needed
126         (paintPars): change signature
127         (refreshPar): add
128         (paintText): adjust
129         (paintTextInset): adjust
130
131         * text.C: adjust
132
133 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * lengthcommon.C: compilation fix: remove explicit array size from
136         unit_name[] and friends
137
138 2004-04-05  Angus Leeming  <leeming@lyx.org>
139
140         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
141
142         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
143         present only for the preferences dialog.
144         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
145
146 2004-04-05  Angus Leeming  <leeming@lyx.org>
147
148         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
149         to enable the frontends to export changes to lyxrc correctly.
150
151         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
152
153 2004-04-07  André Pönitz  <poenitz@gmx.net>
154
155         * cursor.[Ch] (selClear, adjust): remove math
156
157         * cursor_slice.C: more agressive assert
158
159         * lyxfunc.C:
160         * BufferView_pimpl.C: rework mouse event dispatch
161
162         * dociterator.C:
163         * paragraph.C:
164         * text2.C:
165         * text3.C: adjust
166
167 2004-04-05  André Pönitz  <poenitz@gmx.net>
168
169         * cursor.[Ch] (valign, halign...): remove unneeded functions
170
171 2004-04-05  Angus Leeming  <leeming@lyx.org>
172
173         * lyxlength.[Ch] (unit_name et al.): const-correct.
174
175 2004-04-05  Angus Leeming  <leeming@lyx.org>
176
177         * BufferView_pimpl.C:
178         * buffer.C:
179         * counters.C:
180         * cursor.C:
181         * lyxfunc.C
182         * paragraph.C:
183         * pariterator.C:
184         * text.C:
185         * text2.C:
186         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
187
188 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
189
190         * text3.C (getStatus): add LFUN_BEGINNINGBUF
191
192 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * lyxfind.C: add a couple of inTexted() tests + other small fixes
195         * BufferView_pimpl.[Ch] (getStatus)
196         * BufferView.[Ch] (getStatus): add
197         * lyxfunc.C (getStatus): move lfuns handled in
198         BufferView::dispatch to te function above
199         * Cursor.C (setSelection): set selection() = true
200
201 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
202
203         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
204
205 2004-03-31  Angus Leeming  <leeming@lyx.org>
206
207         * lyxfunc.C (dispatch): Fall through to the generic
208         Dialogs::show("preamble").
209
210 2004-03-31  Angus Leeming  <leeming@lyx.org>
211
212         * lyxfunc.C (dispatch): Fall through to the generic
213         Dialogs::show("spellchecker").
214
215 2004-03-31  Angus Leeming  <leeming@lyx.org>
216
217         * lyxfunc.C (getStatus, dispatch): changed invocation of the
218         preferences dialog.
219
220 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
221
222         * BufferView.C
223         * cursor.[Ch]
224         * dociterator.[Ch]:
225         * insetiterator.[Ch]:
226         * lyxfind.C:
227         * lyxfunc.C:
228         * pariterator.[Ch]:
229         * text2.C:
230         * undo.[Ch]: s/DocumentIterator/DocIterator/g
231
232 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * BufferView.C (setCursor, putSelectionAt): call edit to open the
235         insets where we are putting the cursor.
236
237 2004-03-31  Angus Leeming  <leeming@lyx.org>
238
239         * lfuns.h:
240         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
241
242         * lyxrc.[Ch] (read, write): overloaded member functions taking
243         a std::[io]stream arguments.
244
245         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
246
247 2004-03-31  Angus Leeming  <leeming@lyx.org>
248
249         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
250         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
251
252         * lyxtextclass.C (load): if the text class couldn't be loaded, then
253         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
254
255 2004-03-31  Angus Leeming  <leeming@lyx.org>
256
257         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
258         the LFUN_ALL_INSETS_TOGGLE code.
259
260 2004-03-30  Angus Leeming  <leeming@lyx.org>
261
262         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
263         has died. Fall through to the generic Dialogs::show("document").
264
265 2004-03-30  Angus Leeming  <leeming@lyx.org>
266
267         * lfuns.h:
268         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
269         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
270
271         * lyxfunc.C (getStatus, dispatch): define the actions for these
272         lfuns. Little more than a cut and pste job from ControlDocument.C
273
274         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
275
276 2004-03-30  Angus Leeming  <leeming@lyx.org>
277
278         * lfuns.h:
279         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
280         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
281
282         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
283         open/closed state of ollapsable insets. Usage:
284
285         all-inset-toggle <state> <name>, where
286         <state> == "open" || "closed" || "toggle" and
287         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
288
289         * lyxtext.h, text2.C (toggleInset): removed.
290
291         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
292         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
293         now passes LFUN_INSET_TOGGLE to the found inset.
294
295         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
296         is now invoked as "all-insets-toggle toggle branch".
297
298 2004-03-30  Angus Leeming  <leeming@lyx.org>
299
300         * dociterator.C:
301         * insetiterator.C:
302         * pariterator.[Ch]: added/corrected header blurb.
303
304 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
305
306         * dociterator.[Ch]: add an inset_ member
307         (backwardPos): implemented
308         (backwardPos, forwardPos): use inset_ when the stack is empty.
309         (doc_iterator_begin, doc_iterator_end): implemented
310         * pariterator.[Ch]: adjust, add begin, end
311         * insetiterator.[Ch]: adjust, add begin, end
312         * cursor.C:
313         * document.C:
314         * BufferView.C:
315         * BufferView_pimpl.C:
316         * CutAndPaste.C: adjust
317
318 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
319
320         * buffer.C: increment file format to 232.
321         * LaTeXFeatures.C: add bibtopic package.
322         * bufferparams.[Ch]: param \use_bibtopic.
323
324         * lyxrc.[Ch]: add lyxrc bibtex_command
325         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
326
327         * buffer.C: increment file format to 231.
328
329 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
330
331         * dociterator.C: implement forwardPar
332         * iterators.[Ch]: remove, replaced by
333         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
334         * BufferView.C:
335         * BufferView_pimpl.C:
336         * CutAndPaste.C:
337         * buffer.C:
338         * bufferview_funcs.C:
339         * cursor.C:
340         * lyxfind.C
341         * lyxfunc.C
342         * paragraph_funcs.C
343         * toc.C:
344         * Makefile.am: adjust
345
346 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
347
348         * CutAndPaste.C (pasteSelection): fix 2 crashes
349         (eraseSelection): fix a crash
350         * paragraph_funcs.C: remove a warning
351
352 2004-03-28  Angus Leeming  <leeming@lyx.org>
353
354         * lfuns.h:
355         * LyXAction.C (init): new LFUN_PRINT.
356
357         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
358
359 2004-03-27  Angus Leeming  <leeming@lyx.org>
360
361         * lfuns.h:
362         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
363
364         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
365
366 2004-03-27  Angus Leeming  <leeming@lyx.org>
367
368         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
369         insetlist always contains non-null pointers to insets.
370
371 2004-03-26  Angus Leeming  <leeming@lyx.org>
372
373         * src/BufferView_pimpl.C:
374         * src/CutAndPaste.C:
375         * src/buffer.C:
376         * src/iterators.C:
377         * src/output_plaintext.C:
378         * src/outputparams.h:
379         * src/paragraph_funcs.C:
380         * src/rowpainter.C:
381         * src/text.C:
382         * src/text2.C:
383         * src/frontends/controllers/ControlErrorList.C:
384         * src/frontends/gtk/FileDialogPrivate.C:
385         * src/frontends/gtk/GPainter.C:
386         * src/frontends/gtk/GToolbar.C:
387         * src/frontends/qt2/QRef.C:
388         * src/mathed/math_scriptinset.C: squash compiler warnings.
389
390 2004-03-26  Angus Leeming  <leeming@lyx.org>
391
392         * ispell.C (LaunchIspell::start):
393         * lyx_cb.C (AutoSaveBuffer::start):
394         invoke run(DontWait) rather than runNonBlocking().
395
396 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
397
398         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
399
400 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * kbsequence.C (print): adjust
403
404         * kbmap.C (printKeySym): rename and change signature
405         (printKey): use LyXKeySym::print()
406
407 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * undo.C: add using std::advance to compile for stlport
410
411 2004-03-24  Angus Leeming  <leeming@lyx.org>
412
413         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
414         it leads to a crash when no buffer is present.
415
416 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
417             Martin Vermeer  <martin.vermeer@hut.fi>
418
419         * lyxfunc.C (dispatch):
420         * bufferparams.C (readToken): use the new LColor::setColor
421
422         * LColor.[Ch] (setColor): new version that takes two strings as
423         argument and creates a new color entry if necessary
424
425 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
426
427         * buffer.C (makeLaTeXFile): if the main latex file that is
428         processed is usually a subdocument of some master, then pretend
429         for a while that it is actually the master
430
431 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
432
433         * buffer.C (getLabelList):
434         (getBibkeyList): use getMasterBuffer()
435         (getMasterBuffer): new method. Returns the main document in the
436         case where one is using included documents.
437
438 2004-03-25  André Pönitz  <poenitz@gmx.net>
439
440         * Makefile.am:
441         * iterators.[Ch]:
442         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
443
444         * ParagraphList_fwd.h: change ParagraphList to a std::vector
445
446         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
447         text*.C over here. Rename namespace CutAndPaste to lyx::cap
448
449         * ParameterStruct.h: merge with ParagraphParameters
450
451         * lyxtext.h: remove LyXText::parOffset() and getPar()
452
453         * text3.C: Remove all 'manual' update calls. We do now one per user
454         interaction which is completely sufficient.
455
456         * Bidi.C:
457         * BufferView.[Ch]:
458         * BufferView_pimpl.C:
459         * FontIterator.[Ch]:
460         * MenuBackend.C:
461         * ParagraphParameters.[Ch]:
462         * buffer.C:
463         * buffer.h:
464         * bufferlist.C:
465         * cursor.[Ch]:
466         * cursor_slice.[Ch]:
467         * dociterator.[Ch]:
468         * errorlist.[Ch]:
469         * factory.C:
470         * lfuns.h:
471         * lyxfind.C:
472         * lyxfunc.C:
473         * output_docbook.[Ch]:
474         * output_latex.[Ch]:
475         * output_linuxdoc.[Ch]:
476         * output_plaintext.[Ch]:
477         * paragraph.[Ch]:
478         * paragraph_funcs.[Ch]:
479         * paragraph_pimpl.[Ch]:
480         * rowpainter.C:
481         * tabular.[Ch]:
482         * text.C:
483         * text2.C:
484         * toc.C:
485         * undo.[Ch]: adjust
486
487         * frontends/controllers/ControlDocument.C:
488         * frontends/controllers/ControlErrorList.C:
489         * frontends/controllers/ControlSpellchecker.C:
490         * insets/inset.C:
491         * insets/inset.h:
492         * insets/insetbase.h:
493         * insets/insetbibitem.C:
494         * insets/insetbox.C:
495         * insets/insetbranch.C:
496         * insets/insetcaption.C:
497         * insets/insetcharstyle.C:
498         * insets/insetcharstyle.h:
499         * insets/insetcollapsable.C:
500         * insets/insetcollapsable.h:
501         * insets/insetert.C:
502         * insets/insetfloat.C:
503         * insets/insetfoot.C:
504         * insets/insetmarginal.C:
505         * insets/insetnote.C:
506         * insets/insetoptarg.C:
507         * insets/insettabular.C:
508         * insets/insettext.C:
509         * insets/insettext.h:
510         * insets/insetwrap.C:
511         * mathed/math_mboxinset.C:
512         * mathed/math_nestinset.C:
513         * mathed/math_scriptinset.C:
514         * mathed/math_scriptinset.h:
515         * support/types.h:
516
517 2004-03-24  Angus Leeming  <leeming@lyx.org>
518
519         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
520         deal with any child processes that have finished but are waiting to
521         communicate this fact to the rest of LyX.
522
523 2004-03-24  Angus Leeming  <leeming@lyx.org>
524
525         64-bit compile fixes.
526
527         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
528         (c-tor): pass lyx::pos_types rather than ints.
529
530         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
531         lyx::pos_type.
532
533         * text.C (Delete): compile fix.
534         (getPar): ensure that function declaration is the same as that in
535         the header file.
536
537 2004-03-23  Angus Leeming  <leeming@lyx.org>
538
539         * ispell.C (LaunchIspell):
540         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
541         a boost::shred_ptr rather than a std::auto_ptr.
542
543 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * lyxfunc.C (getStatus): handle read-only buffers correctly;
546         handle LFUN_FILE_INSERT_*
547
548         * lyxrc.C (setDefaults, getDescription, output, read):
549         * lyxrc.h: remove ps_command
550
551 2004-03-22  Angus Leeming  <leeming@lyx.org>
552
553         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
554         Ensure that error_handler is processed once only and that all data
555         is saved before attempting to output any warning messages.
556
557         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
558
559 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
560
561         * tabular.C (TeXRow): crash fix (from Kayvan and André)
562
563 2004-03-19  André Pönitz  <poenitz@gmx.net>
564
565         * cursor.[Ch] (reset): take main text inset as argument
566
567         * BufferView: adjust
568         * BufferView_pimpl.C: adjust
569
570         * paragraph.[Ch]: fix completely broken operator=()
571
572 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * LColor.C (getFromLyXName): make sure that the color name is used
575         as lowercase.
576
577 2004-03-17  Angus Leeming  <leeming@lyx.org>
578
579         * lfuns.h:
580         * LyXAction.C (init): remove LFUN_FORKS_KILL.
581
582         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
583         dialog and to kill a forked process.
584
585 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
586
587         * text2.C (setCursorFromCoordinates): fix font problem
588
589 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
590
591         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
592         bogus "rebuild cursor" code
593
594 2004-03-11  André Pönitz  <poenitz@gmx.net>
595
596         * buffer.[Ch]: use InsetText instead of LyXText as container for
597         the main lyx text.
598
599         * dociterator.[Ch]: drop the BufferView * member which is not needed
600         anymore after the change to buffer.C
601
602         * paragraph_funcs.C:
603         * text.C:
604         * text2.C:
605         * BufferView.[Ch]:
606         * BufferView_pimpl.[Ch]:
607         * cursor.[Ch]:
608         * cursor_slice.[Ch]: adjust
609
610         * text3.C: fix bug in mathDispatch
611
612 2004-03-08  André Pönitz  <poenitz@gmx.net>
613
614         * undo.[Ch]: use 'StableDocumentIterator' as base for
615         the Undo struct.
616
617 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
618
619         * LaTeXFeatures.C:
620         * bufferparams.[Ch]: add jurabib support and param.
621
622         * LaTeX.C: add FIXME/comment.
623
624 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
625
626         * buffer.C: increment file format to 230.
627
628 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
629
630         * cursor.C (dispatch): avoid infinite loops
631
632 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
633
634         * rowpainter.C (paintSelection): fix x coordinates
635
636 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
637
638         * text.C (rowBreakPoint): fix breaking before displayed insets
639
640 2004-03-01  André Pönitz  <poenitz@gmx.net>
641
642         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
643
644         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
645
646         * Makefile.am:
647         * BufferView.C:
648         * BufferView_pimpl.C:
649         * buffer.C:
650         * lyxfind.C:
651         * lyxfunc.C:
652         * text.C:
653         * text2.C:
654         * text3.C: adjust
655
656 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
657
658         * lyxtext.h:
659         * text.C:
660         * text2.C:
661         * rowpainter.C:
662         * BufferView_pimpl.C: rename textwidth -> maxwidth,
663         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
664
665 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
666
667         * Bidi.[Ch] (computeTables): const correctness
668         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
669         fill_hfill, fill_label_hfill and x from Row
670         * lyxtext.h: prepareToPrint returns a RowMetrics
671         * rowPainter.C: adjust
672         * text.C (prepareToPrint): use width, not textWidth. adjust
673         (redoParagraphInternal, cursorX): adjust
674         * text2.C (getColumnNearX): adjust
675         (init): put a default value to the top LyXText::width
676
677 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
678
679         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
680
681 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
682
683         * lyxtext.h: add FontIterator class
684
685         * text.C (FontIterator, operator*, operator->, operator++): add
686         (rowBreakPoint, setRowWidth): adjust (fixing a
687         rebreaking bug)
688
689 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
690
691         * BufferView_pimpl.C (workAreaDispatch): allow also
692         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
693
694 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
695
696         * text.C (rowBreakPoint): fix a bug showing with very large insets
697
698 2004-02-25  André Pönitz  <poenitz@gmx.net>
699
700         * text3.C:
701         * cursor.[Ch]: move some mathed specific code to mathed
702
703 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
704
705         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
706         use_tempdir in preferences
707         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
708         tempfile creation
709         * lyx_main.C: ensure that tempdir is valid
710         * lyxlex.h: correct typo
711         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
712         * paragraph.[Ch] (isMultiLingual): make const
713         * cursor.[Ch] (openable): make const
714
715 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
716
717         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
718
719 2004-02-20  André Pönitz  <poenitz@gmx.net>
720
721         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
722
723         * cursor.[Ch]: prepare for localized getStatus()
724
725         * lyxtext.h:
726         * tabular.C:
727         * text.C:
728         * text2.C:
729         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
730
731 2004-02-20  André Pönitz  <poenitz@gmx.net>
732
733         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
734
735 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
736
737         * text2.C (setCursorFromCoordinates): switch to absolute coords
738         (cursorUp): adjust
739         (cursorDown): adjust
740         * text3.C (dispatch): adjust
741
742 2004-02-16  André Pönitz  <poenitz@gmx.net>
743
744         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
745           insets/ChangeLog)
746
747         * cursor_slice.[Ch]: remove unneeded acessor function
748
749         * lyxtext.h: rename rtl() to isRTL()
750
751         * rowpainter.C:
752         * tabular.C:
753         * text.C:
754         * text2.C:
755         * text3.C: adjust
756
757 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
758
759         * rowpainter.C (paintSelection): coord fix
760
761 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
762
763         * Spacing.C: compile fix
764
765 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
766
767         * cursor.C (dispatch): restore current_ before returning
768
769 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
770
771         * text2.C (cursorUp, cursorDown): fix coords
772         (moveUp): fix crash
773
774 2004-02-12  André Pönitz  <poenitz@gmx.net>
775
776         * lyxtext.h:
777         * text.C:
778         * text2.C:
779         * text3.C: add LCursor & parameter to most cursor movement functions
780           remove usage of LyXText::cursorRow() and cursorPar()
781
782         * cursor.[Ch]: add textRow() needed members
783
784         * BufferView.C:
785         * BufferView_pimpl.C:
786         * paragraph.[Ch]:
787         * BufferView.C:
788         * BufferView_pimpl.C: adjust
789
790 2004-02-11  André Pönitz  <poenitz@gmx.net>
791
792         * lyxfunc.C:
793         * BufferView.[Ch]:
794         * BufferView_pimpl.C: shift undo/redo handling
795
796         * cursor.[Ch]: fix mathed crash
797
798         * lyxfind.C:
799         * lyxtext.h: move selectionAsText to LCursor
800
801         * output_latex.C:
802         * paragraph.C:
803         * text.C:
804         * text2.C:
805         * text3.C: adjust
806
807         * rowpainter.C: fix excessive drawing
808
809 2004-02-06  André Pönitz  <poenitz@gmx.net>
810
811         * BufferView.[Ch]:
812         * BufferView_pimpl.[Ch]:
813         * text3.C: move some text specific LFUN handling
814
815 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
816
817         * text3.C (checkInsetHit): adjust coords
818         * text2.C (getColumnNearX): adjust coords
819         (edit): adjust coords
820         * text.C (getRowNearY): add two asserts
821
822 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
823
824         * converter.C:
825         * format.C: add using std::distance to compile on gcc 2.95/stlport
826
827 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
828
829         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
830
831 2004-02-04  André Pönitz  <poenitz@gmx.net>
832
833         * BufferView.[Ch] (insertInset):
834         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
835
836         * text2.C:
837         * text3.C: adjust
838
839 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
840
841         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
842         on the default clause of the switch
843         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
844         wasn't catched by LCursor::dispatch
845
846 2004-02-03  André Pönitz  <poenitz@gmx.net>
847
848         * BufferView.C:
849         * cursor.[Ch]: some additional asserts
850
851         * undo.[Ch]: remove LyXText dependency in interface
852
853         * lyxfunc.C: adjust
854
855         * lyxtext.h (firstPar, lastPar): remove dead functions
856
857         * text.C:
858         * text2.C:
859         * text3.C:
860         * paragraph.[Ch]: adjust
861
862 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
863
864         * lyxfind.C (find): fix argument order in call to ::find
865
866 2004-02-02  André Pönitz  <poenitz@gmx.net>
867
868         * cursor.[Ch]: remove direct access to anchor
869
870         * text.C: remove findText() hack
871
872 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
873
874         * iterators.[Ch] (lockPath): remove in favour of...
875         * BufferView.[Ch] (setCursor): this addition
876         * BufferView.C (putSelectionAt): adjust
877         * undo.C (performUndoOrRedo): adjust
878         * lyxfunc.C (dispatch): adjust
879
880 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
881
882         * iterators.C (lockPath): add a missing slice
883         * undo.C (performUndoOrRedo): remove redundant positioning code
884
885 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
886
887         * vc-backend.C (scanMaster): ";" -> ';'
888
889 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
890
891         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
892         std::binary_function
893
894         * lyxtextclass.C (compare_name): rename to...
895         (LayoutNamesEqual): ...this
896
897         * lyxlex_pimpl.C (compare_tags): inherit from
898         std::binary_function, put back into anon namespace
899
900         * lyxfind.C (MatchString): inherig from std::binary_function
901         (findChange): use empty() istead of !size()
902
903         * format.C (FormatNamesEqual): new functor
904         (getFormat): use it
905         (getNumber): use it
906         (add): use it
907         (erase): use it
908         (setViewer): use it
909
910         * converter.C (compare_Converter): rename to...
911         (ConverterEqual): ...this, and fixup a bit.
912         (getConverter): use it, and make function const
913         (getNumber): use it, and make function const
914         (add): use it
915         (erase): use it:
916
917         * bufferlist.C: add using boost::bind
918
919         * MenuBackend.C (MenuNamesEqual): new functor
920         (hasMenu): use it, and make function const
921         (hasSubmenu): use nested bind to get rid of compare_memfun.
922
923 2004-01-30  André Pönitz  <poenitz@gmx.net>
924
925         * BufferView_pimpl.C:
926         * cursor.C:
927         * cursor.h:
928         * cursor_slice.[Ch]:
929         * lyxfunc.C:
930         * lyxtext.h:
931         * paragraph_funcs.C:
932         * paragraph_funcs.h:
933         * rowpainter.C:
934         * text.C:
935         * text2.C:
936         * text3.C: move some of the edit(x,y) handling to the insets
937         some coordinate changes.
938
939 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
940
941         * text.C: add using statements for std::advance and std::distance
942
943         * paragraph.C: add using statement for std::distance
944
945         * lyxfind.C: add using statement for std::advance
946
947         * cursor.C (region): remove std:: from swap
948         (openable): use nucleus in stead of operator->
949
950         * BufferView.C: add using statements for std::distance and std::swap
951
952 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
953
954         * iterators.C: Remove the pimple, move the needed structures to
955         the header file. Create accessor for the positions stack.
956         (asPosIterator): remove function
957
958         * PosIterator.C (PosIterator): move constructors to top of file
959         (PosIterator): reimplement the constructor taking a ParIterator in
960         terms of setFrom.
961         (setFrom): new function
962         (operator!=): inline it
963
964 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
965
966         * lyxfind.C (replaceAll): use std::advance
967
968         * iterators.h: inherit from std::iterator.
969
970         * PosIterator.C (advance, distance): remove
971         * PosIterator.h: interit from std::iterator.
972
973 2004-01-26  André Pönitz  <poenitz@gmx.net>
974
975         * BufferView.[Ch]:
976         * BufferView_pimpl.[Ch]:
977         * InsetList.[Ch]:
978         * PosIterator.[Ch]:
979         * buffer.h:
980         * bufferview_funcs.C:
981         * cursor.[Ch]:
982         * cursor_slice.h:
983         * factory.[Ch]:
984         * iterators.[Ch]:
985         * lyxfind.C:
986         * lyxfunc.C:
987         * lyxtext.h:
988         * output_docbook.C:
989         * output_latex.C:
990         * output_linuxdoc.C:
991         * output_plaintext.C:
992         * paragraph.[Ch]:
993         * paragraph_funcs.[Ch]:
994         * paragraph_pimpl.[Ch]:
995         * rowpainter.C:
996         * tabular.C:
997         * tabular.h:
998         * text.C:
999         * text2.C:
1000         * text3.C: more IU:  dumps most of the rest of the mathcursor
1001     implementation into cursor.[Ch]; "globalize" a bit of it.
1002
1003 2004-01-25  Angus Leeming  <leeming@lyx.org>
1004
1005         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1006
1007 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1008
1009         * LaTeXFeatures.h: add nice_ and nice() const
1010         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1011
1012 2004-01-20  André Pönitz  <poenitz@gmx.net>
1013
1014         * BufferView.[Ch]:
1015         * BufferView_pimpl.C:
1016         * PosIterator.C:
1017         * bufferview_funcs.C:
1018         * cursor.[Ch]:
1019         * cursor_slice.[Ch]:
1020         * factory.C:
1021         * iterators.C:
1022         * lyx_cb.C:
1023         * lyxfind.C:
1024         * lyxfunc.C:
1025         * lyxtext.h:
1026         * rowpainter.C:
1027         * text.C:
1028         * text2.C:
1029         * text3.C:
1030         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1031           LCursor and mathcursor parts to LCursor and InsetBase.
1032
1033 2004-01-15  André Pönitz  <poenitz@gmx.net>
1034
1035         * cursor_slice.[Ch]: add a few covienience functions
1036
1037         * funcrequest.[Ch]: remove BufferView * member
1038
1039         * BufferView_pimpl.C:
1040         * cursor.C:
1041         * factory.[Ch]:
1042         * lyxfind.[Ch]:
1043         * lyxfunc.C:
1044         * lyxtext.h:
1045         * text3.C:
1046         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1047
1048 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1049
1050         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1051         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1052
1053 2004-01-13  André Pönitz  <poenitz@gmx.net>
1054
1055         * textcursor.[Ch]:
1056         * lyxtext.h: hide cursor and selection anchor behind accessor function
1057
1058         * BufferView.C:
1059         * BufferView_pimpl.[Ch]:
1060         * PosIterator.C:
1061         * bufferview_funcs.C:
1062         * cursor.h:
1063         * lyxfind.C:
1064         * lyxfunc.C:
1065         * text.C:
1066         * text2.C:
1067         * text3.C:
1068         * undo.C: adjust
1069
1070         * cursor.h:
1071         * cursor_slice.[Ch]: some integer type changes for inset unification
1072
1073         * lyxcursor.[hC]: remove, it's CursorSlice now.
1074
1075         * Makefile.am:
1076         * BufferView_pimpl.[Ch]:
1077         * bufferview_funcs.C:
1078         * cursor_slice.C:
1079         * lyxtext.h:
1080         * text.C:
1081         * text2.C:
1082         * text3.C:
1083         * textcursor.[Ch]: adjust
1084
1085 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * text2.C (undoSpan): add and use
1088         * text.C (breakParagraph): use undoSpan (fix bug 578)
1089         * lyxtext.h: adjust
1090
1091 2004-01-08  Angus Leeming  <leeming@lyx.org>
1092
1093         * BufferView_pimpl.C (MenuInsertLyXFile):
1094         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1095         * lyxfunc.C (menuNew, open, doImport):
1096         FileFilterList change to the FileDialog open and save functions.
1097
1098 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1099
1100         * ShareContainer.h: make isEqual and isUnique adaptable
1101
1102         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1103
1104 2004-01-07  Angus Leeming  <leeming@lyx.org>
1105
1106         * LyXAction.C:
1107         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1108
1109         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1110
1111         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1112         functions replacing find, replace and replaceAll.
1113
1114         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1115         LFUN_WORDFIND(FORWARD|BACKWARD).
1116
1117 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1118
1119         * text.C (breakParagraph): remove an outdated #warning
1120
1121 2004-01-07  André Pönitz  <poenitz@gmx.net>
1122
1123         * lyxfind.C: somewhat clearer logic
1124
1125         * text.C: prevent crash in cursorX on unitialized row cache
1126
1127 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1128
1129         * lyxcursor.[Ch] (operator>): add
1130         * textcursor.C (selStart, selEnd): use std::min and std::max
1131
1132 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1133
1134         * Chktex.C: include boost/format.hpp
1135
1136 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1137
1138         * InsetList.C: replace functor MathcIt with adaptable functor
1139         InsetTablePosLess
1140         (insetIterator): modify accordingly
1141
1142         * BranchList.h: move the BranchNamesEqual functor here from...
1143         * BranchList.C: ... to here
1144
1145         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1146         SameName and match.
1147         (add): replace a finding loop with std::find_if.
1148
1149 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1150
1151         * output_docbook.C: moving LatexParam functionality into
1152         .layout files
1153
1154 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1155
1156         * buffer.C: increment format to 229.
1157
1158 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1159
1160         * LaTeXFeatures.C:
1161         * lyx_sty.[Ch]: remove minipageindent_def
1162
1163         * LyXAction.C:
1164         * factory.C:
1165         * lfuns.h:
1166         * lyxfunc.C:
1167         * text3.C: remove LFUN_INSET_MINIPAGE
1168
1169 2003-12-28  Angus Leeming  <leeming@lyx.org>
1170
1171         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1172
1173 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1174
1175         * text2.C (setParagraph): fix off-by-one crash
1176
1177 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1178
1179         * output_docbook.C: header stuff for AGU
1180
1181 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1182
1183         * text2.C (redoCursor): remove
1184         * text.C:
1185         * text3.C:
1186         * BufferView_pimpl.C: remove calls to redoCursor and
1187         setCursor(cursor.par(), cursor.pos()) all around
1188
1189 2003-12-15  Angus Leeming  <leeming@lyx.org>
1190
1191         * buffer.C: up the format to 228.
1192
1193 2003-12-15  André Pönitz  <poenitz@gmx.net>
1194
1195         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1196         slices
1197
1198         * Makefile.am:
1199
1200         * BufferView_pimpl.C:
1201         * cursor.[Ch]:
1202         * lyxcursor.[Ch]:
1203         * rowpainter.[Ch]:
1204         * lyxtext.h:
1205         * text.C:
1206         * text2.C:
1207         * text3.C: adjust
1208
1209 2003-12-15  Angus Leeming  <leeming@lyx.org>
1210
1211         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1212         than getFromGUIName to manipulate the color.
1213
1214 2003-12-14  Angus Leeming  <leeming@lyx.org>
1215
1216         * BranchList.[Ch]: minimize the API.
1217         (Branch::getBranch, getColor): now return a 'const &'.
1218         (Branch::setSelected) now returns a bool set to true if the
1219         selection status changes.
1220         (BranchList::clear, size, getColor, setColor, setSelected,
1221         allBranches, allSelected, separator): removed.
1222         (BranchList::find): new functions, returning the Branch with
1223         the given name.
1224         (BranchList::add, remove): return a bool indicating that
1225         the operation was successful.
1226
1227         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1228         new InsetBranch::isBranchSlected member function.
1229
1230         * LColor.[Ch]: mimimize the API.
1231         (fill): renamed as addColor and made private.
1232         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1233         versions of these functions taking a string arg have been removed.
1234
1235         * bufferparams.C (readToken):
1236         * lyxfunc.C (dispatch):
1237         * lyxrc.C (read): changes due to the altered BranchList and
1238         LColor APIs.
1239
1240         * factory.C (createInset, readInset): changes due to altered
1241         InsetBranch c-tor.
1242
1243 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1244
1245         * factory.C:
1246         * lyxfunc.C: remove insetminipage. "minipage-insert"
1247         now produces a frameless minipage box inset.
1248
1249 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1250
1251         * textcursor.[Ch] (selStart,selEnd): add new methods
1252         remove selection::start, end, use LyXCursor::operator<
1253         * lyxcursor.[Ch] (operator<): add
1254         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1255         * BufferView.[Ch] (unsetXSel): add
1256         * text2.C (clearSelection): use unsetXSel,adjust
1257         * text.C: adjust
1258         * text3.C: adjust
1259         * rowpainter.C: adjust
1260         * bufferview_funcs.C (put_selection_at): adjust
1261
1262 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * BufferView_pimpl.C: small coord. correction
1265
1266 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1269         dragging over the splash screen.
1270
1271 2003-12-11  Angus Leeming  <leeming@lyx.org>
1272
1273         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1274         as it is now handled in LyXText::dispatch.
1275
1276         * text3.C (doInsertInset): remove a level of nesting.
1277
1278 2003-12-11  Angus Leeming  <leeming@lyx.org>
1279
1280         * factory.C (createInset): changes due to the changed interface to
1281         InsetCommandMailer::string2params.
1282
1283 2003-12-10  Angus Leeming  <leeming@lyx.org>
1284
1285         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1286         'dialog-show-new-inset <inset name>'
1287
1288 2003-12-10  Angus Leeming  <leeming@lyx.org>
1289
1290         * buffer.C: up the format to 227.
1291
1292         * factory.C: the box inset is now identified simply by 'Box'.
1293
1294 2003-12-10  Angus Leeming  <leeming@lyx.org>
1295
1296         * buffer.C: up the format to 226.
1297
1298         * factory.C: the note inset is now identified simply by 'Note'.
1299
1300 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1301
1302         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1303         when a pit is enough. Standarize a couple of loops.
1304
1305 2003-12-05  Angus Leeming  <leeming@lyx.org>
1306
1307         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1308         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1309         data to the re-worked "log" dialog.
1310
1311 2003-12-03  André Pönitz  <poenitz@gmx.net>
1312
1313         * PosIterator.C:
1314         * iterators.C:
1315         * lyxtext.h:
1316         * output_latex.C:
1317         * paragraph_funcs.C:
1318         * text.C:
1319         * text2.C: use Inset::getText instead of Inset::getParagraph
1320
1321 2003-12-03  André Pönitz  <poenitz@gmx.net>
1322
1323         * buffer.[Ch]:
1324         * lyxtext.h:
1325         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1326         InsetText::read() as LyXText::read()
1327
1328 2003-12-02  Angus Leeming  <leeming@lyx.org>
1329
1330         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1331         type. Add a comment in the implementation that the function uses
1332         the stream's bad() function rather than fail() as the std::streams
1333         would do.
1334
1335 2003-12-02  André Pönitz  <poenitz@gmx.net>
1336
1337         * lyxlex.[Ch]: make interface more similar to std::stream
1338
1339         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1340
1341 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1342
1343         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1344
1345 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1346
1347         * vspace.[Ch]: remove VSpace::NONE
1348
1349 2003-12-01  André Pönitz  <poenitz@gmx.net>
1350
1351         * buffer.[Ch]:
1352         * lyxtext.h: move ParagraphList member to LyXText
1353         rename LyXText::ownerParagraphs to LyXText::paragraph
1354
1355         * CutAndPaste.C:
1356         * bufferview_funcs.C:
1357         * iterators.[Ch]:
1358         * lyx_cb.C:
1359         * paragraph.C:
1360         * rowpainter.C:
1361         * tabular.C:
1362         * text.C:
1363         * text2.C:
1364         * text3.C: adjust
1365
1366         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1367
1368         * undo.C: fix cursor positioning
1369
1370 2003-12-01  John Levon  <levon@movementarian.org>
1371
1372         * BufferView_pimpl.C: fix a crash on exit with
1373         a buffer open
1374
1375 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1376
1377         * BranchList.C: fix setSelected() method.
1378
1379 2003-11-28  André Pönitz  <poenitz@gmx.net>
1380
1381         * ParagraphParameters.[Ch]:
1382         * ParameterStruct.h: remove space above/below from Paragraph to
1383          InsetVSpace
1384
1385         * BufferView_pimpl.C:
1386         * factory.C:
1387         * lyxfunc.C:
1388         * lyxtext.h:
1389         * output_latex.C:
1390         * paragraph.C:
1391         * paragraph_funcs.C:
1392         * rowpainter.[Ch]:
1393         * text.C:
1394         * text2.C:
1395         * text3.C: adjust
1396
1397 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1398
1399         * factory.C: Syntax change for CharStyles
1400
1401 2003-11-28  André Pönitz  <poenitz@gmx.net>
1402
1403         * BufferView.[Ch]:
1404         * BufferView.[Ch]:
1405         * buffer.[Ch]:
1406         * buffer.[Ch]: move LyXText member
1407
1408 2003-11-28  André Pönitz  <poenitz@gmx.net>
1409
1410         * BufferView.[Ch]: make LyXText * text a private member
1411
1412         * BufferView_pimpl.C:
1413         * cursor.C:
1414         * iterators.C:
1415         * lyx_cb.C:
1416         * lyxfind.C:
1417         * lyxtext.h:
1418         * rowpainter.[Ch]:
1419         * text.C:
1420         * text2.C:
1421         * undo.C: adjust
1422
1423         * output_plaintext.C: cleanup
1424
1425 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1426
1427         * buffer.C:
1428         * lyxtextclass.[Ch]: parametrize SGML document header
1429
1430 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1431
1432         * converter.[Ch]:
1433         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1434         getFlavor().
1435
1436 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1437
1438         * text2.C (setFont): rework using PosIterator (no more recursive)
1439         (setCharFont): no more needed
1440         (setLayout): no more selection cursors fiddling (done by redoCursor)
1441         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1442         destroy remaining ones)
1443
1444 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1445
1446         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1447         * lyxtext.h: ditto
1448         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1449         selection cursors
1450         * lyxfunc.C: adjust
1451         * text3.C: adjust + re-allow multi par depth changes
1452         * textcursor.C: simplify a bit
1453
1454 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1455
1456         * src/buffer.C:
1457         * src/lyxlayout.C:
1458         * src/lyxlayout.h:
1459         * src/lyxtext.h:
1460         * src/output_docbook.C:
1461         * src/output_latex.C:
1462         * src/paragraph.C:
1463         * src/paragraph.h:
1464         * src/sgml.C:
1465         * src/sgml.h:
1466         * src/text2.C: Introducing a number of tags parametrizing various
1467         XML formats that we may want to support
1468
1469 2003-11-25  André Pönitz  <poenitz@gmx.net>
1470
1471         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1472
1473         * lyxtext.h (leftMargin/rightMargin): simplify interface
1474
1475         * rowpainter.C:
1476         * text.C:
1477         * text2.C:
1478         * text3.C: adjust
1479
1480 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1481
1482         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1483         master file to any child files. Fixes bug 546.
1484
1485 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1486
1487         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1488
1489 2003-11-24  André Pönitz  <poenitz@gmx.net>
1490
1491         * rowpainter.C: simplification
1492
1493         * text2.C (updateCounters): remove call to redoParagraph on
1494         changed labels as this is far too expensive.
1495
1496 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * converter.C (convert): fix a crash: this function gets
1499         called with buffer == 0 from importer code.
1500
1501 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1502
1503         * text3.C (cursorPrevious): make sure that we do not compare
1504         iterators form different containers.
1505         (cursorNext): ditto
1506
1507         * rowpainter.C (paintSelection): make sure that we do not compare
1508         iterators from different containers.
1509
1510         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1511         iterators from different ParagraphList containers.
1512         [NEXT] ditto
1513
1514         * text2.C (LyXText): change order of initialization slightly
1515         (operator=): new function. copy all variables except cache_par_
1516         (moveUp): make sure that we do not compare iterators from
1517         different ParagraphList constainers.
1518         (moveDown): ditto
1519
1520         * text.C (firstPar): new function
1521         (lastPar): new function
1522         (endPar): new function
1523
1524         * lyxtext.h: move things around and group public functions, public
1525         variables, private functions, private variables
1526
1527 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1528
1529         * factory.C: change call to InsetERT constructor to avoid
1530         additional invocation of method status
1531         * text2.C (toggleInset): remove redundant update() call
1532         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1533         instead of a Bufferview pointer
1534
1535 2003-11-21  André Pönitz  <poenitz@gmx.net>
1536
1537         * rowpainter.C: simplification
1538
1539 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * text3.C (dispatch): make possible to extend a word/row selection
1542         with the mouse
1543
1544 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1545
1546         * lyxtext.h: x0_,y0_ -> xo_,yo_
1547         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1548         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1549         * rowpainter.C (paintRows): paint full paragraphs
1550
1551 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1552
1553         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1554         screen coordinates)
1555
1556 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1557
1558         * lyxtext.h: add x0_, y0_
1559         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1560         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1561
1562 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * text2.C (setCursorIntern): move the x_target update here *
1565         * text3.C: change some bv() to true/false in calls to
1566         cursorUp/Down/Right/Left
1567         * cursor.C: use helper function.
1568
1569 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1572         * paragraph_funcs.[Ch]: correct comment
1573         * rowpainter.C: do not paint selections away from bv->cursor()
1574         Fix a long standing selection painting bug.
1575         * text3.C: generalize mouse-selection code to LyXTexts other that
1576         top one
1577         * textcursor.C: do not use y coords if we can use par offsets
1578
1579 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1580
1581         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1582         cursor position after e.g. inset insert)
1583
1584 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1585
1586         * lyxfind.C (replace): adjust to locking removal + some
1587         code simplification
1588
1589 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1590
1591         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1592         of the path
1593
1594 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1595
1596         * lyxlayout.[Ch]:
1597         * output_docbook.C: XML sanitation: new layout
1598         parameters InnerTag and CommandDepth
1599
1600 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1601
1602         * BufferView_pimpl.C:
1603         * factory.C:
1604         * text3.C: Fix the insertion and modification of button-style
1605         insets
1606
1607 2003-11-13  André Pönitz  <poenitz@gmx.net>
1608
1609         * InsetList.[Ch]: remove deleteLyXText
1610
1611         * paragraph.[Ch]: cache beginOfBody position
1612
1613         * Bidi.C:
1614         * text.C:
1615         * text2.C:
1616         * text3.C: remove superfluous update() calls
1617
1618         * vspace.C: cleanup
1619
1620 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1621
1622         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1623         * BufferView.C (fitLockedInsetCursor): remove
1624         * cursor.[Ch] (getDim): add
1625         * text.C (getRowNearY): add faster version
1626         * text3.C: remove some update calls
1627
1628 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1629
1630         * LaTeXFeatures.C:
1631         * LyXAction.C:
1632         * MenuBackend.C:
1633         * MenuBackend.h:
1634         * dispatchresult.h:
1635         * factory.C:
1636         * lfuns.h:
1637         * lyxfunc.C:
1638         * lyxtextclass.C:
1639         * lyxtextclass.h:
1640         * text3.C: The Character Style /XML short element patch.
1641
1642 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1643
1644         * text3.C:
1645         * factory.C: Small step to solving 'unable to insert some insets'
1646         problem
1647
1648 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1649
1650         * cursor.[Ch] (updatePos): new function for updating the y
1651         position of the tip inset
1652         * bufferview_funcs.C (put_selection_at):
1653         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1654
1655 2003-11-11  André Pönitz  <poenitz@gmx.net>
1656
1657         * text.C: remove big comment on invalid Paragraph pointers as it is
1658         not valid anymore
1659
1660 2003-11-11  André Pönitz  <poenitz@gmx.net>
1661
1662         * text_funcs.[Ch]: merge with ...
1663
1664         * text.C: ... this
1665
1666         * lyxtext.h:
1667         * text2.C:
1668         * text3.C: adjust
1669
1670         * Makefile.am: remove text_funcs.[Ch]
1671
1672 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1673
1674         * cursor.C (getPos): return absolute cached y coord
1675
1676         * BufferView_pimpl.C (fitCursor): new simplistic code
1677         (workAreaDispatch): add a fitCursor call
1678
1679 2003-11-10  André Pönitz  <poenitz@gmx.net>
1680
1681         * BufferView.[Ch]:
1682         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1683
1684 2003-11-10  André Pönitz  <poenitz@gmx.net>
1685
1686         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1687         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1688         indicate that the cursor needs to leave an inset
1689
1690         * lyxtext.h: remove inset locking
1691
1692         * cursor.[Ch]: re-implement functionality provided by inset locking
1693
1694         * BufferView.[Ch]:
1695         * BufferView_pimpl.[Ch]:
1696         * LyXAction.C:
1697         * bufferview_funcs.[Ch]:
1698         * factory.C:
1699         * funcrequest.[Ch]:
1700         * iterators.C:
1701         * lyx_cb.C:
1702         * lyxfind.C:
1703         * lyxfunc.C:
1704         * text.C:
1705         * text2.C:
1706         * text3.C:
1707         * undo.C: adjust
1708
1709 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1710
1711         * PosIterator.[Ch]: replace the stack with a vector, add inset
1712         accesor
1713         * iterators.[C]: adjust
1714
1715 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1716
1717         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1718         replaced
1719         * paragraph_funcs.C (readParToken): put the correct id in the
1720         error item, not the id of the top paragraph
1721
1722 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1723
1724         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1725         * bufferview_funcs.C (put_selection_at): use the above
1726
1727 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1728
1729         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1730
1731 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1732
1733         * output_linuxdoc.h:
1734         * output_plaintext.h:
1735         * output.h:
1736         * output_docbook.h: add #include statements
1737
1738 2003-11-05  José Matos  <jamatos@lyx.org>
1739
1740         * output_docbook.[Ch]:
1741         * output_latex.[Ch]:
1742         * output_linuxdoc.[Ch]:
1743         * output_plaintext.[Ch]: New files for output formats.
1744         * output.[Ch]: New file for helper functions.
1745
1746         * buffer.[Ch]:
1747         * paragraph_funcs.[Ch]: output functions moved to new files.
1748
1749         * outputparams.h: rename of latexrunparams.h
1750
1751         * LaTeX.[Ch]:
1752         * buffer.[Ch]:
1753         * bufferlist.[Ch]:
1754         * converter.[Ch]:
1755         * exporter.C:
1756         * paragraph.[Ch]:
1757         * paragraph_funcs.[Ch]:
1758         * paragraph_pimpl.[Ch]:
1759         * tabular.[Ch]: rename ascii to plaintext
1760         and LatexRunParams to OutputParams.
1761
1762 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1763
1764         * iterators.[Ch] (text): require bv argument
1765         * undo.C (recordUndo):
1766         * lyxfunc.C (dispatch):
1767         * bufferview_funcs.C (put_selection_at): adjust
1768
1769 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1770
1771         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1772
1773 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1774
1775         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1776         nestings
1777
1778 2003-11-04  André Pönitz  <poenitz@gmx.net>
1779
1780         * cursor.[Ch]: restructure
1781
1782         * BufferView.[Ch]:
1783         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1784
1785         * iterators.[Ch] (asCursor): remove
1786
1787         * lfuns.h: remove LFUN_INSET_EDIT
1788
1789         * lyxfunc.C:
1790         * tabular.C:
1791         * text.C:
1792         * text2.C:
1793         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1794
1795 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1796
1797         * lyxfind.[Ch]: complete overhaul
1798         * BufferView_pimpl.C:
1799         * lyxfunc.C: adjust
1800         * paragraph.[Ch] (insert): add
1801
1802 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1803
1804         * BufferView.[Ch]:
1805         * lyxtext.h:
1806         * text.C: remove dead spellcheck code
1807
1808 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1809
1810         * dispatchresult.h: add a val setter
1811
1812         * cursor.C (dispatch): use a tempvar for data_[i]
1813
1814 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1815
1816         * PosIterator.[Ch]: compile fix
1817
1818 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1819
1820         * text.C (cursorPar): deactivate the cursor cache
1821
1822 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1823
1824         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1825
1826 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1827
1828         * text3.C (dispatch): adjust for new DisptchResult semantics.
1829
1830         * lyxfunc.C (dispatch): handle update when return from
1831         Cursor::dispatch, adjust for new DispatchResult semantics.
1832
1833         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1834         DispatchResult(true) mean to not update. Add class functions for
1835         setting dispatched and update, as well as reading.
1836
1837         * cursor.C (dispatch): don't handle update here
1838
1839 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1840
1841         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1842         * trans_mgr.C: adjust
1843
1844         * paragraph_funcs.C (readParToken): exception safety
1845
1846         * lyxvc.h: store the vcs pointer in a scoped_ptr
1847         * lyxvc.C: adjust
1848
1849         * lyxsocket.C (serverCallback): exception safety
1850
1851         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1852
1853         * ispell.C (clone): make it return a auto_ptr
1854
1855         * factory.C (createInset): exception safety
1856         (readInset): exception safety
1857
1858         * bufferlist.C (newBuffer): exception safety
1859
1860         * Thesaurus.C (Thesaurus): use initialization for aik_
1861
1862         * MenuBackend.C (expandToc): exception safety.
1863
1864 2003-11-03  André Pönitz  <poenitz@gmx.net>
1865
1866         * buffer.C:
1867         * buffer.h:
1868         * bufferview_funcs.C: remove getInsetFromId()
1869
1870         * lyxcursor.[Ch]:
1871         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1872
1873         * lyxfunc.C:
1874         * text2.C:
1875         * text3.C: adjust
1876
1877 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1878
1879         * PosIterator.C (distance, advance): new
1880         * bufferview_funcs.[Ch] (put_selection_at): new
1881         * iterators.[Ch] (lockPath): new
1882
1883 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1884
1885         * iterators.[Ch] (asPosIterator): added
1886         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1887         * PosIterator.[Ch]: added
1888
1889 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * text3.C:
1892         * lyxfunc.C:
1893         * cursor.C (dispatch):
1894         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1895
1896         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1897         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1898         contructor, add a class function dispatched. Remove operator>=
1899
1900 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * debug.C: only use the default constructor for debugstream
1903         (lyxerr) here.
1904
1905         * main.C (main): include debug.h and setup the lyxerr streambuf
1906         here.
1907
1908 2003-10-31  José Matos  <jamatos@lyx.org>
1909
1910         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1911
1912         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1913         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1914         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1915         * paragraph_pimpl.C (simpleTeXSpecialC):
1916         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1917         add LatexRunParams argument.
1918
1919         * exporter.C (Export): change call accordingly.
1920
1921         * latexrunparams.h: add new member to take care of the other backends.
1922 2003-10-30  José Matos  <jamatos@lyx.org>
1923
1924         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1925         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1926         factorise code for paragraph output.
1927         * buffer.[Ch]:
1928         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1929         move functions.
1930
1931 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1932
1933         * text3.C (dispatch):
1934         * lyxfunc.C (dispatch):
1935         * cursor.C (dispatch):
1936         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1937
1938         * dispatchresult.h: make the dispatch_result_t ctor explicit
1939
1940 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1941
1942         * sgml.[Ch]:
1943         * buffer.C: small refactoring of docbook stuff
1944
1945 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1946
1947         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1948         meaning.
1949
1950 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1951
1952         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1953         operator dispatch_result_t, and operators for == != and >=
1954
1955         * cursor.C (dispatch): adjust for operator dispatch_result_t
1956         removal. comment out call to update
1957
1958         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1959
1960 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1961
1962         * text3.C:
1963         * text2.C:
1964         * text.C:
1965         * lyxtext.h:
1966         * lyxfunc.C:
1967         * cursor.C:
1968         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1969         (dispatch):
1970
1971         * dispatchresult.h: new file, DispatchResult broken out of
1972         insets/insetbase.h
1973
1974         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1975
1976 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1977
1978         * text.C (rowBreakPoint): put a hack inside #if 0
1979
1980 2003-10-28  André Pönitz  <poenitz@gmx.net>
1981
1982         * lyxtext.h:
1983         * metricsinfo.C:
1984         * paragraph_funcs.C:
1985         * rowpainter.C:
1986         * text.C:
1987         * text2.C: general cleanup (lots of small stuff)
1988
1989 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1990
1991         * text2.C (cursorEnd): simple fix to the "end key goes to one
1992         before the end on last row" bug
1993
1994 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1995
1996         * text.C (backspace): fix the "zombie characters"
1997
1998 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1999
2000         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2001
2002 2003-10-27  André Pönitz  <poenitz@gmx.net>
2003
2004         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2005
2006         * factory.C: handle new InsetPagebreak, InsetLine
2007
2008         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2009         and move handling into new InsetPagebreak, InsetLine
2010
2011         * BufferView_pimpl.C:
2012         * LyXAction.C:
2013         * ParagraphParameters.C:
2014         * ParameterStruct.h:
2015         * lyxfunc.C:
2016         * lyxtext.h:
2017         * paragraph.C:
2018         * paragraph.h:
2019         * paragraph_funcs.C:
2020         * paragraph_pimpl.C:
2021         * rowpainter.C:
2022         * text.C:
2023         * text2.C:
2024         * text3.C: adjust
2025
2026 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2027
2028         * text.C:
2029         * lyxrow_funcs.[Ch]:
2030         * Bidi.C:
2031         * paragraph.C:
2032         * lyxtext.h:
2033         * rowpainter.C:
2034         * text2.C:
2035         * text3.C: remove lastPos uses in favour of Row::endpos
2036
2037 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * undo.C (performUndoOrRedo): fix two crashes by setting a
2040         cursor by hand and reordering some calls. Use bv->lockInset instead
2041         of inset->edit because the latter loses cursor information
2042
2043 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2044
2045         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2046         by Martin
2047         (rowBreakPoint): fix width. change point to point + 1.
2048         Add a missing check.
2049
2050 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2051
2052         * MenuBackend.C:
2053         * lyxfunc.C: fix (at least partly) the problems
2054         with the Nav menu and headers inside branch insets
2055         reported by Kayvan
2056
2057 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2058
2059         * paragraph.C (getChar): add strong asserts
2060
2061         * lyxrow_funcs.C (lastPos): remove hideous hack
2062
2063         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2064         (fill): adjust to that (avoid an infinite loop)
2065
2066 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2067
2068         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2069
2070 2003-10-23  André Pönitz  <poenitz@gmx.net>
2071
2072         * RowList_fwd.h: change list<> to vector<> to gain speed
2073         after suggestion from Alfredo
2074
2075 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2076
2077         * lyxtext.h: move the bidi stuff from here...
2078         * text.C: and here
2079         * text2.C: and here
2080         * Bidi.[Ch]: ... to here
2081
2082 2003-10-23  André Pönitz  <poenitz@gmx.net>
2083
2084         * lyxtext.h:
2085         * text.C (isLastRow, isFirstRow): new functions
2086
2087         * paragraph.h: new width cache member
2088
2089         * rowpainter.C: replace RowList::iterator with Row & where possible
2090
2091         * lyxfunc.C: replace several view()->text with a single call
2092
2093         * toc.C: fix 'unused' warning
2094
2095 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2096
2097         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2098         when woring with stream::pos_type
2099         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2100
2101 2003-10-22  André Pönitz  <poenitz@gmx.net>
2102
2103         * lyxtext.h:
2104         * text.C: use Row & instead of RowList::iterator
2105
2106         * lyxrow.h: rename end() to endpos()
2107
2108         * rowpainter.C:
2109         * text.C:
2110         * text2.C: adjust
2111
2112 2003-10-22  Angus Leeming  <leeming@lyx.org>
2113
2114         * buffer.[Ch] (fully_loaded): new member function, returning true
2115         only when the file has been loaded fully.
2116         Used to prevent the premature generation of previews and by the
2117         citation inset to prevent computation of the natbib-style label.
2118
2119         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2120         templates are all set up.
2121
2122         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2123
2124 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2125
2126         * text.C: fixed an "oops" in the "is a bit silly"
2127         bug fix
2128
2129 2003-10-21  André Pönitz  <poenitz@gmx.net>
2130
2131         * FuncStatus.[Ch]: small stuff, whitespace
2132
2133         * lyxfont.[Ch]: operator<<() for debug reasons
2134
2135         * lyxfunc.C:
2136         * lyxrow_funcs.C:
2137         * lyxtext.h: whitespace, spelling
2138
2139         * paragraph.C: naming of variables
2140
2141         * text.C:
2142         * text2.C: small stuff
2143
2144
2145 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2146
2147         * text.C: (1) finish off the inset display() work;
2148         (2) fix the "is a bit silly" bug (accessing char
2149         past end of par).
2150
2151 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2152
2153         * text.C: re-introduce display() for insets, fixing the
2154         various bugs (stretch of line above, math inset
2155         positioning, ...)
2156
2157 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2158
2159         * text.C (rightMargin): remove spurious semicolon
2160
2161         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2162         1415)
2163
2164 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2165
2166         * text3.C: fix one crash due to wrong cursor def
2167
2168 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * vc-backend.C (scanMaster): make the regex static
2171
2172         * LaTeX.C (scanAuxFile): make the regexs static
2173
2174         * text3.C (doInsertInset, dispatch, dispatch):
2175         * text2.C (cursorUp, cursorDown):
2176         * text.C (selectNextWordToSpellcheck):
2177         * BufferView_pimpl.C (dispatch):
2178         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2179
2180 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * lyxsocket.C: include <cerrno>
2183
2184 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2185
2186         * lyxfunc.C (dispatch): remove textcache stuff
2187
2188         * bufferlist.C (release): remove textcache stuff
2189         (closeAll): ditto
2190
2191         * TextCache.C: delete file
2192         * TextCache.h: delete file
2193
2194         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2195
2196         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2197         delete of the bv_->text.
2198         (resizeCurrentBuffer): remove texcache stuff
2199         (workAreaResize): ditto
2200
2201 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2204         action.
2205
2206 2003-10-16  André Pönitz  <poenitz@gmx.net>
2207
2208         * lyxrow.[Ch]:
2209         * paragraph.h:
2210         * rowpainter.C:
2211         * text.C:
2212         * text2.C:
2213         * text3.C: speed up by storing y positions per paragraph plus per-row
2214         offset instead of having a 'full' y position in the row.
2215
2216 2003-10-15  André Pönitz  <poenitz@gmx.net>
2217
2218         * iterators.[Ch]:
2219         * iterators.[Ch]:
2220         * undo.[Ch]: make undo aware of inner insets
2221
2222 2003-10-14  Angus Leeming  <leeming@lyx.org>
2223
2224         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2225         static member functions LyX::ref() and LyX::cref.
2226         (lastfiles): new accessor functions for the new lastfiles_ member var.
2227         (addLyXView, views_): add a new LyXView to the list of views_.
2228         (updateInset): loop over all LyXViews to call their own updateInset
2229         member function, returning a pointer to the Buffer owning the inset.
2230
2231         * BufferView_pimpl.C (loadLyXFile):
2232         * MenuBackend.C (expandLastfiles):
2233         * bufferlist.C (MenuWrite, QuitLyX):
2234         lastfiles is no longer a global variable.
2235         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2236
2237         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2238         static function. Access through LyX::cref().emergencyCleanup().
2239
2240 2003-10-14  André Pönitz  <poenitz@gmx.net>
2241
2242         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2243
2244         * undo.[Ch]: restoring part of 'undo in insets'
2245
2246         * Makefile.am:
2247         * undo_funcs.[Ch]: merge with undo.[Ch]
2248
2249         * tabular.C: small cleansing stuff
2250
2251 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2252
2253         * paragraph_funcs.C (readParToken): report unknown insets as error
2254         boxes. Use the outer paragraph as location (also for unknown
2255         tokens).
2256
2257         * factory.C (readInset): do not abort on reading an unknown inset.
2258         Eat it and return 0.
2259
2260 2003-10-13  Angus Leeming  <leeming@lyx.org>
2261
2262         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2263
2264         * lyxrc.C: displayTranslator is now a function,
2265         declared in GraphicsTypes.h.
2266
2267 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2268
2269         * format.C: new placeholder $$a to pass the socket address.
2270
2271         * bufferlist.[Ch]: new function getBufferFromTmp.
2272
2273         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2274           files in the temporary dir.
2275
2276 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2277
2278         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2279
2280         * Makefile.am: add lyxsocket.[Ch].
2281
2282         * lyx_main.C (error_handler): handle SIGPIPE.
2283
2284 2003-10-13  André Pönitz  <poenitz@gmx.net>
2285
2286         * BufferView_pimpl.C:
2287         * lyxtext.h:
2288         * text.C:
2289         * text2.C:
2290         * text3.C:
2291         * undo_funcs.[Ch]: use paroffset_type instead of
2292           ParagraphList::iterators to prevent multiple conversion
2293           (and get a more robust interface)
2294
2295 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2298         * lyxtext.h: ditto
2299         * text3.C (dispatch): ditto
2300
2301 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2302
2303         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2304         move the onlyfile, use onlyfile instead of foundfile in a couple
2305         of places.
2306
2307         * DepTable.C (update): flush the error stream a bit more
2308
2309 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2310
2311         * lyxserver.C (callback): adjust
2312
2313         * lyxfunc.C (getStatus): add a missing brace in commented code
2314         (ensureBufferClean): reindent
2315         (dispatch): delete version taking a string
2316
2317 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * LaTeX.C (deplog): move found file handlig from here...
2320         (handleFoundFile): .. to new function here.
2321         (deplog): make sure to discover several files mentioned on the
2322         same log line.
2323
2324 2003-10-10  André Pönitz  <poenitz@gmx.net>
2325
2326         * lyxfunc.C:
2327         * lyxtext.h:
2328         * tabular.C:
2329         * text.C:
2330         * text2.C:
2331         * text3.C: fix some of the tabular crashes
2332
2333 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2334
2335         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2336
2337         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2338
2339 2003-10-09  André Pönitz  <poenitz@gmx.net>
2340
2341         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2342
2343         * BufferView.C:
2344         * BufferView_pimpl.C:
2345         * bufferview_funcs.C:
2346         * lyx_cb.C:
2347         * lyxcursor.C:
2348         * lyxfind.C:
2349         * lyxfunc.C:
2350         * lyxtext.h:
2351         * text.C:
2352         * text2.C:
2353         * text3.C:
2354         * text_funcs.[Ch]:
2355         * textcursor.[Ch]:
2356         * undo_funcs.C: adjust
2357
2358 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * text2.C (incrementItemDepth): new function, use a backtracking
2361         algorithm to discover the correct item depth.
2362         (resetEnumCounterIfNeeded): new function, use a backtracking
2363         algorithm to discover if counter reset is needed.
2364         (setCounter): use them. Simplify a bit. Add different labels for
2365         different item depths for itemize.
2366
2367         * paragraph.C (Paragraph): remove initialization of enumdepth
2368         (operator=): ditto
2369
2370         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2371         enumerate and itemize. Change the type of itemdepth to signed char.
2372
2373 2003-10-08  André Pönitz  <poenitz@gmx.net>
2374
2375         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2376           thing assignable.
2377         * text.C:
2378         * text2.C: adjust
2379
2380         * tabular.[Ch]: fix crash after 'row-insert'
2381
2382 2003-10-08  Angus Leeming  <leeming@lyx.org>
2383
2384         Fix doxygen warnings.
2385
2386         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2387         Remove CutAndPaste:: prefix from header file declaration.
2388
2389         * LColor.h (fill): remove LColor:: prefix from declaration.
2390
2391         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2392         use lyx::depth_type rather than Paragraph::depth_type so that
2393         header file and .C file match.
2394
2395         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2396
2397         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2398         * aspell.C: \file aspell_local.C -> \file aspell.C
2399         * gettext.C: \file gettext.C -> \file src/gettext.C
2400         * gettext.h: \file gettext.h -> \file src/gettext.h
2401         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2402         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2403         * text.C: \file text.C -> \file src/text.C
2404
2405         * toc.C: move comment so that doxygen is not confused.
2406
2407 2003-10-07  Angus Leeming  <leeming@lyx.org>
2408
2409         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2410
2411 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2412
2413         * aspell.C:
2414         * aspell_local.h: add forgotten std::string's.
2415
2416 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2417
2418         * LaTeXFeatures.C:
2419         * LyXAction.C:
2420         * factory.C:
2421         * lfuns.h:
2422         * lyxfunc.C:
2423         * text3.C: The Box patch. Fancybox support, minipage, parbox
2424
2425 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2426
2427         * CutAndPaste.h:
2428         * DepTable.h:
2429         * FloatList.h:
2430         * LaTeXFeatures.h:
2431         * ParagraphParameters.h:
2432         * TextCache.h:
2433         * Thesaurus.h:
2434         * bufferlist.h:
2435         * exporter.h:
2436         * importer.h:
2437         * lastfiles.h:
2438         * lyxfind.h:
2439         * lyxfont.h:
2440         * lyxlex.h:
2441         * lyxtextclasslist.h:
2442         * messages.h:
2443         * paragraph.h:
2444         * paragraph_pimpl.C:
2445         * textcursor.h: add <string> and other small fixes to make Lars'
2446         std::string patch compile with STLport.
2447
2448 2003-10-06  Angus Leeming  <leeming@lyx.org>
2449
2450         * LColor.h: Add missing #include <string>.
2451
2452 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * All most all file in all subdirs: Make <string> be the prefered
2455         way of getting to std::string, add using declarations.
2456
2457 2003-10-06  André Pönitz  <poenitz@gmx.net>
2458
2459         * metricsinfo.C: initialize LyXFont before changing attribute.
2460         (fixes the 'math in \emph is upright' bug)
2461
2462 2003-10-06  André Pönitz  <poenitz@gmx.net>
2463
2464         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2465
2466 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2467
2468         * graph.C:
2469         * paragraph_pimpl.C: Small fixes to build using STLport
2470
2471 2003-10-02  André Pönitz  <poenitz@gmx.net>
2472
2473         * lyxfunc.C:
2474         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2475
2476 2003-10-01  André Pönitz  <poenitz@gmx.net>
2477
2478         * factory.C: assert early
2479
2480 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * lyx_main.C: remove the global debug object
2483
2484         * debug.h: adjust for new debugstream
2485
2486         * debug.C: adjust for new debugstream and keep the global debug
2487         object here.
2488
2489 2003-09-22  Angus Leeming  <leeming@lyx.org>
2490
2491         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2492         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2493         an incomplete class LyXFont.
2494
2495 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2496
2497         * factory.C: bug fix in branches
2498
2499 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * lyxfunc.C (processKeySym): adjust
2502         (dispatch): adjust
2503         (dispatch): change arg name from ev to func, adjust
2504         (sendDispatchMessage): ditto
2505
2506         * lyx_main.C (defaultKeyBindings): adjust keybindings
2507         (deadKeyBindings): ditto
2508
2509         * kbsequence.C (addkey): return a FuncRequest
2510
2511         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2512
2513         * kbmap.C (bind): take a FuncRequest as arg, adjust
2514         (read): adjust
2515         (lookup): adjust
2516         (defkey): change to take a FuncRequest as arg, adjust
2517         (findbinding): take a FuncRequest as arg, adjust.
2518
2519         * funcrequest.h (operator=): added
2520
2521         * funcrequest.C (FuncRequest): default kb_action changed from
2522         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2523
2524         * buffer.C (dispatch): simplify
2525         (dispatch): adjust to take a FuncRequest as arg, adjust
2526
2527         * boost.C (assertion_failed): change assertion message slightly
2528
2529         * ToolbarBackend.C (read): simplify
2530
2531         * MenuBackend.C (binding): adjust call to findbinding, add a
2532         message if no binding is found.
2533         (read): simplify
2534         (expandToc): correct by adding a empty FuncRequest
2535
2536         * LyXAction.C: include <boost/assert.hpp>
2537         (isPseudoAction): delete function
2538         (LookupFunc): change name to...
2539         (lookupFunc): this. change return type to FuncRequest.
2540         (getActionName): take kb_action as arg, simplify
2541         (funcHasFlag): add an assert, simplify.
2542
2543 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * toc.C (action): return a FuncRequest, simplify
2546
2547         * lyxfunc.C (processKeySym): adjust
2548         (getStatus): delete version that takes an int.
2549         (getStatus): adjust
2550         (dispatch): delete version that takes action as int
2551         (dispatch): adjust
2552         (sendDispatchMessage): simplify and adjust
2553
2554         * funcrequest.C (getArg): take unsigned int as arg
2555
2556         * ToolbarBackend.C (read): adjust
2557         (add): delete version that takes func as a string.
2558         (getIton): take a FuncRequest as arg
2559
2560         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2561         action.
2562
2563         * MenuBackend.C (MenuItem): add a new construct that only takes a
2564         Kind, simplify the constructor use for submenus.
2565         (add): adjust
2566         (expandLastfiles): adjust
2567         (expandDocuments): adjust
2568         (expandFormats): adjust
2569         (expandFloatListInsert): adjust
2570         (expandFloatInsert): adjust
2571         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2572
2573         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2574         Remove class variables lyx_pseudo_map and lyx_arg_map
2575
2576         * LyXAction.C (searchActionArg): delete function
2577         (getPseudoAction): delete function
2578         (retrieveActionArg): delete function
2579         (LookupFunc): make it return kb_action, simplify.
2580         (getActionName): simplify
2581
2582         * factory.C (createInset): fix new bug
2583
2584 2003-09-19  Angus Leeming  <leeming@lyx.org>
2585
2586         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2587         masterFilename_ parameter in the include inset.
2588
2589         * factory.C (createInset): changes due to the changes to InsetInclude.
2590
2591 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2592
2593         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2594
2595 2003-09-18  Angus Leeming  <leeming@lyx.org>
2596
2597         * buffer.C:
2598         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2599         Inset::fillWithBibKeys.
2600         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2601
2602 2003-09-18  Angus Leeming  <leeming@lyx.org>
2603
2604         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2605         variables.
2606         (ctor): pass and store a 'Buffer const &'
2607         (buffer): new member function.
2608
2609         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2610         '*this' to the LaTeXFeatures ctor.
2611
2612 2003-09-18  Angus Leeming  <leeming@lyx.org>
2613
2614         * LColor.h:
2615         * lyxfont.C:
2616         * lyxfont.h:
2617         * lyxtext.h:
2618         * text.C: rename EnumLColor as LColor_color.
2619
2620 2003-09-18  Angus Leeming  <leeming@lyx.org>
2621
2622         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2623         remove #include "insets/insetbase.h" from cursor.h.
2624
2625 2003-09-18  Angus Leeming  <leeming@lyx.org>
2626
2627         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2628         InsetOld_code to remove #include "inset.h".
2629
2630         * iterators.C: add #include "insets/inset.h"
2631
2632 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2633
2634         * BufferView.C: remove more locking stuff that apparently doesn't
2635         do anything sensible.
2636
2637 2003-09-16  André Pönitz  <poenitz@gmx.net>
2638
2639         * paragraph.[Ch]:
2640         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2641           performance boost.
2642
2643 2003-09-16  Angus Leeming  <leeming@lyx.org>
2644
2645         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2646
2647         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2648         arg/return type.
2649
2650         * paragraph.h: remove #include "lyxfont.h". Forward declare
2651         LyXFont_size.
2652
2653 2003-09-16  Angus Leeming  <leeming@lyx.org>
2654
2655         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2656         of support/textutils.h.
2657         (isWord): move the contents of support/textutils.h's IsWordChar here.
2658
2659         * buffer.C:
2660         * lyxfind.C:
2661         * rowpainter.C:
2662         * text.C:
2663         * text2.C: add #include "paragraph.h".
2664
2665         * rowpainter.C:
2666         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2667
2668 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * main.C:
2671         * lyx_main.C:
2672         * lyx_cb.C:
2673         * buffer.C:
2674         * LaTeX.C: use namespace alias for lyx::support::os
2675
2676 2003-09-16  Angus Leeming  <leeming@lyx.org>
2677
2678         * bufferparams.C:
2679         * bufferview_funcs.C:
2680         * factory.C:
2681         * lyxfunc.C:
2682         * paragraph_pimpl.C:
2683         * rowpainter.C:
2684         * text.C: add #include "LColor.h".
2685
2686 2003-09-16  Angus Leeming  <leeming@lyx.org>
2687
2688         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2689         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2690         return LyXFont &.
2691         Store the FontBits::color variable as an int rather than as an
2692         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2693         file.
2694
2695         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2696         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2697         string calls together.
2698
2699         * lyxrc.C: add #include "LColor.h".
2700
2701 2003-09-15  Angus Leeming  <leeming@lyx.org>
2702
2703         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2704         a cow_ptr.
2705
2706 2003-09-15  Angus Leeming  <leeming@lyx.org>
2707
2708         * LColor.h: add an EnumLColor wrapper for LColor::color.
2709
2710         * lyxfont.[Ch] (color, setColor, realColor):
2711         * lyxtext.h, text.C (backgroundColor):
2712         pass EnumLColor args to/from the functions, rather than LColor::color
2713         ones.
2714
2715         * lyxfont.h:
2716         * lyxtext.h: forward declare EnumLColor.
2717
2718         * lyx_main.C: add #include "LColor.h".
2719
2720 2003-09-15  Angus Leeming  <leeming@lyx.org>
2721
2722         * .cvsignore: add lyx-gtk.
2723
2724 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * Chktex.C
2727         * LaTeX.C
2728         * LaTeXFeatures.C
2729         * ParagraphParameters.C
2730         * Spacing.C
2731         * buffer.C
2732         * bufferparams.C
2733         * bufferview_funcs.C
2734         * chset.C
2735         * counters.C
2736         * funcrequest.C
2737         * lyxfont.C
2738         * lyxgluelength.C
2739         * lyxlength.C
2740         * paragraph.C
2741         * paragraph_funcs.C
2742         * text3.C
2743         * vc-backend.C: remove usage of STRCONV
2744
2745 2003-09-15  Angus Leeming  <leeming@lyx.org>
2746
2747         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2748         explicitly define the color passed to the painter.
2749
2750 2003-09-15  Angus Leeming  <leeming@lyx.org>
2751
2752         * bufferparams.C (BufferParams): reorder member initializers to avoid
2753         compiler warning.
2754
2755 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2758         * text.C (updateRowPositions): remove an unusual nop
2759
2760 2003-09-12  André Pönitz  <poenitz@gmx.net>
2761
2762         * BufferView_pimpl.C:
2763         * Bullet.C:
2764         * layout.h:
2765         * lyxfunc.C:
2766         * lyxlayout.[Ch]:
2767         * lyxtextclass.C:
2768         * rowpainter.C:
2769         * text.C:
2770         * text2.C:
2771         * Counters.[Ch]: finish the 'automatic counters' job
2772
2773 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2774
2775         * aspell.C: include <boost/assert.cpp> (compile fix)
2776
2777 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2778
2779         * boost.C (assertion_failed): use lyx::support::abort instead of
2780         assert.
2781
2782 2003-09-10  Angus Leeming  <leeming@lyx.org>
2783
2784         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2785         with their _fwd progeny.
2786
2787 2003-09-09  Angus Leeming  <leeming@lyx.org>
2788
2789         134 files throughtout the source tree: replace 'using namespace abc;'
2790         directives with the appropriate 'using abc::xyz;' declarations.
2791
2792 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2793
2794         * boost.C (emergencyCleanup): moved here from LAssert.c
2795         (assertion_failed): new function, called by BOOST_ASSERT
2796
2797         * several files: change Assert to BOOST_ASSERT
2798
2799 2003-09-09  Angus Leeming  <leeming@lyx.org>
2800
2801         * buffer.[Ch]: Add an Impl class and move Buffer's member
2802         variables into it. As a result move several header files out of
2803         buffer.h.
2804
2805         Add header files to lots of .C files all over the tree as a result.
2806
2807 2003-09-09  Angus Leeming  <leeming@lyx.org>
2808
2809         * buffer.[Ch]: make Buffer's member variables private. Add
2810         accessor functions.
2811
2812         Lots of changes all over the tree as a result.
2813
2814 2003-09-08  Angus Leeming  <leeming@lyx.org>
2815
2816         * graph.C: #include <config.h>.
2817
2818 2003-09-08  Angus Leeming  <leeming@lyx.org>
2819
2820         * BranchList.C:
2821         * BufferView.C:
2822         * BufferView_pimpl.C:
2823         * CutAndPaste.C:
2824         * DepTable.C:
2825         * LaTeX.C:
2826         * LaTeXFeatures.C:
2827         * LyXAction.C:
2828         * MenuBackend.C:
2829         * TextCache.C:
2830         * aspell.C:
2831         * buffer.C:
2832         * bufferlist.C:
2833         * changes.C:
2834         * chset.C:
2835         * converter.C:
2836         * counters.C:
2837         * debug.C:
2838         * graph.C:
2839         * ispell.C:
2840         * lyx_cb.C:
2841         * lyxfind.C:
2842         * lyxfunc.C:
2843         * lyxlex_pimpl.C:
2844         * lyxrc.C:
2845         * lyxrow.C:
2846         * paragraph.C:
2847         * rowpainter.C:
2848         * texrow.C:
2849         * text.C:
2850         * text2.C:
2851         * toc.C: remove redundant using directives.
2852
2853 2003-09-07  Angus Leeming  <leeming@lyx.org>
2854
2855         * LaTeXFeatures.h: remove #include "support/types.h".
2856         * ToolbarBackend.h: remove #include <algorithm>.
2857         * changes.h: remove #include <ctime>.
2858         * debug.h: remove #include <iosfwd>.
2859         * graph.h: remove #include "support/std_string.h".
2860         * lyx_main.h: remove #include <csignal>.
2861         * lyxlex_pimpl.h: remove #include <fstream>.
2862         * sgml.h: remove #include <algorithm>, <utility>.
2863         * toc.h: remove #include "support/std_ostream.h".
2864         Add #include <iosfwd>.
2865
2866 2003-09-07  Angus Leeming  <leeming@lyx.org>
2867
2868         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2869
2870         * converter.h: forward declare LatexRunParams.
2871         * encoding.h: remove #include "lyxrc.h".
2872         * lyxtext.h: remove #include "LColor.h".
2873         * lyxtextclass.h: remove #include "support/types.h".
2874         * trans.h: remove #include "tex-accent.h".
2875         * trans_mgr.h: remove #include "tex-accent.h".
2876         * insets/inset.h: remove #include "support/types.h", <vector>.
2877         * insets/insetcollapsable.h: remove #include "LColor.h".
2878         * insets/insetinclude.h: remove #include "dimension.h".
2879         * insets/insetlatexaccent.h: remove #include "dimension.h".
2880         * insets/insetoptarg.h:: remove #include "insettext.h".
2881         * insets/insettext.h: remove #include "dimension.h",
2882         <boost/shared_ptr.hpp>
2883
2884         * insets/renderers.h: add #include "dimension.h".
2885         * insets/updatableinset.h: add #include "support/types.h".
2886
2887         * many .C files: Associated changes.
2888
2889 2003-09-06  Angus Leeming  <leeming@lyx.org>
2890
2891         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2892         one, inside testInvariant.
2893
2894         * PrinterParams.C: new file.
2895         * PrinterParams.[Ch]: move the function bodies out of line.
2896
2897 2003-09-06  Angus Leeming  <leeming@lyx.org>
2898
2899         * ParagraphParameters.h: forward declare ParameterStruct rather than
2900         including its header file.
2901         (depth): moved out-of-line.
2902
2903 2003-09-06  Angus Leeming  <leeming@lyx.org>
2904
2905         * BufferView_pimpl.h:
2906         * kbmap.h:
2907         * kbsequence.h:
2908         * lyxfunc.h: forward declare LyXKeySym rather than
2909         #include "frontends/LyXKeySym.h".
2910
2911         * BufferView_pimpl.C:
2912         * kbmap.C:
2913         * kbsequence.C:
2914         * lyxfunc.C: associated changes.
2915
2916 2003-09-06  Angus Leeming  <leeming@lyx.org>
2917
2918         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2919         As a result, can remove the #include "insets/inset.h" from BufferView.h
2920
2921 2003-09-06  Angus Leeming  <leeming@lyx.org>
2922
2923         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2924         As a result, can remove the #include "insets/inset.h" from BufferView.h
2925
2926 2003-09-06  Angus Leeming  <leeming@lyx.org>
2927
2928         * buffer_funcs.C:
2929         * buffer.h:
2930         * bufferlist.C:
2931         * BufferView.C:
2932         * bufferview_funcs.C:
2933         * BufferView_pimpl.C:
2934         * CutAndPaste.C:
2935         * lyx_cb.C:
2936         * lyxfunc.C:
2937         * paragraph.h:
2938         * ParagraphParameters.C:
2939         * tabular.C:
2940         * text3.C:
2941         * toc.C:
2942         * undo_funcs.C:
2943         * frontends/controllers/ControlDocument.C:
2944         * insets/insetcaption.C: rearrange the #includes into some sort of
2945         coherent order.
2946
2947         * buffer.h: remove #includes ErrorList.h, undo.h
2948
2949 2003-09-06  Angus Leeming  <leeming@lyx.org>
2950
2951         * support/types.h: add a 'depth_type' typedef, used to store the
2952         nesting depth of a paragraph.
2953
2954         * paragraph.h:
2955         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2956         defining explicitly.
2957
2958         * buffer.h:
2959         * paragraph_funcs.h:
2960         * ParagraphParameters.h:
2961         * sgml.h: use lyx::depth_type rather than Paragraph or
2962         ParameterStruct's depth_type.
2963
2964         * buffer.h
2965         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2966
2967         * BufferView.C:
2968         * BufferView_pimpl.C:
2969         * CutAndPaste.C:
2970         * ParagraphParameters.C:
2971         * buffer_funcs.C:
2972         * bufferlist.C:
2973         * bufferview_funcs.C:
2974         * lyx_cb.C:
2975         * lyxfunc.C:
2976         * tabular.C:
2977         * text3.C:
2978         * toc.C:
2979         * undo_funcs.C:
2980         * frontends/LyXView.C:
2981         * frontends/controllers/ControlDocument.C:
2982         * frontends/controllers/ControlErrorList.C:
2983         * insets/insetbibitem.C:
2984         * insets/insetbranch.C:
2985         * insets/insetcaption.C:
2986         * insets/insetcollapsable.C:
2987         * insets/insetenv.C:
2988         * insets/insetert.C:
2989         * insets/insetfloat.C:
2990         * insets/insetfoot.C:
2991         * insets/insetfootlike.C:
2992         * insets/insetnewline.C:
2993         * insets/insetquotes.C:
2994         * insets/insettabular.C:
2995         * insets/insettext.C:
2996         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2997
2998         * frontends/controllers/ControlChanges.C: #include "changes.h".
2999
3000 2003-09-06  Angus Leeming  <leeming@lyx.org>
3001
3002         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3003         than #including paragraph.h.
3004
3005         * ParagraphList.h:
3006         * RowList.h: deleted. Superfluous.
3007
3008         * CutAndPaste.h:
3009         * iterators.h:
3010         * lyxcursor.h:
3011         * lyxtext.h:
3012         * text_funcs.h:
3013         * undo.h:
3014         * undo_funcs.h:
3015         * insets/inset.h:
3016         * insets/insettext.h: use ParagraphList_fwd.h rather than
3017         ParagraphList.h.
3018
3019         * paragraph.h: don't forward declare ParagraphList.
3020
3021         * buffer.h:
3022         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3023         rather than ParagraphList.h. paragraph.h is still needed for the
3024         Paragraph::depth_type parameters.
3025
3026         * textcursor.h: enable it to compile stand-alone in light of the
3027         above changes.
3028
3029         * bufferview_funcs.C:
3030         * iterators.C:
3031         * lyxfunc.C:
3032         * lyxrow_funcs.C:
3033         * paragraph.C:
3034         * rowpainter.C:
3035         * text.C:
3036         * text2.C:
3037         * text3.C:
3038         * text_funcs.C:
3039         * textcursor.C:
3040         * undo.C:
3041         * frontends/controllers/ControlParagraph.C:
3042         * frontends/controllers/ControlTabular.C:
3043         * insets/insetmarginal.C:
3044         * insets/insetminipage.C:
3045         * insets/insetnote.C:
3046         * insets/insetoptarg.C: add header files needed to compile again.
3047
3048 2003-09-06  Angus Leeming  <leeming@lyx.org>
3049
3050         * RowList_fwd.h: new file, forward-declaring Row rather than
3051         #including lyxrow.h.
3052
3053         * lyxrow_funcs.h:
3054         * lyxtext.h:
3055         * paragraph.h:
3056         * insets/insettext.h: use it instead of RowList.h
3057
3058         * bufferview_funcs.C:
3059         * lyxfunc.C:
3060         * lyxrow_funcs.C:
3061         * paragraph.C:
3062         * rowpainter.C:
3063         * text.C:
3064         * text2.C:
3065         * text3.C: #include "RowList.h".
3066
3067 2003-09-05  Angus Leeming  <leeming@lyx.org>
3068
3069         * factory.C (createInset):
3070         * vspace.C (c-tor): replace sscanf call with an istringstream.
3071         * ispell.C: re-add missing HP/UX headers.
3072         * lyxserver.C: re-add missing  os2 headers.
3073
3074 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3075
3076         * BranchList.C:
3077         * graph.C:
3078         * ispell.C:
3079         * lastfiles.C:
3080         * lyx_cb.C:
3081         * lyxserver.C:
3082         * texrow.C:
3083         * text3.C: re-add missing system headers, needed for 2.95.2.
3084
3085 2003-09-05  Angus Leeming  <leeming@lyx.org>
3086
3087         Changes most place everywhere due to the removal of using directives
3088         from support/std_sstream.h.
3089
3090 2003-09-05  Angus Leeming  <leeming@lyx.org>
3091
3092         Replace LString.h with support/std_string.h,
3093         Lsstream.h with support/std_sstream.h,
3094         support/LIstream.h with support/std_istream.h,
3095         support/LOstream.h with support/std_ostream.h.
3096
3097         Changes resulting throughout the tree.
3098
3099 2003-09-05  Angus Leeming  <leeming@lyx.org>
3100
3101         * sgml.h: ensure that the header file can be compiled stand-alone.
3102         * *.C: strip out redundant #includes. (320 in total.)
3103
3104 2003-09-04  Angus Leeming  <leeming@lyx.org>
3105
3106         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3107         here (from getPackages).
3108
3109         * debug.[Ch]: add a new EXTERNAL tag.
3110
3111 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3112
3113         * text2.C (cursorEnd): simplify
3114         (setCursor): adjust
3115         (getColumnNearX): adjust
3116
3117         * text.C (computeBidiTables): adjust
3118         (fill): adjust
3119
3120         * rowpainter.C (paintChars): adjust
3121         (paintSelection): adjust
3122         (paintChangeBar): adjust
3123         (paintText): adjust
3124
3125         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3126         lastPos instead.
3127         (numberOfSeparators): adjust
3128
3129 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3130
3131         * LyXAction.C:
3132         * box.[Ch]:
3133         * lfuns.h:
3134         * lyxfunc.C:
3135         * text3.C: Restricts the mouse click functionality
3136         of insets like bibtex, include, toc and floatlist to the visible
3137         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3138         up the dialogs. Cursor has to be in front of the inset (i.e.
3139         start of row) for this to function.
3140
3141 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3142
3143         * bufferview_funcs.C (currentState): output row information
3144
3145 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3146
3147         * bufferview_funcs.C (currentState): output paragraph position
3148
3149 2003-09-04  Angus Leeming  <leeming@lyx.org>
3150
3151         * FloatList.h: move out #include "Floating.h".
3152         * LaTeX.h: move out #include "DepTable.h".
3153         * LyXAction.h: move out #include "funcrequest.h".
3154         * buffer.h: move out #include "author.h", "iterators.h".
3155         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3156         * lyx_main.h: move out #include "errorlist.h".
3157         * lyxfunc.h: move out #include "FuncStatus.h".
3158         * lyxtext: move out #include "lyxcursor.h".
3159         * paragraph_pimpl.h: move out #include "counters.h".
3160
3161 2003-09-03  Angus Leeming  <leeming@lyx.org>
3162
3163         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3164         preamble_snippets list, enabling us to add snippets to the preamble
3165         only if the snippet was not there already.
3166
3167 2003-09-04  Angus Leeming  <leeming@lyx.org>
3168
3169         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3170
3171 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3172
3173         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3174         update
3175
3176 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3177
3178         * BranchList.C: point fix, earlier forgotten
3179
3180 2003-09-02  Angus Leeming  <leeming@lyx.org>
3181
3182         * box.C (contains): renamed from 'contained' after a fantastic
3183         amount of hot air.
3184
3185 2003-09-02  John Levon  <levon@movementarian.org>
3186
3187         * BufferView.C:
3188         * lyxcursor.h:
3189         * lyxcursor.C:
3190         * lyxfunc.C:
3191         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3192
3193 2003-09-02  John Levon  <levon@movementarian.org>
3194
3195         * text2.C: simplification of cursorEnd(), including partial
3196         fix for bug 1376
3197
3198 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * buffer.C (readFile): add a space
3201
3202 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3205
3206 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * buffer.C (readFile): new function, take a filename and a
3209         ParagraphList::iterator
3210         (readFile): adjust
3211         (readFile): adjust, make it private. don't use setStream, make
3212         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3213         always contain the filename.
3214
3215         * BufferView.C (insertLyXFile): simplify and make it work for
3216         gzipped files.
3217
3218 2003-08-30  John Levon  <levon@movementarian.org>
3219
3220         * Makefile.am: fix dist (from Kayvan)
3221
3222 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * most files: change to use const Buffer refs
3225
3226 2003-08-27  André Pönitz  <poenitz@gmx.net>
3227
3228         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3229         on top of ownerPar().
3230
3231 2003-08-27  John Levon  <levon@movementarian.org>
3232
3233         * funcrequest.C: properly initialise POD members
3234
3235 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * lyxtext.h (top_y): move top_y from here
3238         * text.C:
3239         * text2.C:
3240         * text3.C:
3241         * BufferView.[Ch]:
3242         * BufferView_pimpl.[Ch]: to here
3243         * frontends/screen.C:
3244         * insets/insettabular.C:
3245         * insets/insettext.C: adjust
3246         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3247
3248 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * BufferView.[Ch]:
3251         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3252
3253 2003-08-26  André Pönitz  <poenitz@gmx.net>
3254
3255         * paragraph_func.[Ch] (outerPar): new function
3256
3257         * paragraph.C:
3258         * paragraph_funcs.C:
3259         * paragraph_funcs.h:
3260         * paragraph_pimpl.C:
3261         * text2.C: remove Inset::par_owner
3262
3263 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3264
3265         * lyxrow_funcs.C:
3266         * lyxtext.h:
3267         * text.C:
3268         * text2.C: eliminates the needFullRow/display() stuff
3269         altogether, putting the logic in metrics/draw in the insets.
3270
3271 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3272
3273         * text2.C (redoParagraphInternal, redoParagraphs):
3274         * text.C (redoParagraph): add a call to updateRowPositions at the
3275         end of each 'metrics-like' call. Remove all others.
3276         (getRow): remove the 'y-computing' version.
3277         (getRowNearY): do not compute nor return the real y. Solve the
3278         'y < 0' problem and simplify.
3279
3280 2003-08-22  Angus Leeming  <leeming@lyx.org>
3281
3282         * *.[Ch]: clean-up of licence and author blurbs.
3283         Also move config.h out of a few .h files and into a few .C files.
3284
3285 2003-08-22  André Pönitz  <poenitz@gmx.net>
3286
3287         * lyxrow.[Ch]: add x_ and *fill_ members
3288
3289         * lyxtext.h:
3290         * text.C:
3291         * rowpainter.C:
3292         * text2.C: adjust/remove prepareToPrint() calls
3293
3294 2003-08-22  André Pönitz  <poenitz@gmx.net>
3295
3296         * lyxrow.[Ch]: add  end_ member
3297
3298         * lyxrow_funcs.C: use LyXRow::end_
3299
3300         * lyxtext.h (singleWidth): add LyXFont parameter
3301
3302         * rowpainter.C:
3303         * text2.C: adjust LyXText::singleWidth() calls
3304
3305         * text.C (redoParagraph): simplify row breaking logic
3306
3307
3308 2003-08-19  André Pönitz  <poenitz@gmx.net>
3309
3310         * funcrequest.C: initialize button_ member
3311
3312         * text3.C:
3313         * rowpainter.[Ch]: interface consolidation
3314
3315 2003-08-18  André Pönitz  <poenitz@gmx.net>
3316
3317         * BufferView.C:
3318         * BufferView_pimpl.C:
3319         * lyxfind.C:
3320         * paragraph_funcs.C:
3321         * rowpainter.C:
3322         * text3.C: remove LyXScreen::draw() and fitCursor calls
3323
3324         * BranchList.h: remove spurious semicolons
3325
3326         * MenuBackend.C: fix branchlist related crash
3327
3328 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3329
3330         * BranchList.[Ch]:
3331         * InsetList.[Ch]:
3332         * LColor.[Ch]:
3333         * LyXAction.C:
3334         * Makefile.am:
3335         * MenuBackend.[Ch]:
3336         * bufferparams.[Ch]:
3337         * factory.C:
3338         * lfuns.h:
3339         * lyxfunc.C:
3340         * text3.C: implements the 'branch inset'
3341         idea. This allows the output of various versions of a document
3342         from a single source version, selectively outputing or suppressing
3343         output of parts of the text.
3344         This implementation contains a 'branch list editor' in a separate
3345         tab of the document settings dialog. Branches are user definable
3346         and have a "display colour" to distinguish them on-screen.
3347
3348         ColorHandler was somewhat cleaned up.
3349         (1) make possible a dynamically growing LColor list by allowing
3350         the graphic context cache to grow along (vector);
3351         (2) eliminate an IMHO unnecessary step in colour allocation.
3352
3353 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3354
3355         * BufferView_pimpl.C: compile fix
3356
3357 2003-08-15  André Pönitz  <poenitz@gmx.net>
3358
3359         * rowpainter.C: remove extra metrics calls
3360
3361         * lyxtext.h: merge the two constructors into a single one,
3362           pass reference to owner's par list
3363
3364         * BufferView_pimpl.C:
3365         * text.C:
3366         * text2.C: adjust
3367
3368 2003-08-15  André Pönitz  <poenitz@gmx.net>
3369
3370         * lyxrow_funcs.[Ch]:
3371         * lyxtext.h:
3372         * paragraph.h:
3373         * paragraph_funcs.C:
3374         * rowpainter.C:
3375         * text.C:
3376         * text2.C:
3377         * text3.C:
3378         * text_funcs.C: split LyXText::rowlist_ into individual
3379         Paragraph::rows_ chunks
3380
3381         * BufferView.[Ch]:
3382         * BufferView_pimpl.[Ch]:
3383         * lyxfind.C:
3384         * lyxtext.h:
3385         * text3.C: remove toggleSelection()
3386
3387 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3388
3389         * bufferlist.C: beautify two alerts (shorter text of buttons)
3390         * buffer.C: Remove redundant ' ' from message
3391         * tabular.h:
3392         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3393         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3394         rename VALIGN_CENTER to VALIGN_MIDDLE
3395
3396 2003-08-11  André Pönitz  <poenitz@gmx.net>
3397
3398         * lyxtext.h (getPar):
3399         * text.C: new function
3400
3401 2003-08-11  André Pönitz  <poenitz@gmx.net>
3402
3403         * Makefile.am:
3404         * tracer.[Ch]: remove unneeded files
3405
3406         * InsetList.[Ch]: remove resizeInsetsLyXText()
3407
3408         * lyxtext.h:
3409         * text.C:
3410         * text2.C:
3411         * text3.C: merge insertParagraphs() and appendParagraph()
3412         remove breakAgain(), update()
3413
3414         * BufferView_pimpl.[Ch]:
3415         * bufferview_funcs.[Ch]:
3416         * lyxfunc.C:
3417         * paragraph.[Ch]:
3418         * rowpainter.C:
3419         * tabular.C: adjust after text & InsetList changes.
3420
3421 2003-08-08  André Pönitz  <poenitz@gmx.net>
3422
3423         * text.C (insertChar, backspace): replace rowlist fiddling
3424         with rebreak of full par
3425
3426         * lyxtext.h:
3427         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3428         checkParagraph, updateInset): removed
3429
3430 2003-08-07  André Pönitz  <poenitz@gmx.net>
3431
3432         * paragraph.C:
3433         * text3.C: merge some LFUN handlers, remove dead code
3434
3435 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3436
3437         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3438
3439 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3440
3441         * text2.C (DEPM): fix part of bug 1255 and 1256
3442
3443 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3444
3445         * BufferView_pimpl.C (workAreaDispatch): change to use
3446         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3447         that are no mouse related.
3448
3449 2003-08-05  André Pönitz  <poenitz@gmx.net>
3450
3451         * BufferView.[Ch]:
3452         * BufferView_pimpl.[Ch]:
3453         * bufferview_funcs.C:
3454         * text2.C:
3455         * text3.C: rip out "deep update"
3456
3457         * textcursor.[Ch] (last_sel_cursor): remove unused member
3458
3459 2003-08-04  André Pönitz  <poenitz@gmx.net>
3460
3461         * BufferView.[Ch]:
3462         * BufferView_pimpl.[Ch]:
3463         * ParagraphParameters.C:
3464         * bufferview_funcs.C:
3465         * lyx_cb.C:
3466         * lyxfind.C:
3467         * lyxfunc.C:
3468         * text.C:
3469         * text2.C:
3470         * text3.C: replace "complicated" BufferView::update(...) calls with
3471         simpler ones.
3472
3473         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3474
3475 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3476
3477         * Makefile.am (lyx_SOURCES): add paper.h
3478
3479 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3480
3481         * Makefile.am: move things around so that both lyx-qt and
3482         lyx-xforms can be built (according to --with-frontend). Then lyx
3483         is a symbolic link to lyx-[firstfrontend]
3484
3485 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3486
3487         * Always use std::endl with lyxerr
3488
3489 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3490
3491         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3492
3493 2003-08-01  André Pönitz  <poenitz@gmx.net>
3494
3495         * BufferView.[Ch]:
3496         * BufferView_pimpl.[Ch]:
3497         * lyxfunc.C:
3498         * text3.C: merge BufferView::repaint() and BufferView::update()
3499
3500 2003-08-01  José Matos  <jamatos@lyx.org>
3501
3502         * buffer.[Ch]: file_format is no longer a buffer data element.
3503
3504 2003-08-01  André Pönitz  <poenitz@gmx.net>
3505
3506         * BufferView.C:
3507         * lyxtext.h:
3508         * text.C:
3509         * text2.C: make redoParagraph more independent of current cursor
3510
3511         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3512         * text.C:
3513         * text2.C: remove unneeded members
3514
3515 2003-07-30  André Pönitz  <poenitz@gmx.net>
3516
3517         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3518
3519         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3520           create a single function...
3521
3522         * paragraph_funcs.C (moveItem): ... here.
3523
3524         * text.C:
3525           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3526
3527 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3528
3529         * LColor.[Ch]: Add comment and greyedout logical colors.
3530
3531 2003-07-30  André Pönitz  <poenitz@gmx.net>
3532
3533         * tabular.C: don't use Assert too heavily. This crashes where it
3534           shouldn't
3535
3536 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3537
3538         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3539         is disabled (bug 1232)
3540
3541 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3542
3543         * factory.C: limited 'arg' scope
3544
3545 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3546
3547         * factory.C: fixed Note submenu issues
3548
3549 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3550
3551         * factory.C: submenu for Note/Comment/Greyedout
3552
3553 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3554
3555         * lyx_main.C (LyX):
3556         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3557
3558 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3559
3560         * LaTeXFeatures.C:
3561         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3562         greyedout. Patch provided by Jürgen Spitzmüller.
3563
3564 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3565
3566         * kbmap.C (read): fix error message when reading bind files
3567
3568 2003-07-29  Angus Leeming  <leeming@lyx.org>
3569
3570         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3571         certainly does not do what it purports to do. I am doing it, and
3572         us, a favour by killing it.
3573
3574 2003-07-28  José Matos  <jamatos@lyx.org>
3575
3576         * buffer.C (readBody, do_writeFile):
3577         * paragraph.C(readParagraph): \end_document replaces \the_end.
3578
3579 2003-07-29  André Pönitz  <poenitz@gmx.net>
3580
3581         * BufferView.[Ch]:
3582         * BufferView_pimpl.[Ch]:
3583         * lyxfunc.C:
3584         * text2.C:
3585         * text3.C:
3586         * textcursor.[Ch]: remove toggleToggle & Co
3587
3588 2003-07-28  José Matos  <jamatos@fep.up.pt>
3589
3590         * buffer.C (readParagraph):
3591         * params_func (readParToken, readParagraph):
3592         * paragraph.C (write): \layout -> \begin_layout.
3593
3594 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3595
3596         * lyxlex_pimpl.C (setFile): clean up slightly.
3597
3598         * bufferparams.h: add compressed var
3599
3600         * buffer_funcs.C (readFile): adjust for LyXLex change
3601         (newFile): ditto + simplify
3602
3603         * buffer.C (writeFile): handle writing of compressed files
3604
3605         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3606         Check if the file is compressed and set a bufferparm if so.
3607
3608         * Makefile.am (lyx_LDADD): remove explicit -lz
3609
3610 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3611
3612         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3613         makeDocBookFile): put the real LyX version in the first line of
3614         the file
3615
3616         * version.h:
3617         * version.C.in: remove lyx_docversion
3618
3619         * tabular.C (write_attribute): add a template-based version to
3620         write enums properly
3621
3622 2003-07-28  André Pönitz  <poenitz@gmx.net>
3623
3624         * lyxtext.h:
3625         * text.C:
3626         * text2.C:
3627         * text3.C: use doubles again for x-coordinates. They are needed.
3628
3629 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3630
3631         * messages.C (getLocaleDir): use lyx_localedir()
3632
3633         * lyxlex_pimpl.C (setFile): compress stuff
3634
3635         * buffer.C (writeFile): add some compression stuff
3636         (do_writeFile): new func, dont call expliti close... will this
3637         breake anything?
3638
3639         * Makefile.am (lyx_LDADD): add -lz
3640
3641 2003-07-28  José Matos  <jamatos@fep.up.pt>
3642
3643         * buffer.C: increment file format.
3644         * paragraph_funcs (readParagraph, readParToken):
3645         * paragraph.C (readParagraph): add \end_layout.
3646
3647 2003-07-27  Angus Leeming  <leeming@lyx.org>
3648
3649         * Makefile.am: remove special casing for configure-time setting of
3650         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3651
3652         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3653         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3654
3655 2003-07-26  André Pönitz  <poenitz@gmx.net>
3656
3657         * paragraph_func.[Ch]:
3658         * paragraph.C (realizeFont): inline it whereever it is used
3659
3660         * rowpainter.C:
3661         * text.C:
3662         * text2.C:
3663         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3664
3665
3666 2003-07-26  André Pönitz  <poenitz@gmx.net>
3667
3668         *       lyxtext.h:
3669         * text.C:
3670         * text2.C: get rid of LyXText::need_break_row
3671
3672 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * toc.[Ch]: put namespace toc inside namespace lyx
3675
3676         * MenuBackend.C (expandToc2): adjust for lyx::toc
3677         (expandToc): ditto
3678
3679         * lyxfunc.C (dispatch): adjust for lyx::find
3680
3681         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3682         lyx::find instead. Reorganize a bit.
3683         (LyXReplace): rename to replace
3684         (LyXFind): rename to find
3685
3686         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3687         (dispatch): ditto
3688
3689 2003-07-26  André Pönitz  <poenitz@gmx.net>
3690
3691         * text.C (setHeightOfRow): restrict scope of temporary variable
3692
3693         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3694           code (never has been used?)
3695
3696 2003-07-27  Asger Alstrup  <alstrup@local>
3697
3698         * text.C (fill): Optimise algorithm to exploit that we can reuse
3699         the LyXFont for many characters.
3700         (setHeightOfRow): Same thing.
3701         (rowBreakPoint): Same thing.
3702
3703 2003-07-26  Asger Alstrup  <alstrup@local>
3704
3705         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3706
3707         * text.C (singleWidth): Spurious font copying in hot-spot
3708         singleWidth avoided. Reorder tests for arabic for efficiency.
3709
3710         * text.C (fill): handle empty paragraphs better.
3711
3712 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3713
3714         * ispell.C:
3715         * encoding.h: add includes
3716
3717         * lyxrc.C: remove reading of bind files
3718
3719         * lyx_main.C (init): setup bindings and menus only if we have a
3720         gui.
3721
3722         * kbmap.C (read): new method. Do the actual reading of bind
3723         files.
3724
3725         * converter.C (dvipdfm_options):
3726         * bufferparams.C:
3727         * lyxrc.C (read):
3728         (output): adapt PAPER_* enums.
3729
3730         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3731
3732         * bufferparams.h: remove paper-related enums from there
3733
3734         * paper.h: New file. A trivial header file to hold paper-related
3735         enums. It should later expand to contain many paper-related
3736         horrors access.
3737
3738         * lyxrc.C: declare extern displayTranslator
3739
3740 2003-07-27  José Matos  <jamatos@fep.up.pt>
3741
3742         * tabular.[Ch] (linuxdoc): add support for tables and figures
3743         (linuxdoc).
3744
3745 2003-07-27  José Matos  <jamatos@fep.up.pt>
3746
3747         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3748         consistency in both functions.
3749         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3750
3751 2003-07-26  Asger Alstrup  <alstrup@local>
3752
3753         * rowpainter.C (paintRows): Change algorithm to work directly on
3754         the insets rather than asking every character in the document
3755         whether its an inset.
3756
3757 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3758
3759         * buffer.C (openFileWrite): factorize some code
3760
3761 2003-07-26  Angus Leeming  <leeming@lyx.org>
3762
3763         * lyx_cb.C:
3764         * lyx_main.[Ch]: replace occurances of system_tempdir with
3765         os::getTmpDir().
3766
3767 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3768
3769         * rename Inset to InsetOld
3770
3771 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3772
3773         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3774         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3775         which I think is a bit clearer. EDIT is gone, since it was
3776         premature optimisation, and broken for mathed anyway.
3777         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3778         with cursor positioning in insets as well (math insets still do not
3779         work, but that's a different story anyway.) It mysteriously
3780         crashes sometimes with undo in the first paragraph, but I'm fairly
3781         confident that this is a compiler bug.
3782
3783 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * paragraph.C (Paragraph): adjust for new clone return type
3786         (operator==): ditto
3787         (copyIntoMinibuffer): ditto
3788
3789 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3790
3791         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3792         by not having a special case, and always doing a full rebreak of
3793         the document after undo.
3794
3795 2003-07-23  Angus Leeming  <leeming@lyx.org>
3796
3797         * factory.C (createInset): InsetExternal::setParams now takes a
3798         Buffer const * arg.
3799
3800 2003-07-23  Angus Leeming  <leeming@lyx.org>
3801
3802         * factory.C (createInset): changed interface to the external and
3803         graphics mailers' string2params functions.
3804
3805 2003-07-23  Angus Leeming  <leeming@lyx.org>
3806
3807         * factory.C (createInset): pass a
3808         Buffer const * parameter to InsetExternalMailer's string2params.
3809
3810 2003-07-22  John Levon  <levon@movementarian.org>
3811
3812         * Thesaurus.h: include the right aiksaurus header
3813
3814 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3815
3816         * MenuBackend.C (expand): check menu shortcuts unconditionally
3817
3818 2003-07-21  Angus Leeming  <leeming@lyx.org>
3819
3820         * factory.C (createInset): pass a
3821         buffer_path parameter to InsetGraphicsMailer's string2params.
3822
3823 2003-07-21  Angus Leeming  <leeming@lyx.org>
3824
3825         * BufferView_pimpl.C (buffer):
3826         * buffer.C (d-tor):
3827         * lyx_main.C (LyX):
3828         * lyxfunc.C (dispatch):
3829         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3830         rather than the grfx shortcut.
3831
3832 2003-07-21  André Pönitz  <poenitz@gmx.net>
3833
3834         * rowpainter.C: remove unused variables
3835
3836         * tabular_funcs.C:
3837         * tabular_funcs.h: move to tabular.C
3838         * Makefile.am: adjust
3839
3840         * tabular.[Ch]: basic optical cleaning
3841
3842         * author.h: pass references, not values
3843
3844 2003-07-18  André Pönitz  <poenitz@gmx.net>
3845
3846         * lyxtext.h:
3847         * metricsinfo.C:
3848         * metricsinfo.h:
3849         * rowpainter.C:
3850         * text.C:
3851         * text2.C:
3852         * text3.C: two-phase drawing for InsetText and InsetTabular
3853         some float -> int changes.
3854
3855 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3856
3857         * lyx_main.C: fix the fix
3858
3859 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3860
3861         * lyx_main.C: fix a crash in batch mode if no files specified
3862         * converter.C: ws
3863
3864 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3865
3866         * format.[Ch] (papersize): moved to BufferParams
3867         * converter.[Ch] (dvips_options): moved to BufferParams
3868         (dvipdfm_options): moved to anon namespace
3869         * bufferparams.[Ch]: added above functions.
3870
3871 2003-07-17  André Pönitz  <poenitz@gmx.net>
3872
3873         * lyxtext.h:
3874         * rowpainter.C:
3875         * text2.C: don't call inset->update() anymore
3876
3877         * metricsinfo.[Ch]: add convenience constructor
3878
3879 2003-07-16  André Pönitz  <poenitz@gmx.net>
3880
3881         * lyxcursor.[Ch]:
3882         * lyxfunc.[Ch]:
3883         * text.C:
3884         * text2.C: replace the LyXCursor::irow_ member with
3885          on-demand computation of the value
3886
3887 2003-07-16  John Levon  <levon@movementarian.org>
3888
3889         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3890
3891 2003-07-15  André Pönitz  <poenitz@gmx.net>
3892
3893         * text.C:
3894         * text2.C: remove no more needed refresh_row
3895
3896 2003-07-15  André Pönitz  <poenitz@gmx.net>
3897
3898         * lyxtext.h:
3899         * rowpainter.C:
3900         * text2.C:
3901         * text3.C: refresh_status tristate -> need_update bool
3902
3903 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3904
3905         * lyxtext.h (init): remove reinit argument (act as if always true)
3906         * text2.C: adjust to that
3907
3908 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3909
3910         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3911         * text3.C: use it to delete selections in some cases
3912         (bugs 441, 673, 702, 954).
3913
3914 2003-07-14  André Pönitz  <poenitz@gmx.net>
3915
3916         * rowpainter.[Ch]: reduce interface
3917
3918 2003-07-14  André Pönitz  <poenitz@gmx.net>
3919
3920         * BufferView_pimpl.C:
3921         * text2.C: adjust after removing unused BufferView * argument
3922
3923 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * text2.C (init): fix a crash fired on resize
3926
3927 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3928
3929         * buffer.[Ch]: added new closing signal
3930         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3931         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3932         BufferView::Pimpl via the closing the signal
3933
3934 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * buffer.[Ch]: take out all bv-related from buffer
3937         * BufferView.C:
3938         * BufferView_pimpl.[Ch]: connect to new signals
3939         * CutAndPaste.C: removed useless asserts
3940         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3941         * lyxvc.[Ch]:
3942         * vc-backend.[Ch]:
3943         * lyxfunc.C: moved view-related funciontality from vc here
3944         * paragraph.C: removed outdated comments
3945         * text.C: ws
3946
3947 2003-07-10  André Pönitz  <poenitz@gmx.net>
3948
3949         * BufferView_pimpl.C:
3950         * tabular.h:
3951         * tabular_funcs.C:
3952         * text.C:
3953         * text2.C: remove InsetText::InnerCache, clean up consequences
3954
3955 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3956
3957         * ispell.C: fix two typos in error messages
3958
3959 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3960
3961         * Extend Note inset to other forms of annotation like Comment
3962         and Greyedout. Right button click gives dialog.
3963
3964         Files modified or added (+):
3965
3966         * insetnote.[Ch]
3967         * FormNote.[Ch]      +
3968         * ControlNote.[Ch]   +
3969         * form_note.fd       +
3970         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3971         frontends/controllers
3972         * xforms/Dialogs.C
3973         * factory.C
3974
3975 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3976
3977         * aspell.C: add missing namespace lyx::support
3978
3979 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3980
3981         * BufferView.[Ch] (newFile): Add
3982         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3983         * LaTeX.[Ch] (message): added this signal and use it
3984         * buffer.[Ch] (busy, message): added these signals and use them
3985         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3986         * converter.C:
3987         * exporter.C:
3988         * format.C:
3989         * importer.C: use buffer signals instead of direct bv calling
3990         * lyx_cb.[Ch] (ShowMessage): removed
3991         * lyx_main.C:
3992         * lyxfunc.C:
3993         * paragraph_funcs.C:
3994         * text2.C: use buffer signals
3995
3996 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3997
3998         * introduce namespace lyx::graphics
3999
4000 2003-07-02  André Pönitz  <poenitz@gmx.net>
4001
4002         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4003
4004 2003-07-01  André Pönitz  <poenitz@gmx.net>
4005
4006         * text.C:
4007         * text2.C:
4008         * text3.C:
4009         * text_funcs.[Ch]:
4010         * textcursor.h:
4011         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4012           text*.C to text_func.C
4013
4014 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4015
4016         * introduce namespace lyx::support
4017
4018 2003-06-30  André Pönitz  <poenitz@gmx.net>
4019
4020         * Chktex.C:
4021         * funcrequest.C:
4022         * lyxtext.h:
4023         * text.C: re-enable --with-included-string
4024
4025 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4026
4027         * textcursor.C: add <config.h>
4028
4029         * text.C (getWord): remove const from word_location arg
4030
4031         * lyxvc.C (getLogFile): fix const type order
4032
4033         * lyxtext.h: remove const from word_location arg, add arg name
4034
4035         * lyxlayout.h: currect type on labeltype.
4036
4037         * importer.C: correct \file
4038
4039         * converter.C (intToFormat): use std:: on ret val, ws changes
4040
4041         * bufferlist.h: correct \file
4042
4043         * buffer.C (makeLinuxDocFile): fix const type order
4044         (makeDocBookFile): ditto
4045         (fillWithBibKeys): use std:: on stdlib args.
4046
4047         * CutAndPaste.C: fix authors.
4048         (availableSelections): use std:: on return vector
4049
4050 2003-06-27  André Pönitz  <poenitz@gmx.net>
4051
4052         * BufferView_pimpl.C:
4053         * bufferview_funcs.C:
4054         * lyxcursor.C:
4055         * lyxcursor.h:
4056         * lyxfunc.C:
4057         * lyxtext.h:
4058         * rowpainter.C:
4059         * text.C:
4060         * text2.C:
4061         * text3.C: remove LyXCursor::row_ member
4062
4063         * lyxtext.h:
4064         * text.C: rename fullRebreak() to partialRebreak() and implement
4065           a fullRebreak() that really bereks fully
4066
4067         * textcursor.h: new struct for cursor-related data
4068
4069 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4070
4071         * lyx_main.C (LyX): get full path of document loaded on the
4072         command line
4073
4074 2003-06-26  André Pönitz  <poenitz@gmx.net>
4075
4076         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4077           remove unused/broken operator>,<,>=.
4078
4079         *       text.C: remove only use of broken operator<= in an Assert().
4080
4081 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4082
4083         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4084         moved errorlist_.clear to showErrorList
4085
4086 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4087
4088         * converter.C (scanLog, runLaTeX):
4089         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4090         move the bv->showErrorList call to the callers
4091         * lyxfunc.C: i.e. here...
4092         * text2.C: and here
4093         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4094         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4095         namespace, the second to...
4096         * buffer_funcs (BufferFormat, parseErrors): added
4097         * errorlist.C (ErrorList(TeXErrors const &)): removed
4098
4099 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4100
4101         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4102
4103 2003-06-24  "Garst R. Reese" <reese@isn.net>
4104
4105         * debug.C: fix typo
4106
4107 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4108
4109         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4110
4111         * version.C.in: change docversion to 1.4
4112
4113 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * buffer.C: fix a bug just introduced
4116
4117 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4118
4119         * buffer.[Ch]: added the parseError signal and use it, removed
4120         sgmlError
4121         * BufferView.[Ch] (addError): moved to ...
4122         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4123         to the Buffer::parseError signal to catch (guess what) parse errors
4124         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4125
4126 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4127
4128         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4129         ability to create a buffer and to return an existing one from
4130         the list. Moved these functions to...
4131         * buffer_funcs.[Ch]: added
4132         * BufferView.[Ch] (loadLyXFile): added
4133         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4134         job removed from bufferlist::loadLyXFile.
4135         * buffer.C (setReadOnly): make it work without view
4136         (i.e added an if (users))
4137
4138 2003-06-19  Angus Leeming  <leeming@lyx.org>
4139
4140         * lfuns.h:
4141         * LyXAction.C (init):
4142         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4143         with LFUN_DIALOG_SHOW <name> <data>.
4144
4145 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4146
4147         * CutAndPaste.C (availableSelections): small compilation fix for
4148         ancient (gcc 2.9x) compilers
4149
4150 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4151
4152         * text3.C (cursorNext): add tmp var
4153
4154         * text2.C (updateCounters): for function calling out of for clause
4155         (replaceSelectionWithString): ditto
4156         (insertStringAsParagraphs): ditto
4157         (getColumnNearX): add tmp var
4158         (setCursorFromCoordinates): add tmp var
4159         (cursorDownParagraph): add tmp var
4160         (deleteEmptyParagraphMechanism): add tmp var
4161
4162         * text.C (insertChar): add tmp var
4163
4164         * rowpainter.C (paintDepthBar): add tmp var
4165
4166         * CutAndPaste.C (availableSelections): potentially check all
4167         paragraphs in a cut to fill the shown strings.
4168
4169 2003-06-18  André Pönitz  <poenitz@gmx.net>
4170
4171         * kbmap.[Ch]: use vector<> instead of list<>
4172
4173 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4174
4175         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4176         pasteSelection with index
4177
4178         * text2.C (pasteSelection): modify, call pasteSelection with index
4179
4180         * paragraph.C (asString): reimplement version with no interval to
4181         call the one with interval.
4182
4183         * lyxtext.h: add index arg to pasteSelection
4184
4185         * MenuBackend.C (MenuItem): handle PasteRecent
4186         (Menu::read::Menutags): add md_pasterecent
4187         (read): handle it
4188         (expandPasteRecent): new function
4189         (expand): use it
4190
4191         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4192
4193         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4194         the limited stack
4195         (availableSelections): new function
4196
4197 2003-06-17  Angus Leeming  <leeming@lyx.org>
4198
4199         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4200
4201 2003-06-17  Angus Leeming  <leeming@lyx.org>
4202
4203         * lfuns.h:
4204         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4205
4206         * lyxfunc.C (dispatch): invoke it.
4207
4208 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4209
4210         * iterators.C (operator++, ParPosition): reintroduce some
4211         const_cast for the benefit of older compilers.
4212
4213 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4214
4215         * text3.C (dispatch): do not modify clipboard when doing
4216         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4217         LFUN_DELETE_SKIP on a selection selection
4218
4219 2003-06-16  André Pönitz  <poenitz@gmx.net>
4220
4221         * BufferView.C:
4222         * buffer.C:
4223         * buffer.h:
4224         * paragraph.C:
4225         * tabular.[Ch]: IU of clone() and getLabelList();
4226
4227 2003-06-13  André Pönitz  <poenitz@gmx.net>
4228
4229         * tabular.h: compactification
4230
4231 2003-06-12  André Pönitz  <poenitz@gmx.net>
4232
4233         * tabular.C:
4234         * tabular.h:
4235         * tabular_funcs.h: some renaming plus whitespace
4236
4237 2003-06-12  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView.C:
4240         * BufferView_pimpl.C:
4241         * CutAndPaste.C:
4242         * buffer.C:
4243         * iterators.[Ch]:
4244         * lyxfunc.C:
4245         * text.C:
4246         * toc.C: Return a Paragraph & for ParIterator::operator*()
4247
4248 2003-06-11  John Levon  <levon@movementarian.org>
4249
4250         * lyx_main.C:
4251         * ToolbarBackend.h:
4252         * ToolbarBackend.C: add "Toolbars" section and
4253         put the flags there
4254
4255 2003-06-10  Angus Leeming  <leeming@lyx.org>
4256
4257         * lfuns.h:
4258         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4259
4260         * lyxfunc.C (dispatch): invoke it.
4261
4262 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * main.C: protect <ios> with HAVE_IOS
4265         (main): protect sync_with_stdio with HAVE_IOS
4266
4267 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4268
4269         * text2.C (cutSelection): adjust
4270         (pasteSelection): adjust
4271
4272         * messages.C: handle get of empty string
4273
4274         * main.C (main): use sync_with_stdio(false)
4275
4276         * lyxfunc.C (dispatch): adjust
4277
4278         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4279         (WriteAs): remove unneeded BufferView arg.
4280
4281         * bufferparams.h: use correct types on papersize, papersize2 and
4282         paperpackage.
4283
4284         * bufferparams.C (readToken): adjust for type
4285         (writeLaTeX): add missing cases to switch.
4286
4287         * bufferlist.C (quitWriteBuffer): adjust
4288         (close): adjust
4289
4290         * buffer.C (asciiParagraph): remove some commented code.
4291
4292         * CutAndPaste.C: remove current_view extern variable.
4293         (cutSelection): add BufferParams arg.
4294         (eraseSelection): add BufferParams arg.
4295         (pasteSelection): add Buffer const & arg
4296
4297 2003-06-07  John Levon  <levon@movementarian.org>
4298
4299         * buffer.C:
4300         * paragraph_funcs.C:
4301         * paragraph_pimpl.C:
4302         * text.C:
4303         * text2.C:
4304         * paragraph.h:
4305         * paragraph.C: allow InsetERT to freely space lines,
4306         and some consolidation of code
4307
4308 2003-06-06  José Matos  <jamatos@fep.up.pt>
4309
4310         * buffer.C (makeDocBookFile): fix bug #821
4311
4312 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4313
4314         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4315
4316 2003-06-04  Angus Leeming  <leeming@lyx.org>
4317
4318         * buffer.C: bump format to 224.
4319
4320 2003-06-05  André Pönitz  <poenitz@gmx.net>
4321
4322         * text2.C (redoParagraphs): remove two const_cast<>
4323
4324 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4325
4326         * ParagraphList.h: remove last remnants of NO_STD_LIST
4327
4328 2003-06-03  Angus Leeming  <leeming@lyx.org>
4329
4330         * factory.C (createInset): small change to the way InsetExternal's params
4331         are set.
4332
4333 2003-06-04  André Pönitz  <poenitz@gmx.net>
4334
4335         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4336
4337         * paragraph_pimpl.h:
4338         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4339
4340         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4341
4342         * undo_funcs.C: make some simple cases of undo work again
4343
4344 2003-06-03  John Levon  <levon@movementarian.org>
4345
4346         * ispell.C: HPUX doesn't have sys/select.h
4347         (from Albert Chin)
4348
4349 2003-06-03  John Levon  <levon@movementarian.org>
4350
4351         * CutAndPaste.C: update tabular and include inset
4352         buffer references
4353
4354         * buffer.h:
4355         * paragraph.h:
4356         * paragraph.C: remove owningBuffer(), don't pass Buffer
4357         to clone()
4358
4359         * factory.C: insetGraphicsParams changed
4360
4361 2003-06-02  John Levon  <levon@movementarian.org>
4362
4363         * LyXAction.C:
4364         * factory.C:
4365         * lfuns.h:
4366         * lyxfunc.C:
4367         * text3.C: remove insetparent
4368
4369 2003-06-02  John Levon  <levon@movementarian.org>
4370
4371         * buffer.h:
4372         * buffer.C: fix inset_iterator.end(), move out of line
4373         (bug 1149)
4374
4375 2003-06-01  John Levon  <levon@movementarian.org>
4376
4377         * text3.C: use a proper cut/paste when doing inset
4378         insert (from Jürgen Spitzmüller)
4379
4380 2003-06-01  John Levon  <levon@movementarian.org>
4381
4382         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4383
4384 2003-05-30  André Pönitz  <poenitz@gmx.net>
4385
4386         * rowpainter.C: unify second drawing phase
4387
4388 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * trans_mgr.C: remove one case of current_view
4391
4392         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4393
4394         * paragraph_funcs.h: remove paragraph.h include
4395
4396         * paragraph.h: delete NO_STD_LIST stuff
4397
4398         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4399
4400         * buffer.h: remove paragraph.h include
4401
4402         * ParagraphList.C: delete file
4403
4404         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4405
4406         * toc.C (getTocList): adjust
4407
4408         * paragraph_pimpl.C (validate): adjust
4409
4410         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4411
4412         * paragraph.C (Paragraph): adjust
4413         (getPositionOfInset): use const_iterator, adjust
4414         (bibitem): use const_iterator, adjust
4415         (setInsetOwner): adjust
4416
4417         * iterators.C (operator++): adjust
4418
4419         * InsetList.[Ch]: Replace selfmade iterator with standard
4420         vector::iterator also introduce const_iterator. Remove getPos,
4421         getInset and setInset from InsetTable. Adjust accordingly.
4422
4423         * BufferView.C (lockInset): adjust
4424         (ChangeInsets): adjust
4425
4426         * tabular.[Ch]: delete commented same_id functions
4427
4428 2003-05-28  John Levon  <levon@movementarian.org>
4429
4430         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4431
4432 2003-05-28  André Pönitz  <poenitz@gmx.net>
4433
4434         * metricsinfo.[Ch]: remove 'fullredraw' member
4435
4436 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4437
4438         * lyxtextclass.C (operator): remove caching.
4439
4440 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4441
4442         * text3.C: adjust
4443
4444         * text2.C (cursorBottom): adjust
4445         (setCounter): use ParagraphList::find, adjust
4446
4447         * text.C (workWidth): use ParagraphList::find, adjust
4448
4449         * lyxcursor.C (LyXCursor): adjust
4450
4451         * buffer.C (inset_iterator): adjust
4452
4453         * ParagraphList.h: make iterator(value_type) private, make
4454         ParagraphList a friend of iterator.
4455
4456         * ParagraphList.C (find): new function
4457
4458         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4459
4460 2003-05-27  André Pönitz  <poenitz@gmx.net>
4461
4462         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4463
4464 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4465
4466         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4467
4468 2003-05-26  John Levon  <levon@movementarian.org>
4469
4470         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4471
4472 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * remove same_id from function signatures, adjust.
4475
4476 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4477
4478         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4479
4480         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4481
4482         * paragraph.C (Paragraph): get rid of same_ids parameter
4483
4484         * ParagraphList.C (insert): adjust
4485         (push_back): adjust
4486
4487 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4488
4489         * paragraph_funcs.C (breakParagraph): adjust
4490         (breakParagraphConservative): adjust
4491
4492         * buffer.C (readParagraph): adjust
4493
4494         * ParagraphList.C (insert): take a reference instead of a pointer
4495         (insert): adjust
4496
4497         * paragraph.[Ch] (id): new function
4498
4499         * bufferlist.C (newFile): adjust
4500
4501         * ParagraphList.C (ParagraphList): adjust
4502         (assign): adjust
4503         (push_back): take a reference instead of a pointer.
4504
4505         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4506
4507         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4508         instead.
4509
4510         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4511         set else use old code.
4512
4513         * ParagraphList.C: remove all NO_NEXT code and only compile this
4514         code of NO_STD_LIST is set.
4515
4516 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * BufferView_pimpl.C:
4519         * TextCache.C:
4520         * TextCache.h:
4521         * bufferlist.C:
4522         * errorlist.h:
4523         * format.C:
4524         * format.h:
4525         * graph.C:
4526         * lyxfunc.C:
4527         * lyxrc.C:
4528         * graphics/GraphicsConverter.C:
4529         * graphics/PreviewLoader.C: header adjustment
4530
4531 2003-05-23  Angus Leeming  <leeming@lyx.org>
4532
4533         * LaTeXFeatures.[Ch] (useBabel): new method.
4534         * bufferparams.C (writeLaTeX): use it.
4535
4536 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * ParagraphList.h (set): remove unused function.
4539
4540 2003-05-23  André Pönitz  <poenitz@gmx.net>
4541
4542         * BufferView.C:
4543         * BufferView_pimpl.C:
4544         * buffer.C:
4545         * buffer.h:
4546         * lyxfunc.C:
4547         * undo_funcs.C: setUndo reworked
4548
4549         * iterators.[Ch]: add access to topmost ParagraphList
4550
4551         * lyxtext.[Ch] (workWidth): add a const
4552
4553 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4554
4555         * texrow.[Ch] (increasePos): remove function
4556         * exporter.C (export): removed unused var and outdated comment
4557
4558 2003-05-23  Angus Leeming  <leeming@lyx.org>
4559
4560         * latexrunparams.h: rename fragile as moving_arg.
4561         * paragraph.C (simpleTeXOnePar): ditto.
4562         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4563
4564 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4567         (createUndo): ditto
4568         (textUndoOrRedo): comment out a currently unused var.
4569
4570         * paragraph.h (NO_NEXT): enable NO_NEXT
4571
4572         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4573
4574         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4575
4576         * exporter.C (Export): adjust for removeAutoInsets removal.
4577
4578         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4579
4580         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4581
4582         * BufferView.[Ch] (removeAutoInsets): delete function
4583
4584 2003-05-22  Angus Leeming  <leeming@lyx.org>
4585
4586         * latexrunparams.h: add a free_spacing variable.
4587
4588         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4589         to pass moving_arg, as the data is stored in runparams.fragile.
4590
4591         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4592         to Inset::latexOptional or to simpleTeXOnePar.
4593
4594         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4595         free_spacing arg to Inset::latexOptional.
4596
4597         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4598         free_spacing arg.
4599
4600 2003-05-22  Angus Leeming  <leeming@lyx.org>
4601
4602         * latexrunparams.h: add fragile and use_babel variables.
4603
4604         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4605         * buffer.C (makeLaTeXFile): store this returned value in
4606         runparams.use_babel, thus passing it to the inset::latex methods.
4607
4608         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4609         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4610
4611         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4612         longer has a fragile arg, as it is stored in runparams.fragile.
4613
4614         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4615         moving_arg parameter as the data is stored in runparams.fragile.
4616
4617         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4618         a fragile parameter as the data is stored in runparams.fragile.
4619
4620 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4623
4624 2003-05-22  Angus Leeming  <leeming@lyx.org>
4625
4626         * latexrunparams.h: add a 'bool nice' which defaults to false.
4627
4628         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4629         now encapsulated within runparams.
4630
4631         * bufferlist.C (updateIncludedTeXfiles):
4632         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4633
4634 2003-05-22  Angus Leeming  <leeming@lyx.org>
4635
4636         * latexrunparams.h: new file containing struct LatexRunParams.
4637         * Makefile.am: add new file.
4638
4639         * LaTeX.[Ch] (c-tor, run):
4640         * buffer.[Ch] (makeLaTeXFile):
4641         * bufferlist.[Ch] (updateIncludedTeXfiles):
4642         * converter.C (convert, scanLog):
4643         * converter.[Ch] (runLaTeX):
4644         * exporter.C (Export):
4645         * paragraph.[Ch] (simpleTeXOnePar):
4646         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4647         * paragraph_funcs.[Ch] (latexParagraphs):
4648         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4649         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4650         pass around a LatexRunParams parameter.
4651
4652 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * paragraph.[Ch]: remove unused constructor
4655
4656         * ParagraphList.C (erase): new function, taking two iterators
4657
4658 2003-05-22  André Pönitz  <poenitz@gmx.net>
4659
4660         * undo_funcs.C: remove duplicated code
4661
4662         * iterator.[Ch]: operator=
4663
4664 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * tabular.C (SetMultiColumn): ws changes
4667
4668         * rowpainter.C (paintFirst): get rid of a ->previous
4669
4670         * lyx_cb.C (getPossibleLabel): parlist simplification
4671
4672         * BufferView.C (ChangeInsets): simplify slightly.
4673
4674 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4675
4676         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4677         * lfuns.h: new LFUN_SPACE
4678         * lyxfunc.C: protected space has a new lfun
4679         * paragraph_funcs.C: read new space insets
4680         * text3.C:
4681         * factory.C: handle new space insets
4682
4683 2003-05-22  André Pönitz  <poenitz@gmx.net>
4684
4685         * BufferView.C:
4686         * BufferView_pimpl.C:
4687         * buffer.[Ch]:
4688         * lyxfunc.C:
4689         * undo_funcs.C: return a ParIterator from getParFromID.
4690
4691         * iterators.[Ch]: add two const's
4692
4693 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * toc.C (getTocList): adjust
4696
4697         * iterators.[Ch]: rework for parlist
4698
4699         * buffer.C (par_iterator_begin): adjust
4700         (par_iterator_end): adjust
4701
4702         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4703
4704         * BufferView.C (removeAutoInsets): adjust
4705         (ChangeInsets): adjust
4706
4707 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4708
4709         * text.C (top_y): fix bug 1110
4710
4711 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * errorlist.[Ch]: added
4714         * buffer.C:
4715         * BufferView.[Ch]:
4716         * BufferView_pimpl.C:
4717         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4718         instead
4719
4720 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * Makefile.am: ensure that lyx is relinked upon changes to the
4723         various "convenience" libs.
4724
4725 2003-05-20  Angus Leeming  <leeming@lyx.org>
4726
4727         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4728         files are compiled in alphabetical order again.
4729
4730         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4731
4732 2003-05-19  Angus Leeming  <leeming@lyx.org>
4733
4734         * gettext.[Ch]: remove "char const * _(char const *)".
4735
4736 2003-05-19  André Pönitz  <poenitz@gmx.net>
4737
4738         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4739
4740         * Makefile.am:
4741         * BufferView.C:
4742         * DepTable.h:
4743         * LaTeXFeatures.C:
4744         * buffer.C:
4745         * lyxfont.C:
4746         * lyxlex.h:
4747         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4748
4749 2003-05-19  André Pönitz  <poenitz@gmx.net>
4750
4751         * buffer.C:
4752         * lyxlayout.[Ch]:
4753         * lyxtextclass.[Ch]:
4754         * paragraph.C:
4755         * paragraph_funcs.[Ch]:
4756         * text2.C:
4757         * text3.C: more insetenv work
4758
4759 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4760
4761         * ParagraphParameters.C (params2string): small bug fixed
4762
4763 2003-05-16  André Pönitz  <poenitz@gmx.net>
4764
4765         * debug.C:
4766         * bufferview_funcs.C: patch from Kornel Benko to prevent
4767           crash when _(...) is called twice in a statement
4768
4769 2003-05-16  André Pönitz  <poenitz@gmx.net>
4770
4771         * BufferView.C:
4772         * lyxfunc.C:
4773         * text.C:
4774         * text2.C:
4775         * text3.C:
4776         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4777
4778 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * lyx_main.C (init): remove spurious static_cast
4781
4782 2003-05-14  André Pönitz  <poenitz@gmx.net>
4783
4784         * BufferView.C: fix format string
4785
4786 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4787
4788         * BufferView.[Ch] (insertErrors): removed
4789         * BufferView.[Ch] (showErrorList): added
4790         * buffer.C (runChkTeX):
4791         * converter.C (scanLog): call showErrorList instead of inserterrors
4792
4793 2003-05-13  André Pönitz  <poenitz@gmx.net>
4794
4795         * BufferView_pimpl.C:
4796         * buffer.C:
4797         * bufferview_func.C:
4798         * MenuBackend.C:
4799         * lyxfunc.C:
4800         * lyxrc.C:
4801         * tex-accent.C:
4802         * text3.C:
4803         * toc.C:
4804         * tabular_funcs.h: tostr() from its own header
4805
4806         * ParagraphParameters.C:
4807         * ToolbarBackend.C:
4808         * bufferparams.C:
4809         * format.C:
4810         * lyxlex_pimpl.C:
4811         * text3.C: STRCONV()
4812
4813 2003-05-12  André Pönitz  <poenitz@gmx.net>
4814
4815         * BufferView.C:
4816         * BufferView_pimpl.C:
4817         * CutAndPaste.C:
4818         * LaTeX.C:
4819         * LaTeXFeatures.C:
4820         * ParagraphParameters.C:
4821         * buffer.C:
4822         * bufferlist.C:
4823         * bufferparams.C:
4824         * bufferview_funcs.C:
4825         * converter.C:
4826         * counters.C:
4827         * debug.C:
4828         * exporter.C:
4829         * format.C:
4830         * importer.C:
4831         * lyx_cb.C:
4832         * lyx_main.C:
4833         * lyxfont.C:
4834         * lyxfunc.C:
4835         * lyxvc.C:
4836         * paragraph.C:
4837         * paragraph_funcs.C:
4838         * tabular.C:
4839         * tabular_funcs.C:
4840         * text2.C:
4841         * text3.C:  boost::format -> bformat  all over the place
4842
4843
4844 2003-05-09  André Pönitz  <poenitz@gmx.net>
4845
4846         * LColor.[Ch]: Pimpl the #include <map> away
4847
4848 2003-05-09  John Levon  <levon@movementarian.org>
4849
4850         * bufferlist.C: never remove emergency saves
4851
4852 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * Makefile.am: better lib building
4855
4856 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4857
4858         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4859         instead.
4860         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4861         (simpleTeXSpecialChars): adjust
4862         (simpleTeXSpecialChars): adjust
4863         * paragraph.C (simpleTeXOnePar): adjust
4864         * buffer.C (makeLaTeXFile): adjust
4865
4866         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4867
4868         * text2.C (changeDepth): parlist cleanup
4869         (getColumnNearX): ditto
4870
4871         * rowpainter.C (getLabelFont): parlist cleanup
4872
4873         * bufferlist.C (newFile): parlist cleanup
4874
4875         * CutAndPaste.C (eraseSelection): parlist cleanup
4876
4877         * BufferView_pimpl.C (trackChanges): parlist cleanup
4878         (dispatch): ditto
4879
4880         * BufferView.C (lockInset): parlist cleanup.
4881         (ChangeInsets): ditto
4882
4883 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * CutAndPaste.h: Update file header.
4886
4887         * CutAndPaste.C: Update file header.
4888         Store the parts cut out of the Document in a limited_stack.
4889         (copySelection): adjust
4890         (pasteSelection): new function, takes the index in the limited stack.
4891         (nrOfParagraphs): adjust
4892         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4893         simplify error inset insertion.
4894         (checkPastePossible): adjust
4895
4896 2003-05-06  John Levon  <levon@movementarian.org>
4897
4898         * text2.C: don't cast wrap inset to float
4899
4900 2003-05-05  André Pönitz  <poenitz@gmx.net>
4901
4902         * iterator.C:
4903         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4904
4905         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4906           few naked Paragraph *.
4907
4908 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4909
4910         * bufferparams.C: Output warning if a document with missing
4911         TeX document class is loaded
4912         * exporter.C: Disable TeX exports if the document class is missing
4913         * lyxtextclass.C:
4914         * lyxtextclass.h:
4915         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4916         isTeXClassAvailable()
4917
4918 2003-05-03  John Levon  <levon@movementarian.org>
4919
4920         * BufferView.h:
4921         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4922         explicit cursor show/hide
4923
4924         * BufferView_pimpl.h:
4925         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4926         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4927
4928         * lyxfunc.C: hide cursor before dispatching.
4929
4930         * lyx_cb.C:
4931         * lyxfind.C:
4932         * text.C:
4933         * text3.C: remove explicit cursor hides
4934
4935 2003-05-02  André Pönitz  <poenitz@gmx.net>
4936
4937         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4938
4939         * undo_funcs.C:
4940         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4941           linked lists
4942
4943         * text2.C: tiny whitespace
4944
4945 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4946
4947         * undo_funcs.C: almost only ws changes.
4948
4949         * ParagraphList.C (splice): just return if pl is empty.
4950
4951 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * ParagraphList.C (splice): new function.
4954
4955         * CutAndPaste.C (pasteSelection): use it
4956
4957 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4958
4959         * CutAndPaste.C (pasteSelection): remove the last next and
4960         previous from this file.
4961
4962 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * CutAndPaste.C (pasteSelection): more clean up, user proper
4965         ParagraphList functions for pasteing.
4966
4967         * ParagraphList.C (insert): new function, three arg insert
4968
4969 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * ParagraphList.C (insert): new function, three arg insert
4972
4973         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4974         not on paragraphs.
4975
4976 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4977
4978         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4979
4980 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4981
4982         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4983
4984 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4987         (copySelection): clean up a bit.
4988         (pasteSelection): use make_pair
4989
4990         * ParagraphList.C (ParagraphList): implement copy constructor
4991         (operator=): implement, base on copy constructor.
4992         (assign): new func
4993
4994         * paragraph.C (erase): return a bool
4995
4996         * paragraph_pimpl.C (erasePos): remove function, move contents...
4997         (erase): ... here. Return a bool.
4998         (erase): call erase instead of erasePos.
4999
5000 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5001
5002         * ParagraphList.h: define PitPosPair
5003         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5004         ParagraphList, fix a bug on pasting multiple pars
5005         * text2.C: change interface to C&P
5006
5007 2003-04-30  André Pönitz  <poenitz@gmx.net>
5008
5009         * undo_func.C: revert part of yesterday's patch 2
5010
5011 2003-04-30  John Levon  <levon@movementarian.org>
5012
5013         * LColor.C: s/tabular/table/
5014
5015 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * text3.C (dispatch): do not convert iterator -> pointer
5018         * undo_funcs.C (setCursorParUndo): ditto
5019         * text_funcs.C (transposeChars): ditto
5020
5021         * text2.C (setLayout): ws changes only
5022
5023         * text.C (breakParagraph): do not convert iterator -> pointer
5024         (insertChar): ditto
5025         (acceptChange): ditto
5026         (rejectChange): ditto
5027         (changeCase): ditto
5028         (Delete): ditto
5029         (backspace): ditto
5030
5031         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5032         pointer
5033
5034 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5035
5036         * text3.C (gotoInset): YABG (yet another bad getChar)
5037
5038 2003-04-29  André Pönitz  <poenitz@gmx.net>
5039
5040         * paragraph.h: make operator= private unimplemented as long as
5041           it is unusable
5042
5043         * ParagraphList.C: whitespace
5044
5045         * paragraph.[Ch]:
5046         * paragraph_pimpl.[Ch]:
5047         * paragraph_funcs.C:
5048         * CutAndPaste.C:
5049         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5050
5051         * text2.C:
5052           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5053
5054 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5057         * paragraph.[Ch] (erase):
5058         * paragraph_pimpl.[Ch] (erase): change return type and value
5059         * text2.C (cutSelection): some rework
5060
5061 2003-04-28  John Levon  <levon@movementarian.org>
5062
5063         * bufferlist.C: changes for unsaved changes dialog
5064
5065 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5066
5067         * bufferlist.C (newFile): set language (messages_) for new
5068         documents also.
5069
5070         * buffer.C (readFile): ws changes only.
5071
5072 2003-04-28  André Pönitz  <poenitz@gmx.net>
5073
5074         * undo_funcs.C:
5075         * lyxfunc.C:
5076         * buffer.[Ch]:
5077         * BufferView_pimpl.C:
5078         * BufferView.C: getParFromID related ParagraphList::iterator changes
5079
5080 2003-04-28  André Pönitz  <poenitz@gmx.net>
5081
5082         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5083           Changes
5084
5085 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5086
5087         * messages.C: remove one more localedir class variable.
5088
5089 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5090
5091         * messages.C (getLocaleDir): singleton generation function
5092         (Pimpl): use it.
5093         (Messages): add a default constructor.
5094
5095         * main.C (main): do not setup localedir here, do not call
5096         gettext_init.
5097
5098         * gettext.C (_): use it.
5099         (gettext_init): delete funciton
5100
5101 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5102
5103         * gettext.C (getLyXMessages): new singleton generating function.
5104
5105         * buffer.C (updateDocLang): adjust
5106
5107         * Makefile.am (messages.o): add target
5108         (main.o): remove target
5109
5110 2003-04-27  John Levon  <levon@movementarian.org>
5111
5112         * bufferlist.C:
5113         * lyx_cb.C:
5114         * lyxfunc.C:
5115         * lyxvc.C: specify cancel button in Alert::prompt
5116
5117 2003-04-26  John Levon  <levon@movementarian.org>
5118
5119         * text3.C:
5120         * lyxfunc.C:
5121         * lfuns.h:
5122         * LyXAction.C: add LFUN_INSET_SETTINGS
5123
5124         * lyxfunc.C: don't enable tabular-feature when there's
5125         just any locking inset
5126
5127 2003-04-26  John Levon  <levon@movementarian.org>
5128
5129         * bufferlist.C: re-add Cancel to buffer close question
5130
5131         * lyxfunc.C: fix import UI a bit
5132
5133 2003-04-25  John Levon  <levon@movementarian.org>
5134
5135         * gettext.C: remove the broken asserts for now
5136
5137 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * messages.C: make case where setlocale cannot comply work better.
5140
5141         * buffer.C (updateDocLang): new function
5142         (changeLanguage): use it
5143         (readFile): use it
5144
5145         * text2.C (setCounter): use B_ a bit.
5146
5147         * lyxlayout.C (Read): be sure to trim the label strings.
5148
5149         * messages.C (Messages): fix typo in comment
5150
5151         * buffer.C (readFile): set message_ after file is loaded.
5152         (makeDocBookFile): remove double return
5153         (changeLanguage): reset message_ upon language change.
5154         (B_): new func, use this to get translated buffer strings.
5155
5156         * main.C: add myself and Jean Marc as authors.
5157
5158 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5159
5160         * messages.[hC]: pimplify Messages, and three different pimpls to be
5161         used in different circumstances.
5162
5163         * gettext.[Ch]: change for use with new message code.
5164
5165 2003-04-24 André Pönitz <poenitz@gmx.net>
5166
5167         * factory.C: support for eqref
5168
5169 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * messages.[Ch]: add missing char
5172
5173         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5174
5175         * messages.[Ch]: New files
5176
5177 2003-04-18  John Levon  <levon@movementarian.org>
5178
5179         * BufferView.h:
5180         * BufferView.C:
5181         * BufferView_pimpl.C:
5182         * lfuns.h:
5183         * LyXAction.C:
5184         * lyxtext.h:
5185         * text2.C: remove layout-copy/paste (bug 778)
5186
5187 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5188
5189         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5190
5191 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5192
5193         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5194         if they succeed. Act accordingly.
5195
5196 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5197
5198         * text2.C (setCharFont): adjust
5199         (setCounter): adjust
5200         (insertStringAsLines): adjust
5201
5202         * text.C (leftMargin): adjust
5203         (setHeightOfRow): adjust
5204
5205         * rowpainter.C (paintFirst): adjust
5206         (paintLast): adjust
5207
5208         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5209         (outerHook): ditto
5210         (isFirstInSequence): ditto
5211         (getEndLabel): ditto
5212         (outerFont): adjust
5213
5214         * paragraph.C (getParLanguage): comment out some hard stuff.
5215
5216         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5217         (sgmlError): ditto
5218         (simpleDocBookOnePar): ditto
5219         (makeDocBookFile): use ParagraphList::iterator
5220
5221         * CutAndPaste.C (pasteSelection): adjust
5222
5223 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * text2.C (getFont): adjust
5226         (getLayoutFont): adjust
5227         (getLabelFont): adjust
5228
5229         * paragraph_funcs.C (TeXOnePar): adjust
5230
5231         * buffer.C (simpleLinuxDocOnePar): adjust
5232         (simpleDocBookOnePar): adjust
5233
5234         * CutAndPaste.C (pasteSelection): adjust
5235
5236         * BufferView.C (getEncoding): adjust
5237
5238         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5239
5240 2003-04-16  John Levon  <levon@movementarian.org>
5241
5242         * lyxfind.C: use parlist stuff for search/changes
5243
5244 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5247
5248         * text2.C (deleteEmptyParagraphMechanism): adjust
5249
5250         * text2.[Ch] (ownerParagraph): delete func (both of them
5251
5252 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5253
5254         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5255
5256 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5257
5258         * ParagraphList.C: prepare for NO_NEXT
5259
5260 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5261
5262         * text2.C (getFont): adjust
5263         (getLayoutFont): adjust
5264         (getLabelFont): adjust
5265
5266         * paragraph.C (getFont): adjust
5267         (getLabelFont): adjust
5268         (getLayoutFont): adjust
5269
5270         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5271
5272 2003-04-15  John Levon  <levon@movementarian.org>
5273
5274         From Angus Leeming
5275
5276         * lyx_main.C: handle Include in .ui files
5277
5278 2003-04-15  John Levon  <levon@movementarian.org>
5279
5280         * MenuBackend.C: make the doc files length shorter
5281
5282         * ToolbarBackend.h:
5283         * ToolbarBackend.C: handle toolbar placement flags,
5284         Minibuffer
5285
5286 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5289         adjust
5290
5291         * paragraph_funcs.C (TeXOnePar): adjust
5292
5293         * paragraph.C (getLabelFont): add outerfont arg, adjust
5294         (getLayoutFont): ditto
5295         (simpleTeXOnePar): adjust
5296
5297         * paragraph_pimpl.C (realizeFont): delete func
5298
5299 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5300
5301         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5302         row argument, constify cur argument.
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_funcs.C (TeXOnePar): adjust
5311         (outerFont): new func...
5312         (realizeFont): ...moved out from here, changed this to facilitate
5313         transition
5314
5315         * paragraph.C (getFont): take outerfont as arg, adjust
5316         (simpleTeXOnePar): add outerfont arg, adjust
5317
5318         * buffer.C (simpleLinuxDocOnePar): adjust
5319         (simpleDocBookOnePar): adjust
5320
5321         * CutAndPaste.C (pasteSelection): adjust
5322
5323         * BufferView.C (getEncoding): adjust
5324
5325 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * text2.C (setCharFont): adjust
5328         (setCounter): adjust
5329
5330         * text.C (leftMargin): adjust
5331         (setHeightOfRow): adjust
5332
5333         * rowpainter.C (paintFirst): adjust
5334         (paintLast): adjust
5335
5336         * paragraph_pimpl.C (realizeFont): adjust
5337
5338         * paragraph.C (isFirstInSequence): move from here...
5339         * paragraph_funcs.C (isFirstInSequence): ...to here
5340
5341         * paragraph.C (outerHook): move from here...
5342         * paragraph_funcs.C (outerHook): ...to here
5343
5344         * paragraph.C (depthHook): move from here...
5345         * paragraph_funcs.C (depthHook): ...to here
5346
5347         * paragraph.C (getEndLabel): move from here...
5348         * paragraph_funcs.C (getEndLabel): ...to here
5349
5350         * text2.C (realizeFont): move from here...
5351         * paragraph_funcs.C (realizeFont): ...to here
5352
5353 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5356
5357 2003-04-14  Angus Leeming  <leeming@lyx.org>
5358
5359         * LColor.[Ch]: scrap LColor mathcursor.
5360
5361 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * lyxlex.[Ch] (text): delete function
5364         * trans.C (Load): adjust
5365         * paragraph_funcs.C (readParToken): adjust
5366
5367 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5370         vector<char> instead of a char[].
5371
5372         * lyxlex_pimpl.C (getString): adjust
5373         (next): adjust
5374         (lex): use getString
5375         (eatLine): adjust
5376         (nextToken): adjust
5377
5378         * lyxlex.C (text): use pimpl_->getString()
5379         (getBool): ditto
5380         (findToken): ditto
5381
5382 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5383
5384         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5385         (makeFontEntriesLayoutSpecific): temp var for par.size()
5386         (setLayout): temp var for ownerParagraphs().end()
5387         (fullRebreak): temp var for rows().end()
5388         (selectionAsString): temp var for boost::next(startpit), realize
5389         that the while really is a regular for loop.
5390         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5391         setCursor in one place.
5392         (setParagraph): temp vr for ownerParagraphs().end()
5393         (updateCounters): make the while loop a for loop
5394         (cutSelection): temp var for ownerParagraphs().end()
5395         (updateInset): make the do {} while() a regular for loop
5396         (getCursorX): use temp vars
5397         (setCurrentFont): use temp vars
5398         (getColumnNearX): use temp vars
5399
5400 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * text.C (transformChar): use temp var for getChar
5403         (computeBidiTables): use temp var for row->par()
5404         (fill): move temp vars for row->par() and pit->layout() earlier in
5405         the function.
5406         (labelFill): use temp var for row->par()
5407         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5408         asc and desc, realize that pit never changes and that firstpit is
5409         just a duplicate and not needed. Exchange rit->par() with pit in a
5410         lot of places.
5411         (breakAgain): use a temp var for boost::next(rit)
5412         (breakAgainOneRow): ditto
5413         (breakParagraph): use a temp var for rows().begin()
5414         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5415         (cursorRightOneWord): use temp var for cursor.par() and
5416         cursor.pos(), remove usage of tmpcursor.
5417         (cursorLeftOneWord): use temp var for cursor.par() and
5418         cursor.pos() only set cur at end of function.
5419
5420 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * text.C, text2.C: exchange all usage of Paragraph::next with
5423         boost::next(ParagraphList::iterator)
5424
5425         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5426
5427         * text2.C (cursorTop): simplify implementation
5428         (cursorBottom): ditto
5429         (setParagraph): use ParagraphList::iterator
5430         (setCurrentFont): adjust
5431         (getColumnNearX): adjust
5432         (cursorRight): adjust
5433         (cursorLeft): remove usage of Paragraph::previous
5434         (cursorUpParagraph): ditto
5435         (deleteEmptyParagraphMechanism): slight cleanup
5436
5437         * text.C (isBoundary): take a Paragraph const & instead of a
5438         pointer as arg.
5439         (addressBreakPoint): ditto
5440         (leftMargin): remove usage of Paragraph::previous.
5441         (setHeightOfRow): ditto
5442         (cursorLeftOneWord): ditto
5443         (selectNextWordToSpellcheck): ditto
5444         (Delete): ditto
5445         (backspace): ditto
5446         (breakParagraph): remove one usage of Paragraph::next
5447         (redoParagraph): ditto
5448         (acceptChange): ditto
5449         (insertChar): adjust
5450         (rowBreakPoint): adjust
5451
5452         * bufferview_funcs.C (toggleAndShow): adjust
5453
5454 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5455
5456         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5457         methods to access it.
5458         * lyxtext.h:
5459         * text.C: Added updateRowPositions to compute all row positions.
5460         Make top_y and getRowNearY() to use the cached y position
5461
5462 2003-04-11  John Levon  <levon@movementarian.org>
5463
5464         * text.C (rowBreakPoint): reintroduce the labelEnd
5465         checks, code copied from the row fill stuff. Deep voodoo.
5466
5467         * text.C (fill): add a comment and debugging for the
5468         next poor soul.
5469
5470 2003-04-11  John Levon  <levon@movementarian.org>
5471
5472         * text.C: make sure fullrow insets get wrapped to the next line,
5473         even when they're in a manual label
5474
5475 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * text2.C (insertParagraph): make it take ParagraphList::iterator
5478         as arg.
5479         (setLayout): make it return ParagraphList::iterator
5480         (redoParagraphs): ditto
5481         (setCounter): ditto
5482         (checkParagraph): ditto
5483
5484         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5485
5486         * text2.C: adjust several funcs.
5487         (realizeFont): take a ParagraphList::iterator as arg.
5488         (getLayoutFont): ditto
5489         (getLabelFont): ditto
5490         (setCharFont): ditto
5491
5492         * text.C: adjust several funcs.
5493
5494 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5495
5496         * text.C (selectNextWordToSpellcheck): don't accidentally
5497         skip insets
5498
5499 2003-04-10  John Levon  <levon@movementarian.org>
5500
5501         * ToolbarBackend.C (getIcon): special handling for
5502         LFUN_MATH_DELIM
5503
5504 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5505
5506         * text2.C (cursorRight): a getChar assert fixed
5507
5508 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5509
5510         * text2.C (getFont): change to take a ParagraphList::iterator
5511         instead of Paragraph*
5512         Adjust several functions.
5513
5514         * text.C (transformChar): change to take a ParagraphList::iterator
5515         instead of Paragraph*
5516         (singleWidth): ditto
5517         Adjust several functions.
5518
5519         * rowpainter.C: adjust several functions
5520         * rowpainter.h:store a ParagraphList::iterator and not a
5521         Paragraph&.
5522
5523
5524 2003-04-09  John Levon  <levon@movementarian.org>
5525
5526         * lyxfunc.C:
5527         * lfuns.h:
5528         * LyXAction.h:
5529         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5530         and the "help" bits as well
5531
5532 2003-04-09  John Levon  <levon@movementarian.org>
5533
5534         * ToolbarBackend.h:
5535         * ToolbarBackend.C: allow multiple toolbars
5536
5537 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * undo_funcs.C (setCursorParUndo): adjust
5540
5541         * text_funcs.C (transposeChars): adjust
5542
5543         * text3.C (gotoNextInset): adjust
5544         (dispatch): adjust
5545
5546         * text2.C (setLayout): adjust
5547         (changeDepth): adjust
5548         (setFont): adjust
5549         (redoParagraphs): adjust
5550         (selectionAsString): adjust
5551         (setParagraph): adjust
5552         (insertInset): adjust
5553         (cutSelection): adjust
5554         (copySelection): adjust
5555         (pasteSelection): adjust
5556         (insertStringAsLines): adjust
5557         (updateInset): adjust
5558         (setCursor): change to take a ParagraphList::iterator parameter
5559         (setCursorIntern): change to take a ParagraphList::iterator parameter
5560         (setCurrentFont): adjust
5561         (cursorLeft): adjust
5562         (cursorRight): adjust
5563         (deleteEmptyParagraphMechanism): adjust
5564
5565         * text.C (breakParagraph): adjust
5566         (insertChar): adjust
5567         (acceptChange): adjust
5568         (rejectChange): adjust
5569         (selectNextWordToSpellcheck): adjust
5570         (changeCase): adjust
5571         (Delete): adjust
5572         (backspace): adjust
5573
5574         * lyxfind.C (SearchForward): adjust
5575         (SearchBackward): adjust
5576         (nextChange): adjust
5577
5578         * lyxcursor.C (par): adjust
5579
5580         * lyxcursor.h: store a ParagraphList::iterator instead of a
5581         Paragraph*
5582
5583         * lyx_cb.C (getPossibleLabel): adjust
5584
5585         * bufferview_funcs.C (toggleAndShow): adjust
5586
5587         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5588         (dispatch): adjust
5589
5590         * BufferView.C (removeAutoInsets): adjust
5591         (lockedInsetStoreUndo): adjust
5592
5593 2003-04-09  John Levon  <levon@movementarian.org>
5594
5595         * ToolbarBackend.C: try icon without argument
5596         if with argument fails
5597
5598 2003-04-08  John Levon  <levon@movementarian.org>
5599
5600         * ToolbarBackend.h:
5601         * ToolbarBackend.C: add getIcon(), handle tooltip,
5602         and change from "Icon" to "Item".
5603
5604 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5605
5606         * BufferView.C (lockInset): another bad getchar crunched
5607
5608 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5609
5610         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5611         again)
5612
5613 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * lyxfind.C (searchForward, searchBackwards): bug 782
5616
5617 2003-04-07  John Levon  <levon@movementarian.org>
5618
5619         * paragraph.C: remove dead comment
5620
5621         * text.C: remove troublesome depth-fiddling code
5622         in leftMargin() and rightMargin() (bug 1017)
5623
5624         * text.C: fix breaking of rows in nested lists
5625         (bug 1004)
5626
5627         * text2.C (updateCounters): fix up depth values
5628         (bug 1013)
5629
5630 2003-04-07  John Levon  <levon@movementarian.org>
5631
5632         * BufferView_pimpl.C: clear message when doc finishes resizing,
5633         and after a mouse event
5634
5635         * lyxfunc.C: clear message after exiting inset
5636
5637 2003-04-07  John Levon  <levon@movementarian.org>
5638
5639         * bufferview_funcs.C: show math status not outside
5640         status in the statusbar
5641
5642 2003-04-07  John Levon  <levon@movementarian.org>
5643
5644         * lyxfunc.C: note status changed after a depth change
5645
5646 2003-04-04  Angus Leeming  <leeming@lyx.org>
5647
5648         * LaTeX.h: move AuxInfo operator==, != out of line.
5649         Remove LaTeX virtual destructor; nothing derives from it.
5650         Move operator()() out of public area and rename it startscript().
5651         Change protected for private.
5652
5653 2003-04-04  Angus Leeming  <leeming@lyx.org>
5654
5655         * lyxfunc.C:
5656         * text2.C: remove unneeded #includes.
5657
5658 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5659
5660         * text2.C (dEPM): fix the heigth of the next row
5661
5662 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5663
5664         * text.C: squashed an invalid getChar requester + some ws changes
5665
5666 2003-04-03  John Levon  <levon@movementarian.org>
5667
5668         * bufferview_funcs.h:
5669         * bufferview_funcs.C:
5670         * lyxfunc.C:
5671         * lyxtext.h:
5672         * text2.C: make getStatus work for the env depth lfuns
5673
5674 2003-04-03  John Levon  <levon@movementarian.org>
5675
5676         * bufferview_funcs.h:
5677         * bufferview_funcs.C:
5678         * lyxfunc.C:
5679         * lyxtext.h:
5680         * text2.C: parlistize decDepth(), by merging it with incDepth()
5681
5682 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * lyxrow.h: store a ParagraphList::iterator instead of a
5685         Paragraph* and adjust other class functions to suit.
5686
5687         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5688         above.
5689
5690 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5691
5692         * text2.C (setCursor): do not anchor to cursor row for the time being
5693
5694 2003-04-02  John Levon  <levon@movementarian.org>
5695
5696         * LyXAction.C:
5697         * lfuns.h:
5698         * lyx_main.C:
5699         * lyxtext.h:
5700         * text.C:
5701         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5702
5703 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * paragraph.h: make ParagraphList and ParagraphList::iterator
5706         friends of Paragraph.
5707
5708         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5709
5710         * ParagraphList.C: Use the private next_ and previous_ from
5711         Paragraph.
5712
5713 2003-04-01  John Levon  <levon@movementarian.org>
5714
5715         * ToolbarBackend.h:
5716         * ToolbarBackend.C:
5717         * Makefile.am: rename, remove defaults gunk
5718
5719         * MenuBackend.h:
5720         * MenuBackend.C: remove defaults gunk
5721
5722         * Languages.h:
5723         * Languages.C: remove defaults gunk
5724
5725         * lyx_main.h:
5726         * lyx_main.C: error out if files couldn't be found.
5727
5728 2003-04-02  John Levon  <levon@movementarian.org>
5729
5730         * text2.C: make incDepth() use parlist
5731
5732 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * undo_funcs.C (firstUndoParagraph): adjust
5735
5736         * text3.C (gotoInset): adjust
5737         (dispatch): adjust, and rewrite loop.
5738
5739         * text2.C (init): adjust, and rewrite loop.
5740         (redoParagraphs): adjust
5741         (updateInset): adjust, and rewrite loop.
5742         (deleteEmptyParagraphMechanism): adjust
5743
5744         * tabular.C (LyXTabular): adjust
5745         (SetMultiColumn): adjust
5746         (TeXRow): adjust
5747
5748         * lyxtext.[Ch] (ownerParagraph): delete function
5749         (ownerParagraphs): new function returns a ParagraphList.
5750
5751         * BufferView.C (removeAutoInsets): adjust
5752         (insertErrors): adjust
5753         (setCursorFromRow): adjust
5754
5755 2003-04-01  Angus Leeming  <leeming@lyx.org>
5756
5757         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5758         in the frontends.
5759
5760 2003-04-02  John Levon  <levon@movementarian.org>
5761
5762         * lyxtext.h:
5763         * text.C:
5764         * Makefile.am:
5765         * text_funcs.h:
5766         * text_funcs.C: make transposeChars a free function
5767
5768         * lyxrow_funcs.C: remove wrong comment
5769
5770 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5771
5772         * lyxtext.h: adjust
5773         * rowpainter.C: adjust
5774         * text.C: adjust
5775         * text2.C: adjust
5776         * text3.C: adjust
5777
5778         * lyxrow_funcs. [Ch]: new files
5779
5780         * lyxrow.[Ch]: remove next and previous pointers
5781         (next,previous): remove accessor functions
5782         (isParEnd): move to lyxrow_funcs
5783         (lastPos): move to lyxrow_funcs
5784         (nextRowIsAllInset): move to lyxrow_funcs
5785         (lastPrintablePos): move to lyxrow_funcs
5786         (numberOfSeparators): move to lyxrow_funcs
5787         (numberOfHfills): move to lyxrow_funcs
5788         (numberOfLabelHfills): move to lyxrow_funcs
5789         (hfillExpansion): move to lyxrow_funcs
5790
5791         * lyxfunc.C: adjust
5792
5793         * bufferview_funcs.C (toggleAndShow): adjust
5794
5795         * RowList.h: Remove class RowList from file leave just a
5796         std::list<Row>.
5797
5798         * RowList.C: delete file
5799
5800         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5801         and lyxrow_funcs.h
5802
5803 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * text3.C (cursorPrevious): adjust
5806         (cursorNext): adjust
5807         (dispatch): adjust
5808
5809         * text2.C (redoHeightOfParagraph): adjust
5810         (redoDrawingOfParagraph): adjust
5811         (setCursor): adjust
5812
5813         * text.C (breakParagraph): adjust
5814         (insertChar): adjust
5815         (backspace): adjust
5816
5817         * rowpainter.C (RowPainter): adjust
5818         (leftMargin): simplify and adjust
5819         (most rowpainter functions): adjust.
5820
5821         * rowpainter.h: store the row as RowList::iterator not as Row*
5822
5823         * lyxcursor.C (row): taka RowList::iterator as arg
5824         (irow): ditto
5825
5826         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5827         of Row*.
5828
5829 2003-04-01  Angus Leeming  <leeming@lyx.org>
5830
5831         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5832         stuff like bool Bool.
5833
5834 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5835
5836         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5837         rewrite a loop
5838
5839 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5840
5841         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5842         RowList::iterator.
5843
5844         * lyxtext.h (rows): drop one version and leve a const variant that
5845         returns a RowList::iterator.
5846
5847 2003-03-31  Angus Leeming  <leeming@lyx.org>
5848
5849         * text.C (fill): ensure that the signature is the same as that in the
5850         header file.
5851
5852 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * text2.C (redoParagraphs): adjust
5855         (updateCounters): adjust
5856         (checkParagraph): adjust
5857         (getColumnNearX): adjust and reformat a bit.
5858
5859         * text.C (top_y): adjust
5860         (workWidth): adjust
5861         (leftMargin): adjust
5862         (prepareToPrint): adjust
5863         (getRow): adjust
5864         (getRowNearY): adjust
5865
5866         * lyxtext.h: make rowlist_ mutable.
5867
5868         * RowList.h: add const_iterator
5869         * RowList.C: adjust for RowList::const_iterator.
5870
5871         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5872         adjust.
5873
5874 2003-03-31  John Levon  <levon@movementarian.org>
5875
5876         * lyxrc.h:
5877         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5878
5879         * lyx_main.C: set default fonts from using lyx_gui funcs
5880
5881         * exporter.C: pdf_mode moved from lyxrc
5882
5883         * lyx_cb.C:
5884         * lyxfunc.C: changes from above
5885
5886 2003-03-31  John Levon  <levon@movementarian.org>
5887
5888         * lyx_main.C: fix to the last fix
5889
5890 2003-03-31  John Levon  <levon@movementarian.org>
5891
5892         * bufferlist.C: "Load original" -> "Load Original"
5893
5894         * converter.C:
5895         * exporter.C:
5896         * importer.C:
5897         * lyx_main.C:
5898         * format.C: more Alert cleanups
5899
5900 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * text2.C (removeParagraph): make it take a RowList::iterator as
5903         arg, adjust.
5904         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5905         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5906
5907         * text.C (anchor_row): make it take a RowList::iterator as arg,
5908         adjust.
5909         (computeBidiTables): make it take a const reference to Row instead
5910         of Row pointer, adjust.
5911         (leftMargin): make it take a RowList::iterator as arg, adjust.
5912         (rowBreakPoint): adjust
5913         (breakAgainOneRow): make it take a RowList::iterator as arg,
5914         adjust.
5915         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5916
5917         * bufferview_funcs.C (toggleAndShow): adjust
5918
5919 2003-03-30  John Levon  <levon@movementarian.org>
5920
5921         * Makefile.am:
5922         * BoostFormat.h:
5923         * boost-inst.C: moved to support
5924
5925         * several files: changes as a result
5926
5927 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * text2.C (LyXText): adjust.
5930         (init): adjust
5931         (removeRow): make it take a RowList::iterator as arg, adjust.
5932         (fullRebreak): adjust
5933         (deleteEmptyParagraphMechanism): adjust
5934         (clearPaint): adjust
5935         (postPaint): adjust
5936
5937         * text.C (top_y): adjust
5938         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5939         (breakAgain): make it take a RowList::iterator as arg, adjust.
5940         (breakParagraph): adjust
5941         (insertChar): adjust
5942         (backspace): adjust
5943
5944         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5945         need_break_row, and refresh_row.
5946
5947         * text3.C (dispatch): adjust
5948
5949         * text2.C (checkParagraph): adjust
5950         (setCursor): adjust
5951         (setCursorFromCoordinates): adjust
5952
5953         * text.C (top_y): adjust
5954         (workWidth): adjust
5955         (getRow): make it return a RowList::iterator, adjust
5956         (getRowNearY): make it return a RowList::iterator, adjust
5957
5958         * text2.C (init): adjust
5959         (insertRow): remove function
5960         (insertParagraph): adjust
5961         (redoParagraphs): adjust
5962         (fullRebreak): adjust
5963         (updateCounters): adjust
5964
5965         * text.C (top_y): rewrite to use RowList iterators.
5966         (top_y): adjust
5967         (setHeightOfRow): rewrite to sue RowList iterators.
5968         (appendParagraph): adjust
5969         (breakAgain): adjust
5970         (breakAgainOneRow): adjust
5971         (breakParagraph): adjust
5972         (getRow): adjust
5973         (getRowNearY): adjust, and remove commented code.
5974
5975         * lyxtext.h (firstRow): delete function
5976         (lastRow): delete function
5977         (rows): new function (const and non-const versions.)
5978         (insertRow): delete function
5979
5980         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5981
5982 2003-03-29  John Levon  <levon@movementarian.org>
5983
5984         * BufferView_pimpl.C: always update scrollbar top
5985         because pasting text when we're anchored could mean we
5986         miss an update altogether
5987
5988 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * text2.C (init): use rowlist_.end() and not 0.
5991         (insertRow): change to take a RowList::iterator as arg, adjust
5992         for this.
5993         (insertParagraph): change to take a RowList::iterator as arg,
5994         adjust for this.
5995         (redoParagraphs): remove some debug msgs.
5996
5997         * text.C (appendParagraph): change to take a RowList::iterator
5998         arg, adjust for this.
5999         (breakAgain): add an assert
6000         (breakAgainOneRow): ditto
6001
6002 2003-03-29  John Levon  <levon@movementarian.org>
6003
6004         * text2.C: do not clear selection after inc/decDepth
6005         (bug 550)
6006
6007 2003-03-29  John Levon  <levon@movementarian.org>
6008
6009         * BufferView.C:
6010         * buffer.C: fix broken strerrors according to Lars
6011
6012 2003-03-29  John Levon  <levon@movementarian.org>
6013
6014         * converters.C: more Alert cleanups
6015
6016 2003-03-29  John Levon  <levon@movementarian.org>
6017
6018         * bufferview_funcs.C: remove pointless Alert
6019
6020         * buffer.C: fix confusing error message when
6021         a template is chmoded 000
6022
6023 2003-03-29  John Levon  <levon@movementarian.org>
6024
6025         * BufferView.C:
6026         * BufferView.h:
6027         * BufferView_pimpl.C: Alert fixes
6028
6029         * Makefile.am:
6030         * tabular.C:
6031         * tabular-old.C: remove unused table compat reading
6032
6033 2003-03-29  John Levon  <levon@movementarian.org>
6034
6035         * BufferView.C:
6036         * buffer.C:
6037         * lyx_cb.h:
6038         * lyx_cb.C: more Alert cleanups
6039
6040         * lyxfunc.C: don't allow chktex if not latex document
6041
6042 2003-03-29  John Levon  <levon@movementarian.org>
6043
6044         * lyx_cb.C:
6045         * BufferView.C:
6046         * buffer.C: warnings pushed down from support/,
6047         kill err_alert
6048
6049 2003-03-29  John Levon  <levon@movementarian.org>
6050
6051         * lyxfunc.C: safety check for C-r (revert)
6052
6053 2003-03-29  John Levon  <levon@movementarian.org>
6054
6055         * bufferlist.h:
6056         * bufferlist.C: several UI fixes using Alert::prompt.
6057         Fix the pointless looping quit code. Fix stupid revert
6058         behaviour (bug 938)
6059
6060         * lyxvc.h:
6061         * lyxvc.C:
6062         * lyx_cb.C: use Alert::prompt
6063
6064         * lyx_main.C: remove a silly question
6065
6066         * lyxfunc.C: remove a couple of silly questions,
6067         use Alert::prompt
6068
6069 2003-03-28  John Levon  <levon@movementarian.org>
6070
6071         * text2.C: fix bug 974 (End on empty par)
6072
6073 2003-03-28  John Levon  <levon@movementarian.org>
6074
6075         * BufferView_pimpl.C:
6076         * LyXAction.C:
6077         * lfuns.h: remove do-nothing math greek lfuns
6078
6079 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6080
6081         * lyxgluelength.h (isValidGlueLength): add default arg on
6082         parameter 2. Remove default arg from friend in class.
6083
6084         * lyxlength.h (isValidLength): add default arg on parameter 2.
6085         Remove default arg from friend in class.
6086
6087         * text2.C (LyXText): adjust, initialize refresh_row.
6088         (init): adjust
6089         (removeRow): adjust
6090         (insertRow): adjust
6091         (insertParagraph): adjst
6092         (redoParagraphs): adjust
6093         (fullRebreak): adjust
6094         (updateCounters): adjust
6095         (deleteEmptyParagraphMechanism): first attempt at fixing a
6096         crashing bug.
6097
6098         * text.C (top_y): adjust
6099         (setHeightOfRow): adjust
6100         (getRow): adjust
6101         (getRowNearY): adjust
6102
6103         * lyxtext.h: include RowList.h
6104         (~LyXText): not needed anymore, deleted.
6105         (firstRow): modify for RowList
6106         (lastRow): new function
6107         Delete firstrow and lastrow class variables, add a Rowlist
6108         rowlist_ class variable.
6109
6110         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6111         paragraph is empty.
6112
6113         * RowList.C (insert): fix case where it == begin().
6114
6115 2003-03-26  Angus Leeming  <leeming@lyx.org>
6116
6117         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6118         the thesaurus dialog.
6119
6120 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6123
6124         * RowList.[Ch]: new files
6125
6126         * ParagraphList.C (erase): handle the case where it == begin
6127         correctly.
6128
6129 2003-03-25  John Levon  <levon@movementarian.org>
6130
6131         * Makefile.am:
6132         * aspell_local.h:
6133         * aspell.C: add new aspell support
6134
6135         * lyxrc.h:
6136         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6137         have it accessible.
6138
6139 2003-03-25  Angus Leeming  <leeming@lyx.org>
6140
6141         * lfuns.h:
6142         * LyXAction.C (init): new LFUN_INSET_INSERT.
6143
6144         * BufferView_pimpl.C (dispatch): split out part of the
6145         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6146
6147         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6148         LFUN_INSET_APPLY.
6149
6150 2003-03-25  Angus Leeming  <leeming@lyx.org>
6151
6152         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6153
6154 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6155
6156         * text2.C:
6157         * text3.C: remove useless row->height(0)
6158
6159 2003-03-25  John Levon  <levon@movementarian.org>
6160
6161         * lyxtext.h:
6162         * text2.C:
6163         * text3.C: rename the refreshing stuff to better names
6164
6165 2003-03-24  John Levon  <levon@movementarian.org>
6166
6167         * BufferView_pimpl.h:
6168         * BufferView_pimpl.C: update layout choice on a mouse
6169         press/release
6170
6171 2003-03-23  John Levon  <levon@movementarian.org>
6172
6173         * Makefile.am: fix commandtags.h reference
6174
6175 2003-03-22  John Levon  <levon@movementarian.org>
6176
6177         * BufferView_pimpl.C:
6178         * lyxtext.h:
6179         * rowpainter.C:
6180         * rowpainter.h:
6181         * text.C:
6182         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6183
6184 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6185
6186         * lyxtext.h:
6187         * text.C: take the rtl methods out of line
6188
6189 2003-03-21 André Pönitz <poenitz@gmx.net>
6190
6191         * metricsinfo.[Ch]: new files containing structures to be passed around
6192         during the two-phase-drawing...
6193
6194 2003-03-21 André Pönitz <poenitz@gmx.net>
6195
6196         * lyxtextclass.C: read 'environment' tag.
6197
6198 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * text2.C (removeRow): fix bug 964
6201
6202 2003-03-20  John Levon  <levon@movementarian.org>
6203
6204         * rowpainter.C:
6205         * text.C:
6206         * text2.C: paint cleanups. Inset::update() dropped font
6207         parameter
6208
6209 2003-03-19  John Levon  <levon@movementarian.org>
6210
6211         * lyxfunc.C: only fitcursor/markDirty if available()
6212
6213 2003-03-19  John Levon  <levon@movementarian.org>
6214
6215         * commandtags.h: rename to ...
6216
6217         * lfuns.h: ... this, and renumber / cleanup
6218
6219 2003-03-19  John Levon  <levon@movementarian.org>
6220
6221         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6222         fit the cursor after an lfun
6223
6224         * BufferView.h:
6225         * BufferView.C:
6226         * BufferView_pimpl.h:
6227         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6228
6229         * LyXAction.C: layout-character should have ReadOnly
6230
6231         * ParagraphParameters.C:
6232         * buffer.C:
6233         * bufferview_funcs.C:
6234         * lyx_cb.C:
6235         * lyxfind.C:
6236         * lyxtext.h:
6237         * text.C:
6238         * text2.C:
6239         * text3.C:
6240         * undo_funcs.C: changes from above
6241
6242 2003-03-18  John Levon  <levon@movementarian.org>
6243
6244         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6245         remove it from update()
6246
6247         * lyxfunc.C: update layout choice after an lfun
6248
6249         * text3.C: remove extra updateLayoutChoice()s
6250
6251 2003-03-18  John Levon  <levon@movementarian.org>
6252
6253         * text.C: top_y change means full repaint, fix
6254         a drawing bug with cursor movement
6255
6256 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6257
6258         * lyxtext.h:
6259         * text.C:
6260         * text2.C: anchor row on setCursor
6261
6262 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6263
6264         * lyxtext.h: remove almost all mutable keywords
6265         * text.C:
6266         * text2.C:
6267         * text3.C: remove const keywords accordingly
6268
6269 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6272         anon namespace
6273         (TeXEnvironment): ditto
6274         (TeXOnePar): ditto
6275
6276 2003-03-17  John Levon  <levon@movementarian.org>
6277
6278         * text.C (rowBreakPoint): remove attempt to fix displayed
6279         math insets inside a manual label
6280
6281 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * lyxtext.h: remove BufferView* as first arg from almost all class
6284         functions.
6285         * other files: adjust.
6286
6287 2003-03-17  John Levon  <levon@movementarian.org>
6288
6289         * lyxtext.h:
6290         * undo_funcs.C:
6291         * text2.C: more paint cleanups
6292
6293         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6294
6295         * rowpainter.h:
6296         * rowpainter.C: remove "smart" background painting code
6297
6298 2003-03-16  John Levon  <levon@movementarian.org>
6299
6300         * lyxtext.h:
6301         * text.C:
6302         * text2.C:
6303         * text3.C: add helper functions for setting refresh_row/y
6304
6305 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6306
6307         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6308         newline inset which *can* get inserted in the pass_thru layouts.
6309         This is primarily for literate documents.
6310
6311 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6312
6313         * buffer.C: increment LYX_FORMAT to 223
6314
6315 2003-03-14 André Pönitz <poenitz@gmx.net>
6316
6317         * textclass.h: prepare for environment handling, ws changes
6318         * lyxlayout.C: read latexheader and latexfooter tags
6319
6320 2003-03-14  John Levon  <levon@movementarian.org>
6321
6322         * text2.C: rewrite ::status() a bit
6323
6324 2003-03-13  John Levon  <levon@movementarian.org>
6325
6326         * lyxtext.h: add some docs
6327
6328 2003-03-13  John Levon  <levon@movementarian.org>
6329
6330         * lyxtext.h:
6331         * text.C:
6332         * text2.C:
6333         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6334
6335 2003-03-13  John Levon  <levon@movementarian.org>
6336
6337         * text3.C: fix appendix redrawing
6338
6339 2003-03-13  John Levon  <levon@movementarian.org>
6340
6341         * text.C (setHeightOfRow):
6342         * rowpainter.h:
6343         * rowpainter.C: make appendix mark have the text
6344           "Appendix" so the user knows what it is
6345
6346         * LColor.h:
6347         * LColor.C: s/appendixline/appendix/ from above
6348
6349 2003-03-13  John Levon  <levon@movementarian.org>
6350
6351         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6352
6353         * text.C: fix a getChar(pos) bug properly
6354
6355 2003-03-13  Angus Leeming  <leeming@lyx.org>
6356
6357         * commandtags.h:
6358         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6359         Probably only temporary. Let's see how things pan out.
6360
6361         * BufferView.C (unlockInset):
6362         * BufferView_pimpl.C (fitCursor):
6363         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6364
6365         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6366         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6367
6368         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6369         new functions that convert ParagraphParameters to and from a string.
6370
6371         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6372         BufferView::Pimpl's dispatch.
6373         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6374
6375 2003-03-13 André Pönitz <poenitz@gmx.net>
6376
6377         * lyxfunc.C:
6378         * text3.C:
6379         * factory.C: make it aware of InsetEnv
6380
6381 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6382
6383         * text2.C (setCursor): never ask for one past last
6384         (setCursor): add some debugging messages.
6385
6386         * text.C (singleWidth): never ask for one past last
6387         (singleWidth): ditto
6388         (leftMargin): ditto
6389         (rightMargin): ditto
6390         (rowBreakPoint): ditto
6391         (setHeightOfRow): ditto
6392         (prepareToPrint): ditto
6393
6394         * rowpainter.C (paintBackground): never ask for one past last
6395         (paintText): never ask for one past last
6396
6397         * paragraph_pimpl.C (getChar): make the assert stricter, never
6398         allow the one past last pos to be taken
6399
6400         * paragraph.C (getChar): ws changes only
6401
6402         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6403         (numberOfSeparators): ditto
6404         (numberOfHfills): ditto
6405
6406 2003-03-12  John Levon  <levon@movementarian.org>
6407
6408         * author.h:
6409         * author.C:
6410         * bufferparams.h:
6411         * bufferparams.C:
6412         * paragraph_funcs.C: fix per-buffer authorlists
6413
6414 2003-03-12  John Levon  <levon@movementarian.org>
6415
6416         * text.C: fix newline in right address
6417
6418 2003-03-12  Angus Leeming  <leeming@lyx.org>
6419
6420         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6421         duplicate those in LyXFunc::dispatch.
6422
6423         * commandtags.h:
6424         * LyXAction.C:
6425         * ToolbarDefaults.C:
6426         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6427         Add LFUN_FONTFREE_UPDATE.
6428
6429         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6430         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6431
6432         * bufferview_func.[Ch]: several new functions to facilliate
6433         transfer of data to and from the character dialog.
6434
6435 2003-03-12  John Levon  <levon@movementarian.org>
6436
6437         * buffer.C:
6438         * paragraph.h:
6439         * paragraph.C:
6440         * paragraph_funcs.C:
6441         * paragraph_pimpl.C:
6442         * sgml.C:
6443         * tabular.C:
6444         * text.C:
6445         * text3.C: remove META_NEWLINE in favour of an inset
6446
6447         * rowpainter.h:
6448         * rowpainter.C: remove paintNewline (done by inset)
6449
6450 2003-03-12  John Levon  <levon@movementarian.org>
6451
6452         * paragraph_pimpl.C: complain about bad getChar()s
6453         for a while at least
6454
6455 2003-03-12  John Levon  <levon@movementarian.org>
6456
6457         * buffer.h:
6458         * buffer.C: move paragraph read into a separate function,
6459         a little renaming to reflect that.
6460
6461         * bufferparams.h:
6462         * bufferparams.C: remove the author_ids map, not necessary now
6463
6464         * factory.h:
6465         * factory.C: moved Buffer::readInset to here
6466
6467         * paragraph_funcs.h:
6468         * paragraph_funcs.C: readParagraph free function moved from
6469         buffer.C
6470
6471         * tabular.C: name change
6472
6473 2003-03-12  John Levon  <levon@movementarian.org>
6474
6475         * buffer.C:
6476         * ParagraphParameters.C: move par params input to
6477         a read() method
6478
6479         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6480         behave like a normal read from the stream wrt reading
6481         a line vs. a \\token
6482
6483 2003-03-12  John Levon  <levon@movementarian.org>
6484
6485         * paragraph.C:
6486         * ParagraphParameters.h:
6487         * ParagraphParameters.C: move output code to a
6488         ::write() method
6489
6490 2003-03-12  John Levon  <levon@movementarian.org>
6491
6492         * BufferView.C (insertLyXFile):
6493         * buffer.h:
6494         * buffer.C:
6495         * tabular.C: use a parlist iterator for creating the
6496           document.
6497
6498 2003-03-12  John Levon  <levon@movementarian.org>
6499
6500         * buffer.C: make current_change static local not
6501           static file-scope
6502
6503 2003-03-12  John Levon  <levon@movementarian.org>
6504
6505         * buffer.C: fix insertStringAsLines for change tracking
6506
6507 2003-03-12  John Levon  <levon@movementarian.org>
6508
6509         * BufferView.C:
6510         * tabular.C:
6511         * buffer.h:
6512         * buffer.C:
6513         * bufferparams.h:
6514         * bufferparams.C: move author list into params. Rename some
6515           functions. Move the header reading into a separate token
6516           loop. Move the header token reading into BufferParams.
6517
6518 2003-03-12  John Levon  <levon@movementarian.org>
6519
6520         * changes.C: put debug inside lyxerr.debugging() checks
6521
6522 2003-03-11 André Pönitz <poenitz@gmx.net>
6523
6524         * factory.C: make it aware of InsetHFill
6525
6526 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6527
6528         * buffer.C (latexParagraphs): move function from here...
6529         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6530         args.
6531
6532 2003-03-10  Angus Leeming  <leeming@lyx.org>
6533
6534         * LyXAction.C (init): fix bug in poplating array with multiple entries
6535         with the same LFUN (spotted by JMarc).
6536
6537 2003-03-10  John Levon  <levon@movementarian.org>
6538
6539         * text.C:
6540         * text2.C: move getColumnNearX() near its
6541         only call site
6542
6543 2003-03-10  John Levon  <levon@movementarian.org>
6544
6545         * text.C: fix break before a minipage
6546
6547 2003-03-10  John Levon  <levon@movementarian.org>
6548
6549         * text.C: fix the last commit
6550
6551 2003-03-09  John Levon  <levon@movementarian.org>
6552
6553         * lyxtext.h:
6554         * text.C:
6555         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6556         bug 365 (don't break before insets unless needed). Don't
6557         return a value > last under any circumstances.
6558
6559 2003-03-09  Angus Leeming  <leeming@lyx.org>
6560
6561         * BufferView_pimpl.C (trackChanges, dispatch): call
6562         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6563
6564 2003-03-09  Angus Leeming  <leeming@lyx.org>
6565
6566         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6567         than Dialogs::showAboutlyx().
6568
6569 2003-03-09  Angus Leeming  <leeming@lyx.org>
6570
6571         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6572         than Dialogs::showTabularCreate().
6573
6574 2003-03-09  John Levon  <levon@movementarian.org>
6575
6576         * lyxtext.h:
6577         * text.C:
6578         * text2.C: 3rd arg to nextBreakPoint was always the same.
6579           Use references.
6580
6581 2003-03-08  John Levon  <levon@movementarian.org>
6582
6583         * lyxrow.C:
6584         * paragraph.C:
6585         * paragraph.h:
6586         * rowpainter.C:
6587         * text.C:
6588         * text2.C: Remove the "main" bit from the "main body"
6589           notion.
6590
6591 2003-03-08  John Levon  <levon@movementarian.org>
6592
6593         * text.C (leftMargin): The left margin of an empty
6594         manual label paragraph should not include the label width
6595         string length.
6596
6597         * text.C (prepareToPrint): don't attempt to measure hfills
6598         for empty manual label paragraphs - the answer should be 0
6599
6600 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * CutAndPaste.C: remove commented code and reindent.
6603
6604 2003-03-08  John Levon  <levon@movementarian.org>
6605
6606         * lyxfunc.h:
6607         * lyxfunc.C: move reloadBuffer()
6608
6609         * BufferView.h:
6610         * BufferView.C: to here
6611
6612         * lyxvc.C: add comment
6613
6614         * vc-backend.h:
6615         * vc-backend.C: call bv->reload() to avoid
6616           getStatus() check on MENURELOAD
6617
6618 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6619
6620         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6621         to an old format .dep file.
6622
6623 2003-03-07  Angus Leeming  <leeming@lyx.org>
6624
6625         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6626         when the LFUN_MOUSE_RELEASE should have been handled by
6627         inset->localDispatch.
6628
6629 2003-03-07  Angus Leeming  <leeming@lyx.org>
6630
6631         * BufferView_pimpl.C (dispatch):
6632         * LyXAction.C (init):
6633         * ToolbarDefaults.C (init):
6634         * commandtags.h:
6635         * lyxfunc.C (getStatus):
6636         remove LFUN_INSET_GRAPHICS.
6637
6638         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6639
6640 2003-03-07  Angus Leeming  <leeming@lyx.org>
6641
6642         * commandtags.h:
6643         * LyXAction.C (init):
6644         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6645
6646         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6647
6648         * commandtags.h:
6649         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6650
6651         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6652         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6653
6654 2003-03-07  Angus Leeming  <leeming@lyx.org>
6655
6656         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6657         remove "ert".
6658
6659 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * ParagraphList.C (front): new function
6662         (back): implement
6663
6664 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6665
6666         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6667         and top_row_offset_. removed var first_y.
6668         * text.C (top_y):
6669         * text2.C (LyXText, removeRow):
6670         * text3.C:
6671         * BufferView_pimpl.C:
6672         use these methods instead of using first_y
6673
6674 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6675
6676         * text2.C (pasteSelection): adjust for checkPastePossible
6677
6678         * CutAndPaste.C: remove Paragraph * buf and replace with
6679         ParagraphList paragraphs.
6680         (DeleteBuffer): delete
6681         (cutSelection): change the tc type to textclass_type
6682         (copySelection): change the tc type to textclass_type
6683         (copySelection): adjust for ParagraphList
6684         (pasteSelection): change the tc type to textclass_type
6685         (pasteSelection): adjust for Paragraphlist
6686         (nrOfParagraphs): simplify for ParagraphList
6687         (checkPastePossible): simplify for ParagraphList
6688         (checkPastePossible): remove unused arg
6689
6690         * ParagraphList.C (insert): handle the case where there are no
6691         paragraphs yet.
6692
6693         * CutAndPaste.h: make CutAndPaste a namespace.
6694
6695         * text3.C (dispatch): adjust
6696
6697         * text.C (breakParagraph): add a ParagraphList as arg
6698
6699         * paragraph_funcs.C (breakParagraph): change to take a
6700         BufferParams and a ParagraphList as args.
6701         (breakParagraphConservative): ditto
6702         (mergeParagraph): ditto
6703         (TeXDeeper): add a ParagraphList arg
6704         (TeXEnvironment): ditto
6705         (TeXOnePar): ditto
6706
6707         * buffer.C (readLyXformat2): adjust
6708         (insertStringAsLines): adjust
6709         (latexParagraphs): adjust
6710
6711         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6712         (cutSelection): adjust
6713         (pasteSelection): adjust
6714
6715         * BufferView_pimpl.C (insertInset): adjust
6716
6717 2003-03-05  Angus Leeming  <leeming@lyx.org>
6718
6719         * commandtags.h:
6720         * LyXAction.C (init):
6721         * BufferView_pimpl.C (dispatch):
6722         * lyxfunc.C (getStatus):
6723         remove LFUN_CHILD_INSERT.
6724
6725         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6726
6727 2003-03-05  Angus Leeming  <leeming@lyx.org>
6728
6729         * commandtags.h:
6730         * LyXAction.C (init):
6731         * src/factory.C (createInset):
6732         * lyxfunc.C (getStatus):
6733         * text3.C (dispatch):
6734         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6735
6736         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6737
6738 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * ParagraphList.C (insert): handle insert right before end()
6741         (erase): fix cases where it can be first or last paragraph.
6742
6743 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6746         Paragraph::next and Paragraph::previous
6747         (TeXOnePar): ditto
6748
6749         * text.C (breakParagraph): adjust
6750
6751         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6752         BufferParams& as arg.
6753         (breakParagraph): use ParagraphList::insert
6754         (breakParagraphConservative): take a Buffer* instead of a
6755         BufferParams& as arg.
6756         (breakParagraphConservative): use ParagraphList::insert.
6757
6758         * buffer.C (insertStringAsLines): un-const it
6759         (insertStringAsLines): adjust
6760
6761         * ParagraphList.C (insert): new function
6762
6763         * CutAndPaste.C (pasteSelection): adjust
6764
6765         * text.C (backspace): adjust
6766
6767         * tabular.C (SetMultiColumn): adjust
6768
6769         * CutAndPaste.C (cutSelection): adjust
6770         (pasteSelection): adjust
6771
6772         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6773         Buffer const * as arg
6774
6775         * ParagraphList.C (erase): new function
6776         * paragraph_funcs.C (mergeParagraph): use it
6777         (mergeParagraph): make it take a Buffer* instead of a
6778         BufferParams* as arg
6779
6780         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6781         as arg
6782         (breakParagraphConservative): ditto
6783
6784         * paragraph.h: remove the breakParagraph friend
6785
6786         * paragraph.C (eraseIntern): new function
6787         (setChange): new function
6788
6789         * paragraph_funcs.C (mergeParagraph): make it take a
6790         ParagraphList::iterator instead of a Paragraph *, adjust
6791         accordingly.
6792
6793         * paragraph.h: move an #endif so that the change tracking stuff
6794         also works in the NO_NEXT case.
6795
6796 2003-03-04  Angus Leeming  <leeming@lyx.org>
6797
6798         * commandtags.h:
6799         * LyXAction.C: new LFUN_INSET_MODIFY.
6800
6801         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6802         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6803
6804 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * several files: ws changes only
6807
6808         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6809         (TeXEnvironment): ditto
6810         (TeXDeeper): ditto
6811
6812         * buffer.C (makeLaTeXFile): adjust
6813         (latexParagraphs): make it take ParagraphList::iterator as args
6814
6815 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * buffer.C (latexParagraphs): adjust
6818
6819         * paragraph.C (TeXOnePar): move function...
6820         (optArgInset): move function...
6821         (TeXEnvironment): move function...
6822         * paragraph_pimpl.C (TeXDeeper): move function...
6823         * paragraph_funcs.C: ...here
6824
6825         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6826
6827 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * buffer.C (readInset): remove compability code for old Figure and
6830         InsetInfo insets
6831
6832 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * buffer.C: ws changes
6835         (readInset):
6836
6837         * BufferView_pimpl.C: ditto
6838         * author.C: ditto
6839         * buffer.h: ditto
6840         * bufferlist.h: ditto
6841         * changes.h: ditto
6842         * lyxfunc.C: ditto
6843
6844 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6845
6846         * converter.[Ch]: split into itself +
6847         * graph.[Ch]
6848         * format.[Ch]
6849         * Makefile.am: += graph.[Ch] + format.[Ch]
6850         * MenuBackend.C
6851         * buffer.C
6852         * exporter.C
6853         * importer.C
6854         * lyx_main.C
6855         * lyxfunc.C
6856         * lyxrc.C: added #include "format.h"
6857
6858 2003-02-27  Angus Leeming  <leeming@lyx.org>
6859
6860         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6861           a label.
6862
6863         * factory.C (createInset): add "label" to the factory.
6864
6865         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6866           string and do no more.
6867
6868 2003-02-27  Angus Leeming  <leeming@lyx.org>
6869
6870         * commandtags.h:
6871         * LyXAction.C (init):
6872         * factory.C (createInset):
6873         * BufferView_pimpl.C (dispatch):
6874           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6875
6876         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6877
6878         * lyxfunc.C (dispatch):
6879         * text3.C (dispatch): pass name to params2string.
6880
6881 2003-02-26  Angus Leeming  <leeming@lyx.org>
6882
6883         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6884           blocks together.
6885           Rearrange the ~includes. Strip out the unnecessary ones.
6886
6887         * factory.C (createInset): reformat.
6888           create new insets for the various LFUN_XYZ_APPLY lfuns.
6889
6890 2003-02-26  John Levon  <levon@movementarian.org>
6891
6892         * lyxrow.h:
6893         * lyxrow.C: add isParStart,isParEnd helpers
6894
6895         * paragraph.h: make isInserted/DeletedText take refs
6896
6897         * paragraph_funcs.h:
6898         * paragraph_funcs.C: remove #if 0'd code
6899
6900         * lyxtext.h:
6901         * text3.C:
6902         * text2.C:
6903         * text.C: use lyxrow helpers above.
6904           Move draw and paint routines to RowPainter.
6905           Make several methods use refs not pointers.
6906           Make backgroundColor() const.
6907           Add markChangeInDraw(), isInInset().
6908           Merge changeRegionCase into changeCase.
6909           Make workWidth() shouldn't-happen code into an Assert.
6910
6911         * rowpainter.h:
6912         * rowpainter.C: new class for painting a row.
6913
6914         * vspace.h:
6915         * vspace.C: make inPixels take a ref
6916
6917 2003-02-26  Angus Leeming  <leeming@lyx.org>
6918
6919         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6920         LFUN_REF_APPLY.
6921
6922 2003-02-25  John Levon  <levon@movementarian.org>
6923
6924         * ispell.C: give the forked command a more accurate name
6925
6926 2003-02-22  John Levon  <levon@movementarian.org>
6927
6928         * toc.h:
6929         * toc.C: make TocItem store an id not a Paragraph *
6930           (bug #913)
6931
6932 2003-02-21  Angus Leeming  <leeming@lyx.org>
6933
6934         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6935           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6936           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6937           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6938           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6939           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6940
6941         * BufferView_pimpl.C (dispatch):
6942         * LyXAction.C (init):
6943         * factory.C (createInset):
6944         * lyxfunc.C (getStatus, dispatch):
6945         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6946
6947 2003-02-21  Angus Leeming  <leeming@lyx.org>
6948
6949         * BufferView_pimpl.C (MenuInsertLyXFile):
6950         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6951         * lyxfunc.C (menuNew, open, doImport):
6952           no longer pass a LyXView & to fileDlg.
6953
6954 2003-02-21  Angus Leeming  <leeming@lyx.org>
6955
6956         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6957         * LyXAction.C: change, BIBKEY to BIBITEM.
6958         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6959         Change InsetBibKey to InsetBibitem.
6960         Change BIBKEY_CODE to BIBITEM_CODE.
6961         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6962         * factory.C: replace insetbib.h with insetbibitem.h.
6963         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6964         * paragraph.C: replace insetbib.h with insetbibitem.h.
6965         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6966         Change bibkey() to bibitem().
6967         * text.C: remove insetbib.h.
6968         * text2.C: replace insetbib.h with insetbibitem.h.
6969         change bibkey() to bibitem().
6970         * text3.C: remove insetbib.h.
6971         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6972
6973 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6974
6975         * lyxrc.C (output): enclose user email in quotes (in case there are
6976         several words)
6977
6978 2003-02-18  John Levon  <levon@movementarian.org>
6979
6980         * buffer.h: add std::
6981
6982 2003-02-17  John Levon  <levon@movementarian.org>
6983
6984         * SpellBase.h:
6985         * ispell.h:
6986         * ispell.C:
6987         * pspell.h:
6988         * pspell.C: reworking. Especially in ispell, a large
6989           number of clean ups and bug fixes.
6990
6991         * lyxfunc.C: fix revert to behave sensibly
6992
6993 2003-02-17 André Pönitz <poenitz@gmx.net>
6994
6995         * LyXAction.C:
6996         * commandtags.h: new LFUN_INSERT_BIBKEY
6997
6998         * layout.h:
6999         * lyxlayout.C:
7000         * buffer.C:
7001         * factory.C:
7002         * text.C:
7003         * text2.C:
7004         * text3.C:
7005         * paragraph.[Ch]:
7006         * paragraph_func.C: remove special bibkey handling
7007
7008 2003-02-17  John Levon  <levon@movementarian.org>
7009
7010         * text.C (Delete): fix case where delete at the end of
7011           the very first paragraph would not merge the pars
7012
7013 2003-02-17  John Levon  <levon@movementarian.org>
7014
7015         * lyxrow.C: fix lastPrintablePos()
7016
7017 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7018
7019         * bufferparams.C (writeLaTeX): add a std:here
7020
7021         * buffer.C: and remove a using directive there
7022
7023 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7024
7025         * buffer.C (makeLaTeXFile): move the code that generates the
7026           preamble...
7027
7028         * bufferparams.C (writeLaTeX): ... in this new method
7029
7030         * LaTeXFeatures.C (getEncodingSet): make const
7031           (getLanguages): make const
7032
7033         * MenuBackend.C (binding): returns the binding associated to this
7034           action
7035           (add): sets the status of each item by calling getStatus. Adds
7036           some intelligence.
7037           (read): add support for OptSubMenu
7038           (expand): remove extra separator at the end of expanded menu
7039
7040 2003-02-15  John Levon  <levon@movementarian.org>
7041
7042         * BufferView.C:
7043         * BufferView_pimpl.C:
7044         * bufferlist.h:
7045         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7046           inset code that had no actual effect. Remove unneeded status
7047           code.
7048
7049 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7050
7051         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7052           in preamble
7053
7054 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7055
7056         * text.C (drawLengthMarker): also draw an arrow marker for
7057           symbolic lengths (medskip...)
7058
7059 2003-02-14  John Levon  <levon@movementarian.org>
7060
7061         * tabular.h:
7062         * tabular.C: better method names
7063
7064 2003-02-14  John Levon  <levon@movementarian.org>
7065
7066         * BufferView_pimpl.C:
7067         * bufferlist.C:
7068         * buffer.C:
7069         * converter.C:
7070         * lyx_cb.C:
7071         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7072           it's a more accurate name. Remove some pointless uses.
7073
7074 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7075
7076         * text2.C (LyXText): change order of initilizers to shut off
7077           warnings
7078
7079 2003-02-14  John Levon  <levon@movementarian.org>
7080
7081         * buffer.C: use ParIterator for getParFromID()
7082
7083         * paragraph.h:
7084         * paragraph.C:
7085         * paragraph_pimpl.h:
7086         * paragraph_pimpl.C: remove unused getParFromID()
7087
7088 2003-02-14  John Levon  <levon@movementarian.org>
7089
7090         * buffer.C: remove some very old #if 0'd parse code
7091
7092 2003-02-13  John Levon  <levon@movementarian.org>
7093
7094         * text.h:
7095         * text.C:
7096         * text2.C: move hfillExpansion(), numberOfSeparators(),
7097           rowLast(), rowLastPrintable(), numberofHfills(),
7098           numberOfLabelHfills() ...
7099
7100         * lyxrow.h:
7101         * lyxrow.C: ... to member functions here.
7102
7103         * paragraph.h:
7104         * paragraph.C:
7105         * lyxtext.h:
7106         * text.C: remove LyXText::beginningOfMainBody(), and call
7107           p->beginningOfMainBody() directly. Move the check for
7108           LABEL_MANUAL into the latter.
7109
7110         * text.h:
7111         * text.C:
7112         * text2.C:
7113         * vspace.C:
7114         * BufferView.h:
7115         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7116
7117         * text.h:
7118         * text.C:
7119         * text2.C:
7120         * text3.C:
7121         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7122           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7123
7124 2003-02-13  John Levon  <levon@movementarian.org>
7125
7126         * CutAndPaste.C: remove debug
7127
7128 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7129
7130         * paragraph.C (asString): remove two unused variables
7131
7132         * lyxtextclass.C (readTitleType):
7133           (Read):
7134           (LyXTextClass): handle new members titletype_ and titlename_
7135
7136         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7137
7138 2003-02-09  John Levon  <levon@movementarian.org>
7139
7140         * buffer.h:
7141         * buffer.C: replace hand-coded list with a map for the dep clean
7142
7143 2003-02-08  John Levon  <levon@movementarian.org>
7144
7145         * LaTeX.C: consolidate code into showRunMessage() helper
7146
7147 2003-02-08  John Levon  <levon@movementarian.org>
7148
7149         * lyxfind.C:
7150         * lyxtext.h:
7151         * text2.C:
7152         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7153           and pass the size in explicitly
7154
7155         * BufferView_pimpl.h:
7156         * BufferView_pimpl.C:
7157         * BufferView.h:
7158         * BufferView.C: add getCurrentChange()
7159
7160         * BufferView_pimpl.h:
7161         * BufferView_pimpl.C: handle change lfuns
7162
7163         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7164           for changes. Mark pasted paragraphs as new.
7165
7166         * support/lyxtime.h:
7167         * support/lyxtime.C:
7168         * DepTable.C: abstract time_t as lyx::time_type
7169
7170         * LColor.h:
7171         * LColor.C: add colours for new text, deleted text, changebars
7172
7173         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7174           package use "usenames" option.
7175
7176         * commandtags.h:
7177         * lyxfunc.C:
7178         * LyXAction.C: add change lfuns
7179
7180         * Makefile.am:
7181         * author.h:
7182         * author.C: author handling
7183
7184         * buffer.h:
7185         * buffer.C: add a per-buffer author list, with first entry as
7186           current author. Handle new .lyx tokens for change tracking. Output
7187           author list to .lyx file. Output dvipost stuff to .tex preamble.
7188           Bump lyx format to 222.
7189
7190         * bufferlist.h:
7191         * bufferlist.C: add setCurrentAuthor() to reset current author details
7192           in all buffers.
7193
7194         * bufferparams.h:
7195         * bufferparams.C: add param for tracking
7196
7197         * bufferview_funcs.C: output change info in minibuffer
7198
7199         * Makefile.am:
7200         * changes.h:
7201         * changes.C: add change-tracking structure
7202
7203         * debug.h:
7204         * debug.C: add CHANGES debug flag
7205
7206         * lyxfind.h:
7207         * lyxfind.C: add code for finding the next change piece
7208
7209         * lyxrc.h:
7210         * lyxrc.C: add user_name and user_email
7211
7212         * lyxrow.h:
7213         * lyxrow.C: add a metric for the top of the text line
7214
7215         * lyxtext.h:
7216         * text.C: implement accept/rejectChange()
7217
7218         * lyxtext.h:
7219         * text.C: paint changebars. Paint new/deleted text in the chosen
7220         colours. Strike through deleted text.
7221
7222         * paragraph.h:
7223         * paragraph.C:
7224         * paragraph_pimpl.h:
7225         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7226           in the current change to the insert functions. Rework erase to
7227           mark text as deleted, adding an eraseIntern() and a range-based
7228           erase(). Implement per-paragraph change lookup and
7229           accept/reject.
7230
7231         * paragraph_funcs.C: Fixup paste for change tracking.
7232
7233         * tabular.C: mark added row/columns as new.
7234
7235         * text.C: fix rowLast() to never return -1. Don't allow
7236           spellchecking of deleted text. Track transpose changes. Don't
7237           allow paragraph break or merge where appropriate.
7238
7239         * text2.C: leave cursor at end of selection after a cut.
7240
7241 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7242
7243         * text.C (getLengthMarkerHeight):
7244         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7245         visible on screen too.
7246
7247 2003-02-07  John Levon  <levon@movementarian.org>
7248
7249         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7250
7251 2003-02-05  Angus Leeming  <leeming@lyx.org>
7252
7253         * lyxserver.C (read_ready): revert my patch of 11 September last year
7254         as it sends PC cpu through the roof. Presumably this means that
7255         the lyxserver will no longer run on an Alpha...
7256
7257 2003-01-30  Angus Leeming  <leeming@lyx.org>
7258
7259         * factory.C (createInset): create an InsetCommandParam of type "index"
7260         and use it to 'do the right thing'.
7261
7262         * text2.C (getStringToIndex): ensure that cursor position is always
7263         reset to the reset_cursor position.
7264
7265 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7266
7267         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7268         disabled.
7269
7270 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7271
7272         * bufferview.C:
7273         * lyxcb.C:
7274         * lyxfunc.C: Output messages with identical spelling, punctuation,
7275         and spaces
7276
7277 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7278
7279         * MenuBackend.C (expandFormats): List only viewable export formats
7280         in "View" menu
7281
7282         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7283         message
7284
7285         * lyxfunc.C (getStatus): Make sure that formats other than
7286         "fax" can also be disabled
7287
7288 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7289
7290         * text3.C (dispatch): put the lfuns that insert insets in 3
7291         groups, and call doInsertInset with appropriate arguments.
7292         (doInsertInset): new function, that creates an inset and inserts
7293         it according to some boolean parameters.
7294
7295 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7296
7297         * buffer.C (readFile): remember to pass on 'par' when calling
7298         readFile recursively.
7299
7300 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7301
7302         * MenuBackend.C (expandFormats): add "..." to import formats.
7303
7304 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7305
7306         * paragraph.C (asString): Remove XForms RTL hacks.
7307
7308 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7309         * buffer.C: fix typo
7310
7311 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7312
7313         * Makefile.am (LIBS): delete var
7314         (lyx_LDADD): add @LIBS@ here instead.
7315
7316 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7317
7318         * Clarify the meaning of "wheel mouse jump"
7319
7320 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7321
7322         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7323         tabular in a float
7324
7325 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7326
7327         * importer.C (Loaders): do not preallocate 3 elements in the
7328         vector, since one ends up with 6 elements otherwise
7329
7330 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7331
7332         * DepTable.C (write): write the file name as last element of the
7333         .dep file (because it may contain spaces)
7334         (read): read info in the right order
7335
7336 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7337
7338         * paragraph_pimpl.C (simpleTeXBlanks):
7339         (simpleTeXSpecialChars):
7340         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7341
7342         * tabular.C (latex): add some missing case statements. Reindent.
7343
7344         * MenuBackend.C (expandToc): remove unused variable.
7345
7346 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7347
7348         * LColor.C:
7349         * LaTeX.C:
7350         * LyXAction.C:
7351         * MenuBackend.C:
7352         * buffer.C:
7353         * exporter.C:
7354         * lyxfunc.C:
7355         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7356         and the like.
7357
7358 2003-01-05  John Levon  <levon@movementarian.org>
7359
7360         * BufferView.h:
7361         * BufferView.C: add getEncoding()
7362
7363         * kbsequence.h:
7364         * kbsequence.C: do not store last keypress
7365
7366         * lyxfunc.h:
7367         * lyxfunc.C: store last keypress here instead. Pass encoding
7368           to getISOEncoded()
7369
7370 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7371
7372         * lyx_main.C (init): remove annoying error message when following
7373         symbolic links (bug #780)
7374
7375 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7376
7377         * text.C (insertChar):
7378         * lyxrc.C (getDescription): remove extra spaces
7379
7380 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7381
7382         * lyxrc.C (getDescription): remove extra spaces
7383
7384 2002-12-20  John Levon  <levon@movementarian.org>
7385
7386         * text3.C: hack fix for page up/down across tall rows
7387
7388 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7389
7390         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7391         not been invoked
7392
7393 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7394
7395         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7396         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7397         thesaurus is not compiled in
7398
7399 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7400
7401         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7402
7403 2002-12-16  Angus Leeming  <leeming@lyx.org>
7404
7405         * lyxrc.[Ch]:
7406         * lyx_main.C (init): remove override_x_deadkeys stuff.
7407
7408 2002-12-12  John Levon  <levon@movementarian.org>
7409
7410         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7411           insert. Only remove shift modifier under strict
7412           circumstances.
7413
7414 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * MenuBackend.C (expandToc): fix crash.
7417
7418 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7419
7420         * MenuBackend.C (expandToc): gettext on float names.
7421
7422 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7423
7424         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7425         implement bool empty() [bug 490]
7426
7427 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7428
7429         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7430
7431 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * several files: ws changes
7434
7435 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * text2.C (setCounter): clean up a bit, use boost.format.
7438         (updateCounters): initialize par upon declaration.
7439
7440         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7441         if the layout exists. We do not just store the layout any more.
7442         (SwitchLayoutsBetweenClasses): use boost.format
7443
7444 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7445
7446         * converter.C (convert): if from and to files are the same, use a
7447         temporary files as intermediary
7448
7449 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7450
7451         * commandtags.h:
7452         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7453
7454 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7455
7456         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7457
7458 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7459
7460         * tabular.C (asciiPrintCell): use string(size, char) instead of
7461         explicit loop.
7462
7463         * sgml.C (openTag): fix order of arguments to string constructor
7464         (closeTag): ditto
7465
7466         * lyxfunc.C (dispatch): use boost.format
7467
7468         * lots of files: change "c" -> 'c'
7469
7470 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7471
7472         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7473
7474 2002-11-25  Angus Leeming  <leeming@lyx.org>
7475
7476         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7477
7478         * lyx_main.C (init): compile fix.
7479
7480 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * lyx_cb.C (start): boost.formatify
7483         do not include <iostream>
7484
7485         * lengthcommon.C: ws only
7486
7487         * boost-inst.C,BoostFormat.h: add more explict instantations
7488
7489 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * lots of files: handle USE_BOOST_FORMAT
7492
7493 2002-11-21  John Levon  <levon@movementarian.org>
7494
7495         * pspell.C: fix compile
7496
7497 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7498
7499         * lyxfunc.C (dispatch): use boost::format
7500         (open): ditto
7501         (doImport): ditto
7502
7503         * lyxfont.C (stateText): use boost::format
7504
7505         * lyx_main.C (LyX): use boost::format
7506         (init): ditto
7507         (queryUserLyXDir): ditto
7508         (readRcFile): ditto
7509         (parse_dbg): ditto
7510         (typedef boost::function): use the recommened syntax.
7511
7512         * importer.C (Import): use boost::format
7513
7514         * debug.C (showLevel): use boost::format
7515
7516         * converter.C (view): use boost::format
7517         (convert): ditto
7518         (move): ditto
7519         (scanLog): ditto
7520
7521         * bufferview_funcs.C (currentState): use boost::format
7522
7523         * bufferlist.C (emergencyWrite): use boost::format
7524
7525         * buffer.C (readLyXformat2): use boost::format
7526         (parseSingleLyXformat2Token): ditto
7527
7528         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7529
7530         * LaTeX.C (run): use boost::format
7531
7532         * Chktex.C (scanLogFile): use boost::format
7533
7534         * BufferView_pimpl.C (savePosition): use boost::format
7535         (restorePosition): ditto
7536         (MenuInsertLyXFile): ditto
7537
7538         * BoostFormat.h: help file for explicit instation.
7539
7540 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7541
7542         * tabular.C (latex): Support for block alignment in fixed width
7543         columns.
7544
7545 2002-11-17  John Levon  <levon@movementarian.org>
7546
7547         * BufferView_pimpl.C:
7548         * lyx_cb.C:
7549         * lyxfunc.C: split filedialog into open/save
7550
7551 2002-11-08  Juergen Vigna  <jug@sad.it>
7552
7553         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7554         by my last patch (hopefully).
7555
7556 2002-11-08  John Levon  <levon@movementarian.org>
7557
7558         * iterators.h:
7559         * iterators.C:
7560         * buffer.h:
7561         * buffer.C:
7562         * paragraph.h:
7563         * paragraph.C:
7564         * toc.h:
7565         * toc.C: ParConstIterator, and use it (from Lars)
7566
7567 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7568
7569         * lyxtextclass.[Ch]: revise and add doxygen comments
7570
7571 2002-11-07  John Levon  <levon@movementarian.org>
7572
7573         * text.C: fix progress value for spellchecker
7574
7575         * toc.C: fix navigate menu for insetwrap inside minipage
7576
7577         * paragraph_funcs.C: added FIXME for suspect code
7578
7579 2002-11-07  John Levon  <levon@movementarian.org>
7580
7581         * BufferView_pimpl.C: fix redrawing of insets
7582           on buffer switch
7583
7584 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7585
7586         * text2.C (updateCounters): fix bug 668
7587
7588 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7589
7590         * text3.C (dispatch): Do not make the buffer dirty when moving the
7591         cursor.
7592
7593 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * vc-backend.C: STRCONV
7596         (scanMaster): ditto
7597
7598         * text2.C (setCounter): STRCONV
7599
7600         * paragraph.C (asString): STRCONV
7601
7602         * lyxlength.C (asString): STRCONV
7603         (asLatexString): ditto
7604
7605         * lyxgluelength.C (asString): STRCONV
7606         (asLatexString): ditto
7607
7608         * lyxfunc.C (dispatch): STRCONV
7609         (open): ditto
7610
7611         * lyxfont.C (stateText): STRCONV
7612
7613         * importer.C (Import): STRCONV
7614
7615         * counters.C (labelItem): STRCONV
7616         (numberLabel): ditto
7617         (numberLabel): remove unused ostringstream o
7618
7619         * chset.C: STRCONV
7620         (loadFile): ditto
7621
7622         * bufferview_funcs.C (currentState): STRCONV
7623
7624         * buffer.C (readFile): STRCONV
7625         (asciiParagraph): ditto
7626         (makeLaTeXFile): ditto
7627
7628         * Spacing.C (writeEnvirBegin): STRCONV
7629
7630         * LaTeXFeatures.C (getLanguages): STRCONV
7631         (getPackages): ditto
7632         (getMacros): ditto
7633         (getBabelOptions): ditto
7634         (getTClassPreamble): ditto
7635         (getLyXSGMLEntities): ditto
7636         (getIncludedFiles): ditto
7637
7638         * LaTeX.C: STRCONV
7639         (run): ditto
7640         (scanAuxFile): ditto
7641         (deplog): ditto
7642
7643         * LString.h: add the STRCONV macros
7644
7645         * BufferView_pimpl.C (savePosition): STRCONV
7646         (restorePosition): ditto
7647         (MenuInsertLyXFile): ditto
7648
7649         * vc-backend.C (scanMaster): change from submatch[...] to
7650         submatch.str(...)
7651
7652         * funcrequest.C: include config.h
7653
7654         * factory.C: include config.h
7655
7656         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7657
7658         * box.C: include config.h
7659
7660         * LaTeX.C (scanAuxFile): change from submatch[...] to
7661         submatch.str(...)
7662         (deplog): ditto
7663
7664 2002-10-25  Angus Leeming  <leeming@lyx.org>
7665
7666         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7667
7668         * ispell.[Ch] (setError): new method.
7669         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7670         Use setError() insetead of goto END.
7671
7672         * lyx_cb.C (AutoSave): move out child process into new class
7673         AutoSaveBuffer.
7674
7675 2002-10-30  John Levon  <levon@movementarian.org>
7676
7677         * text3.C: make start appendix undoable
7678
7679 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7680
7681         * lyxlength.C (inPixels): Fix returned value.
7682
7683         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7684         environment.
7685
7686 2002-10-24  Angus Leeming  <leeming@lyx.org>
7687
7688         * lyxgluelength.h: no need to forward declare BufferParams
7689         or BufferView, so don't.
7690
7691 2002-10-21  John Levon  <levon@movementarian.org>
7692
7693         * BufferView.C: menuUndo ->undo, redo
7694
7695         * BufferView.h: document, remove dead, make some methods private
7696
7697         * paragraph_funcs.h:
7698         * paragraph_funcs.C:
7699         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7700
7701         * buffer.h:
7702         * buffer.C:
7703         * sgml.h:
7704         * sgml.C: move sgml open/close tag into sgml.C
7705
7706         * bufferview_funcs.h: unused prototype
7707
7708         * lyxfunc.h:
7709         * lyxfunc.C: remove unused
7710
7711         * lyxtext.h:
7712         * text.C: remove unused
7713
7714 2002-10-21  John Levon  <levon@movementarian.org>
7715
7716         * BufferView.h:
7717         * BufferView.C:
7718         * BufferView_pimpl.h:
7719         * BufferView_pimpl.C: fix mouse wheel handling based on
7720           patch from Darren Freeman
7721
7722 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7723
7724         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7725
7726 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7727
7728         * lyxlength.C (inPixels): Fix hanfling of negative length.
7729         Fix LyXLength::MU case.
7730
7731 2002-10-16  John Levon  <levon@movementarian.org>
7732
7733         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7734
7735 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7736
7737         * converter.C (view): add support for $$i (file name) and $$p
7738         (file path) for the viewer command. If $$i is not specified, then
7739         it is appended to the command (for compatibility with old syntax)
7740
7741 2002-10-14  Juergen Vigna  <jug@sad.it>
7742
7743         * undo_funcs.C (textHandleUndo): alter the order in which the
7744         new undopar is added to the LyXText, as we have to set first
7745         the right prev/next and then add it as otherwise the rebuild of
7746         LyXText is not correct. Also reset the cursor to the right paragraph,
7747         with this IMO we could remove the hack in "redoParagraphs()".
7748
7749 2002-10-09  Angus Leeming  <leeming@lyx.org>
7750
7751         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7752         to turn off an optimisation if a new inset is to be inserted.
7753
7754 2002-10-11 André Pönitz <poenitz@gmx.net>
7755
7756         * lyxtext.h: make some functions public to allow access
7757         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7758
7759 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7760
7761         * text3.C (dispatch): when changing layout, avoid an infinite loop
7762         [bug #652]
7763
7764 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7765
7766         * lyxrc.C (read): treat a viewer or converter command of "none" as
7767         if it were empty.
7768
7769         * MenuBackend.C (expandFormats): for an update, also allow the
7770         formats that are not viewable
7771
7772         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7773         script if it is newer than the lyxrc.defaults in user directory
7774
7775 2002-10-07 André Pönitz <poenitz@gmx.net>
7776
7777         * text.C: Vitaly Lipatov's small i18n fix
7778
7779 2002-09-25  Angus Leeming  <leeming@lyx.org>
7780
7781         * ispell.h: doxygen fix.
7782
7783 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7784
7785         * buffer.h (readFile): Add a new argument to the method, to allow
7786         reading of old-format templates.
7787
7788 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7789
7790         * toc.C (getTocList): Get TOC from InsetWrap.
7791
7792 2002-09-16  John Levon  <levon@movementarian.org>
7793
7794         * lyxfunc.C: check tabular for cut/copy too
7795
7796 2002-09-12  John Levon  <levon@movementarian.org>
7797
7798         * LyXAction.C: tidy
7799
7800         * factory.h:
7801         * factory.C: add header
7802
7803         * paragraph_funcs.h:
7804         * paragraph_funcs.C: cleanup
7805
7806 2002-09-11  John Levon  <levon@movementarian.org>
7807
7808         * PrinterParams.h: odd/even default to true
7809
7810 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7811
7812         * PrinterParams.h: update printer parameters for new xforms dialog
7813
7814 2002-09-11  Angus Leeming  <leeming@lyx.org>
7815
7816         * lyxserver.C (read_ready): re-write to make it more transparent
7817         and to make it work in coherent fashion under Tru64 Unix.
7818
7819 2002-09-11  André Pönitz <poenitz@gmx.net>
7820
7821         * commandtags.h:
7822         * LyXAction.C:
7823         * text3.C: implement LFUN_WORDSEL
7824
7825 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7828         make floatlist_ a boost::shared_ptr<FloatList>
7829
7830         * lyxtextclass.C: include FloatList.h
7831         (LyXTextClass): initialize floatlist_
7832         (TextClassTags): add TC_NOFLOAT
7833         (Read): match "nofloat" to TC_NOFLOAT and use it.
7834         (readFloat): modify call to floatlist_
7835         (floats): ditto
7836         (floats): ditto
7837
7838         * FloatList.[Ch] (FloatList): remove commented out float
7839         initialization.
7840         (erase): new function
7841
7842 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7843
7844         * MenuBackend.C (expandToc): fix crash when there is no document
7845         open
7846
7847 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7848
7849         * many files: Add insetwrap.
7850
7851 2002-09-09  John Levon  <levon@movementarian.org>
7852
7853         * text2.C: remove confusing and awkward depth wraparound
7854
7855 2002-09-09  John Levon  <levon@movementarian.org>
7856
7857         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7858
7859         * buffer.h:
7860         * buffer.C: remove getIncludeonlyList()
7861
7862         * paragraph.C:
7863         * lyxfunc.C: remove headers
7864
7865 2002-09-09  Juergen Vigna  <jug@sad.it>
7866
7867         * text.C (getColumnNearX): fix form Michael this is most
7868         probably a cut&paste bug.
7869
7870 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7871
7872         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7873
7874         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7875         references, ws changes.
7876
7877         * text2.C (init): update counters after init
7878         (insertParagraph): no need to set counter on idividual paragraphs.
7879         (setCounter): access the counters object in the textclass object
7880         on in the buffer object.
7881         (updateCounters): ditto
7882
7883         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7884         shared_ptr<Counters> to avoid loading counters.h in all
7885         compilation units.
7886         (LyXTextClass): initialize ctrs_
7887         (TextClassTags): add TC_COUNTER, and ...
7888         (Read): use it here.
7889         (CounterTags): new tags
7890         (readCounter): new function
7891         (counters): new funtion
7892         (defaultLayoutName): return a const reference
7893
7894         * counters.C (Counters): remove contructor
7895         (newCounter): remove a couple of unneeded statements.
7896         (newCounter): simplify a bit.
7897         (numberLabel): some small formatting changes.
7898
7899         * buffer.[Ch]: remove all traces of counters, move the Counters
7900         object to the LyXTextClass.
7901
7902 2002-09-06  Alain Castera  <castera@in2p3.fr>
7903
7904         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7905         package to set the horizontal alignment on fixed width columns.
7906
7907         * lyx_sty.C:
7908         * lyx_sty.h: added tabularnewline macro def.
7909
7910         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7911
7912 2002-09-06  John Levon  <levon@movementarian.org>
7913
7914         * LyXAction.C: tooltips for sub/superscript
7915
7916         * MenuBackend.C: a bit more verbose
7917
7918         * lyxfunc.C: tiny clean
7919
7920         * undo_funcs.C: document undo_frozen
7921
7922 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * counters.C (Counters): add missing algorithm counter.
7925
7926         * text2.C (setCounter): lookup the counter with layouts latexname
7927         instead of by section number.
7928         (setCounter): use a hackish way to lookup the correct enum
7929         counter.
7930         a float name->type change
7931         reset enum couners with counter name directly instead of depth value.
7932
7933         * counters.C (Counters): remove the push_backs, change to use the
7934         float type not the float name.
7935         (labelItem): remove unused string, float name->type change
7936
7937         * counters.h: don't include vector, loose the enums and sects vectors
7938
7939 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7940
7941         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7942         (Read): add float->TC_FLOAT to textclassTags
7943         (Read): and handle it in the switch
7944         (readFloat): new function
7945
7946         * FloatList.C (FloatList): comment out the hardcoded float
7947         definitions.
7948
7949         * lyxlayout.h: ws change.
7950
7951 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7952
7953         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7954
7955 2002-09-03  Angus Leeming  <leeming@lyx.org>
7956
7957         * BufferView_pimpl.h: qualified name is not allowed in member
7958         declaration: WorkArea & Pimpl::workarea() const;
7959
7960         * factory.C: added using std::endl directive.
7961
7962         * text3.C: added using std::find and std::vector directives.
7963
7964 2002-08-29  André Pönitz <poenitz@gmx.net>
7965
7966         * lyxtext.h:
7967         * text2.C: remove unused member number_of_rows
7968
7969         * Makefile.am:
7970         * BufferView2.C: remove file, move contents to...
7971         * BufferView.C: ... here
7972
7973         * BufferView_pimpl.C:
7974         * factory.C: move more inset creation to factory
7975
7976         * vspace.C: avoid direct usage of LyXText, ws changes
7977
7978         * BufferView.[Ch]:
7979                 don't provide direct access to WorkArea, use two simple
7980                 acessors haveSelction() and workHeight() instead
7981
7982
7983 2002-08-29  John Levon  <levon@movementarian.org>
7984
7985         * BufferView_pimpl.C (dispatch): do not continue when
7986           no buffer
7987
7988 2002-08-28  André Pönitz <poenitz@gmx.net>
7989
7990         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7991
7992         * BufferView.h:
7993         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7994
7995 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7996
7997         * buffer.C: increment LYX_FORMAT to 221
7998
7999         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8000         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8001
8002         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8003
8004         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8005
8006 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8007
8008         * factory.C (createInset): use LyXTextClass::floats
8009
8010         * MenuBackend.C (expandFloatListInsert):
8011         (expandFloatInsert):
8012         (expandToc):
8013
8014         * text2.C (setCounter):
8015
8016         * LaTeXFeatures.C (useFloat):
8017         (getFloatDefinitions):
8018
8019         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8020
8021         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8022         floatlist_, with accessor floats().
8023
8024         * FloatList.h: remove global FloatList
8025
8026 2002-08-26  André Pönitz <poenitz@gmx.net>
8027
8028         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8029
8030         * BufferView.h:
8031         * BufferView2.C:
8032         * BufferView_pimpl.C:
8033         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8034
8035 2002-08-25  John Levon  <levon@movementarian.org>
8036
8037         * LyXAction.C: fix margin note description
8038
8039 2002-08-24  John Levon  <levon@movementarian.org>
8040
8041         * buffer.C:
8042         * bufferlist.C:
8043         * bufferview_funcs.C:
8044         * lyxfont.C:
8045         * undo_funcs.C: cleanups
8046
8047         * lyxfunc.C: disable CUT/COPY when no selection
8048
8049 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8050
8051         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8052         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8053
8054         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8055         Add backward compatibility to "mono", "gray" and "no".
8056
8057 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8058
8059         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8060         (and file_format >= 200).
8061
8062 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8063
8064         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8065
8066 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8067
8068         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8069
8070 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8071
8072         * BufferView_pimpl.C:
8073         * LyXAction.C:
8074         * buffer.C:
8075         * commandtags.h:
8076         * lyxfunc.C:
8077         * paragraph.[Ch]:
8078         * text2.C:
8079         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8080         inset and code to make it  work with the paragraph code. The inset
8081         can be anywhere in the paragraph, but will only do the expected
8082         thing in LaTeX if the layout file contains the parameter line
8083                         OptionalArgs    1
8084         (or more generally, a nonzero value) for that layout.
8085
8086 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8087
8088         * paragraph.h: remove the declaration of undefined counters class
8089         function.
8090
8091 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8092
8093         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8094         Dr. Richard Hawkins.
8095
8096 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8097
8098         * paragraph_funcs.h: remove some unneeded includes
8099
8100         * text.C (backspace): pasteParagraph now in global scipe
8101
8102         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8103         (pasteSelection): ditto
8104
8105         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8106         * paragraph_funcs.C (pasteParagraph): ... here
8107
8108 2002-08-20  André Pönitz <poenitz@gmx.net>
8109
8110         * commandtags.h: new LFUNs for swapping/copying table row/colums
8111
8112         * LyXAction.C:
8113         * lyxfunc.C: support for new lfuns
8114
8115 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8116
8117         * tabular.C:
8118         * buffer.[Ch]: remove NO_COMPABILITY stuff
8119
8120 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * boost.C (throw_exception): new file, with helper function for
8123         boost compiled without exceptions.
8124
8125         * paragraph.h:
8126         * lyxlength.C:
8127         * buffer.C:
8128         * ParameterStruct.h:
8129         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8130
8131         * bufferlist.C (emergencyWriteAll): use boost bind
8132
8133         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8134
8135         * text.C: include paragraph_funcs.h
8136         (breakParagraph): breakParagraph is now in global scope
8137
8138         * paragraph_funcs.[Ch]: new files
8139
8140         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8141         global scope
8142
8143         * buffer.C: include paragraph_funcs.h
8144         (insertStringAsLines): breakParagraph is now in global scope
8145
8146         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8147         paragraph_funcs.C
8148
8149         * CutAndPaste.C: include paragraph_funcs.h
8150         (cutSelection): breakParagraphConservative is now in global scope
8151         (pasteSelection): ditto
8152
8153         * buffer.h: declare oprator== and operator!= for
8154         Buffer::inset_iterator
8155
8156         * bufferlist.C (emergencyWrite): don't use fmt(...)
8157
8158         * text3.C: add using std::endl
8159
8160         * BufferView.C (moveCursorUpdate): remove default arg
8161
8162 2002-08-20  André Pönitz <poenitz@gmx.net>
8163
8164         * buffer.[Ch]: move inline functions to .C
8165
8166         * BufferView2.C:
8167         * BufferView_pimpl.C:
8168         * text.C:
8169         * buffer.[Ch]: use improved inset_iterator
8170
8171         * buffer.C:
8172         * paragraph.[Ch]: write one paragraph at a time
8173
8174 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8175
8176         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8177         style if style is not specified.
8178
8179 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8180
8181         * text2.C (setCounter): when searching for right label for a
8182         caption, make sure to recurse to parent insets (so that a caption
8183         in a minipage in a figure float works) (bug #568)
8184
8185 2002-08-20  André Pönitz <poenitz@gmx.net>
8186
8187         * text3.C: new file for LyXText::dispatch() and helpers
8188
8189         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8190
8191         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8192
8193 2002-08-19  André Pönitz <poenitz@gmx.net>
8194
8195         * lyxtext.h:
8196         * text.C: new LyXText::dispatch()
8197
8198         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8199
8200 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8201
8202         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8203
8204         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8205         Hebrew text.
8206
8207 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8208
8209         * Makefile.am: use $(variables) instead of @substitutions@
8210
8211 2002-08-15  André Pönitz <poenitz@gmx.net>
8212
8213         * lyxfunc.C:
8214         * BufferView_pimpl.C: streamlining mathed <-> outer world
8215         interaction
8216
8217         * commandtags.h:
8218         * LyXAction.C: remove unused LFUN_MATH
8219
8220 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8221
8222         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8223
8224 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * paragraph.C (Paragraph): reformat a bit
8227         (cutIntoMinibuffer): use builtin InsetList function instad of
8228         doing it manually.
8229         (getInset): ditto
8230
8231         * buffer.C: include boost/bind.hpp, add using std::for_each
8232         (writeFileAscii): use ParagraphList iterators
8233         (validate): use for_each for validate traversal of paragraphs
8234         (getBibkeyList): use ParagraphList iterators
8235         (resizeInsets): use for_each to resizeInsetsLyXText for all
8236         paragraphs.
8237         (getParFromID): use ParagraphList iterators
8238
8239         * BufferView2.C (lockInset): use paragraph list and iterators
8240
8241 2002-08-14  John Levon  <levon@movementarian.org>
8242
8243         * lyxserver.C: remove spurious xforms include
8244
8245 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8246
8247         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8248
8249 2002-08-13  André Pönitz <poenitz@gmx.net>
8250
8251         * LyXAction.[Ch]:
8252         * lyxfunc.C: further cleaning
8253
8254 2002-08-13  André Pönitz <poenitz@gmx.net>
8255
8256         * funcrequest.h: new constructor
8257
8258         * funcrequest.C: move stuff here from .h
8259
8260         * Makefile.am:
8261         * BufferView_pimpl.C:
8262         * LyXAction.C:
8263         * toc.C:
8264         * lyxfunc.C: subsequent changes
8265
8266         * lyxfunc.h: new view() member function
8267
8268         * lyxfunc.C: subsequent changes
8269
8270 2002-08-13  Angus Leeming  <leeming@lyx.org>
8271
8272         * BufferView2.C:
8273         * BufferView_pimpl.C:
8274         * buffer.C:
8275         * converter.C:
8276         * importer.C:
8277         * lyxfunc.C:
8278         * lyxvc.C:
8279         * toc.C:
8280         * vc-backend.C:
8281         changes due to the changed LyXView interface that now returns references
8282         to member variables not pointers.
8283
8284 2002-08-13  Angus Leeming  <leeming@lyx.org>
8285
8286         * WordLangTuple (word, lang_code): return references to strings,
8287         not strings.
8288
8289         * BufferView.h:
8290         * SpellBase.h:
8291         * lyxtext.h: forward-declare WordLangTuple.
8292
8293         * BufferView2.C:
8294         * ispell.C:
8295         * pspell.C:
8296         * text.C: #include "WordLangTuple.h".
8297
8298         * lyxtext.h:
8299         * text.C: (selectNextWordToSpellcheck): constify return type.
8300
8301 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8302
8303         * buffer.C:
8304         * buffer.h:
8305         * lyxtext.h:
8306         * paragraph.C:
8307         * paragraph_pimpl.h:
8308         * text.C:
8309         * text2.C:
8310         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8311         suggested by Angus.
8312         Made updateCounter always count from start of buffer, and removed
8313         second argument (par).
8314         Reverted floats number display to '#'. Perhaps I'll try again when the
8315         code base is sanitized a bit.
8316
8317 2002-08-12  Angus Leeming  <leeming@lyx.org>
8318
8319         * buffer.[Ch] (getLabelList): constify.
8320
8321 2002-08-07  André Pönitz <poenitz@gmx.net>
8322
8323         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8324
8325         * funcrequest.h: extension to keep mouse (x,y) position
8326
8327 2002-08-12  Juergen Vigna  <jug@sad.it>
8328
8329         * BufferView2.C (insertErrors): forbid undo when inserting error
8330         insets.
8331
8332         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8333
8334 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8335
8336         * ParagraphList.[Ch]: new files
8337
8338         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8339
8340         * BufferView2.C (lockInset): ParagraphList changes
8341         * toc.C: ditto
8342         * text2.C: ditto
8343         * bufferlist.C: ditto
8344         * buffer.h: ditto
8345         * buffer.C: ditto
8346
8347 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8348
8349         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8350         unused class variable counter_,
8351
8352         * paragraph.[Ch] (getFirstCounter): delete unused function
8353
8354         * counters.C: include LAssert.h
8355         (reset): add a new function with no arg, change other version to
8356         not have def. arg and to not allow empty arg.
8357
8358         * text2.C (setCounter): remove empty arg from call to Counters::reset
8359
8360 2002-08-11  John Levon  <levon@movementarian.org>
8361
8362         * Makefile.am: add WordLangTuple.h
8363
8364 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8367         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8368
8369         * insets/insettext.C: InsetList changes
8370
8371         * graphics/GraphicsSupport.C (operator()): InsetList changes
8372
8373         * toc.C (getTocList): InsetList changes
8374
8375         * paragraph_pimpl.[Ch]: InsetList changes
8376
8377         * paragraph.[Ch]: InsetList changes
8378
8379         * buffer.C (inset_iterator): InsetList changes
8380         (setParagraph): ditto
8381         * buffer.h (inset_iterator): ditto
8382         * iterators.C (operator++): ditto
8383         * iterators.h: ditto
8384
8385         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8386
8387         * InsetList.[Ch]: new files, most InsetList handling moved out of
8388         paragraph.C.
8389
8390         * BufferView2.C (removeAutoInsets): InsetList changes
8391         (lockInset): ditto
8392         (ChangeInsets): ditto
8393
8394 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * paragraph_pimpl.h (empty): new function
8397
8398         * paragraph.[Ch] (empty): new function
8399
8400         * other files: use the new Paragraph::empty function
8401
8402 2002-08-09  John Levon  <levon@movementarian.org>
8403
8404         * lyxtext.h: remove unused refresh_height
8405
8406 2002-08-09  John Levon  <levon@movementarian.org>
8407
8408         * Makefile.am:
8409         * sgml.h:
8410         * sgml.C:
8411         * buffer.C:
8412         * paragraph.h:
8413         * paragraph.C: move sgml char escaping out of paragraph
8414
8415         * paragraph.h:
8416         * paragraph.C: remove id setter
8417
8418         * buffer.C:
8419         * paragraph.C:
8420         * paragraph_pimpl.C: remove dead tex_code_break_column
8421
8422         * bufferview_funcs.C: small cleanup
8423
8424         * lyxfunc.C: remove dead proto
8425
8426         * lyxtext.h: make some stuff private. Remove some dead stuff.
8427
8428         * lyxgluelength.C: make as[LyX]String() readable
8429
8430 2002-08-08  John Levon  <levon@movementarian.org>
8431
8432         * LyXAction.h:
8433         * LyXAction.C:
8434         * MenuBackend.C:
8435         * ToolbarDefaults.C:
8436         * lyxfunc.C:
8437         * lyxrc.C:
8438         * toc.C: lyxaction cleanup
8439
8440 2002-08-08  John Levon  <levon@movementarian.org>
8441
8442         * BufferView2.C: small cleanup
8443
8444         * lyxfind.h:
8445         * lyxfind.C: move unnecessary header into the .C
8446
8447 2002-08-08  John Levon  <levon@movementarian.org>
8448
8449         * funcrequest.h: just tedious nonsense
8450
8451         * lyx_main.h:
8452         * lyx_main.C: cleanups
8453
8454         * buffer.C:
8455         * vspace.C: remove dead header lyx_main.h
8456
8457 2002-08-07  Angus Leeming  <leeming@lyx.org>
8458
8459         * Paragraph.[Ch]:
8460         * paragraph_pimpl.h:
8461         Forward declare class Counters in paragraph.h by moving the ctrs member
8462         variable into Paragraph::Pimpl.
8463         (counters): new method, returning a reference to pimpl_->ctrs.
8464
8465         * text2.C: ensuing changes.
8466
8467 2002-08-07  John Levon  <levon@movementarian.org>
8468
8469         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8470
8471         * BufferView_pimpl.C: announce X selection on double/triple
8472           click
8473
8474         * lyx_main.C: use correct bool in batch dispatch
8475
8476         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8477
8478 2002-08-07  André Pönitz <poenitz@gmx.net>
8479
8480         * funcrequest.h: new class to wrap a kb_action and its argument
8481
8482         * BufferView.[Ch]:
8483         * BufferView_pimpl[Ch]:
8484         * LaTeX.C:
8485         * LyXAction.[Ch]:
8486         * lyxfunc.[Ch]:
8487         * lyxrc.C: subsequent changes
8488
8489
8490 2002-08-07  John Levon  <levon@movementarian.org>
8491
8492         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8493           document options change.
8494
8495 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8496
8497         * counters.[Ch]
8498         * text2.C
8499         * paragraph.[Ch]
8500         * makefile.am: move counters functionality over from
8501         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8502
8503 2002-08-06  John Levon  <levon@movementarian.org>
8504
8505         * WordLangTuple.h: new file for word + language code tuple
8506
8507         * SpellBase.h:
8508         * pspell.h:
8509         * pspell.C:
8510         * ispell.h:
8511         * ispell.C:
8512         * lyxtext.h:
8513         * text.C:
8514         * text2.C:
8515         * BufferView.h:
8516         * BufferView2.C: use WordLangTuple
8517
8518         * layout.h:
8519         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8520
8521 2002-08-06  John Levon  <levon@movementarian.org>
8522
8523         * lyx_main.C: fix cmdline batch handling
8524
8525 2002-08-06  André Pönitz <poenitz@gmx.net>
8526
8527         * lyxrc.C: set default for show_banner to true
8528
8529 2002-08-06  John Levon  <levon@movementarian.org>
8530
8531         * pspell.C: fix a crash, and allow new aspell to work
8532
8533 2002-08-06  John Levon  <levon@movementarian.org>
8534
8535         * lyxfunc.C:
8536         * kbmap.C: small cleanup
8537
8538         * vspace.h:
8539         * vspace.C: add const
8540
8541 2002-08-05  John Levon  <levon@movementarian.org>
8542
8543         * LyXAction.C: back to tabular-insert
8544
8545 2002-08-04  John Levon  <levon@movementarian.org>
8546
8547         * BufferView.h:
8548         * BufferView.C: cosmetic change
8549
8550         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8551
8552         * bufferlist.C:
8553         * buffer.h:
8554         * buffer.C:
8555         * lyxcb.h:
8556         * lyxcb.C:
8557         * lyxserver.C:
8558         * lyxvc.C:
8559         * vc-backend.C:
8560         * BufferView2.C: purge all "Lyx" not "LyX" strings
8561
8562         * lyxcursor.h:
8563         * lyxcursor.C: attempt to add some documentation
8564
8565         * lyxfunc.C:
8566         * commandtags.h:
8567         * LyXAction.C:
8568         * ToolbarDefaults.C:
8569         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8570           merge with LFUN_TABULAR_INSERT
8571
8572         * Makefile.am:
8573         * SpellBase.h:
8574         * ispell.h:
8575         * ispell.C:
8576         * pspell.h:
8577         * pspell.C: split up i/pspell implementations into separate
8578           files, many cleanups
8579
8580         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8581
8582         * text2.C: some cleanup
8583
8584         * lyxfunc.C: don't check for isp_command == "none" any more, it
8585           didn't make any sense
8586
8587 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8588
8589         * counters.[Ch]
8590         * text2.C
8591         * paragraph.[Ch]
8592         * makefile.am: move counters functionality over
8593         from text2.C/paragraph.[Ch] to counters.[Ch], and
8594         make proper C++.
8595 2002-08-02  John Levon  <levon@movementarian.org>
8596
8597         * buffer.C: s/lyxconvert/lyx2lyx/
8598
8599 2002-08-02  Angus Leeming  <leeming@lyx.org>
8600
8601         * lyxlex.C: revert John's change as it breaks reading of the user
8602         preamble.
8603
8604 2002-08-02  Angus Leeming  <leeming@lyx.org>
8605
8606         * importer.C (Import):
8607         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8608         changes due to LyXView::view() now returning a boost::shared_ptr.
8609
8610 2002-08-02  John Levon  <levon@movementarian.org>
8611
8612         * lyxlex.C: small cleanup
8613
8614 2002-08-02  John Levon  <levon@movementarian.org>
8615
8616         * text2.C (status): small cleanup, no logic change
8617
8618 2002-08-01  John Levon  <levon@movementarian.org>
8619
8620         * buffer.h:
8621         * buffer.C (writeFile): don't output alerts, caller
8622           handles this
8623
8624         * bufferlist.C:
8625         * lyx_cb.C: from above
8626
8627         * lyxfunc.C: allow to open non-existent files
8628
8629 2002-07-31  John Levon  <levon@movementarian.org>
8630
8631         * lyxserver.C: don't let incidental errors get
8632           in the way (errno)
8633
8634 2002-07-30  John Levon  <levon@movementarian.org>
8635
8636         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8637
8638 2002-07-30  John Levon  <levon@movementarian.org>
8639
8640         * lyxserver.h:
8641         * lyxserver.C: remove I/O callback too
8642
8643 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8644
8645         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8646         log.
8647
8648 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * many files: strip,frontStrip -> trim,ltrim,rtrim
8651
8652 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8653
8654         * PrinterParams.h: remove extern containsOnly, and include
8655         support/lstrings.h instead.
8656
8657         * LaTeX.C (scanAuxFile): modify because of strip changes
8658         (deplog): ditto
8659         * buffer.C (makeLaTeXFile): ditto
8660         * bufferparams.C (writeFile): ditt
8661         * lyxfont.C (stateText): ditto
8662         * lyxserver.C (read_ready): ditto
8663         * vc-backend.C (scanMaster): ditto
8664
8665         * BufferView_pimpl.h: ws changes
8666
8667         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8668
8669 2002-07-26  André Pönitz <poenitz@gmx.net>
8670
8671         * kb_sequence.C: remove unnedred usings
8672
8673 2002-07-26  Juergen Vigna  <jug@sad.it>
8674
8675         * lyxfind.C (LyXReplace): we have to check better if the returned
8676         text is not of theLockingInset()->getLockingInset().
8677
8678 2002-07-25  Juergen Vigna  <jug@sad.it>
8679
8680         * lyxfind.C (LyXReplace): don't replace if we don't get the
8681         right LyXText.
8682
8683         * undo_funcs.C (createUndo): remove debugging code.
8684
8685 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8686
8687         * buffer.C (parseSingleLyXformat2Token): Use default placement
8688         when reading old floats.
8689
8690         * FloatList.C (FloatList): Change the default placement of figure
8691         and tables to "tbp".
8692
8693 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8694
8695         * MenuBackend.C: using std::max
8696
8697 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * MenuBackend.C (expandToc):
8700         (expandToc2): code moved from xforms menu frontend. It is now
8701         generic and TOCs are transparent to menu frontends.
8702
8703 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8704
8705         * toc.C (getTocList): protect against buf=0
8706
8707         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8708         Menu as first parameter. Now, this calls itself recursively to
8709         expand a whole tree (this will be useful for TOC handling)
8710         (expandFloatInsert): remove 'wide' version of floats
8711
8712         * MenuBackend.h (submenuname): returns the name of the submenu.
8713         (submenu): returns the submenu itself, provided it has been
8714         created by MenuBackend::expand
8715
8716 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8717
8718         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8719         insets which have noFontChange == true. (bug #172)
8720
8721 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8722
8723         * BufferView_pimpl.C: add connection objects and use them...
8724         (Pimpl): here.
8725
8726 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8727
8728         * MenuBackend.C (expandLastfiles):
8729         (expandDocuments):
8730         (expandFormats):
8731         (expandFloatListInsert):
8732         (expandFloatInsert):
8733         (expand): split expand in parts
8734
8735 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8736
8737         * lyx_gui.C: use lyx_gui::exit()
8738
8739 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8740
8741         * LyXAction.C: show the failing pseudo action
8742
8743 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8744
8745         * buffer.C (readFile): Run the lyxconvert script in order to read
8746         old files.
8747
8748 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * LyXAction.C:
8751         * commandtags.h:
8752         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8753
8754 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8755
8756         * LyXAction.C:
8757         * commandtags.h:
8758         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8759
8760 2002-07-22  Herbert Voss  <voss@lyx.org>
8761
8762         * lengthcommon.C:
8763         * lyxlength.[Ch]: add support for the vertical lengths
8764
8765 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * toc.[Ch]: std:: fixes
8768
8769 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8770
8771         * lyxrc.C: do not include lyx_main.h
8772
8773         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8774         for layouts
8775
8776         * lyxrc.C:
8777         * encoding.C:
8778         * bufferlist.C:
8779         * BufferView2.C: include "lyxlex.h"
8780
8781         * tabular.h:
8782         * bufferparams.h: do not #include "lyxlex.h"
8783
8784         * lyxtextclasslist.C (Add): remove method
8785         (classlist): renamed to classlist_
8786
8787         * paragraph_pimpl.C:
8788         * paragraph.C:
8789         * text2.C:
8790         * CutAndPaste.C:
8791         * bufferview_funcs.C:
8792         * bufferlist.C:
8793         * text.C:
8794         * LaTeXFeatures.C:
8795         * buffer.C:
8796         * toc.C (getTocList): use BufferParams::getLyXTextClass
8797
8798         * toc.C (getTocList): use InsetFloat::addToToc
8799
8800         * toc.[Ch]: new files, containing helper functions to handle table
8801         of contents
8802
8803         * lyxfunc.C (dispatch): no need to remove spaces around command
8804         given as a string
8805         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8806         first command of the sequence; it is not very clever, but I do not
8807         have a better idea, actually
8808
8809         * LyXAction.C (LookupFunc): make sure to remove space at the
8810         beginning and end of the command
8811
8812 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8813
8814         * MenuBackend.C (getMenubar): new method: return the menubar of
8815         this menu set
8816         (read): treat differently reading of menu and menubar (in
8817         particular, the menubar has no name now)
8818         (Menu::menubar): remove
8819
8820         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8821         saving is finished
8822
8823 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8824
8825         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8826         a bibitem inset in a RTL paragraph.
8827
8828 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8829
8830         * paragraph_pimpl.C: constify
8831
8832         * BufferView_pimpl.C:
8833         * LaTeX.C:
8834         * lyxfunc.C: fix dispatch in a nicer way
8835
8836 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * lyxfunc.C (dispatch):
8839         * BufferView_pimpl.C:
8840         * BufferView_pimpl.h:
8841         * BufferView.C:
8842         * BufferView.h: rename Dispatch() to dispatch()
8843
8844         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8845
8846         * lyxlayout.C (Read): honor DependsOn tag
8847
8848         * lyxlayout.[Ch] (depends_on): new method
8849
8850         * version.C.in: update lyx_docversion
8851
8852         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8853
8854         * paragraph.C (validate): remove from here...
8855         * paragraph_pimpl.C (validate): ... and move here
8856         (isTextAt): make it const
8857
8858         * buffer.C (getLists): ws cleanup
8859
8860 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8861
8862         * language.C (read): Use iso8859-1 encoding in latex_lang
8863         (this prevents LyX from crashing when using iso10646-1 encoding).
8864
8865 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8866
8867         * text2.C (toggleInset): if cursor is inside an inset, close the
8868         inset and leave cursor _after_ it
8869
8870 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8871
8872         * lyxfunc.C: move minibuffer completion handling out of here
8873
8874 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8875
8876         * BufferView_pimpl.C:
8877         * LaTeX.C: fix dispatch calls
8878
8879 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8880
8881         * text.C (drawChars): Fix Arabic text rendering.
8882
8883 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8884
8885         * LyXAction.C:
8886         * commandtags.h:
8887         * lyxfunc.C: remove message-push/pop
8888
8889         * lyxserver.C:
8890         * lyxfunc.h:
8891         * lyxfunc.C: rationalise some code by removing verboseDispatch
8892           in favour of a bool argument to dispatch()
8893
8894 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8895
8896         * lyx_main.C (init): make sure to read symlinks as absolute paths
8897
8898 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8899
8900         * lyxfunc.h:
8901         * lyxfunc.C: no need for commandshortcut to be a member
8902
8903 2002-07-15  André Pönitz <poenitz@gmx.net>
8904
8905         * converter.C: add support for $$s (scripts from lib/scripts dir)
8906         * lyx_main.C: white space
8907
8908 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8909
8910         * bufferlist.C:
8911         * lyxrc.h:
8912         * lyxrc.C: remove second exit confirmation
8913
8914 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8915
8916         * BufferView.h:
8917         * BufferView.C:
8918         * BufferView2.C:
8919         * BufferView_pimpl.h:
8920         * BufferView_pimpl.C:
8921         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8922
8923 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * MenuBackend.C (expand): add numeric shortcuts to document menu
8926
8927         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8928
8929 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * lyxfont.C (setLyXFamily):
8932         (setLyXSeries):
8933         (setLyXShape):
8934         (setLyXSize):
8935         (setLyXMisc):
8936         (lyxRead):
8937         * debug.C (value):
8938         * buffer.C (asciiParagraph): use ascii_lowercase
8939
8940 2002-07-15  Mike Fabian  <mfabian@suse.de>
8941
8942         * lyxlex_pimpl.C (search_kw):
8943         * lyxlex.C (getLongString):
8944         * converter.h (operator<):
8945         * converter.C (operator<):
8946         * buffer.C (parseSingleLyXformat2Token):
8947         (asciiParagraph):
8948         * ToolbarDefaults.C (read):
8949         * MenuBackend.C (checkShortcuts):
8950         (read):
8951         * LColor.C (getFromGUIName):
8952         (getFromLyXName): use the compare_ascii_no_case instead of
8953         compare_no_case, because in turkish, 'i' is not the lowercase
8954         version of 'I', and thus turkish locale breaks parsing of tags.
8955
8956 2002-07-16  Angus Leeming  <leeming@lyx.org>
8957
8958         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8959         now takes a Buffer const & argument.
8960
8961 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8962
8963         * BufferView.C (resize): check there's a buffer to resize
8964
8965 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8966
8967         * lyxfunc.C: remove dead code
8968
8969         * lyxserver.h:
8970         * lyxserver.C: use lyx_guii::set_read_callback
8971
8972 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8973
8974         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8975         an inset in a RTL paragraph.
8976
8977 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * lyxfunc.C: repaint after a font size update
8980
8981 2002-07-15  André Pönitz <poenitz@gmx.net>
8982
8983         * lyxlength.C: inBP should be able to return negative values
8984
8985 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8986
8987         * lyxfunc.C: use lyx_gui::update_fonts()
8988
8989 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8990
8991         * lyxfunc.C: use lyx_gui::update_color()
8992
8993 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8994
8995         * bufferlist.C:
8996         * lyxfunc.h:
8997         * lyxfunc.C:
8998         * lyxrc.h:
8999         * lyxrc.C: remove file->new asks for name option, and let
9000           buffer-new take an argument
9001
9002 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9003
9004         * BufferView_pimpl.C: remove unneeded extra repaint()
9005
9006 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9007
9008         * LyXAction.C: allow command-sequence with NoBuffer
9009
9010         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9011
9012 2002-07-10  Angus Leeming  <leeming@lyx.org>
9013
9014         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9015
9016 2002-07-09  Angus Leeming  <leeming@lyx.org>
9017
9018         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9019
9020 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * lengthcommon.h: whitespace
9023
9024         * lyxfunc.C: update scrollbar after goto paragraph
9025
9026         * lyxtext.h: factor out page break drawing, and fix it so
9027           page break/added space paints as selected nicely
9028
9029 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * BufferView_pimpl.C: add FIXMEs, clean up a little
9032
9033 2002-07-09  André Pönitz <poenitz@gmx.net>
9034
9035         * lyxfont.[Ch]: support for wasy symbols
9036
9037 2002-07-08  André Pönitz <poenitz@gmx.net>
9038
9039         * BufferView_pimpl.C: apply John's patch for #93.
9040
9041 2002-07-05  Angus Leeming  <leeming@lyx.org>
9042
9043         * BufferView_pimpl.C (buffer): generate previews if desired.
9044
9045         * LColor.h: add "preview" to the color enum.
9046
9047         * LColor.C (LColor): add a corresponding entry to the items array.
9048
9049         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9050         with this buffer.
9051
9052 2002-07-05  Angus Leeming  <leeming@lyx.org>
9053
9054         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9055         The body of the code is now in the method that is passed an ostream &
9056         rather than a file name.
9057         Pass an additional only_preamble parameter, useful for the forthcoming
9058         preview stuff.
9059
9060 2002-07-03  André Pönitz <poenitz@gmx.net>
9061
9062         * lyxfunc.C: simplify getStatus() a bit for math stuff
9063
9064 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9065
9066         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9067
9068 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * text.C (changeRegionCase): do not change case of all the
9071         document when region ends at paragraph end (bug #461)
9072
9073 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9074
9075         * paragraph.C (startTeXParParams):
9076         (endTeXParParams): add \protect when necessary
9077
9078 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9079
9080         * BufferView_pimpl.C (workAreaExpose): remove warning
9081
9082 2002-06-27  Angus Leeming  <leeming@lyx.org>
9083
9084         * Makefile.am: add lyxlayout_ptr_fwd.h.
9085
9086 2002-06-26  André Pönitz <poenitz@gmx.net>
9087
9088         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9089
9090 2002-06-25  Angus Leeming  <leeming@lyx.org>
9091
9092         * lyxfunc.C (dispatch): Comment out the call to
9093         grfx::GCache::changeDisplay. The method no longer exists now that the
9094         pixmap generation part of the graphics loader has been moved into
9095         InsetGraphics.
9096
9097 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9098
9099         * text2.C: layout as layout
9100
9101         * text.C: layout as layout
9102
9103         * tabular.C (OldFormatRead): layout as layout
9104
9105         * paragraph_pimpl.C (TeXDeeper): layout as layout
9106         (realizeFont): layout as layout
9107
9108         * paragraph.C (writeFile): layout as layout
9109         (validate): layout as layout
9110         (getFont): layout as layout
9111         (getLabelFont): layout as layout
9112         (getLayoutFont): layout as layout
9113         (breakParagraph): layout as layout
9114         (stripLeadingSpaces): layout as layout
9115         (getEndLabel): layout as layout
9116         (getMaxDepthAfter): layout as layout
9117         (applyLayout): layout as layout
9118         (TeXOnePar): layout as layout
9119         (simpleTeXOnePar): layout as layout
9120         (TeXEnvironment): layout as layout
9121         (layout): layout as layout
9122         (layout): layout as layout
9123
9124         * lyxtextclass.C (compare_name): new functor to work with
9125         shared_ptr, layout as layout
9126         (Read): layout as layout
9127         (hasLayout): layout as layout
9128         (operator): layout as layout
9129         (delete_layout): layout as layout
9130         (defaultLayout): layout as layout
9131
9132         * lyxlayout_ptr_fwd.h: new file
9133
9134         * lyxlayout.C (Read): layout as layout
9135
9136         * lyx_cb.C (MenuInsertLabel): layout as layout
9137
9138         * bufferlist.C (newFile): layout as layout
9139
9140         * buffer.C (readLyXformat2): layout as layout
9141         (parseSingleLyXformat2Token): layout as layout
9142         (insertStringAsLines): layout as layout
9143         (asciiParagraph): layout as layout
9144         (latexParagraphs): layout as layout
9145         (makeLinuxDocFile): layout as layout
9146         (simpleLinuxDocOnePar): layout as layout
9147         (makeDocBookFile): layout as layout
9148         (simpleDocBookOnePar): layout as layout
9149         (getLists): layout as layout
9150
9151         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9152
9153         * CutAndPaste.C (cutSelection): layout as layout
9154         (pasteSelection): layout as layout
9155         (SwitchLayoutsBetweenClasses): layout as layout
9156
9157         * BufferView_pimpl.C (Dispatch): layout as layout
9158         (smartQuote): layout as layout
9159
9160         * BufferView2.C (unlockInset): layout as layout
9161
9162 2002-06-24  André Pönitz <poenitz@gmx.net>
9163
9164         * lyxfunc.C: fix #487
9165
9166 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9167
9168         * lyxrc.h:
9169         * lyxrc.C:
9170         * lyxfunc.C: remove display_shortcuts, show_banner
9171
9172 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9173
9174         * Buffer_pimpl.C: oops, update on resize
9175
9176 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9177
9178         * buffer.C:
9179         * converter.C:
9180         * exporter.C:
9181         * lyxfunc.C:
9182         * BufferView.h:
9183         * BufferView.C: use repaint()
9184
9185         * BufferView_pimpl.h:
9186         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9187           as it's a clearer description. Remove superfluous
9188           redraws.
9189
9190 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9191
9192         * text.C: fix bug 488. Not ideal, but getting
9193           getWord() to work properly for the insets that
9194           matter is more difficult ...
9195
9196 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9197
9198         * BufferView_pimpl.C:
9199         * LyXAction.C:
9200         * commandtags.h:
9201         * lyxfunc.C: remove the six million index lyxfuncs to just
9202           one, and DTRT (bug 458)
9203
9204 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9205
9206         * BufferView.h:
9207         * BufferView.C:
9208         * BufferView_pimpl.h:
9209         * BufferView_pimpl.C: clean up resize() stuff,
9210           and unnecessary updateScreen()s
9211
9212 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9213
9214         * BufferView.h:
9215         * BufferView.C:
9216         * BufferView_pimpl.h:
9217         * BufferView_pimpl.C:
9218         * lyxfind.h:
9219         * lyxfind.C:
9220         * minibuffer.C: remove focus management of workarea,
9221           not needed. Use screen's greyOut()
9222
9223 2002-06-17  Herbert Voss  <voss@lyx.org>
9224
9225         * converter.C: (convert) do not post a message, when converting
9226         fails, let the calling function decide what to do in this case
9227
9228 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9229
9230         * lyxfunc.C: tidy up a little
9231
9232 2002-06-16    <alstrup@diku.dk>
9233
9234         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9235         Got rid of FORMS_H_LOCATION include. Now we are
9236         GUII.
9237
9238 2002-06-15  LyX Development team  <lyx@rilke>
9239
9240         * buffer.[Ch] (sgmlOpenTag):
9241         (sgmlCloseTag): Added support for avoiding pernicious mixed
9242         content. Return number of lines written.
9243
9244         (makeLinuxDocFile):
9245         (makeDocBookFile): Fixed calls to sgml*Tag.
9246         Simple white space clean.
9247
9248         (simpleDocBookOnePar): Simple white space clean.
9249
9250         * tabular.[Ch] (docBook): Renamed to docbook and got another
9251         argument to related with the pernicious mixed content.
9252
9253         (docbookRow): Fixed calls for docbook inset method.
9254
9255 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9256
9257         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9258         so it's X11 independent.
9259
9260         * kb*.[Ch]: ditto.
9261
9262         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9263
9264 2002-06-15  Lyx Development team  <lyx@electronia>
9265
9266         * intl.h: Renamed getTrans to getTransManager.
9267
9268 2002-06-14  Angus Leeming  <leeming@lyx.org>
9269
9270         * Makefile.am: nuke forgotten stl_string_fwd.h.
9271
9272 2002-06-12  Angus Leeming  <leeming@lyx.org>
9273
9274         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9275
9276 2002-06-13  Angus Leeming  <leeming@lyx.org>
9277
9278         * LaTeX.C:
9279         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9280
9281 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9282
9283         * kbmap.C (getiso): add support for cyrillic and greek
9284
9285 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9286
9287         * BufferView.h:
9288         * BufferView.C:
9289         * BufferView_pimpl.h:
9290         * BufferView_pimpl.C: move bogus scrolling logic
9291           to xforms
9292
9293 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * lyxfunc.C:
9296         * BufferView_pimpl.C: view->resize() change
9297
9298 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9299
9300         * BufferView_pimpl.C: topCursorVisible
9301           prototype change
9302
9303 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9304
9305         * Makefile.am:
9306         * lyx_gui.h:
9307         * lyx_gui.C: move to frontends/
9308
9309         * main.C:
9310         * lyx_main.h:
9311         * lyx_main.C: changes from above
9312
9313 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * intl.C:
9316         * intl.h:
9317         * kbmap.C:
9318         * kbsequence.C:
9319         * lyx_cb.C:
9320         * lyx_main.C: minor tidy
9321
9322 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9323
9324         * BufferView_pimpl.h:
9325         * BufferView_pimpl.C:
9326         * BufferView.h:
9327         * BufferView.C: make painter() const,
9328           remove dead code
9329
9330         * BufferView2.C: use screen() accessor
9331
9332         * lyx_main.h:
9333         * lyx_main.C: some minor cleanup
9334
9335 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9336
9337         * BufferView_pimpl.h:
9338         * BufferView_pimpl.C: remove enter/leaveView,
9339           use workHeight()
9340
9341 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9342
9343         * BufferView.h:
9344         * BufferView.C:
9345         * BufferView2.C:
9346         * BufferView_pimpl.h:
9347         * BufferView_pimpl.C: only construct screen once,
9348           rename
9349
9350         * lyxrc.C: remove pointless comment
9351
9352 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9353
9354         * BufferView.h:
9355         * BufferView.C: remove active() and belowMouse()
9356
9357         * BufferView_pimpl.h:
9358         * BufferView_pimpl.C: use workarea() not workarea_,
9359           and make it use a scoped_ptr instead
9360
9361 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9362
9363         * lyx_gui.C: add debug message on BadWindow
9364
9365 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9366
9367         * sp_spell.C: fdopen is not part of the C++ standard.
9368
9369         * paragraph.C (InsetIterator): use >= instead of ==
9370
9371 2002-06-07  Angus Leeming  <leeming@lyx.org>
9372
9373         Fixes needed to compile with Compaq cxx 6.5.
9374         * BufferView_pimpl.C:
9375         * DepTable.C:
9376         * buffer.C:
9377         * converter.C:
9378         * encoding.C:
9379         * lyx_gui.C:
9380         * lyx_main.C:
9381         * lyxtextclasslist.C:
9382         * minibuffer.C:
9383         * sp_spell.C:
9384         * tabular_funcs.C:
9385         * vc-backend.C:
9386         all c-library variables have been moved into namespace std. Wrap
9387         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9388
9389         * lyxlength.C:
9390         * tabular-old.C:
9391         * tabular.C:
9392         Add a using std::abs declaration.
9393
9394         * kbmap.h (modifier_pair):
9395         * paragraph.h (InsetTable, InsetList):
9396         * lyxfont.h (FontBits):
9397         type definition made public.
9398
9399         * bufferlist.C (emergencyWriteAll): the compiler complains that
9400         there is more than one possible lyx::class_fun template to choose from.
9401         I re-named the void specialisation as lyx::void_class_fun.
9402
9403         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9404
9405         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9406         the compiler is is unable to find tostr in write_attribute.
9407
9408 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9409
9410         * buffer.C (sgmlError): hide #warning
9411
9412 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * xtl/*: get rid of xtl, which is not in use anyway
9415
9416         * LyXAction.C (init):
9417         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9418         were unimplemented xtl experimentation
9419
9420 2002-06-04  André Pönitz <poenitz@gmx.net>
9421
9422         * lyxfunc.C: disable array operation on simple formulae
9423
9424 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9425
9426         * converter.C: constify a bit
9427
9428 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9429
9430         * lyx_gui.C: check xforms version correctly
9431
9432 2002-04-30  Herbert Voss  <voss@lyx.org>
9433
9434         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9435         "keep" option
9436
9437 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9440           attempt to register it with a VCS)
9441
9442 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9443
9444         * lyx_main.C (init): honor variables LYX_DIR_13x and
9445         LYX_USERDIR_13x
9446
9447 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * buffer.h:
9450         * buffer.C:
9451         * lyx_main.C: fix a crash on bad command line,
9452           and give a useful exit status on error
9453
9454         * lyxfunc.C (doImport): allow -i lyx to work
9455
9456 2002-03-30  André Pönitz <poenitz@gmx.net>
9457
9458         * lyxfunc.C: mathed font changes
9459
9460 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9461
9462         * LaTeX.C:
9463         * importer.h:
9464         * importer.C:
9465         * lyx_sty.h:
9466         * lyx_sty.C:
9467         * lyxlex.C:
9468         * lyxrow.h:
9469         * lyxtext.h:
9470         * paragraph.h:
9471         * paragraph.C:
9472         * texrow.h:
9473         * texrow.C:
9474         * text.C:
9475         * trans_mgr.h: srcdocs, and some minor cleanups
9476
9477 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9480         call getFont all the time)
9481
9482 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9483
9484         * switch from SigC signals to boost::signals
9485
9486 2002-05-29  André Pönitz <poenitz@gmx.net>
9487
9488         * paragraph_pimpl.C (getChar): don't call size() too often...
9489
9490 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * paragraph_pimpl.C (insertChar): do not try to update tables when
9493         appending (pos == size())
9494
9495         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9496         in order to reduce drastically the number of comparisons needed to
9497         parse a large document
9498
9499 2002-05-29  André Pönitz <poenitz@gmx.net>
9500
9501         * text.C:
9502         * text2.C:
9503         * lyxtextclass.C:
9504         * sp_pspell.h:
9505         * textclasslist.[Ch]:
9506         * sp_ispell.h: whitespace change
9507
9508 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9509
9510         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9511         lyxaction directly now.
9512
9513 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9514
9515         * trans.C:
9516         * lyxfont.C:
9517         * lyxvc.C: remove unused headers
9518
9519 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * Makefile.am:
9522         * buffer.h:
9523         * undostack.h:
9524         * undostack.C:
9525         * undo_funcs.h:
9526         * undo_funcs.C: some cleanups. Use shared_ptr
9527           and a template for the undo stacks.
9528
9529 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9530
9531         * BufferView_pimpl.h:
9532         * BufferView_pimpl.C:
9533         * kbmap.h:
9534         * kbmap.C:
9535         * kbsequence.h:
9536         * kbsequence.C:
9537         * lyxfunc.h:
9538         * lyxfunc.C:
9539         * text2.C: use key_state/mouse_state
9540
9541 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9542
9543         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9544         and LSubstring
9545
9546         * chset.C: change include order
9547         (loadFile): use boost regex and get rid of LRegex and LSubstring
9548
9549         * Makefile.am (BOOST_LIBS): new variable
9550         (lyx_LDADD): use it
9551
9552         * LaTeX.C: change include order.
9553         (scanAuxFile): use boost regex and get rid of LRegex and
9554         LSubstring
9555         (deplog): ditto
9556
9557 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9558
9559         * ColorHandler.h:
9560         * ColorHandler.C:
9561         * FontInfo.h:
9562         * FontInfo.C: moved to frontends/xforms/
9563
9564         * FontLoader.h:
9565         * FontLoader.C: moved into frontends for GUIIzation
9566
9567         * Makefile.am:
9568         * lyx_gui.C:
9569         * lyxfont.C:
9570         * lyxfunc.C: changes from above
9571
9572 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9573
9574         * LColor.C: remove spurious X include
9575
9576         * BufferView_pimpl.C:
9577         * Makefile.am:
9578         * font.h:
9579         * font.C:
9580         * text.C:
9581         * text2.C: move font metrics to frontends/
9582
9583 2002-05-24  Juergen Vigna  <jug@sad.it>
9584
9585         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9586         setting the undo_cursor.
9587
9588         * ParagraphParameters.h: include local includes first.
9589
9590 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9591
9592         * BufferView_pimpl.C:
9593         * BufferView_pimpl.h:
9594         * Makefile.am:
9595         * WorkArea.h:
9596         * WorkArea.C:
9597         * screen.C: move WorkArea into frontends/
9598
9599         * lyxscreen.h:
9600         * screen.C:
9601         * text.C:
9602         * BufferView.C:
9603         * BufferView2.C: move LyXScreen into frontends/
9604
9605         * lyxlookup.h:
9606         * lyxlookup.C:
9607         * lyx_gui.C: move lyxlookup into frontends/xforms/
9608
9609 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9610
9611         * BufferView2.C:
9612         * BufferView_pimpl.C:
9613         * FontLoader.C:
9614         * LyXView.h:
9615         * LyXView.C:
9616         * Makefile.am:
9617         * WorkArea.C:
9618         * XFormsView.h:
9619         * XFormsView.C:
9620         * buffer.C:
9621         * bufferlist.C:
9622         * bufferview_funcs.C:
9623         * converter.C:
9624         * importer.C:
9625         * lyx_cb.C:
9626         * lyx_gui.C:
9627         * lyx_main.C:
9628         * lyx_find.C:
9629         * lyxfunc.C:
9630         * lyxvc.C:
9631         * minibuffer.C:
9632         * text.C:
9633         * text2.C:
9634         * trans.C:
9635         * vc-backend.C: move LyX/XFormsView into frontends/
9636
9637 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * Makefile.am:
9640         * PainterBase.C:
9641         * PainterBase.h:
9642         * Painter.C:
9643         * Painter.h:
9644         * WorkArea.C:
9645         * WorkArea.h:
9646         * screen.C:
9647         * tabular.C:
9648         * text.C:
9649         * text2.C: move Painter to frontends/
9650
9651 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9652
9653         * buffer.C: comment out some some code that depend upon lyx_format
9654         < 220
9655
9656         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9657         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9658
9659         * buffer.h (NO_COMPABILITY): turn off compability
9660
9661         * ColorHandler.C: include scoped_array.hpp
9662
9663         * font.C: Use more specific smart_ptr header.
9664         * Painter.C: ditto
9665         * gettext.C: ditto
9666         * ShareContainer.h: ditto
9667         * lyx_main.h: ditto
9668         * kbmap.h: ditto
9669         * FontInfo.h: ditto
9670         * BufferView_pimpl.h: ditto
9671         * ColorHandler.h: ditto
9672
9673         * kbmap.C (defkey): change call to shared_ptr::reset
9674
9675 2002-05-21  Juergen Vigna  <jug@sad.it>
9676
9677         * buffer.C (insertErtContents): fix to insert ert asis if it is
9678         non empty. Skip it completely if it contains only whitespaces.
9679
9680 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9681
9682         * BufferView_pimpl.C:
9683         * BufferView2.C: clear selection on paste (bug 393)
9684
9685 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9686
9687         * DepTable.C: include ctime
9688
9689 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9690
9691         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9692
9693 2002-05-14  Juergen Vigna  <jug@sad.it>
9694
9695         * text.C (breakParagraph): fixed function to honor the keepempty
9696         layout in the right maner and also to permit the right breaking
9697         algorithm on empty or non empyt keepempty paragraphs.
9698
9699         * paragraph.C (breakParagraph): we have to check also if the par
9700         is really empty (!size()) for isempty otherwise we do the wrong
9701         paragraph break.
9702
9703 2002-05-10  Juergen Vigna  <jug@sad.it>
9704
9705         * buffer.[Ch] : The following are only changes to the ert
9706         compatibility read reading old LaTeX layout and font stuff and
9707         convert it to ERTInsets.
9708
9709         * buffer.h: added isErtInset().
9710
9711         * buffer.C (struct ErtComp): add a fromlayout bool to check
9712         if we're inside a LaTeX layout.
9713         (isErtInset): new helper function.
9714         (insertErtContents): look for other ert insets before this one
9715         and insert the contents there, so that we don't have subsequent
9716         ERT insets with nothing between them. This way we create only one
9717         inset with multiple paragraphs. Also check if we don't insert only
9718         spaces ' ' as they are ignored anyway afterwards in the .tex file
9719         so if we have only spaces we will ignore this latex part in the
9720         new file.
9721         (parseSingleLyXformat2Token \\layout): better compatibility when
9722         reading layout-latex stuff.
9723         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9724         language tag.
9725         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9726         stuff after reading the inset only get the information back from
9727         the stack.
9728
9729 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9730
9731         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9732
9733         * LaTeXFeatures.C (getBabelOptions): New method.
9734
9735 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9736
9737         * BufferView_pimpl.C (Dispatch): work around missing argument for
9738         'layout'
9739
9740 2002-05-08  Juergen Vigna  <jug@sad.it>
9741
9742         * text.C (leftMargin): handle paragraph leftindent.
9743
9744         * paragraph.C (writeFile): write the new \\leftindent tag.
9745         (validate): handle leftindent code.
9746         (TeXEnvironment): handle paragraphleftindent code again.
9747
9748         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9749
9750         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9751         for paragrap_extra indent code and new token \\leftindent.
9752         (latexParagraphs): handle the leftindent as environment.
9753
9754         * ParameterStruct.h: added leftindent support.
9755
9756         * ParagraphParameters.C (leftIndent): added support functions for
9757         the paragraph left indent.
9758
9759         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9760         more appropriate.
9761
9762 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9763
9764         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9765         inside insetERT.
9766
9767         * text.C (computeBidiTables): No bidi in insetERT.
9768
9769         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9770         in RTL documents.
9771
9772 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9773
9774         * version.C.in: pre 5
9775
9776 2002-05-02  José Matos  <jamatos@fep.up.pt>
9777         * buffer.C (makeDocBookFile): white space changes, add newline to
9778         command styles.
9779         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9780
9781         * tabular.C (docBook): fix typo.
9782
9783 2002-05-03  Juergen Vigna  <jug@sad.it>
9784
9785         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9786         change in LyXText as we can not be sure it was not freed.
9787         (drawOneRow): remove unused code.
9788
9789         * text.C (drawInset): redo the calculation of the need_break_row as
9790         it could have a row which was already freed.
9791         (draw): look at the return value of drawInset and return false if
9792         it also returned false.
9793         (paintRowText): look at the return value of draw and return false if
9794         it also returned false.
9795
9796         * lyxtext.h: added bool return type to drawInset() and draw() so that
9797         if we have a change in the row so that the rowbreak has to be redone
9798         we abort drawing as it will be called again.
9799
9800 2002-05-02  Juergen Vigna  <jug@sad.it>
9801
9802         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9803         a change in the maintext also if we're inside an inset.
9804         (Dispatch): set the cursor again after a break line and after the
9805         screen has been updated as it could be we're in a different row.
9806
9807         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9808         to set the cursor behind the pargraph with > size().
9809         (setCursor): check also for the same paragraph when checking where
9810         to put the cursor if we have a NFR inset.
9811
9812         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9813         parts of layout read further up as it still was in the wrong
9814         position.
9815
9816 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9817
9818         * screen.C (drawFromTo): change sine fullRebreak always return
9819         true.
9820
9821         * buffer.C (parseSingleLyXformat2Token): reindent some
9822
9823         * BufferView_pimpl.C (update): change since fullRebreak always
9824         return true.
9825         (Dispatch): git rid of the last hardcoded "Standard"s.
9826
9827 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9828
9829         * text2.[Ch] (fullRebreak): make it return void now that we always
9830         returned true.
9831
9832 2002-04-30  Juergen Vigna  <jug@sad.it>
9833
9834         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9835         ert compatibility check for "latex" layout.
9836
9837 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9838
9839         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9840         minipages: use col% instead of p%, and also use the current font.
9841         (makeLaTeXFile): Fix use babel condition.
9842         (parseSingleLyXformat2Token): Correct font when reading old floats.
9843
9844 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9845
9846         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9847         inserting list of floats.
9848
9849 2002-04-25  Herbert Voss  <voss@lyx.org>
9850
9851         * MenuBackend.C (expand): don't add the graphics extensions to the
9852         export menu
9853
9854 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9857         non-existing layout, do not complain if it was the default layout
9858         of the original class (bug #342)
9859
9860 2002-04-24  Juergen Vigna  <jug@sad.it>
9861
9862         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9863         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9864
9865 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9866
9867         * buffer.C (getBibkeyList): If using \bibliography, return the
9868         option field with the reference itself. Enables us to provide natbib
9869         support when using \bibliography.
9870
9871 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9872
9873         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9874
9875         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9876         natbib is provided by the LaTeX class.
9877
9878 2002-04-23  Juergen Vigna  <jug@sad.it>
9879
9880         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9881         Wakeup functions.
9882
9883         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9884
9885 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9888
9889         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9890         ensuremath around textordmasculine, textordfeminine and
9891         textdegree.
9892
9893 2002-04-19  Juergen Vigna  <jug@sad.it>
9894
9895         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9896         reinitializing the buffer otherwise row-dimensions may be wrong.
9897         (update): reset also the selection cursors if they do exits otherwise
9898         their x/y positions may be wrong.
9899
9900         * text2.C (cursorDown): don't enter the inset if we came from a row
9901         above and are one row over the inset.
9902
9903         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9904         really leaving an inset.
9905
9906 2002-04-18  Juergen Vigna  <jug@sad.it>
9907
9908         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9909         of the selected paragraph does not have the selected layout also if
9910         the last one had!
9911
9912         * text2.C (setLayout): fixed bug which did not change last selected
9913         paragraph.
9914
9915         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9916         changed the read and substituted \\end_float with \\end_inset!
9917
9918         * BufferView_pimpl.C (cursorPrevious):
9919         (cursorNext): fixed to make it work with rows heigher than the work
9920         area without moving the cursor only the draw of the row.
9921         (workAreaMotionNotify): fix jumping over high rows.
9922
9923 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9924
9925         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9926         Ressler.
9927
9928 2002-04-16  Juergen Vigna  <jug@sad.it>
9929
9930         * text2.C (setCursor): set also the irow().
9931         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9932         (cursorUp):
9933         (cursorDown): support for locking an inset if the x_fix value goes
9934         inside it. That way I can transverse insets too with cursor up/down.
9935
9936         * lyxrow.h: added irow helper function same as other (i) functions.
9937
9938         * BufferView_pimpl.C (cursorPrevious):
9939         (cursorNext): fixed for insets!
9940
9941 2002-04-15  Juergen Vigna  <jug@sad.it>
9942
9943         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9944         position otherwise it is wrong in some cases.
9945
9946         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9947         inside the inset before the call.
9948
9949 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9950
9951         * buffer.[Ch] (getBibkeyList): make it const.
9952
9953 2002-04-12  Juergen Vigna  <jug@sad.it>
9954
9955         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9956
9957         * text2.C (getCursorX): new helper function
9958         (setCursor): compute also ix_
9959         (setCursorFromCoordinates): set also ix.
9960
9961         * lyxcursor.h: added ix_ and helper functions.
9962
9963         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9964
9965         * buffer.C (insertStringAsLines): dont break paragraph if the this
9966         paragraph is inside an inset which does not permit it!
9967
9968         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9969         also with no chars on this paragraph.
9970         (paintRowText): only paint stuff if it's inside the workarea!
9971
9972         * paragraph.C (breakParagraph): honor keepempty flag and break the
9973         paragraph always below not above.
9974
9975         * BufferView2.C (unlockInset): update the paragraph layout on inset
9976         unlock as we changed paragraph in such a case.
9977
9978         * lyxfind.C (LyXFind): clear the former selection if not found!
9979
9980         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9981         again called in insertChar().
9982
9983         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9984         an inset which uses the whole row!
9985         (rightMargin): ditto.
9986         (insertChar): force a rebreak if we inserted an inset!
9987
9988 2002-03-28  Herbert Voss  <voss@lyx.org>
9989
9990         * lyxlength.[Ch]: add inBP() to get the right PS-point
9991         units (BigPoint). With inPixels we have rounding errors
9992
9993 2002-04-11  Juergen Vigna  <jug@sad.it>
9994
9995         * text2.C (setCursorFromCoordinates): set iy to the right value.
9996         (setCursor): add check if row->previous exists!
9997
9998         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9999         an old float_type as this was the case in the old code!
10000
10001         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10002
10003         * BufferView2.C (showLockedInsetCursor): use iy
10004         (fitLockedInsetCursor): ditto
10005
10006         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10007         locked insets as there we have the right value now.
10008
10009         * lyxcursor.C: added iy_ variable and iy functions to set to the
10010         baseline of cursor-y of the locked inset.
10011
10012         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10013         (setCursor): fixed for insets which need a full row.
10014
10015         * text.C (rowLastPrintable): don't ignore the last space when before
10016         an inset which needs a full row.
10017         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10018         as last character of a row when before a inset which needs a full row.
10019
10020 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10021
10022         * version.C.in: update date
10023
10024         * text2.C (fullRebreak): try to always return true and see what
10025         happens...
10026
10027 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * MenuBackend.C (expand): use Floating::listName
10030
10031         * FloatList.C (FloatList): add listName argument to the built-in
10032         floats
10033
10034         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10035         text associated with the float.
10036
10037 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10038
10039         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10040
10041 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * ShareContainer.h: add a couple of missing typenames.
10044
10045 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10046
10047         * lyxrc.C (getDescription): use _() correctly rather than N_().
10048
10049 2002-03-28  Herbert Voss  <voss@lyx.org>
10050
10051         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10052         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10053
10054 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10055
10056         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10057         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10058
10059 2002-03-29  Juergen Vigna  <jug@sad.it>
10060
10061         * lyxfunc.C (dispatch): add a missing fitCursor call.
10062
10063         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10064         it was scrolled by a cursor move, so return the bool status.
10065
10066         * BufferView.C (fitCursor): return the bool flag also to the outside
10067         world as this is needed.
10068
10069         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10070
10071         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10072         call the edit() as it is not needed (and wrong) IMO.
10073         (workAreaButtonPress): set the screen_first variable before evt.
10074         unlock the inset as this may change screen_first and then we have
10075         a wrong y position for the click!
10076
10077 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * MenuBackend.C (expand): another translation that I missed
10080
10081 2002-03-28  Juergen Vigna  <jug@sad.it>
10082
10083         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10084
10085         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10086
10087 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10090
10091         * MenuBackend.C (expand): fix export/view/update when there is no
10092         document open.
10093
10094 2002-03-27  Herbert Voss  <voss@lyx.org>
10095
10096         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10097         and text%
10098
10099 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10100
10101         * bufferview_funcs.C (currentState): only show paragraph number
10102         for is DEVEL_VERSION is set.
10103
10104         * lyxfunc.C (dispatch): put warning in INFO channel
10105
10106         * MenuBackend.C (expand): translate the name of floats
10107
10108         * FloatList.C (FloatList): mark the float names for translation
10109
10110         * converter.C (convert): use LibScriptSearch
10111
10112 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10113
10114         * MenuBackend.C (defaults): fix default menu (we might as well get
10115         rid of it...)
10116
10117 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10118
10119         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10120         directory.
10121
10122 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10123
10124         * lyxvc.C: reorder includes.
10125
10126 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10129           properly
10130
10131 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * CutAndPaste.C: change layouts earlier on paste
10134           to avoid crashing when calling getFont()
10135
10136 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10137
10138         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10139         irritating #error.
10140
10141 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10142
10143         * WorkArea.C: remove 'Pending' debug message.
10144
10145         * most files: ws cleanup
10146
10147         * buffer.[Ch]: ws changes
10148
10149         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10150
10151 2002-03-21  Juergen Vigna  <jug@sad.it>
10152
10153         * tabular.C (SetMultiColumn): collapse also the contents of the
10154         cells and set the last border right. Added a Buffer const * param.
10155
10156 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10157
10158         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10159         linking or not.
10160
10161 2002-03-19  Juergen Vigna  <jug@sad.it>
10162
10163         * text2.C (clearSelection): reset also xsel_cache.
10164
10165         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10166         where it needs to be called (John tells us to do so too :)
10167         (selectionLost): reset sel_cache.
10168
10169         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10170
10171 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * text2.C (setCursorIntern): put debuging code in INSETS channel
10174
10175 2002-03-19  André Pönitz <poenitz@gmx.net>
10176
10177         * lyxfunc.C: tiny whitespace change
10178
10179 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10180
10181         * ToolbarDefaults.C (init):
10182         * LyXAction.C (init):
10183         * commandtags.h:
10184         * BufferView_pimpl.C (Dispatch):
10185         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10186
10187 2002-03-19  Allan Rae  <rae@lyx.org>
10188
10189         * exporter.C (Export): removeAutoInsets before doing anything else.
10190         While I've just introduced a dependency on BufferView this really is
10191         the best place to clean the buffer otherwise you need to cleanup in
10192         a dozen places before calling export or cleanup in a dozen functions
10193         that export calls.
10194
10195         * converter.C (runLaTeX):
10196         (scanLog): Better handling of removeAutoInsets and screen updates.
10197
10198         * lyxfunc.C (dispatch): small whitespace changes
10199
10200 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * WorkArea.C (C_WorkAreaEvent): return a value.
10203         (event_cb): return 1 if we handled the event, 0 otherwise.
10204
10205         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10206
10207 2002-03-18  Juergen Vigna  <jug@sad.it>
10208
10209         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10210         (GetAdditionalWidth): ditto.
10211         (RightLine): ditto.
10212         (LeftLine): ditto.
10213
10214         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10215         inset if we're there actually (probably not used right now but this
10216         is the direction to go for unifying code).
10217         (paste): disable code to clear the selection.
10218
10219         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10220         inside an InsetText and move the check further up as it is in the
10221         wrong place.
10222
10223         * text2.C (pasteSelection): set a selection over the pasted text.
10224
10225 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10226
10227         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10228         and libgraphics to build on Cygwin.
10229
10230 2002-03-15  Juergen Vigna  <jug@sad.it>
10231
10232         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10233         inserting an Inset into the paragraph. I know this is not the best
10234         fix but we already use current_view in CutAndPaste so we will remove
10235         all of it's using at the same time.
10236
10237         * buffer.C (sgmlError): deactivated function till it is rewritten in
10238         the right mode, now it can create problems.
10239
10240         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10241         before accessing it.
10242
10243 2002-03-14  Juergen Vigna  <jug@sad.it>
10244
10245         * undo_funcs.C (textHandleUndo): do the right thing when updating
10246         the inset after the undo/redo.
10247
10248         * text2.C (setCursor): just some testcode for #44 not ready yet.
10249
10250         * undo_funcs.C (textHandleUndo): set the next() and previous()
10251         pointers of the paragraph to 0 before deleting otherwise we have
10252         problems with the Paragraph::[destructor].
10253
10254         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10255         on a paragraph insertion.
10256
10257 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10258
10259         * buffer.C (asciiParagraph): use += operator for char append to
10260         string.
10261
10262         * paragraph.C (getFontSettings): compare >= not just >
10263         (highestFontInRange): ditto
10264         (setFont): ditto
10265
10266 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10267
10268         * paragraph.C: change several algorithm to be more appripriate for
10269         the problem domain. This is lookip in FontList and in the InsetList.
10270
10271 2002-03-13  André Pönitz <poenitz@gmx.net>
10272
10273         * commandtags.h:
10274         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10275
10276 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10277
10278         * commandtags.h:
10279         * LyXAction.C:
10280         * lyxfunc.C:
10281         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10282
10283 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10284
10285         * Painter.C (display): anon helper function, adjust code for this
10286         change.
10287         (pixmap): remove function.
10288
10289         * Painter.h: remove private display variable.
10290
10291         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10292
10293 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10294
10295         * WorkArea.[Ch]: remove figinset_canvas cruft.
10296
10297 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * lyxtextclass.C (operator): add one item cache optimization.
10300
10301         * bufferlist.h: doxy changes
10302
10303         * bufferlist.C: ws changes
10304
10305         * DepTable.[Ch] (ext_exist): place const in the right spot.
10306
10307         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10308         call resizeInsets.
10309         (workAreaExpose): call resizeInsets when the with BufferView changes.
10310         (Dispatch): adjust for protectedBlank removal
10311         (specialChar): call updateInset if the insert went ok.
10312
10313         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10314         specialChar instead.
10315
10316         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10317
10318         * BufferView.h: doxy change
10319
10320         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10321
10322         * lyxtextclass.C (operator[]): remove non-const version
10323         (defaultLayout): remove non-const version
10324
10325 2002-03-12  Juergen Vigna  <jug@sad.it>
10326
10327         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10328         did resize the LyXText too.
10329
10330         * buffer.C (readLyXformat2): set layout information on newly allocated
10331         paragraphs.
10332
10333         * tabular.C (OldFormatRead): set layout information on the paragraph.
10334
10335 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10336
10337         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10338
10339 2002-03-11  Juergen Vigna  <jug@sad.it>
10340
10341         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10342         plainly wrong.
10343         (resizeCurrentBuffer): force also the insets to resize themselfes.
10344         (moveCursorUpdate): fixed up for InsetText.
10345
10346 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10347
10348         * commandtags.h:
10349         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10350         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10351         value of Dialogs::tooltipsEnabled().
10352         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10353
10354 2002-03-08  Juergen Vigna  <jug@sad.it>
10355
10356         * BufferView_pimpl.C (updateInset): update inset inside inset also
10357         if it isn't inside theLockingInset().
10358
10359 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10360
10361         * buffer.C (asciiParagraph): redo some of the word and line length
10362         handling.
10363         (getLists): look for Caption instead of caption.
10364
10365 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10366
10367         * buffer.C (Buffer): initialize niceFile to true
10368         (makeLaTeXFile):
10369         (makeLinuxDocFile):
10370         (makeDocBookFile): make sure niceFile is true on exit
10371
10372 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10373
10374         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10375
10376 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10377
10378         * LyXSendto.C: remove.
10379         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10380         * lyx_gui.C: remove now-redundant comment.
10381         * ColorHandler.h: remove forward declaration of class WorkArea.
10382         * lyxfunc.C: remove #include "WorkArea.h".
10383
10384 2002-03-07  Juergen Vigna  <jug@sad.it>
10385
10386         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10387         got moved away with the DEPM and also set the inset_owner always
10388         right which before could have been omitted.
10389
10390 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10391
10392         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10393         wanted layout is not found.
10394
10395 2002-03-07  Juergen Vigna  <jug@sad.it>
10396
10397         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10398
10399 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10400
10401         * paragraph.C (breakParagraph): use default layout not layout of
10402         prev paragraph.
10403         (Paragraph): clear ParagraphParameters.
10404
10405 2002-03-06  Juergen Vigna  <jug@sad.it>
10406
10407         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10408         otherwise it would not be a valid lenght. Fixed a special case in
10409         the minipage compatibility read where we end the document with a
10410         minipage.
10411
10412         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10413         was set as it could be 0 for InsetTexts first entry.
10414
10415 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10416
10417         * paragraph.C (writeFile): if layout is empty write out
10418         defaultLayoutName().
10419
10420         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10421         file without named layout we set layout to defaultLayoutName().
10422
10423 2002-03-06  Juergen Vigna  <jug@sad.it>
10424
10425         * CutAndPaste.C (copySelection): set layout for new paragraph.
10426
10427         * text.C (prepareToPrint): leave ERT inset left aligned
10428         (leftMargin): don't indent paragraphs inside ERT insets
10429
10430 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10431
10432         * paragraph.C (breakParagraph): dont call clear do the work manually
10433
10434         * paragraph.[Ch] (clear): remove function
10435
10436 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10437
10438         * paragraph.C (Paragraph): dont call clear, the work has already
10439         been done.
10440
10441         * lyxtextclass.C (operator): assert if n is empty
10442
10443         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10444         work manually instead.
10445
10446 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * BufferView_pimpl.C: protect selectionLost against text == 0
10449
10450 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10451
10452         * text.C (breakParagraph): fix a setting layout to '0' problem.
10453
10454 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10455
10456         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10457         final location of file, for the included files, and graphics.
10458
10459 2002-03-05  Juergen Vigna  <jug@sad.it>
10460
10461         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10462
10463 2002-03-04  Juergen Vigna  <jug@sad.it>
10464
10465         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10466
10467         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10468         last column of multicolumn cells.
10469         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10470
10471 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10472
10473         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10474         file if it doesn't go to a temporary file.
10475
10476         * buffer.C (sgmlOpenTag):
10477         (sgmlCloseTag):  remove extra newline insertion.
10478
10479 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10480
10481         * text.C (getRowNearY): comment out debug msg
10482
10483 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10484
10485         * text2.C: first -> first_y
10486
10487         * text.C (getRowNearY): add some attemts at a possible
10488         optimization, not working.
10489
10490         * tabular.[Ch]: add BufferParams to several function so that newly
10491         created paragraph can be initialized to he default layotu for the
10492         buffers textclass.
10493
10494         * tabular-old.C (ReadOld): add buf->params to call of Init
10495
10496         * screen.C: rename text->first to text->first_y
10497
10498         * paragraph.C (breakParagraph): always set layout in the broken
10499         paragraph
10500
10501         * lyxtextclass.C (Read): remove lowercase
10502         (hasLayout): ditto
10503         (operator): ditto
10504         (delete_layout): ditto
10505
10506         * lyxtext.h: rename first -> first_y
10507
10508         * lyxlayout.C (Read): remove lowercase
10509         (name): ditto
10510         (setName): ditto
10511         (obsoleted_by): ditto
10512
10513         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10514
10515         * buffer.C (insertErtContents): add params are to InsetERT
10516         (parseSingleLyXformat2Token): add code to check if a paragraphs
10517         layout really exist.
10518         (parseSingleLyXformat2Token): add params to several inset
10519         constructors
10520         (asciiParagraph): remove lowercase, do the layout comparisons with
10521         no_case
10522
10523         * BufferView_pimpl.C (cursorNext): first -> first_y
10524         (resizeCurrentBuffer): first -> first_y
10525         (updateScrollbar): first -> first_y
10526         (scrollCB): first -> first_y
10527         (workAreaMotionNotify): first -> first_y
10528         (workAreaButtonPress): first -> first_y
10529         (checkInsetHit): first -> first_y
10530         (cursorPrevious): first -> first_y
10531         (cursorNext): first -> first_y
10532         (Dispatch): add buffer_->params to severl inset contructors
10533
10534 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * lyxlayout.C (Read): remove some debug info that I forgot.
10537
10538         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10539         clean up the code slightly.
10540         (makeLinuxDocFile): ditto
10541         (makeDocBookFile): ditto
10542
10543         * text2.C: layout as string
10544
10545         * text.C: layout as string
10546
10547         * paragraph_pimpl.C: layout as string
10548
10549         * paragraph.[Ch]: layout as string
10550
10551         * lyxtextclasslist.[Ch]: layout as string
10552
10553         * lyxtextclass.[Ch]: layout as string
10554
10555         * lyxtext.h: layout as string
10556
10557         * lyxlayout.[Ch]: layout as string
10558
10559         * lyx_cb.C: layout as string
10560
10561         * bufferview_funcs.C: layout as string
10562
10563         * bufferparams.C: layout as string
10564
10565         * buffer.C: layout as string
10566
10567         * LyXView.[Ch]: layout as string
10568
10569         * LaTeXFeatures.[Ch]: layout as string
10570
10571         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10572
10573         * BufferView_pimpl.C: change current_layout to string, remove
10574         lyx::layout_type.
10575         (Dispatch):
10576         (smartQuote):
10577         (insertInset):
10578         (workAreaButtonRelease): layout as string
10579
10580         * BufferView2.C (unlockInset): adjust
10581
10582         * vspace.C (asLatexCommand): use an explict temp variable.
10583
10584 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * Makefile.am: use FRONTEND_*
10587
10588 2002-03-01  Juergen Vigna  <jug@sad.it>
10589
10590         * tabular.C (SetWidthOfMulticolCell): changed to something better
10591         I hope but still work in progress.
10592         (recalculateMulticolumnsOfColumn): renamed function from
10593         recalculateMulticolCells as it is more appropriate now.
10594         (SetWidthOfCell): calculate multicols better.
10595
10596 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10597
10598         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10599
10600         * lyxfunc.C (processKeySym): print sequence also if it is
10601         `deleted' (complete)
10602
10603         * kbsequence.C (print): print sequence even if it is deleted
10604         (complete would be a better word, actually).
10605
10606         * lyxfunc.C (dispatch): print complete options after a prefix key
10607
10608         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10609
10610 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10611
10612         * text2.C (setCharFont): eliminate setCharFont code duplication.
10613
10614 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10615
10616         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10617         LFUN_TABULAR_FEATURE (bug #177)
10618
10619 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10620
10621         * Makefile.am: remove figure.h
10622
10623 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10624
10625         * Bufferview_pimpl.C:
10626         * CutAndPasteC:
10627         * LaTeX.C:
10628         * LyXSendto.C:
10629         * buffer.C:
10630         * bufferlist.C:
10631         * converter.C:
10632         * language.C:
10633         * lyxfunc.C:
10634         * lyxvc.C:
10635         * paragraph.C:
10636         * text.C:
10637         * text2.C: remove #include "lyx_gui_misc.h".
10638
10639         * LaTeX.C: added #include <cstdio>
10640
10641 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10644         that the paragraph following this one can have.
10645
10646         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10647
10648         * vspace.C (asLatexCommand): fix bogus gcc warning
10649
10650         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10651
10652 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10653
10654         * text2.C (setLayout): get rid of redundant code
10655
10656 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10657
10658         * text2.C (incDepth): make sure depth cannot be increased beyond
10659         reasonable values.
10660
10661 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10662
10663         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10664         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10665
10666         * PainterBase.h (image):
10667         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10668         a LyXImage const *.
10669
10670 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * BufferView.C:
10673         * BufferView.h:
10674         * BufferView_pimpl.C:
10675         * BufferView_pimpl.h:
10676         * LaTeXFeatures.C:
10677         * LyXAction.C:
10678         * LyXView.C:
10679         * Makefile.am:
10680         * UpdateList.h:
10681         * UpdateList.C:
10682         * buffer.C:
10683         * figure.h:
10684         * figureForm.C:
10685         * figureForm.h:
10686         * figure_form.C:
10687         * figure_form.h:
10688         * lyx_cb.C:
10689         * lyx_gui.C:
10690         * lyx_gui_misc.C:
10691         * lyxfunc.C:
10692         * sp_base.h:
10693         * sp_ispell.h:
10694         * sp_pspell.h:
10695         * sp_spell.C: remove fig inset, and the crap house of
10696           cards that follows it
10697
10698 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * Makefile.am:
10701         * lyxserver.C:
10702         * os2_defines.h:
10703         * os2_errortable.h:
10704         * nt_defines.h: move .h into support/
10705
10706         * vms_defines.h: remove
10707
10708         * WorkArea.C: add space in debug output
10709
10710         * text2.C:
10711         * paragraph.C:
10712         * buffer.C: add WITH_WARNINGS
10713
10714         * vc-backend.h:
10715         * vc-backend.C:
10716         * bufferlist.C: s/retrive/retrieve/, add docs
10717
10718         * vspace.h:
10719         * vspace.C:
10720         * kbmap.h:
10721         * lyxlength.h:
10722         * lyxgluelength.h:
10723         * length_common.h:
10724         * chset.h:
10725         * chset.C: add docs
10726
10727         * lyxgui.C: add ID to X error handler
10728
10729         * lyxtestclass.c: fix typo
10730
10731 2002-02-26  Juergen Vigna  <jug@sad.it>
10732
10733         * tabular_funcs.C (write_attribute): changed so that some default
10734         attributes are not written at all.
10735         (getTokenValue): set default values before trying to read the
10736         value so we have the return value always set as default if we don't
10737         find the token we search for.
10738
10739         * tabular.C (Write): write bools as bools not as strings!
10740
10741 2002-02-22  Juergen Vigna  <jug@sad.it>
10742
10743         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10744         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10745
10746         * text.C (leftMargin): don't add an indent for paragraphs inside
10747         tabular cells (fix #208).
10748
10749 2002-02-21  José Matos  <jamatos@fep.up.pt>
10750
10751         * tabular.C (docBook): fixed support for long tables.
10752
10753 2002-02-20  Juergen Vigna  <jug@sad.it>
10754
10755         * text2.C (getFont): get the drawing font of the Inset if this
10756         paragraph is inside an inset (only important for InsetERT for now).
10757
10758         * buffer.C (insertErtContents): use new lanugage params in ERT
10759         constructor.
10760
10761         * CutAndPaste.C: commenting out seemingly uneeded code.
10762
10763 2002-02-19  Allan Rae  <rae@lyx.org>
10764
10765         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10766         Iterators might be simple to use but they also get invalidated.
10767         (removeAutoInsets): renamed saved cursor tracking variables and added
10768         some comments to clarify what everything does.
10769
10770 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10771
10772         * Chktex.C:
10773         * LaTeX.C:
10774         * LyXSendto.C:
10775         * converter.C:
10776         * lyx_cb.C:
10777         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10778         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10779
10780         * lyxfunc.C:
10781         * vc-backend.h: remove #include "support/syscall.h"
10782
10783         * LaTeX.C:
10784         * LyXSendto.C:
10785         * converter.C: rearrange #includes in Lars' approved fashion.
10786
10787         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10788         forward declare class Timeout in the header file.
10789
10790         * XFormsView.C: changes due to the above.
10791
10792         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10793         similar to LyXView.
10794
10795         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10796         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10797
10798 2002-02-18  José Matos  <jamatos@fep.up.pt>
10799
10800         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10801         insets contents.
10802
10803 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10804
10805         * a lot of small ws changes
10806         * add a lot of using std::XXX
10807         * use std construcs some places where approp.
10808         * use some exisint stuff from lyxfunctional where approp.
10809         * Make file changes to use partial linking (lets test this now...)
10810
10811 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10812
10813         * Chktex.C:
10814         * buffer.C:
10815         remove #include "support/syscontr.h" as it's redundant. Always has been.
10816
10817         * Chktex.C:
10818         * LaTeX.C:
10819         * LyXSendto.C:
10820         * converter.C:
10821         * lyx_cb.C:
10822         * vc-backend.C:
10823         change Systemcalls::System to Systemcalls::Wait and
10824         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10825         No change of functionality, just reflects the stripped down Systemcalls
10826         class.
10827
10828 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10829
10830         * debug.[Ch]: add a GRAPHICS type to the enum.
10831
10832 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10833
10834         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10835
10836         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10837         there is an inset.
10838
10839 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10840
10841         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10842         match the changes below.
10843
10844         * text2.C (toggleInset): if there is not editable inset at cursor
10845         position, try to see if cursor is _inside_ a collapsable inset
10846         and close it.
10847
10848 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10849
10850         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10851         document menu has a nice checkbox
10852
10853 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * lyxlength.C (asLatexString): change PW to output as percent of
10856         \textwidth.
10857
10858         * lengthcommon.C: change '%' to 't%'
10859
10860         * lyxfunc.C (dispatch): a few comments from Martin
10861
10862 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * WorkArea.h:
10865         * WorkArea.C:
10866         * BufferView_pimpl.h:
10867         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10868           the X selection.
10869
10870 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10871
10872         * vspace.C (inPixels): fix compiler warning
10873
10874 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10875
10876         * lyxfunc.C (getStatus): fix status message for disabled commands.
10877
10878 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10879
10880         * BufferView_pimpl.C: fix crash on close buffer
10881         during selection (#227)
10882
10883 2002-01-27  Herbert Voss  <voss@lyx.org>
10884
10885         * buffer.C: link old Figure to new graphic inset
10886
10887 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10888
10889         * FontLoader.C (getFontinfo): Change the latex font names in order
10890         to match the names of type1inst.
10891
10892 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10895
10896         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10897         (extchanged): ditto
10898         (ext_exist): ditto
10899         (remove_files_with_extension): ditto
10900         (remove_file): ditto
10901         (write): ditto
10902
10903         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10904         document is smaller than the work area height. Do not initialize
10905         static variables to 0.
10906
10907 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10910
10911         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10912         LFUN_LAYOUT_PARAGRAPHS.
10913
10914         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10915         tabular. It is possible to provide a possible cell, which will
10916         typically be the actcell from the corresponding insettabular
10917
10918         * lyxfunc.C (getStatus): small cleanup; disable
10919         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10920         true
10921
10922 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10923
10924         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10925
10926         * paragraph.C (startTeXParParams):
10927         (endTeXParParams): new methods. The LaTeX code to
10928         start/end paragraph formatting
10929         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10930         empty (fixes bug #200)
10931
10932         * vspace.C (inPixels): adapt to the change below
10933         (inPixels): [later] more cleanups (remove unused variables)
10934
10935         * lyxlength.C (inPixels): change to use a width and a height as
10936         parameter.
10937
10938 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10939
10940         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10941         Replaced with \paperwidth
10942
10943         * DepTable.C (insert): add std:: qualifier
10944
10945 2002-01-18  Allan Rae  <rae@lyx.org>
10946
10947         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10948         updated also?
10949
10950         * text.C (drawInset): Turned out I didn't know enough about how
10951         rebreaking worked.  This fixes most of the redraw problems.  I see
10952         an occasional cursor trail when a line is broken now and the cursor
10953         placement can seem out by a few pixels also after a rebreak.
10954
10955 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10956
10957         * buffer.C (parseSingleLyXformat2Token): update because minipage
10958         width is now a LyXLength
10959
10960         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10961
10962         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10963         math insets
10964
10965 2002-01-17  Juergen Vigna  <jug@sad.it>
10966
10967         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10968
10969         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10970         is set correctly and the inset is updated correctly.
10971
10972 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10975         the beginning of the loop.
10976
10977 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10978
10979         * lyxrc.C: improve help for use_scalable_fonts
10980
10981 2002-01-17  Allan Rae  <rae@lyx.org>
10982
10983         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10984
10985 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10986
10987         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10988         make sure to set their inset_owner to the right value (bug #171)
10989
10990 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10991
10992         * DepTable.h
10993         * DepTable.C: Implement mtime checking to reduce time spent doing
10994         CRCs.
10995
10996 2002-01-16  Juergen Vigna  <jug@sad.it>
10997
10998         * tabular.C (GetAdditionalHeight): one of error fixed.
10999
11000         * lyxrc.C (output): small fix in writing use_pspell.
11001
11002 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11003
11004         * sp_base.h: #include LString.h
11005
11006 2002-01-16  Allan Rae  <rae@lyx.org>
11007
11008         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11009         Can someone check this please?
11010
11011         * text.C (drawInset): It was possible that p.row would be removed by
11012         breakAgainOneRow upsetting a few other settings.  There may be another
11013         small tweak possible by setting need_break_row = 0 when p.row has been
11014         removed but I don't know enough about the logic here.
11015
11016 2002-01-15  Allan Rae  <rae@lyx.org>
11017
11018         * text.C (insertChar): removed conditional truism.
11019
11020         * BufferView2.C (removeAutoInsets): More tweaks.
11021         cur_par_prev could be a stray pointer.  Check for trailing empty line
11022         in case last line was cur_par and only had an error inset on it.
11023
11024 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11027         absolute
11028
11029         * vc-backend.C (most methods):
11030         * exporter.C (Export):
11031         * converter.C (convert):
11032         (runLaTeX):
11033         * LyXSendto.C (SendtoApplyCB):
11034         * lyxfunc.C (dispatch):
11035         (menuNew):
11036         (open):
11037         (doImport):
11038         * lyx_cb.C (AutoSave):
11039         (InsertAsciiFile):
11040         * BufferView_pimpl.C (MenuInsertLyXFile):
11041         * buffer.C (runChktex): use Buffer::filePath().
11042
11043         * buffer.h: rename filename to filename_; rename filepath to
11044         filepath_ and make it private
11045         (filePath): new method
11046
11047         * buffer.C (writeFile): use fileName()
11048         (getLatexName):
11049
11050         * lyx_main.C (init): fix starting  of LyX when the binary is a
11051         link from so,ewhere else.
11052
11053         * minibuffer.C: include <cctype> for isprint
11054
11055 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11056
11057         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11058         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11059         name clash with InsetCollapsable's width function.
11060
11061 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11062
11063         * lastfiles.C: include <iterator>
11064
11065 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11066
11067         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11068         std::count.
11069
11070         * buffer.C (makeLaTeXFile): ditto.
11071         Also make loop operation more transparent.
11072
11073 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11074
11075         * ToolbarDefaults.C: remove trailing comma closing namespace.
11076
11077         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11078
11079         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11080         as in WorkArea.
11081
11082         * trans.C (Load): comment out unused variable, allowed.
11083
11084 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11085
11086         * minibuffer.[Ch] (append_char): new method to recieve input from the
11087         drop-down completion browser. If a key was pressed, then recieve this
11088         char and append it to the existing string.
11089         (peek_event): modify the positioning data passed to the completion
11090         browser so that it can be placed above the minibuffer rather than below.
11091 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11092
11093         * LyXAction.C (init): alloe error-next for readonly documents.
11094
11095         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11096         count.
11097
11098 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11099
11100         * bufferlist.C (readFile): create the buffer _after_ checking that
11101         the file exists.
11102
11103         * lyxfunc.C (verboseDispatch): fix handling of arguments
11104
11105         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11106
11107         * lyxrc.C: use string::erase() instead of initializing to "".
11108
11109
11110 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * BufferView_pimpl.h:
11113         * BufferView_pimpl.C:
11114         * WorkArea.h:
11115         * WorkArea.C:
11116         * text2.C: tell X when we have made a selection for copying
11117
11118 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11119
11120         * BufferView_pimpl.C (MenuInsertLyXFile):
11121         * lyxfunc.C (menuNew):
11122         (open):
11123         (doImport): add shortcuts to directory buttons
11124
11125         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11126         open a float)
11127
11128         * lyxfunc.C (setStatusMessage):
11129         (getStatusMessage): new methods
11130         (getStatus):use setStatusMessage instead of setErrorMessage
11131         (dispatch): when function is disabled, set error message here
11132         [instead of in getStatus previously]
11133
11134         * BufferView_pimpl.C (workAreaButtonRelease): update
11135         toolbar/menubar here too.
11136
11137 2002-01-13  Allan Rae  <rae@lyx.org>
11138
11139         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11140         Now seems indestructible.  Remaining task is to audit all other
11141         code affected by deleteEmptyParagraphMechanism.  One small quirk
11142         left is that an empty document with an error in the preamble can
11143         be made to report an error but no error box appears.  I don't know
11144         where it goes.
11145         (removeAutoInsets): Improved comments.
11146
11147 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * Thesaurus.h:
11150         * Thesaurus.C: update for Aiksaurus 0.14
11151
11152 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11153
11154         * text2.C (firstParagraph): removed member function, all uses
11155         replaces with ownerParagraph
11156         (redoParagraphs): here
11157         (updateInset): here
11158         (toggleAppendix): here
11159         * BufferView2.C (insertErrors): here
11160         (setCursorFromRow): here
11161
11162 2002-01-13  Allan Rae  <rae@lyx.org>
11163
11164         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11165         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11166         There is still a way to segfault this although you may have to do this
11167         multiple times: Have an InsetERT with an unknown command in it.
11168         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11169         <down-arrow>, <Enter> again, View->DVI, BANG!
11170
11171         * text2.C (setCursor):
11172         (deleteEmptyParagraphMechanism):
11173         * lyxtext.h (setCursor):
11174         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11175         Making use of the return value may help fix other bugs.
11176
11177 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11178
11179         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11180
11181         * LyXView.C (updateMenubar): call MenuBar::update here
11182         (updateToolbar): but not here
11183         (showState): do not update toolbar/menubar
11184
11185         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11186         should need to care about that.
11187
11188         * lyxfunc.C (verboseDispatch): simplify a bit
11189         (getStatus): have a version which takes a pseudoaction, and
11190         another which requires a (kb_action,string).
11191
11192         * LyXAction.C (retrieveActionArg): make it work also when action
11193         is not a pseudo-action.
11194         (getActionName): simplify a bit
11195         (helpText):
11196
11197 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * lyxfunc.C (verboseDispatch): new families of methods with
11200         several ways to specify a command and a bool to indicate whether
11201         the command name and shortcut should be displayed in minibuffer
11202         (eventually, we could extend that to a finer bitmask like
11203         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11204         (dispatch): the pristine dispatch command which just, well,
11205         dispatchs! Note it still sets its result to minibuffer; I'm not
11206         sure we want that.
11207
11208         * lyxfunc.h: remove setHintMessage
11209
11210         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11211
11212 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11213
11214         * BufferView_pimpl.C (specialChar): delete new inset if we have
11215         not been able to insert it.
11216
11217         * kbmap.C: revert to using int instead of kb_action, since all we
11218         are dealing with is pseudo-actions.
11219
11220         * LyXAction.C (searchActionArg): change to return int instead of
11221         kb_action, since the result is a pseudoaction.
11222
11223 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11224
11225         * buffer.C (insertErtContents): Fix (partially) the font bug.
11226
11227 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11228
11229         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11230         as the other one is broken on my machine!
11231
11232 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11233
11234         * commandtags.h:
11235         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11236
11237 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11238
11239         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11240         reflect their actual use. Provide compatibility code for older lyxrc
11241         files.
11242
11243         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11244         FL_NORMAL_STYLE.
11245         change names of popup font variables in line with the changes to lyxrc.C
11246
11247 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * buffer.C (asciiParagraph): avoid outputing a word twice after
11250         an inset.
11251
11252         * lyxrc.C (getDescription): document that document_path and
11253         template_path can be empty.
11254
11255 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11256
11257         * LaTeXFeatures.C (getMacros):
11258         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11259
11260         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11261
11262         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11263         getPackages.
11264         (getPackages): rename feature "floats" to "float". Use an array to
11265         iterate over 'simple' features (i.e. just a \usepackage). Add
11266         handling of "amsmath" (renamed from "amsstyle").
11267
11268 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11269
11270         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11271         features list.
11272
11273 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11274
11275         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11276         FuncStaus::FuncStatus & FuncStaus::some_method().
11277
11278 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11279
11280         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11281         of the func_satus stuff. Edited and massaged in various ways by
11282         JMarc.
11283
11284         * lyxfunc.C (getStatus): use FuncStatus
11285
11286 2002-01-08  Juergen Vigna  <jug@sad.it>
11287
11288         * text.C (nextBreakPoint): use function Inset::isChar().
11289
11290         * paragraph.C (TeXOnePar): use function
11291         Inset::forceDefaultParagraphs.
11292
11293         * buffer.C (latexParagraphs): use function
11294         Inset::forceDefaultParagraphs.
11295
11296 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11297
11298         * lyx_gui.C (init): set the style of the menu popups to
11299         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11300
11301 2002-01-07  Juergen Vigna  <jug@sad.it>
11302
11303         * text.C (setHeightOfRow): small fix
11304         (prepareToPrint): don't look at alignment if we don't have the place
11305         for doing it.
11306
11307 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11308
11309         * box.C: New file. Move the Box methods and functions out of box.h,
11310         following Lars' suggestion.
11311
11312 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11313
11314         * box.h: #include "support/LOstream.h", needed for inlined function.
11315
11316         * lyxtextclass.C:
11317         * lyxtextclasslist.C: added some using std declarations.
11318
11319 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * box.h: make signed dimensions to allow insets wider than
11322           the screen (bug #162)
11323
11324         * BufferView_pimpl.C: add some insetHit debug
11325
11326 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11327
11328         * vc-backend.C: add FIXME
11329
11330 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * lyxfunc.C (getStatus): enable code for showing math font status
11333         in toolbar/menu.
11334
11335 2002-01-07  Juergen Vigna  <jug@sad.it>
11336
11337         * text.C (nextBreakPoint): removed debug output not needed anymore.
11338
11339 2002-01-06  Juergen Vigna  <jug@sad.it>
11340
11341         * text.C (nextBreakPoint): fixed up this function we had this bug
11342         since ever but now hopefully we break row better.
11343         (insertChar): we have to check if an inset is the next char as it
11344         could now happen that a large inset is causing a break.
11345
11346 2002-01-05  Juergen Vigna  <jug@sad.it>
11347
11348         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11349         if it doesn't like to be drawed.
11350
11351 2002-01-04  Juergen Vigna  <jug@sad.it>
11352
11353         * BufferView2.C (lockInset): forgot to set a cursor.
11354
11355         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11356
11357 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11358
11359         * FormMathsPanel.C:
11360         * FormMathsPanel.h
11361         * MathsSymbols.C:
11362         * form_maths_panel.C:
11363         * form_maths_panel.h:
11364         * form_maths_panel.fd: implemented sub- and super- buttons in math
11365         panel.
11366
11367         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11368         (or ^ space) to be used as in TeX (req'd by André).
11369
11370         * lyxfunc.C: Allow ^ and _ again to be used both as
11371         super/subscript (mathed) and as themselves (in text).
11372
11373 2002-01-03  Allan Rae  <rae@lyx.org>
11374
11375         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11376         "LyX" or the filename of the current buffer if it has one.  This is a
11377         modified form of John Levon's patch.
11378
11379         * XFormsView.C (setWindowTitle): also set icon title.
11380
11381         * LyXView.h (setWindowTitle): signature changed.
11382         * XFormsView.h (setWindowTitle): ditto.
11383
11384 2002-01-02  Juergen Vigna  <jug@sad.it>
11385
11386         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11387
11388 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11389
11390         * screen.C (topCursorVisible): introduce a temp var for
11391         text->cursor.row(), handle the case where this row is null. (kindo
11392         hachish)
11393
11394         * text2.C (setCursor): add a couple of asserts.
11395
11396         * paragraph.h (inset_iterator): add -> operator
11397
11398         * paragraph.[Ch] (autoDeleteInsets): remove member function
11399
11400         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11401         cursor pos correctly and handle inset deletion by itself.
11402         (insertErrors): move iterator declaration out of for expression
11403
11404         * lyxtextclass.C: add <algorithm>
11405
11406         * Makefile.am: added the new files to sources, removed layout.C
11407
11408         * layout.C: removed file
11409
11410         * layout.h: remove LYX_DUMMY_LAYOUT
11411
11412         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11413         layout.
11414
11415         * lyxlayout.[Ch]:
11416         * lyxtextclass.[Ch]:
11417         * lyxtextclasslist.[Ch]: new files
11418
11419         * include order changes to a lot of files, also changes because of
11420         the six new files.
11421
11422 2001-12-27  Juergen Vigna  <jug@sad.it>
11423
11424         * buffer.C (asciiParagraph): more fixes.
11425
11426         * tabular.C (ascii): make ascii export support export of only the
11427         data separated by a column-delimiter.
11428         (ascii): better support for ascii export.
11429
11430         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11431
11432 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11433
11434         * tabular_funcs.C: use a "using std::getline" instead of the
11435         previous fix from Angus (necessary for cxx + lyxstring)
11436
11437 2001-12-24  Juergen Vigna  <jug@sad.it>
11438
11439         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11440
11441         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11442         problems. First check a minipage also if we have some ert-contents
11443         (not only on par->size(), second set the right depth of the paragraph
11444         on the relink to the root-paragraph-list!
11445
11446         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11447         which then did not anymore update the main paragraphs on undo/redo!
11448
11449 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11450
11451         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11452         code. Support all font-changing funcs (even those which are not in
11453         menu currently). Support for reporting font settings in
11454         mathed (disabled until Andre provides a function on mathed's side).
11455
11456         * func_status.h (toggle): small helper function to set toggle
11457         state on a flag.
11458
11459 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11460
11461         * tabular_funcs.C: getline -> std::getline
11462
11463 2001-12-21  Juergen Vigna  <jug@sad.it>
11464
11465         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11466         accessed and could be 0 (I couldn't generate this but it seems
11467         Michael could!).
11468
11469 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11472         * tabular_funcs.h: here and include iosfwd
11473
11474 2001-12-20  Juergen Vigna  <jug@sad.it>
11475
11476         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11477         inside inset but undo_par was.
11478
11479 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11480
11481         * Thesaurus.C: always include <config.h> in sources.
11482
11483         * Painter.h:
11484         * lyxlookup.h:
11485         * box.h: do not include <config.h> in header files
11486
11487         * text.C (paintLastRow): remove unused variable
11488
11489         * text.C (transformChar):
11490         (insertChar):
11491         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11492
11493         * Painter.C (text):
11494         * font.C (width): rewrite to use uppercase() instead of
11495         islower/toupper.
11496
11497         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11498
11499 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lyxfind.C: clean up of find failure position change
11502
11503 2001-12-20  Juergen Vigna  <jug@sad.it>
11504
11505         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11506
11507         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11508         (TeXRow): added to LaTeX a single tabular row.
11509         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11510         (Latex): simplified and finally good LT-h/f support.
11511         (various_functions): just small adaptions for LT-h/f support.
11512
11513         * tabular_funcs.[hC]: added and moved here all not classfunctions
11514         of LyXTabular.
11515
11516 2001-12-19  Juergen Vigna  <jug@sad.it>
11517
11518         * tabular.[Ch]: better support for longtabular options (not finished
11519         yet!)
11520
11521 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * text.C (paintLastRow): use the label font instead of the font of
11524         the last character to compute the size of *_BOX. This makes more
11525         sense and avoids a crash with empty paragraphs.
11526         Use Painter::rectangle to draw EMPTY_BOX.
11527
11528 2001-12-19  Juergen Vigna  <jug@sad.it>
11529
11530         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11531         the paragraphs if the replaced paragraph is not the first one!
11532         Tried to delete not used paragraphs but does not work yet so for
11533         now it's inside #ifdef's and by default off!
11534
11535 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11536
11537         * MenuBackend.C: include "lyx_main.h" instead of declaring
11538         lastfiles (actually was declared as LastFiles* instead of a
11539         scoped_ptr).
11540
11541 2001-12-17  Juergen Vigna  <jug@sad.it>
11542
11543         * tabular.C (AppendColumn): applied John's fix
11544
11545 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11546
11547         * BufferView.h:
11548         * BufferView.C:
11549         * BufferView_pimpl.h:
11550         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11551
11552         * Makefile.am:
11553         * box.h: new start of class for above
11554
11555         * lyxfunc.C: ignore space-only minibuffer dispatches.
11556           Show the command name when it doesn't exist
11557
11558         * minibuffer.C: don't add empty lines to the history
11559
11560         * minibuffer.C: add a space on dropdown completion
11561
11562 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * text.C: fix line above/below drawing in insets
11565
11566 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * lyxlength.C (LyXLength): Initialize private variables.
11569
11570 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11571
11572         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11573         when inserting error insets.
11574
11575 2001-12-13  Juergen Vigna  <jug@sad.it>
11576
11577         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11578         actually sometimes the before-paragraph.
11579         (setUndo): don't clear the redostack if we're not actually undoing!
11580
11581 2001-12-06  Juergen Vigna  <jug@sad.it>
11582
11583         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11584         and fixed redoing of main paragraph, so we can use it now ;)
11585
11586         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11587
11588 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11589
11590         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11591         Juergen's request
11592
11593 2001-12-13  André Pönitz <poenitz@gmx.net>
11594
11595         * undostack.[Ch]:
11596         * undo_func.C: minor cleanup
11597
11598 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11599
11600         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11601         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11602         font in urw-fonts package which is marked as -urw-fontspecific and
11603         does not work (incidentally, changing the encoding in the
11604         fonts.dir of this package to -adobe-fontspecific fixes the
11605         problem).
11606
11607         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11608         is a crash when undoing first paragraph (Juergen, please take a
11609         look). THis does not mean the undo fix is wrong, just that it
11610         uncovers problems.
11611
11612         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11613         the (Paragraph*) version when needed instead of duplicating the
11614         code.
11615
11616         * text.C (workWidth): use Inset::parOwner to find out where the
11617         inset has been inserted. This is a huge performance gain for large
11618         documents with lots of insets. If Inset::parOwner is not set, fall
11619         back on the brute force method
11620
11621         * paragraph_pimpl.C (insertInset):
11622         * paragraph.C (Paragraph):
11623         (cutIntoMinibuffer): set parOwner of insets when
11624         inserting/removing them
11625
11626         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11627
11628 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11629
11630         * commandtags.h:
11631         * LyXAction.C:
11632         * lyx_main.C:
11633         * lyxfunc.C:
11634         * mathed/formulabase.C:
11635         * mathed/math_cursor.[Ch]:
11636         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11637
11638
11639 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * lyxlength.[Ch] (operator!=): new function
11642
11643 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11644
11645         * text.C (workWidth): use Inset::parOwner to find out where the
11646         inset has been inserted. This is a huge performance gain for large
11647         documents with lots of insets. If Inset::parOwner is not set, fall
11648         back on the brute force method
11649
11650         * paragraph_pimpl.C (insertInset):
11651         * paragraph.C (Paragraph):
11652         (cutIntoMinibuffer): set parOwner of insets when
11653         inserting/removing them
11654
11655         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11656
11657 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11658
11659         * tabular-old.C (getTokenValue):
11660         * tabular.C (getTokenValue):
11661         (write_attribute): new versions for LyXLength
11662         (everywhere): adjust the use of widths
11663
11664         * tabular.h: change the type of widths from string to LyXLength
11665
11666 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11667
11668         * paragraph.C: fixed missing line number count when exporting
11669         Environments to LaTeX file
11670
11671         * buffer.C: added informational message for checking line numbers.
11672
11673 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11674
11675         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11676         paragraph, do the 'double space' part, but not the 'empty
11677         paragraph' one.
11678
11679         * text.C (workWidth): small optimization
11680         (getLengthMarkerHeight): use minimal size for negative lengths.
11681
11682 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11683
11684         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11685
11686         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11687
11688 2001-12-11  André Pönitz <poenitz@gmx.net>
11689
11690         * FontLoader.C:
11691         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11692
11693 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11694
11695         * text2.C: keep selection on a setFont()
11696
11697 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * lyx_cb.C: another bv->text misuse, from insert label
11700
11701 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * kbsequence.h:
11704         * kbsequence.C: re-instate nmodifier mask
11705
11706 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11707
11708         * lyx_main.h: make lyxGUI private.
11709
11710 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * lyxfind.C: place the cursor correctly on failed search
11713
11714 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11715
11716         * text.C (getLengthMarkerHeight): for small heights, the arrows
11717         are not always on top/bottom of the text
11718         (drawLengthMarker): smaller arrows; take the left margin in
11719         account; draw also vfills.
11720         (paintFirstRow):
11721         (paintLastRow): remove special code for vfill and standard spaces,
11722         since everything is handled in drawLengthMarker now.
11723
11724 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * buffer.C (insertErtContents): try to handle font and language
11727         interaction a bit better.g
11728
11729         * ColorHandler.C (updateColor): change the hash to cover the whole
11730         LColor enum, ws cleanup
11731         (getGCLinepars): ditto
11732         (getGCLinepars): only lookup in the linecache once.
11733
11734 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11735
11736         * iterators.C (operator++): Make the iterator more robust
11737
11738         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11739         (John's patch)
11740         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11741
11742 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * lyxtext.h:
11745         * text.C: better added space drawing
11746
11747 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * LyXView.C:
11750         * BufferView2.C: fix layout combo update on inset unlock
11751
11752 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * Makefile.am: don't compile unused files
11755
11756 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11757
11758         * lyxfunc.C:
11759         * commandtags.h:
11760         * LyXAction.C: remove old LFUN_LAYOUTNO
11761
11762 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * paragraph_pimpl.h:
11765         * paragraph_pimpl.C: isTextAt() doesn't need font param
11766
11767 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * lyxlex.h:
11770         * lyxlex.C: little cleanup
11771
11772 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * BufferView_pimpl.C: fix insertAscii for insets
11775
11776 2001-12-05  Juergen Vigna  <jug@sad.it>
11777
11778         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11779         set the right font on the "multi" paragraph paste!
11780
11781 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * trans_decl.h:
11784         * trans_mgr.[Ch]:
11785         * trans.[Ch]:
11786         * lyxgluelength.C:
11787         * lyxlength.C: remove out-commented code.
11788
11789         * BufferView_pimpl:
11790         * CutAndPaste.C:
11791         * DepTable.C:
11792         * buffer.C:
11793         * chset.C:
11794         * lastfiles.C:
11795         * lyxlex.C:
11796         * lyxlex_pimpl.C:
11797         * lyxserver.C:
11798         * screen.C:
11799         * tabular-old.C:
11800         * tabular.C:
11801         * text.C:
11802         * trans_mgr.C:
11803         * vc-backend.C: change "while(" to "while ("
11804
11805         * lyxlength.[Ch]: add zero function to check if length is zero or
11806         not
11807         * lyxgluelength.C: use it
11808
11809 2001-12-05  Allan Rae  <rae@lyx.org>
11810
11811         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11812         Works for 2.95.3, from what I understand of Garst's reports this should
11813         work for other g++ versions.  We're screwed if the abs(int) definition
11814         changed between bugfix releases of gcc.
11815
11816 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * text.C: fix chapter label offset !
11819
11820 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * lyxtext.h:
11823         * text.C: fix hfill at end of line, clean up
11824
11825 2001-12-04  Juergen Vigna  <jug@sad.it>
11826
11827         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11828         that we force an update of the inset and it's owners if neccessary.
11829
11830 2001-12-03  Juergen Vigna  <jug@sad.it>
11831
11832         * text.C (rowLast): simplified code
11833
11834 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * lyxfunc.C: fix show options on timeout
11837
11838 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * screen.C (topCursorVisible): scroll half a page when the cursor
11841         reached top of bottom of screen
11842
11843 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * minibuffer.C: deactivate on loss of focus
11846
11847 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11848
11849         * vspace.[Ch] (operator!=): add operator.
11850
11851 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * BufferView_pimpl.C: refuse to open an inset when
11854         there's a selection.
11855
11856 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * BufferView_pimpl.C: allow to click on RHS of full row insets
11859
11860 2001-11-30  Juergen Vigna  <jug@sad.it>
11861
11862         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11863         insets for undo reasons.
11864
11865 2001-11-28  André Pönitz <poenitz@gmx.net>
11866
11867         * vspace.[Ch]: cosmetical changes
11868
11869 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11870
11871         * LyXAction.h:
11872         * LyXAction.C:
11873         * lyxfunc.h:
11874         * lyxfunc.C:
11875         * kbmap.h:
11876         * kbmap.C:
11877         * lyxrc.C:
11878         * kbsequence.h:
11879         * kbsequence.C: part re-write of old kb code
11880
11881         * Painter.C:
11882         * WorkArea.C: remove Lgb_bug_find_hack
11883
11884 2001-11-30  José Matos <jamatos@fep.up.pt>
11885
11886         * buffer.C (makeDocBookFile): add a comment to point a hack.
11887         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11888         Fixed a double write of labels.
11889
11890 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11891
11892         * LaTeX.C:
11893         * LaTeX.h Fixed bug in LaTeX class where it would not
11894         re-run latex if no depfiles were changed, but the .dvi was removed.
11895
11896 2001-11-28  André Pönitz <poenitz@gmx.net>
11897
11898         * all the files from the change on 2001/11/26:
11899         use lyx::layout_type instead of LyXTextClass::size_type
11900         use lyx::textclass_type instead of LyXTextClassList::size_type
11901
11902 2001-11-29  Juergen Vigna  <jug@sad.it>
11903
11904         * text.C: added support for paragraph::isFreeSpacing()
11905
11906         * buffer.C: same as above
11907
11908         * paragraph.h: inserted isFreeSpacing() function to enable
11909         FreeSpacing inside InsetERT.
11910
11911         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11912         of the paragraph's in the cut/copy buffer to 0!
11913
11914         * text2.C (removeRow): remove the assert as it can!
11915
11916         * lyxtext.h: added helper function firstRow returning firstrow and
11917         made firstrow private again.
11918
11919         * BufferView2.C (lockInset): don't relock if we're already locked!
11920
11921         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11922         the only paragraph.
11923         (removeRow): added Assert::(firstrow)
11924
11925         * debug.C: forgot to add INSETTEXT here.
11926
11927 2001-11-28  Juergen Vigna  <jug@sad.it>
11928
11929         * sp_spell.C (initialize): changed error text to more general
11930         spellchecker command use (not only ispell!)
11931
11932         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11933
11934         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11935
11936 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * vspace.C: initialise lyxgluelength on failure
11939
11940 2001-11-28  Allan Rae  <rae@lyx.org>
11941
11942         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11943         declaration & definition that looks like a function declaration.
11944
11945 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11946
11947         * BufferView2.C (copy):
11948         (copyEnvironment): do not clear the selection when doing a copy.
11949
11950         * text.C (paintFirstRow): compilation fix
11951
11952 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11953
11954         * tabular.C (Latex): correct line count when writing latex.
11955
11956 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * paragraph_pimpl.h:
11959         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11960           bug a bit
11961
11962 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11963
11964         * text.C:
11965         * LColor.h:
11966         * LColor.C: change vfillline->added_space
11967
11968         * text.C: add markers and text for added space
11969
11970         * vspace.C: fix comment
11971
11972 2001-11-28  André Pönitz <poenitz@gmx.net>
11973
11974         * paragraph.C: whitespace changes
11975         * all the other files from the change on 2001/11/26:
11976         change *::pos_type into lyx::pos_type
11977
11978 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11979
11980         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11981         language of the document when inserting error insets.
11982
11983 2001-11-26  André Pönitz <poenitz@gmx.net>
11984
11985         * BufferView_pimpl.[Ch]:
11986         *       CutAndPaste.C:
11987         * buffer.[Ch]:
11988         * lyxcursor.[Ch]:
11989         * lyxfind.C:
11990         * lyxfunc.C:
11991         * lyxrow.[Ch]:
11992         * paragraph.[Ch]:
11993         * paragraph_pimpl.[Ch]:
11994         * sp_spell.C:
11995         * text.C:
11996         * text2.C: reduce header dependencies, introduce type for positions
11997
11998 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * <various>: change to use Alert.h
12001
12002 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12003
12004         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12005         when encountering an unknown token.
12006         (readLyXformat2): Show an error message if there were unknown tokens.
12007
12008 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * BufferView2.C:
12011         * BufferView_pimpl.C:
12012         * buffer.C:
12013         * paragraph.h:
12014         * text.C:
12015         * text2.C: use par->isInset()
12016
12017 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12018
12019         * paragraph_pimpl.h:
12020         * paragraph_pimpl.C: cleanup
12021
12022 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12023
12024         * text2.C (removeRow):
12025         * text.C (setHeightOfRow): remove useless (and costly) call to
12026         getRow.
12027
12028 2001-11-20  Allan Rae  <rae@lyx.org>
12029
12030         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12031         Now need Inset*::checkInsertChar() to return true for appropriate
12032         cases so that the characters in the minibuffer will actually be
12033         inserted.
12034
12035 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * text.C: change the order of the includes.
12038         (workWidth): initialize it at once.
12039         (workWidth): make maxw unsigned
12040         (setHeightOfRow): remove unused variable (inset)
12041         (selectSelectedWord): remove unused variable (inset)
12042         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12043
12044 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12045
12046         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12047         server is not running.
12048         (openConnection):
12049         (closeConnection): add debug info when server is disabled.
12050
12051         * ColorHandler.C (getGCForeground): send debug message to GUI
12052         channel.
12053
12054         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12055
12056         * kbmap.C (bind): modify because return conventions of
12057         kb_sequence::parse have changed.
12058
12059         * kbsequence.C (parse): only ignore spaces and not any stupid
12060         control character. This avoids tests like s[i] <= ' ', which are
12061         guaranteed to fail with 8bit characters and signed chars.
12062         Change return code to string::npos when there have been no error
12063         (0 was a bad idea when error is at first character)
12064
12065 2001-11-14  José Matos  <jamatos@fep.up.pt>
12066
12067         * buffer.h:
12068         * buffer.C (simpleDocBookOnePar): removed unused argument.
12069
12070 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12071
12072         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12073         insets which are part of a word. Paragraph::isLetter takes care of
12074         that now. Use Paragraph::isInset to identify insets.
12075         (selectSelectedWord): do not test for hyphenation break.
12076
12077         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12078         that protected spaces are considered as spaces.
12079
12080         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12081         Inset::isLetter.
12082
12083 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * lyxserver.h:
12086         * lyxserver.C: fix it. and small cleanup.
12087
12088 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12089
12090         * BufferView_pimpl.C: use inline helpers
12091
12092         * LaTeXFeatures.h:
12093         * LaTeXFeatures.C: fix typos
12094
12095         * Spacing.h:
12096         * Spacing.C: move spacing_string into class
12097
12098         * ToolbarDefaults.C: move stuff into namespace anon
12099
12100         * layout.h: update enum
12101
12102         * lyxfunc.C: use better debug
12103
12104         * minibuffer.h: fix typo
12105
12106         * debug.h:
12107         * debug.C:
12108         * WorkArea.C: add and use Debug::WORKAREA
12109
12110         * lyxtext.h:
12111         * text.C:
12112         * text2.C: code re-organisation, inline helpers
12113
12114 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12115
12116         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12117         std::vector.empty().
12118
12119 2001-11-09  Allan Rae  <rae@lyx.org>
12120
12121         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12122         '\n's after tables.  Tabular and ERT inset work now makes this no
12123         longer necessary.
12124
12125 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12126
12127         * minibuffer.h:
12128         * minibuffer.C: fix crash, improve drop-down completion
12129
12130 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * lyxserver.h:
12133         * lyxserver.C: invalidate fd's when doing endPipe()
12134
12135 2001-11-08  José Matos  <jamatos@fep.up.pt>
12136
12137         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12138         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12139
12140         * paragraph.h:
12141         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12142
12143 2001-11-07  José Matos  <jamatos@fep.up.pt>
12144
12145         * buffer.h:
12146         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12147         const qualifier.
12148
12149         * buffer.C (sgmlOpenTag):
12150         * buffer.C (sgmlCloseTag): removed debug info.
12151
12152         * buffer.h (sgmlOpenTag):
12153         * buffer.h (sgmlCloseTag): made public.
12154
12155 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12156
12157         * buffer.C (saveParamsAsDefaults):
12158         * lyx_cb.C (MenuLayoutSave): remove
12159
12160         * LyXAction.C (init):
12161         * commandtags.h:
12162         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12163
12164 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12165
12166         * buffer.C (setPaperStuff): removed from here...
12167
12168         * bufferparams.C (setPaperStuff): ... and moved there.
12169
12170 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * minibuffer.h:
12173         * minibuffer.C:
12174         * XFormsView.C: add support for drop-down completion
12175
12176 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12177
12178         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12179         commands.
12180
12181 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12182
12183         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12184         disabled.
12185
12186 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * lyx_main.C: change ref to known bugs
12189
12190 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12191
12192         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12193         to work around older babel problems.
12194
12195 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12196
12197         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12198
12199 2001-10-24  Juergen Vigna  <jug@sad.it>
12200
12201         * tabular-old.C (ReadOld): below variable changes reflected.
12202
12203         * tabular.[Ch]: added ltType struct for longtable header/footer
12204         defines and changed all instances where they are used. Added
12205         future support for double top/bottom rows.
12206
12207 2001-10-24  José Matos  <jamatos@fep.up.pt>
12208
12209         * buffer.h (docbookHandleCaption):
12210         * buffer.C (docbookHandleCaption): removed unused function.
12211         (makeDocBookFile): moved docbook supported version to v4.1.
12212
12213 2001-10-24  José Matos  <jamatos@fep.up.pt>
12214
12215         * tabular.h:
12216         * tabular.C (docbookRow): new function to export docbook code of a row.
12217         (DocBook): now honors the longtable flags.
12218
12219 2001-10-23  José Matos  <jamatos@fep.up.pt>
12220
12221         * LaTeXFeatures.h:
12222         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12223         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12224
12225         * buffer.C (makeLinuxDocFile):
12226         (makeDocBookFile): reworked the preamble, more clean, and with
12227         support for lyx defined entities. Changed the document declaration
12228         to be more XML friendly.
12229
12230         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12231         if we need to output XML that should be done with a filter.
12232
12233 2001-10-22  Juergen Vigna  <jug@sad.it>
12234
12235         * sp_pspell.h (class PSpell): add alive function needed in the
12236         controller to see if the spellchecker could be started.
12237
12238 2001-10-22  Juergen Vigna  <jug@sad.it>
12239
12240         * buffer.C (insertStringAsLines): modify the font for inserting
12241         chars in certain conditions by calling checkInsertChar(font).
12242
12243 2001-10-19  Juergen Vigna  <jug@sad.it>
12244
12245         * text.C (workWidth): use getRow instead of wrong algorithm.
12246         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12247
12248 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * lyxserver.h:
12251         * lyxserver.C:
12252         * lyx_main.h:
12253         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12254
12255 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * text.C (workWidth): do not search for the exact row when
12258         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12259         optimization for big documents.
12260
12261 2001-10-18  Juergen Vigna  <jug@sad.it>
12262
12263         * text.C (workWidth): new function with added Inset * parameter.
12264
12265 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12266
12267         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12268
12269         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12270         change return type of getColumnNearX.
12271
12272
12273         * text.C (changeRegionCase): use uppercase/lowercase instead of
12274         toupper/tolower.
12275         (leftMargin):
12276         (rightMargin): simplify code by factoring out the uses of
12277         textclasslist.
12278         (labelFill):
12279         (numberOfHfills):
12280         (setHeightOfRow):
12281         (appendParagraph): use Paragraph::size_type
12282
12283 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12284
12285         * vspace.C (asLatexString): add a missing break
12286
12287 2001-10-15  Herbert Voss  <voss@perce.de>
12288
12289         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12290
12291 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12292
12293         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12294         is not available.
12295
12296 2001-10-10  André Pönitz <poenitz@gmx.net>
12297
12298         * lyxfunc.C: removed greek_kb_flag.
12299
12300 2001-10-10  Herbert Voss  <voss@perce.de>
12301
12302         * lyx_main.C: delete global string help_lyxdir.
12303
12304 2001-10-09  Herbert Voss  <voss@perce.de>
12305
12306         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12307
12308         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12309
12310         * lyx_main.C: added global string help_lyxdir.
12311
12312         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12313
12314 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12315
12316         * lyxrc.C (set_font_norm_type): support iso8859-4
12317
12318 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12319
12320         * LaTeX.C (deplog): add another regex for MikTeX
12321
12322 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12323
12324         * lyxrc.C (set_font_norm_type): support iso8859-3
12325
12326 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12327
12328         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12329
12330         * LaTeXFeatures.C: remove special case of french and index
12331
12332         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12333         before \begin{document}). This solves several incompatibilities.
12334
12335 2001-10-03  Garst Reese  <reese@isn.net>
12336
12337         * lyx_cb.C: change CheckTex error msg.
12338
12339 2001-10-03  José Matos  <jamatos@fep.up.pt>
12340
12341         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12342
12343 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12344
12345         * .cvsignore: update
12346
12347         * lyx_main.C (commandLineVersionInfo): use new style version info.
12348
12349         * buffer.C (writeFile):
12350         (makeLaTeXFile):
12351         (makeLinuxDocFile):
12352         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12353
12354         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12355
12356         * version.h: update to use stuff in version.C
12357
12358         * version.C.in: new file. Contains version information determined
12359         at compile time. This is a merging of version.h and
12360         version_info.h.in.
12361
12362 2001-10-03  Juergen Vigna  <jug@sad.it>
12363
12364         * BufferView_pimpl.C (update): don't change "dirty" status in
12365         updateInset call.
12366
12367 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12368
12369         * WorkArea.C (c-tor): re-position version string slightly.
12370
12371 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12372
12373         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12374         revert to previous code.
12375
12376         WorkArea.[Ch]: (show, destroySplash): methods removed.
12377
12378         WorkArea.C: rework code so that it's an amalgam of the codes before and
12379         after the splash screen was moved to WorkArea.
12380
12381 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12382
12383         * lyxrc.C (read):
12384         * vspace.C (inPixels):
12385         (lyx_advance):
12386         * kbmap.C (bind):
12387         * buffer.C (insertStringAsLines):
12388         (asciiParagraph): fix types to be large enough
12389
12390         * lyxlex_pimpl.h: change member status from short to int
12391
12392         * layout.h: fix type of endlabeltype
12393
12394         * kbmap.C (bind):
12395         * kbsequence.C (parse): change return type to string::size_type
12396
12397         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12398         variable
12399
12400         * Bullet.C (bulletSize):
12401         (bulletEntry): do not use short ints as parameters
12402
12403         * BufferView2.C (insertLyXFile): change a char to an int.
12404
12405         * WorkArea.C (WorkArea): remove unneeded floats in computation
12406
12407 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12408
12409         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12410
12411         * paragraph.C (asString): Do not ignore newline/hfill chars when
12412         copying to the clipboard.
12413
12414 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12415
12416         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12417         after a multi-line inset.
12418
12419 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12420
12421         * paragraph.C (validate): Set NeedLyXFootnoteCode
12422
12423 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12424
12425         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12426         and decrease-error to decrease.
12427
12428 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12429
12430         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12431         it more readable (should be equivalent)
12432
12433 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12434
12435         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12436
12437 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12438
12439         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12440         of a cursor (row, etc.) after a character has been deleted
12441         (deleteEmptyParagraphMechanism): call the method above on _all_
12442         cursors held by the LyXText when a double space has been
12443         detected/deleted.
12444
12445 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12446
12447         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12448         pixmap.
12449         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12450
12451         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12452         background. Use greyOut() and the new show() methods to toggle between
12453         the foreground and background. Add code to remove the splash after
12454         its initial showing.
12455
12456         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12457         (create_forms): no longer call Dialogs::showSplash.
12458
12459 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12460
12461         * .cvsignore: add version_info.h
12462
12463 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12464
12465         * version_info.h.in: new file
12466
12467         * Makefile.am: add version_info.h.in
12468
12469         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12470         version_info.h instead of VERSION_INFO
12471
12472 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12475         The ERT inset now returns string().
12476
12477 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12478
12479         * lyxtext.h, text.C (selectNextWord): renamed as
12480         selectNextWordToSpellcheck.
12481
12482         * text.C (selectNextWordToSpellcheck): Modified to not select
12483         words inside an ERT inset.
12484
12485 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12486
12487         * lyx_cb.C (MenuLayoutSave): change a bit the question
12488
12489         * sp_base.h: include <sys/types.h>
12490
12491 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12492
12493         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12494
12495 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12496
12497         * several files: fix typos in user-visible strings
12498
12499 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12500
12501         * text2.C (pasteSelection): do not set the selection, since it
12502         will be cleared later. Actually, the intent was to fix the way the
12503         selection was set, but I figured rmoving the code was just as good.
12504
12505 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12506
12507         * FontLoader.C (available): Check if font is available without
12508         loading the font.
12509
12510 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12511
12512         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12513
12514 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12515
12516         * lyxrc.[Ch]: added display_graphics variable and associated code.
12517
12518 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12519
12520         * bufferparams.C (hasClassDefaults): new method. Returns true if
12521         the buffer parameters correspond to known class defaults
12522
12523 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12524
12525         * XFormsView.C (show): set minimum size to the main window.
12526
12527 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * text2.C (copySelection):
12530         (cutSelection):
12531         * lyxfind.C (LyXReplace):
12532         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12533         LyXText::selectionAsString.
12534
12535         * paragraph.C (asString): add "label" argument to the second form
12536
12537         * text2.C (selectionAsString): add "label" argument and pass it to
12538         Paragraph::asString.
12539
12540 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12541
12542         * lyx_main.C (commandLineHelp): remove version information
12543
12544 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12545
12546         * lyx_main.C: add -version commandline option
12547
12548 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * paragraph.h: make the optional constructor arg required instead.
12551         some modifications to other files because of this.
12552
12553         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12554
12555         * lyxserver.C (C_LyXComm_callback): make it static
12556
12557         * lyx_main.C (error_handler): make it static
12558
12559         * lyx_gui.C (LyX_XErrHandler): make it static
12560
12561         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12562
12563         * WorkArea.C: make the extern "C" methods static.
12564
12565         * Makefile.am (lyx_LDADD): simplify
12566
12567 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12568
12569         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12570         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12571
12572         * LyXAction.C (init):
12573         * lyxfunc.C (dispatch): associated code removal.
12574
12575 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12576
12577         * lyxfont.h (isSymbolFont): shut off warning
12578
12579         * text.C (setHeightOfRow):
12580         (getVisibleRow): fix crash with empty paragraphs which have a
12581         bottom line
12582
12583 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12584
12585         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12586         code.
12587
12588 2001-09-04  José Matos  <jamatos@fep.up.pt>
12589         * buffer.C
12590         * buffer.h
12591         * tabular.C (docbook): rename docBook method to docbook.
12592
12593 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12594
12595         * Makefile.am: add dependencies to main.o.
12596
12597 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12598
12599         * FontLoader.C (available): Return false if !lyxrc.use_gui
12600
12601 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12602
12603         * FontInfo.C (query):
12604         * converter.C (view):
12605         * importer.C (Import):
12606         * exporter.C (Export): Can not -> cannot.
12607
12608 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * BufferView_pimpl.C: allow to create index inset even if
12611           string is empty
12612
12613 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12614
12615         * buffer.C (getLists): replace boost::tie code with an explicit pair
12616         as boost::tie can break some compilers.
12617
12618         * iterators.h: Added a std:: declaration to the return type of
12619         ParIterator::size.
12620
12621 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12624           case.
12625
12626 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12627
12628         * iterators.[Ch]: New files. Provide paragraph iterators.
12629
12630         * buffer.C (changeLanguage): Use paragraph iterators.
12631         (isMultiLingual): ditto
12632
12633         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12634
12635 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12636
12637         * FontLoader.C: Support for cmr font.
12638
12639 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12640
12641         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12642         (available): New method.
12643
12644         * FontInfo.C (getFontname): Use scalable fonts even when
12645         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12646         found.
12647
12648 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12649
12650         * converter.C (Formats::view): reverted! Incorrect fix.
12651
12652 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12653
12654         * converter.C (Formats::view): only output the -paper option
12655         if the dvi viewer is xdvi, thereby fixing bug #233429.
12656
12657 2001-08-23  Herbert Voss  <voss@perce>
12658
12659         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12660
12661 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12662
12663         * Spacing.h (Spacing): Set space to Default on in the default
12664         constructor.
12665
12666 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12667
12668         * vc-backend.h (RCS::versionString): add RCS to version
12669         (CVS::versionString): add CVS to version
12670
12671         * vc-backend.C (scanMaster): do not add CVS to version.
12672         (scanMaster): do not add RCS to version
12673
12674         * lyxvc.C (versionString): new method
12675
12676         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12677
12678 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * Spacing.C (set): initialize fval
12681
12682 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12683
12684         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12685         " or \.
12686
12687 2001-08-16  Juergen Vigna  <jug@sad.it>
12688
12689         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12690
12691 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * BufferView_pimpl.C:
12694         * figureForm.C:
12695         * lyxtext.h:
12696         * text2.C: setParagraph takes linespacing now
12697
12698 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * LyxAction.C: add internal LFUN_CITATION_INSERT
12701
12702         * LyXView.C: actually apply fix
12703
12704         * bufferlist.C: fix open non-existent file
12705
12706         * lyxfind.C: fix indentation
12707
12708         * lyxfunc.C: remove unneeded assert, fix typo
12709
12710 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * MenuBackend.C: use "Floatname List"
12713
12714 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12715
12716         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12717         when converting LaTeX layout to insetERT.
12718         Generate a non-collapsed float when reading old float
12719
12720 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12721
12722         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12723         ERT insets.
12724
12725 2001-08-13  Juergen Vigna  <jug@sad.it>
12726
12727         * text.C (fill): return 0 instead of 20 as this seems to be the more
12728         correct value.
12729
12730 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12733         lyxrc.font_norm.
12734
12735 2001-08-13  Juergen Vigna  <jug@sad.it>
12736
12737         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12738         casesensitive off.
12739         (SearchBackward): comment out the unlocking of the inset_owner this
12740         should not be needed!
12741
12742 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12743
12744         * Many files: Remove inherit_language, and add latex_language
12745
12746         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12747         collapsible insets.
12748
12749 2001-08-10  Juergen Vigna  <jug@sad.it>
12750
12751         * text.C (prepareToPrint): fixed hfill-width in draw!
12752
12753         * BufferView2.C (selectLastWord): save the selection cursor as this
12754         now is cleared in the function LyXText::clearSelection!
12755
12756 2001-08-08  Juergen Vigna  <jug@sad.it>
12757
12758         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12759         BACKSPACE type functions.
12760
12761         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12762         is only cutted from the document but not put in the cut-buffer, where
12763         still the old stuff should be.
12764
12765         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12766
12767         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12768
12769         * tabular.C (SetWidthOfCell): fixed special case where the width
12770         was not updated!
12771         (LeftLine): handle '|' in align_special.
12772         (RightLine): ditto
12773         (LeftAlreadyDrawed): ditto
12774         (SetWidthOfCell): ditto
12775
12776 2001-08-07  Juergen Vigna  <jug@sad.it>
12777
12778         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12779
12780 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12783         * lyxlex.[hC]: ditto
12784
12785 2001-08-06  Juergen Vigna  <jug@sad.it>
12786
12787         * text.C (getVisibleRow): fix up row clearing a bit.
12788
12789 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12790
12791         * minibuffer.C: make sure the X server sees the changes in the input.
12792
12793 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * paragraph.C (getFont): split into...
12796         (getLabelFont): this
12797         (getLayoutFont): and this
12798         * paragraph_pimpl.C (realizeFont): calling this
12799
12800         * text2.C (getFont): split into...
12801         (getLayoutFont): this
12802         (getLabelFont): and this
12803         (realizeFont): all three calling this
12804
12805         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12806         files where used.
12807
12808 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12809
12810         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12811
12812 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12813
12814         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12815         layouts from the Quote inset insertion.
12816
12817 2001-08-03  Juergen Vigna  <jug@sad.it>
12818
12819         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12820
12821         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12822         only if status not is already CHANGED_IN_DRAW (second level).
12823
12824         * text.C (draw): don't set the need_break_row when inside an
12825         InsetText LyXText.
12826
12827 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12828
12829         * buffer.C (parseSingleLyXformat2Token): handle more latex
12830         conversion cases.
12831
12832         * bufferview_funcs.[hC]: change function names to
12833         begin with small char, adjust other files.
12834
12835 2001-08-02  André Pönitz <poenitz@gmx.net>
12836
12837         * lyxfunc.C:
12838         BufferView_pimpl.C: remove broken special code for math-greek
12839
12840 2001-08-02  Juergen Vigna  <jug@sad.it>
12841
12842         * BufferView_pimpl.C (update): redone this function so that we
12843         update the text again if there was a CHANGE_IN_DRAW.
12844
12845         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12846         (drawFromTo): added a new internal bool which is used by draw() and
12847         redraw() function.
12848         (general): some cursor drawing problems fixed.
12849
12850 2001-08-01  Juergen Vigna  <jug@sad.it>
12851
12852         * lyxfind.C (LyXFind): fixed
12853         (SearchForward): ditto
12854         (SearchBackward): ditto
12855
12856         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12857         spurius drawing of the cursor in the main area.
12858
12859         * text2.C (status): small fix which could lead to a segfault!
12860         (clearSelection): remove unneeded BufferView param.
12861
12862 2001-08-01  André Pönitz <poenitz@gmx.net>
12863
12864         * lyxfunc.C: small change due to changed mathed interface
12865
12866 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12869
12870 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * lyxfunc.c: fail gracefully if file doesn't exist
12873
12874         * LyXSendto.C:
12875         * buffer.C:
12876         * lyxfunc.C:
12877         * BufferView_pimpl.C: IsDirWriteable() proto changed
12878
12879         * LyXView.C: fix updateWindowTitle() to store the last title
12880
12881 2001-07-31  Juergen Vigna  <jug@sad.it>
12882
12883         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12884         the font (wrong since using of Paragraph::highestFontInRange).
12885
12886         * paragraph.C (highestFontInRange): added a default_size parameter.
12887
12888         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12889         (setHeightOfRow): reformat
12890
12891 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * converter.[hC] + affected files: move to (inital-char)lowercase
12894         function names.
12895
12896         * ParagraphParameters.C (ParagraphParameters): remove commented code
12897
12898         * PainterBase.[Ch]: remove commented code
12899
12900         * LaTeXFeatures.h: add "bool floats" for float.sty
12901
12902         * LaTeXFeatures.C (LaTeXFeatures): init floats
12903         (require): handle float
12904         (getPackages): do it with floats
12905
12906 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12907
12908         * BufferView_pimpl.C (Dispatch): improve handling of
12909         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12910
12911         * commandtags.h: #include lyxfont.h here temporarily to avoid
12912         keybinding bug.
12913
12914         * bufferlist.h: include LString.h here.
12915
12916 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12917
12918         * text2.C (getStringToIndex): new method.
12919
12920 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12921
12922         * *: Reduced header file dependencies all over.
12923
12924 2001-07-30  Baruch Even  <baruch@lyx.org>
12925
12926         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12927
12928 2001-07-29  Baruch Even  <baruch@lyx.org>
12929
12930         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12931
12932 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12933
12934         * ParameterStruct.h (endif): add a default constructor to make
12935         sure that all variables is initialized.
12936
12937         * ParagraphParameters.C (ParagraphParameters): adjust
12938
12939 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12940
12941         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12942         index; also, check that there is something to index, and that it
12943         does not span over several paragraphs.
12944         (doubleClick): use WHOLE_WORD_STRICT for double click.
12945
12946         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12947
12948         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12949         scheme.
12950
12951 2001-07-26  Baruch Even  <baruch@lyx.org>
12952
12953         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12954         an InsetFig figure, backwards compatible reading of old figure code.
12955
12956 2001-07-27  Juergen Vigna  <jug@sad.it>
12957
12958         * text2.C: font.realize function adaption.
12959
12960         * text.C (draw): add a warnings lyxerr text if needed.
12961
12962         * layout.C: font.realize function adaption.
12963
12964         * language.C: add inherit_language and implement it's handlings
12965
12966         * bufferview_funcs.C (StyleReset): remove language parameter from
12967         font creation (should be language_inherit now).
12968
12969         * bufferparams.C (writeFile): handle ignore_language.
12970
12971         * paragraph.C (getFontSettings): the language has to be resolved
12972         otherwise we have problems in LyXFont!
12973
12974         * lyxfont.C (lyxWriteChanges): added document_language parameter
12975         (update): removed unneeded language parameter
12976
12977         * paragraph.C (validate): fixed wrong output of color-package when
12978         using interface colors for certain fonts in certain environments,
12979         which should not seen as that on the final output.
12980
12981 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12982
12983         * BufferView_pimpl.C:
12984         * Thesaurus.h:
12985         * Thesaurus.C:
12986         * Makefile.am:
12987         * commandtags.h:
12988         * LyXAction.C: add thesaurus support
12989
12990         * lyxfind.h:
12991         * lyxfind.C: add "once" parameter, for thesaurus, to not
12992           move to the next match
12993
12994 2001-07-26  Juergen Vigna  <jug@sad.it>
12995
12996         * lyxfont.C (realize): honor ignore_language too!
12997         (resolved): ditto.
12998
12999         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13000
13001         * text.C (draw): one place more for ignore_language to not draw
13002         itself!
13003
13004 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13005
13006         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13007
13008 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13011         the minipage conversion problem.
13012
13013 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13016         insert an inset.
13017
13018 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * BufferView.h: don't forward declare WorkArea
13021
13022         * BufferView.C: don't include WorkArea.h
13023
13024 2001-07-25  André Pönitz <poenitz@gmx.net>
13025
13026         * commandtags.h:
13027         * LyXAction.C:
13028         * lyxfunc.C:  new LFUN 'math-space'
13029
13030         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13031
13032 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13033
13034         * text2.C (toggleInset): call open/close
13035
13036 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * lyxfunc.C (dispatch): add debug for the disabled case
13039
13040         * font.C (buttonText): make similar to rectText
13041
13042         * buffer.C (readInset): comment out parsing of insetlist and
13043         insttheorem
13044
13045         * PainterBase.C (rectText): small correction
13046
13047         * BufferView_pimpl.C: comment out insettheorem and insetlist
13048         * LyXAction.C: ditto
13049         * commandtags.h: ditto
13050
13051 2001-07-24  Juergen Vigna  <jug@sad.it>
13052
13053         * text.C (draw): honor the ignore_language.
13054
13055         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13056
13057 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13058
13059         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13060         char inset.
13061
13062 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13063
13064         * lyxtext.h: remove unused (and unimplemented) methods
13065
13066 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13067
13068         * text.C (getVisibleRow): honor background color
13069
13070         * PainterBase.h:
13071         * Painter.h: remove default color argument for fillRectangle
13072
13073         * text.C (backgroundColor): new method
13074
13075 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * text.C (getVisibleRow): adjust
13078
13079         * font.[Ch] (rectText): new method, metrics
13080         (buttonText): new method, metrics
13081
13082         * PainterBase.[hC]: make rectText and buttonText always draw and take
13083         fewer paramteres.
13084
13085 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13086
13087         * ToolbarDefaults.C (read):
13088         * MenuBackend.C (read): allow escaping in all strings
13089
13090         * BufferView_pimpl.C (insertAndEditInset): new method.
13091         (Dispatch): use insertAndEditInset whenever appropriate.
13092
13093         * BufferView_pimpl.C (insertNote): removed
13094
13095         * BufferView_pimpl.C (smartQuote): new method, moved from
13096         BufferView; if an insetquote cannot be inserted, insert a '"'
13097         character instead.
13098
13099         * BufferView2.C: remove insertCorrectQuote();
13100
13101         * lyxfunc.C (getStatus): Add support for all remaingin
13102         inset-insert lfuns.
13103
13104         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13105
13106         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13107         command (necessary to pass " as parameter of self-insert.
13108
13109         * text.C (selectWordWhenUnderCursor):
13110         (selectWord): add word_location parameter
13111         (selectWordWhenUnderCursor): same + remove special code for word
13112         boundary.
13113         (selectNextWord): use kind() to guess type of insetspecialchar,
13114         not latex().
13115
13116         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13117         (insertErtContents): create ert insets as collapsed.
13118         (readInset): better compatibility code for Info inset.
13119
13120 2001-07-20  Juergen Vigna  <jug@sad.it>
13121
13122         * lyxfunc.C (dispatch): use always LyXFind now!
13123
13124         * text2.C (init): add a reinit flag so that the LyXText can be
13125         reinited instead of deleted and reallocated (used in InsetText).
13126
13127         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13128
13129         * text.C: ditto
13130
13131         * text2.C: ditto
13132
13133 2001-07-18  Juergen Vigna  <jug@sad.it>
13134
13135         * text.C (selectNextWord): handle insets inside inset by calling
13136         always the bv->text functions so that we can go up the_locking_inset!
13137
13138         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13139         in strange locations when inside an inset!
13140
13141         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13142         handling to include insets.
13143
13144         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13145
13146 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13147
13148         * LyXAction.C (init):
13149         * commandtags.h:
13150         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13151         LIGATURE_BREAK, since the name is so stupid.
13152
13153 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13154
13155         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13156         InsetInfos.
13157
13158         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13159
13160         * sp_form.[Ch]: remove.
13161
13162         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13163
13164         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13165         InsetInfo.
13166
13167         * src/buffer.C (readInset): ditto.
13168
13169 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13170
13171         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13172         menuSeparator(), endOfSentenceDot(), ldots() and
13173         hyphenationPoint(), which are therefore removed.
13174         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13175
13176         * LyXAction.C (init):
13177         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13178
13179         * paragraph.C (getWord): removed.
13180
13181         * BufferView_pimpl.C (Dispatch): use last word or selection for
13182         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13183
13184         * lyx_main.C (queryUserLyXDir): do not ask before creating
13185         user_dir, except if it has been named explicitely.
13186
13187 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13188
13189         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13190         a document of zero size.
13191
13192 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13193
13194         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13195         approriately in the c-tor and in require().
13196         (getPackages): output the appropriate LaTeX for natbib support.
13197
13198         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13199         variables "use_natbib" and "use_numerical_citations" when reading the
13200         LyX file.
13201         (readInset): read the various natbib cite commands.
13202         (validate): white-space change.
13203
13204         * bufferparams.[Ch]: new variables "bool use_natbib" and
13205         "bool use_numerical_citations".
13206         (writeFile): output them in the LyX file.
13207
13208 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13209
13210         * lyxfunc.C (getStatus): add support for all the inset insertion
13211         commands.
13212
13213         * text2.C (insertInset):
13214         * paragraph.C (insetAllowed):
13215         * BufferView_pimpl.C (insertInset): update to take in account the
13216         renaming of insertInsetAllowed
13217
13218         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13219
13220         * text2.C (getInset): new method. returns inset at cursor position.
13221
13222         * BufferView_pimpl.C (Dispatch): changes because of this.
13223
13224         * LyXAction.C (init): rename open-stuff to inset-toggle.
13225
13226         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13227
13228         * text2.C (toggleInset): renamed from openStuff; use
13229         Inset::open().
13230
13231 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13232
13233         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13234
13235         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13236
13237 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13238
13239         * buffer.C (readLyXformat2): Add filename to the error dialog
13240
13241 2001-07-18  Juergen Vigna  <jug@sad.it>
13242
13243         * tabular.C (GetCellNumber): put an assert here instead of the check!
13244
13245 2001-07-17  Juergen Vigna  <jug@sad.it>
13246
13247         * BufferView_pimpl.C (toggleSelection): adapted too.
13248
13249         * text.C (selectNextWord): adapted for use with insets.
13250         (selectSelectedWord): ditto
13251
13252 2001-07-17  Juergen Vigna  <jug@sad.it>
13253
13254         * sp_spell.C (PSpell): fix initialitation order.
13255
13256 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13257
13258         * paragraph.C: spacing
13259
13260 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13261
13262         * sp_spell.C: repair language selection for pspell
13263
13264 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13265
13266         * lyxfunc.h: change more methods to begin with lower char.
13267
13268 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13271         for unknown layouts.
13272
13273 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13274
13275         * buffer.C (readLyXformat2): Generate an error dialog if there are
13276         unknown layouts.
13277
13278 2001-07-16  Juergen Vigna  <jug@sad.it>
13279
13280         * sp_spell.C: always compile ISpell part.
13281
13282         * lyxrc.C: added use_pspell entry and it's handling.
13283
13284 2001-07-13  Juergen Vigna  <jug@sad.it>
13285
13286         * sp_spell.C: removed double includes.
13287
13288 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         Consistent use of Lsstream.h:
13291         * Lsstream.h: added using std::stringstream for consistencies sake.
13292
13293         * buffer.C: removed using std::stringstream
13294
13295         * lyxfont.C (stateText):
13296         * paragraph.C (asString):
13297         * text.C (selectNextWord, selectSelectedWord):
13298         * text2.C (setCounter):
13299         * vspace.C (asString, asLatexString):
13300         std::ostringstream -> ostringstream.
13301
13302 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13303
13304         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13305         * commandtags.h: add LFUN_HELP_ABOUTLYX
13306         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13307
13308 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13309
13310         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13311         cursorToggle()
13312         * lyx_gui_misc.C: remove spellchecker
13313         * lyxfunc.C: showSpellchecker
13314         * sp_base.h: added
13315         * sp_ispell.h: added
13316         * sp_pspell.h: added
13317         * sp_spell.C: added
13318         * sp_form.[Ch]: removed
13319         * spellchecker.[Ch]: removed
13320
13321 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13322
13323         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13324         is set.
13325         (simpleTeXSpecialChars): Simply print the input character without
13326         any special translation if pass_thru is set.
13327
13328         * layout.h: Added bool pass_thru to layout class for being able to
13329         implement pass through of a paragraph for Literate Programming.
13330
13331         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13332         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13333         * layout.C (Read): add "passthru" to list of layout tags and add
13334         code to set the pass_thru boolean when it is read.
13335
13336 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * trans_decl.h: remove allowed from KmodInfo
13339
13340         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13341         remove allowed code
13342         (Load): adjust
13343
13344         * paragraph_pimpl.C (erase): use boost::prior
13345
13346         * Painter.C (text): use data() instead of c_str() when length is
13347         also provided.
13348         * WorkArea.C (putClipboard): ditto
13349         * font.h (width): ditto
13350
13351         * BufferView2.C: use it-> instead of (*it). for iterators
13352         * texrow.C: ditto
13353         * paragraph_pimpl.C: ditto
13354         * paragraph.C: ditto
13355         * minibuffer.C: ditto
13356         * language.C: ditto
13357         * kbmap.C: ditto
13358         * encoding.C: ditto
13359         * counters.C: ditto
13360         * converter.C: ditto
13361         * chset.C: ditto
13362         * Variables.C: ditto
13363         * TextCache.C: ditto
13364         * MenuBackend.C: ditto
13365         * LyXAction.C: ditto
13366         * LColor.C: ditto
13367         * FloatList.C: ditto
13368         * DepTable.C: ditto
13369         * ColorHandler.C (LyXColorHandler): ditto
13370
13371 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13374
13375         * text2.C (openStuff): reintroduce this method (which had been
13376         nuked in NEW_INSETS frenzy).
13377
13378         * lyxfunc.C (Dispatch): when an action has not been handled, use
13379         its name in the error message, not its number.
13380
13381         * paragraph.C (inInset): change method name to begin with lowercase.
13382
13383         * undo_funcs.C:
13384         * text2.C: updates because of this.
13385
13386 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13387
13388         * ToolbarDefaults.C (add): add spaces in error message
13389
13390 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13393         (readLyXformat2): rename return_par to first_par, use lyxlex's
13394         pushToken and remove the manual push handling.
13395         (parseSingleLyXformat2Token): add another ert comp. variable:
13396         in_tabular, rename return_par to first_par. handle newlines better
13397
13398 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13401
13402 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13403
13404         * text2.C (getParFromID): removed
13405
13406         * buffer.C (getParFromID): new method moved form lyxtext.
13407         * BufferView2.C (insertErrors): adjust
13408         (setCursorFromRow): adjust
13409         * BufferView_pimpl.C (restorePosition): adjust
13410         * lyxfunc.C (Dispatch): adjust
13411         * undo_funcs.C (textUndo): adjust
13412         (textRedo): adjust
13413         (textHandleUndo): adjust
13414         (textHandleUndo): adjust
13415
13416 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13417
13418         * buffer.C: up' the LYX_FORMAT
13419
13420         * lyxfont.h: turn NO_LATEX on as default
13421
13422         * buffer.C (insertErtContents): new methods of tex style compability.
13423         (parseSingleLyXformat2Token): use it several places.
13424         * tabular.C (OldFormatRead): and here
13425
13426 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13427
13428         * text2.C: remove some commented code.
13429         reindent file.
13430
13431         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13432         * trans.C: changes because of the above.
13433
13434 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13435
13436         * text2.C (setCounter): Fix counters bug with bibliography layout.
13437
13438 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13441         own member functions
13442         (simpleTeXSpecialChars): ditto
13443
13444 2001-07-06  Juergen Vigna  <jug@sad.it>
13445
13446         * a lot of files: changed the access to LyXText::status and the
13447         call of undo-functions.
13448
13449         * undo.[Ch]: added a inset_id to the undo informations.
13450
13451         * undo_funcs.[Ch]: added and moved here all undo functions.
13452
13453         * lyxtext.h: give the status enum a weight, made status_ a private
13454         variable and made accessor functions for it, removed the whole bunch
13455         of undo-functions as they are now in their own file, make some
13456         functions publically available. Added function ownerParagraph with
13457         int parameter.
13458
13459         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13460         made InInset() a const function, added getParFromID() function.
13461
13462         * buffer.[Ch]: added const version for inset_iterator functions,
13463         added getInsetFromID() function.
13464
13465         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13466         changed undo functions for new version.
13467
13468 2001-07-05  Juergen Vigna  <jug@sad.it>
13469
13470         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13471         unknow mechanism does not call the proper constructor but only this
13472         one also if I request the other!?
13473
13474 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13475
13476         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13477
13478         * text2.C (LyXText): use initialization lists.
13479
13480         * lyxtext.h (Selection): initialize set_ and mark_
13481         (init): remove method
13482
13483 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13484
13485         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13486
13487 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * screen.[Ch]: change method names to begin with lowercase
13490
13491         * BufferView_pimpl.C (updateScrollbar): simplify further and
13492         hopefully make it a bit faster.
13493
13494 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13495
13496         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13497         calling directly xforms functions.
13498
13499         * Painter.C (Painter):
13500         * lyx_cb.C (MenuWrite):
13501         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13502         fl_display.
13503
13504         * lyx_gui.C: remove bogus guiruntime extern declaration.
13505
13506 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13507
13508         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13509         in NEW_INSETS
13510         (redoDrawingOfParagraph): ditto
13511         (redoParagraphs): ditto
13512         (cutSelection): don't create a object for CutAndPaste use the
13513         static method directly
13514         (pasteSelection): ditto
13515
13516         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13517         LyXview (+ rename)
13518
13519 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13520
13521         * modifications to some other files because of this.
13522
13523         * Makefile.am (lyx_SOURCES): add XFormsView
13524
13525         * XFormsView.[Ch]: new files
13526
13527         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13528         the main window. Move the gui dependent stuff to XFormsView
13529
13530 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13531
13532         * tabular.C (GetCellInset): update cur_cell also in the row/col
13533         version of this function.
13534
13535         * lyxfunc.C: no need to include figure_form.h here.
13536
13537         * FontLoader.h:
13538         * lyxfunc.h:
13539         * lyxscreen.h:
13540         * text2.C:
13541         * lyxvc.C: no need to include forms.h here.
13542
13543 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13544
13545         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13546
13547         * lyxfunc.C (Dispatch):
13548         * Spacing.C (set):
13549         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13550         constructor argument.
13551
13552 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13553
13554         * paragraph.C (Paragraph): dont't clear, and just set layout.
13555         (makeSameLayout): use params's copy contructor.
13556
13557         * ParagraphParameters.[Ch] (makeSame): delete method
13558
13559 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * Variables.[Ch]: fix indentation, rename set to isSet
13562
13563 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * lyxfunc.C (Dispatch): fix typo
13566
13567 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13568
13569         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13570         upper_bound.
13571
13572         * bufferlist.C: include assert.h for emergencyWrite().
13573
13574 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13577           give up at last (bug #425202) !
13578
13579 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13580
13581         * lyx_gui_misc.C:
13582         * sp_form.h:
13583         * sp_form.C:
13584         * spellchecker.h:
13585         * spellchecker.C: strip spellchecker options and bring up
13586           preferences tab instead
13587
13588 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13591         the istringstream constructor
13592
13593 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13594
13595         * paragraph.C (getLayout): fix return value
13596
13597         * paragraph.h: do not declare getLayout as inline.
13598
13599         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13600
13601 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * lyxcursor.h (operator<): new func
13604         (operator>): new func
13605         (operator>=): new func
13606         (operator<=): new func
13607
13608         * text.C (changeCase): use selection.start and selection.end
13609         (changeRegionCase): require from to be <= to. Require par to be a
13610         valid paragraph.
13611
13612         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13613
13614 2001-06-27  Juergen Vigna  <jug@sad.it>
13615
13616         * text.C (cursorLeftOneWord): changed to return the cursor and added
13617         overlay with BufferView * parameter which calls this one.
13618         (getWord): added
13619         (selectWord): use new getWord function.
13620         (changeCase): renamed from changeWordCase as and extended to work
13621         also on selections.
13622
13623         * lyxtext.h: added enum word_location
13624
13625         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13626         changeCase as this operates now also on selections.
13627
13628 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13629
13630         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13631
13632         * many files: send debug output to Debug::INFO instead of
13633         Debug::ANY.
13634
13635         * converter.C (View):
13636         (Convert):
13637         (Move): send debug output to Debug::FILES instead of console.
13638
13639 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13640
13641         * lyxfunc.C (getStatus): use func_status
13642
13643         * func_status.h: new header, describing the results of
13644         LyXFunc::getStatus;
13645
13646         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13647         LFUN_MATH_HALIGN.
13648
13649 2001-06-25  The LyX Project  <jug@sad.it>
13650
13651         * buffer.C (sgmlOpenTag):
13652         (sgmlCloseTag):
13653         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13654
13655 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13656
13657         * text2.C: remove some dead code
13658
13659         * tabular.C (GetCellInset): store the last cell checked (gotten)
13660
13661         * tabular.h: add the helper for the speedup
13662
13663         * lyxtext.h: remove some dead code
13664
13665 2001-06-26  The LyX Project  <Asger>
13666
13667         * paragraph.C: Change export to LaTeX of alignment to
13668         \begin{center} and family for better roundtrip work with reLyX.
13669
13670         * Tune the math drawing a bit.
13671
13672 2001-06-25  The LyX Project  <Asger>
13673
13674         * LColor.C (LColor): New color for math background. New color
13675         for buttons.
13676
13677 2001-06-25  The LyX Project  <jug@sad.it>
13678
13679         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13680
13681         * lyxfunc.C (Open):
13682         * bufferlist.C (newFile): do not restrict to files ending with
13683         .lyx
13684
13685         * BufferView_pimpl.C (MenuInsertLyXFile):
13686
13687 2001-06-24  The LyX Project  <jug@sad.it>
13688
13689         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13690         of compare_no_case
13691
13692 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13693
13694         * lyxtext.h: rename most methods to begin with a small char.
13695         Lots of changes because of this.
13696
13697         * paragraph.C (Paragraph): do not call fitToSize
13698         (erase): call Pimpl::erase
13699         (insertChar): call Pimpl::insertChar
13700         (insertInset): call Pipl::insertInset
13701         (breakParagraph): do not call fitToSize
13702         (breakParagraphConservative): do not call fitToSize
13703         (fitToSize): remove method
13704
13705         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13706
13707 2001-06-24  The LyX Project  <Asger>
13708
13709         * Fix Qt compilation^2
13710
13711 2001-06-24  The LyX Project  <jug@sad.it>
13712
13713         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13714         depthHook(getDepth()-1).
13715
13716         * paragraph.h:
13717         * ParagraphParameters.h:
13718         * ParameterStruct.h: change type of depth to unsigned int ==
13719         depth_type. Many adaptations to other files before of that.
13720
13721 2001-06-24  The LyX Project  <Asger>
13722
13723         * Fix Qt compilation.
13724
13725 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * paragraph.h: renamed several methods to begin with small letter.
13728         several changes to many parts of the code because of this.
13729
13730 2001-06-23  The LyX Project  <jug@sad.it>
13731
13732         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13733         rewritten to discard all double spaces when KeepEmpty is off
13734         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13735         to only handle newlines but not fiddle with spaces and friends.
13736
13737         * lyxfunc.C (MenuNew): when doing 'new from template', use
13738         template_path as default directory
13739
13740 2001-06-23  The LyX Project  <Asger>
13741
13742         * Clean-up of header file includes all over
13743         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13744
13745 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * paragraph.h: renamed from lyxparagraph.h
13748
13749 2001-06-23  Asger  <lyx@violet.home.sad.it>
13750
13751         * Buffer.h: Removed Buffer::resize
13752         * BufferList.h: Removed BufferList::resize
13753         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13754         the document lazily when we change the width, or the font settings.
13755
13756 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13757
13758         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13759
13760 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13761
13762         * buffer.h: remove out of date comment
13763
13764 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13765
13766         * lyxscreen.h:
13767         * screen.C: fix "theoretical" GC leak
13768
13769 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13770
13771         * LaTeX.C (scanAuxFile):
13772         (deplog): remove trailing \r when reading stream (useful under
13773         win32)
13774
13775 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13776
13777         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13778         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13779         and BufferView::theLockingInset(Inset*), so should use them and not
13780         access bv_->text->the_locking_inset directly.
13781
13782         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13783
13784 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13785
13786         * Makefile.am:
13787         * tex-defs.h: remove old unused file
13788
13789 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13790
13791         * BufferView_pimpl.C: fix typo, remove minibuffer message
13792           when buffer has loaded
13793
13794 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13795
13796         * lyxfunc.C (Dispatch): use stringstream
13797         (MenuNew): use stringstream
13798         (Open): use stringstream
13799
13800         * importer.C (Import): use stringstream
13801
13802         * bufferview_funcs.C (CurrentState): use stringstream
13803
13804         * LaTeX.C (run): use stringstream
13805
13806         * BufferView_pimpl.C (savePosition): use stringstream
13807         (restorePosition): use stringstream
13808         (MenuInsertLyXFile): use stringstream
13809
13810 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13811
13812         * BufferView.C:
13813         * Bullet.C:
13814         * ColorHandler.C:
13815         * FontInfo.C:
13816         * FontLoader.C:
13817         * LColor.C:
13818         * LaTeXFeatures.C:
13819         * Painter.C:
13820         * gettext.C:
13821         * lyx_gui_misc.C:
13822         * lyxserver.C:
13823         * vspace.C: removed // -*- C++ -*- as first line.
13824
13825         * lyxfind.h:
13826         * version.h: added // -*- C++ -*- as first line.
13827
13828 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13831
13832         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13833         of string
13834
13835 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13836
13837         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13838         of floats.
13839
13840 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13841
13842         * gettext.C: include LString.h even when --disable-nls is on.
13843
13844 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13845
13846         * converter.h (Get): changed argument type from int to
13847         FormatList::size_type to avoid unnecessary conversion.
13848
13849         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13850         before using it.
13851
13852 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13853
13854         * gettext.h: include LString.h even when --disable-nls is on.
13855
13856 2001-06-07  Juergen Vigna  <jug@sad.it>
13857
13858         * text.C (BreakAgain): subst spaces with tabs.
13859
13860         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13861         (resizeInsetsLyXText): set force on resizeLyXText.
13862
13863 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13864
13865         * gettext.h (gettext_init):
13866         (locale_init): use a real definition instead of a macro
13867
13868 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * Bufferview_pimpl.C:
13871         * LColor.h:
13872         * LColor.C: further lcolor tidies
13873
13874 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13875
13876         * BufferView_pimpl.C (updateScrollbar): simplify.
13877
13878         * BufferView2.C: don't include insets/insetinfo.h, change
13879         prototype for insertInset and call the Pimpl version. let
13880         updateInset call Pimpl version.
13881
13882         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13883         gotoInset to BufferView::Pimpl
13884
13885 2001-06-01  Juergen Vigna  <jug@sad.it>
13886
13887         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13888         inside a LockingInset (is the update needed at all?).
13889
13890 2001-05-31  Juergen Vigna  <jug@sad.it>
13891
13892         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13893         here not the old one otherwise how should we compare it afterwards
13894         if it's the same!
13895
13896 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13897
13898         * lyxfont.C:
13899         * tabular.C:
13900         * tabular-old.C:
13901         * FontInfo.C: bring C functions into global namespace when
13902         necessary
13903
13904 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * LString.h: make sure config.h has been loaded before LString.h.
13907
13908         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13909         (one for each char read by EatLine!).
13910
13911         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13912         variables.
13913
13914 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13915
13916         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13917         to the same as the par we break from
13918
13919 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13920
13921         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13922
13923         * MenuBackend.C (expand): also create menu entries for wide
13924         versions of the floats.
13925
13926         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13927
13928         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13929
13930         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13931         frontends/Makefile.am
13932
13933         * text2.C: adjust
13934         * text.C: adjust
13935
13936
13937         * tabular.C (getTokenValue): add std::
13938
13939         * tabular-old.C (getTokenValue): add std::
13940         (getTokenValue): ditto
13941         (getTokenValue): ditto
13942
13943         * screen.C (ToggleSelection): adjust
13944
13945         * lyxtext.h: put selection cursors inside a Selection struct.
13946
13947         * lyxfunc.C (moveCursorUpdate): adjust
13948
13949         * lyxfont.C (latexWriteStartChanges): add std::
13950
13951         * lyxfind.C: adjust
13952
13953         * font.h: delete with(char const *, LyXFont const &)
13954
13955         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13956
13957         * FontInfo.C (getFontname): add std::
13958
13959         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13960         (workAreaButtonPress): adjust
13961         (tripleClick): adjust
13962         (update): adjust
13963         (moveCursorUpdate): adjust
13964         (Dispatch): adjust
13965
13966         * BufferView2.C (gotoInset): adjust
13967
13968 2001-05-30  Juergen Vigna  <jug@sad.it>
13969
13970         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13971         to check pspell I add this as default as I now have new pspell
13972         libraries and they seem to use this.
13973
13974 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13975
13976         * text2.C (CutSelection): make the cursor valid before the call to
13977         ClearSelection.
13978
13979 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13980
13981         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13982         relied on 0 terminated strings and other horrors. Bug found due to
13983         the new assert in lyxstring!
13984
13985         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13986         KP_ keys.
13987
13988 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13989
13990         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13991         to latinkeys.bind.
13992
13993         * lyxfunc.C (processKeySym): change method of getting to the
13994         self-insert char.
13995
13996         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13997         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13998         * BufferView_pimpl.[Ch]: here as private methods.
13999
14000 2001-05-28  Juergen Vigna  <jug@sad.it>
14001
14002         * text.C (SetHeightOfRow): added the update() call again as it is
14003         needed to initialize inset dimensions!
14004
14005 2001-05-16  Juergen Vigna  <jug@sad.it>
14006
14007         * text2.C (SetCharFont): Add new function with BufferView * and
14008         bool toggleall parameters for setting insets internal fonts.
14009         (SetFont): Freeze the undo as we may change fonts in Insets and
14010         all this change should be inside only one Undo!
14011
14012         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14013         setting font's in insets as for them we have the SetFont function!
14014
14015 2001-05-15  Juergen Vigna  <jug@sad.it>
14016
14017         * text2.C (ClearSelection): to be sure we REALLY don't have any
14018         selection anymore!
14019
14020         * tabular.C (TeXCellPreamble): fixed the left border problem for
14021         multicolumn cells.
14022
14023 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14024
14025         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14026         dependancy file
14027
14028 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14029
14030         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14031         LFUN_BREAKPARAGRAPH.
14032
14033         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14034         help test to "internal only", similar for LFUN_INSERT_URL
14035
14036         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14037         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14038         auto_region_delete and deadkeys.
14039
14040 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14041
14042         * LColor.h:
14043         * LColor.C: remove some dead entries, tidy a little
14044
14045 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14048         commented code.
14049         (Dispatch): implement LFUN_ESCAPE
14050
14051         * commandtags.h: add LFUN_ESCAPE
14052
14053         * LyXAction.C (init): add entry for LFUN_ESCAPE
14054
14055         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14056         Remove commented code.
14057         (insertNote): moved here
14058         (open_new_inset): moved here
14059
14060         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14061         BufferView_pimpl
14062
14063 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14064
14065         * kbmap.C (findbinding): clean it up and make it work correctly.
14066
14067         * lyx_main.C (init): do not pass argc and argv as parameters
14068
14069 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14070
14071         * buffer.C: fix path for OS/2 & Win32
14072
14073         * lyx_gui.C:
14074         * lyx_main:
14075         * lyx_main.C: Added os:: class.
14076
14077         * os2_defines.h: update
14078
14079 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14080
14081         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14082         better by trying again with reduced state.
14083
14084 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14085
14086         * lyxrc.C (read): print error about invalid key sequence only when
14087         debugging (because not all latinX keysyms are known to some X
14088         servers)
14089
14090         * kbsequence.C (getiso): add a few std:: qualifiers
14091         (getiso): comment out extra return statement.
14092
14093 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14094
14095         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14096         handling.
14097         (Dispatch): enhance the accent inset a bit. (not perfect)
14098
14099 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14102
14103 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * bufferlist.C (emergencyWrite): fix assert() call
14106
14107 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14108
14109         * text.C (InsertChar): Added trivial patch to only send the "you
14110         can not do multiple spaces this way" message once during a
14111         session.
14112
14113 2001-05-08  Baruch Even  <baruch@lyx.org>
14114
14115         * Makefile.am: Changed order of libraries to get LyX to link properly
14116         with the gnome frontend.
14117
14118 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14119
14120         * LaTeXFeatures.h: add a std:: qualifier
14121
14122 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14123
14124         * paragraph.C (String): use stringstream
14125
14126 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14127
14128         * paragraph.C (writeFile): remove footflag arg
14129
14130         * buffer.C (makeLaTeXFile): use stringstream
14131         (latexParagraphs): remove footnot gurba
14132
14133         * LaTeXFeatures.C (getPackages): use stringstream
14134         (getMacros): likewise
14135         (getTClassPreamble): likewise
14136         (getFloatDefinitions): new method
14137
14138         * paragraph.C (writeFile): reindent
14139         (Erase): reindent
14140
14141         * WorkArea.h: revert the xpos + etc changes.
14142
14143         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14144
14145         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14146
14147         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14148         (pasteSelection): likewise
14149         * text2.C (CreateUndo): likewise
14150
14151 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * minibuffer.C (peek_event): temporarily reduce the functionality
14154         of the minibuffer (to allow args on lfuns)
14155
14156         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14157         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14158
14159         * buffer.C (readInset): add compability reading of old float
14160         lists, add reading of new style float list.
14161         (readInset): avoid reevaluation of inscmd.getCmdName()
14162         (getLists): reindent
14163
14164         * MenuBackend.C (MenuItem): implement parsing of
14165         md_floatlistinsert and md_floatinsert.
14166         (expand::LastFiles): move initalizaton of iterators out of loop,
14167         avoid reevaluation.
14168         (expand::Documents): introduce typdedef vector<string> Strings,
14169         and use it.
14170         (expand::ExportFormats): introduce typedef vector<Format const *>
14171         Formats, and use it.
14172         (expand): implement FloatListInsert and FloatInsert.
14173
14174         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14175         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14176         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14177
14178         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14179         handling.
14180         (Dispatch::LFUN_FLOAT_LIST): implement
14181
14182 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14183
14184         * LaTeX.C (run): Fix problem with --export code.
14185
14186 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14187
14188         * BufferView.[Ch] (workarea): removed.
14189         (getClipboard) new method; wrapper for workarea()->getClipboard()
14190
14191         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14192         bug.
14193
14194         * WorkArea.h (width, height, xpos, ypos): These methods all
14195         returned the dimensions of the work_area sub-area of WorkArea,
14196         resulting in a position error if the WorkArea were resized. Now
14197         return the dimensions of the entire WorkArea.
14198
14199         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14200
14201 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14202
14203         * LaTeX.C (deplog): correct the syntax of regex reg1
14204
14205 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * undo.C: remove !NEW_INSETS cruft
14208
14209 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14210
14211         * text2.C: remove !NEW_INSETS cruft
14212
14213         * text.C: remove !NEW_INSETS cruft
14214
14215         * tabular.C: remove !NEW_INSETS cruft
14216
14217         * spellchecker.C: remove !NEW_INSETS cruft
14218
14219         * lyxtext.h: remove !NEW_INSETS cruft
14220
14221         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14222
14223         * lyxfunc.C: remove !NEW_INSETS cruft
14224
14225         * lyxfind.C: remove !NEW_INSETS cruft
14226
14227         * lyx_cb.C: remove !NEW_INSETS cruft
14228
14229         * figureForm.C: remove  !NEW_INSETS cruft
14230
14231         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14232
14233         * buffer.[Ch]: remove !NEW_INSETS cruft
14234
14235         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14236
14237         * CutAndPaste.C: remove !NEW_INSETS cruft
14238
14239         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14240
14241         * BufferView2.C: remove !NEW_INSETS cruft
14242
14243         * BufferView.h: remove !NEW_INSETS cruft
14244
14245 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14246
14247         * Lsstream.h: include LString.h before the sstream headers to
14248         fix problem with gcc 2.95.3 and lyxstring
14249
14250 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * lyx_main.C: add using directives when needed for C functions
14253         declared in std:: namespace.
14254
14255 2001-04-27  Juergen Vigna  <jug@sad.it>
14256
14257         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14258         (SetHeightOfRow): comment out the update call should not be needed!
14259
14260 2001-04-13  Juergen Vigna  <jug@sad.it>
14261
14262         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14263         (LyXTabular): tried to minimize operator= operations (and realized
14264         hopfully Lars wish).
14265
14266 2001-04-27  Juergen Vigna  <jug@sad.it>
14267
14268         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14269
14270 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14271
14272         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14273
14274         * buffer.C (readInset): hack to make listof algorithm work
14275
14276         * BufferView_pimpl.C: hack to make listof algorithm work
14277
14278 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14279
14280         * LyXAction.C: removed all !NEW_INSETS cruft
14281         (init): moved lfun_item in method
14282
14283         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14284
14285 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14286
14287         * BufferView2.C (theLockingInset): white space.
14288
14289 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * minibuffer.C: include <iostream>
14292
14293         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14294
14295         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14296
14297         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14298
14299         * text.[Ch] (TransposeChars): new method
14300
14301 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14302
14303         * call message directly through LyXView instead of through LyXFunc
14304         * BufferView2.C: adjust
14305         * BufferView_pimpl.C: adjust
14306         * FontLoader.C: adjust
14307         * buffer.C: adjust
14308         * bufferview_funcs.C: adjust
14309         * converter.C: adjust
14310         * figureForm.C: adjust
14311         * importer.C: adjust
14312         * lyx_cb.C: adjust
14313         * lyx_gui_misc.C: adjust
14314         * lyxfunc.C: adjust
14315         * lyxvc.C: adjust
14316         * text2.C: adjust
14317         + more files in subdirs
14318
14319         * lyxparagraph.h (size): move up int file
14320         (GetLayout): ditto
14321
14322         * adjust all uses of Assert to lyx::Assert.
14323
14324         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14325         lyxfunctional in namespace lyx
14326         * layout.C (hasLayout): ditto
14327         (GetLayout): ditto
14328         (GetLayout): ditto
14329         (delete_layout): ditto
14330         (NumberOfClass): ditto
14331         * converter.C (GetFormat): ditto
14332         (GetNumber): ditto
14333         (Add): ditto
14334         (Delete): ditto
14335         (SetViewer): ditto
14336         * bufferlist.C (getFileNames): ditto
14337         (emergencyWriteAll): ditto
14338         (exists): ditto
14339         (getBuffer): ditto
14340         * MenuBackend.C (hasSubmenu): ditto
14341         (hasMenu): ditto
14342         (getMenu): ditto
14343         * BufferView_pimpl.C (getInsetByCode): ditto
14344
14345 2001-04-18  Juergen Vigna  <jug@sad.it>
14346
14347         * vspace.C (asLatexString): fixed the 100% problem.
14348
14349 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14350
14351         * lyxfunc.C (Dispatch):
14352         * minibuffer.C:
14353         * minibuffer.h: add a few std:: qualifiers
14354
14355 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14356
14357         * minibuffer.[Ch]: reimplement so that commands is initiated and
14358         run from lyxfunc, simplified som handling, and made the completion
14359         and history code for complete. wip.
14360
14361         * lyxfunc.C (processKeySym): call message
14362         (miniDispatch): new temporary method
14363         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14364         (LFUN_MESSAGE): implement
14365         (LFUN_MESSAGE_PUSH): implement
14366         (LFUN_MESSAGE_POP): implement
14367         (initMiniBuffer): the initial/defualt minibuffer message.
14368
14369         * lyxfont.[Ch]: inline some more getters
14370
14371         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14372
14373         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14374
14375         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14376         (AutoSave): use LFUN_MESSAGE
14377         (Reconfigure): ditto
14378
14379         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14380
14381         * figureForm.C: use LFUN_MESSAGE
14382
14383         * converter.C (runLaTeX): use LFUN_MESSAGE
14384
14385         * bufferview_funcs.C: use LFUN_MESSAGE
14386         (Melt): ditto
14387         (changeDepth): ditto
14388
14389         * bufferparams.h: use boost::
14390
14391         * bufferlist.h: inherit privately from noncopyable
14392
14393         * bufferlist.C (loadLyXFile): remove some commented code.
14394
14395         * buffer.C (runChktex): use LFUN_MESSAGE
14396
14397         * ShareContainer.h: inherit privately from noncopyable
14398
14399         * ParagraphParameters.[hC] (depth): inline it.
14400
14401         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14402         methods.
14403         (message): new method
14404         (messagePush): ditto
14405         (messagePop): ditto
14406         (show): init minibuffer
14407         (showState): direct call
14408
14409         * LaTeX.[Ch]: inherit privately from noncopyable
14410         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14411         instead of WriteStatus.
14412
14413         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14414
14415         * BufferView_pimpl.C (buffer): don't init minibuffer
14416         (workAreaButtonPress): use LFUN_MESSAGE
14417         (workAreaButtonRelease): ditto
14418         (savePosition): ditto
14419         (restorePosition): ditto
14420         (MenuInsertLyXFile): ditto
14421         (workAreaExpose): don't init minibuffer
14422         (update): remove commented code, simplify
14423
14424         * BufferView2.C (openStuff): use LFUN_MESSAGE
14425         (toggleFloat): ditto
14426         (menuUndo): ditto
14427         (menuRedo): ditto
14428         (copyEnvironment): ditto
14429         (pasteEnvironment): ditto
14430         (copy): ditto
14431         (cut): ditto
14432         (paste): ditto
14433         (gotoInset): ditto
14434         (updateInset): remove some commented code
14435
14436         * lastfiles.h: inherit privately from noncopyable
14437         * layout.h: ditto
14438         * lyx_gui.h: ditto
14439         * lyx_main.h: ditto
14440         * lyxlex.h: ditto
14441         * lyxlex_pimpl.h: ditto
14442
14443         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14444         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14445         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14446
14447         * LyXAction.h: inherit privately from noncopyable, add methods
14448         func_begin, func_end, returning iterators to the func map.
14449
14450         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14451         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14452         (func_begin): new method
14453         (func_end): new method
14454
14455         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14456         and not)
14457         (copySelection): ditto
14458         (pasteSelection): ditto
14459
14460         * BufferView.C: whitespace change
14461         * BufferView.h: inherit privately from noncopyable
14462
14463 2001-04-16  Allan Rae  <rae@lyx.org>
14464
14465         * tabular-old.C (l_getline):
14466         * spellchecker.C (sc_check_word):
14467         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14468         an unrecognised preprocessor directive.  So ensure they're wrapped.
14469
14470 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14471
14472         * src/exporter.C (Export): Give an error message when path to file
14473         contains spaces.
14474
14475 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14476
14477         * LaTeX.C (deplog): Always check that foundfile exists.
14478
14479 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14480
14481         * lyx_main.h:
14482         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14483
14484 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * tabular.[Ch] (getLabelList): implement new method
14487
14488         * minibuffer.h: comment ouf setTiimer
14489
14490         * minibuffer.C (ExecutingCB): constify res
14491         (peek_event): constify s
14492         (Set): constify ntext
14493         (Init): constify nicename
14494
14495         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14496
14497         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14498         (savePosition): use two params to Minibuffer::Set
14499         (restorePosition): ditto
14500
14501 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14502
14503         * lyx_main.C: include language.h
14504
14505         * Makefile.am (lyx_main.o): add language.h
14506
14507 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14508
14509         * exporter.C:
14510         * paragraph.C:
14511         * screen.C:
14512         * tabular.C:
14513         * CutAndPaste.C: include gettext.h
14514
14515         * lyxfont.h: remove old hack with ON and OFF.
14516
14517         * lyxparagraph.h:
14518         * lyxfont.h: do not include language.h...
14519
14520         * BufferView2.C:
14521         * LaTeXFeatures.C:
14522         * Painter.C:
14523         * bufferview_funcs.C:
14524         * font.C:
14525         * lyxfont.C:
14526         * text.C:
14527         * text2.C:
14528         * trans_mgr.C:
14529         * paragraph.C: ... but do it here instead
14530
14531 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14534
14535         * tabular.C: small reformat
14536
14537         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14538         NEW_INSETS version
14539         (GetChar): ditto
14540         (BreakParagraph): ditto
14541         (SetOnlyLayout): ditto
14542         (SetLayout): ditto
14543
14544         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14545         with one arg less.
14546
14547         * lastfiles.C: removed most using decl, add std:: where needed
14548
14549         * buffer.C: ws changes
14550
14551         * MenuBackend.C (class compare_format): put into anon namespace
14552         (expand): constify label, names, action, action2
14553         (expand):
14554
14555         * text.C (SingleWidth): constify font
14556         (IsBoundary): constify rtl2
14557         (GetVisibleRow): constify ww
14558
14559         * LaTeX.C (deplog): constify logfile
14560
14561         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14562         start_x, end_x
14563         (workAreaExpose): constify widthChange, heightChange
14564
14565         * lyxrow.C (par): moved
14566         (height): moved
14567         (next): moved
14568         * lyxrow.h: as inlines here
14569
14570         * lyxfont.h (shape): moved from lyxfont.C
14571         (emph): moved from lyxfont.C
14572
14573         * lyxfont.C (LyXFont): use initialization list for all
14574         constructors
14575         (shape): move to lyxfont.h as inline
14576         (emph): move to lyxfont.h as inline
14577
14578
14579 2001-04-04  Juergen Vigna  <jug@sad.it>
14580
14581         * vspace.C: had to include stdio.h for use of sscanf
14582
14583 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14584
14585         * BufferView.h:
14586         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14587         independent of xforms.
14588
14589 2001-04-02  Juergen Vigna  <jug@sad.it>
14590
14591         * spellchecker.C: fixed namespace placing!
14592
14593 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14594
14595         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14596         the LyXParagraph * is 0.
14597
14598 2001-03-29  Juergen Vigna  <jug@sad.it>
14599
14600         * vspace.C: added support for %, c%, p%, l%.
14601         (stringFromUnit): added helper function.
14602         (asLatexString): changed to give right results for the %-values.
14603
14604         * buffer.C: convert the widthp in a width%.
14605
14606 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14607
14608         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14609         figureForm.[Ch].
14610
14611         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14612         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14613
14614         * lyx_cb.[Ch]: see above.
14615
14616         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14617         form1.[Ch].
14618
14619         * form1.[Ch]:
14620         * lyx.[Ch]: replaced by figure_form.[Ch].
14621
14622         * lyx_gui.C:
14623         * lyx_gui_misc.C:
14624         * lyxfunc.C: changed headers associated with above changes.
14625
14626 2001-03-27  Juergen Vigna  <jug@sad.it>
14627
14628         * BufferView_pimpl.C: set the temporary cursor right!
14629
14630 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14631
14632         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14633
14634 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14635
14636         * LString.h: removed "using std::getline"!
14637
14638         * BufferView_pimpl.C (Dispatch): changes due to changes in
14639         InsetInclude::Params.
14640
14641         * buffer.C (tag_name): removed redundant break statements as they were
14642         producing lots of warnings with my compiler.
14643
14644 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14645
14646         * LString.h: add "using std::getline" when using the real <string>.
14647
14648 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14649
14650         * buffer.C: removed bitset usage.
14651         PAR_TAG moved to an anonymous name space.
14652         (tag_name): new funtion, also in the anonymous namespace.
14653         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14654         (makeDocBookFile): clean code. Completed transition from string arrays
14655         to string vectors.
14656         (SimpleDocBookOnePar): code clean.
14657
14658 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14659
14660         * tabular.C: add some comments.
14661
14662 2001-03-22  Juergen Vigna  <jug@sad.it>
14663
14664         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14665         compatibility read a bit and fixed bug with minipage in different
14666         depth.
14667
14668 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14669
14670         * buffer.C (pop_tag): removed.
14671         (push_tag): removed.
14672         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14673         array replaced with vector. Added support for CDATA sections.
14674         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14675         at any nest level.
14676         (makeDocBookFile): XML conformant declaration of CDATA section,
14677         fixed bug related to <emphasis> in the first paragraph char.
14678         (sgmlOpenTag): exclude empty tags.
14679         (sgmlCloseTag): ditto.
14680
14681         * buffer.h (pop_tag): removed.
14682         (push_tag): removed.
14683
14684 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14685
14686         * language.h (Languages): added size_type and size().
14687
14688 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14689
14690         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14691         response on compability reading of minipages. One probliem is that
14692         the old usage of minipages was «flertydig»
14693
14694         * several files here and in subdirs: don't use static at file
14695         scope use anon namespaces instead.
14696
14697 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14698
14699         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14700         LaTeX output. This is necessary for Literate document
14701         processing.
14702
14703 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14704
14705         * buffer.C: insert hfill when needed.
14706
14707         * tabular.C (l_getline): use string::erase, small whitespace change.
14708
14709         * BufferView_pimpl.C: try the anon namespace.
14710         * WorkArea.C: ditto
14711
14712 2001-03-16  Juergen Vigna  <jug@sad.it>
14713
14714         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14715         otherwise it won't open options-dialogs.
14716
14717         * buffer.C: honor pextraWidth(p) on converting minipages.
14718
14719         * tabular.C (l_getline): changed the functions to strip trailing \r.
14720
14721 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14722
14723         * BufferView_pimpl.C:
14724         * minibuffer..C: added "using SigC::slot" declaration.
14725
14726 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14727
14728         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14729
14730         * text2.C: ditto
14731
14732         * text.C: ditto
14733
14734         * paragraph.C: ditto
14735
14736         * lyxtext.h: NO_PEXTRA
14737
14738         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14739
14740         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14741         * ParameterStruct.h: ditto
14742         * ParagraphParameters.h: ditto
14743         * lyxparagraph.h: ditto
14744
14745 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14746
14747         * buffer.C: add compability for minipage alignment.
14748         (latexParagraphs): remove unwanted pextra check.
14749
14750         * several files: remove CXX_WORKING_NAMESPACES
14751
14752         * buffer.C (pop_tag): tie is in namespace boost
14753
14754         * BufferView.h: noncopyable is in namespace boost
14755         * lyxlex.h: ditto
14756         * lyx_main.h: ditto
14757         * lyx_gui.h: ditto
14758         * layout.h: ditto
14759         * lastfiles.h: ditto
14760         * bufferlist.h: ditto
14761         * ShareContainer.h: ditto
14762         * LyXView.h: ditto
14763         * LyXAction.h: ditto
14764         * LaTeX.h: ditto
14765
14766 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14767
14768         * Merging changes from BRANCH_MVC back into HEAD.
14769
14770         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14771
14772 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * BufferView_pimpl.C: change from intl.C
14775
14776         * combox.h:
14777         * combox.C:
14778         * Makefile.am: move combox.*
14779
14780         * form1.h:
14781         * form1.C:
14782         * lyx_gui.C:
14783         * intl.h:
14784         * intl.C: remove dialog (covered by prefs)
14785
14786 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14787
14788         * lyxfunc.C (Dispatch): removed redundant break statement.
14789
14790 2001-03-14  Juergen Vigna  <jug@sad.it>
14791
14792         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14793
14794 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14795
14796         * buffer.C: add hack to fix compability reading of minipages.
14797
14798 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * buffer.C (getLists): Cleanup.
14801
14802 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * lyxfont.C (update): don't honor toggleall on font size.
14805
14806 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14807
14808         * bmtable.c:
14809         * bmtable.h:
14810         * Makefile.am: moved to frontends/xforms/
14811
14812         * lyx_gui_misc.C:
14813         * lyxfunc.C:
14814         * BufferView_pimpl.C: changes for moved mathpanel
14815
14816 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14817
14818         * gettext.h: fix gettext_init() in --disable-nls
14819
14820 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14823
14824 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * lyx.C:
14827         * lyx.h: strip external form
14828
14829 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14830
14831         * BufferView_pimpl.C: add comment, destroySplash()
14832
14833 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14834
14835         * BufferView_pimpl.C:
14836         * LyXAction.C:
14837         * buffer.C:
14838         * commandtags.h:
14839         * lyxfunc.C: use re-worked insetinclude
14840
14841 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14842
14843         * buffer.C: add using std::stringstream.
14844
14845         * lyx_cb.C: readd using std::ios.
14846
14847         * buffer.C: add using std::map.
14848
14849         * BufferView_pimpl.C: add using std::vector.
14850
14851         * ShareContainer.h: add std:: to swap.
14852
14853         * buffer.h: add some typedefs
14854         * buffer.C (getLists): use them
14855         (getLists): renamed from getTocList.
14856         add a counter for the different float types and use it in the
14857         generated string.
14858         (getLists): use the same counter for the NEW_INSETS and the "non"
14859         NEW_INSETS
14860
14861         * lyx_cb.h: remove unused items, includes, using etc.
14862
14863         * ShareContainer.h: remove some commented code, add more comments
14864         and "documentation".
14865
14866 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14867
14868         * buffer.C (getTocList): make the list also when NEW_INSETS is
14869         defined.
14870
14871         * buffer.h: remove TocType
14872
14873         * buffer.C (getTocList): change to return a map<string,
14874         vector<TocItem> >, implement for dynamic number of list.
14875
14876         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14877         * text2.C (PasteSelection): adjust
14878         * CutAndPaste.C (pasteSelection): adjust
14879
14880         * FloatList.C (FloatList): update from the new_insets branch.
14881         * Floating.[Ch]: ditto
14882         * LaTeXFeatures.C: ditto
14883         * buffer.C: ditto
14884         * lyxlex_pimpl.C: ditto
14885
14886         * paragraph.C (Last): remove when NEW_INSETS is defined.
14887
14888         * other file: changes because of the above.
14889
14890 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14891
14892         * lyxparagraph.h: rename next to next_, previous to previous_,
14893         make them private for NEW_INSETS. Rename Next() to next(),
14894         Previous() to previous().
14895
14896         * other files: changes because of the above.
14897
14898 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14899
14900         * BufferView.h:
14901         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14902         problem.
14903
14904 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * main.C (main): pass lyx_localedir to gettext_init().
14907
14908         * gettext.h: remove locale_init and gettext_init macros
14909
14910         * gettext.C (locale_init): new function
14911         (gettext_init): new function
14912
14913         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14914         setlocale().
14915
14916 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14917
14918         * Moved credits to frontends:
14919         * credits.[Ch]: removed
14920         * credits_form.[Ch]: removed
14921         * lyx_gui_misc.C: remove credits stuff
14922         * Makefile.am:
14923
14924 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14925
14926         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14927
14928         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14929         unneeded destructor.
14930
14931         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14932         a standalone pointer again.
14933
14934         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14935
14936 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * Makefile.am:
14939         * filedlg.h:
14940         * filedlg.C:
14941         * LyXAction.C:
14942         * ToolbarDefaults.C:
14943         * bufferlist.C:
14944         * commandtags.h:
14945         * form1.C:
14946         * form1.h:
14947         * lyx_cb.C:
14948         * lyx_cb.h:
14949         * lyxfunc.h:
14950         * lyxfunc.C:
14951         * BufferView_pimpl.C: use new file dialog in GUII
14952
14953         * lyx_cb.h:
14954         * lyx_cb.C: remove LayoutsCB to Toolbar
14955
14956 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14957
14958         * ShareContainer.h (get): add std:: qualifier
14959
14960 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * ShareContainer.h: define a proper ShareContainer::value_type
14963         type (and use typename to please compaq cxx)
14964
14965 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14966
14967         * lyxparagraph.h: move serveral local vars to
14968         ParameterStruct/ParagraphParameters., use ShareContainer in
14969         FontTable., make vars in FontTable private and add getter and
14970         setter.
14971
14972         * paragraph.C: changes because of the above.
14973
14974         * lyxfont.h: remove copy constructor and copy assignment. (the
14975         default ones is ok), move number inside FontBits. move inlines to
14976         lyxfont.C
14977
14978         * lyxfont.C: add number to initializaton of statics, move several
14979         inlines here. constify several local vars. some whitespace
14980         cleanup. Dont hide outerscope variables.
14981
14982         * Spacing.h: add two new constructors to match the set methods.
14983
14984         * ShareContainer.h: new file, will perhaps be moved to support
14985
14986         * ParameterStruct.h: new file
14987
14988         * ParagraphParameters.h: new file
14989
14990         * ParagraphParameters.C: new file
14991
14992         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14993         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14994
14995         * BufferView_pimpl.C: ParagraphParameter changes.
14996         * buffer.C: Likewise.
14997         * bufferview_funcs.C: Likewise.
14998         * text.C: Likewise.
14999         * text2.C: Likewise.
15000
15001 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * lyxfind.C (LyXReplace): do not redefine default argument in
15004         implementation.
15005         (IsStringInText): ditto
15006         (SearchForward): ditto
15007         (SearchBackward): ditto
15008
15009 2001-03-06  Juergen Vigna  <jug@sad.it>
15010
15011         * lyxfind.C (IsStringInText): put parentes around expressions.
15012
15013 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15014
15015         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15016
15017 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15020
15021         * stl_string_fwd.h: add comment
15022
15023         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15024
15025         * tabular.h:
15026         * tabular.C: remove unused DocBook methods
15027
15028         * intl.C:
15029         * language.C:
15030         * paragraph.C:
15031         * buffer.C:
15032         killed DO_USE_DEFAULT_LANGUAGE
15033
15034 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * lyx_gui.C: do not include language.h.
15037
15038         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15039         arguments in function implementation.
15040
15041 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15042
15043         * BufferView_pimpl.C: add <ctime>
15044
15045 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15046
15047         * BufferView_pimpl.C: add using std::find_if
15048
15049 2001-02-27  José Matos  <jamatos@fep.up.pt>
15050
15051         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15052         by OnlyPath.
15053
15054 2001-02-11  José Matos  <jamatos@fep.up.pt>
15055
15056         * buffer.C (makeDocBookFile): command styles now have a parameter as
15057         "title" by default.
15058
15059 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15060
15061         * layout_forms.[Ch]: removed
15062         * lyx_cb.[Ch]: out character
15063         * lyx_gui.C: out character
15064         * lyx_gui_misc.C: out character
15065         * bufferview_funcs.C: : out character,
15066         added toggleall as parameter in ToggleAndShow
15067
15068 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15069
15070         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15071
15072         * text2.C (SetCurrentFont): Disable number property at boundary.
15073
15074 2001-02-26  Juergen Vigna  <jug@sad.it>
15075
15076         * lyxfunc.C (getStatus): added a string argument override function so
15077         that this is correctly called from LyXFunc::Dispatch if it contains a
15078         do_not_use_argument which is used!
15079         (Dispatch): added check for "custom" export and call appropriate func.
15080
15081 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15082
15083         * lyxrc.C: Add language_command_local, language_use_babel and
15084         language_global_options.
15085
15086         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15087
15088         * buffer.C (makeLaTeXFile): Use language_use_babel and
15089         language_global_options.
15090
15091 2001-02-23  Juergen Vigna  <jug@sad.it>
15092
15093         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15094         which works with LyXText and putted it inside BufferView. Here now we
15095         only call for that part the BufferView::Dispatch() function.
15096
15097         * BufferView.C (Dispatch): added.
15098
15099         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15100         functions which needs to use a LyXText over from LyXFunc.
15101         (MenuInsertLyXFile): added
15102         (getInsetByCode): added
15103         (moveCursorUpdate): added
15104         (static TEXT): added
15105
15106 2001-02-22  Juergen Vigna  <jug@sad.it>
15107
15108         * BufferView_pimpl.C (update): call a status update to see if LyXText
15109         needs it.
15110
15111 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15112
15113         * vc-backend.C (revert): implement for CVS
15114         (getLog): implement for CVS
15115
15116 2001-02-20  Juergen Vigna  <jug@sad.it>
15117
15118         * text2.C (ClearSelection): added BufferView param for inset_owner call
15119
15120         * lyxfunc.C (TEXT): added this function and use it instead of
15121         directly owner->view()-text of getLyXText().
15122
15123 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15124
15125         * src/layout_forms.C: out preamble
15126         * src/layout_forms.h: out preamble
15127         * src/lyx_cb.C: out preamble
15128         * src/lyx_cb.h: out preamble
15129         * src/lyx_gui.C: out preamble
15130         * src/lyx_gui_misc.C: out preamble
15131         * src/lyxfunc.C: connect with guii preamble
15132
15133 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15134
15135         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15136
15137 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15138
15139         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15140         whether to run bibtex.
15141
15142 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15143
15144         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15145
15146 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15147
15148         * Makefile.am (lyx_SOURCES): removed bibforms.h
15149
15150         * vspace.h: doxygen
15151
15152         * text.C (GetVisibleRow): make several local vars const
15153
15154         * tabular.C: small cleanup.
15155
15156         * lyxserver.C (callback): use compare instead of strncmp
15157
15158         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15159         inlines to after class or to paragraph.C
15160
15161         * lyxfont.h: remove friend operator!=
15162
15163         * converter.h: move friend bool operator< to non friend and after
15164         class def.
15165
15166         * combox.h: small cleanup
15167
15168         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15169         to inlines after class def.
15170
15171         * buffer.C (pop_tag): use string operations instead of strcmp
15172
15173         * bmtable.c: doxygen, small cleanup
15174
15175         * LaTeX.h: remove friend operator==
15176
15177 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15178
15179         * screen.C:
15180         * lyxrc.[Ch]:
15181         * lyxfunc.C:
15182         * lyxfont.[Ch]:
15183         * lyx_cb.C:
15184         * intl.[Ch]:
15185         * commandtags.h:
15186         * buffer.C:
15187         * WorkArea.[Ch]:
15188         * LyXAction.C:
15189         * BufferView_pimpl.C:
15190         * BufferView.[Ch]: remove cruft
15191
15192 2001-02-14  Juergen Vigna  <jug@sad.it>
15193
15194         * lyxfunc.C: removed #if 0 unused code
15195
15196         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15197
15198         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15199
15200         * text2.C (SetSelection): added a BufferView * parameter
15201
15202 2001-02-13  Juergen Vigna  <jug@sad.it>
15203
15204         * lyxfunc.C (Dispatch): fixed protected blank problem.
15205         * BufferView2.C (protectedBlank): added LyxText * parameter.
15206
15207         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15208         (AppendColumn): same as above for column_info.
15209
15210         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15211         (moveCursorUpdate): use a LyXText param for support of InsetText.
15212
15213         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15214         (tripleClick): ditto
15215
15216         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15217
15218         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15219
15220         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15221
15222         * text2.C (SetSelection): set correct update status if inset_owner
15223         (ToggleFree): ditto
15224
15225 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15226
15227         * tabular.C: remove some commented code.
15228
15229 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15230
15231         * BufferView_pimpl.C: call hideSplash()
15232
15233         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15234
15235         * include_form.h:
15236         * bibforms.h: remove
15237
15238         * lyxfunc.C:
15239         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15240           add LFUN_CHILD_CREATE
15241
15242         * counters.h: fix tiny typo
15243
15244         * lyx_cb.C:
15245         * lyx.h:
15246         * lyx_gui.C:
15247         * lyx.C: move splash to frontends/xforms/
15248
15249         * lyx_gui_misc.C: move Include and Bibform to frontends
15250
15251         * lyxvc.h: clarify comment
15252
15253         * vspace.C: tiny housekeeping
15254
15255 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15256
15257         * text.C (PrepareToPrint): RTL Fix.
15258
15259         * paragraph.C (GetUChar): New method.
15260         (String):  Use GetUChar.
15261
15262         * buffer.C (asciiParagraph): Use GetUChar.
15263
15264 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15265
15266         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15267
15268 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15269
15270         * buffer.h:
15271         * buffer.C: rename to getLogName(), handle
15272           build log / latex log nicely
15273
15274 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * MenuBackend.C:
15277         * MenuBackend.h: remove support for reference menuitem type.
15278
15279 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * BufferView_pimpl.C: housekeeping
15282         * BufferView_pimpl.h:
15283         * LyXView.h:
15284         * Makefile.am:
15285         * Timeout.C:
15286         * Timeout.h:
15287         * minibuffer.h: move Timeout GUI-I
15288
15289 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15290
15291         * lyxrc.C (read): Update converters data-structures.
15292
15293 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15294
15295         * LaTeX.h (operator!=): add operator != for Aux_Info
15296
15297 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15298
15299         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15300
15301         * LaTeXLog.C: deleted, useful code moved to Buffer
15302
15303         * buffer.h:
15304         * buffer.C: new function getLatexLogName()
15305
15306         * lyx_gui_misc.C:
15307         * lyx_gui.C:
15308         * lyxvc.C:
15309         * lyxvc.h:
15310         * lyxfunc.C: use frontends for LaTeX and VC logs
15311
15312 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * LaTeX.h: yet another std:: that Allan forgot.
15315
15316         * Variables.C (set): renamed from isset(), because this clashes
15317         with some HP-UX macros (grr).
15318
15319 2001-02-06  Allan Rae  <rae@lyx.org>
15320
15321         * LaTeX.h: Another bug fix.  Missing std:: this time.
15322
15323 2001-02-04  Allan Rae  <rae@lyx.org>
15324
15325         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15326         floats problem. I've left it commented out because it's not quite
15327         correct.  It should also test that the current object is a table or
15328         figure inset.  But I haven't gotten around to figuring out how to do
15329         that.  I *think* it'll be something like: "table" == inset.type()
15330
15331         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15332         bool.
15333
15334 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15335
15336         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15337         all the citation/databases/styles in the auxilary file.
15338         (run): Rerun latex if there was a babel language error.
15339
15340 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15341
15342         * text.C (Backspace): Preserve the font when changing newline char
15343         with a space.
15344         (BreakParagraph): If the cursor is before a space, delete the space.
15345
15346         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15347
15348 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15349
15350         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15351         new argument (code).
15352         (ChangeCitationsIfUnique): New method.
15353
15354         * paragraph.C (GetPositionOfInset): Handle bibkey.
15355
15356 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * BufferView_pimpl.h: change type of Position::par_pos to
15359         LyXParagraph::size_type.
15360
15361 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15362
15363         * BufferView_pimpl.C (savePosition, restorePosition): Write
15364         messages to minibuffer.
15365
15366 2001-01-28  José Matos  <jamatos@fep.up.pt>
15367
15368         * buffer.C (makeDocBookFile): adds support for document language.
15369         A silly restriction on the name of LatexCommand types where removed.
15370         Added support for CDATA sections, allows to chars unescaped, used
15371         among others in code, to avoid escape < and >.
15372
15373 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15374
15375         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15376         saved positions instrad of a stack. Furthermore, a position is
15377         stored using paragraph id/paragraph position.
15378
15379         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15380         Remove LFUN_REF_BACK.
15381
15382 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15383
15384         * converter.C (dvipdfm_options): New method.
15385
15386 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15387
15388         * vspace.C (isValidLength): Fix for empty input string.
15389
15390 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * LyXAction.C (init): change description of LFUN_FIGURE to
15393         "Insert Graphics"
15394
15395 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * LaTeX.C: add using directive
15398
15399 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15400
15401         * MenuBackend.C (expand): Fix the sorting of the formats.
15402
15403 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15404
15405         * lyx_main.C: tiny error message fix
15406
15407 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15408
15409         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15410         calling fl_initialize(). This fixes the problem with ',' as
15411         decimal separator in text files.
15412
15413 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15414
15415         * trans.C (process): Fix the keymap bug.
15416
15417 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15418
15419         * LaTeX.C (scanAuxFiles): New method. Provides support for
15420         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15421         (scanLogFile) Scan for "run BibTeX" messages.
15422
15423         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15424         OT1 font encoding. Also, load the aecompl package if the ae
15425         package is loaded.
15426
15427         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15428
15429 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * texrow.C (increasePos): turn two error messages into debug
15432         messages.
15433
15434 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15435
15436         * LaTeX.C (scanAux): Handle the \@input macro.
15437         (runBibTeX): Use scanAux().
15438
15439         * language.C (latex_options_): New field.
15440
15441         * LaTeXFeatures.C (getMacros): Add language macros.
15442
15443         * buffer.C (makeLaTeXFile): Small fix.
15444
15445 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15446
15447         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15448
15449         * text2.C: add a using directive.
15450
15451 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15452
15453         * BufferView2.C:
15454         * lyx_gui_misc.h:
15455         * lyxfr1.C:
15456         * lyxfunc.C: kill LyXBell.
15457
15458 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15459
15460         * text.C (IsBoundary): Remove the error message
15461
15462         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15463
15464         * lyxrc.C (setDefaults): Correct initialization value for
15465         font_norm_type.
15466
15467 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15468
15469         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15470         gotoError().
15471
15472         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15473         and GotoNextNote().
15474
15475         * src/LyXAction.C: Added reference-next.
15476
15477         * text.C (InsertChar): Use contains instead of strchr.
15478
15479         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15480
15481 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15482
15483         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15484         alignment commands (when needed).
15485
15486         * text.C (InsertChar): Add ':' to number separator chars.