]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d2b03a733dffcf1a168824113cc01d7a1d405675
[lyx.git] / src / ChangeLog
1
2 2004-04-08  André Pönitz  <poenitz@gmx.net>
3
4         * metricsinfo.h: remove PainterInfo::width member
5
6 2004-04-08  Angus Leeming  <leeming@lyx.org>
7
8         * lyx_sty.C (boldsymbol_def): modify so that it outputs
9         "\providecommand" rather than "\newcommand", thereby preventing
10         clashes with packages that define "\boldsymbol" themselves.
11         Eg, beamer.
12
13 2004-04-08  Angus Leeming  <leeming@lyx.org>
14
15         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
16         thereby squashing an unnecessary warning.
17
18 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
19
20         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
21         setBuffer()
22         
23 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
24
25         * BufferView.C (setCursor): call redoParagraph (some insets could
26         have been opened) 
27         (putSelectionAt): remove the 'double update' trick
28
29         * BufferView_pimpl.C (fitCursor): call refreshPar
30         (workAreaDispatch): remove an uneeded update call
31         (dispatch): remove some manual update calls
32
33         * cursor.[Ch]: remove cached_y_, updatePos
34         (selHandle): set noUpdate when appropriate
35
36         * lyxfunc.C (dispatch): track if we need an update
37         
38         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
39
40         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
41         (paintSelection): cheap optimization, do not call cursorX when not
42         needed 
43         (paintPars): change signature
44         (refreshPar): add
45         (paintText): adjust
46         (paintTextInset): adjust
47
48         * text.C: adjust
49
50 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * lengthcommon.C: compilation fix: remove explicit array size from
53         unit_name[] and friends
54
55 2004-04-05  Angus Leeming  <leeming@lyx.org>
56
57         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
58
59         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
60         present only for the preferences dialog.
61         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
62
63 2004-04-05  Angus Leeming  <leeming@lyx.org>
64
65         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
66         to enable the frontends to export changes to lyxrc correctly.
67
68         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
69
70 2004-04-07  André Pönitz  <poenitz@gmx.net>
71
72         * cursor.[Ch] (selClear, adjust): remove math
73
74         * cursor_slice.C: more agressive assert
75
76         * lyxfunc.C:
77         * BufferView_pimpl.C: rework mouse event dispatch 
78
79         * dociterator.C:
80         * paragraph.C:
81         * text2.C:
82         * text3.C: adjust
83
84 2004-04-05  André Pönitz  <poenitz@gmx.net>
85
86         * cursor.[Ch] (valign, halign...): remove unneeded functions
87
88 2004-04-05  Angus Leeming  <leeming@lyx.org>
89
90         * lyxlength.[Ch] (unit_name et al.): const-correct.
91
92 2004-04-05  Angus Leeming  <leeming@lyx.org>
93
94         * BufferView_pimpl.C:
95         * buffer.C:
96         * counters.C:
97         * cursor.C:
98         * lyxfunc.C
99         * paragraph.C:
100         * pariterator.C:
101         * text.C:
102         * text2.C:
103         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
104
105 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * text3.C (getStatus): add LFUN_BEGINNINGBUF
108
109 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
110
111         * lyxfind.C: add a couple of inTexted() tests + other small fixes
112         * BufferView_pimpl.[Ch] (getStatus)
113         * BufferView.[Ch] (getStatus): add
114         * lyxfunc.C (getStatus): move lfuns handled in
115         BufferView::dispatch to te function above 
116         * Cursor.C (setSelection): set selection() = true
117
118 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
119
120         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
121
122 2004-03-31  Angus Leeming  <leeming@lyx.org>
123
124         * lyxfunc.C (dispatch): Fall through to the generic
125         Dialogs::show("preamble").
126
127 2004-03-31  Angus Leeming  <leeming@lyx.org>
128
129         * lyxfunc.C (dispatch): Fall through to the generic
130         Dialogs::show("spellchecker").
131
132 2004-03-31  Angus Leeming  <leeming@lyx.org>
133
134         * lyxfunc.C (getStatus, dispatch): changed invocation of the
135         preferences dialog.
136
137 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
138
139         * BufferView.C
140         * cursor.[Ch]
141         * dociterator.[Ch]:
142         * insetiterator.[Ch]:
143         * lyxfind.C:
144         * lyxfunc.C:
145         * pariterator.[Ch]:
146         * text2.C:
147         * undo.[Ch]: s/DocumentIterator/DocIterator/g
148
149 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
150
151         * BufferView.C (setCursor, putSelectionAt): call edit to open the
152         insets where we are putting the cursor.
153
154 2004-03-31  Angus Leeming  <leeming@lyx.org>
155
156         * lfuns.h:
157         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
158
159         * lyxrc.[Ch] (read, write): overloaded member functions taking
160         a std::[io]stream arguments.
161
162         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
163
164 2004-03-31  Angus Leeming  <leeming@lyx.org>
165
166         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
167         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
168
169         * lyxtextclass.C (load): if the text class couldn't be loaded, then
170         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
171
172 2004-03-31  Angus Leeming  <leeming@lyx.org>
173
174         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
175         the LFUN_ALL_INSETS_TOGGLE code.
176
177 2004-03-30  Angus Leeming  <leeming@lyx.org>
178
179         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
180         has died. Fall through to the generic Dialogs::show("document").
181         
182 2004-03-30  Angus Leeming  <leeming@lyx.org>
183
184         * lfuns.h:
185         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
186         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
187
188         * lyxfunc.C (getStatus, dispatch): define the actions for these
189         lfuns. Little more than a cut and pste job from ControlDocument.C
190
191         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
192
193 2004-03-30  Angus Leeming  <leeming@lyx.org>
194
195         * lfuns.h:
196         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
197         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
198
199         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
200         open/closed state of ollapsable insets. Usage:
201
202         all-inset-toggle <state> <name>, where
203         <state> == "open" || "closed" || "toggle" and
204         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
205
206         * lyxtext.h, text2.C (toggleInset): removed.
207
208         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
209         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
210         now passes LFUN_INSET_TOGGLE to the found inset.
211
212         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
213         is now invoked as "all-insets-toggle toggle branch".
214
215 2004-03-30  Angus Leeming  <leeming@lyx.org>
216
217         * dociterator.C:
218         * insetiterator.C:
219         * pariterator.[Ch]: added/corrected header blurb.
220
221 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
222
223         * dociterator.[Ch]: add an inset_ member 
224         (backwardPos): implemented
225         (backwardPos, forwardPos): use inset_ when the stack is empty.
226         (doc_iterator_begin, doc_iterator_end): implemented
227         * pariterator.[Ch]: adjust, add begin, end
228         * insetiterator.[Ch]: adjust, add begin, end
229         * cursor.C: 
230         * document.C:
231         * BufferView.C:
232         * BufferView_pimpl.C:
233         * CutAndPaste.C: adjust
234
235 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
236
237         * buffer.C: increment file format to 232.
238         * LaTeXFeatures.C: add bibtopic package.
239         * bufferparams.[Ch]: param \use_bibtopic.
240         
241         * lyxrc.[Ch]: add lyxrc bibtex_command
242         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
243         
244         * buffer.C: increment file format to 231.
245
246 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
247
248         * dociterator.C: implement forwardPar
249         * iterators.[Ch]: remove, replaced by
250         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
251         * BufferView.C:
252         * BufferView_pimpl.C:
253         * CutAndPaste.C:
254         * buffer.C:
255         * bufferview_funcs.C:
256         * cursor.C:
257         * lyxfind.C
258         * lyxfunc.C
259         * paragraph_funcs.C
260         * toc.C:  
261         * Makefile.am: adjust
262
263 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
264
265         * CutAndPaste.C (pasteSelection): fix 2 crashes
266         (eraseSelection): fix a crash
267         * paragraph_funcs.C: remove a warning
268
269 2004-03-28  Angus Leeming  <leeming@lyx.org>
270
271         * lfuns.h:
272         * LyXAction.C (init): new LFUN_PRINT.
273
274         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
275
276 2004-03-27  Angus Leeming  <leeming@lyx.org>
277
278         * lfuns.h:
279         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
280
281         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
282
283 2004-03-27  Angus Leeming  <leeming@lyx.org>
284
285         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
286         insetlist always contains non-null pointers to insets.
287
288 2004-03-26  Angus Leeming  <leeming@lyx.org>
289
290         * src/BufferView_pimpl.C:
291         * src/CutAndPaste.C:
292         * src/buffer.C:
293         * src/iterators.C:
294         * src/output_plaintext.C:
295         * src/outputparams.h:
296         * src/paragraph_funcs.C:
297         * src/rowpainter.C:
298         * src/text.C:
299         * src/text2.C:
300         * src/frontends/controllers/ControlErrorList.C:
301         * src/frontends/gtk/FileDialogPrivate.C:
302         * src/frontends/gtk/GPainter.C:
303         * src/frontends/gtk/GToolbar.C:
304         * src/frontends/qt2/QRef.C:
305         * src/mathed/math_scriptinset.C: squash compiler warnings.
306
307 2004-03-26  Angus Leeming  <leeming@lyx.org>
308
309         * ispell.C (LaunchIspell::start):
310         * lyx_cb.C (AutoSaveBuffer::start):
311         invoke run(DontWait) rather than runNonBlocking().
312
313 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
314
315         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
316
317 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * kbsequence.C (print): adjust
320
321         * kbmap.C (printKeySym): rename and change signature
322         (printKey): use LyXKeySym::print()
323
324 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
325
326         * undo.C: add using std::advance to compile for stlport
327
328 2004-03-24  Angus Leeming  <leeming@lyx.org>
329
330         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
331         it leads to a crash when no buffer is present.
332
333 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334             Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * lyxfunc.C (dispatch): 
337         * bufferparams.C (readToken): use the new LColor::setColor 
338
339         * LColor.[Ch] (setColor): new version that takes two strings as
340         argument and creates a new color entry if necessary
341
342 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
343
344         * buffer.C (makeLaTeXFile): if the main latex file that is
345         processed is usually a subdocument of some master, then pretend
346         for a while that it is actually the master
347
348 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
349
350         * buffer.C (getLabelList):
351         (getBibkeyList): use getMasterBuffer()
352         (getMasterBuffer): new method. Returns the main document in the
353         case where one is using included documents.
354
355 2004-03-25  André Pönitz  <poenitz@gmx.net>
356
357         * Makefile.am:
358         * iterators.[Ch]:
359         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
360
361         * ParagraphList_fwd.h: change ParagraphList to a std::vector
362
363         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
364         text*.C over here. Rename namespace CutAndPaste to lyx::cap
365
366         * ParameterStruct.h: merge with ParagraphParameters
367
368         * lyxtext.h: remove LyXText::parOffset() and getPar()
369
370         * text3.C: Remove all 'manual' update calls. We do now one per user
371         interaction which is completely sufficient.
372
373         * Bidi.C:
374         * BufferView.[Ch]:
375         * BufferView_pimpl.C:
376         * FontIterator.[Ch]:
377         * MenuBackend.C:
378         * ParagraphParameters.[Ch]:
379         * buffer.C:
380         * buffer.h:
381         * bufferlist.C:
382         * cursor.[Ch]:
383         * cursor_slice.[Ch]:
384         * dociterator.[Ch]:
385         * errorlist.[Ch]:
386         * factory.C:
387         * lfuns.h:
388         * lyxfind.C:
389         * lyxfunc.C:
390         * output_docbook.[Ch]:
391         * output_latex.[Ch]:
392         * output_linuxdoc.[Ch]:
393         * output_plaintext.[Ch]:
394         * paragraph.[Ch]:
395         * paragraph_funcs.[Ch]:
396         * paragraph_pimpl.[Ch]:
397         * rowpainter.C:
398         * tabular.[Ch]:
399         * text.C:
400         * text2.C:
401         * toc.C:
402         * undo.[Ch]: adjust
403
404         * frontends/controllers/ControlDocument.C:
405         * frontends/controllers/ControlErrorList.C:
406         * frontends/controllers/ControlSpellchecker.C:
407         * insets/inset.C:
408         * insets/inset.h:
409         * insets/insetbase.h:
410         * insets/insetbibitem.C:
411         * insets/insetbox.C:
412         * insets/insetbranch.C:
413         * insets/insetcaption.C:
414         * insets/insetcharstyle.C:
415         * insets/insetcharstyle.h:
416         * insets/insetcollapsable.C:
417         * insets/insetcollapsable.h:
418         * insets/insetert.C:
419         * insets/insetfloat.C:
420         * insets/insetfoot.C:
421         * insets/insetmarginal.C:
422         * insets/insetnote.C:
423         * insets/insetoptarg.C:
424         * insets/insettabular.C:
425         * insets/insettext.C:
426         * insets/insettext.h:
427         * insets/insetwrap.C:
428         * mathed/math_mboxinset.C:
429         * mathed/math_nestinset.C:
430         * mathed/math_scriptinset.C:
431         * mathed/math_scriptinset.h:
432         * support/types.h:
433
434 2004-03-24  Angus Leeming  <leeming@lyx.org>
435
436         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
437         deal with any child processes that have finished but are waiting to
438         communicate this fact to the rest of LyX.
439
440 2004-03-24  Angus Leeming  <leeming@lyx.org>
441
442         64-bit compile fixes.
443
444         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
445         (c-tor): pass lyx::pos_types rather than ints.
446
447         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
448         lyx::pos_type.
449
450         * text.C (Delete): compile fix.
451         (getPar): ensure that function declaration is the same as that in
452         the header file.
453
454 2004-03-23  Angus Leeming  <leeming@lyx.org>
455
456         * ispell.C (LaunchIspell):
457         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
458         a boost::shred_ptr rather than a std::auto_ptr.
459
460 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
461
462         * lyxfunc.C (getStatus): handle read-only buffers correctly;
463         handle LFUN_FILE_INSERT_*
464
465         * lyxrc.C (setDefaults, getDescription, output, read):
466         * lyxrc.h: remove ps_command
467
468 2004-03-22  Angus Leeming  <leeming@lyx.org>
469
470         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
471         Ensure that error_handler is processed once only and that all data
472         is saved before attempting to output any warning messages.
473
474         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
475
476 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
477
478         * tabular.C (TeXRow): crash fix (from Kayvan and André)
479
480 2004-03-19  André Pönitz  <poenitz@gmx.net>
481
482         * cursor.[Ch] (reset): take main text inset as argument
483
484         * BufferView: adjust
485         * BufferView_pimpl.C: adjust
486
487         * paragraph.[Ch]: fix completely broken operator=()
488
489 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * LColor.C (getFromLyXName): make sure that the color name is used
492         as lowercase.
493
494 2004-03-17  Angus Leeming  <leeming@lyx.org>
495
496         * lfuns.h:
497         * LyXAction.C (init): remove LFUN_FORKS_KILL.
498
499         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
500         dialog and to kill a forked process.
501
502 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
503
504         * text2.C (setCursorFromCoordinates): fix font problem
505
506 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
509         bogus "rebuild cursor" code
510
511 2004-03-11  André Pönitz  <poenitz@gmx.net>
512
513         * buffer.[Ch]: use InsetText instead of LyXText as container for
514         the main lyx text.
515
516         * dociterator.[Ch]: drop the BufferView * member which is not needed
517         anymore after the change to buffer.C
518
519         * paragraph_funcs.C:
520         * text.C:
521         * text2.C:
522         * BufferView.[Ch]:
523         * BufferView_pimpl.[Ch]:
524         * cursor.[Ch]:
525         * cursor_slice.[Ch]: adjust
526
527         * text3.C: fix bug in mathDispatch
528
529 2004-03-08  André Pönitz  <poenitz@gmx.net>
530
531         * undo.[Ch]: use 'StableDocumentIterator' as base for
532         the Undo struct.
533
534 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * LaTeXFeatures.C:
537         * bufferparams.[Ch]: add jurabib support and param.
538
539         * LaTeX.C: add FIXME/comment.
540
541 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
542
543         * buffer.C: increment file format to 230.
544
545 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
546
547         * cursor.C (dispatch): avoid infinite loops
548
549 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
550
551         * rowpainter.C (paintSelection): fix x coordinates
552
553 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
554
555         * text.C (rowBreakPoint): fix breaking before displayed insets
556
557 2004-03-01  André Pönitz  <poenitz@gmx.net>
558
559         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
560
561         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
562
563         * Makefile.am:
564         * BufferView.C:
565         * BufferView_pimpl.C:
566         * buffer.C:
567         * lyxfind.C:
568         * lyxfunc.C:
569         * text.C:
570         * text2.C:
571         * text3.C: adjust
572
573 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
574
575         * lyxtext.h:
576         * text.C:
577         * text2.C:
578         * rowpainter.C:
579         * BufferView_pimpl.C: rename textwidth -> maxwidth,
580         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
581
582 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
583
584         * Bidi.[Ch] (computeTables): const correctness
585         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
586         fill_hfill, fill_label_hfill and x from Row
587         * lyxtext.h: prepareToPrint returns a RowMetrics
588         * rowPainter.C: adjust
589         * text.C (prepareToPrint): use width, not textWidth. adjust
590         (redoParagraphInternal, cursorX): adjust
591         * text2.C (getColumnNearX): adjust
592         (init): put a default value to the top LyXText::width
593
594 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
595
596         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
597
598 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
599
600         * lyxtext.h: add FontIterator class
601
602         * text.C (FontIterator, operator*, operator->, operator++): add
603         (rowBreakPoint, setRowWidth): adjust (fixing a
604         rebreaking bug)
605
606 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * BufferView_pimpl.C (workAreaDispatch): allow also
609         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
610
611 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
612
613         * text.C (rowBreakPoint): fix a bug showing with very large insets
614
615 2004-02-25  André Pönitz  <poenitz@gmx.net>
616
617         * text3.C:
618         * cursor.[Ch]: move some mathed specific code to mathed
619
620 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
621
622         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
623         use_tempdir in preferences
624         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
625         tempfile creation
626         * lyx_main.C: ensure that tempdir is valid
627         * lyxlex.h: correct typo
628         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
629         * paragraph.[Ch] (isMultiLingual): make const
630         * cursor.[Ch] (openable): make const
631
632 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
635
636 2004-02-20  André Pönitz  <poenitz@gmx.net>
637
638         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
639
640         * cursor.[Ch]: prepare for localized getStatus()
641
642         * lyxtext.h:
643         * tabular.C:
644         * text.C:
645         * text2.C:
646         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
647
648 2004-02-20  André Pönitz  <poenitz@gmx.net>
649
650         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
651
652 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
653
654         * text2.C (setCursorFromCoordinates): switch to absolute coords
655         (cursorUp): adjust
656         (cursorDown): adjust
657         * text3.C (dispatch): adjust
658
659 2004-02-16  André Pönitz  <poenitz@gmx.net>
660
661         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
662           insets/ChangeLog)
663
664         * cursor_slice.[Ch]: remove unneeded acessor function
665
666         * lyxtext.h: rename rtl() to isRTL()
667
668         * rowpainter.C:
669         * tabular.C:
670         * text.C:
671         * text2.C:
672         * text3.C: adjust
673
674 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
675
676         * rowpainter.C (paintSelection): coord fix
677
678 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
679
680         * Spacing.C: compile fix
681
682 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
683
684         * cursor.C (dispatch): restore current_ before returning
685
686 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
687
688         * text2.C (cursorUp, cursorDown): fix coords
689         (moveUp): fix crash
690
691 2004-02-12  André Pönitz  <poenitz@gmx.net>
692
693         * lyxtext.h:
694         * text.C:
695         * text2.C:
696         * text3.C: add LCursor & parameter to most cursor movement functions
697           remove usage of LyXText::cursorRow() and cursorPar()
698
699         * cursor.[Ch]: add textRow() needed members
700
701         * BufferView.C:
702         * BufferView_pimpl.C:
703         * paragraph.[Ch]:
704         * BufferView.C:
705         * BufferView_pimpl.C: adjust
706
707 2004-02-11  André Pönitz  <poenitz@gmx.net>
708
709         * lyxfunc.C:
710         * BufferView.[Ch]:
711         * BufferView_pimpl.C: shift undo/redo handling
712
713         * cursor.[Ch]: fix mathed crash
714
715         * lyxfind.C:
716         * lyxtext.h: move selectionAsText to LCursor
717
718         * output_latex.C:
719         * paragraph.C:
720         * text.C:
721         * text2.C:
722         * text3.C: adjust
723
724         * rowpainter.C: fix excessive drawing
725
726 2004-02-06  André Pönitz  <poenitz@gmx.net>
727
728         * BufferView.[Ch]:
729         * BufferView_pimpl.[Ch]:
730         * text3.C: move some text specific LFUN handling
731
732 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
733
734         * text3.C (checkInsetHit): adjust coords
735         * text2.C (getColumnNearX): adjust coords
736         (edit): adjust coords
737         * text.C (getRowNearY): add two asserts
738
739 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * converter.C:
742         * format.C: add using std::distance to compile on gcc 2.95/stlport
743
744 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
745
746         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
747
748 2004-02-04  André Pönitz  <poenitz@gmx.net>
749
750         * BufferView.[Ch] (insertInset):
751         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
752
753         * text2.C:
754         * text3.C: adjust
755
756 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
757
758         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
759         on the default clause of the switch
760         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
761         wasn't catched by LCursor::dispatch
762
763 2004-02-03  André Pönitz  <poenitz@gmx.net>
764
765         * BufferView.C:
766         * cursor.[Ch]: some additional asserts
767
768         * undo.[Ch]: remove LyXText dependency in interface
769
770         * lyxfunc.C: adjust
771
772         * lyxtext.h (firstPar, lastPar): remove dead functions
773
774         * text.C:
775         * text2.C:
776         * text3.C:
777         * paragraph.[Ch]: adjust
778
779 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
780
781         * lyxfind.C (find): fix argument order in call to ::find
782
783 2004-02-02  André Pönitz  <poenitz@gmx.net>
784
785         * cursor.[Ch]: remove direct access to anchor
786
787         * text.C: remove findText() hack
788
789 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
790
791         * iterators.[Ch] (lockPath): remove in favour of...
792         * BufferView.[Ch] (setCursor): this addition
793         * BufferView.C (putSelectionAt): adjust
794         * undo.C (performUndoOrRedo): adjust
795         * lyxfunc.C (dispatch): adjust
796
797 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
798
799         * iterators.C (lockPath): add a missing slice
800         * undo.C (performUndoOrRedo): remove redundant positioning code
801
802 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
803
804         * vc-backend.C (scanMaster): ";" -> ';'
805
806 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
807
808         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
809         std::binary_function
810
811         * lyxtextclass.C (compare_name): rename to...
812         (LayoutNamesEqual): ...this
813
814         * lyxlex_pimpl.C (compare_tags): inherit from
815         std::binary_function, put back into anon namespace
816
817         * lyxfind.C (MatchString): inherig from std::binary_function
818         (findChange): use empty() istead of !size()
819
820         * format.C (FormatNamesEqual): new functor
821         (getFormat): use it
822         (getNumber): use it
823         (add): use it
824         (erase): use it
825         (setViewer): use it
826
827         * converter.C (compare_Converter): rename to...
828         (ConverterEqual): ...this, and fixup a bit.
829         (getConverter): use it, and make function const
830         (getNumber): use it, and make function const
831         (add): use it
832         (erase): use it:
833
834         * bufferlist.C: add using boost::bind
835
836         * MenuBackend.C (MenuNamesEqual): new functor
837         (hasMenu): use it, and make function const
838         (hasSubmenu): use nested bind to get rid of compare_memfun.
839
840 2004-01-30  André Pönitz  <poenitz@gmx.net>
841
842         * BufferView_pimpl.C:
843         * cursor.C:
844         * cursor.h:
845         * cursor_slice.[Ch]:
846         * lyxfunc.C:
847         * lyxtext.h:
848         * paragraph_funcs.C:
849         * paragraph_funcs.h:
850         * rowpainter.C:
851         * text.C:
852         * text2.C:
853         * text3.C: move some of the edit(x,y) handling to the insets
854         some coordinate changes.
855
856 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
857
858         * text.C: add using statements for std::advance and std::distance
859
860         * paragraph.C: add using statement for std::distance
861
862         * lyxfind.C: add using statement for std::advance
863
864         * cursor.C (region): remove std:: from swap
865         (openable): use nucleus in stead of operator->
866
867         * BufferView.C: add using statements for std::distance and std::swap
868
869 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
870
871         * iterators.C: Remove the pimple, move the needed structures to
872         the header file. Create accessor for the positions stack.
873         (asPosIterator): remove function
874
875         * PosIterator.C (PosIterator): move constructors to top of file
876         (PosIterator): reimplement the constructor taking a ParIterator in
877         terms of setFrom.
878         (setFrom): new function
879         (operator!=): inline it
880
881 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
882
883         * lyxfind.C (replaceAll): use std::advance
884
885         * iterators.h: inherit from std::iterator.
886
887         * PosIterator.C (advance, distance): remove
888         * PosIterator.h: interit from std::iterator.
889
890 2004-01-26  André Pönitz  <poenitz@gmx.net>
891
892         * BufferView.[Ch]:
893         * BufferView_pimpl.[Ch]:
894         * InsetList.[Ch]:
895         * PosIterator.[Ch]:
896         * buffer.h:
897         * bufferview_funcs.C:
898         * cursor.[Ch]:
899         * cursor_slice.h:
900         * factory.[Ch]:
901         * iterators.[Ch]:
902         * lyxfind.C:
903         * lyxfunc.C:
904         * lyxtext.h:
905         * output_docbook.C:
906         * output_latex.C:
907         * output_linuxdoc.C:
908         * output_plaintext.C:
909         * paragraph.[Ch]:
910         * paragraph_funcs.[Ch]:
911         * paragraph_pimpl.[Ch]:
912         * rowpainter.C:
913         * tabular.C:
914         * tabular.h:
915         * text.C:
916         * text2.C:
917         * text3.C: more IU:  dumps most of the rest of the mathcursor
918     implementation into cursor.[Ch]; "globalize" a bit of it.
919
920 2004-01-25  Angus Leeming  <leeming@lyx.org>
921
922         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
923
924 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
925
926         * LaTeXFeatures.h: add nice_ and nice() const
927         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
928
929 2004-01-20  André Pönitz  <poenitz@gmx.net>
930
931         * BufferView.[Ch]:
932         * BufferView_pimpl.C:
933         * PosIterator.C:
934         * bufferview_funcs.C:
935         * cursor.[Ch]:
936         * cursor_slice.[Ch]:
937         * factory.C:
938         * iterators.C:
939         * lyx_cb.C:
940         * lyxfind.C:
941         * lyxfunc.C:
942         * lyxtext.h:
943         * rowpainter.C:
944         * text.C:
945         * text2.C:
946         * text3.C:
947         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
948           LCursor and mathcursor parts to LCursor and InsetBase.
949
950 2004-01-15  André Pönitz  <poenitz@gmx.net>
951
952         * cursor_slice.[Ch]: add a few covienience functions
953
954         * funcrequest.[Ch]: remove BufferView * member
955
956         * BufferView_pimpl.C:
957         * cursor.C:
958         * factory.[Ch]:
959         * lyxfind.[Ch]:
960         * lyxfunc.C:
961         * lyxtext.h:
962         * text3.C:
963         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
964
965 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
966
967         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
968         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
969
970 2004-01-13  André Pönitz  <poenitz@gmx.net>
971
972         * textcursor.[Ch]:
973         * lyxtext.h: hide cursor and selection anchor behind accessor function
974
975         * BufferView.C:
976         * BufferView_pimpl.[Ch]:
977         * PosIterator.C:
978         * bufferview_funcs.C:
979         * cursor.h:
980         * lyxfind.C:
981         * lyxfunc.C:
982         * text.C:
983         * text2.C:
984         * text3.C:
985         * undo.C: adjust
986
987         * cursor.h:
988         * cursor_slice.[Ch]: some integer type changes for inset unification
989
990         * lyxcursor.[hC]: remove, it's CursorSlice now.
991
992         * Makefile.am:
993         * BufferView_pimpl.[Ch]:
994         * bufferview_funcs.C:
995         * cursor_slice.C:
996         * lyxtext.h:
997         * text.C:
998         * text2.C:
999         * text3.C:
1000         * textcursor.[Ch]: adjust
1001
1002 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1003
1004         * text2.C (undoSpan): add and use
1005         * text.C (breakParagraph): use undoSpan (fix bug 578)
1006         * lyxtext.h: adjust
1007
1008 2004-01-08  Angus Leeming  <leeming@lyx.org>
1009
1010         * BufferView_pimpl.C (MenuInsertLyXFile):
1011         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1012         * lyxfunc.C (menuNew, open, doImport):
1013         FileFilterList change to the FileDialog open and save functions.
1014
1015 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1016
1017         * ShareContainer.h: make isEqual and isUnique adaptable
1018
1019         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1020
1021 2004-01-07  Angus Leeming  <leeming@lyx.org>
1022
1023         * LyXAction.C:
1024         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1025
1026         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1027
1028         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1029         functions replacing find, replace and replaceAll.
1030
1031         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1032         LFUN_WORDFIND(FORWARD|BACKWARD).
1033
1034 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1035
1036         * text.C (breakParagraph): remove an outdated #warning
1037
1038 2004-01-07  André Pönitz  <poenitz@gmx.net>
1039
1040         * lyxfind.C: somewhat clearer logic
1041
1042         * text.C: prevent crash in cursorX on unitialized row cache
1043
1044 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1045
1046         * lyxcursor.[Ch] (operator>): add
1047         * textcursor.C (selStart, selEnd): use std::min and std::max
1048
1049 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1050
1051         * Chktex.C: include boost/format.hpp
1052
1053 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1054
1055         * InsetList.C: replace functor MathcIt with adaptable functor
1056         InsetTablePosLess
1057         (insetIterator): modify accordingly
1058
1059         * BranchList.h: move the BranchNamesEqual functor here from...
1060         * BranchList.C: ... to here
1061
1062         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1063         SameName and match.
1064         (add): replace a finding loop with std::find_if.
1065
1066 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1067
1068         * output_docbook.C: moving LatexParam functionality into
1069         .layout files
1070
1071 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1072
1073         * buffer.C: increment format to 229.
1074
1075 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1076
1077         * LaTeXFeatures.C:
1078         * lyx_sty.[Ch]: remove minipageindent_def
1079
1080         * LyXAction.C:
1081         * factory.C:
1082         * lfuns.h:
1083         * lyxfunc.C:
1084         * text3.C: remove LFUN_INSET_MINIPAGE
1085
1086 2003-12-28  Angus Leeming  <leeming@lyx.org>
1087
1088         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1089
1090 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * text2.C (setParagraph): fix off-by-one crash
1093
1094 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1095
1096         * output_docbook.C: header stuff for AGU
1097
1098 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1099
1100         * text2.C (redoCursor): remove
1101         * text.C:
1102         * text3.C:
1103         * BufferView_pimpl.C: remove calls to redoCursor and
1104         setCursor(cursor.par(), cursor.pos()) all around
1105
1106 2003-12-15  Angus Leeming  <leeming@lyx.org>
1107
1108         * buffer.C: up the format to 228.
1109
1110 2003-12-15  André Pönitz  <poenitz@gmx.net>
1111
1112         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1113         slices
1114
1115         * Makefile.am:
1116
1117         * BufferView_pimpl.C:
1118         * cursor.[Ch]:
1119         * lyxcursor.[Ch]:
1120         * rowpainter.[Ch]:
1121         * lyxtext.h:
1122         * text.C:
1123         * text2.C:
1124         * text3.C: adjust
1125
1126 2003-12-15  Angus Leeming  <leeming@lyx.org>
1127
1128         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1129         than getFromGUIName to manipulate the color.
1130
1131 2003-12-14  Angus Leeming  <leeming@lyx.org>
1132
1133         * BranchList.[Ch]: minimize the API.
1134         (Branch::getBranch, getColor): now return a 'const &'.
1135         (Branch::setSelected) now returns a bool set to true if the
1136         selection status changes.
1137         (BranchList::clear, size, getColor, setColor, setSelected,
1138         allBranches, allSelected, separator): removed.
1139         (BranchList::find): new functions, returning the Branch with
1140         the given name.
1141         (BranchList::add, remove): return a bool indicating that
1142         the operation was successful.
1143
1144         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1145         new InsetBranch::isBranchSlected member function.
1146
1147         * LColor.[Ch]: mimimize the API.
1148         (fill): renamed as addColor and made private.
1149         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1150         versions of these functions taking a string arg have been removed.
1151
1152         * bufferparams.C (readToken):
1153         * lyxfunc.C (dispatch):
1154         * lyxrc.C (read): changes due to the altered BranchList and
1155         LColor APIs.
1156
1157         * factory.C (createInset, readInset): changes due to altered
1158         InsetBranch c-tor.
1159
1160 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1161
1162         * factory.C:
1163         * lyxfunc.C: remove insetminipage. "minipage-insert"
1164         now produces a frameless minipage box inset.
1165
1166 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1167
1168         * textcursor.[Ch] (selStart,selEnd): add new methods
1169         remove selection::start, end, use LyXCursor::operator<
1170         * lyxcursor.[Ch] (operator<): add
1171         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1172         * BufferView.[Ch] (unsetXSel): add
1173         * text2.C (clearSelection): use unsetXSel,adjust
1174         * text.C: adjust
1175         * text3.C: adjust
1176         * rowpainter.C: adjust
1177         * bufferview_funcs.C (put_selection_at): adjust
1178
1179 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1180
1181         * BufferView_pimpl.C: small coord. correction
1182
1183 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1184
1185         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1186         dragging over the splash screen.
1187
1188 2003-12-11  Angus Leeming  <leeming@lyx.org>
1189
1190         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1191         as it is now handled in LyXText::dispatch.
1192
1193         * text3.C (doInsertInset): remove a level of nesting.
1194
1195 2003-12-11  Angus Leeming  <leeming@lyx.org>
1196
1197         * factory.C (createInset): changes due to the changed interface to
1198         InsetCommandMailer::string2params.
1199
1200 2003-12-10  Angus Leeming  <leeming@lyx.org>
1201
1202         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1203         'dialog-show-new-inset <inset name>'
1204
1205 2003-12-10  Angus Leeming  <leeming@lyx.org>
1206
1207         * buffer.C: up the format to 227.
1208
1209         * factory.C: the box inset is now identified simply by 'Box'.
1210
1211 2003-12-10  Angus Leeming  <leeming@lyx.org>
1212
1213         * buffer.C: up the format to 226.
1214
1215         * factory.C: the note inset is now identified simply by 'Note'.
1216
1217 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1218
1219         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1220         when a pit is enough. Standarize a couple of loops.
1221
1222 2003-12-05  Angus Leeming  <leeming@lyx.org>
1223
1224         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1225         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1226         data to the re-worked "log" dialog.
1227
1228 2003-12-03  André Pönitz  <poenitz@gmx.net>
1229
1230         * PosIterator.C:
1231         * iterators.C:
1232         * lyxtext.h:
1233         * output_latex.C:
1234         * paragraph_funcs.C:
1235         * text.C:
1236         * text2.C: use Inset::getText instead of Inset::getParagraph
1237
1238 2003-12-03  André Pönitz  <poenitz@gmx.net>
1239
1240         * buffer.[Ch]:
1241         * lyxtext.h:
1242         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1243         InsetText::read() as LyXText::read()
1244
1245 2003-12-02  Angus Leeming  <leeming@lyx.org>
1246
1247         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1248         type. Add a comment in the implementation that the function uses
1249         the stream's bad() function rather than fail() as the std::streams
1250         would do.
1251
1252 2003-12-02  André Pönitz  <poenitz@gmx.net>
1253
1254         * lyxlex.[Ch]: make interface more similar to std::stream
1255
1256         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1257
1258 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1259
1260         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1261
1262 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1263
1264         * vspace.[Ch]: remove VSpace::NONE
1265
1266 2003-12-01  André Pönitz  <poenitz@gmx.net>
1267
1268         * buffer.[Ch]:
1269         * lyxtext.h: move ParagraphList member to LyXText
1270         rename LyXText::ownerParagraphs to LyXText::paragraph
1271
1272         * CutAndPaste.C:
1273         * bufferview_funcs.C:
1274         * iterators.[Ch]:
1275         * lyx_cb.C:
1276         * paragraph.C:
1277         * rowpainter.C:
1278         * tabular.C:
1279         * text.C:
1280         * text2.C:
1281         * text3.C: adjust
1282
1283         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1284
1285         * undo.C: fix cursor positioning
1286
1287 2003-12-01  John Levon  <levon@movementarian.org>
1288
1289         * BufferView_pimpl.C: fix a crash on exit with
1290         a buffer open
1291
1292 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1293
1294         * BranchList.C: fix setSelected() method.
1295
1296 2003-11-28  André Pönitz  <poenitz@gmx.net>
1297
1298         * ParagraphParameters.[Ch]:
1299         * ParameterStruct.h: remove space above/below from Paragraph to
1300          InsetVSpace
1301
1302         * BufferView_pimpl.C:
1303         * factory.C:
1304         * lyxfunc.C:
1305         * lyxtext.h:
1306         * output_latex.C:
1307         * paragraph.C:
1308         * paragraph_funcs.C:
1309         * rowpainter.[Ch]:
1310         * text.C:
1311         * text2.C:
1312         * text3.C: adjust
1313
1314 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1315
1316         * factory.C: Syntax change for CharStyles
1317
1318 2003-11-28  André Pönitz  <poenitz@gmx.net>
1319
1320         * BufferView.[Ch]:
1321         * BufferView.[Ch]:
1322         * buffer.[Ch]:
1323         * buffer.[Ch]: move LyXText member
1324
1325 2003-11-28  André Pönitz  <poenitz@gmx.net>
1326
1327         * BufferView.[Ch]: make LyXText * text a private member
1328
1329         * BufferView_pimpl.C:
1330         * cursor.C:
1331         * iterators.C:
1332         * lyx_cb.C:
1333         * lyxfind.C:
1334         * lyxtext.h:
1335         * rowpainter.[Ch]:
1336         * text.C:
1337         * text2.C:
1338         * undo.C: adjust
1339
1340         * output_plaintext.C: cleanup
1341
1342 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1343
1344         * buffer.C:
1345         * lyxtextclass.[Ch]: parametrize SGML document header
1346
1347 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1348
1349         * converter.[Ch]:
1350         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1351         getFlavor().
1352
1353 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1354
1355         * text2.C (setFont): rework using PosIterator (no more recursive)
1356         (setCharFont): no more needed
1357         (setLayout): no more selection cursors fiddling (done by redoCursor)
1358         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1359         destroy remaining ones)
1360
1361 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1364         * lyxtext.h: ditto
1365         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1366         selection cursors
1367         * lyxfunc.C: adjust
1368         * text3.C: adjust + re-allow multi par depth changes
1369         * textcursor.C: simplify a bit
1370
1371 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1372
1373         * src/buffer.C:
1374         * src/lyxlayout.C:
1375         * src/lyxlayout.h:
1376         * src/lyxtext.h:
1377         * src/output_docbook.C:
1378         * src/output_latex.C:
1379         * src/paragraph.C:
1380         * src/paragraph.h:
1381         * src/sgml.C:
1382         * src/sgml.h:
1383         * src/text2.C: Introducing a number of tags parametrizing various
1384         XML formats that we may want to support
1385
1386 2003-11-25  André Pönitz  <poenitz@gmx.net>
1387
1388         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1389
1390         * lyxtext.h (leftMargin/rightMargin): simplify interface
1391
1392         * rowpainter.C:
1393         * text.C:
1394         * text2.C:
1395         * text3.C: adjust
1396
1397 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1398
1399         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1400         master file to any child files. Fixes bug 546.
1401
1402 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1403
1404         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1405
1406 2003-11-24  André Pönitz  <poenitz@gmx.net>
1407
1408         * rowpainter.C: simplification
1409
1410         * text2.C (updateCounters): remove call to redoParagraph on
1411         changed labels as this is far too expensive.
1412
1413 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1414
1415         * converter.C (convert): fix a crash: this function gets
1416         called with buffer == 0 from importer code.
1417
1418 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1419
1420         * text3.C (cursorPrevious): make sure that we do not compare
1421         iterators form different containers.
1422         (cursorNext): ditto
1423
1424         * rowpainter.C (paintSelection): make sure that we do not compare
1425         iterators from different containers.
1426
1427         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1428         iterators from different ParagraphList containers.
1429         [NEXT] ditto
1430
1431         * text2.C (LyXText): change order of initialization slightly
1432         (operator=): new function. copy all variables except cache_par_
1433         (moveUp): make sure that we do not compare iterators from
1434         different ParagraphList constainers.
1435         (moveDown): ditto
1436
1437         * text.C (firstPar): new function
1438         (lastPar): new function
1439         (endPar): new function
1440
1441         * lyxtext.h: move things around and group public functions, public
1442         variables, private functions, private variables
1443
1444 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1445
1446         * factory.C: change call to InsetERT constructor to avoid
1447         additional invocation of method status
1448         * text2.C (toggleInset): remove redundant update() call
1449         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1450         instead of a Bufferview pointer
1451
1452 2003-11-21  André Pönitz  <poenitz@gmx.net>
1453
1454         * rowpainter.C: simplification
1455
1456 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1457
1458         * text3.C (dispatch): make possible to extend a word/row selection
1459         with the mouse
1460
1461 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1462
1463         * lyxtext.h: x0_,y0_ -> xo_,yo_
1464         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1465         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1466         * rowpainter.C (paintRows): paint full paragraphs
1467
1468 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1469
1470         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1471         screen coordinates)
1472
1473 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1474
1475         * lyxtext.h: add x0_, y0_
1476         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1477         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1478
1479 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1480
1481         * text2.C (setCursorIntern): move the x_target update here *
1482         * text3.C: change some bv() to true/false in calls to
1483         cursorUp/Down/Right/Left
1484         * cursor.C: use helper function.
1485
1486 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1487
1488         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1489         * paragraph_funcs.[Ch]: correct comment
1490         * rowpainter.C: do not paint selections away from bv->cursor()
1491         Fix a long standing selection painting bug.
1492         * text3.C: generalize mouse-selection code to LyXTexts other that
1493         top one
1494         * textcursor.C: do not use y coords if we can use par offsets
1495
1496 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1499         cursor position after e.g. inset insert)
1500
1501 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1502
1503         * lyxfind.C (replace): adjust to locking removal + some
1504         code simplification
1505
1506 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1507
1508         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1509         of the path
1510
1511 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1512
1513         * lyxlayout.[Ch]:
1514         * output_docbook.C: XML sanitation: new layout
1515         parameters InnerTag and CommandDepth
1516
1517 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1518
1519         * BufferView_pimpl.C:
1520         * factory.C:
1521         * text3.C: Fix the insertion and modification of button-style
1522         insets
1523
1524 2003-11-13  André Pönitz  <poenitz@gmx.net>
1525
1526         * InsetList.[Ch]: remove deleteLyXText
1527
1528         * paragraph.[Ch]: cache beginOfBody position
1529
1530         * Bidi.C:
1531         * text.C:
1532         * text2.C:
1533         * text3.C: remove superfluous update() calls
1534
1535         * vspace.C: cleanup
1536
1537 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1538
1539         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1540         * BufferView.C (fitLockedInsetCursor): remove
1541         * cursor.[Ch] (getDim): add
1542         * text.C (getRowNearY): add faster version
1543         * text3.C: remove some update calls
1544
1545 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1546
1547         * LaTeXFeatures.C:
1548         * LyXAction.C:
1549         * MenuBackend.C:
1550         * MenuBackend.h:
1551         * dispatchresult.h:
1552         * factory.C:
1553         * lfuns.h:
1554         * lyxfunc.C:
1555         * lyxtextclass.C:
1556         * lyxtextclass.h:
1557         * text3.C: The Character Style /XML short element patch.
1558
1559 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1560
1561         * text3.C:
1562         * factory.C: Small step to solving 'unable to insert some insets'
1563         problem
1564
1565 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * cursor.[Ch] (updatePos): new function for updating the y
1568         position of the tip inset
1569         * bufferview_funcs.C (put_selection_at):
1570         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1571
1572 2003-11-11  André Pönitz  <poenitz@gmx.net>
1573
1574         * text.C: remove big comment on invalid Paragraph pointers as it is
1575         not valid anymore
1576
1577 2003-11-11  André Pönitz  <poenitz@gmx.net>
1578
1579         * text_funcs.[Ch]: merge with ...
1580
1581         * text.C: ... this
1582
1583         * lyxtext.h:
1584         * text2.C:
1585         * text3.C: adjust
1586
1587         * Makefile.am: remove text_funcs.[Ch]
1588
1589 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1590
1591         * cursor.C (getPos): return absolute cached y coord
1592
1593         * BufferView_pimpl.C (fitCursor): new simplistic code
1594         (workAreaDispatch): add a fitCursor call
1595
1596 2003-11-10  André Pönitz  <poenitz@gmx.net>
1597
1598         * BufferView.[Ch]:
1599         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1600
1601 2003-11-10  André Pönitz  <poenitz@gmx.net>
1602
1603         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1604         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1605         indicate that the cursor needs to leave an inset
1606
1607         * lyxtext.h: remove inset locking
1608
1609         * cursor.[Ch]: re-implement functionality provided by inset locking
1610
1611         * BufferView.[Ch]:
1612         * BufferView_pimpl.[Ch]:
1613         * LyXAction.C:
1614         * bufferview_funcs.[Ch]:
1615         * factory.C:
1616         * funcrequest.[Ch]:
1617         * iterators.C:
1618         * lyx_cb.C:
1619         * lyxfind.C:
1620         * lyxfunc.C:
1621         * text.C:
1622         * text2.C:
1623         * text3.C:
1624         * undo.C: adjust
1625
1626 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1627
1628         * PosIterator.[Ch]: replace the stack with a vector, add inset
1629         accesor
1630         * iterators.[C]: adjust
1631
1632 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1633
1634         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1635         replaced
1636         * paragraph_funcs.C (readParToken): put the correct id in the
1637         error item, not the id of the top paragraph
1638
1639 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1640
1641         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1642         * bufferview_funcs.C (put_selection_at): use the above
1643
1644 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1645
1646         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1647
1648 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * output_linuxdoc.h:
1651         * output_plaintext.h:
1652         * output.h:
1653         * output_docbook.h: add #include statements
1654
1655 2003-11-05  José Matos  <jamatos@lyx.org>
1656
1657         * output_docbook.[Ch]:
1658         * output_latex.[Ch]:
1659         * output_linuxdoc.[Ch]:
1660         * output_plaintext.[Ch]: New files for output formats.
1661         * output.[Ch]: New file for helper functions.
1662
1663         * buffer.[Ch]:
1664         * paragraph_funcs.[Ch]: output functions moved to new files.
1665
1666         * outputparams.h: rename of latexrunparams.h
1667
1668         * LaTeX.[Ch]:
1669         * buffer.[Ch]:
1670         * bufferlist.[Ch]:
1671         * converter.[Ch]:
1672         * exporter.C:
1673         * paragraph.[Ch]:
1674         * paragraph_funcs.[Ch]:
1675         * paragraph_pimpl.[Ch]:
1676         * tabular.[Ch]: rename ascii to plaintext
1677         and LatexRunParams to OutputParams.
1678
1679 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1680
1681         * iterators.[Ch] (text): require bv argument
1682         * undo.C (recordUndo):
1683         * lyxfunc.C (dispatch):
1684         * bufferview_funcs.C (put_selection_at): adjust
1685
1686 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1687
1688         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1689
1690 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1691
1692         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1693         nestings
1694
1695 2003-11-04  André Pönitz  <poenitz@gmx.net>
1696
1697         * cursor.[Ch]: restructure
1698
1699         * BufferView.[Ch]:
1700         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1701
1702         * iterators.[Ch] (asCursor): remove
1703
1704         * lfuns.h: remove LFUN_INSET_EDIT
1705
1706         * lyxfunc.C:
1707         * tabular.C:
1708         * text.C:
1709         * text2.C:
1710         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1711
1712 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1713
1714         * lyxfind.[Ch]: complete overhaul
1715         * BufferView_pimpl.C:
1716         * lyxfunc.C: adjust
1717         * paragraph.[Ch] (insert): add
1718
1719 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1720
1721         * BufferView.[Ch]:
1722         * lyxtext.h:
1723         * text.C: remove dead spellcheck code
1724
1725 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * dispatchresult.h: add a val setter
1728
1729         * cursor.C (dispatch): use a tempvar for data_[i]
1730
1731 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1732
1733         * PosIterator.[Ch]: compile fix
1734
1735 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1736
1737         * text.C (cursorPar): deactivate the cursor cache
1738
1739 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1740
1741         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1742
1743 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1744
1745         * text3.C (dispatch): adjust for new DisptchResult semantics.
1746
1747         * lyxfunc.C (dispatch): handle update when return from
1748         Cursor::dispatch, adjust for new DispatchResult semantics.
1749
1750         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1751         DispatchResult(true) mean to not update. Add class functions for
1752         setting dispatched and update, as well as reading.
1753
1754         * cursor.C (dispatch): don't handle update here
1755
1756 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1757
1758         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1759         * trans_mgr.C: adjust
1760
1761         * paragraph_funcs.C (readParToken): exception safety
1762
1763         * lyxvc.h: store the vcs pointer in a scoped_ptr
1764         * lyxvc.C: adjust
1765
1766         * lyxsocket.C (serverCallback): exception safety
1767
1768         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1769
1770         * ispell.C (clone): make it return a auto_ptr
1771
1772         * factory.C (createInset): exception safety
1773         (readInset): exception safety
1774
1775         * bufferlist.C (newBuffer): exception safety
1776
1777         * Thesaurus.C (Thesaurus): use initialization for aik_
1778
1779         * MenuBackend.C (expandToc): exception safety.
1780
1781 2003-11-03  André Pönitz  <poenitz@gmx.net>
1782
1783         * buffer.C:
1784         * buffer.h:
1785         * bufferview_funcs.C: remove getInsetFromId()
1786
1787         * lyxcursor.[Ch]:
1788         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1789
1790         * lyxfunc.C:
1791         * text2.C:
1792         * text3.C: adjust
1793
1794 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1795
1796         * PosIterator.C (distance, advance): new
1797         * bufferview_funcs.[Ch] (put_selection_at): new
1798         * iterators.[Ch] (lockPath): new
1799
1800 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1801
1802         * iterators.[Ch] (asPosIterator): added
1803         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1804         * PosIterator.[Ch]: added
1805
1806 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1807
1808         * text3.C:
1809         * lyxfunc.C:
1810         * cursor.C (dispatch):
1811         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1812
1813         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1814         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1815         contructor, add a class function dispatched. Remove operator>=
1816
1817 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1818
1819         * debug.C: only use the default constructor for debugstream
1820         (lyxerr) here.
1821
1822         * main.C (main): include debug.h and setup the lyxerr streambuf
1823         here.
1824
1825 2003-10-31  José Matos  <jamatos@lyx.org>
1826
1827         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1828
1829         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1830         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1831         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1832         * paragraph_pimpl.C (simpleTeXSpecialC):
1833         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1834         add LatexRunParams argument.
1835
1836         * exporter.C (Export): change call accordingly.
1837
1838         * latexrunparams.h: add new member to take care of the other backends.
1839 2003-10-30  José Matos  <jamatos@lyx.org>
1840
1841         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1842         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1843         factorise code for paragraph output.
1844         * buffer.[Ch]:
1845         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1846         move functions.
1847
1848 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1849
1850         * text3.C (dispatch):
1851         * lyxfunc.C (dispatch):
1852         * cursor.C (dispatch):
1853         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1854
1855         * dispatchresult.h: make the dispatch_result_t ctor explicit
1856
1857 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1858
1859         * sgml.[Ch]:
1860         * buffer.C: small refactoring of docbook stuff
1861
1862 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1865         meaning.
1866
1867 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1868
1869         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1870         operator dispatch_result_t, and operators for == != and >=
1871
1872         * cursor.C (dispatch): adjust for operator dispatch_result_t
1873         removal. comment out call to update
1874
1875         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1876
1877 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * text3.C:
1880         * text2.C:
1881         * text.C:
1882         * lyxtext.h:
1883         * lyxfunc.C:
1884         * cursor.C:
1885         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1886         (dispatch):
1887
1888         * dispatchresult.h: new file, DispatchResult broken out of
1889         insets/insetbase.h
1890
1891         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1892
1893 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1894
1895         * text.C (rowBreakPoint): put a hack inside #if 0
1896
1897 2003-10-28  André Pönitz  <poenitz@gmx.net>
1898
1899         * lyxtext.h:
1900         * metricsinfo.C:
1901         * paragraph_funcs.C:
1902         * rowpainter.C:
1903         * text.C:
1904         * text2.C: general cleanup (lots of small stuff)
1905
1906 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * text2.C (cursorEnd): simple fix to the "end key goes to one
1909         before the end on last row" bug
1910
1911 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1912
1913         * text.C (backspace): fix the "zombie characters"
1914
1915 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1916
1917         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1918
1919 2003-10-27  André Pönitz  <poenitz@gmx.net>
1920
1921         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1922
1923         * factory.C: handle new InsetPagebreak, InsetLine
1924
1925         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1926         and move handling into new InsetPagebreak, InsetLine
1927
1928         * BufferView_pimpl.C:
1929         * LyXAction.C:
1930         * ParagraphParameters.C:
1931         * ParameterStruct.h:
1932         * lyxfunc.C:
1933         * lyxtext.h:
1934         * paragraph.C:
1935         * paragraph.h:
1936         * paragraph_funcs.C:
1937         * paragraph_pimpl.C:
1938         * rowpainter.C:
1939         * text.C:
1940         * text2.C:
1941         * text3.C: adjust
1942
1943 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1944
1945         * text.C:
1946         * lyxrow_funcs.[Ch]:
1947         * Bidi.C:
1948         * paragraph.C:
1949         * lyxtext.h:
1950         * rowpainter.C:
1951         * text2.C:
1952         * text3.C: remove lastPos uses in favour of Row::endpos
1953
1954 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1955
1956         * undo.C (performUndoOrRedo): fix two crashes by setting a
1957         cursor by hand and reordering some calls. Use bv->lockInset instead
1958         of inset->edit because the latter loses cursor information
1959
1960 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1961
1962         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1963         by Martin
1964         (rowBreakPoint): fix width. change point to point + 1.
1965         Add a missing check.
1966
1967 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1968
1969         * MenuBackend.C:
1970         * lyxfunc.C: fix (at least partly) the problems
1971         with the Nav menu and headers inside branch insets
1972         reported by Kayvan
1973
1974 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1975
1976         * paragraph.C (getChar): add strong asserts
1977
1978         * lyxrow_funcs.C (lastPos): remove hideous hack
1979
1980         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1981         (fill): adjust to that (avoid an infinite loop)
1982
1983 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1984
1985         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1986
1987 2003-10-23  André Pönitz  <poenitz@gmx.net>
1988
1989         * RowList_fwd.h: change list<> to vector<> to gain speed
1990         after suggestion from Alfredo
1991
1992 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1993
1994         * lyxtext.h: move the bidi stuff from here...
1995         * text.C: and here
1996         * text2.C: and here
1997         * Bidi.[Ch]: ... to here
1998
1999 2003-10-23  André Pönitz  <poenitz@gmx.net>
2000
2001         * lyxtext.h:
2002         * text.C (isLastRow, isFirstRow): new functions
2003
2004         * paragraph.h: new width cache member
2005
2006         * rowpainter.C: replace RowList::iterator with Row & where possible
2007
2008         * lyxfunc.C: replace several view()->text with a single call
2009
2010         * toc.C: fix 'unused' warning
2011
2012 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2013
2014         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2015         when woring with stream::pos_type
2016         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2017
2018 2003-10-22  André Pönitz  <poenitz@gmx.net>
2019
2020         * lyxtext.h:
2021         * text.C: use Row & instead of RowList::iterator
2022
2023         * lyxrow.h: rename end() to endpos()
2024
2025         * rowpainter.C:
2026         * text.C:
2027         * text2.C: adjust
2028
2029 2003-10-22  Angus Leeming  <leeming@lyx.org>
2030
2031         * buffer.[Ch] (fully_loaded): new member function, returning true
2032         only when the file has been loaded fully.
2033         Used to prevent the premature generation of previews and by the
2034         citation inset to prevent computation of the natbib-style label.
2035
2036         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2037         templates are all set up.
2038
2039         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2040
2041 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2042
2043         * text.C: fixed an "oops" in the "is a bit silly"
2044         bug fix
2045
2046 2003-10-21  André Pönitz  <poenitz@gmx.net>
2047
2048         * FuncStatus.[Ch]: small stuff, whitespace
2049
2050         * lyxfont.[Ch]: operator<<() for debug reasons
2051
2052         * lyxfunc.C:
2053         * lyxrow_funcs.C:
2054         * lyxtext.h: whitespace, spelling
2055
2056         * paragraph.C: naming of variables
2057
2058         * text.C:
2059         * text2.C: small stuff
2060
2061
2062 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2063
2064         * text.C: (1) finish off the inset display() work;
2065         (2) fix the "is a bit silly" bug (accessing char
2066         past end of par).
2067
2068 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2069
2070         * text.C: re-introduce display() for insets, fixing the
2071         various bugs (stretch of line above, math inset
2072         positioning, ...)
2073
2074 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * text.C (rightMargin): remove spurious semicolon
2077
2078         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2079         1415)
2080
2081 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2082
2083         * text3.C: fix one crash due to wrong cursor def
2084
2085 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2086
2087         * vc-backend.C (scanMaster): make the regex static
2088
2089         * LaTeX.C (scanAuxFile): make the regexs static
2090
2091         * text3.C (doInsertInset, dispatch, dispatch):
2092         * text2.C (cursorUp, cursorDown):
2093         * text.C (selectNextWordToSpellcheck):
2094         * BufferView_pimpl.C (dispatch):
2095         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2096
2097 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2098
2099         * lyxsocket.C: include <cerrno>
2100
2101 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2102
2103         * lyxfunc.C (dispatch): remove textcache stuff
2104
2105         * bufferlist.C (release): remove textcache stuff
2106         (closeAll): ditto
2107
2108         * TextCache.C: delete file
2109         * TextCache.h: delete file
2110
2111         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2112
2113         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2114         delete of the bv_->text.
2115         (resizeCurrentBuffer): remove texcache stuff
2116         (workAreaResize): ditto
2117
2118 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2121         action.
2122
2123 2003-10-16  André Pönitz  <poenitz@gmx.net>
2124
2125         * lyxrow.[Ch]:
2126         * paragraph.h:
2127         * rowpainter.C:
2128         * text.C:
2129         * text2.C:
2130         * text3.C: speed up by storing y positions per paragraph plus per-row
2131         offset instead of having a 'full' y position in the row.
2132
2133 2003-10-15  André Pönitz  <poenitz@gmx.net>
2134
2135         * iterators.[Ch]:
2136         * iterators.[Ch]:
2137         * undo.[Ch]: make undo aware of inner insets
2138
2139 2003-10-14  Angus Leeming  <leeming@lyx.org>
2140
2141         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2142         static member functions LyX::ref() and LyX::cref.
2143         (lastfiles): new accessor functions for the new lastfiles_ member var.
2144         (addLyXView, views_): add a new LyXView to the list of views_.
2145         (updateInset): loop over all LyXViews to call their own updateInset
2146         member function, returning a pointer to the Buffer owning the inset.
2147
2148         * BufferView_pimpl.C (loadLyXFile):
2149         * MenuBackend.C (expandLastfiles):
2150         * bufferlist.C (MenuWrite, QuitLyX):
2151         lastfiles is no longer a global variable.
2152         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2153
2154         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2155         static function. Access through LyX::cref().emergencyCleanup().
2156
2157 2003-10-14  André Pönitz  <poenitz@gmx.net>
2158
2159         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2160
2161         * undo.[Ch]: restoring part of 'undo in insets'
2162
2163         * Makefile.am:
2164         * undo_funcs.[Ch]: merge with undo.[Ch]
2165
2166         * tabular.C: small cleansing stuff
2167
2168 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2169
2170         * paragraph_funcs.C (readParToken): report unknown insets as error
2171         boxes. Use the outer paragraph as location (also for unknown
2172         tokens).
2173
2174         * factory.C (readInset): do not abort on reading an unknown inset.
2175         Eat it and return 0.
2176
2177 2003-10-13  Angus Leeming  <leeming@lyx.org>
2178
2179         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2180
2181         * lyxrc.C: displayTranslator is now a function,
2182         declared in GraphicsTypes.h.
2183
2184 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2185
2186         * format.C: new placeholder $$a to pass the socket address.
2187
2188         * bufferlist.[Ch]: new function getBufferFromTmp.
2189
2190         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2191           files in the temporary dir.
2192
2193 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2194
2195         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2196
2197         * Makefile.am: add lyxsocket.[Ch].
2198
2199         * lyx_main.C (error_handler): handle SIGPIPE.
2200
2201 2003-10-13  André Pönitz  <poenitz@gmx.net>
2202
2203         * BufferView_pimpl.C:
2204         * lyxtext.h:
2205         * text.C:
2206         * text2.C:
2207         * text3.C:
2208         * undo_funcs.[Ch]: use paroffset_type instead of
2209           ParagraphList::iterators to prevent multiple conversion
2210           (and get a more robust interface)
2211
2212 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2213
2214         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2215         * lyxtext.h: ditto
2216         * text3.C (dispatch): ditto
2217
2218 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2219
2220         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2221         move the onlyfile, use onlyfile instead of foundfile in a couple
2222         of places.
2223
2224         * DepTable.C (update): flush the error stream a bit more
2225
2226 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * lyxserver.C (callback): adjust
2229
2230         * lyxfunc.C (getStatus): add a missing brace in commented code
2231         (ensureBufferClean): reindent
2232         (dispatch): delete version taking a string
2233
2234 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2235
2236         * LaTeX.C (deplog): move found file handlig from here...
2237         (handleFoundFile): .. to new function here.
2238         (deplog): make sure to discover several files mentioned on the
2239         same log line.
2240
2241 2003-10-10  André Pönitz  <poenitz@gmx.net>
2242
2243         * lyxfunc.C:
2244         * lyxtext.h:
2245         * tabular.C:
2246         * text.C:
2247         * text2.C:
2248         * text3.C: fix some of the tabular crashes
2249
2250 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2251
2252         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2253
2254         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2255
2256 2003-10-09  André Pönitz  <poenitz@gmx.net>
2257
2258         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2259
2260         * BufferView.C:
2261         * BufferView_pimpl.C:
2262         * bufferview_funcs.C:
2263         * lyx_cb.C:
2264         * lyxcursor.C:
2265         * lyxfind.C:
2266         * lyxfunc.C:
2267         * lyxtext.h:
2268         * text.C:
2269         * text2.C:
2270         * text3.C:
2271         * text_funcs.[Ch]:
2272         * textcursor.[Ch]:
2273         * undo_funcs.C: adjust
2274
2275 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * text2.C (incrementItemDepth): new function, use a backtracking
2278         algorithm to discover the correct item depth.
2279         (resetEnumCounterIfNeeded): new function, use a backtracking
2280         algorithm to discover if counter reset is needed.
2281         (setCounter): use them. Simplify a bit. Add different labels for
2282         different item depths for itemize.
2283
2284         * paragraph.C (Paragraph): remove initialization of enumdepth
2285         (operator=): ditto
2286
2287         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2288         enumerate and itemize. Change the type of itemdepth to signed char.
2289
2290 2003-10-08  André Pönitz  <poenitz@gmx.net>
2291
2292         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2293           thing assignable.
2294         * text.C:
2295         * text2.C: adjust
2296
2297         * tabular.[Ch]: fix crash after 'row-insert'
2298
2299 2003-10-08  Angus Leeming  <leeming@lyx.org>
2300
2301         Fix doxygen warnings.
2302
2303         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2304         Remove CutAndPaste:: prefix from header file declaration.
2305
2306         * LColor.h (fill): remove LColor:: prefix from declaration.
2307
2308         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2309         use lyx::depth_type rather than Paragraph::depth_type so that
2310         header file and .C file match.
2311
2312         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2313
2314         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2315         * aspell.C: \file aspell_local.C -> \file aspell.C
2316         * gettext.C: \file gettext.C -> \file src/gettext.C
2317         * gettext.h: \file gettext.h -> \file src/gettext.h
2318         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2319         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2320         * text.C: \file text.C -> \file src/text.C
2321
2322         * toc.C: move comment so that doxygen is not confused.
2323
2324 2003-10-07  Angus Leeming  <leeming@lyx.org>
2325
2326         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2327
2328 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2329
2330         * aspell.C:
2331         * aspell_local.h: add forgotten std::string's.
2332
2333 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2334
2335         * LaTeXFeatures.C:
2336         * LyXAction.C:
2337         * factory.C:
2338         * lfuns.h:
2339         * lyxfunc.C:
2340         * text3.C: The Box patch. Fancybox support, minipage, parbox
2341
2342 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2343
2344         * CutAndPaste.h:
2345         * DepTable.h:
2346         * FloatList.h:
2347         * LaTeXFeatures.h:
2348         * ParagraphParameters.h:
2349         * TextCache.h:
2350         * Thesaurus.h:
2351         * bufferlist.h:
2352         * exporter.h:
2353         * importer.h:
2354         * lastfiles.h:
2355         * lyxfind.h:
2356         * lyxfont.h:
2357         * lyxlex.h:
2358         * lyxtextclasslist.h:
2359         * messages.h:
2360         * paragraph.h:
2361         * paragraph_pimpl.C:
2362         * textcursor.h: add <string> and other small fixes to make Lars'
2363         std::string patch compile with STLport.
2364
2365 2003-10-06  Angus Leeming  <leeming@lyx.org>
2366
2367         * LColor.h: Add missing #include <string>.
2368
2369 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2370
2371         * All most all file in all subdirs: Make <string> be the prefered
2372         way of getting to std::string, add using declarations.
2373
2374 2003-10-06  André Pönitz  <poenitz@gmx.net>
2375
2376         * metricsinfo.C: initialize LyXFont before changing attribute.
2377         (fixes the 'math in \emph is upright' bug)
2378
2379 2003-10-06  André Pönitz  <poenitz@gmx.net>
2380
2381         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2382
2383 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2384
2385         * graph.C:
2386         * paragraph_pimpl.C: Small fixes to build using STLport
2387
2388 2003-10-02  André Pönitz  <poenitz@gmx.net>
2389
2390         * lyxfunc.C:
2391         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2392
2393 2003-10-01  André Pönitz  <poenitz@gmx.net>
2394
2395         * factory.C: assert early
2396
2397 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * lyx_main.C: remove the global debug object
2400
2401         * debug.h: adjust for new debugstream
2402
2403         * debug.C: adjust for new debugstream and keep the global debug
2404         object here.
2405
2406 2003-09-22  Angus Leeming  <leeming@lyx.org>
2407
2408         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2409         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2410         an incomplete class LyXFont.
2411
2412 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2413
2414         * factory.C: bug fix in branches
2415
2416 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2417
2418         * lyxfunc.C (processKeySym): adjust
2419         (dispatch): adjust
2420         (dispatch): change arg name from ev to func, adjust
2421         (sendDispatchMessage): ditto
2422
2423         * lyx_main.C (defaultKeyBindings): adjust keybindings
2424         (deadKeyBindings): ditto
2425
2426         * kbsequence.C (addkey): return a FuncRequest
2427
2428         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2429
2430         * kbmap.C (bind): take a FuncRequest as arg, adjust
2431         (read): adjust
2432         (lookup): adjust
2433         (defkey): change to take a FuncRequest as arg, adjust
2434         (findbinding): take a FuncRequest as arg, adjust.
2435
2436         * funcrequest.h (operator=): added
2437
2438         * funcrequest.C (FuncRequest): default kb_action changed from
2439         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2440
2441         * buffer.C (dispatch): simplify
2442         (dispatch): adjust to take a FuncRequest as arg, adjust
2443
2444         * boost.C (assertion_failed): change assertion message slightly
2445
2446         * ToolbarBackend.C (read): simplify
2447
2448         * MenuBackend.C (binding): adjust call to findbinding, add a
2449         message if no binding is found.
2450         (read): simplify
2451         (expandToc): correct by adding a empty FuncRequest
2452
2453         * LyXAction.C: include <boost/assert.hpp>
2454         (isPseudoAction): delete function
2455         (LookupFunc): change name to...
2456         (lookupFunc): this. change return type to FuncRequest.
2457         (getActionName): take kb_action as arg, simplify
2458         (funcHasFlag): add an assert, simplify.
2459
2460 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2461
2462         * toc.C (action): return a FuncRequest, simplify
2463
2464         * lyxfunc.C (processKeySym): adjust
2465         (getStatus): delete version that takes an int.
2466         (getStatus): adjust
2467         (dispatch): delete version that takes action as int
2468         (dispatch): adjust
2469         (sendDispatchMessage): simplify and adjust
2470
2471         * funcrequest.C (getArg): take unsigned int as arg
2472
2473         * ToolbarBackend.C (read): adjust
2474         (add): delete version that takes func as a string.
2475         (getIton): take a FuncRequest as arg
2476
2477         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2478         action.
2479
2480         * MenuBackend.C (MenuItem): add a new construct that only takes a
2481         Kind, simplify the constructor use for submenus.
2482         (add): adjust
2483         (expandLastfiles): adjust
2484         (expandDocuments): adjust
2485         (expandFormats): adjust
2486         (expandFloatListInsert): adjust
2487         (expandFloatInsert): adjust
2488         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2489
2490         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2491         Remove class variables lyx_pseudo_map and lyx_arg_map
2492
2493         * LyXAction.C (searchActionArg): delete function
2494         (getPseudoAction): delete function
2495         (retrieveActionArg): delete function
2496         (LookupFunc): make it return kb_action, simplify.
2497         (getActionName): simplify
2498
2499         * factory.C (createInset): fix new bug
2500
2501 2003-09-19  Angus Leeming  <leeming@lyx.org>
2502
2503         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2504         masterFilename_ parameter in the include inset.
2505
2506         * factory.C (createInset): changes due to the changes to InsetInclude.
2507
2508 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2509
2510         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2511
2512 2003-09-18  Angus Leeming  <leeming@lyx.org>
2513
2514         * buffer.C:
2515         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2516         Inset::fillWithBibKeys.
2517         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2518
2519 2003-09-18  Angus Leeming  <leeming@lyx.org>
2520
2521         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2522         variables.
2523         (ctor): pass and store a 'Buffer const &'
2524         (buffer): new member function.
2525
2526         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2527         '*this' to the LaTeXFeatures ctor.
2528
2529 2003-09-18  Angus Leeming  <leeming@lyx.org>
2530
2531         * LColor.h:
2532         * lyxfont.C:
2533         * lyxfont.h:
2534         * lyxtext.h:
2535         * text.C: rename EnumLColor as LColor_color.
2536
2537 2003-09-18  Angus Leeming  <leeming@lyx.org>
2538
2539         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2540         remove #include "insets/insetbase.h" from cursor.h.
2541
2542 2003-09-18  Angus Leeming  <leeming@lyx.org>
2543
2544         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2545         InsetOld_code to remove #include "inset.h".
2546
2547         * iterators.C: add #include "insets/inset.h"
2548
2549 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2550
2551         * BufferView.C: remove more locking stuff that apparently doesn't
2552         do anything sensible.
2553
2554 2003-09-16  André Pönitz  <poenitz@gmx.net>
2555
2556         * paragraph.[Ch]:
2557         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2558           performance boost.
2559
2560 2003-09-16  Angus Leeming  <leeming@lyx.org>
2561
2562         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2563
2564         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2565         arg/return type.
2566
2567         * paragraph.h: remove #include "lyxfont.h". Forward declare
2568         LyXFont_size.
2569
2570 2003-09-16  Angus Leeming  <leeming@lyx.org>
2571
2572         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2573         of support/textutils.h.
2574         (isWord): move the contents of support/textutils.h's IsWordChar here.
2575
2576         * buffer.C:
2577         * lyxfind.C:
2578         * rowpainter.C:
2579         * text.C:
2580         * text2.C: add #include "paragraph.h".
2581
2582         * rowpainter.C:
2583         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2584
2585 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * main.C:
2588         * lyx_main.C:
2589         * lyx_cb.C:
2590         * buffer.C:
2591         * LaTeX.C: use namespace alias for lyx::support::os
2592
2593 2003-09-16  Angus Leeming  <leeming@lyx.org>
2594
2595         * bufferparams.C:
2596         * bufferview_funcs.C:
2597         * factory.C:
2598         * lyxfunc.C:
2599         * paragraph_pimpl.C:
2600         * rowpainter.C:
2601         * text.C: add #include "LColor.h".
2602
2603 2003-09-16  Angus Leeming  <leeming@lyx.org>
2604
2605         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2606         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2607         return LyXFont &.
2608         Store the FontBits::color variable as an int rather than as an
2609         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2610         file.
2611
2612         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2613         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2614         string calls together.
2615
2616         * lyxrc.C: add #include "LColor.h".
2617
2618 2003-09-15  Angus Leeming  <leeming@lyx.org>
2619
2620         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2621         a cow_ptr.
2622
2623 2003-09-15  Angus Leeming  <leeming@lyx.org>
2624
2625         * LColor.h: add an EnumLColor wrapper for LColor::color.
2626
2627         * lyxfont.[Ch] (color, setColor, realColor):
2628         * lyxtext.h, text.C (backgroundColor):
2629         pass EnumLColor args to/from the functions, rather than LColor::color
2630         ones.
2631
2632         * lyxfont.h:
2633         * lyxtext.h: forward declare EnumLColor.
2634
2635         * lyx_main.C: add #include "LColor.h".
2636
2637 2003-09-15  Angus Leeming  <leeming@lyx.org>
2638
2639         * .cvsignore: add lyx-gtk.
2640
2641 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2642
2643         * Chktex.C
2644         * LaTeX.C
2645         * LaTeXFeatures.C
2646         * ParagraphParameters.C
2647         * Spacing.C
2648         * buffer.C
2649         * bufferparams.C
2650         * bufferview_funcs.C
2651         * chset.C
2652         * counters.C
2653         * funcrequest.C
2654         * lyxfont.C
2655         * lyxgluelength.C
2656         * lyxlength.C
2657         * paragraph.C
2658         * paragraph_funcs.C
2659         * text3.C
2660         * vc-backend.C: remove usage of STRCONV
2661
2662 2003-09-15  Angus Leeming  <leeming@lyx.org>
2663
2664         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2665         explicitly define the color passed to the painter.
2666
2667 2003-09-15  Angus Leeming  <leeming@lyx.org>
2668
2669         * bufferparams.C (BufferParams): reorder member initializers to avoid
2670         compiler warning.
2671
2672 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2673
2674         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2675         * text.C (updateRowPositions): remove an unusual nop
2676
2677 2003-09-12  André Pönitz  <poenitz@gmx.net>
2678
2679         * BufferView_pimpl.C:
2680         * Bullet.C:
2681         * layout.h:
2682         * lyxfunc.C:
2683         * lyxlayout.[Ch]:
2684         * lyxtextclass.C:
2685         * rowpainter.C:
2686         * text.C:
2687         * text2.C:
2688         * Counters.[Ch]: finish the 'automatic counters' job
2689
2690 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2691
2692         * aspell.C: include <boost/assert.cpp> (compile fix)
2693
2694 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2695
2696         * boost.C (assertion_failed): use lyx::support::abort instead of
2697         assert.
2698
2699 2003-09-10  Angus Leeming  <leeming@lyx.org>
2700
2701         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2702         with their _fwd progeny.
2703
2704 2003-09-09  Angus Leeming  <leeming@lyx.org>
2705
2706         134 files throughtout the source tree: replace 'using namespace abc;'
2707         directives with the appropriate 'using abc::xyz;' declarations.
2708
2709 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2710
2711         * boost.C (emergencyCleanup): moved here from LAssert.c
2712         (assertion_failed): new function, called by BOOST_ASSERT
2713
2714         * several files: change Assert to BOOST_ASSERT
2715
2716 2003-09-09  Angus Leeming  <leeming@lyx.org>
2717
2718         * buffer.[Ch]: Add an Impl class and move Buffer's member
2719         variables into it. As a result move several header files out of
2720         buffer.h.
2721
2722         Add header files to lots of .C files all over the tree as a result.
2723
2724 2003-09-09  Angus Leeming  <leeming@lyx.org>
2725
2726         * buffer.[Ch]: make Buffer's member variables private. Add
2727         accessor functions.
2728
2729         Lots of changes all over the tree as a result.
2730
2731 2003-09-08  Angus Leeming  <leeming@lyx.org>
2732
2733         * graph.C: #include <config.h>.
2734
2735 2003-09-08  Angus Leeming  <leeming@lyx.org>
2736
2737         * BranchList.C:
2738         * BufferView.C:
2739         * BufferView_pimpl.C:
2740         * CutAndPaste.C:
2741         * DepTable.C:
2742         * LaTeX.C:
2743         * LaTeXFeatures.C:
2744         * LyXAction.C:
2745         * MenuBackend.C:
2746         * TextCache.C:
2747         * aspell.C:
2748         * buffer.C:
2749         * bufferlist.C:
2750         * changes.C:
2751         * chset.C:
2752         * converter.C:
2753         * counters.C:
2754         * debug.C:
2755         * graph.C:
2756         * ispell.C:
2757         * lyx_cb.C:
2758         * lyxfind.C:
2759         * lyxfunc.C:
2760         * lyxlex_pimpl.C:
2761         * lyxrc.C:
2762         * lyxrow.C:
2763         * paragraph.C:
2764         * rowpainter.C:
2765         * texrow.C:
2766         * text.C:
2767         * text2.C:
2768         * toc.C: remove redundant using directives.
2769
2770 2003-09-07  Angus Leeming  <leeming@lyx.org>
2771
2772         * LaTeXFeatures.h: remove #include "support/types.h".
2773         * ToolbarBackend.h: remove #include <algorithm>.
2774         * changes.h: remove #include <ctime>.
2775         * debug.h: remove #include <iosfwd>.
2776         * graph.h: remove #include "support/std_string.h".
2777         * lyx_main.h: remove #include <csignal>.
2778         * lyxlex_pimpl.h: remove #include <fstream>.
2779         * sgml.h: remove #include <algorithm>, <utility>.
2780         * toc.h: remove #include "support/std_ostream.h".
2781         Add #include <iosfwd>.
2782
2783 2003-09-07  Angus Leeming  <leeming@lyx.org>
2784
2785         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2786
2787         * converter.h: forward declare LatexRunParams.
2788         * encoding.h: remove #include "lyxrc.h".
2789         * lyxtext.h: remove #include "LColor.h".
2790         * lyxtextclass.h: remove #include "support/types.h".
2791         * trans.h: remove #include "tex-accent.h".
2792         * trans_mgr.h: remove #include "tex-accent.h".
2793         * insets/inset.h: remove #include "support/types.h", <vector>.
2794         * insets/insetcollapsable.h: remove #include "LColor.h".
2795         * insets/insetinclude.h: remove #include "dimension.h".
2796         * insets/insetlatexaccent.h: remove #include "dimension.h".
2797         * insets/insetoptarg.h:: remove #include "insettext.h".
2798         * insets/insettext.h: remove #include "dimension.h",
2799         <boost/shared_ptr.hpp>
2800
2801         * insets/renderers.h: add #include "dimension.h".
2802         * insets/updatableinset.h: add #include "support/types.h".
2803
2804         * many .C files: Associated changes.
2805
2806 2003-09-06  Angus Leeming  <leeming@lyx.org>
2807
2808         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2809         one, inside testInvariant.
2810
2811         * PrinterParams.C: new file.
2812         * PrinterParams.[Ch]: move the function bodies out of line.
2813
2814 2003-09-06  Angus Leeming  <leeming@lyx.org>
2815
2816         * ParagraphParameters.h: forward declare ParameterStruct rather than
2817         including its header file.
2818         (depth): moved out-of-line.
2819
2820 2003-09-06  Angus Leeming  <leeming@lyx.org>
2821
2822         * BufferView_pimpl.h:
2823         * kbmap.h:
2824         * kbsequence.h:
2825         * lyxfunc.h: forward declare LyXKeySym rather than
2826         #include "frontends/LyXKeySym.h".
2827
2828         * BufferView_pimpl.C:
2829         * kbmap.C:
2830         * kbsequence.C:
2831         * lyxfunc.C: associated changes.
2832
2833 2003-09-06  Angus Leeming  <leeming@lyx.org>
2834
2835         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2836         As a result, can remove the #include "insets/inset.h" from BufferView.h
2837
2838 2003-09-06  Angus Leeming  <leeming@lyx.org>
2839
2840         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2841         As a result, can remove the #include "insets/inset.h" from BufferView.h
2842
2843 2003-09-06  Angus Leeming  <leeming@lyx.org>
2844
2845         * buffer_funcs.C:
2846         * buffer.h:
2847         * bufferlist.C:
2848         * BufferView.C:
2849         * bufferview_funcs.C:
2850         * BufferView_pimpl.C:
2851         * CutAndPaste.C:
2852         * lyx_cb.C:
2853         * lyxfunc.C:
2854         * paragraph.h:
2855         * ParagraphParameters.C:
2856         * tabular.C:
2857         * text3.C:
2858         * toc.C:
2859         * undo_funcs.C:
2860         * frontends/controllers/ControlDocument.C:
2861         * insets/insetcaption.C: rearrange the #includes into some sort of
2862         coherent order.
2863
2864         * buffer.h: remove #includes ErrorList.h, undo.h
2865
2866 2003-09-06  Angus Leeming  <leeming@lyx.org>
2867
2868         * support/types.h: add a 'depth_type' typedef, used to store the
2869         nesting depth of a paragraph.
2870
2871         * paragraph.h:
2872         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2873         defining explicitly.
2874
2875         * buffer.h:
2876         * paragraph_funcs.h:
2877         * ParagraphParameters.h:
2878         * sgml.h: use lyx::depth_type rather than Paragraph or
2879         ParameterStruct's depth_type.
2880
2881         * buffer.h
2882         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2883
2884         * BufferView.C:
2885         * BufferView_pimpl.C:
2886         * CutAndPaste.C:
2887         * ParagraphParameters.C:
2888         * buffer_funcs.C:
2889         * bufferlist.C:
2890         * bufferview_funcs.C:
2891         * lyx_cb.C:
2892         * lyxfunc.C:
2893         * tabular.C:
2894         * text3.C:
2895         * toc.C:
2896         * undo_funcs.C:
2897         * frontends/LyXView.C:
2898         * frontends/controllers/ControlDocument.C:
2899         * frontends/controllers/ControlErrorList.C:
2900         * insets/insetbibitem.C:
2901         * insets/insetbranch.C:
2902         * insets/insetcaption.C:
2903         * insets/insetcollapsable.C:
2904         * insets/insetenv.C:
2905         * insets/insetert.C:
2906         * insets/insetfloat.C:
2907         * insets/insetfoot.C:
2908         * insets/insetfootlike.C:
2909         * insets/insetnewline.C:
2910         * insets/insetquotes.C:
2911         * insets/insettabular.C:
2912         * insets/insettext.C:
2913         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2914
2915         * frontends/controllers/ControlChanges.C: #include "changes.h".
2916
2917 2003-09-06  Angus Leeming  <leeming@lyx.org>
2918
2919         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2920         than #including paragraph.h.
2921
2922         * ParagraphList.h:
2923         * RowList.h: deleted. Superfluous.
2924
2925         * CutAndPaste.h:
2926         * iterators.h:
2927         * lyxcursor.h:
2928         * lyxtext.h:
2929         * text_funcs.h:
2930         * undo.h:
2931         * undo_funcs.h:
2932         * insets/inset.h:
2933         * insets/insettext.h: use ParagraphList_fwd.h rather than
2934         ParagraphList.h.
2935
2936         * paragraph.h: don't forward declare ParagraphList.
2937
2938         * buffer.h:
2939         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2940         rather than ParagraphList.h. paragraph.h is still needed for the
2941         Paragraph::depth_type parameters.
2942
2943         * textcursor.h: enable it to compile stand-alone in light of the
2944         above changes.
2945
2946         * bufferview_funcs.C:
2947         * iterators.C:
2948         * lyxfunc.C:
2949         * lyxrow_funcs.C:
2950         * paragraph.C:
2951         * rowpainter.C:
2952         * text.C:
2953         * text2.C:
2954         * text3.C:
2955         * text_funcs.C:
2956         * textcursor.C:
2957         * undo.C:
2958         * frontends/controllers/ControlParagraph.C:
2959         * frontends/controllers/ControlTabular.C:
2960         * insets/insetmarginal.C:
2961         * insets/insetminipage.C:
2962         * insets/insetnote.C:
2963         * insets/insetoptarg.C: add header files needed to compile again.
2964
2965 2003-09-06  Angus Leeming  <leeming@lyx.org>
2966
2967         * RowList_fwd.h: new file, forward-declaring Row rather than
2968         #including lyxrow.h.
2969
2970         * lyxrow_funcs.h:
2971         * lyxtext.h:
2972         * paragraph.h:
2973         * insets/insettext.h: use it instead of RowList.h
2974
2975         * bufferview_funcs.C:
2976         * lyxfunc.C:
2977         * lyxrow_funcs.C:
2978         * paragraph.C:
2979         * rowpainter.C:
2980         * text.C:
2981         * text2.C:
2982         * text3.C: #include "RowList.h".
2983
2984 2003-09-05  Angus Leeming  <leeming@lyx.org>
2985
2986         * factory.C (createInset):
2987         * vspace.C (c-tor): replace sscanf call with an istringstream.
2988         * ispell.C: re-add missing HP/UX headers.
2989         * lyxserver.C: re-add missing  os2 headers.
2990
2991 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2992
2993         * BranchList.C:
2994         * graph.C:
2995         * ispell.C:
2996         * lastfiles.C:
2997         * lyx_cb.C:
2998         * lyxserver.C:
2999         * texrow.C:
3000         * text3.C: re-add missing system headers, needed for 2.95.2.
3001
3002 2003-09-05  Angus Leeming  <leeming@lyx.org>
3003
3004         Changes most place everywhere due to the removal of using directives
3005         from support/std_sstream.h.
3006
3007 2003-09-05  Angus Leeming  <leeming@lyx.org>
3008
3009         Replace LString.h with support/std_string.h,
3010         Lsstream.h with support/std_sstream.h,
3011         support/LIstream.h with support/std_istream.h,
3012         support/LOstream.h with support/std_ostream.h.
3013
3014         Changes resulting throughout the tree.
3015
3016 2003-09-05  Angus Leeming  <leeming@lyx.org>
3017
3018         * sgml.h: ensure that the header file can be compiled stand-alone.
3019         * *.C: strip out redundant #includes. (320 in total.)
3020
3021 2003-09-04  Angus Leeming  <leeming@lyx.org>
3022
3023         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3024         here (from getPackages).
3025
3026         * debug.[Ch]: add a new EXTERNAL tag.
3027
3028 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3029
3030         * text2.C (cursorEnd): simplify
3031         (setCursor): adjust
3032         (getColumnNearX): adjust
3033
3034         * text.C (computeBidiTables): adjust
3035         (fill): adjust
3036
3037         * rowpainter.C (paintChars): adjust
3038         (paintSelection): adjust
3039         (paintChangeBar): adjust
3040         (paintText): adjust
3041
3042         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3043         lastPos instead.
3044         (numberOfSeparators): adjust
3045
3046 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3047
3048         * LyXAction.C:
3049         * box.[Ch]:
3050         * lfuns.h:
3051         * lyxfunc.C:
3052         * text3.C: Restricts the mouse click functionality
3053         of insets like bibtex, include, toc and floatlist to the visible
3054         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3055         up the dialogs. Cursor has to be in front of the inset (i.e.
3056         start of row) for this to function.
3057
3058 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3059
3060         * bufferview_funcs.C (currentState): output row information
3061
3062 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3063
3064         * bufferview_funcs.C (currentState): output paragraph position
3065
3066 2003-09-04  Angus Leeming  <leeming@lyx.org>
3067
3068         * FloatList.h: move out #include "Floating.h".
3069         * LaTeX.h: move out #include "DepTable.h".
3070         * LyXAction.h: move out #include "funcrequest.h".
3071         * buffer.h: move out #include "author.h", "iterators.h".
3072         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3073         * lyx_main.h: move out #include "errorlist.h".
3074         * lyxfunc.h: move out #include "FuncStatus.h".
3075         * lyxtext: move out #include "lyxcursor.h".
3076         * paragraph_pimpl.h: move out #include "counters.h".
3077
3078 2003-09-03  Angus Leeming  <leeming@lyx.org>
3079
3080         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3081         preamble_snippets list, enabling us to add snippets to the preamble
3082         only if the snippet was not there already.
3083
3084 2003-09-04  Angus Leeming  <leeming@lyx.org>
3085
3086         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3087
3088 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3091         update
3092
3093 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3094
3095         * BranchList.C: point fix, earlier forgotten
3096
3097 2003-09-02  Angus Leeming  <leeming@lyx.org>
3098
3099         * box.C (contains): renamed from 'contained' after a fantastic
3100         amount of hot air.
3101
3102 2003-09-02  John Levon  <levon@movementarian.org>
3103
3104         * BufferView.C:
3105         * lyxcursor.h:
3106         * lyxcursor.C:
3107         * lyxfunc.C:
3108         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3109
3110 2003-09-02  John Levon  <levon@movementarian.org>
3111
3112         * text2.C: simplification of cursorEnd(), including partial
3113         fix for bug 1376
3114
3115 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3116
3117         * buffer.C (readFile): add a space
3118
3119 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3120
3121         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3122
3123 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3124
3125         * buffer.C (readFile): new function, take a filename and a
3126         ParagraphList::iterator
3127         (readFile): adjust
3128         (readFile): adjust, make it private. don't use setStream, make
3129         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3130         always contain the filename.
3131
3132         * BufferView.C (insertLyXFile): simplify and make it work for
3133         gzipped files.
3134
3135 2003-08-30  John Levon  <levon@movementarian.org>
3136
3137         * Makefile.am: fix dist (from Kayvan)
3138
3139 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * most files: change to use const Buffer refs
3142
3143 2003-08-27  André Pönitz  <poenitz@gmx.net>
3144
3145         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3146         on top of ownerPar().
3147
3148 2003-08-27  John Levon  <levon@movementarian.org>
3149
3150         * funcrequest.C: properly initialise POD members
3151
3152 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3153
3154         * lyxtext.h (top_y): move top_y from here
3155         * text.C:
3156         * text2.C:
3157         * text3.C:
3158         * BufferView.[Ch]:
3159         * BufferView_pimpl.[Ch]: to here
3160         * frontends/screen.C:
3161         * insets/insettabular.C:
3162         * insets/insettext.C: adjust
3163         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3164
3165 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3166
3167         * BufferView.[Ch]:
3168         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3169
3170 2003-08-26  André Pönitz  <poenitz@gmx.net>
3171
3172         * paragraph_func.[Ch] (outerPar): new function
3173
3174         * paragraph.C:
3175         * paragraph_funcs.C:
3176         * paragraph_funcs.h:
3177         * paragraph_pimpl.C:
3178         * text2.C: remove Inset::par_owner
3179
3180 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3181
3182         * lyxrow_funcs.C:
3183         * lyxtext.h:
3184         * text.C:
3185         * text2.C: eliminates the needFullRow/display() stuff
3186         altogether, putting the logic in metrics/draw in the insets.
3187
3188 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * text2.C (redoParagraphInternal, redoParagraphs):
3191         * text.C (redoParagraph): add a call to updateRowPositions at the
3192         end of each 'metrics-like' call. Remove all others.
3193         (getRow): remove the 'y-computing' version.
3194         (getRowNearY): do not compute nor return the real y. Solve the
3195         'y < 0' problem and simplify.
3196
3197 2003-08-22  Angus Leeming  <leeming@lyx.org>
3198
3199         * *.[Ch]: clean-up of licence and author blurbs.
3200         Also move config.h out of a few .h files and into a few .C files.
3201
3202 2003-08-22  André Pönitz  <poenitz@gmx.net>
3203
3204         * lyxrow.[Ch]: add x_ and *fill_ members
3205
3206         * lyxtext.h:
3207         * text.C:
3208         * rowpainter.C:
3209         * text2.C: adjust/remove prepareToPrint() calls
3210
3211 2003-08-22  André Pönitz  <poenitz@gmx.net>
3212
3213         * lyxrow.[Ch]: add  end_ member
3214
3215         * lyxrow_funcs.C: use LyXRow::end_
3216
3217         * lyxtext.h (singleWidth): add LyXFont parameter
3218
3219         * rowpainter.C:
3220         * text2.C: adjust LyXText::singleWidth() calls
3221
3222         * text.C (redoParagraph): simplify row breaking logic
3223
3224
3225 2003-08-19  André Pönitz  <poenitz@gmx.net>
3226
3227         * funcrequest.C: initialize button_ member
3228
3229         * text3.C:
3230         * rowpainter.[Ch]: interface consolidation
3231
3232 2003-08-18  André Pönitz  <poenitz@gmx.net>
3233
3234         * BufferView.C:
3235         * BufferView_pimpl.C:
3236         * lyxfind.C:
3237         * paragraph_funcs.C:
3238         * rowpainter.C:
3239         * text3.C: remove LyXScreen::draw() and fitCursor calls
3240
3241         * BranchList.h: remove spurious semicolons
3242
3243         * MenuBackend.C: fix branchlist related crash
3244
3245 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3246
3247         * BranchList.[Ch]:
3248         * InsetList.[Ch]:
3249         * LColor.[Ch]:
3250         * LyXAction.C:
3251         * Makefile.am:
3252         * MenuBackend.[Ch]:
3253         * bufferparams.[Ch]:
3254         * factory.C:
3255         * lfuns.h:
3256         * lyxfunc.C:
3257         * text3.C: implements the 'branch inset'
3258         idea. This allows the output of various versions of a document
3259         from a single source version, selectively outputing or suppressing
3260         output of parts of the text.
3261         This implementation contains a 'branch list editor' in a separate
3262         tab of the document settings dialog. Branches are user definable
3263         and have a "display colour" to distinguish them on-screen.
3264
3265         ColorHandler was somewhat cleaned up.
3266         (1) make possible a dynamically growing LColor list by allowing
3267         the graphic context cache to grow along (vector);
3268         (2) eliminate an IMHO unnecessary step in colour allocation.
3269
3270 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3271
3272         * BufferView_pimpl.C: compile fix
3273
3274 2003-08-15  André Pönitz  <poenitz@gmx.net>
3275
3276         * rowpainter.C: remove extra metrics calls
3277
3278         * lyxtext.h: merge the two constructors into a single one,
3279           pass reference to owner's par list
3280
3281         * BufferView_pimpl.C:
3282         * text.C:
3283         * text2.C: adjust
3284
3285 2003-08-15  André Pönitz  <poenitz@gmx.net>
3286
3287         * lyxrow_funcs.[Ch]:
3288         * lyxtext.h:
3289         * paragraph.h:
3290         * paragraph_funcs.C:
3291         * rowpainter.C:
3292         * text.C:
3293         * text2.C:
3294         * text3.C:
3295         * text_funcs.C: split LyXText::rowlist_ into individual
3296         Paragraph::rows_ chunks
3297
3298         * BufferView.[Ch]:
3299         * BufferView_pimpl.[Ch]:
3300         * lyxfind.C:
3301         * lyxtext.h:
3302         * text3.C: remove toggleSelection()
3303
3304 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3305
3306         * bufferlist.C: beautify two alerts (shorter text of buttons)
3307         * buffer.C: Remove redundant ' ' from message
3308         * tabular.h:
3309         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3310         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3311         rename VALIGN_CENTER to VALIGN_MIDDLE
3312
3313 2003-08-11  André Pönitz  <poenitz@gmx.net>
3314
3315         * lyxtext.h (getPar):
3316         * text.C: new function
3317
3318 2003-08-11  André Pönitz  <poenitz@gmx.net>
3319
3320         * Makefile.am:
3321         * tracer.[Ch]: remove unneeded files
3322
3323         * InsetList.[Ch]: remove resizeInsetsLyXText()
3324
3325         * lyxtext.h:
3326         * text.C:
3327         * text2.C:
3328         * text3.C: merge insertParagraphs() and appendParagraph()
3329         remove breakAgain(), update()
3330
3331         * BufferView_pimpl.[Ch]:
3332         * bufferview_funcs.[Ch]:
3333         * lyxfunc.C:
3334         * paragraph.[Ch]:
3335         * rowpainter.C:
3336         * tabular.C: adjust after text & InsetList changes.
3337
3338 2003-08-08  André Pönitz  <poenitz@gmx.net>
3339
3340         * text.C (insertChar, backspace): replace rowlist fiddling
3341         with rebreak of full par
3342
3343         * lyxtext.h:
3344         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3345         checkParagraph, updateInset): removed
3346
3347 2003-08-07  André Pönitz  <poenitz@gmx.net>
3348
3349         * paragraph.C:
3350         * text3.C: merge some LFUN handlers, remove dead code
3351
3352 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3353
3354         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3355
3356 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3357
3358         * text2.C (DEPM): fix part of bug 1255 and 1256
3359
3360 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3361
3362         * BufferView_pimpl.C (workAreaDispatch): change to use
3363         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3364         that are no mouse related.
3365
3366 2003-08-05  André Pönitz  <poenitz@gmx.net>
3367
3368         * BufferView.[Ch]:
3369         * BufferView_pimpl.[Ch]:
3370         * bufferview_funcs.C:
3371         * text2.C:
3372         * text3.C: rip out "deep update"
3373
3374         * textcursor.[Ch] (last_sel_cursor): remove unused member
3375
3376 2003-08-04  André Pönitz  <poenitz@gmx.net>
3377
3378         * BufferView.[Ch]:
3379         * BufferView_pimpl.[Ch]:
3380         * ParagraphParameters.C:
3381         * bufferview_funcs.C:
3382         * lyx_cb.C:
3383         * lyxfind.C:
3384         * lyxfunc.C:
3385         * text.C:
3386         * text2.C:
3387         * text3.C: replace "complicated" BufferView::update(...) calls with
3388         simpler ones.
3389
3390         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3391
3392 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3393
3394         * Makefile.am (lyx_SOURCES): add paper.h
3395
3396 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3397
3398         * Makefile.am: move things around so that both lyx-qt and
3399         lyx-xforms can be built (according to --with-frontend). Then lyx
3400         is a symbolic link to lyx-[firstfrontend]
3401
3402 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3403
3404         * Always use std::endl with lyxerr
3405
3406 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3407
3408         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3409
3410 2003-08-01  André Pönitz  <poenitz@gmx.net>
3411
3412         * BufferView.[Ch]:
3413         * BufferView_pimpl.[Ch]:
3414         * lyxfunc.C:
3415         * text3.C: merge BufferView::repaint() and BufferView::update()
3416
3417 2003-08-01  José Matos  <jamatos@lyx.org>
3418
3419         * buffer.[Ch]: file_format is no longer a buffer data element.
3420
3421 2003-08-01  André Pönitz  <poenitz@gmx.net>
3422
3423         * BufferView.C:
3424         * lyxtext.h:
3425         * text.C:
3426         * text2.C: make redoParagraph more independent of current cursor
3427
3428         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3429         * text.C:
3430         * text2.C: remove unneeded members
3431
3432 2003-07-30  André Pönitz  <poenitz@gmx.net>
3433
3434         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3435
3436         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3437           create a single function...
3438
3439         * paragraph_funcs.C (moveItem): ... here.
3440
3441         * text.C:
3442           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3443
3444 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3445
3446         * LColor.[Ch]: Add comment and greyedout logical colors.
3447
3448 2003-07-30  André Pönitz  <poenitz@gmx.net>
3449
3450         * tabular.C: don't use Assert too heavily. This crashes where it
3451           shouldn't
3452
3453 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3454
3455         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3456         is disabled (bug 1232)
3457
3458 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3459
3460         * factory.C: limited 'arg' scope
3461
3462 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3463
3464         * factory.C: fixed Note submenu issues
3465
3466 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3467
3468         * factory.C: submenu for Note/Comment/Greyedout
3469
3470 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * lyx_main.C (LyX):
3473         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3474
3475 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3476
3477         * LaTeXFeatures.C:
3478         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3479         greyedout. Patch provided by Jürgen Spitzmüller.
3480
3481 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3482
3483         * kbmap.C (read): fix error message when reading bind files
3484
3485 2003-07-29  Angus Leeming  <leeming@lyx.org>
3486
3487         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3488         certainly does not do what it purports to do. I am doing it, and
3489         us, a favour by killing it.
3490
3491 2003-07-28  José Matos  <jamatos@lyx.org>
3492
3493         * buffer.C (readBody, do_writeFile):
3494         * paragraph.C(readParagraph): \end_document replaces \the_end.
3495
3496 2003-07-29  André Pönitz  <poenitz@gmx.net>
3497
3498         * BufferView.[Ch]:
3499         * BufferView_pimpl.[Ch]:
3500         * lyxfunc.C:
3501         * text2.C:
3502         * text3.C:
3503         * textcursor.[Ch]: remove toggleToggle & Co
3504
3505 2003-07-28  José Matos  <jamatos@fep.up.pt>
3506
3507         * buffer.C (readParagraph):
3508         * params_func (readParToken, readParagraph):
3509         * paragraph.C (write): \layout -> \begin_layout.
3510
3511 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3512
3513         * lyxlex_pimpl.C (setFile): clean up slightly.
3514
3515         * bufferparams.h: add compressed var
3516
3517         * buffer_funcs.C (readFile): adjust for LyXLex change
3518         (newFile): ditto + simplify
3519
3520         * buffer.C (writeFile): handle writing of compressed files
3521
3522         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3523         Check if the file is compressed and set a bufferparm if so.
3524
3525         * Makefile.am (lyx_LDADD): remove explicit -lz
3526
3527 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3528
3529         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3530         makeDocBookFile): put the real LyX version in the first line of
3531         the file
3532
3533         * version.h:
3534         * version.C.in: remove lyx_docversion
3535
3536         * tabular.C (write_attribute): add a template-based version to
3537         write enums properly
3538
3539 2003-07-28  André Pönitz  <poenitz@gmx.net>
3540
3541         * lyxtext.h:
3542         * text.C:
3543         * text2.C:
3544         * text3.C: use doubles again for x-coordinates. They are needed.
3545
3546 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * messages.C (getLocaleDir): use lyx_localedir()
3549
3550         * lyxlex_pimpl.C (setFile): compress stuff
3551
3552         * buffer.C (writeFile): add some compression stuff
3553         (do_writeFile): new func, dont call expliti close... will this
3554         breake anything?
3555
3556         * Makefile.am (lyx_LDADD): add -lz
3557
3558 2003-07-28  José Matos  <jamatos@fep.up.pt>
3559
3560         * buffer.C: increment file format.
3561         * paragraph_funcs (readParagraph, readParToken):
3562         * paragraph.C (readParagraph): add \end_layout.
3563
3564 2003-07-27  Angus Leeming  <leeming@lyx.org>
3565
3566         * Makefile.am: remove special casing for configure-time setting of
3567         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3568
3569         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3570         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3571
3572 2003-07-26  André Pönitz  <poenitz@gmx.net>
3573
3574         * paragraph_func.[Ch]:
3575         * paragraph.C (realizeFont): inline it whereever it is used
3576
3577         * rowpainter.C:
3578         * text.C:
3579         * text2.C:
3580         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3581
3582
3583 2003-07-26  André Pönitz  <poenitz@gmx.net>
3584
3585         *       lyxtext.h:
3586         * text.C:
3587         * text2.C: get rid of LyXText::need_break_row
3588
3589 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * toc.[Ch]: put namespace toc inside namespace lyx
3592
3593         * MenuBackend.C (expandToc2): adjust for lyx::toc
3594         (expandToc): ditto
3595
3596         * lyxfunc.C (dispatch): adjust for lyx::find
3597
3598         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3599         lyx::find instead. Reorganize a bit.
3600         (LyXReplace): rename to replace
3601         (LyXFind): rename to find
3602
3603         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3604         (dispatch): ditto
3605
3606 2003-07-26  André Pönitz  <poenitz@gmx.net>
3607
3608         * text.C (setHeightOfRow): restrict scope of temporary variable
3609
3610         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3611           code (never has been used?)
3612
3613 2003-07-27  Asger Alstrup  <alstrup@local>
3614
3615         * text.C (fill): Optimise algorithm to exploit that we can reuse
3616         the LyXFont for many characters.
3617         (setHeightOfRow): Same thing.
3618         (rowBreakPoint): Same thing.
3619
3620 2003-07-26  Asger Alstrup  <alstrup@local>
3621
3622         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3623
3624         * text.C (singleWidth): Spurious font copying in hot-spot
3625         singleWidth avoided. Reorder tests for arabic for efficiency.
3626
3627         * text.C (fill): handle empty paragraphs better.
3628
3629 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3630
3631         * ispell.C:
3632         * encoding.h: add includes
3633
3634         * lyxrc.C: remove reading of bind files
3635
3636         * lyx_main.C (init): setup bindings and menus only if we have a
3637         gui.
3638
3639         * kbmap.C (read): new method. Do the actual reading of bind
3640         files.
3641
3642         * converter.C (dvipdfm_options):
3643         * bufferparams.C:
3644         * lyxrc.C (read):
3645         (output): adapt PAPER_* enums.
3646
3647         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3648
3649         * bufferparams.h: remove paper-related enums from there
3650
3651         * paper.h: New file. A trivial header file to hold paper-related
3652         enums. It should later expand to contain many paper-related
3653         horrors access.
3654
3655         * lyxrc.C: declare extern displayTranslator
3656
3657 2003-07-27  José Matos  <jamatos@fep.up.pt>
3658
3659         * tabular.[Ch] (linuxdoc): add support for tables and figures
3660         (linuxdoc).
3661
3662 2003-07-27  José Matos  <jamatos@fep.up.pt>
3663
3664         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3665         consistency in both functions.
3666         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3667
3668 2003-07-26  Asger Alstrup  <alstrup@local>
3669
3670         * rowpainter.C (paintRows): Change algorithm to work directly on
3671         the insets rather than asking every character in the document
3672         whether its an inset.
3673
3674 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3675
3676         * buffer.C (openFileWrite): factorize some code
3677
3678 2003-07-26  Angus Leeming  <leeming@lyx.org>
3679
3680         * lyx_cb.C:
3681         * lyx_main.[Ch]: replace occurances of system_tempdir with
3682         os::getTmpDir().
3683
3684 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3685
3686         * rename Inset to InsetOld
3687
3688 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3689
3690         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3691         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3692         which I think is a bit clearer. EDIT is gone, since it was
3693         premature optimisation, and broken for mathed anyway.
3694         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3695         with cursor positioning in insets as well (math insets still do not
3696         work, but that's a different story anyway.) It mysteriously
3697         crashes sometimes with undo in the first paragraph, but I'm fairly
3698         confident that this is a compiler bug.
3699
3700 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * paragraph.C (Paragraph): adjust for new clone return type
3703         (operator==): ditto
3704         (copyIntoMinibuffer): ditto
3705
3706 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3707
3708         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3709         by not having a special case, and always doing a full rebreak of
3710         the document after undo.
3711
3712 2003-07-23  Angus Leeming  <leeming@lyx.org>
3713
3714         * factory.C (createInset): InsetExternal::setParams now takes a
3715         Buffer const * arg.
3716
3717 2003-07-23  Angus Leeming  <leeming@lyx.org>
3718
3719         * factory.C (createInset): changed interface to the external and
3720         graphics mailers' string2params functions.
3721
3722 2003-07-23  Angus Leeming  <leeming@lyx.org>
3723
3724         * factory.C (createInset): pass a
3725         Buffer const * parameter to InsetExternalMailer's string2params.
3726
3727 2003-07-22  John Levon  <levon@movementarian.org>
3728
3729         * Thesaurus.h: include the right aiksaurus header
3730
3731 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3732
3733         * MenuBackend.C (expand): check menu shortcuts unconditionally
3734
3735 2003-07-21  Angus Leeming  <leeming@lyx.org>
3736
3737         * factory.C (createInset): pass a
3738         buffer_path parameter to InsetGraphicsMailer's string2params.
3739
3740 2003-07-21  Angus Leeming  <leeming@lyx.org>
3741
3742         * BufferView_pimpl.C (buffer):
3743         * buffer.C (d-tor):
3744         * lyx_main.C (LyX):
3745         * lyxfunc.C (dispatch):
3746         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3747         rather than the grfx shortcut.
3748
3749 2003-07-21  André Pönitz  <poenitz@gmx.net>
3750
3751         * rowpainter.C: remove unused variables
3752
3753         * tabular_funcs.C:
3754         * tabular_funcs.h: move to tabular.C
3755         * Makefile.am: adjust
3756
3757         * tabular.[Ch]: basic optical cleaning
3758
3759         * author.h: pass references, not values
3760
3761 2003-07-18  André Pönitz  <poenitz@gmx.net>
3762
3763         * lyxtext.h:
3764         * metricsinfo.C:
3765         * metricsinfo.h:
3766         * rowpainter.C:
3767         * text.C:
3768         * text2.C:
3769         * text3.C: two-phase drawing for InsetText and InsetTabular
3770         some float -> int changes.
3771
3772 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3773
3774         * lyx_main.C: fix the fix
3775
3776 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3777
3778         * lyx_main.C: fix a crash in batch mode if no files specified
3779         * converter.C: ws
3780
3781 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3782
3783         * format.[Ch] (papersize): moved to BufferParams
3784         * converter.[Ch] (dvips_options): moved to BufferParams
3785         (dvipdfm_options): moved to anon namespace
3786         * bufferparams.[Ch]: added above functions.
3787
3788 2003-07-17  André Pönitz  <poenitz@gmx.net>
3789
3790         * lyxtext.h:
3791         * rowpainter.C:
3792         * text2.C: don't call inset->update() anymore
3793
3794         * metricsinfo.[Ch]: add convenience constructor
3795
3796 2003-07-16  André Pönitz  <poenitz@gmx.net>
3797
3798         * lyxcursor.[Ch]:
3799         * lyxfunc.[Ch]:
3800         * text.C:
3801         * text2.C: replace the LyXCursor::irow_ member with
3802          on-demand computation of the value
3803
3804 2003-07-16  John Levon  <levon@movementarian.org>
3805
3806         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3807
3808 2003-07-15  André Pönitz  <poenitz@gmx.net>
3809
3810         * text.C:
3811         * text2.C: remove no more needed refresh_row
3812
3813 2003-07-15  André Pönitz  <poenitz@gmx.net>
3814
3815         * lyxtext.h:
3816         * rowpainter.C:
3817         * text2.C:
3818         * text3.C: refresh_status tristate -> need_update bool
3819
3820 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3821
3822         * lyxtext.h (init): remove reinit argument (act as if always true)
3823         * text2.C: adjust to that
3824
3825 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3826
3827         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3828         * text3.C: use it to delete selections in some cases
3829         (bugs 441, 673, 702, 954).
3830
3831 2003-07-14  André Pönitz  <poenitz@gmx.net>
3832
3833         * rowpainter.[Ch]: reduce interface
3834
3835 2003-07-14  André Pönitz  <poenitz@gmx.net>
3836
3837         * BufferView_pimpl.C:
3838         * text2.C: adjust after removing unused BufferView * argument
3839
3840 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3841
3842         * text2.C (init): fix a crash fired on resize
3843
3844 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3845
3846         * buffer.[Ch]: added new closing signal
3847         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3848         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3849         BufferView::Pimpl via the closing the signal
3850
3851 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3852
3853         * buffer.[Ch]: take out all bv-related from buffer
3854         * BufferView.C:
3855         * BufferView_pimpl.[Ch]: connect to new signals
3856         * CutAndPaste.C: removed useless asserts
3857         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3858         * lyxvc.[Ch]:
3859         * vc-backend.[Ch]:
3860         * lyxfunc.C: moved view-related funciontality from vc here
3861         * paragraph.C: removed outdated comments
3862         * text.C: ws
3863
3864 2003-07-10  André Pönitz  <poenitz@gmx.net>
3865
3866         * BufferView_pimpl.C:
3867         * tabular.h:
3868         * tabular_funcs.C:
3869         * text.C:
3870         * text2.C: remove InsetText::InnerCache, clean up consequences
3871
3872 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3873
3874         * ispell.C: fix two typos in error messages
3875
3876 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3877
3878         * Extend Note inset to other forms of annotation like Comment
3879         and Greyedout. Right button click gives dialog.
3880
3881         Files modified or added (+):
3882
3883         * insetnote.[Ch]
3884         * FormNote.[Ch]      +
3885         * ControlNote.[Ch]   +
3886         * form_note.fd       +
3887         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3888         frontends/controllers
3889         * xforms/Dialogs.C
3890         * factory.C
3891
3892 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3893
3894         * aspell.C: add missing namespace lyx::support
3895
3896 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3897
3898         * BufferView.[Ch] (newFile): Add
3899         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3900         * LaTeX.[Ch] (message): added this signal and use it
3901         * buffer.[Ch] (busy, message): added these signals and use them
3902         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3903         * converter.C:
3904         * exporter.C:
3905         * format.C:
3906         * importer.C: use buffer signals instead of direct bv calling
3907         * lyx_cb.[Ch] (ShowMessage): removed
3908         * lyx_main.C:
3909         * lyxfunc.C:
3910         * paragraph_funcs.C:
3911         * text2.C: use buffer signals
3912
3913 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * introduce namespace lyx::graphics
3916
3917 2003-07-02  André Pönitz  <poenitz@gmx.net>
3918
3919         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3920
3921 2003-07-01  André Pönitz  <poenitz@gmx.net>
3922
3923         * text.C:
3924         * text2.C:
3925         * text3.C:
3926         * text_funcs.[Ch]:
3927         * textcursor.h:
3928         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3929           text*.C to text_func.C
3930
3931 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3932
3933         * introduce namespace lyx::support
3934
3935 2003-06-30  André Pönitz  <poenitz@gmx.net>
3936
3937         * Chktex.C:
3938         * funcrequest.C:
3939         * lyxtext.h:
3940         * text.C: re-enable --with-included-string
3941
3942 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * textcursor.C: add <config.h>
3945
3946         * text.C (getWord): remove const from word_location arg
3947
3948         * lyxvc.C (getLogFile): fix const type order
3949
3950         * lyxtext.h: remove const from word_location arg, add arg name
3951
3952         * lyxlayout.h: currect type on labeltype.
3953
3954         * importer.C: correct \file
3955
3956         * converter.C (intToFormat): use std:: on ret val, ws changes
3957
3958         * bufferlist.h: correct \file
3959
3960         * buffer.C (makeLinuxDocFile): fix const type order
3961         (makeDocBookFile): ditto
3962         (fillWithBibKeys): use std:: on stdlib args.
3963
3964         * CutAndPaste.C: fix authors.
3965         (availableSelections): use std:: on return vector
3966
3967 2003-06-27  André Pönitz  <poenitz@gmx.net>
3968
3969         * BufferView_pimpl.C:
3970         * bufferview_funcs.C:
3971         * lyxcursor.C:
3972         * lyxcursor.h:
3973         * lyxfunc.C:
3974         * lyxtext.h:
3975         * rowpainter.C:
3976         * text.C:
3977         * text2.C:
3978         * text3.C: remove LyXCursor::row_ member
3979
3980         * lyxtext.h:
3981         * text.C: rename fullRebreak() to partialRebreak() and implement
3982           a fullRebreak() that really bereks fully
3983
3984         * textcursor.h: new struct for cursor-related data
3985
3986 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3987
3988         * lyx_main.C (LyX): get full path of document loaded on the
3989         command line
3990
3991 2003-06-26  André Pönitz  <poenitz@gmx.net>
3992
3993         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3994           remove unused/broken operator>,<,>=.
3995
3996         *       text.C: remove only use of broken operator<= in an Assert().
3997
3998 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3999
4000         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4001         moved errorlist_.clear to showErrorList
4002
4003 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4004
4005         * converter.C (scanLog, runLaTeX):
4006         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4007         move the bv->showErrorList call to the callers
4008         * lyxfunc.C: i.e. here...
4009         * text2.C: and here
4010         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4011         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4012         namespace, the second to...
4013         * buffer_funcs (BufferFormat, parseErrors): added
4014         * errorlist.C (ErrorList(TeXErrors const &)): removed
4015
4016 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4017
4018         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4019
4020 2003-06-24  "Garst R. Reese" <reese@isn.net>
4021
4022         * debug.C: fix typo
4023
4024 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4025
4026         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4027
4028         * version.C.in: change docversion to 1.4
4029
4030 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4031
4032         * buffer.C: fix a bug just introduced
4033
4034 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4035
4036         * buffer.[Ch]: added the parseError signal and use it, removed
4037         sgmlError
4038         * BufferView.[Ch] (addError): moved to ...
4039         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4040         to the Buffer::parseError signal to catch (guess what) parse errors
4041         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4042
4043 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4044
4045         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4046         ability to create a buffer and to return an existing one from
4047         the list. Moved these functions to...
4048         * buffer_funcs.[Ch]: added
4049         * BufferView.[Ch] (loadLyXFile): added
4050         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4051         job removed from bufferlist::loadLyXFile.
4052         * buffer.C (setReadOnly): make it work without view
4053         (i.e added an if (users))
4054
4055 2003-06-19  Angus Leeming  <leeming@lyx.org>
4056
4057         * lfuns.h:
4058         * LyXAction.C (init):
4059         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4060         with LFUN_DIALOG_SHOW <name> <data>.
4061
4062 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4063
4064         * CutAndPaste.C (availableSelections): small compilation fix for
4065         ancient (gcc 2.9x) compilers
4066
4067 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * text3.C (cursorNext): add tmp var
4070
4071         * text2.C (updateCounters): for function calling out of for clause
4072         (replaceSelectionWithString): ditto
4073         (insertStringAsParagraphs): ditto
4074         (getColumnNearX): add tmp var
4075         (setCursorFromCoordinates): add tmp var
4076         (cursorDownParagraph): add tmp var
4077         (deleteEmptyParagraphMechanism): add tmp var
4078
4079         * text.C (insertChar): add tmp var
4080
4081         * rowpainter.C (paintDepthBar): add tmp var
4082
4083         * CutAndPaste.C (availableSelections): potentially check all
4084         paragraphs in a cut to fill the shown strings.
4085
4086 2003-06-18  André Pönitz  <poenitz@gmx.net>
4087
4088         * kbmap.[Ch]: use vector<> instead of list<>
4089
4090 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4091
4092         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4093         pasteSelection with index
4094
4095         * text2.C (pasteSelection): modify, call pasteSelection with index
4096
4097         * paragraph.C (asString): reimplement version with no interval to
4098         call the one with interval.
4099
4100         * lyxtext.h: add index arg to pasteSelection
4101
4102         * MenuBackend.C (MenuItem): handle PasteRecent
4103         (Menu::read::Menutags): add md_pasterecent
4104         (read): handle it
4105         (expandPasteRecent): new function
4106         (expand): use it
4107
4108         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4109
4110         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4111         the limited stack
4112         (availableSelections): new function
4113
4114 2003-06-17  Angus Leeming  <leeming@lyx.org>
4115
4116         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4117
4118 2003-06-17  Angus Leeming  <leeming@lyx.org>
4119
4120         * lfuns.h:
4121         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4122
4123         * lyxfunc.C (dispatch): invoke it.
4124
4125 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4126
4127         * iterators.C (operator++, ParPosition): reintroduce some
4128         const_cast for the benefit of older compilers.
4129
4130 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4131
4132         * text3.C (dispatch): do not modify clipboard when doing
4133         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4134         LFUN_DELETE_SKIP on a selection selection
4135
4136 2003-06-16  André Pönitz  <poenitz@gmx.net>
4137
4138         * BufferView.C:
4139         * buffer.C:
4140         * buffer.h:
4141         * paragraph.C:
4142         * tabular.[Ch]: IU of clone() and getLabelList();
4143
4144 2003-06-13  André Pönitz  <poenitz@gmx.net>
4145
4146         * tabular.h: compactification
4147
4148 2003-06-12  André Pönitz  <poenitz@gmx.net>
4149
4150         * tabular.C:
4151         * tabular.h:
4152         * tabular_funcs.h: some renaming plus whitespace
4153
4154 2003-06-12  André Pönitz  <poenitz@gmx.net>
4155
4156         * BufferView.C:
4157         * BufferView_pimpl.C:
4158         * CutAndPaste.C:
4159         * buffer.C:
4160         * iterators.[Ch]:
4161         * lyxfunc.C:
4162         * text.C:
4163         * toc.C: Return a Paragraph & for ParIterator::operator*()
4164
4165 2003-06-11  John Levon  <levon@movementarian.org>
4166
4167         * lyx_main.C:
4168         * ToolbarBackend.h:
4169         * ToolbarBackend.C: add "Toolbars" section and
4170         put the flags there
4171
4172 2003-06-10  Angus Leeming  <leeming@lyx.org>
4173
4174         * lfuns.h:
4175         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4176
4177         * lyxfunc.C (dispatch): invoke it.
4178
4179 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4180
4181         * main.C: protect <ios> with HAVE_IOS
4182         (main): protect sync_with_stdio with HAVE_IOS
4183
4184 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4185
4186         * text2.C (cutSelection): adjust
4187         (pasteSelection): adjust
4188
4189         * messages.C: handle get of empty string
4190
4191         * main.C (main): use sync_with_stdio(false)
4192
4193         * lyxfunc.C (dispatch): adjust
4194
4195         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4196         (WriteAs): remove unneeded BufferView arg.
4197
4198         * bufferparams.h: use correct types on papersize, papersize2 and
4199         paperpackage.
4200
4201         * bufferparams.C (readToken): adjust for type
4202         (writeLaTeX): add missing cases to switch.
4203
4204         * bufferlist.C (quitWriteBuffer): adjust
4205         (close): adjust
4206
4207         * buffer.C (asciiParagraph): remove some commented code.
4208
4209         * CutAndPaste.C: remove current_view extern variable.
4210         (cutSelection): add BufferParams arg.
4211         (eraseSelection): add BufferParams arg.
4212         (pasteSelection): add Buffer const & arg
4213
4214 2003-06-07  John Levon  <levon@movementarian.org>
4215
4216         * buffer.C:
4217         * paragraph_funcs.C:
4218         * paragraph_pimpl.C:
4219         * text.C:
4220         * text2.C:
4221         * paragraph.h:
4222         * paragraph.C: allow InsetERT to freely space lines,
4223         and some consolidation of code
4224
4225 2003-06-06  José Matos  <jamatos@fep.up.pt>
4226
4227         * buffer.C (makeDocBookFile): fix bug #821
4228
4229 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4232
4233 2003-06-04  Angus Leeming  <leeming@lyx.org>
4234
4235         * buffer.C: bump format to 224.
4236
4237 2003-06-05  André Pönitz  <poenitz@gmx.net>
4238
4239         * text2.C (redoParagraphs): remove two const_cast<>
4240
4241 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4242
4243         * ParagraphList.h: remove last remnants of NO_STD_LIST
4244
4245 2003-06-03  Angus Leeming  <leeming@lyx.org>
4246
4247         * factory.C (createInset): small change to the way InsetExternal's params
4248         are set.
4249
4250 2003-06-04  André Pönitz  <poenitz@gmx.net>
4251
4252         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4253
4254         * paragraph_pimpl.h:
4255         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4256
4257         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4258
4259         * undo_funcs.C: make some simple cases of undo work again
4260
4261 2003-06-03  John Levon  <levon@movementarian.org>
4262
4263         * ispell.C: HPUX doesn't have sys/select.h
4264         (from Albert Chin)
4265
4266 2003-06-03  John Levon  <levon@movementarian.org>
4267
4268         * CutAndPaste.C: update tabular and include inset
4269         buffer references
4270
4271         * buffer.h:
4272         * paragraph.h:
4273         * paragraph.C: remove owningBuffer(), don't pass Buffer
4274         to clone()
4275
4276         * factory.C: insetGraphicsParams changed
4277
4278 2003-06-02  John Levon  <levon@movementarian.org>
4279
4280         * LyXAction.C:
4281         * factory.C:
4282         * lfuns.h:
4283         * lyxfunc.C:
4284         * text3.C: remove insetparent
4285
4286 2003-06-02  John Levon  <levon@movementarian.org>
4287
4288         * buffer.h:
4289         * buffer.C: fix inset_iterator.end(), move out of line
4290         (bug 1149)
4291
4292 2003-06-01  John Levon  <levon@movementarian.org>
4293
4294         * text3.C: use a proper cut/paste when doing inset
4295         insert (from Jürgen Spitzmüller)
4296
4297 2003-06-01  John Levon  <levon@movementarian.org>
4298
4299         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4300
4301 2003-05-30  André Pönitz  <poenitz@gmx.net>
4302
4303         * rowpainter.C: unify second drawing phase
4304
4305 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * trans_mgr.C: remove one case of current_view
4308
4309         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4310
4311         * paragraph_funcs.h: remove paragraph.h include
4312
4313         * paragraph.h: delete NO_STD_LIST stuff
4314
4315         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4316
4317         * buffer.h: remove paragraph.h include
4318
4319         * ParagraphList.C: delete file
4320
4321         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4322
4323         * toc.C (getTocList): adjust
4324
4325         * paragraph_pimpl.C (validate): adjust
4326
4327         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4328
4329         * paragraph.C (Paragraph): adjust
4330         (getPositionOfInset): use const_iterator, adjust
4331         (bibitem): use const_iterator, adjust
4332         (setInsetOwner): adjust
4333
4334         * iterators.C (operator++): adjust
4335
4336         * InsetList.[Ch]: Replace selfmade iterator with standard
4337         vector::iterator also introduce const_iterator. Remove getPos,
4338         getInset and setInset from InsetTable. Adjust accordingly.
4339
4340         * BufferView.C (lockInset): adjust
4341         (ChangeInsets): adjust
4342
4343         * tabular.[Ch]: delete commented same_id functions
4344
4345 2003-05-28  John Levon  <levon@movementarian.org>
4346
4347         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4348
4349 2003-05-28  André Pönitz  <poenitz@gmx.net>
4350
4351         * metricsinfo.[Ch]: remove 'fullredraw' member
4352
4353 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4354
4355         * lyxtextclass.C (operator): remove caching.
4356
4357 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * text3.C: adjust
4360
4361         * text2.C (cursorBottom): adjust
4362         (setCounter): use ParagraphList::find, adjust
4363
4364         * text.C (workWidth): use ParagraphList::find, adjust
4365
4366         * lyxcursor.C (LyXCursor): adjust
4367
4368         * buffer.C (inset_iterator): adjust
4369
4370         * ParagraphList.h: make iterator(value_type) private, make
4371         ParagraphList a friend of iterator.
4372
4373         * ParagraphList.C (find): new function
4374
4375         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4376
4377 2003-05-27  André Pönitz  <poenitz@gmx.net>
4378
4379         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4380
4381 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4382
4383         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4384
4385 2003-05-26  John Levon  <levon@movementarian.org>
4386
4387         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4388
4389 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * remove same_id from function signatures, adjust.
4392
4393 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4396
4397         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4398
4399         * paragraph.C (Paragraph): get rid of same_ids parameter
4400
4401         * ParagraphList.C (insert): adjust
4402         (push_back): adjust
4403
4404 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * paragraph_funcs.C (breakParagraph): adjust
4407         (breakParagraphConservative): adjust
4408
4409         * buffer.C (readParagraph): adjust
4410
4411         * ParagraphList.C (insert): take a reference instead of a pointer
4412         (insert): adjust
4413
4414         * paragraph.[Ch] (id): new function
4415
4416         * bufferlist.C (newFile): adjust
4417
4418         * ParagraphList.C (ParagraphList): adjust
4419         (assign): adjust
4420         (push_back): take a reference instead of a pointer.
4421
4422         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4423
4424         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4425         instead.
4426
4427         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4428         set else use old code.
4429
4430         * ParagraphList.C: remove all NO_NEXT code and only compile this
4431         code of NO_STD_LIST is set.
4432
4433 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * BufferView_pimpl.C:
4436         * TextCache.C:
4437         * TextCache.h:
4438         * bufferlist.C:
4439         * errorlist.h:
4440         * format.C:
4441         * format.h:
4442         * graph.C:
4443         * lyxfunc.C:
4444         * lyxrc.C:
4445         * graphics/GraphicsConverter.C:
4446         * graphics/PreviewLoader.C: header adjustment
4447
4448 2003-05-23  Angus Leeming  <leeming@lyx.org>
4449
4450         * LaTeXFeatures.[Ch] (useBabel): new method.
4451         * bufferparams.C (writeLaTeX): use it.
4452
4453 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4454
4455         * ParagraphList.h (set): remove unused function.
4456
4457 2003-05-23  André Pönitz  <poenitz@gmx.net>
4458
4459         * BufferView.C:
4460         * BufferView_pimpl.C:
4461         * buffer.C:
4462         * buffer.h:
4463         * lyxfunc.C:
4464         * undo_funcs.C: setUndo reworked
4465
4466         * iterators.[Ch]: add access to topmost ParagraphList
4467
4468         * lyxtext.[Ch] (workWidth): add a const
4469
4470 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * texrow.[Ch] (increasePos): remove function
4473         * exporter.C (export): removed unused var and outdated comment
4474
4475 2003-05-23  Angus Leeming  <leeming@lyx.org>
4476
4477         * latexrunparams.h: rename fragile as moving_arg.
4478         * paragraph.C (simpleTeXOnePar): ditto.
4479         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4480
4481 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4482
4483         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4484         (createUndo): ditto
4485         (textUndoOrRedo): comment out a currently unused var.
4486
4487         * paragraph.h (NO_NEXT): enable NO_NEXT
4488
4489         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4490
4491         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4492
4493         * exporter.C (Export): adjust for removeAutoInsets removal.
4494
4495         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4496
4497         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4498
4499         * BufferView.[Ch] (removeAutoInsets): delete function
4500
4501 2003-05-22  Angus Leeming  <leeming@lyx.org>
4502
4503         * latexrunparams.h: add a free_spacing variable.
4504
4505         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4506         to pass moving_arg, as the data is stored in runparams.fragile.
4507
4508         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4509         to Inset::latexOptional or to simpleTeXOnePar.
4510
4511         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4512         free_spacing arg to Inset::latexOptional.
4513
4514         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4515         free_spacing arg.
4516
4517 2003-05-22  Angus Leeming  <leeming@lyx.org>
4518
4519         * latexrunparams.h: add fragile and use_babel variables.
4520
4521         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4522         * buffer.C (makeLaTeXFile): store this returned value in
4523         runparams.use_babel, thus passing it to the inset::latex methods.
4524
4525         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4526         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4527
4528         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4529         longer has a fragile arg, as it is stored in runparams.fragile.
4530
4531         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4532         moving_arg parameter as the data is stored in runparams.fragile.
4533
4534         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4535         a fragile parameter as the data is stored in runparams.fragile.
4536
4537 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4540
4541 2003-05-22  Angus Leeming  <leeming@lyx.org>
4542
4543         * latexrunparams.h: add a 'bool nice' which defaults to false.
4544
4545         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4546         now encapsulated within runparams.
4547
4548         * bufferlist.C (updateIncludedTeXfiles):
4549         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4550
4551 2003-05-22  Angus Leeming  <leeming@lyx.org>
4552
4553         * latexrunparams.h: new file containing struct LatexRunParams.
4554         * Makefile.am: add new file.
4555
4556         * LaTeX.[Ch] (c-tor, run):
4557         * buffer.[Ch] (makeLaTeXFile):
4558         * bufferlist.[Ch] (updateIncludedTeXfiles):
4559         * converter.C (convert, scanLog):
4560         * converter.[Ch] (runLaTeX):
4561         * exporter.C (Export):
4562         * paragraph.[Ch] (simpleTeXOnePar):
4563         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4564         * paragraph_funcs.[Ch] (latexParagraphs):
4565         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4566         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4567         pass around a LatexRunParams parameter.
4568
4569 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * paragraph.[Ch]: remove unused constructor
4572
4573         * ParagraphList.C (erase): new function, taking two iterators
4574
4575 2003-05-22  André Pönitz  <poenitz@gmx.net>
4576
4577         * undo_funcs.C: remove duplicated code
4578
4579         * iterator.[Ch]: operator=
4580
4581 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * tabular.C (SetMultiColumn): ws changes
4584
4585         * rowpainter.C (paintFirst): get rid of a ->previous
4586
4587         * lyx_cb.C (getPossibleLabel): parlist simplification
4588
4589         * BufferView.C (ChangeInsets): simplify slightly.
4590
4591 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4592
4593         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4594         * lfuns.h: new LFUN_SPACE
4595         * lyxfunc.C: protected space has a new lfun
4596         * paragraph_funcs.C: read new space insets
4597         * text3.C:
4598         * factory.C: handle new space insets
4599
4600 2003-05-22  André Pönitz  <poenitz@gmx.net>
4601
4602         * BufferView.C:
4603         * BufferView_pimpl.C:
4604         * buffer.[Ch]:
4605         * lyxfunc.C:
4606         * undo_funcs.C: return a ParIterator from getParFromID.
4607
4608         * iterators.[Ch]: add two const's
4609
4610 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * toc.C (getTocList): adjust
4613
4614         * iterators.[Ch]: rework for parlist
4615
4616         * buffer.C (par_iterator_begin): adjust
4617         (par_iterator_end): adjust
4618
4619         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4620
4621         * BufferView.C (removeAutoInsets): adjust
4622         (ChangeInsets): adjust
4623
4624 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4625
4626         * text.C (top_y): fix bug 1110
4627
4628 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * errorlist.[Ch]: added
4631         * buffer.C:
4632         * BufferView.[Ch]:
4633         * BufferView_pimpl.C:
4634         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4635         instead
4636
4637 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * Makefile.am: ensure that lyx is relinked upon changes to the
4640         various "convenience" libs.
4641
4642 2003-05-20  Angus Leeming  <leeming@lyx.org>
4643
4644         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4645         files are compiled in alphabetical order again.
4646
4647         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4648
4649 2003-05-19  Angus Leeming  <leeming@lyx.org>
4650
4651         * gettext.[Ch]: remove "char const * _(char const *)".
4652
4653 2003-05-19  André Pönitz  <poenitz@gmx.net>
4654
4655         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4656
4657         * Makefile.am:
4658         * BufferView.C:
4659         * DepTable.h:
4660         * LaTeXFeatures.C:
4661         * buffer.C:
4662         * lyxfont.C:
4663         * lyxlex.h:
4664         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4665
4666 2003-05-19  André Pönitz  <poenitz@gmx.net>
4667
4668         * buffer.C:
4669         * lyxlayout.[Ch]:
4670         * lyxtextclass.[Ch]:
4671         * paragraph.C:
4672         * paragraph_funcs.[Ch]:
4673         * text2.C:
4674         * text3.C: more insetenv work
4675
4676 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4677
4678         * ParagraphParameters.C (params2string): small bug fixed
4679
4680 2003-05-16  André Pönitz  <poenitz@gmx.net>
4681
4682         * debug.C:
4683         * bufferview_funcs.C: patch from Kornel Benko to prevent
4684           crash when _(...) is called twice in a statement
4685
4686 2003-05-16  André Pönitz  <poenitz@gmx.net>
4687
4688         * BufferView.C:
4689         * lyxfunc.C:
4690         * text.C:
4691         * text2.C:
4692         * text3.C:
4693         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4694
4695 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4696
4697         * lyx_main.C (init): remove spurious static_cast
4698
4699 2003-05-14  André Pönitz  <poenitz@gmx.net>
4700
4701         * BufferView.C: fix format string
4702
4703 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4704
4705         * BufferView.[Ch] (insertErrors): removed
4706         * BufferView.[Ch] (showErrorList): added
4707         * buffer.C (runChkTeX):
4708         * converter.C (scanLog): call showErrorList instead of inserterrors
4709
4710 2003-05-13  André Pönitz  <poenitz@gmx.net>
4711
4712         * BufferView_pimpl.C:
4713         * buffer.C:
4714         * bufferview_func.C:
4715         * MenuBackend.C:
4716         * lyxfunc.C:
4717         * lyxrc.C:
4718         * tex-accent.C:
4719         * text3.C:
4720         * toc.C:
4721         * tabular_funcs.h: tostr() from its own header
4722
4723         * ParagraphParameters.C:
4724         * ToolbarBackend.C:
4725         * bufferparams.C:
4726         * format.C:
4727         * lyxlex_pimpl.C:
4728         * text3.C: STRCONV()
4729
4730 2003-05-12  André Pönitz  <poenitz@gmx.net>
4731
4732         * BufferView.C:
4733         * BufferView_pimpl.C:
4734         * CutAndPaste.C:
4735         * LaTeX.C:
4736         * LaTeXFeatures.C:
4737         * ParagraphParameters.C:
4738         * buffer.C:
4739         * bufferlist.C:
4740         * bufferparams.C:
4741         * bufferview_funcs.C:
4742         * converter.C:
4743         * counters.C:
4744         * debug.C:
4745         * exporter.C:
4746         * format.C:
4747         * importer.C:
4748         * lyx_cb.C:
4749         * lyx_main.C:
4750         * lyxfont.C:
4751         * lyxfunc.C:
4752         * lyxvc.C:
4753         * paragraph.C:
4754         * paragraph_funcs.C:
4755         * tabular.C:
4756         * tabular_funcs.C:
4757         * text2.C:
4758         * text3.C:  boost::format -> bformat  all over the place
4759
4760
4761 2003-05-09  André Pönitz  <poenitz@gmx.net>
4762
4763         * LColor.[Ch]: Pimpl the #include <map> away
4764
4765 2003-05-09  John Levon  <levon@movementarian.org>
4766
4767         * bufferlist.C: never remove emergency saves
4768
4769 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * Makefile.am: better lib building
4772
4773 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4776         instead.
4777         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4778         (simpleTeXSpecialChars): adjust
4779         (simpleTeXSpecialChars): adjust
4780         * paragraph.C (simpleTeXOnePar): adjust
4781         * buffer.C (makeLaTeXFile): adjust
4782
4783         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4784
4785         * text2.C (changeDepth): parlist cleanup
4786         (getColumnNearX): ditto
4787
4788         * rowpainter.C (getLabelFont): parlist cleanup
4789
4790         * bufferlist.C (newFile): parlist cleanup
4791
4792         * CutAndPaste.C (eraseSelection): parlist cleanup
4793
4794         * BufferView_pimpl.C (trackChanges): parlist cleanup
4795         (dispatch): ditto
4796
4797         * BufferView.C (lockInset): parlist cleanup.
4798         (ChangeInsets): ditto
4799
4800 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4801
4802         * CutAndPaste.h: Update file header.
4803
4804         * CutAndPaste.C: Update file header.
4805         Store the parts cut out of the Document in a limited_stack.
4806         (copySelection): adjust
4807         (pasteSelection): new function, takes the index in the limited stack.
4808         (nrOfParagraphs): adjust
4809         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4810         simplify error inset insertion.
4811         (checkPastePossible): adjust
4812
4813 2003-05-06  John Levon  <levon@movementarian.org>
4814
4815         * text2.C: don't cast wrap inset to float
4816
4817 2003-05-05  André Pönitz  <poenitz@gmx.net>
4818
4819         * iterator.C:
4820         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4821
4822         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4823           few naked Paragraph *.
4824
4825 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4826
4827         * bufferparams.C: Output warning if a document with missing
4828         TeX document class is loaded
4829         * exporter.C: Disable TeX exports if the document class is missing
4830         * lyxtextclass.C:
4831         * lyxtextclass.h:
4832         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4833         isTeXClassAvailable()
4834
4835 2003-05-03  John Levon  <levon@movementarian.org>
4836
4837         * BufferView.h:
4838         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4839         explicit cursor show/hide
4840
4841         * BufferView_pimpl.h:
4842         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4843         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4844
4845         * lyxfunc.C: hide cursor before dispatching.
4846
4847         * lyx_cb.C:
4848         * lyxfind.C:
4849         * text.C:
4850         * text3.C: remove explicit cursor hides
4851
4852 2003-05-02  André Pönitz  <poenitz@gmx.net>
4853
4854         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4855
4856         * undo_funcs.C:
4857         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4858           linked lists
4859
4860         * text2.C: tiny whitespace
4861
4862 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * undo_funcs.C: almost only ws changes.
4865
4866         * ParagraphList.C (splice): just return if pl is empty.
4867
4868 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4869
4870         * ParagraphList.C (splice): new function.
4871
4872         * CutAndPaste.C (pasteSelection): use it
4873
4874 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * CutAndPaste.C (pasteSelection): remove the last next and
4877         previous from this file.
4878
4879 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * CutAndPaste.C (pasteSelection): more clean up, user proper
4882         ParagraphList functions for pasteing.
4883
4884         * ParagraphList.C (insert): new function, three arg insert
4885
4886 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * ParagraphList.C (insert): new function, three arg insert
4889
4890         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4891         not on paragraphs.
4892
4893 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4896
4897 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4900
4901 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4902
4903         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4904         (copySelection): clean up a bit.
4905         (pasteSelection): use make_pair
4906
4907         * ParagraphList.C (ParagraphList): implement copy constructor
4908         (operator=): implement, base on copy constructor.
4909         (assign): new func
4910
4911         * paragraph.C (erase): return a bool
4912
4913         * paragraph_pimpl.C (erasePos): remove function, move contents...
4914         (erase): ... here. Return a bool.
4915         (erase): call erase instead of erasePos.
4916
4917 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4918
4919         * ParagraphList.h: define PitPosPair
4920         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4921         ParagraphList, fix a bug on pasting multiple pars
4922         * text2.C: change interface to C&P
4923
4924 2003-04-30  André Pönitz  <poenitz@gmx.net>
4925
4926         * undo_func.C: revert part of yesterday's patch 2
4927
4928 2003-04-30  John Levon  <levon@movementarian.org>
4929
4930         * LColor.C: s/tabular/table/
4931
4932 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * text3.C (dispatch): do not convert iterator -> pointer
4935         * undo_funcs.C (setCursorParUndo): ditto
4936         * text_funcs.C (transposeChars): ditto
4937
4938         * text2.C (setLayout): ws changes only
4939
4940         * text.C (breakParagraph): do not convert iterator -> pointer
4941         (insertChar): ditto
4942         (acceptChange): ditto
4943         (rejectChange): ditto
4944         (changeCase): ditto
4945         (Delete): ditto
4946         (backspace): ditto
4947
4948         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4949         pointer
4950
4951 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * text3.C (gotoInset): YABG (yet another bad getChar)
4954
4955 2003-04-29  André Pönitz  <poenitz@gmx.net>
4956
4957         * paragraph.h: make operator= private unimplemented as long as
4958           it is unusable
4959
4960         * ParagraphList.C: whitespace
4961
4962         * paragraph.[Ch]:
4963         * paragraph_pimpl.[Ch]:
4964         * paragraph_funcs.C:
4965         * CutAndPaste.C:
4966         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4967
4968         * text2.C:
4969           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4970
4971 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4972
4973         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4974         * paragraph.[Ch] (erase):
4975         * paragraph_pimpl.[Ch] (erase): change return type and value
4976         * text2.C (cutSelection): some rework
4977
4978 2003-04-28  John Levon  <levon@movementarian.org>
4979
4980         * bufferlist.C: changes for unsaved changes dialog
4981
4982 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4983
4984         * bufferlist.C (newFile): set language (messages_) for new
4985         documents also.
4986
4987         * buffer.C (readFile): ws changes only.
4988
4989 2003-04-28  André Pönitz  <poenitz@gmx.net>
4990
4991         * undo_funcs.C:
4992         * lyxfunc.C:
4993         * buffer.[Ch]:
4994         * BufferView_pimpl.C:
4995         * BufferView.C: getParFromID related ParagraphList::iterator changes
4996
4997 2003-04-28  André Pönitz  <poenitz@gmx.net>
4998
4999         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5000           Changes
5001
5002 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * messages.C: remove one more localedir class variable.
5005
5006 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * messages.C (getLocaleDir): singleton generation function
5009         (Pimpl): use it.
5010         (Messages): add a default constructor.
5011
5012         * main.C (main): do not setup localedir here, do not call
5013         gettext_init.
5014
5015         * gettext.C (_): use it.
5016         (gettext_init): delete funciton
5017
5018 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5019
5020         * gettext.C (getLyXMessages): new singleton generating function.
5021
5022         * buffer.C (updateDocLang): adjust
5023
5024         * Makefile.am (messages.o): add target
5025         (main.o): remove target
5026
5027 2003-04-27  John Levon  <levon@movementarian.org>
5028
5029         * bufferlist.C:
5030         * lyx_cb.C:
5031         * lyxfunc.C:
5032         * lyxvc.C: specify cancel button in Alert::prompt
5033
5034 2003-04-26  John Levon  <levon@movementarian.org>
5035
5036         * text3.C:
5037         * lyxfunc.C:
5038         * lfuns.h:
5039         * LyXAction.C: add LFUN_INSET_SETTINGS
5040
5041         * lyxfunc.C: don't enable tabular-feature when there's
5042         just any locking inset
5043
5044 2003-04-26  John Levon  <levon@movementarian.org>
5045
5046         * bufferlist.C: re-add Cancel to buffer close question
5047
5048         * lyxfunc.C: fix import UI a bit
5049
5050 2003-04-25  John Levon  <levon@movementarian.org>
5051
5052         * gettext.C: remove the broken asserts for now
5053
5054 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * messages.C: make case where setlocale cannot comply work better.
5057
5058         * buffer.C (updateDocLang): new function
5059         (changeLanguage): use it
5060         (readFile): use it
5061
5062         * text2.C (setCounter): use B_ a bit.
5063
5064         * lyxlayout.C (Read): be sure to trim the label strings.
5065
5066         * messages.C (Messages): fix typo in comment
5067
5068         * buffer.C (readFile): set message_ after file is loaded.
5069         (makeDocBookFile): remove double return
5070         (changeLanguage): reset message_ upon language change.
5071         (B_): new func, use this to get translated buffer strings.
5072
5073         * main.C: add myself and Jean Marc as authors.
5074
5075 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * messages.[hC]: pimplify Messages, and three different pimpls to be
5078         used in different circumstances.
5079
5080         * gettext.[Ch]: change for use with new message code.
5081
5082 2003-04-24 André Pönitz <poenitz@gmx.net>
5083
5084         * factory.C: support for eqref
5085
5086 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * messages.[Ch]: add missing char
5089
5090         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5091
5092         * messages.[Ch]: New files
5093
5094 2003-04-18  John Levon  <levon@movementarian.org>
5095
5096         * BufferView.h:
5097         * BufferView.C:
5098         * BufferView_pimpl.C:
5099         * lfuns.h:
5100         * LyXAction.C:
5101         * lyxtext.h:
5102         * text2.C: remove layout-copy/paste (bug 778)
5103
5104 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5105
5106         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5107
5108 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5111         if they succeed. Act accordingly.
5112
5113 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * text2.C (setCharFont): adjust
5116         (setCounter): adjust
5117         (insertStringAsLines): adjust
5118
5119         * text.C (leftMargin): adjust
5120         (setHeightOfRow): adjust
5121
5122         * rowpainter.C (paintFirst): adjust
5123         (paintLast): adjust
5124
5125         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5126         (outerHook): ditto
5127         (isFirstInSequence): ditto
5128         (getEndLabel): ditto
5129         (outerFont): adjust
5130
5131         * paragraph.C (getParLanguage): comment out some hard stuff.
5132
5133         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5134         (sgmlError): ditto
5135         (simpleDocBookOnePar): ditto
5136         (makeDocBookFile): use ParagraphList::iterator
5137
5138         * CutAndPaste.C (pasteSelection): adjust
5139
5140 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5141
5142         * text2.C (getFont): adjust
5143         (getLayoutFont): adjust
5144         (getLabelFont): adjust
5145
5146         * paragraph_funcs.C (TeXOnePar): adjust
5147
5148         * buffer.C (simpleLinuxDocOnePar): adjust
5149         (simpleDocBookOnePar): adjust
5150
5151         * CutAndPaste.C (pasteSelection): adjust
5152
5153         * BufferView.C (getEncoding): adjust
5154
5155         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5156
5157 2003-04-16  John Levon  <levon@movementarian.org>
5158
5159         * lyxfind.C: use parlist stuff for search/changes
5160
5161 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5162
5163         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5164
5165         * text2.C (deleteEmptyParagraphMechanism): adjust
5166
5167         * text2.[Ch] (ownerParagraph): delete func (both of them
5168
5169 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5172
5173 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * ParagraphList.C: prepare for NO_NEXT
5176
5177 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * text2.C (getFont): adjust
5180         (getLayoutFont): adjust
5181         (getLabelFont): adjust
5182
5183         * paragraph.C (getFont): adjust
5184         (getLabelFont): adjust
5185         (getLayoutFont): adjust
5186
5187         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5188
5189 2003-04-15  John Levon  <levon@movementarian.org>
5190
5191         From Angus Leeming
5192
5193         * lyx_main.C: handle Include in .ui files
5194
5195 2003-04-15  John Levon  <levon@movementarian.org>
5196
5197         * MenuBackend.C: make the doc files length shorter
5198
5199         * ToolbarBackend.h:
5200         * ToolbarBackend.C: handle toolbar placement flags,
5201         Minibuffer
5202
5203 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5206         adjust
5207
5208         * paragraph_funcs.C (TeXOnePar): adjust
5209
5210         * paragraph.C (getLabelFont): add outerfont arg, adjust
5211         (getLayoutFont): ditto
5212         (simpleTeXOnePar): adjust
5213
5214         * paragraph_pimpl.C (realizeFont): delete func
5215
5216 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5217
5218         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5219         row argument, constify cur argument.
5220
5221 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * text2.C (getFont): adjust
5224         (getLayoutFont): adjust
5225         (getLabelFont): adjust
5226
5227         * paragraph_funcs.C (TeXOnePar): adjust
5228         (outerFont): new func...
5229         (realizeFont): ...moved out from here, changed this to facilitate
5230         transition
5231
5232         * paragraph.C (getFont): take outerfont as arg, adjust
5233         (simpleTeXOnePar): add outerfont arg, adjust
5234
5235         * buffer.C (simpleLinuxDocOnePar): adjust
5236         (simpleDocBookOnePar): adjust
5237
5238         * CutAndPaste.C (pasteSelection): adjust
5239
5240         * BufferView.C (getEncoding): adjust
5241
5242 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * text2.C (setCharFont): adjust
5245         (setCounter): adjust
5246
5247         * text.C (leftMargin): adjust
5248         (setHeightOfRow): adjust
5249
5250         * rowpainter.C (paintFirst): adjust
5251         (paintLast): adjust
5252
5253         * paragraph_pimpl.C (realizeFont): adjust
5254
5255         * paragraph.C (isFirstInSequence): move from here...
5256         * paragraph_funcs.C (isFirstInSequence): ...to here
5257
5258         * paragraph.C (outerHook): move from here...
5259         * paragraph_funcs.C (outerHook): ...to here
5260
5261         * paragraph.C (depthHook): move from here...
5262         * paragraph_funcs.C (depthHook): ...to here
5263
5264         * paragraph.C (getEndLabel): move from here...
5265         * paragraph_funcs.C (getEndLabel): ...to here
5266
5267         * text2.C (realizeFont): move from here...
5268         * paragraph_funcs.C (realizeFont): ...to here
5269
5270 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5273
5274 2003-04-14  Angus Leeming  <leeming@lyx.org>
5275
5276         * LColor.[Ch]: scrap LColor mathcursor.
5277
5278 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5279
5280         * lyxlex.[Ch] (text): delete function
5281         * trans.C (Load): adjust
5282         * paragraph_funcs.C (readParToken): adjust
5283
5284 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5285
5286         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5287         vector<char> instead of a char[].
5288
5289         * lyxlex_pimpl.C (getString): adjust
5290         (next): adjust
5291         (lex): use getString
5292         (eatLine): adjust
5293         (nextToken): adjust
5294
5295         * lyxlex.C (text): use pimpl_->getString()
5296         (getBool): ditto
5297         (findToken): ditto
5298
5299 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5302         (makeFontEntriesLayoutSpecific): temp var for par.size()
5303         (setLayout): temp var for ownerParagraphs().end()
5304         (fullRebreak): temp var for rows().end()
5305         (selectionAsString): temp var for boost::next(startpit), realize
5306         that the while really is a regular for loop.
5307         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5308         setCursor in one place.
5309         (setParagraph): temp vr for ownerParagraphs().end()
5310         (updateCounters): make the while loop a for loop
5311         (cutSelection): temp var for ownerParagraphs().end()
5312         (updateInset): make the do {} while() a regular for loop
5313         (getCursorX): use temp vars
5314         (setCurrentFont): use temp vars
5315         (getColumnNearX): use temp vars
5316
5317 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * text.C (transformChar): use temp var for getChar
5320         (computeBidiTables): use temp var for row->par()
5321         (fill): move temp vars for row->par() and pit->layout() earlier in
5322         the function.
5323         (labelFill): use temp var for row->par()
5324         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5325         asc and desc, realize that pit never changes and that firstpit is
5326         just a duplicate and not needed. Exchange rit->par() with pit in a
5327         lot of places.
5328         (breakAgain): use a temp var for boost::next(rit)
5329         (breakAgainOneRow): ditto
5330         (breakParagraph): use a temp var for rows().begin()
5331         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5332         (cursorRightOneWord): use temp var for cursor.par() and
5333         cursor.pos(), remove usage of tmpcursor.
5334         (cursorLeftOneWord): use temp var for cursor.par() and
5335         cursor.pos() only set cur at end of function.
5336
5337 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5338
5339         * text.C, text2.C: exchange all usage of Paragraph::next with
5340         boost::next(ParagraphList::iterator)
5341
5342         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5343
5344         * text2.C (cursorTop): simplify implementation
5345         (cursorBottom): ditto
5346         (setParagraph): use ParagraphList::iterator
5347         (setCurrentFont): adjust
5348         (getColumnNearX): adjust
5349         (cursorRight): adjust
5350         (cursorLeft): remove usage of Paragraph::previous
5351         (cursorUpParagraph): ditto
5352         (deleteEmptyParagraphMechanism): slight cleanup
5353
5354         * text.C (isBoundary): take a Paragraph const & instead of a
5355         pointer as arg.
5356         (addressBreakPoint): ditto
5357         (leftMargin): remove usage of Paragraph::previous.
5358         (setHeightOfRow): ditto
5359         (cursorLeftOneWord): ditto
5360         (selectNextWordToSpellcheck): ditto
5361         (Delete): ditto
5362         (backspace): ditto
5363         (breakParagraph): remove one usage of Paragraph::next
5364         (redoParagraph): ditto
5365         (acceptChange): ditto
5366         (insertChar): adjust
5367         (rowBreakPoint): adjust
5368
5369         * bufferview_funcs.C (toggleAndShow): adjust
5370
5371 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5372
5373         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5374         methods to access it.
5375         * lyxtext.h:
5376         * text.C: Added updateRowPositions to compute all row positions.
5377         Make top_y and getRowNearY() to use the cached y position
5378
5379 2003-04-11  John Levon  <levon@movementarian.org>
5380
5381         * text.C (rowBreakPoint): reintroduce the labelEnd
5382         checks, code copied from the row fill stuff. Deep voodoo.
5383
5384         * text.C (fill): add a comment and debugging for the
5385         next poor soul.
5386
5387 2003-04-11  John Levon  <levon@movementarian.org>
5388
5389         * text.C: make sure fullrow insets get wrapped to the next line,
5390         even when they're in a manual label
5391
5392 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5393
5394         * text2.C (insertParagraph): make it take ParagraphList::iterator
5395         as arg.
5396         (setLayout): make it return ParagraphList::iterator
5397         (redoParagraphs): ditto
5398         (setCounter): ditto
5399         (checkParagraph): ditto
5400
5401         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5402
5403         * text2.C: adjust several funcs.
5404         (realizeFont): take a ParagraphList::iterator as arg.
5405         (getLayoutFont): ditto
5406         (getLabelFont): ditto
5407         (setCharFont): ditto
5408
5409         * text.C: adjust several funcs.
5410
5411 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5412
5413         * text.C (selectNextWordToSpellcheck): don't accidentally
5414         skip insets
5415
5416 2003-04-10  John Levon  <levon@movementarian.org>
5417
5418         * ToolbarBackend.C (getIcon): special handling for
5419         LFUN_MATH_DELIM
5420
5421 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5422
5423         * text2.C (cursorRight): a getChar assert fixed
5424
5425 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * text2.C (getFont): change to take a ParagraphList::iterator
5428         instead of Paragraph*
5429         Adjust several functions.
5430
5431         * text.C (transformChar): change to take a ParagraphList::iterator
5432         instead of Paragraph*
5433         (singleWidth): ditto
5434         Adjust several functions.
5435
5436         * rowpainter.C: adjust several functions
5437         * rowpainter.h:store a ParagraphList::iterator and not a
5438         Paragraph&.
5439
5440
5441 2003-04-09  John Levon  <levon@movementarian.org>
5442
5443         * lyxfunc.C:
5444         * lfuns.h:
5445         * LyXAction.h:
5446         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5447         and the "help" bits as well
5448
5449 2003-04-09  John Levon  <levon@movementarian.org>
5450
5451         * ToolbarBackend.h:
5452         * ToolbarBackend.C: allow multiple toolbars
5453
5454 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * undo_funcs.C (setCursorParUndo): adjust
5457
5458         * text_funcs.C (transposeChars): adjust
5459
5460         * text3.C (gotoNextInset): adjust
5461         (dispatch): adjust
5462
5463         * text2.C (setLayout): adjust
5464         (changeDepth): adjust
5465         (setFont): adjust
5466         (redoParagraphs): adjust
5467         (selectionAsString): adjust
5468         (setParagraph): adjust
5469         (insertInset): adjust
5470         (cutSelection): adjust
5471         (copySelection): adjust
5472         (pasteSelection): adjust
5473         (insertStringAsLines): adjust
5474         (updateInset): adjust
5475         (setCursor): change to take a ParagraphList::iterator parameter
5476         (setCursorIntern): change to take a ParagraphList::iterator parameter
5477         (setCurrentFont): adjust
5478         (cursorLeft): adjust
5479         (cursorRight): adjust
5480         (deleteEmptyParagraphMechanism): adjust
5481
5482         * text.C (breakParagraph): adjust
5483         (insertChar): adjust
5484         (acceptChange): adjust
5485         (rejectChange): adjust
5486         (selectNextWordToSpellcheck): adjust
5487         (changeCase): adjust
5488         (Delete): adjust
5489         (backspace): adjust
5490
5491         * lyxfind.C (SearchForward): adjust
5492         (SearchBackward): adjust
5493         (nextChange): adjust
5494
5495         * lyxcursor.C (par): adjust
5496
5497         * lyxcursor.h: store a ParagraphList::iterator instead of a
5498         Paragraph*
5499
5500         * lyx_cb.C (getPossibleLabel): adjust
5501
5502         * bufferview_funcs.C (toggleAndShow): adjust
5503
5504         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5505         (dispatch): adjust
5506
5507         * BufferView.C (removeAutoInsets): adjust
5508         (lockedInsetStoreUndo): adjust
5509
5510 2003-04-09  John Levon  <levon@movementarian.org>
5511
5512         * ToolbarBackend.C: try icon without argument
5513         if with argument fails
5514
5515 2003-04-08  John Levon  <levon@movementarian.org>
5516
5517         * ToolbarBackend.h:
5518         * ToolbarBackend.C: add getIcon(), handle tooltip,
5519         and change from "Icon" to "Item".
5520
5521 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5522
5523         * BufferView.C (lockInset): another bad getchar crunched
5524
5525 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5526
5527         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5528         again)
5529
5530 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5531
5532         * lyxfind.C (searchForward, searchBackwards): bug 782
5533
5534 2003-04-07  John Levon  <levon@movementarian.org>
5535
5536         * paragraph.C: remove dead comment
5537
5538         * text.C: remove troublesome depth-fiddling code
5539         in leftMargin() and rightMargin() (bug 1017)
5540
5541         * text.C: fix breaking of rows in nested lists
5542         (bug 1004)
5543
5544         * text2.C (updateCounters): fix up depth values
5545         (bug 1013)
5546
5547 2003-04-07  John Levon  <levon@movementarian.org>
5548
5549         * BufferView_pimpl.C: clear message when doc finishes resizing,
5550         and after a mouse event
5551
5552         * lyxfunc.C: clear message after exiting inset
5553
5554 2003-04-07  John Levon  <levon@movementarian.org>
5555
5556         * bufferview_funcs.C: show math status not outside
5557         status in the statusbar
5558
5559 2003-04-07  John Levon  <levon@movementarian.org>
5560
5561         * lyxfunc.C: note status changed after a depth change
5562
5563 2003-04-04  Angus Leeming  <leeming@lyx.org>
5564
5565         * LaTeX.h: move AuxInfo operator==, != out of line.
5566         Remove LaTeX virtual destructor; nothing derives from it.
5567         Move operator()() out of public area and rename it startscript().
5568         Change protected for private.
5569
5570 2003-04-04  Angus Leeming  <leeming@lyx.org>
5571
5572         * lyxfunc.C:
5573         * text2.C: remove unneeded #includes.
5574
5575 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5576
5577         * text2.C (dEPM): fix the heigth of the next row
5578
5579 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5580
5581         * text.C: squashed an invalid getChar requester + some ws changes
5582
5583 2003-04-03  John Levon  <levon@movementarian.org>
5584
5585         * bufferview_funcs.h:
5586         * bufferview_funcs.C:
5587         * lyxfunc.C:
5588         * lyxtext.h:
5589         * text2.C: make getStatus work for the env depth lfuns
5590
5591 2003-04-03  John Levon  <levon@movementarian.org>
5592
5593         * bufferview_funcs.h:
5594         * bufferview_funcs.C:
5595         * lyxfunc.C:
5596         * lyxtext.h:
5597         * text2.C: parlistize decDepth(), by merging it with incDepth()
5598
5599 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * lyxrow.h: store a ParagraphList::iterator instead of a
5602         Paragraph* and adjust other class functions to suit.
5603
5604         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5605         above.
5606
5607 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5608
5609         * text2.C (setCursor): do not anchor to cursor row for the time being
5610
5611 2003-04-02  John Levon  <levon@movementarian.org>
5612
5613         * LyXAction.C:
5614         * lfuns.h:
5615         * lyx_main.C:
5616         * lyxtext.h:
5617         * text.C:
5618         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5619
5620 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * paragraph.h: make ParagraphList and ParagraphList::iterator
5623         friends of Paragraph.
5624
5625         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5626
5627         * ParagraphList.C: Use the private next_ and previous_ from
5628         Paragraph.
5629
5630 2003-04-01  John Levon  <levon@movementarian.org>
5631
5632         * ToolbarBackend.h:
5633         * ToolbarBackend.C:
5634         * Makefile.am: rename, remove defaults gunk
5635
5636         * MenuBackend.h:
5637         * MenuBackend.C: remove defaults gunk
5638
5639         * Languages.h:
5640         * Languages.C: remove defaults gunk
5641
5642         * lyx_main.h:
5643         * lyx_main.C: error out if files couldn't be found.
5644
5645 2003-04-02  John Levon  <levon@movementarian.org>
5646
5647         * text2.C: make incDepth() use parlist
5648
5649 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5650
5651         * undo_funcs.C (firstUndoParagraph): adjust
5652
5653         * text3.C (gotoInset): adjust
5654         (dispatch): adjust, and rewrite loop.
5655
5656         * text2.C (init): adjust, and rewrite loop.
5657         (redoParagraphs): adjust
5658         (updateInset): adjust, and rewrite loop.
5659         (deleteEmptyParagraphMechanism): adjust
5660
5661         * tabular.C (LyXTabular): adjust
5662         (SetMultiColumn): adjust
5663         (TeXRow): adjust
5664
5665         * lyxtext.[Ch] (ownerParagraph): delete function
5666         (ownerParagraphs): new function returns a ParagraphList.
5667
5668         * BufferView.C (removeAutoInsets): adjust
5669         (insertErrors): adjust
5670         (setCursorFromRow): adjust
5671
5672 2003-04-01  Angus Leeming  <leeming@lyx.org>
5673
5674         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5675         in the frontends.
5676
5677 2003-04-02  John Levon  <levon@movementarian.org>
5678
5679         * lyxtext.h:
5680         * text.C:
5681         * Makefile.am:
5682         * text_funcs.h:
5683         * text_funcs.C: make transposeChars a free function
5684
5685         * lyxrow_funcs.C: remove wrong comment
5686
5687 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * lyxtext.h: adjust
5690         * rowpainter.C: adjust
5691         * text.C: adjust
5692         * text2.C: adjust
5693         * text3.C: adjust
5694
5695         * lyxrow_funcs. [Ch]: new files
5696
5697         * lyxrow.[Ch]: remove next and previous pointers
5698         (next,previous): remove accessor functions
5699         (isParEnd): move to lyxrow_funcs
5700         (lastPos): move to lyxrow_funcs
5701         (nextRowIsAllInset): move to lyxrow_funcs
5702         (lastPrintablePos): move to lyxrow_funcs
5703         (numberOfSeparators): move to lyxrow_funcs
5704         (numberOfHfills): move to lyxrow_funcs
5705         (numberOfLabelHfills): move to lyxrow_funcs
5706         (hfillExpansion): move to lyxrow_funcs
5707
5708         * lyxfunc.C: adjust
5709
5710         * bufferview_funcs.C (toggleAndShow): adjust
5711
5712         * RowList.h: Remove class RowList from file leave just a
5713         std::list<Row>.
5714
5715         * RowList.C: delete file
5716
5717         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5718         and lyxrow_funcs.h
5719
5720 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * text3.C (cursorPrevious): adjust
5723         (cursorNext): adjust
5724         (dispatch): adjust
5725
5726         * text2.C (redoHeightOfParagraph): adjust
5727         (redoDrawingOfParagraph): adjust
5728         (setCursor): adjust
5729
5730         * text.C (breakParagraph): adjust
5731         (insertChar): adjust
5732         (backspace): adjust
5733
5734         * rowpainter.C (RowPainter): adjust
5735         (leftMargin): simplify and adjust
5736         (most rowpainter functions): adjust.
5737
5738         * rowpainter.h: store the row as RowList::iterator not as Row*
5739
5740         * lyxcursor.C (row): taka RowList::iterator as arg
5741         (irow): ditto
5742
5743         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5744         of Row*.
5745
5746 2003-04-01  Angus Leeming  <leeming@lyx.org>
5747
5748         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5749         stuff like bool Bool.
5750
5751 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5752
5753         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5754         rewrite a loop
5755
5756 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5759         RowList::iterator.
5760
5761         * lyxtext.h (rows): drop one version and leve a const variant that
5762         returns a RowList::iterator.
5763
5764 2003-03-31  Angus Leeming  <leeming@lyx.org>
5765
5766         * text.C (fill): ensure that the signature is the same as that in the
5767         header file.
5768
5769 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5770
5771         * text2.C (redoParagraphs): adjust
5772         (updateCounters): adjust
5773         (checkParagraph): adjust
5774         (getColumnNearX): adjust and reformat a bit.
5775
5776         * text.C (top_y): adjust
5777         (workWidth): adjust
5778         (leftMargin): adjust
5779         (prepareToPrint): adjust
5780         (getRow): adjust
5781         (getRowNearY): adjust
5782
5783         * lyxtext.h: make rowlist_ mutable.
5784
5785         * RowList.h: add const_iterator
5786         * RowList.C: adjust for RowList::const_iterator.
5787
5788         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5789         adjust.
5790
5791 2003-03-31  John Levon  <levon@movementarian.org>
5792
5793         * lyxrc.h:
5794         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5795
5796         * lyx_main.C: set default fonts from using lyx_gui funcs
5797
5798         * exporter.C: pdf_mode moved from lyxrc
5799
5800         * lyx_cb.C:
5801         * lyxfunc.C: changes from above
5802
5803 2003-03-31  John Levon  <levon@movementarian.org>
5804
5805         * lyx_main.C: fix to the last fix
5806
5807 2003-03-31  John Levon  <levon@movementarian.org>
5808
5809         * bufferlist.C: "Load original" -> "Load Original"
5810
5811         * converter.C:
5812         * exporter.C:
5813         * importer.C:
5814         * lyx_main.C:
5815         * format.C: more Alert cleanups
5816
5817 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5818
5819         * text2.C (removeParagraph): make it take a RowList::iterator as
5820         arg, adjust.
5821         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5822         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5823
5824         * text.C (anchor_row): make it take a RowList::iterator as arg,
5825         adjust.
5826         (computeBidiTables): make it take a const reference to Row instead
5827         of Row pointer, adjust.
5828         (leftMargin): make it take a RowList::iterator as arg, adjust.
5829         (rowBreakPoint): adjust
5830         (breakAgainOneRow): make it take a RowList::iterator as arg,
5831         adjust.
5832         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5833
5834         * bufferview_funcs.C (toggleAndShow): adjust
5835
5836 2003-03-30  John Levon  <levon@movementarian.org>
5837
5838         * Makefile.am:
5839         * BoostFormat.h:
5840         * boost-inst.C: moved to support
5841
5842         * several files: changes as a result
5843
5844 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * text2.C (LyXText): adjust.
5847         (init): adjust
5848         (removeRow): make it take a RowList::iterator as arg, adjust.
5849         (fullRebreak): adjust
5850         (deleteEmptyParagraphMechanism): adjust
5851         (clearPaint): adjust
5852         (postPaint): adjust
5853
5854         * text.C (top_y): adjust
5855         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5856         (breakAgain): make it take a RowList::iterator as arg, adjust.
5857         (breakParagraph): adjust
5858         (insertChar): adjust
5859         (backspace): adjust
5860
5861         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5862         need_break_row, and refresh_row.
5863
5864         * text3.C (dispatch): adjust
5865
5866         * text2.C (checkParagraph): adjust
5867         (setCursor): adjust
5868         (setCursorFromCoordinates): adjust
5869
5870         * text.C (top_y): adjust
5871         (workWidth): adjust
5872         (getRow): make it return a RowList::iterator, adjust
5873         (getRowNearY): make it return a RowList::iterator, adjust
5874
5875         * text2.C (init): adjust
5876         (insertRow): remove function
5877         (insertParagraph): adjust
5878         (redoParagraphs): adjust
5879         (fullRebreak): adjust
5880         (updateCounters): adjust
5881
5882         * text.C (top_y): rewrite to use RowList iterators.
5883         (top_y): adjust
5884         (setHeightOfRow): rewrite to sue RowList iterators.
5885         (appendParagraph): adjust
5886         (breakAgain): adjust
5887         (breakAgainOneRow): adjust
5888         (breakParagraph): adjust
5889         (getRow): adjust
5890         (getRowNearY): adjust, and remove commented code.
5891
5892         * lyxtext.h (firstRow): delete function
5893         (lastRow): delete function
5894         (rows): new function (const and non-const versions.)
5895         (insertRow): delete function
5896
5897         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5898
5899 2003-03-29  John Levon  <levon@movementarian.org>
5900
5901         * BufferView_pimpl.C: always update scrollbar top
5902         because pasting text when we're anchored could mean we
5903         miss an update altogether
5904
5905 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5906
5907         * text2.C (init): use rowlist_.end() and not 0.
5908         (insertRow): change to take a RowList::iterator as arg, adjust
5909         for this.
5910         (insertParagraph): change to take a RowList::iterator as arg,
5911         adjust for this.
5912         (redoParagraphs): remove some debug msgs.
5913
5914         * text.C (appendParagraph): change to take a RowList::iterator
5915         arg, adjust for this.
5916         (breakAgain): add an assert
5917         (breakAgainOneRow): ditto
5918
5919 2003-03-29  John Levon  <levon@movementarian.org>
5920
5921         * text2.C: do not clear selection after inc/decDepth
5922         (bug 550)
5923
5924 2003-03-29  John Levon  <levon@movementarian.org>
5925
5926         * BufferView.C:
5927         * buffer.C: fix broken strerrors according to Lars
5928
5929 2003-03-29  John Levon  <levon@movementarian.org>
5930
5931         * converters.C: more Alert cleanups
5932
5933 2003-03-29  John Levon  <levon@movementarian.org>
5934
5935         * bufferview_funcs.C: remove pointless Alert
5936
5937         * buffer.C: fix confusing error message when
5938         a template is chmoded 000
5939
5940 2003-03-29  John Levon  <levon@movementarian.org>
5941
5942         * BufferView.C:
5943         * BufferView.h:
5944         * BufferView_pimpl.C: Alert fixes
5945
5946         * Makefile.am:
5947         * tabular.C:
5948         * tabular-old.C: remove unused table compat reading
5949
5950 2003-03-29  John Levon  <levon@movementarian.org>
5951
5952         * BufferView.C:
5953         * buffer.C:
5954         * lyx_cb.h:
5955         * lyx_cb.C: more Alert cleanups
5956
5957         * lyxfunc.C: don't allow chktex if not latex document
5958
5959 2003-03-29  John Levon  <levon@movementarian.org>
5960
5961         * lyx_cb.C:
5962         * BufferView.C:
5963         * buffer.C: warnings pushed down from support/,
5964         kill err_alert
5965
5966 2003-03-29  John Levon  <levon@movementarian.org>
5967
5968         * lyxfunc.C: safety check for C-r (revert)
5969
5970 2003-03-29  John Levon  <levon@movementarian.org>
5971
5972         * bufferlist.h:
5973         * bufferlist.C: several UI fixes using Alert::prompt.
5974         Fix the pointless looping quit code. Fix stupid revert
5975         behaviour (bug 938)
5976
5977         * lyxvc.h:
5978         * lyxvc.C:
5979         * lyx_cb.C: use Alert::prompt
5980
5981         * lyx_main.C: remove a silly question
5982
5983         * lyxfunc.C: remove a couple of silly questions,
5984         use Alert::prompt
5985
5986 2003-03-28  John Levon  <levon@movementarian.org>
5987
5988         * text2.C: fix bug 974 (End on empty par)
5989
5990 2003-03-28  John Levon  <levon@movementarian.org>
5991
5992         * BufferView_pimpl.C:
5993         * LyXAction.C:
5994         * lfuns.h: remove do-nothing math greek lfuns
5995
5996 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * lyxgluelength.h (isValidGlueLength): add default arg on
5999         parameter 2. Remove default arg from friend in class.
6000
6001         * lyxlength.h (isValidLength): add default arg on parameter 2.
6002         Remove default arg from friend in class.
6003
6004         * text2.C (LyXText): adjust, initialize refresh_row.
6005         (init): adjust
6006         (removeRow): adjust
6007         (insertRow): adjust
6008         (insertParagraph): adjst
6009         (redoParagraphs): adjust
6010         (fullRebreak): adjust
6011         (updateCounters): adjust
6012         (deleteEmptyParagraphMechanism): first attempt at fixing a
6013         crashing bug.
6014
6015         * text.C (top_y): adjust
6016         (setHeightOfRow): adjust
6017         (getRow): adjust
6018         (getRowNearY): adjust
6019
6020         * lyxtext.h: include RowList.h
6021         (~LyXText): not needed anymore, deleted.
6022         (firstRow): modify for RowList
6023         (lastRow): new function
6024         Delete firstrow and lastrow class variables, add a Rowlist
6025         rowlist_ class variable.
6026
6027         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6028         paragraph is empty.
6029
6030         * RowList.C (insert): fix case where it == begin().
6031
6032 2003-03-26  Angus Leeming  <leeming@lyx.org>
6033
6034         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6035         the thesaurus dialog.
6036
6037 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6040
6041         * RowList.[Ch]: new files
6042
6043         * ParagraphList.C (erase): handle the case where it == begin
6044         correctly.
6045
6046 2003-03-25  John Levon  <levon@movementarian.org>
6047
6048         * Makefile.am:
6049         * aspell_local.h:
6050         * aspell.C: add new aspell support
6051
6052         * lyxrc.h:
6053         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6054         have it accessible.
6055
6056 2003-03-25  Angus Leeming  <leeming@lyx.org>
6057
6058         * lfuns.h:
6059         * LyXAction.C (init): new LFUN_INSET_INSERT.
6060
6061         * BufferView_pimpl.C (dispatch): split out part of the
6062         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6063
6064         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6065         LFUN_INSET_APPLY.
6066
6067 2003-03-25  Angus Leeming  <leeming@lyx.org>
6068
6069         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6070
6071 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6072
6073         * text2.C:
6074         * text3.C: remove useless row->height(0)
6075
6076 2003-03-25  John Levon  <levon@movementarian.org>
6077
6078         * lyxtext.h:
6079         * text2.C:
6080         * text3.C: rename the refreshing stuff to better names
6081
6082 2003-03-24  John Levon  <levon@movementarian.org>
6083
6084         * BufferView_pimpl.h:
6085         * BufferView_pimpl.C: update layout choice on a mouse
6086         press/release
6087
6088 2003-03-23  John Levon  <levon@movementarian.org>
6089
6090         * Makefile.am: fix commandtags.h reference
6091
6092 2003-03-22  John Levon  <levon@movementarian.org>
6093
6094         * BufferView_pimpl.C:
6095         * lyxtext.h:
6096         * rowpainter.C:
6097         * rowpainter.h:
6098         * text.C:
6099         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6100
6101 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6102
6103         * lyxtext.h:
6104         * text.C: take the rtl methods out of line
6105
6106 2003-03-21 André Pönitz <poenitz@gmx.net>
6107
6108         * metricsinfo.[Ch]: new files containing structures to be passed around
6109         during the two-phase-drawing...
6110
6111 2003-03-21 André Pönitz <poenitz@gmx.net>
6112
6113         * lyxtextclass.C: read 'environment' tag.
6114
6115 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6116
6117         * text2.C (removeRow): fix bug 964
6118
6119 2003-03-20  John Levon  <levon@movementarian.org>
6120
6121         * rowpainter.C:
6122         * text.C:
6123         * text2.C: paint cleanups. Inset::update() dropped font
6124         parameter
6125
6126 2003-03-19  John Levon  <levon@movementarian.org>
6127
6128         * lyxfunc.C: only fitcursor/markDirty if available()
6129
6130 2003-03-19  John Levon  <levon@movementarian.org>
6131
6132         * commandtags.h: rename to ...
6133
6134         * lfuns.h: ... this, and renumber / cleanup
6135
6136 2003-03-19  John Levon  <levon@movementarian.org>
6137
6138         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6139         fit the cursor after an lfun
6140
6141         * BufferView.h:
6142         * BufferView.C:
6143         * BufferView_pimpl.h:
6144         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6145
6146         * LyXAction.C: layout-character should have ReadOnly
6147
6148         * ParagraphParameters.C:
6149         * buffer.C:
6150         * bufferview_funcs.C:
6151         * lyx_cb.C:
6152         * lyxfind.C:
6153         * lyxtext.h:
6154         * text.C:
6155         * text2.C:
6156         * text3.C:
6157         * undo_funcs.C: changes from above
6158
6159 2003-03-18  John Levon  <levon@movementarian.org>
6160
6161         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6162         remove it from update()
6163
6164         * lyxfunc.C: update layout choice after an lfun
6165
6166         * text3.C: remove extra updateLayoutChoice()s
6167
6168 2003-03-18  John Levon  <levon@movementarian.org>
6169
6170         * text.C: top_y change means full repaint, fix
6171         a drawing bug with cursor movement
6172
6173 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6174
6175         * lyxtext.h:
6176         * text.C:
6177         * text2.C: anchor row on setCursor
6178
6179 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6180
6181         * lyxtext.h: remove almost all mutable keywords
6182         * text.C:
6183         * text2.C:
6184         * text3.C: remove const keywords accordingly
6185
6186 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6187
6188         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6189         anon namespace
6190         (TeXEnvironment): ditto
6191         (TeXOnePar): ditto
6192
6193 2003-03-17  John Levon  <levon@movementarian.org>
6194
6195         * text.C (rowBreakPoint): remove attempt to fix displayed
6196         math insets inside a manual label
6197
6198 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * lyxtext.h: remove BufferView* as first arg from almost all class
6201         functions.
6202         * other files: adjust.
6203
6204 2003-03-17  John Levon  <levon@movementarian.org>
6205
6206         * lyxtext.h:
6207         * undo_funcs.C:
6208         * text2.C: more paint cleanups
6209
6210         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6211
6212         * rowpainter.h:
6213         * rowpainter.C: remove "smart" background painting code
6214
6215 2003-03-16  John Levon  <levon@movementarian.org>
6216
6217         * lyxtext.h:
6218         * text.C:
6219         * text2.C:
6220         * text3.C: add helper functions for setting refresh_row/y
6221
6222 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6223
6224         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6225         newline inset which *can* get inserted in the pass_thru layouts.
6226         This is primarily for literate documents.
6227
6228 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6229
6230         * buffer.C: increment LYX_FORMAT to 223
6231
6232 2003-03-14 André Pönitz <poenitz@gmx.net>
6233
6234         * textclass.h: prepare for environment handling, ws changes
6235         * lyxlayout.C: read latexheader and latexfooter tags
6236
6237 2003-03-14  John Levon  <levon@movementarian.org>
6238
6239         * text2.C: rewrite ::status() a bit
6240
6241 2003-03-13  John Levon  <levon@movementarian.org>
6242
6243         * lyxtext.h: add some docs
6244
6245 2003-03-13  John Levon  <levon@movementarian.org>
6246
6247         * lyxtext.h:
6248         * text.C:
6249         * text2.C:
6250         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6251
6252 2003-03-13  John Levon  <levon@movementarian.org>
6253
6254         * text3.C: fix appendix redrawing
6255
6256 2003-03-13  John Levon  <levon@movementarian.org>
6257
6258         * text.C (setHeightOfRow):
6259         * rowpainter.h:
6260         * rowpainter.C: make appendix mark have the text
6261           "Appendix" so the user knows what it is
6262
6263         * LColor.h:
6264         * LColor.C: s/appendixline/appendix/ from above
6265
6266 2003-03-13  John Levon  <levon@movementarian.org>
6267
6268         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6269
6270         * text.C: fix a getChar(pos) bug properly
6271
6272 2003-03-13  Angus Leeming  <leeming@lyx.org>
6273
6274         * commandtags.h:
6275         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6276         Probably only temporary. Let's see how things pan out.
6277
6278         * BufferView.C (unlockInset):
6279         * BufferView_pimpl.C (fitCursor):
6280         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6281
6282         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6283         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6284
6285         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6286         new functions that convert ParagraphParameters to and from a string.
6287
6288         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6289         BufferView::Pimpl's dispatch.
6290         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6291
6292 2003-03-13 André Pönitz <poenitz@gmx.net>
6293
6294         * lyxfunc.C:
6295         * text3.C:
6296         * factory.C: make it aware of InsetEnv
6297
6298 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * text2.C (setCursor): never ask for one past last
6301         (setCursor): add some debugging messages.
6302
6303         * text.C (singleWidth): never ask for one past last
6304         (singleWidth): ditto
6305         (leftMargin): ditto
6306         (rightMargin): ditto
6307         (rowBreakPoint): ditto
6308         (setHeightOfRow): ditto
6309         (prepareToPrint): ditto
6310
6311         * rowpainter.C (paintBackground): never ask for one past last
6312         (paintText): never ask for one past last
6313
6314         * paragraph_pimpl.C (getChar): make the assert stricter, never
6315         allow the one past last pos to be taken
6316
6317         * paragraph.C (getChar): ws changes only
6318
6319         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6320         (numberOfSeparators): ditto
6321         (numberOfHfills): ditto
6322
6323 2003-03-12  John Levon  <levon@movementarian.org>
6324
6325         * author.h:
6326         * author.C:
6327         * bufferparams.h:
6328         * bufferparams.C:
6329         * paragraph_funcs.C: fix per-buffer authorlists
6330
6331 2003-03-12  John Levon  <levon@movementarian.org>
6332
6333         * text.C: fix newline in right address
6334
6335 2003-03-12  Angus Leeming  <leeming@lyx.org>
6336
6337         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6338         duplicate those in LyXFunc::dispatch.
6339
6340         * commandtags.h:
6341         * LyXAction.C:
6342         * ToolbarDefaults.C:
6343         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6344         Add LFUN_FONTFREE_UPDATE.
6345
6346         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6347         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6348
6349         * bufferview_func.[Ch]: several new functions to facilliate
6350         transfer of data to and from the character dialog.
6351
6352 2003-03-12  John Levon  <levon@movementarian.org>
6353
6354         * buffer.C:
6355         * paragraph.h:
6356         * paragraph.C:
6357         * paragraph_funcs.C:
6358         * paragraph_pimpl.C:
6359         * sgml.C:
6360         * tabular.C:
6361         * text.C:
6362         * text3.C: remove META_NEWLINE in favour of an inset
6363
6364         * rowpainter.h:
6365         * rowpainter.C: remove paintNewline (done by inset)
6366
6367 2003-03-12  John Levon  <levon@movementarian.org>
6368
6369         * paragraph_pimpl.C: complain about bad getChar()s
6370         for a while at least
6371
6372 2003-03-12  John Levon  <levon@movementarian.org>
6373
6374         * buffer.h:
6375         * buffer.C: move paragraph read into a separate function,
6376         a little renaming to reflect that.
6377
6378         * bufferparams.h:
6379         * bufferparams.C: remove the author_ids map, not necessary now
6380
6381         * factory.h:
6382         * factory.C: moved Buffer::readInset to here
6383
6384         * paragraph_funcs.h:
6385         * paragraph_funcs.C: readParagraph free function moved from
6386         buffer.C
6387
6388         * tabular.C: name change
6389
6390 2003-03-12  John Levon  <levon@movementarian.org>
6391
6392         * buffer.C:
6393         * ParagraphParameters.C: move par params input to
6394         a read() method
6395
6396         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6397         behave like a normal read from the stream wrt reading
6398         a line vs. a \\token
6399
6400 2003-03-12  John Levon  <levon@movementarian.org>
6401
6402         * paragraph.C:
6403         * ParagraphParameters.h:
6404         * ParagraphParameters.C: move output code to a
6405         ::write() method
6406
6407 2003-03-12  John Levon  <levon@movementarian.org>
6408
6409         * BufferView.C (insertLyXFile):
6410         * buffer.h:
6411         * buffer.C:
6412         * tabular.C: use a parlist iterator for creating the
6413           document.
6414
6415 2003-03-12  John Levon  <levon@movementarian.org>
6416
6417         * buffer.C: make current_change static local not
6418           static file-scope
6419
6420 2003-03-12  John Levon  <levon@movementarian.org>
6421
6422         * buffer.C: fix insertStringAsLines for change tracking
6423
6424 2003-03-12  John Levon  <levon@movementarian.org>
6425
6426         * BufferView.C:
6427         * tabular.C:
6428         * buffer.h:
6429         * buffer.C:
6430         * bufferparams.h:
6431         * bufferparams.C: move author list into params. Rename some
6432           functions. Move the header reading into a separate token
6433           loop. Move the header token reading into BufferParams.
6434
6435 2003-03-12  John Levon  <levon@movementarian.org>
6436
6437         * changes.C: put debug inside lyxerr.debugging() checks
6438
6439 2003-03-11 André Pönitz <poenitz@gmx.net>
6440
6441         * factory.C: make it aware of InsetHFill
6442
6443 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6444
6445         * buffer.C (latexParagraphs): move function from here...
6446         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6447         args.
6448
6449 2003-03-10  Angus Leeming  <leeming@lyx.org>
6450
6451         * LyXAction.C (init): fix bug in poplating array with multiple entries
6452         with the same LFUN (spotted by JMarc).
6453
6454 2003-03-10  John Levon  <levon@movementarian.org>
6455
6456         * text.C:
6457         * text2.C: move getColumnNearX() near its
6458         only call site
6459
6460 2003-03-10  John Levon  <levon@movementarian.org>
6461
6462         * text.C: fix break before a minipage
6463
6464 2003-03-10  John Levon  <levon@movementarian.org>
6465
6466         * text.C: fix the last commit
6467
6468 2003-03-09  John Levon  <levon@movementarian.org>
6469
6470         * lyxtext.h:
6471         * text.C:
6472         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6473         bug 365 (don't break before insets unless needed). Don't
6474         return a value > last under any circumstances.
6475
6476 2003-03-09  Angus Leeming  <leeming@lyx.org>
6477
6478         * BufferView_pimpl.C (trackChanges, dispatch): call
6479         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6480
6481 2003-03-09  Angus Leeming  <leeming@lyx.org>
6482
6483         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6484         than Dialogs::showAboutlyx().
6485
6486 2003-03-09  Angus Leeming  <leeming@lyx.org>
6487
6488         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6489         than Dialogs::showTabularCreate().
6490
6491 2003-03-09  John Levon  <levon@movementarian.org>
6492
6493         * lyxtext.h:
6494         * text.C:
6495         * text2.C: 3rd arg to nextBreakPoint was always the same.
6496           Use references.
6497
6498 2003-03-08  John Levon  <levon@movementarian.org>
6499
6500         * lyxrow.C:
6501         * paragraph.C:
6502         * paragraph.h:
6503         * rowpainter.C:
6504         * text.C:
6505         * text2.C: Remove the "main" bit from the "main body"
6506           notion.
6507
6508 2003-03-08  John Levon  <levon@movementarian.org>
6509
6510         * text.C (leftMargin): The left margin of an empty
6511         manual label paragraph should not include the label width
6512         string length.
6513
6514         * text.C (prepareToPrint): don't attempt to measure hfills
6515         for empty manual label paragraphs - the answer should be 0
6516
6517 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6518
6519         * CutAndPaste.C: remove commented code and reindent.
6520
6521 2003-03-08  John Levon  <levon@movementarian.org>
6522
6523         * lyxfunc.h:
6524         * lyxfunc.C: move reloadBuffer()
6525
6526         * BufferView.h:
6527         * BufferView.C: to here
6528
6529         * lyxvc.C: add comment
6530
6531         * vc-backend.h:
6532         * vc-backend.C: call bv->reload() to avoid
6533           getStatus() check on MENURELOAD
6534
6535 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6536
6537         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6538         to an old format .dep file.
6539
6540 2003-03-07  Angus Leeming  <leeming@lyx.org>
6541
6542         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6543         when the LFUN_MOUSE_RELEASE should have been handled by
6544         inset->localDispatch.
6545
6546 2003-03-07  Angus Leeming  <leeming@lyx.org>
6547
6548         * BufferView_pimpl.C (dispatch):
6549         * LyXAction.C (init):
6550         * ToolbarDefaults.C (init):
6551         * commandtags.h:
6552         * lyxfunc.C (getStatus):
6553         remove LFUN_INSET_GRAPHICS.
6554
6555         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6556
6557 2003-03-07  Angus Leeming  <leeming@lyx.org>
6558
6559         * commandtags.h:
6560         * LyXAction.C (init):
6561         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6562
6563         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6564
6565         * commandtags.h:
6566         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6567
6568         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6569         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6570
6571 2003-03-07  Angus Leeming  <leeming@lyx.org>
6572
6573         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6574         remove "ert".
6575
6576 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6577
6578         * ParagraphList.C (front): new function
6579         (back): implement
6580
6581 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6582
6583         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6584         and top_row_offset_. removed var first_y.
6585         * text.C (top_y):
6586         * text2.C (LyXText, removeRow):
6587         * text3.C:
6588         * BufferView_pimpl.C:
6589         use these methods instead of using first_y
6590
6591 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * text2.C (pasteSelection): adjust for checkPastePossible
6594
6595         * CutAndPaste.C: remove Paragraph * buf and replace with
6596         ParagraphList paragraphs.
6597         (DeleteBuffer): delete
6598         (cutSelection): change the tc type to textclass_type
6599         (copySelection): change the tc type to textclass_type
6600         (copySelection): adjust for ParagraphList
6601         (pasteSelection): change the tc type to textclass_type
6602         (pasteSelection): adjust for Paragraphlist
6603         (nrOfParagraphs): simplify for ParagraphList
6604         (checkPastePossible): simplify for ParagraphList
6605         (checkPastePossible): remove unused arg
6606
6607         * ParagraphList.C (insert): handle the case where there are no
6608         paragraphs yet.
6609
6610         * CutAndPaste.h: make CutAndPaste a namespace.
6611
6612         * text3.C (dispatch): adjust
6613
6614         * text.C (breakParagraph): add a ParagraphList as arg
6615
6616         * paragraph_funcs.C (breakParagraph): change to take a
6617         BufferParams and a ParagraphList as args.
6618         (breakParagraphConservative): ditto
6619         (mergeParagraph): ditto
6620         (TeXDeeper): add a ParagraphList arg
6621         (TeXEnvironment): ditto
6622         (TeXOnePar): ditto
6623
6624         * buffer.C (readLyXformat2): adjust
6625         (insertStringAsLines): adjust
6626         (latexParagraphs): adjust
6627
6628         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6629         (cutSelection): adjust
6630         (pasteSelection): adjust
6631
6632         * BufferView_pimpl.C (insertInset): adjust
6633
6634 2003-03-05  Angus Leeming  <leeming@lyx.org>
6635
6636         * commandtags.h:
6637         * LyXAction.C (init):
6638         * BufferView_pimpl.C (dispatch):
6639         * lyxfunc.C (getStatus):
6640         remove LFUN_CHILD_INSERT.
6641
6642         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6643
6644 2003-03-05  Angus Leeming  <leeming@lyx.org>
6645
6646         * commandtags.h:
6647         * LyXAction.C (init):
6648         * src/factory.C (createInset):
6649         * lyxfunc.C (getStatus):
6650         * text3.C (dispatch):
6651         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6652
6653         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6654
6655 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * ParagraphList.C (insert): handle insert right before end()
6658         (erase): fix cases where it can be first or last paragraph.
6659
6660 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6663         Paragraph::next and Paragraph::previous
6664         (TeXOnePar): ditto
6665
6666         * text.C (breakParagraph): adjust
6667
6668         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6669         BufferParams& as arg.
6670         (breakParagraph): use ParagraphList::insert
6671         (breakParagraphConservative): take a Buffer* instead of a
6672         BufferParams& as arg.
6673         (breakParagraphConservative): use ParagraphList::insert.
6674
6675         * buffer.C (insertStringAsLines): un-const it
6676         (insertStringAsLines): adjust
6677
6678         * ParagraphList.C (insert): new function
6679
6680         * CutAndPaste.C (pasteSelection): adjust
6681
6682         * text.C (backspace): adjust
6683
6684         * tabular.C (SetMultiColumn): adjust
6685
6686         * CutAndPaste.C (cutSelection): adjust
6687         (pasteSelection): adjust
6688
6689         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6690         Buffer const * as arg
6691
6692         * ParagraphList.C (erase): new function
6693         * paragraph_funcs.C (mergeParagraph): use it
6694         (mergeParagraph): make it take a Buffer* instead of a
6695         BufferParams* as arg
6696
6697         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6698         as arg
6699         (breakParagraphConservative): ditto
6700
6701         * paragraph.h: remove the breakParagraph friend
6702
6703         * paragraph.C (eraseIntern): new function
6704         (setChange): new function
6705
6706         * paragraph_funcs.C (mergeParagraph): make it take a
6707         ParagraphList::iterator instead of a Paragraph *, adjust
6708         accordingly.
6709
6710         * paragraph.h: move an #endif so that the change tracking stuff
6711         also works in the NO_NEXT case.
6712
6713 2003-03-04  Angus Leeming  <leeming@lyx.org>
6714
6715         * commandtags.h:
6716         * LyXAction.C: new LFUN_INSET_MODIFY.
6717
6718         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6719         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6720
6721 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6722
6723         * several files: ws changes only
6724
6725         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6726         (TeXEnvironment): ditto
6727         (TeXDeeper): ditto
6728
6729         * buffer.C (makeLaTeXFile): adjust
6730         (latexParagraphs): make it take ParagraphList::iterator as args
6731
6732 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * buffer.C (latexParagraphs): adjust
6735
6736         * paragraph.C (TeXOnePar): move function...
6737         (optArgInset): move function...
6738         (TeXEnvironment): move function...
6739         * paragraph_pimpl.C (TeXDeeper): move function...
6740         * paragraph_funcs.C: ...here
6741
6742         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6743
6744 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * buffer.C (readInset): remove compability code for old Figure and
6747         InsetInfo insets
6748
6749 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * buffer.C: ws changes
6752         (readInset):
6753
6754         * BufferView_pimpl.C: ditto
6755         * author.C: ditto
6756         * buffer.h: ditto
6757         * bufferlist.h: ditto
6758         * changes.h: ditto
6759         * lyxfunc.C: ditto
6760
6761 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6762
6763         * converter.[Ch]: split into itself +
6764         * graph.[Ch]
6765         * format.[Ch]
6766         * Makefile.am: += graph.[Ch] + format.[Ch]
6767         * MenuBackend.C
6768         * buffer.C
6769         * exporter.C
6770         * importer.C
6771         * lyx_main.C
6772         * lyxfunc.C
6773         * lyxrc.C: added #include "format.h"
6774
6775 2003-02-27  Angus Leeming  <leeming@lyx.org>
6776
6777         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6778           a label.
6779
6780         * factory.C (createInset): add "label" to the factory.
6781
6782         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6783           string and do no more.
6784
6785 2003-02-27  Angus Leeming  <leeming@lyx.org>
6786
6787         * commandtags.h:
6788         * LyXAction.C (init):
6789         * factory.C (createInset):
6790         * BufferView_pimpl.C (dispatch):
6791           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6792
6793         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6794
6795         * lyxfunc.C (dispatch):
6796         * text3.C (dispatch): pass name to params2string.
6797
6798 2003-02-26  Angus Leeming  <leeming@lyx.org>
6799
6800         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6801           blocks together.
6802           Rearrange the ~includes. Strip out the unnecessary ones.
6803
6804         * factory.C (createInset): reformat.
6805           create new insets for the various LFUN_XYZ_APPLY lfuns.
6806
6807 2003-02-26  John Levon  <levon@movementarian.org>
6808
6809         * lyxrow.h:
6810         * lyxrow.C: add isParStart,isParEnd helpers
6811
6812         * paragraph.h: make isInserted/DeletedText take refs
6813
6814         * paragraph_funcs.h:
6815         * paragraph_funcs.C: remove #if 0'd code
6816
6817         * lyxtext.h:
6818         * text3.C:
6819         * text2.C:
6820         * text.C: use lyxrow helpers above.
6821           Move draw and paint routines to RowPainter.
6822           Make several methods use refs not pointers.
6823           Make backgroundColor() const.
6824           Add markChangeInDraw(), isInInset().
6825           Merge changeRegionCase into changeCase.
6826           Make workWidth() shouldn't-happen code into an Assert.
6827
6828         * rowpainter.h:
6829         * rowpainter.C: new class for painting a row.
6830
6831         * vspace.h:
6832         * vspace.C: make inPixels take a ref
6833
6834 2003-02-26  Angus Leeming  <leeming@lyx.org>
6835
6836         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6837         LFUN_REF_APPLY.
6838
6839 2003-02-25  John Levon  <levon@movementarian.org>
6840
6841         * ispell.C: give the forked command a more accurate name
6842
6843 2003-02-22  John Levon  <levon@movementarian.org>
6844
6845         * toc.h:
6846         * toc.C: make TocItem store an id not a Paragraph *
6847           (bug #913)
6848
6849 2003-02-21  Angus Leeming  <leeming@lyx.org>
6850
6851         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6852           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6853           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6854           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6855           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6856           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6857
6858         * BufferView_pimpl.C (dispatch):
6859         * LyXAction.C (init):
6860         * factory.C (createInset):
6861         * lyxfunc.C (getStatus, dispatch):
6862         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6863
6864 2003-02-21  Angus Leeming  <leeming@lyx.org>
6865
6866         * BufferView_pimpl.C (MenuInsertLyXFile):
6867         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6868         * lyxfunc.C (menuNew, open, doImport):
6869           no longer pass a LyXView & to fileDlg.
6870
6871 2003-02-21  Angus Leeming  <leeming@lyx.org>
6872
6873         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6874         * LyXAction.C: change, BIBKEY to BIBITEM.
6875         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6876         Change InsetBibKey to InsetBibitem.
6877         Change BIBKEY_CODE to BIBITEM_CODE.
6878         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6879         * factory.C: replace insetbib.h with insetbibitem.h.
6880         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6881         * paragraph.C: replace insetbib.h with insetbibitem.h.
6882         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6883         Change bibkey() to bibitem().
6884         * text.C: remove insetbib.h.
6885         * text2.C: replace insetbib.h with insetbibitem.h.
6886         change bibkey() to bibitem().
6887         * text3.C: remove insetbib.h.
6888         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6889
6890 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6891
6892         * lyxrc.C (output): enclose user email in quotes (in case there are
6893         several words)
6894
6895 2003-02-18  John Levon  <levon@movementarian.org>
6896
6897         * buffer.h: add std::
6898
6899 2003-02-17  John Levon  <levon@movementarian.org>
6900
6901         * SpellBase.h:
6902         * ispell.h:
6903         * ispell.C:
6904         * pspell.h:
6905         * pspell.C: reworking. Especially in ispell, a large
6906           number of clean ups and bug fixes.
6907
6908         * lyxfunc.C: fix revert to behave sensibly
6909
6910 2003-02-17 André Pönitz <poenitz@gmx.net>
6911
6912         * LyXAction.C:
6913         * commandtags.h: new LFUN_INSERT_BIBKEY
6914
6915         * layout.h:
6916         * lyxlayout.C:
6917         * buffer.C:
6918         * factory.C:
6919         * text.C:
6920         * text2.C:
6921         * text3.C:
6922         * paragraph.[Ch]:
6923         * paragraph_func.C: remove special bibkey handling
6924
6925 2003-02-17  John Levon  <levon@movementarian.org>
6926
6927         * text.C (Delete): fix case where delete at the end of
6928           the very first paragraph would not merge the pars
6929
6930 2003-02-17  John Levon  <levon@movementarian.org>
6931
6932         * lyxrow.C: fix lastPrintablePos()
6933
6934 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6935
6936         * bufferparams.C (writeLaTeX): add a std:here
6937
6938         * buffer.C: and remove a using directive there
6939
6940 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6941
6942         * buffer.C (makeLaTeXFile): move the code that generates the
6943           preamble...
6944
6945         * bufferparams.C (writeLaTeX): ... in this new method
6946
6947         * LaTeXFeatures.C (getEncodingSet): make const
6948           (getLanguages): make const
6949
6950         * MenuBackend.C (binding): returns the binding associated to this
6951           action
6952           (add): sets the status of each item by calling getStatus. Adds
6953           some intelligence.
6954           (read): add support for OptSubMenu
6955           (expand): remove extra separator at the end of expanded menu
6956
6957 2003-02-15  John Levon  <levon@movementarian.org>
6958
6959         * BufferView.C:
6960         * BufferView_pimpl.C:
6961         * bufferlist.h:
6962         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6963           inset code that had no actual effect. Remove unneeded status
6964           code.
6965
6966 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6967
6968         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6969           in preamble
6970
6971 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6972
6973         * text.C (drawLengthMarker): also draw an arrow marker for
6974           symbolic lengths (medskip...)
6975
6976 2003-02-14  John Levon  <levon@movementarian.org>
6977
6978         * tabular.h:
6979         * tabular.C: better method names
6980
6981 2003-02-14  John Levon  <levon@movementarian.org>
6982
6983         * BufferView_pimpl.C:
6984         * bufferlist.C:
6985         * buffer.C:
6986         * converter.C:
6987         * lyx_cb.C:
6988         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6989           it's a more accurate name. Remove some pointless uses.
6990
6991 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6992
6993         * text2.C (LyXText): change order of initilizers to shut off
6994           warnings
6995
6996 2003-02-14  John Levon  <levon@movementarian.org>
6997
6998         * buffer.C: use ParIterator for getParFromID()
6999
7000         * paragraph.h:
7001         * paragraph.C:
7002         * paragraph_pimpl.h:
7003         * paragraph_pimpl.C: remove unused getParFromID()
7004
7005 2003-02-14  John Levon  <levon@movementarian.org>
7006
7007         * buffer.C: remove some very old #if 0'd parse code
7008
7009 2003-02-13  John Levon  <levon@movementarian.org>
7010
7011         * text.h:
7012         * text.C:
7013         * text2.C: move hfillExpansion(), numberOfSeparators(),
7014           rowLast(), rowLastPrintable(), numberofHfills(),
7015           numberOfLabelHfills() ...
7016
7017         * lyxrow.h:
7018         * lyxrow.C: ... to member functions here.
7019
7020         * paragraph.h:
7021         * paragraph.C:
7022         * lyxtext.h:
7023         * text.C: remove LyXText::beginningOfMainBody(), and call
7024           p->beginningOfMainBody() directly. Move the check for
7025           LABEL_MANUAL into the latter.
7026
7027         * text.h:
7028         * text.C:
7029         * text2.C:
7030         * vspace.C:
7031         * BufferView.h:
7032         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7033
7034         * text.h:
7035         * text.C:
7036         * text2.C:
7037         * text3.C:
7038         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7039           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7040
7041 2003-02-13  John Levon  <levon@movementarian.org>
7042
7043         * CutAndPaste.C: remove debug
7044
7045 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7046
7047         * paragraph.C (asString): remove two unused variables
7048
7049         * lyxtextclass.C (readTitleType):
7050           (Read):
7051           (LyXTextClass): handle new members titletype_ and titlename_
7052
7053         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7054
7055 2003-02-09  John Levon  <levon@movementarian.org>
7056
7057         * buffer.h:
7058         * buffer.C: replace hand-coded list with a map for the dep clean
7059
7060 2003-02-08  John Levon  <levon@movementarian.org>
7061
7062         * LaTeX.C: consolidate code into showRunMessage() helper
7063
7064 2003-02-08  John Levon  <levon@movementarian.org>
7065
7066         * lyxfind.C:
7067         * lyxtext.h:
7068         * text2.C:
7069         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7070           and pass the size in explicitly
7071
7072         * BufferView_pimpl.h:
7073         * BufferView_pimpl.C:
7074         * BufferView.h:
7075         * BufferView.C: add getCurrentChange()
7076
7077         * BufferView_pimpl.h:
7078         * BufferView_pimpl.C: handle change lfuns
7079
7080         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7081           for changes. Mark pasted paragraphs as new.
7082
7083         * support/lyxtime.h:
7084         * support/lyxtime.C:
7085         * DepTable.C: abstract time_t as lyx::time_type
7086
7087         * LColor.h:
7088         * LColor.C: add colours for new text, deleted text, changebars
7089
7090         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7091           package use "usenames" option.
7092
7093         * commandtags.h:
7094         * lyxfunc.C:
7095         * LyXAction.C: add change lfuns
7096
7097         * Makefile.am:
7098         * author.h:
7099         * author.C: author handling
7100
7101         * buffer.h:
7102         * buffer.C: add a per-buffer author list, with first entry as
7103           current author. Handle new .lyx tokens for change tracking. Output
7104           author list to .lyx file. Output dvipost stuff to .tex preamble.
7105           Bump lyx format to 222.
7106
7107         * bufferlist.h:
7108         * bufferlist.C: add setCurrentAuthor() to reset current author details
7109           in all buffers.
7110
7111         * bufferparams.h:
7112         * bufferparams.C: add param for tracking
7113
7114         * bufferview_funcs.C: output change info in minibuffer
7115
7116         * Makefile.am:
7117         * changes.h:
7118         * changes.C: add change-tracking structure
7119
7120         * debug.h:
7121         * debug.C: add CHANGES debug flag
7122
7123         * lyxfind.h:
7124         * lyxfind.C: add code for finding the next change piece
7125
7126         * lyxrc.h:
7127         * lyxrc.C: add user_name and user_email
7128
7129         * lyxrow.h:
7130         * lyxrow.C: add a metric for the top of the text line
7131
7132         * lyxtext.h:
7133         * text.C: implement accept/rejectChange()
7134
7135         * lyxtext.h:
7136         * text.C: paint changebars. Paint new/deleted text in the chosen
7137         colours. Strike through deleted text.
7138
7139         * paragraph.h:
7140         * paragraph.C:
7141         * paragraph_pimpl.h:
7142         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7143           in the current change to the insert functions. Rework erase to
7144           mark text as deleted, adding an eraseIntern() and a range-based
7145           erase(). Implement per-paragraph change lookup and
7146           accept/reject.
7147
7148         * paragraph_funcs.C: Fixup paste for change tracking.
7149
7150         * tabular.C: mark added row/columns as new.
7151
7152         * text.C: fix rowLast() to never return -1. Don't allow
7153           spellchecking of deleted text. Track transpose changes. Don't
7154           allow paragraph break or merge where appropriate.
7155
7156         * text2.C: leave cursor at end of selection after a cut.
7157
7158 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7159
7160         * text.C (getLengthMarkerHeight):
7161         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7162         visible on screen too.
7163
7164 2003-02-07  John Levon  <levon@movementarian.org>
7165
7166         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7167
7168 2003-02-05  Angus Leeming  <leeming@lyx.org>
7169
7170         * lyxserver.C (read_ready): revert my patch of 11 September last year
7171         as it sends PC cpu through the roof. Presumably this means that
7172         the lyxserver will no longer run on an Alpha...
7173
7174 2003-01-30  Angus Leeming  <leeming@lyx.org>
7175
7176         * factory.C (createInset): create an InsetCommandParam of type "index"
7177         and use it to 'do the right thing'.
7178
7179         * text2.C (getStringToIndex): ensure that cursor position is always
7180         reset to the reset_cursor position.
7181
7182 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7183
7184         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7185         disabled.
7186
7187 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7188
7189         * bufferview.C:
7190         * lyxcb.C:
7191         * lyxfunc.C: Output messages with identical spelling, punctuation,
7192         and spaces
7193
7194 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7195
7196         * MenuBackend.C (expandFormats): List only viewable export formats
7197         in "View" menu
7198
7199         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7200         message
7201
7202         * lyxfunc.C (getStatus): Make sure that formats other than
7203         "fax" can also be disabled
7204
7205 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7206
7207         * text3.C (dispatch): put the lfuns that insert insets in 3
7208         groups, and call doInsertInset with appropriate arguments.
7209         (doInsertInset): new function, that creates an inset and inserts
7210         it according to some boolean parameters.
7211
7212 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * buffer.C (readFile): remember to pass on 'par' when calling
7215         readFile recursively.
7216
7217 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7218
7219         * MenuBackend.C (expandFormats): add "..." to import formats.
7220
7221 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7222
7223         * paragraph.C (asString): Remove XForms RTL hacks.
7224
7225 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7226         * buffer.C: fix typo
7227
7228 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * Makefile.am (LIBS): delete var
7231         (lyx_LDADD): add @LIBS@ here instead.
7232
7233 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7234
7235         * Clarify the meaning of "wheel mouse jump"
7236
7237 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7238
7239         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7240         tabular in a float
7241
7242 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7243
7244         * importer.C (Loaders): do not preallocate 3 elements in the
7245         vector, since one ends up with 6 elements otherwise
7246
7247 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7248
7249         * DepTable.C (write): write the file name as last element of the
7250         .dep file (because it may contain spaces)
7251         (read): read info in the right order
7252
7253 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7254
7255         * paragraph_pimpl.C (simpleTeXBlanks):
7256         (simpleTeXSpecialChars):
7257         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7258
7259         * tabular.C (latex): add some missing case statements. Reindent.
7260
7261         * MenuBackend.C (expandToc): remove unused variable.
7262
7263 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7264
7265         * LColor.C:
7266         * LaTeX.C:
7267         * LyXAction.C:
7268         * MenuBackend.C:
7269         * buffer.C:
7270         * exporter.C:
7271         * lyxfunc.C:
7272         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7273         and the like.
7274
7275 2003-01-05  John Levon  <levon@movementarian.org>
7276
7277         * BufferView.h:
7278         * BufferView.C: add getEncoding()
7279
7280         * kbsequence.h:
7281         * kbsequence.C: do not store last keypress
7282
7283         * lyxfunc.h:
7284         * lyxfunc.C: store last keypress here instead. Pass encoding
7285           to getISOEncoded()
7286
7287 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7288
7289         * lyx_main.C (init): remove annoying error message when following
7290         symbolic links (bug #780)
7291
7292 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7293
7294         * text.C (insertChar):
7295         * lyxrc.C (getDescription): remove extra spaces
7296
7297 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7298
7299         * lyxrc.C (getDescription): remove extra spaces
7300
7301 2002-12-20  John Levon  <levon@movementarian.org>
7302
7303         * text3.C: hack fix for page up/down across tall rows
7304
7305 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7306
7307         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7308         not been invoked
7309
7310 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7311
7312         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7313         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7314         thesaurus is not compiled in
7315
7316 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7317
7318         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7319
7320 2002-12-16  Angus Leeming  <leeming@lyx.org>
7321
7322         * lyxrc.[Ch]:
7323         * lyx_main.C (init): remove override_x_deadkeys stuff.
7324
7325 2002-12-12  John Levon  <levon@movementarian.org>
7326
7327         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7328           insert. Only remove shift modifier under strict
7329           circumstances.
7330
7331 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * MenuBackend.C (expandToc): fix crash.
7334
7335 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * MenuBackend.C (expandToc): gettext on float names.
7338
7339 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7340
7341         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7342         implement bool empty() [bug 490]
7343
7344 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7347
7348 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7349
7350         * several files: ws changes
7351
7352 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * text2.C (setCounter): clean up a bit, use boost.format.
7355         (updateCounters): initialize par upon declaration.
7356
7357         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7358         if the layout exists. We do not just store the layout any more.
7359         (SwitchLayoutsBetweenClasses): use boost.format
7360
7361 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7362
7363         * converter.C (convert): if from and to files are the same, use a
7364         temporary files as intermediary
7365
7366 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7367
7368         * commandtags.h:
7369         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7370
7371 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7372
7373         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7374
7375 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * tabular.C (asciiPrintCell): use string(size, char) instead of
7378         explicit loop.
7379
7380         * sgml.C (openTag): fix order of arguments to string constructor
7381         (closeTag): ditto
7382
7383         * lyxfunc.C (dispatch): use boost.format
7384
7385         * lots of files: change "c" -> 'c'
7386
7387 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7388
7389         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7390
7391 2002-11-25  Angus Leeming  <leeming@lyx.org>
7392
7393         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7394
7395         * lyx_main.C (init): compile fix.
7396
7397 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7398
7399         * lyx_cb.C (start): boost.formatify
7400         do not include <iostream>
7401
7402         * lengthcommon.C: ws only
7403
7404         * boost-inst.C,BoostFormat.h: add more explict instantations
7405
7406 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * lots of files: handle USE_BOOST_FORMAT
7409
7410 2002-11-21  John Levon  <levon@movementarian.org>
7411
7412         * pspell.C: fix compile
7413
7414 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7415
7416         * lyxfunc.C (dispatch): use boost::format
7417         (open): ditto
7418         (doImport): ditto
7419
7420         * lyxfont.C (stateText): use boost::format
7421
7422         * lyx_main.C (LyX): use boost::format
7423         (init): ditto
7424         (queryUserLyXDir): ditto
7425         (readRcFile): ditto
7426         (parse_dbg): ditto
7427         (typedef boost::function): use the recommened syntax.
7428
7429         * importer.C (Import): use boost::format
7430
7431         * debug.C (showLevel): use boost::format
7432
7433         * converter.C (view): use boost::format
7434         (convert): ditto
7435         (move): ditto
7436         (scanLog): ditto
7437
7438         * bufferview_funcs.C (currentState): use boost::format
7439
7440         * bufferlist.C (emergencyWrite): use boost::format
7441
7442         * buffer.C (readLyXformat2): use boost::format
7443         (parseSingleLyXformat2Token): ditto
7444
7445         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7446
7447         * LaTeX.C (run): use boost::format
7448
7449         * Chktex.C (scanLogFile): use boost::format
7450
7451         * BufferView_pimpl.C (savePosition): use boost::format
7452         (restorePosition): ditto
7453         (MenuInsertLyXFile): ditto
7454
7455         * BoostFormat.h: help file for explicit instation.
7456
7457 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7458
7459         * tabular.C (latex): Support for block alignment in fixed width
7460         columns.
7461
7462 2002-11-17  John Levon  <levon@movementarian.org>
7463
7464         * BufferView_pimpl.C:
7465         * lyx_cb.C:
7466         * lyxfunc.C: split filedialog into open/save
7467
7468 2002-11-08  Juergen Vigna  <jug@sad.it>
7469
7470         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7471         by my last patch (hopefully).
7472
7473 2002-11-08  John Levon  <levon@movementarian.org>
7474
7475         * iterators.h:
7476         * iterators.C:
7477         * buffer.h:
7478         * buffer.C:
7479         * paragraph.h:
7480         * paragraph.C:
7481         * toc.h:
7482         * toc.C: ParConstIterator, and use it (from Lars)
7483
7484 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7485
7486         * lyxtextclass.[Ch]: revise and add doxygen comments
7487
7488 2002-11-07  John Levon  <levon@movementarian.org>
7489
7490         * text.C: fix progress value for spellchecker
7491
7492         * toc.C: fix navigate menu for insetwrap inside minipage
7493
7494         * paragraph_funcs.C: added FIXME for suspect code
7495
7496 2002-11-07  John Levon  <levon@movementarian.org>
7497
7498         * BufferView_pimpl.C: fix redrawing of insets
7499           on buffer switch
7500
7501 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7502
7503         * text2.C (updateCounters): fix bug 668
7504
7505 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7506
7507         * text3.C (dispatch): Do not make the buffer dirty when moving the
7508         cursor.
7509
7510 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * vc-backend.C: STRCONV
7513         (scanMaster): ditto
7514
7515         * text2.C (setCounter): STRCONV
7516
7517         * paragraph.C (asString): STRCONV
7518
7519         * lyxlength.C (asString): STRCONV
7520         (asLatexString): ditto
7521
7522         * lyxgluelength.C (asString): STRCONV
7523         (asLatexString): ditto
7524
7525         * lyxfunc.C (dispatch): STRCONV
7526         (open): ditto
7527
7528         * lyxfont.C (stateText): STRCONV
7529
7530         * importer.C (Import): STRCONV
7531
7532         * counters.C (labelItem): STRCONV
7533         (numberLabel): ditto
7534         (numberLabel): remove unused ostringstream o
7535
7536         * chset.C: STRCONV
7537         (loadFile): ditto
7538
7539         * bufferview_funcs.C (currentState): STRCONV
7540
7541         * buffer.C (readFile): STRCONV
7542         (asciiParagraph): ditto
7543         (makeLaTeXFile): ditto
7544
7545         * Spacing.C (writeEnvirBegin): STRCONV
7546
7547         * LaTeXFeatures.C (getLanguages): STRCONV
7548         (getPackages): ditto
7549         (getMacros): ditto
7550         (getBabelOptions): ditto
7551         (getTClassPreamble): ditto
7552         (getLyXSGMLEntities): ditto
7553         (getIncludedFiles): ditto
7554
7555         * LaTeX.C: STRCONV
7556         (run): ditto
7557         (scanAuxFile): ditto
7558         (deplog): ditto
7559
7560         * LString.h: add the STRCONV macros
7561
7562         * BufferView_pimpl.C (savePosition): STRCONV
7563         (restorePosition): ditto
7564         (MenuInsertLyXFile): ditto
7565
7566         * vc-backend.C (scanMaster): change from submatch[...] to
7567         submatch.str(...)
7568
7569         * funcrequest.C: include config.h
7570
7571         * factory.C: include config.h
7572
7573         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7574
7575         * box.C: include config.h
7576
7577         * LaTeX.C (scanAuxFile): change from submatch[...] to
7578         submatch.str(...)
7579         (deplog): ditto
7580
7581 2002-10-25  Angus Leeming  <leeming@lyx.org>
7582
7583         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7584
7585         * ispell.[Ch] (setError): new method.
7586         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7587         Use setError() insetead of goto END.
7588
7589         * lyx_cb.C (AutoSave): move out child process into new class
7590         AutoSaveBuffer.
7591
7592 2002-10-30  John Levon  <levon@movementarian.org>
7593
7594         * text3.C: make start appendix undoable
7595
7596 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7597
7598         * lyxlength.C (inPixels): Fix returned value.
7599
7600         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7601         environment.
7602
7603 2002-10-24  Angus Leeming  <leeming@lyx.org>
7604
7605         * lyxgluelength.h: no need to forward declare BufferParams
7606         or BufferView, so don't.
7607
7608 2002-10-21  John Levon  <levon@movementarian.org>
7609
7610         * BufferView.C: menuUndo ->undo, redo
7611
7612         * BufferView.h: document, remove dead, make some methods private
7613
7614         * paragraph_funcs.h:
7615         * paragraph_funcs.C:
7616         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7617
7618         * buffer.h:
7619         * buffer.C:
7620         * sgml.h:
7621         * sgml.C: move sgml open/close tag into sgml.C
7622
7623         * bufferview_funcs.h: unused prototype
7624
7625         * lyxfunc.h:
7626         * lyxfunc.C: remove unused
7627
7628         * lyxtext.h:
7629         * text.C: remove unused
7630
7631 2002-10-21  John Levon  <levon@movementarian.org>
7632
7633         * BufferView.h:
7634         * BufferView.C:
7635         * BufferView_pimpl.h:
7636         * BufferView_pimpl.C: fix mouse wheel handling based on
7637           patch from Darren Freeman
7638
7639 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7640
7641         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7642
7643 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7644
7645         * lyxlength.C (inPixels): Fix hanfling of negative length.
7646         Fix LyXLength::MU case.
7647
7648 2002-10-16  John Levon  <levon@movementarian.org>
7649
7650         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7651
7652 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7653
7654         * converter.C (view): add support for $$i (file name) and $$p
7655         (file path) for the viewer command. If $$i is not specified, then
7656         it is appended to the command (for compatibility with old syntax)
7657
7658 2002-10-14  Juergen Vigna  <jug@sad.it>
7659
7660         * undo_funcs.C (textHandleUndo): alter the order in which the
7661         new undopar is added to the LyXText, as we have to set first
7662         the right prev/next and then add it as otherwise the rebuild of
7663         LyXText is not correct. Also reset the cursor to the right paragraph,
7664         with this IMO we could remove the hack in "redoParagraphs()".
7665
7666 2002-10-09  Angus Leeming  <leeming@lyx.org>
7667
7668         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7669         to turn off an optimisation if a new inset is to be inserted.
7670
7671 2002-10-11 André Pönitz <poenitz@gmx.net>
7672
7673         * lyxtext.h: make some functions public to allow access
7674         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7675
7676 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7677
7678         * text3.C (dispatch): when changing layout, avoid an infinite loop
7679         [bug #652]
7680
7681 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7682
7683         * lyxrc.C (read): treat a viewer or converter command of "none" as
7684         if it were empty.
7685
7686         * MenuBackend.C (expandFormats): for an update, also allow the
7687         formats that are not viewable
7688
7689         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7690         script if it is newer than the lyxrc.defaults in user directory
7691
7692 2002-10-07 André Pönitz <poenitz@gmx.net>
7693
7694         * text.C: Vitaly Lipatov's small i18n fix
7695
7696 2002-09-25  Angus Leeming  <leeming@lyx.org>
7697
7698         * ispell.h: doxygen fix.
7699
7700 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7701
7702         * buffer.h (readFile): Add a new argument to the method, to allow
7703         reading of old-format templates.
7704
7705 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7706
7707         * toc.C (getTocList): Get TOC from InsetWrap.
7708
7709 2002-09-16  John Levon  <levon@movementarian.org>
7710
7711         * lyxfunc.C: check tabular for cut/copy too
7712
7713 2002-09-12  John Levon  <levon@movementarian.org>
7714
7715         * LyXAction.C: tidy
7716
7717         * factory.h:
7718         * factory.C: add header
7719
7720         * paragraph_funcs.h:
7721         * paragraph_funcs.C: cleanup
7722
7723 2002-09-11  John Levon  <levon@movementarian.org>
7724
7725         * PrinterParams.h: odd/even default to true
7726
7727 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7728
7729         * PrinterParams.h: update printer parameters for new xforms dialog
7730
7731 2002-09-11  Angus Leeming  <leeming@lyx.org>
7732
7733         * lyxserver.C (read_ready): re-write to make it more transparent
7734         and to make it work in coherent fashion under Tru64 Unix.
7735
7736 2002-09-11  André Pönitz <poenitz@gmx.net>
7737
7738         * commandtags.h:
7739         * LyXAction.C:
7740         * text3.C: implement LFUN_WORDSEL
7741
7742 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7745         make floatlist_ a boost::shared_ptr<FloatList>
7746
7747         * lyxtextclass.C: include FloatList.h
7748         (LyXTextClass): initialize floatlist_
7749         (TextClassTags): add TC_NOFLOAT
7750         (Read): match "nofloat" to TC_NOFLOAT and use it.
7751         (readFloat): modify call to floatlist_
7752         (floats): ditto
7753         (floats): ditto
7754
7755         * FloatList.[Ch] (FloatList): remove commented out float
7756         initialization.
7757         (erase): new function
7758
7759 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7760
7761         * MenuBackend.C (expandToc): fix crash when there is no document
7762         open
7763
7764 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7765
7766         * many files: Add insetwrap.
7767
7768 2002-09-09  John Levon  <levon@movementarian.org>
7769
7770         * text2.C: remove confusing and awkward depth wraparound
7771
7772 2002-09-09  John Levon  <levon@movementarian.org>
7773
7774         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7775
7776         * buffer.h:
7777         * buffer.C: remove getIncludeonlyList()
7778
7779         * paragraph.C:
7780         * lyxfunc.C: remove headers
7781
7782 2002-09-09  Juergen Vigna  <jug@sad.it>
7783
7784         * text.C (getColumnNearX): fix form Michael this is most
7785         probably a cut&paste bug.
7786
7787 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7788
7789         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7790
7791         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7792         references, ws changes.
7793
7794         * text2.C (init): update counters after init
7795         (insertParagraph): no need to set counter on idividual paragraphs.
7796         (setCounter): access the counters object in the textclass object
7797         on in the buffer object.
7798         (updateCounters): ditto
7799
7800         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7801         shared_ptr<Counters> to avoid loading counters.h in all
7802         compilation units.
7803         (LyXTextClass): initialize ctrs_
7804         (TextClassTags): add TC_COUNTER, and ...
7805         (Read): use it here.
7806         (CounterTags): new tags
7807         (readCounter): new function
7808         (counters): new funtion
7809         (defaultLayoutName): return a const reference
7810
7811         * counters.C (Counters): remove contructor
7812         (newCounter): remove a couple of unneeded statements.
7813         (newCounter): simplify a bit.
7814         (numberLabel): some small formatting changes.
7815
7816         * buffer.[Ch]: remove all traces of counters, move the Counters
7817         object to the LyXTextClass.
7818
7819 2002-09-06  Alain Castera  <castera@in2p3.fr>
7820
7821         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7822         package to set the horizontal alignment on fixed width columns.
7823
7824         * lyx_sty.C:
7825         * lyx_sty.h: added tabularnewline macro def.
7826
7827         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7828
7829 2002-09-06  John Levon  <levon@movementarian.org>
7830
7831         * LyXAction.C: tooltips for sub/superscript
7832
7833         * MenuBackend.C: a bit more verbose
7834
7835         * lyxfunc.C: tiny clean
7836
7837         * undo_funcs.C: document undo_frozen
7838
7839 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7840
7841         * counters.C (Counters): add missing algorithm counter.
7842
7843         * text2.C (setCounter): lookup the counter with layouts latexname
7844         instead of by section number.
7845         (setCounter): use a hackish way to lookup the correct enum
7846         counter.
7847         a float name->type change
7848         reset enum couners with counter name directly instead of depth value.
7849
7850         * counters.C (Counters): remove the push_backs, change to use the
7851         float type not the float name.
7852         (labelItem): remove unused string, float name->type change
7853
7854         * counters.h: don't include vector, loose the enums and sects vectors
7855
7856 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7859         (Read): add float->TC_FLOAT to textclassTags
7860         (Read): and handle it in the switch
7861         (readFloat): new function
7862
7863         * FloatList.C (FloatList): comment out the hardcoded float
7864         definitions.
7865
7866         * lyxlayout.h: ws change.
7867
7868 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7869
7870         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7871
7872 2002-09-03  Angus Leeming  <leeming@lyx.org>
7873
7874         * BufferView_pimpl.h: qualified name is not allowed in member
7875         declaration: WorkArea & Pimpl::workarea() const;
7876
7877         * factory.C: added using std::endl directive.
7878
7879         * text3.C: added using std::find and std::vector directives.
7880
7881 2002-08-29  André Pönitz <poenitz@gmx.net>
7882
7883         * lyxtext.h:
7884         * text2.C: remove unused member number_of_rows
7885
7886         * Makefile.am:
7887         * BufferView2.C: remove file, move contents to...
7888         * BufferView.C: ... here
7889
7890         * BufferView_pimpl.C:
7891         * factory.C: move more inset creation to factory
7892
7893         * vspace.C: avoid direct usage of LyXText, ws changes
7894
7895         * BufferView.[Ch]:
7896                 don't provide direct access to WorkArea, use two simple
7897                 acessors haveSelction() and workHeight() instead
7898
7899
7900 2002-08-29  John Levon  <levon@movementarian.org>
7901
7902         * BufferView_pimpl.C (dispatch): do not continue when
7903           no buffer
7904
7905 2002-08-28  André Pönitz <poenitz@gmx.net>
7906
7907         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7908
7909         * BufferView.h:
7910         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7911
7912 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7913
7914         * buffer.C: increment LYX_FORMAT to 221
7915
7916         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7917         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7918
7919         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7920
7921         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7922
7923 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7924
7925         * factory.C (createInset): use LyXTextClass::floats
7926
7927         * MenuBackend.C (expandFloatListInsert):
7928         (expandFloatInsert):
7929         (expandToc):
7930
7931         * text2.C (setCounter):
7932
7933         * LaTeXFeatures.C (useFloat):
7934         (getFloatDefinitions):
7935
7936         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7937
7938         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7939         floatlist_, with accessor floats().
7940
7941         * FloatList.h: remove global FloatList
7942
7943 2002-08-26  André Pönitz <poenitz@gmx.net>
7944
7945         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7946
7947         * BufferView.h:
7948         * BufferView2.C:
7949         * BufferView_pimpl.C:
7950         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7951
7952 2002-08-25  John Levon  <levon@movementarian.org>
7953
7954         * LyXAction.C: fix margin note description
7955
7956 2002-08-24  John Levon  <levon@movementarian.org>
7957
7958         * buffer.C:
7959         * bufferlist.C:
7960         * bufferview_funcs.C:
7961         * lyxfont.C:
7962         * undo_funcs.C: cleanups
7963
7964         * lyxfunc.C: disable CUT/COPY when no selection
7965
7966 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7967
7968         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7969         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7970
7971         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7972         Add backward compatibility to "mono", "gray" and "no".
7973
7974 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7975
7976         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7977         (and file_format >= 200).
7978
7979 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7980
7981         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7982
7983 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7984
7985         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7986
7987 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7988
7989         * BufferView_pimpl.C:
7990         * LyXAction.C:
7991         * buffer.C:
7992         * commandtags.h:
7993         * lyxfunc.C:
7994         * paragraph.[Ch]:
7995         * text2.C:
7996         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7997         inset and code to make it  work with the paragraph code. The inset
7998         can be anywhere in the paragraph, but will only do the expected
7999         thing in LaTeX if the layout file contains the parameter line
8000                         OptionalArgs    1
8001         (or more generally, a nonzero value) for that layout.
8002
8003 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8004
8005         * paragraph.h: remove the declaration of undefined counters class
8006         function.
8007
8008 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8009
8010         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8011         Dr. Richard Hawkins.
8012
8013 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8014
8015         * paragraph_funcs.h: remove some unneeded includes
8016
8017         * text.C (backspace): pasteParagraph now in global scipe
8018
8019         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8020         (pasteSelection): ditto
8021
8022         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8023         * paragraph_funcs.C (pasteParagraph): ... here
8024
8025 2002-08-20  André Pönitz <poenitz@gmx.net>
8026
8027         * commandtags.h: new LFUNs for swapping/copying table row/colums
8028
8029         * LyXAction.C:
8030         * lyxfunc.C: support for new lfuns
8031
8032 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8033
8034         * tabular.C:
8035         * buffer.[Ch]: remove NO_COMPABILITY stuff
8036
8037 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8038
8039         * boost.C (throw_exception): new file, with helper function for
8040         boost compiled without exceptions.
8041
8042         * paragraph.h:
8043         * lyxlength.C:
8044         * buffer.C:
8045         * ParameterStruct.h:
8046         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8047
8048         * bufferlist.C (emergencyWriteAll): use boost bind
8049
8050         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8051
8052         * text.C: include paragraph_funcs.h
8053         (breakParagraph): breakParagraph is now in global scope
8054
8055         * paragraph_funcs.[Ch]: new files
8056
8057         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8058         global scope
8059
8060         * buffer.C: include paragraph_funcs.h
8061         (insertStringAsLines): breakParagraph is now in global scope
8062
8063         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8064         paragraph_funcs.C
8065
8066         * CutAndPaste.C: include paragraph_funcs.h
8067         (cutSelection): breakParagraphConservative is now in global scope
8068         (pasteSelection): ditto
8069
8070         * buffer.h: declare oprator== and operator!= for
8071         Buffer::inset_iterator
8072
8073         * bufferlist.C (emergencyWrite): don't use fmt(...)
8074
8075         * text3.C: add using std::endl
8076
8077         * BufferView.C (moveCursorUpdate): remove default arg
8078
8079 2002-08-20  André Pönitz <poenitz@gmx.net>
8080
8081         * buffer.[Ch]: move inline functions to .C
8082
8083         * BufferView2.C:
8084         * BufferView_pimpl.C:
8085         * text.C:
8086         * buffer.[Ch]: use improved inset_iterator
8087
8088         * buffer.C:
8089         * paragraph.[Ch]: write one paragraph at a time
8090
8091 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8092
8093         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8094         style if style is not specified.
8095
8096 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8097
8098         * text2.C (setCounter): when searching for right label for a
8099         caption, make sure to recurse to parent insets (so that a caption
8100         in a minipage in a figure float works) (bug #568)
8101
8102 2002-08-20  André Pönitz <poenitz@gmx.net>
8103
8104         * text3.C: new file for LyXText::dispatch() and helpers
8105
8106         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8107
8108         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8109
8110 2002-08-19  André Pönitz <poenitz@gmx.net>
8111
8112         * lyxtext.h:
8113         * text.C: new LyXText::dispatch()
8114
8115         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8116
8117 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8118
8119         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8120
8121         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8122         Hebrew text.
8123
8124 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8125
8126         * Makefile.am: use $(variables) instead of @substitutions@
8127
8128 2002-08-15  André Pönitz <poenitz@gmx.net>
8129
8130         * lyxfunc.C:
8131         * BufferView_pimpl.C: streamlining mathed <-> outer world
8132         interaction
8133
8134         * commandtags.h:
8135         * LyXAction.C: remove unused LFUN_MATH
8136
8137 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8140
8141 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * paragraph.C (Paragraph): reformat a bit
8144         (cutIntoMinibuffer): use builtin InsetList function instad of
8145         doing it manually.
8146         (getInset): ditto
8147
8148         * buffer.C: include boost/bind.hpp, add using std::for_each
8149         (writeFileAscii): use ParagraphList iterators
8150         (validate): use for_each for validate traversal of paragraphs
8151         (getBibkeyList): use ParagraphList iterators
8152         (resizeInsets): use for_each to resizeInsetsLyXText for all
8153         paragraphs.
8154         (getParFromID): use ParagraphList iterators
8155
8156         * BufferView2.C (lockInset): use paragraph list and iterators
8157
8158 2002-08-14  John Levon  <levon@movementarian.org>
8159
8160         * lyxserver.C: remove spurious xforms include
8161
8162 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8163
8164         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8165
8166 2002-08-13  André Pönitz <poenitz@gmx.net>
8167
8168         * LyXAction.[Ch]:
8169         * lyxfunc.C: further cleaning
8170
8171 2002-08-13  André Pönitz <poenitz@gmx.net>
8172
8173         * funcrequest.h: new constructor
8174
8175         * funcrequest.C: move stuff here from .h
8176
8177         * Makefile.am:
8178         * BufferView_pimpl.C:
8179         * LyXAction.C:
8180         * toc.C:
8181         * lyxfunc.C: subsequent changes
8182
8183         * lyxfunc.h: new view() member function
8184
8185         * lyxfunc.C: subsequent changes
8186
8187 2002-08-13  Angus Leeming  <leeming@lyx.org>
8188
8189         * BufferView2.C:
8190         * BufferView_pimpl.C:
8191         * buffer.C:
8192         * converter.C:
8193         * importer.C:
8194         * lyxfunc.C:
8195         * lyxvc.C:
8196         * toc.C:
8197         * vc-backend.C:
8198         changes due to the changed LyXView interface that now returns references
8199         to member variables not pointers.
8200
8201 2002-08-13  Angus Leeming  <leeming@lyx.org>
8202
8203         * WordLangTuple (word, lang_code): return references to strings,
8204         not strings.
8205
8206         * BufferView.h:
8207         * SpellBase.h:
8208         * lyxtext.h: forward-declare WordLangTuple.
8209
8210         * BufferView2.C:
8211         * ispell.C:
8212         * pspell.C:
8213         * text.C: #include "WordLangTuple.h".
8214
8215         * lyxtext.h:
8216         * text.C: (selectNextWordToSpellcheck): constify return type.
8217
8218 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8219
8220         * buffer.C:
8221         * buffer.h:
8222         * lyxtext.h:
8223         * paragraph.C:
8224         * paragraph_pimpl.h:
8225         * text.C:
8226         * text2.C:
8227         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8228         suggested by Angus.
8229         Made updateCounter always count from start of buffer, and removed
8230         second argument (par).
8231         Reverted floats number display to '#'. Perhaps I'll try again when the
8232         code base is sanitized a bit.
8233
8234 2002-08-12  Angus Leeming  <leeming@lyx.org>
8235
8236         * buffer.[Ch] (getLabelList): constify.
8237
8238 2002-08-07  André Pönitz <poenitz@gmx.net>
8239
8240         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8241
8242         * funcrequest.h: extension to keep mouse (x,y) position
8243
8244 2002-08-12  Juergen Vigna  <jug@sad.it>
8245
8246         * BufferView2.C (insertErrors): forbid undo when inserting error
8247         insets.
8248
8249         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8250
8251 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8252
8253         * ParagraphList.[Ch]: new files
8254
8255         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8256
8257         * BufferView2.C (lockInset): ParagraphList changes
8258         * toc.C: ditto
8259         * text2.C: ditto
8260         * bufferlist.C: ditto
8261         * buffer.h: ditto
8262         * buffer.C: ditto
8263
8264 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8267         unused class variable counter_,
8268
8269         * paragraph.[Ch] (getFirstCounter): delete unused function
8270
8271         * counters.C: include LAssert.h
8272         (reset): add a new function with no arg, change other version to
8273         not have def. arg and to not allow empty arg.
8274
8275         * text2.C (setCounter): remove empty arg from call to Counters::reset
8276
8277 2002-08-11  John Levon  <levon@movementarian.org>
8278
8279         * Makefile.am: add WordLangTuple.h
8280
8281 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8282
8283         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8284         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8285
8286         * insets/insettext.C: InsetList changes
8287
8288         * graphics/GraphicsSupport.C (operator()): InsetList changes
8289
8290         * toc.C (getTocList): InsetList changes
8291
8292         * paragraph_pimpl.[Ch]: InsetList changes
8293
8294         * paragraph.[Ch]: InsetList changes
8295
8296         * buffer.C (inset_iterator): InsetList changes
8297         (setParagraph): ditto
8298         * buffer.h (inset_iterator): ditto
8299         * iterators.C (operator++): ditto
8300         * iterators.h: ditto
8301
8302         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8303
8304         * InsetList.[Ch]: new files, most InsetList handling moved out of
8305         paragraph.C.
8306
8307         * BufferView2.C (removeAutoInsets): InsetList changes
8308         (lockInset): ditto
8309         (ChangeInsets): ditto
8310
8311 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * paragraph_pimpl.h (empty): new function
8314
8315         * paragraph.[Ch] (empty): new function
8316
8317         * other files: use the new Paragraph::empty function
8318
8319 2002-08-09  John Levon  <levon@movementarian.org>
8320
8321         * lyxtext.h: remove unused refresh_height
8322
8323 2002-08-09  John Levon  <levon@movementarian.org>
8324
8325         * Makefile.am:
8326         * sgml.h:
8327         * sgml.C:
8328         * buffer.C:
8329         * paragraph.h:
8330         * paragraph.C: move sgml char escaping out of paragraph
8331
8332         * paragraph.h:
8333         * paragraph.C: remove id setter
8334
8335         * buffer.C:
8336         * paragraph.C:
8337         * paragraph_pimpl.C: remove dead tex_code_break_column
8338
8339         * bufferview_funcs.C: small cleanup
8340
8341         * lyxfunc.C: remove dead proto
8342
8343         * lyxtext.h: make some stuff private. Remove some dead stuff.
8344
8345         * lyxgluelength.C: make as[LyX]String() readable
8346
8347 2002-08-08  John Levon  <levon@movementarian.org>
8348
8349         * LyXAction.h:
8350         * LyXAction.C:
8351         * MenuBackend.C:
8352         * ToolbarDefaults.C:
8353         * lyxfunc.C:
8354         * lyxrc.C:
8355         * toc.C: lyxaction cleanup
8356
8357 2002-08-08  John Levon  <levon@movementarian.org>
8358
8359         * BufferView2.C: small cleanup
8360
8361         * lyxfind.h:
8362         * lyxfind.C: move unnecessary header into the .C
8363
8364 2002-08-08  John Levon  <levon@movementarian.org>
8365
8366         * funcrequest.h: just tedious nonsense
8367
8368         * lyx_main.h:
8369         * lyx_main.C: cleanups
8370
8371         * buffer.C:
8372         * vspace.C: remove dead header lyx_main.h
8373
8374 2002-08-07  Angus Leeming  <leeming@lyx.org>
8375
8376         * Paragraph.[Ch]:
8377         * paragraph_pimpl.h:
8378         Forward declare class Counters in paragraph.h by moving the ctrs member
8379         variable into Paragraph::Pimpl.
8380         (counters): new method, returning a reference to pimpl_->ctrs.
8381
8382         * text2.C: ensuing changes.
8383
8384 2002-08-07  John Levon  <levon@movementarian.org>
8385
8386         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8387
8388         * BufferView_pimpl.C: announce X selection on double/triple
8389           click
8390
8391         * lyx_main.C: use correct bool in batch dispatch
8392
8393         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8394
8395 2002-08-07  André Pönitz <poenitz@gmx.net>
8396
8397         * funcrequest.h: new class to wrap a kb_action and its argument
8398
8399         * BufferView.[Ch]:
8400         * BufferView_pimpl[Ch]:
8401         * LaTeX.C:
8402         * LyXAction.[Ch]:
8403         * lyxfunc.[Ch]:
8404         * lyxrc.C: subsequent changes
8405
8406
8407 2002-08-07  John Levon  <levon@movementarian.org>
8408
8409         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8410           document options change.
8411
8412 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8413
8414         * counters.[Ch]
8415         * text2.C
8416         * paragraph.[Ch]
8417         * makefile.am: move counters functionality over from
8418         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8419
8420 2002-08-06  John Levon  <levon@movementarian.org>
8421
8422         * WordLangTuple.h: new file for word + language code tuple
8423
8424         * SpellBase.h:
8425         * pspell.h:
8426         * pspell.C:
8427         * ispell.h:
8428         * ispell.C:
8429         * lyxtext.h:
8430         * text.C:
8431         * text2.C:
8432         * BufferView.h:
8433         * BufferView2.C: use WordLangTuple
8434
8435         * layout.h:
8436         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8437
8438 2002-08-06  John Levon  <levon@movementarian.org>
8439
8440         * lyx_main.C: fix cmdline batch handling
8441
8442 2002-08-06  André Pönitz <poenitz@gmx.net>
8443
8444         * lyxrc.C: set default for show_banner to true
8445
8446 2002-08-06  John Levon  <levon@movementarian.org>
8447
8448         * pspell.C: fix a crash, and allow new aspell to work
8449
8450 2002-08-06  John Levon  <levon@movementarian.org>
8451
8452         * lyxfunc.C:
8453         * kbmap.C: small cleanup
8454
8455         * vspace.h:
8456         * vspace.C: add const
8457
8458 2002-08-05  John Levon  <levon@movementarian.org>
8459
8460         * LyXAction.C: back to tabular-insert
8461
8462 2002-08-04  John Levon  <levon@movementarian.org>
8463
8464         * BufferView.h:
8465         * BufferView.C: cosmetic change
8466
8467         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8468
8469         * bufferlist.C:
8470         * buffer.h:
8471         * buffer.C:
8472         * lyxcb.h:
8473         * lyxcb.C:
8474         * lyxserver.C:
8475         * lyxvc.C:
8476         * vc-backend.C:
8477         * BufferView2.C: purge all "Lyx" not "LyX" strings
8478
8479         * lyxcursor.h:
8480         * lyxcursor.C: attempt to add some documentation
8481
8482         * lyxfunc.C:
8483         * commandtags.h:
8484         * LyXAction.C:
8485         * ToolbarDefaults.C:
8486         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8487           merge with LFUN_TABULAR_INSERT
8488
8489         * Makefile.am:
8490         * SpellBase.h:
8491         * ispell.h:
8492         * ispell.C:
8493         * pspell.h:
8494         * pspell.C: split up i/pspell implementations into separate
8495           files, many cleanups
8496
8497         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8498
8499         * text2.C: some cleanup
8500
8501         * lyxfunc.C: don't check for isp_command == "none" any more, it
8502           didn't make any sense
8503
8504 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8505
8506         * counters.[Ch]
8507         * text2.C
8508         * paragraph.[Ch]
8509         * makefile.am: move counters functionality over
8510         from text2.C/paragraph.[Ch] to counters.[Ch], and
8511         make proper C++.
8512 2002-08-02  John Levon  <levon@movementarian.org>
8513
8514         * buffer.C: s/lyxconvert/lyx2lyx/
8515
8516 2002-08-02  Angus Leeming  <leeming@lyx.org>
8517
8518         * lyxlex.C: revert John's change as it breaks reading of the user
8519         preamble.
8520
8521 2002-08-02  Angus Leeming  <leeming@lyx.org>
8522
8523         * importer.C (Import):
8524         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8525         changes due to LyXView::view() now returning a boost::shared_ptr.
8526
8527 2002-08-02  John Levon  <levon@movementarian.org>
8528
8529         * lyxlex.C: small cleanup
8530
8531 2002-08-02  John Levon  <levon@movementarian.org>
8532
8533         * text2.C (status): small cleanup, no logic change
8534
8535 2002-08-01  John Levon  <levon@movementarian.org>
8536
8537         * buffer.h:
8538         * buffer.C (writeFile): don't output alerts, caller
8539           handles this
8540
8541         * bufferlist.C:
8542         * lyx_cb.C: from above
8543
8544         * lyxfunc.C: allow to open non-existent files
8545
8546 2002-07-31  John Levon  <levon@movementarian.org>
8547
8548         * lyxserver.C: don't let incidental errors get
8549           in the way (errno)
8550
8551 2002-07-30  John Levon  <levon@movementarian.org>
8552
8553         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8554
8555 2002-07-30  John Levon  <levon@movementarian.org>
8556
8557         * lyxserver.h:
8558         * lyxserver.C: remove I/O callback too
8559
8560 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8561
8562         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8563         log.
8564
8565 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * many files: strip,frontStrip -> trim,ltrim,rtrim
8568
8569 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8570
8571         * PrinterParams.h: remove extern containsOnly, and include
8572         support/lstrings.h instead.
8573
8574         * LaTeX.C (scanAuxFile): modify because of strip changes
8575         (deplog): ditto
8576         * buffer.C (makeLaTeXFile): ditto
8577         * bufferparams.C (writeFile): ditt
8578         * lyxfont.C (stateText): ditto
8579         * lyxserver.C (read_ready): ditto
8580         * vc-backend.C (scanMaster): ditto
8581
8582         * BufferView_pimpl.h: ws changes
8583
8584         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8585
8586 2002-07-26  André Pönitz <poenitz@gmx.net>
8587
8588         * kb_sequence.C: remove unnedred usings
8589
8590 2002-07-26  Juergen Vigna  <jug@sad.it>
8591
8592         * lyxfind.C (LyXReplace): we have to check better if the returned
8593         text is not of theLockingInset()->getLockingInset().
8594
8595 2002-07-25  Juergen Vigna  <jug@sad.it>
8596
8597         * lyxfind.C (LyXReplace): don't replace if we don't get the
8598         right LyXText.
8599
8600         * undo_funcs.C (createUndo): remove debugging code.
8601
8602 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8603
8604         * buffer.C (parseSingleLyXformat2Token): Use default placement
8605         when reading old floats.
8606
8607         * FloatList.C (FloatList): Change the default placement of figure
8608         and tables to "tbp".
8609
8610 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8611
8612         * MenuBackend.C: using std::max
8613
8614 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8615
8616         * MenuBackend.C (expandToc):
8617         (expandToc2): code moved from xforms menu frontend. It is now
8618         generic and TOCs are transparent to menu frontends.
8619
8620 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8621
8622         * toc.C (getTocList): protect against buf=0
8623
8624         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8625         Menu as first parameter. Now, this calls itself recursively to
8626         expand a whole tree (this will be useful for TOC handling)
8627         (expandFloatInsert): remove 'wide' version of floats
8628
8629         * MenuBackend.h (submenuname): returns the name of the submenu.
8630         (submenu): returns the submenu itself, provided it has been
8631         created by MenuBackend::expand
8632
8633 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8634
8635         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8636         insets which have noFontChange == true. (bug #172)
8637
8638 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8639
8640         * BufferView_pimpl.C: add connection objects and use them...
8641         (Pimpl): here.
8642
8643 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8644
8645         * MenuBackend.C (expandLastfiles):
8646         (expandDocuments):
8647         (expandFormats):
8648         (expandFloatListInsert):
8649         (expandFloatInsert):
8650         (expand): split expand in parts
8651
8652 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * lyx_gui.C: use lyx_gui::exit()
8655
8656 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8657
8658         * LyXAction.C: show the failing pseudo action
8659
8660 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8661
8662         * buffer.C (readFile): Run the lyxconvert script in order to read
8663         old files.
8664
8665 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8666
8667         * LyXAction.C:
8668         * commandtags.h:
8669         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8670
8671 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8672
8673         * LyXAction.C:
8674         * commandtags.h:
8675         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8676
8677 2002-07-22  Herbert Voss  <voss@lyx.org>
8678
8679         * lengthcommon.C:
8680         * lyxlength.[Ch]: add support for the vertical lengths
8681
8682 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8683
8684         * toc.[Ch]: std:: fixes
8685
8686 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8687
8688         * lyxrc.C: do not include lyx_main.h
8689
8690         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8691         for layouts
8692
8693         * lyxrc.C:
8694         * encoding.C:
8695         * bufferlist.C:
8696         * BufferView2.C: include "lyxlex.h"
8697
8698         * tabular.h:
8699         * bufferparams.h: do not #include "lyxlex.h"
8700
8701         * lyxtextclasslist.C (Add): remove method
8702         (classlist): renamed to classlist_
8703
8704         * paragraph_pimpl.C:
8705         * paragraph.C:
8706         * text2.C:
8707         * CutAndPaste.C:
8708         * bufferview_funcs.C:
8709         * bufferlist.C:
8710         * text.C:
8711         * LaTeXFeatures.C:
8712         * buffer.C:
8713         * toc.C (getTocList): use BufferParams::getLyXTextClass
8714
8715         * toc.C (getTocList): use InsetFloat::addToToc
8716
8717         * toc.[Ch]: new files, containing helper functions to handle table
8718         of contents
8719
8720         * lyxfunc.C (dispatch): no need to remove spaces around command
8721         given as a string
8722         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8723         first command of the sequence; it is not very clever, but I do not
8724         have a better idea, actually
8725
8726         * LyXAction.C (LookupFunc): make sure to remove space at the
8727         beginning and end of the command
8728
8729 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8730
8731         * MenuBackend.C (getMenubar): new method: return the menubar of
8732         this menu set
8733         (read): treat differently reading of menu and menubar (in
8734         particular, the menubar has no name now)
8735         (Menu::menubar): remove
8736
8737         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8738         saving is finished
8739
8740 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8741
8742         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8743         a bibitem inset in a RTL paragraph.
8744
8745 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8746
8747         * paragraph_pimpl.C: constify
8748
8749         * BufferView_pimpl.C:
8750         * LaTeX.C:
8751         * lyxfunc.C: fix dispatch in a nicer way
8752
8753 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8754
8755         * lyxfunc.C (dispatch):
8756         * BufferView_pimpl.C:
8757         * BufferView_pimpl.h:
8758         * BufferView.C:
8759         * BufferView.h: rename Dispatch() to dispatch()
8760
8761         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8762
8763         * lyxlayout.C (Read): honor DependsOn tag
8764
8765         * lyxlayout.[Ch] (depends_on): new method
8766
8767         * version.C.in: update lyx_docversion
8768
8769         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8770
8771         * paragraph.C (validate): remove from here...
8772         * paragraph_pimpl.C (validate): ... and move here
8773         (isTextAt): make it const
8774
8775         * buffer.C (getLists): ws cleanup
8776
8777 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8778
8779         * language.C (read): Use iso8859-1 encoding in latex_lang
8780         (this prevents LyX from crashing when using iso10646-1 encoding).
8781
8782 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8783
8784         * text2.C (toggleInset): if cursor is inside an inset, close the
8785         inset and leave cursor _after_ it
8786
8787 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8788
8789         * lyxfunc.C: move minibuffer completion handling out of here
8790
8791 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8792
8793         * BufferView_pimpl.C:
8794         * LaTeX.C: fix dispatch calls
8795
8796 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8797
8798         * text.C (drawChars): Fix Arabic text rendering.
8799
8800 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8801
8802         * LyXAction.C:
8803         * commandtags.h:
8804         * lyxfunc.C: remove message-push/pop
8805
8806         * lyxserver.C:
8807         * lyxfunc.h:
8808         * lyxfunc.C: rationalise some code by removing verboseDispatch
8809           in favour of a bool argument to dispatch()
8810
8811 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * lyx_main.C (init): make sure to read symlinks as absolute paths
8814
8815 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8816
8817         * lyxfunc.h:
8818         * lyxfunc.C: no need for commandshortcut to be a member
8819
8820 2002-07-15  André Pönitz <poenitz@gmx.net>
8821
8822         * converter.C: add support for $$s (scripts from lib/scripts dir)
8823         * lyx_main.C: white space
8824
8825 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8826
8827         * bufferlist.C:
8828         * lyxrc.h:
8829         * lyxrc.C: remove second exit confirmation
8830
8831 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8832
8833         * BufferView.h:
8834         * BufferView.C:
8835         * BufferView2.C:
8836         * BufferView_pimpl.h:
8837         * BufferView_pimpl.C:
8838         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8839
8840 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8841
8842         * MenuBackend.C (expand): add numeric shortcuts to document menu
8843
8844         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8845
8846 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8847
8848         * lyxfont.C (setLyXFamily):
8849         (setLyXSeries):
8850         (setLyXShape):
8851         (setLyXSize):
8852         (setLyXMisc):
8853         (lyxRead):
8854         * debug.C (value):
8855         * buffer.C (asciiParagraph): use ascii_lowercase
8856
8857 2002-07-15  Mike Fabian  <mfabian@suse.de>
8858
8859         * lyxlex_pimpl.C (search_kw):
8860         * lyxlex.C (getLongString):
8861         * converter.h (operator<):
8862         * converter.C (operator<):
8863         * buffer.C (parseSingleLyXformat2Token):
8864         (asciiParagraph):
8865         * ToolbarDefaults.C (read):
8866         * MenuBackend.C (checkShortcuts):
8867         (read):
8868         * LColor.C (getFromGUIName):
8869         (getFromLyXName): use the compare_ascii_no_case instead of
8870         compare_no_case, because in turkish, 'i' is not the lowercase
8871         version of 'I', and thus turkish locale breaks parsing of tags.
8872
8873 2002-07-16  Angus Leeming  <leeming@lyx.org>
8874
8875         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8876         now takes a Buffer const & argument.
8877
8878 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * BufferView.C (resize): check there's a buffer to resize
8881
8882 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8883
8884         * lyxfunc.C: remove dead code
8885
8886         * lyxserver.h:
8887         * lyxserver.C: use lyx_guii::set_read_callback
8888
8889 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8890
8891         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8892         an inset in a RTL paragraph.
8893
8894 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8895
8896         * lyxfunc.C: repaint after a font size update
8897
8898 2002-07-15  André Pönitz <poenitz@gmx.net>
8899
8900         * lyxlength.C: inBP should be able to return negative values
8901
8902 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * lyxfunc.C: use lyx_gui::update_fonts()
8905
8906 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8907
8908         * lyxfunc.C: use lyx_gui::update_color()
8909
8910 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8911
8912         * bufferlist.C:
8913         * lyxfunc.h:
8914         * lyxfunc.C:
8915         * lyxrc.h:
8916         * lyxrc.C: remove file->new asks for name option, and let
8917           buffer-new take an argument
8918
8919 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8920
8921         * BufferView_pimpl.C: remove unneeded extra repaint()
8922
8923 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8924
8925         * LyXAction.C: allow command-sequence with NoBuffer
8926
8927         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8928
8929 2002-07-10  Angus Leeming  <leeming@lyx.org>
8930
8931         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8932
8933 2002-07-09  Angus Leeming  <leeming@lyx.org>
8934
8935         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8936
8937 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8938
8939         * lengthcommon.h: whitespace
8940
8941         * lyxfunc.C: update scrollbar after goto paragraph
8942
8943         * lyxtext.h: factor out page break drawing, and fix it so
8944           page break/added space paints as selected nicely
8945
8946 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8947
8948         * BufferView_pimpl.C: add FIXMEs, clean up a little
8949
8950 2002-07-09  André Pönitz <poenitz@gmx.net>
8951
8952         * lyxfont.[Ch]: support for wasy symbols
8953
8954 2002-07-08  André Pönitz <poenitz@gmx.net>
8955
8956         * BufferView_pimpl.C: apply John's patch for #93.
8957
8958 2002-07-05  Angus Leeming  <leeming@lyx.org>
8959
8960         * BufferView_pimpl.C (buffer): generate previews if desired.
8961
8962         * LColor.h: add "preview" to the color enum.
8963
8964         * LColor.C (LColor): add a corresponding entry to the items array.
8965
8966         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8967         with this buffer.
8968
8969 2002-07-05  Angus Leeming  <leeming@lyx.org>
8970
8971         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8972         The body of the code is now in the method that is passed an ostream &
8973         rather than a file name.
8974         Pass an additional only_preamble parameter, useful for the forthcoming
8975         preview stuff.
8976
8977 2002-07-03  André Pönitz <poenitz@gmx.net>
8978
8979         * lyxfunc.C: simplify getStatus() a bit for math stuff
8980
8981 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8982
8983         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8984
8985 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8986
8987         * text.C (changeRegionCase): do not change case of all the
8988         document when region ends at paragraph end (bug #461)
8989
8990 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8991
8992         * paragraph.C (startTeXParParams):
8993         (endTeXParParams): add \protect when necessary
8994
8995 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * BufferView_pimpl.C (workAreaExpose): remove warning
8998
8999 2002-06-27  Angus Leeming  <leeming@lyx.org>
9000
9001         * Makefile.am: add lyxlayout_ptr_fwd.h.
9002
9003 2002-06-26  André Pönitz <poenitz@gmx.net>
9004
9005         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9006
9007 2002-06-25  Angus Leeming  <leeming@lyx.org>
9008
9009         * lyxfunc.C (dispatch): Comment out the call to
9010         grfx::GCache::changeDisplay. The method no longer exists now that the
9011         pixmap generation part of the graphics loader has been moved into
9012         InsetGraphics.
9013
9014 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9015
9016         * text2.C: layout as layout
9017
9018         * text.C: layout as layout
9019
9020         * tabular.C (OldFormatRead): layout as layout
9021
9022         * paragraph_pimpl.C (TeXDeeper): layout as layout
9023         (realizeFont): layout as layout
9024
9025         * paragraph.C (writeFile): layout as layout
9026         (validate): layout as layout
9027         (getFont): layout as layout
9028         (getLabelFont): layout as layout
9029         (getLayoutFont): layout as layout
9030         (breakParagraph): layout as layout
9031         (stripLeadingSpaces): layout as layout
9032         (getEndLabel): layout as layout
9033         (getMaxDepthAfter): layout as layout
9034         (applyLayout): layout as layout
9035         (TeXOnePar): layout as layout
9036         (simpleTeXOnePar): layout as layout
9037         (TeXEnvironment): layout as layout
9038         (layout): layout as layout
9039         (layout): layout as layout
9040
9041         * lyxtextclass.C (compare_name): new functor to work with
9042         shared_ptr, layout as layout
9043         (Read): layout as layout
9044         (hasLayout): layout as layout
9045         (operator): layout as layout
9046         (delete_layout): layout as layout
9047         (defaultLayout): layout as layout
9048
9049         * lyxlayout_ptr_fwd.h: new file
9050
9051         * lyxlayout.C (Read): layout as layout
9052
9053         * lyx_cb.C (MenuInsertLabel): layout as layout
9054
9055         * bufferlist.C (newFile): layout as layout
9056
9057         * buffer.C (readLyXformat2): layout as layout
9058         (parseSingleLyXformat2Token): layout as layout
9059         (insertStringAsLines): layout as layout
9060         (asciiParagraph): layout as layout
9061         (latexParagraphs): layout as layout
9062         (makeLinuxDocFile): layout as layout
9063         (simpleLinuxDocOnePar): layout as layout
9064         (makeDocBookFile): layout as layout
9065         (simpleDocBookOnePar): layout as layout
9066         (getLists): layout as layout
9067
9068         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9069
9070         * CutAndPaste.C (cutSelection): layout as layout
9071         (pasteSelection): layout as layout
9072         (SwitchLayoutsBetweenClasses): layout as layout
9073
9074         * BufferView_pimpl.C (Dispatch): layout as layout
9075         (smartQuote): layout as layout
9076
9077         * BufferView2.C (unlockInset): layout as layout
9078
9079 2002-06-24  André Pönitz <poenitz@gmx.net>
9080
9081         * lyxfunc.C: fix #487
9082
9083 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9084
9085         * lyxrc.h:
9086         * lyxrc.C:
9087         * lyxfunc.C: remove display_shortcuts, show_banner
9088
9089 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * Buffer_pimpl.C: oops, update on resize
9092
9093 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * buffer.C:
9096         * converter.C:
9097         * exporter.C:
9098         * lyxfunc.C:
9099         * BufferView.h:
9100         * BufferView.C: use repaint()
9101
9102         * BufferView_pimpl.h:
9103         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9104           as it's a clearer description. Remove superfluous
9105           redraws.
9106
9107 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * text.C: fix bug 488. Not ideal, but getting
9110           getWord() to work properly for the insets that
9111           matter is more difficult ...
9112
9113 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * BufferView_pimpl.C:
9116         * LyXAction.C:
9117         * commandtags.h:
9118         * lyxfunc.C: remove the six million index lyxfuncs to just
9119           one, and DTRT (bug 458)
9120
9121 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9122
9123         * BufferView.h:
9124         * BufferView.C:
9125         * BufferView_pimpl.h:
9126         * BufferView_pimpl.C: clean up resize() stuff,
9127           and unnecessary updateScreen()s
9128
9129 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9130
9131         * BufferView.h:
9132         * BufferView.C:
9133         * BufferView_pimpl.h:
9134         * BufferView_pimpl.C:
9135         * lyxfind.h:
9136         * lyxfind.C:
9137         * minibuffer.C: remove focus management of workarea,
9138           not needed. Use screen's greyOut()
9139
9140 2002-06-17  Herbert Voss  <voss@lyx.org>
9141
9142         * converter.C: (convert) do not post a message, when converting
9143         fails, let the calling function decide what to do in this case
9144
9145 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9146
9147         * lyxfunc.C: tidy up a little
9148
9149 2002-06-16    <alstrup@diku.dk>
9150
9151         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9152         Got rid of FORMS_H_LOCATION include. Now we are
9153         GUII.
9154
9155 2002-06-15  LyX Development team  <lyx@rilke>
9156
9157         * buffer.[Ch] (sgmlOpenTag):
9158         (sgmlCloseTag): Added support for avoiding pernicious mixed
9159         content. Return number of lines written.
9160
9161         (makeLinuxDocFile):
9162         (makeDocBookFile): Fixed calls to sgml*Tag.
9163         Simple white space clean.
9164
9165         (simpleDocBookOnePar): Simple white space clean.
9166
9167         * tabular.[Ch] (docBook): Renamed to docbook and got another
9168         argument to related with the pernicious mixed content.
9169
9170         (docbookRow): Fixed calls for docbook inset method.
9171
9172 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9173
9174         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9175         so it's X11 independent.
9176
9177         * kb*.[Ch]: ditto.
9178
9179         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9180
9181 2002-06-15  Lyx Development team  <lyx@electronia>
9182
9183         * intl.h: Renamed getTrans to getTransManager.
9184
9185 2002-06-14  Angus Leeming  <leeming@lyx.org>
9186
9187         * Makefile.am: nuke forgotten stl_string_fwd.h.
9188
9189 2002-06-12  Angus Leeming  <leeming@lyx.org>
9190
9191         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9192
9193 2002-06-13  Angus Leeming  <leeming@lyx.org>
9194
9195         * LaTeX.C:
9196         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9197
9198 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9199
9200         * kbmap.C (getiso): add support for cyrillic and greek
9201
9202 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * BufferView.h:
9205         * BufferView.C:
9206         * BufferView_pimpl.h:
9207         * BufferView_pimpl.C: move bogus scrolling logic
9208           to xforms
9209
9210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * lyxfunc.C:
9213         * BufferView_pimpl.C: view->resize() change
9214
9215 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9216
9217         * BufferView_pimpl.C: topCursorVisible
9218           prototype change
9219
9220 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9221
9222         * Makefile.am:
9223         * lyx_gui.h:
9224         * lyx_gui.C: move to frontends/
9225
9226         * main.C:
9227         * lyx_main.h:
9228         * lyx_main.C: changes from above
9229
9230 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9231
9232         * intl.C:
9233         * intl.h:
9234         * kbmap.C:
9235         * kbsequence.C:
9236         * lyx_cb.C:
9237         * lyx_main.C: minor tidy
9238
9239 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9240
9241         * BufferView_pimpl.h:
9242         * BufferView_pimpl.C:
9243         * BufferView.h:
9244         * BufferView.C: make painter() const,
9245           remove dead code
9246
9247         * BufferView2.C: use screen() accessor
9248
9249         * lyx_main.h:
9250         * lyx_main.C: some minor cleanup
9251
9252 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9253
9254         * BufferView_pimpl.h:
9255         * BufferView_pimpl.C: remove enter/leaveView,
9256           use workHeight()
9257
9258 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9259
9260         * BufferView.h:
9261         * BufferView.C:
9262         * BufferView2.C:
9263         * BufferView_pimpl.h:
9264         * BufferView_pimpl.C: only construct screen once,
9265           rename
9266
9267         * lyxrc.C: remove pointless comment
9268
9269 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9270
9271         * BufferView.h:
9272         * BufferView.C: remove active() and belowMouse()
9273
9274         * BufferView_pimpl.h:
9275         * BufferView_pimpl.C: use workarea() not workarea_,
9276           and make it use a scoped_ptr instead
9277
9278 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9279
9280         * lyx_gui.C: add debug message on BadWindow
9281
9282 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9283
9284         * sp_spell.C: fdopen is not part of the C++ standard.
9285
9286         * paragraph.C (InsetIterator): use >= instead of ==
9287
9288 2002-06-07  Angus Leeming  <leeming@lyx.org>
9289
9290         Fixes needed to compile with Compaq cxx 6.5.
9291         * BufferView_pimpl.C:
9292         * DepTable.C:
9293         * buffer.C:
9294         * converter.C:
9295         * encoding.C:
9296         * lyx_gui.C:
9297         * lyx_main.C:
9298         * lyxtextclasslist.C:
9299         * minibuffer.C:
9300         * sp_spell.C:
9301         * tabular_funcs.C:
9302         * vc-backend.C:
9303         all c-library variables have been moved into namespace std. Wrap
9304         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9305
9306         * lyxlength.C:
9307         * tabular-old.C:
9308         * tabular.C:
9309         Add a using std::abs declaration.
9310
9311         * kbmap.h (modifier_pair):
9312         * paragraph.h (InsetTable, InsetList):
9313         * lyxfont.h (FontBits):
9314         type definition made public.
9315
9316         * bufferlist.C (emergencyWriteAll): the compiler complains that
9317         there is more than one possible lyx::class_fun template to choose from.
9318         I re-named the void specialisation as lyx::void_class_fun.
9319
9320         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9321
9322         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9323         the compiler is is unable to find tostr in write_attribute.
9324
9325 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9326
9327         * buffer.C (sgmlError): hide #warning
9328
9329 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9330
9331         * xtl/*: get rid of xtl, which is not in use anyway
9332
9333         * LyXAction.C (init):
9334         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9335         were unimplemented xtl experimentation
9336
9337 2002-06-04  André Pönitz <poenitz@gmx.net>
9338
9339         * lyxfunc.C: disable array operation on simple formulae
9340
9341 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9342
9343         * converter.C: constify a bit
9344
9345 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * lyx_gui.C: check xforms version correctly
9348
9349 2002-04-30  Herbert Voss  <voss@lyx.org>
9350
9351         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9352         "keep" option
9353
9354 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9355
9356         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9357           attempt to register it with a VCS)
9358
9359 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9360
9361         * lyx_main.C (init): honor variables LYX_DIR_13x and
9362         LYX_USERDIR_13x
9363
9364 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9365
9366         * buffer.h:
9367         * buffer.C:
9368         * lyx_main.C: fix a crash on bad command line,
9369           and give a useful exit status on error
9370
9371         * lyxfunc.C (doImport): allow -i lyx to work
9372
9373 2002-03-30  André Pönitz <poenitz@gmx.net>
9374
9375         * lyxfunc.C: mathed font changes
9376
9377 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9378
9379         * LaTeX.C:
9380         * importer.h:
9381         * importer.C:
9382         * lyx_sty.h:
9383         * lyx_sty.C:
9384         * lyxlex.C:
9385         * lyxrow.h:
9386         * lyxtext.h:
9387         * paragraph.h:
9388         * paragraph.C:
9389         * texrow.h:
9390         * texrow.C:
9391         * text.C:
9392         * trans_mgr.h: srcdocs, and some minor cleanups
9393
9394 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9395
9396         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9397         call getFont all the time)
9398
9399 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9400
9401         * switch from SigC signals to boost::signals
9402
9403 2002-05-29  André Pönitz <poenitz@gmx.net>
9404
9405         * paragraph_pimpl.C (getChar): don't call size() too often...
9406
9407 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * paragraph_pimpl.C (insertChar): do not try to update tables when
9410         appending (pos == size())
9411
9412         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9413         in order to reduce drastically the number of comparisons needed to
9414         parse a large document
9415
9416 2002-05-29  André Pönitz <poenitz@gmx.net>
9417
9418         * text.C:
9419         * text2.C:
9420         * lyxtextclass.C:
9421         * sp_pspell.h:
9422         * textclasslist.[Ch]:
9423         * sp_ispell.h: whitespace change
9424
9425 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9426
9427         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9428         lyxaction directly now.
9429
9430 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9431
9432         * trans.C:
9433         * lyxfont.C:
9434         * lyxvc.C: remove unused headers
9435
9436 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9437
9438         * Makefile.am:
9439         * buffer.h:
9440         * undostack.h:
9441         * undostack.C:
9442         * undo_funcs.h:
9443         * undo_funcs.C: some cleanups. Use shared_ptr
9444           and a template for the undo stacks.
9445
9446 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9447
9448         * BufferView_pimpl.h:
9449         * BufferView_pimpl.C:
9450         * kbmap.h:
9451         * kbmap.C:
9452         * kbsequence.h:
9453         * kbsequence.C:
9454         * lyxfunc.h:
9455         * lyxfunc.C:
9456         * text2.C: use key_state/mouse_state
9457
9458 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9459
9460         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9461         and LSubstring
9462
9463         * chset.C: change include order
9464         (loadFile): use boost regex and get rid of LRegex and LSubstring
9465
9466         * Makefile.am (BOOST_LIBS): new variable
9467         (lyx_LDADD): use it
9468
9469         * LaTeX.C: change include order.
9470         (scanAuxFile): use boost regex and get rid of LRegex and
9471         LSubstring
9472         (deplog): ditto
9473
9474 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9475
9476         * ColorHandler.h:
9477         * ColorHandler.C:
9478         * FontInfo.h:
9479         * FontInfo.C: moved to frontends/xforms/
9480
9481         * FontLoader.h:
9482         * FontLoader.C: moved into frontends for GUIIzation
9483
9484         * Makefile.am:
9485         * lyx_gui.C:
9486         * lyxfont.C:
9487         * lyxfunc.C: changes from above
9488
9489 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9490
9491         * LColor.C: remove spurious X include
9492
9493         * BufferView_pimpl.C:
9494         * Makefile.am:
9495         * font.h:
9496         * font.C:
9497         * text.C:
9498         * text2.C: move font metrics to frontends/
9499
9500 2002-05-24  Juergen Vigna  <jug@sad.it>
9501
9502         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9503         setting the undo_cursor.
9504
9505         * ParagraphParameters.h: include local includes first.
9506
9507 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9508
9509         * BufferView_pimpl.C:
9510         * BufferView_pimpl.h:
9511         * Makefile.am:
9512         * WorkArea.h:
9513         * WorkArea.C:
9514         * screen.C: move WorkArea into frontends/
9515
9516         * lyxscreen.h:
9517         * screen.C:
9518         * text.C:
9519         * BufferView.C:
9520         * BufferView2.C: move LyXScreen into frontends/
9521
9522         * lyxlookup.h:
9523         * lyxlookup.C:
9524         * lyx_gui.C: move lyxlookup into frontends/xforms/
9525
9526 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9527
9528         * BufferView2.C:
9529         * BufferView_pimpl.C:
9530         * FontLoader.C:
9531         * LyXView.h:
9532         * LyXView.C:
9533         * Makefile.am:
9534         * WorkArea.C:
9535         * XFormsView.h:
9536         * XFormsView.C:
9537         * buffer.C:
9538         * bufferlist.C:
9539         * bufferview_funcs.C:
9540         * converter.C:
9541         * importer.C:
9542         * lyx_cb.C:
9543         * lyx_gui.C:
9544         * lyx_main.C:
9545         * lyx_find.C:
9546         * lyxfunc.C:
9547         * lyxvc.C:
9548         * minibuffer.C:
9549         * text.C:
9550         * text2.C:
9551         * trans.C:
9552         * vc-backend.C: move LyX/XFormsView into frontends/
9553
9554 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * Makefile.am:
9557         * PainterBase.C:
9558         * PainterBase.h:
9559         * Painter.C:
9560         * Painter.h:
9561         * WorkArea.C:
9562         * WorkArea.h:
9563         * screen.C:
9564         * tabular.C:
9565         * text.C:
9566         * text2.C: move Painter to frontends/
9567
9568 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9569
9570         * buffer.C: comment out some some code that depend upon lyx_format
9571         < 220
9572
9573         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9574         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9575
9576         * buffer.h (NO_COMPABILITY): turn off compability
9577
9578         * ColorHandler.C: include scoped_array.hpp
9579
9580         * font.C: Use more specific smart_ptr header.
9581         * Painter.C: ditto
9582         * gettext.C: ditto
9583         * ShareContainer.h: ditto
9584         * lyx_main.h: ditto
9585         * kbmap.h: ditto
9586         * FontInfo.h: ditto
9587         * BufferView_pimpl.h: ditto
9588         * ColorHandler.h: ditto
9589
9590         * kbmap.C (defkey): change call to shared_ptr::reset
9591
9592 2002-05-21  Juergen Vigna  <jug@sad.it>
9593
9594         * buffer.C (insertErtContents): fix to insert ert asis if it is
9595         non empty. Skip it completely if it contains only whitespaces.
9596
9597 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * BufferView_pimpl.C:
9600         * BufferView2.C: clear selection on paste (bug 393)
9601
9602 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9603
9604         * DepTable.C: include ctime
9605
9606 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9607
9608         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9609
9610 2002-05-14  Juergen Vigna  <jug@sad.it>
9611
9612         * text.C (breakParagraph): fixed function to honor the keepempty
9613         layout in the right maner and also to permit the right breaking
9614         algorithm on empty or non empyt keepempty paragraphs.
9615
9616         * paragraph.C (breakParagraph): we have to check also if the par
9617         is really empty (!size()) for isempty otherwise we do the wrong
9618         paragraph break.
9619
9620 2002-05-10  Juergen Vigna  <jug@sad.it>
9621
9622         * buffer.[Ch] : The following are only changes to the ert
9623         compatibility read reading old LaTeX layout and font stuff and
9624         convert it to ERTInsets.
9625
9626         * buffer.h: added isErtInset().
9627
9628         * buffer.C (struct ErtComp): add a fromlayout bool to check
9629         if we're inside a LaTeX layout.
9630         (isErtInset): new helper function.
9631         (insertErtContents): look for other ert insets before this one
9632         and insert the contents there, so that we don't have subsequent
9633         ERT insets with nothing between them. This way we create only one
9634         inset with multiple paragraphs. Also check if we don't insert only
9635         spaces ' ' as they are ignored anyway afterwards in the .tex file
9636         so if we have only spaces we will ignore this latex part in the
9637         new file.
9638         (parseSingleLyXformat2Token \\layout): better compatibility when
9639         reading layout-latex stuff.
9640         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9641         language tag.
9642         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9643         stuff after reading the inset only get the information back from
9644         the stack.
9645
9646 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9649
9650         * LaTeXFeatures.C (getBabelOptions): New method.
9651
9652 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9653
9654         * BufferView_pimpl.C (Dispatch): work around missing argument for
9655         'layout'
9656
9657 2002-05-08  Juergen Vigna  <jug@sad.it>
9658
9659         * text.C (leftMargin): handle paragraph leftindent.
9660
9661         * paragraph.C (writeFile): write the new \\leftindent tag.
9662         (validate): handle leftindent code.
9663         (TeXEnvironment): handle paragraphleftindent code again.
9664
9665         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9666
9667         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9668         for paragrap_extra indent code and new token \\leftindent.
9669         (latexParagraphs): handle the leftindent as environment.
9670
9671         * ParameterStruct.h: added leftindent support.
9672
9673         * ParagraphParameters.C (leftIndent): added support functions for
9674         the paragraph left indent.
9675
9676         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9677         more appropriate.
9678
9679 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9680
9681         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9682         inside insetERT.
9683
9684         * text.C (computeBidiTables): No bidi in insetERT.
9685
9686         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9687         in RTL documents.
9688
9689 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9690
9691         * version.C.in: pre 5
9692
9693 2002-05-02  José Matos  <jamatos@fep.up.pt>
9694         * buffer.C (makeDocBookFile): white space changes, add newline to
9695         command styles.
9696         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9697
9698         * tabular.C (docBook): fix typo.
9699
9700 2002-05-03  Juergen Vigna  <jug@sad.it>
9701
9702         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9703         change in LyXText as we can not be sure it was not freed.
9704         (drawOneRow): remove unused code.
9705
9706         * text.C (drawInset): redo the calculation of the need_break_row as
9707         it could have a row which was already freed.
9708         (draw): look at the return value of drawInset and return false if
9709         it also returned false.
9710         (paintRowText): look at the return value of draw and return false if
9711         it also returned false.
9712
9713         * lyxtext.h: added bool return type to drawInset() and draw() so that
9714         if we have a change in the row so that the rowbreak has to be redone
9715         we abort drawing as it will be called again.
9716
9717 2002-05-02  Juergen Vigna  <jug@sad.it>
9718
9719         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9720         a change in the maintext also if we're inside an inset.
9721         (Dispatch): set the cursor again after a break line and after the
9722         screen has been updated as it could be we're in a different row.
9723
9724         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9725         to set the cursor behind the pargraph with > size().
9726         (setCursor): check also for the same paragraph when checking where
9727         to put the cursor if we have a NFR inset.
9728
9729         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9730         parts of layout read further up as it still was in the wrong
9731         position.
9732
9733 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9734
9735         * screen.C (drawFromTo): change sine fullRebreak always return
9736         true.
9737
9738         * buffer.C (parseSingleLyXformat2Token): reindent some
9739
9740         * BufferView_pimpl.C (update): change since fullRebreak always
9741         return true.
9742         (Dispatch): git rid of the last hardcoded "Standard"s.
9743
9744 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9745
9746         * text2.[Ch] (fullRebreak): make it return void now that we always
9747         returned true.
9748
9749 2002-04-30  Juergen Vigna  <jug@sad.it>
9750
9751         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9752         ert compatibility check for "latex" layout.
9753
9754 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9755
9756         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9757         minipages: use col% instead of p%, and also use the current font.
9758         (makeLaTeXFile): Fix use babel condition.
9759         (parseSingleLyXformat2Token): Correct font when reading old floats.
9760
9761 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9762
9763         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9764         inserting list of floats.
9765
9766 2002-04-25  Herbert Voss  <voss@lyx.org>
9767
9768         * MenuBackend.C (expand): don't add the graphics extensions to the
9769         export menu
9770
9771 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9772
9773         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9774         non-existing layout, do not complain if it was the default layout
9775         of the original class (bug #342)
9776
9777 2002-04-24  Juergen Vigna  <jug@sad.it>
9778
9779         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9780         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9781
9782 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9783
9784         * buffer.C (getBibkeyList): If using \bibliography, return the
9785         option field with the reference itself. Enables us to provide natbib
9786         support when using \bibliography.
9787
9788 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9789
9790         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9791
9792         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9793         natbib is provided by the LaTeX class.
9794
9795 2002-04-23  Juergen Vigna  <jug@sad.it>
9796
9797         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9798         Wakeup functions.
9799
9800         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9801
9802 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9805
9806         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9807         ensuremath around textordmasculine, textordfeminine and
9808         textdegree.
9809
9810 2002-04-19  Juergen Vigna  <jug@sad.it>
9811
9812         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9813         reinitializing the buffer otherwise row-dimensions may be wrong.
9814         (update): reset also the selection cursors if they do exits otherwise
9815         their x/y positions may be wrong.
9816
9817         * text2.C (cursorDown): don't enter the inset if we came from a row
9818         above and are one row over the inset.
9819
9820         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9821         really leaving an inset.
9822
9823 2002-04-18  Juergen Vigna  <jug@sad.it>
9824
9825         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9826         of the selected paragraph does not have the selected layout also if
9827         the last one had!
9828
9829         * text2.C (setLayout): fixed bug which did not change last selected
9830         paragraph.
9831
9832         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9833         changed the read and substituted \\end_float with \\end_inset!
9834
9835         * BufferView_pimpl.C (cursorPrevious):
9836         (cursorNext): fixed to make it work with rows heigher than the work
9837         area without moving the cursor only the draw of the row.
9838         (workAreaMotionNotify): fix jumping over high rows.
9839
9840 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9841
9842         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9843         Ressler.
9844
9845 2002-04-16  Juergen Vigna  <jug@sad.it>
9846
9847         * text2.C (setCursor): set also the irow().
9848         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9849         (cursorUp):
9850         (cursorDown): support for locking an inset if the x_fix value goes
9851         inside it. That way I can transverse insets too with cursor up/down.
9852
9853         * lyxrow.h: added irow helper function same as other (i) functions.
9854
9855         * BufferView_pimpl.C (cursorPrevious):
9856         (cursorNext): fixed for insets!
9857
9858 2002-04-15  Juergen Vigna  <jug@sad.it>
9859
9860         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9861         position otherwise it is wrong in some cases.
9862
9863         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9864         inside the inset before the call.
9865
9866 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9867
9868         * buffer.[Ch] (getBibkeyList): make it const.
9869
9870 2002-04-12  Juergen Vigna  <jug@sad.it>
9871
9872         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9873
9874         * text2.C (getCursorX): new helper function
9875         (setCursor): compute also ix_
9876         (setCursorFromCoordinates): set also ix.
9877
9878         * lyxcursor.h: added ix_ and helper functions.
9879
9880         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9881
9882         * buffer.C (insertStringAsLines): dont break paragraph if the this
9883         paragraph is inside an inset which does not permit it!
9884
9885         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9886         also with no chars on this paragraph.
9887         (paintRowText): only paint stuff if it's inside the workarea!
9888
9889         * paragraph.C (breakParagraph): honor keepempty flag and break the
9890         paragraph always below not above.
9891
9892         * BufferView2.C (unlockInset): update the paragraph layout on inset
9893         unlock as we changed paragraph in such a case.
9894
9895         * lyxfind.C (LyXFind): clear the former selection if not found!
9896
9897         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9898         again called in insertChar().
9899
9900         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9901         an inset which uses the whole row!
9902         (rightMargin): ditto.
9903         (insertChar): force a rebreak if we inserted an inset!
9904
9905 2002-03-28  Herbert Voss  <voss@lyx.org>
9906
9907         * lyxlength.[Ch]: add inBP() to get the right PS-point
9908         units (BigPoint). With inPixels we have rounding errors
9909
9910 2002-04-11  Juergen Vigna  <jug@sad.it>
9911
9912         * text2.C (setCursorFromCoordinates): set iy to the right value.
9913         (setCursor): add check if row->previous exists!
9914
9915         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9916         an old float_type as this was the case in the old code!
9917
9918         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9919
9920         * BufferView2.C (showLockedInsetCursor): use iy
9921         (fitLockedInsetCursor): ditto
9922
9923         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9924         locked insets as there we have the right value now.
9925
9926         * lyxcursor.C: added iy_ variable and iy functions to set to the
9927         baseline of cursor-y of the locked inset.
9928
9929         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9930         (setCursor): fixed for insets which need a full row.
9931
9932         * text.C (rowLastPrintable): don't ignore the last space when before
9933         an inset which needs a full row.
9934         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9935         as last character of a row when before a inset which needs a full row.
9936
9937 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9938
9939         * version.C.in: update date
9940
9941         * text2.C (fullRebreak): try to always return true and see what
9942         happens...
9943
9944 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9945
9946         * MenuBackend.C (expand): use Floating::listName
9947
9948         * FloatList.C (FloatList): add listName argument to the built-in
9949         floats
9950
9951         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9952         text associated with the float.
9953
9954 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9957
9958 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9959
9960         * ShareContainer.h: add a couple of missing typenames.
9961
9962 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9963
9964         * lyxrc.C (getDescription): use _() correctly rather than N_().
9965
9966 2002-03-28  Herbert Voss  <voss@lyx.org>
9967
9968         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9969         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9970
9971 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9972
9973         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9974         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9975
9976 2002-03-29  Juergen Vigna  <jug@sad.it>
9977
9978         * lyxfunc.C (dispatch): add a missing fitCursor call.
9979
9980         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9981         it was scrolled by a cursor move, so return the bool status.
9982
9983         * BufferView.C (fitCursor): return the bool flag also to the outside
9984         world as this is needed.
9985
9986         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9987
9988         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9989         call the edit() as it is not needed (and wrong) IMO.
9990         (workAreaButtonPress): set the screen_first variable before evt.
9991         unlock the inset as this may change screen_first and then we have
9992         a wrong y position for the click!
9993
9994 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9995
9996         * MenuBackend.C (expand): another translation that I missed
9997
9998 2002-03-28  Juergen Vigna  <jug@sad.it>
9999
10000         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10001
10002         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10003
10004 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10005
10006         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10007
10008         * MenuBackend.C (expand): fix export/view/update when there is no
10009         document open.
10010
10011 2002-03-27  Herbert Voss  <voss@lyx.org>
10012
10013         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10014         and text%
10015
10016 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10017
10018         * bufferview_funcs.C (currentState): only show paragraph number
10019         for is DEVEL_VERSION is set.
10020
10021         * lyxfunc.C (dispatch): put warning in INFO channel
10022
10023         * MenuBackend.C (expand): translate the name of floats
10024
10025         * FloatList.C (FloatList): mark the float names for translation
10026
10027         * converter.C (convert): use LibScriptSearch
10028
10029 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10030
10031         * MenuBackend.C (defaults): fix default menu (we might as well get
10032         rid of it...)
10033
10034 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10037         directory.
10038
10039 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10040
10041         * lyxvc.C: reorder includes.
10042
10043 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10046           properly
10047
10048 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * CutAndPaste.C: change layouts earlier on paste
10051           to avoid crashing when calling getFont()
10052
10053 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10054
10055         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10056         irritating #error.
10057
10058 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10059
10060         * WorkArea.C: remove 'Pending' debug message.
10061
10062         * most files: ws cleanup
10063
10064         * buffer.[Ch]: ws changes
10065
10066         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10067
10068 2002-03-21  Juergen Vigna  <jug@sad.it>
10069
10070         * tabular.C (SetMultiColumn): collapse also the contents of the
10071         cells and set the last border right. Added a Buffer const * param.
10072
10073 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10074
10075         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10076         linking or not.
10077
10078 2002-03-19  Juergen Vigna  <jug@sad.it>
10079
10080         * text2.C (clearSelection): reset also xsel_cache.
10081
10082         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10083         where it needs to be called (John tells us to do so too :)
10084         (selectionLost): reset sel_cache.
10085
10086         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10087
10088 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10089
10090         * text2.C (setCursorIntern): put debuging code in INSETS channel
10091
10092 2002-03-19  André Pönitz <poenitz@gmx.net>
10093
10094         * lyxfunc.C: tiny whitespace change
10095
10096 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10097
10098         * ToolbarDefaults.C (init):
10099         * LyXAction.C (init):
10100         * commandtags.h:
10101         * BufferView_pimpl.C (Dispatch):
10102         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10103
10104 2002-03-19  Allan Rae  <rae@lyx.org>
10105
10106         * exporter.C (Export): removeAutoInsets before doing anything else.
10107         While I've just introduced a dependency on BufferView this really is
10108         the best place to clean the buffer otherwise you need to cleanup in
10109         a dozen places before calling export or cleanup in a dozen functions
10110         that export calls.
10111
10112         * converter.C (runLaTeX):
10113         (scanLog): Better handling of removeAutoInsets and screen updates.
10114
10115         * lyxfunc.C (dispatch): small whitespace changes
10116
10117 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10118
10119         * WorkArea.C (C_WorkAreaEvent): return a value.
10120         (event_cb): return 1 if we handled the event, 0 otherwise.
10121
10122         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10123
10124 2002-03-18  Juergen Vigna  <jug@sad.it>
10125
10126         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10127         (GetAdditionalWidth): ditto.
10128         (RightLine): ditto.
10129         (LeftLine): ditto.
10130
10131         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10132         inset if we're there actually (probably not used right now but this
10133         is the direction to go for unifying code).
10134         (paste): disable code to clear the selection.
10135
10136         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10137         inside an InsetText and move the check further up as it is in the
10138         wrong place.
10139
10140         * text2.C (pasteSelection): set a selection over the pasted text.
10141
10142 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10143
10144         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10145         and libgraphics to build on Cygwin.
10146
10147 2002-03-15  Juergen Vigna  <jug@sad.it>
10148
10149         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10150         inserting an Inset into the paragraph. I know this is not the best
10151         fix but we already use current_view in CutAndPaste so we will remove
10152         all of it's using at the same time.
10153
10154         * buffer.C (sgmlError): deactivated function till it is rewritten in
10155         the right mode, now it can create problems.
10156
10157         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10158         before accessing it.
10159
10160 2002-03-14  Juergen Vigna  <jug@sad.it>
10161
10162         * undo_funcs.C (textHandleUndo): do the right thing when updating
10163         the inset after the undo/redo.
10164
10165         * text2.C (setCursor): just some testcode for #44 not ready yet.
10166
10167         * undo_funcs.C (textHandleUndo): set the next() and previous()
10168         pointers of the paragraph to 0 before deleting otherwise we have
10169         problems with the Paragraph::[destructor].
10170
10171         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10172         on a paragraph insertion.
10173
10174 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10175
10176         * buffer.C (asciiParagraph): use += operator for char append to
10177         string.
10178
10179         * paragraph.C (getFontSettings): compare >= not just >
10180         (highestFontInRange): ditto
10181         (setFont): ditto
10182
10183 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10184
10185         * paragraph.C: change several algorithm to be more appripriate for
10186         the problem domain. This is lookip in FontList and in the InsetList.
10187
10188 2002-03-13  André Pönitz <poenitz@gmx.net>
10189
10190         * commandtags.h:
10191         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10192
10193 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * commandtags.h:
10196         * LyXAction.C:
10197         * lyxfunc.C:
10198         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10199
10200 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * Painter.C (display): anon helper function, adjust code for this
10203         change.
10204         (pixmap): remove function.
10205
10206         * Painter.h: remove private display variable.
10207
10208         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10209
10210 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10211
10212         * WorkArea.[Ch]: remove figinset_canvas cruft.
10213
10214 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10215
10216         * lyxtextclass.C (operator): add one item cache optimization.
10217
10218         * bufferlist.h: doxy changes
10219
10220         * bufferlist.C: ws changes
10221
10222         * DepTable.[Ch] (ext_exist): place const in the right spot.
10223
10224         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10225         call resizeInsets.
10226         (workAreaExpose): call resizeInsets when the with BufferView changes.
10227         (Dispatch): adjust for protectedBlank removal
10228         (specialChar): call updateInset if the insert went ok.
10229
10230         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10231         specialChar instead.
10232
10233         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10234
10235         * BufferView.h: doxy change
10236
10237         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10238
10239         * lyxtextclass.C (operator[]): remove non-const version
10240         (defaultLayout): remove non-const version
10241
10242 2002-03-12  Juergen Vigna  <jug@sad.it>
10243
10244         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10245         did resize the LyXText too.
10246
10247         * buffer.C (readLyXformat2): set layout information on newly allocated
10248         paragraphs.
10249
10250         * tabular.C (OldFormatRead): set layout information on the paragraph.
10251
10252 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10253
10254         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10255
10256 2002-03-11  Juergen Vigna  <jug@sad.it>
10257
10258         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10259         plainly wrong.
10260         (resizeCurrentBuffer): force also the insets to resize themselfes.
10261         (moveCursorUpdate): fixed up for InsetText.
10262
10263 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10264
10265         * commandtags.h:
10266         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10267         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10268         value of Dialogs::tooltipsEnabled().
10269         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10270
10271 2002-03-08  Juergen Vigna  <jug@sad.it>
10272
10273         * BufferView_pimpl.C (updateInset): update inset inside inset also
10274         if it isn't inside theLockingInset().
10275
10276 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10277
10278         * buffer.C (asciiParagraph): redo some of the word and line length
10279         handling.
10280         (getLists): look for Caption instead of caption.
10281
10282 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10283
10284         * buffer.C (Buffer): initialize niceFile to true
10285         (makeLaTeXFile):
10286         (makeLinuxDocFile):
10287         (makeDocBookFile): make sure niceFile is true on exit
10288
10289 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10292
10293 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10294
10295         * LyXSendto.C: remove.
10296         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10297         * lyx_gui.C: remove now-redundant comment.
10298         * ColorHandler.h: remove forward declaration of class WorkArea.
10299         * lyxfunc.C: remove #include "WorkArea.h".
10300
10301 2002-03-07  Juergen Vigna  <jug@sad.it>
10302
10303         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10304         got moved away with the DEPM and also set the inset_owner always
10305         right which before could have been omitted.
10306
10307 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10308
10309         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10310         wanted layout is not found.
10311
10312 2002-03-07  Juergen Vigna  <jug@sad.it>
10313
10314         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10315
10316 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10317
10318         * paragraph.C (breakParagraph): use default layout not layout of
10319         prev paragraph.
10320         (Paragraph): clear ParagraphParameters.
10321
10322 2002-03-06  Juergen Vigna  <jug@sad.it>
10323
10324         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10325         otherwise it would not be a valid lenght. Fixed a special case in
10326         the minipage compatibility read where we end the document with a
10327         minipage.
10328
10329         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10330         was set as it could be 0 for InsetTexts first entry.
10331
10332 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10333
10334         * paragraph.C (writeFile): if layout is empty write out
10335         defaultLayoutName().
10336
10337         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10338         file without named layout we set layout to defaultLayoutName().
10339
10340 2002-03-06  Juergen Vigna  <jug@sad.it>
10341
10342         * CutAndPaste.C (copySelection): set layout for new paragraph.
10343
10344         * text.C (prepareToPrint): leave ERT inset left aligned
10345         (leftMargin): don't indent paragraphs inside ERT insets
10346
10347 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10348
10349         * paragraph.C (breakParagraph): dont call clear do the work manually
10350
10351         * paragraph.[Ch] (clear): remove function
10352
10353 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10354
10355         * paragraph.C (Paragraph): dont call clear, the work has already
10356         been done.
10357
10358         * lyxtextclass.C (operator): assert if n is empty
10359
10360         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10361         work manually instead.
10362
10363 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * BufferView_pimpl.C: protect selectionLost against text == 0
10366
10367 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10368
10369         * text.C (breakParagraph): fix a setting layout to '0' problem.
10370
10371 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10372
10373         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10374         final location of file, for the included files, and graphics.
10375
10376 2002-03-05  Juergen Vigna  <jug@sad.it>
10377
10378         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10379
10380 2002-03-04  Juergen Vigna  <jug@sad.it>
10381
10382         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10383
10384         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10385         last column of multicolumn cells.
10386         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10387
10388 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10389
10390         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10391         file if it doesn't go to a temporary file.
10392
10393         * buffer.C (sgmlOpenTag):
10394         (sgmlCloseTag):  remove extra newline insertion.
10395
10396 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10397
10398         * text.C (getRowNearY): comment out debug msg
10399
10400 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10401
10402         * text2.C: first -> first_y
10403
10404         * text.C (getRowNearY): add some attemts at a possible
10405         optimization, not working.
10406
10407         * tabular.[Ch]: add BufferParams to several function so that newly
10408         created paragraph can be initialized to he default layotu for the
10409         buffers textclass.
10410
10411         * tabular-old.C (ReadOld): add buf->params to call of Init
10412
10413         * screen.C: rename text->first to text->first_y
10414
10415         * paragraph.C (breakParagraph): always set layout in the broken
10416         paragraph
10417
10418         * lyxtextclass.C (Read): remove lowercase
10419         (hasLayout): ditto
10420         (operator): ditto
10421         (delete_layout): ditto
10422
10423         * lyxtext.h: rename first -> first_y
10424
10425         * lyxlayout.C (Read): remove lowercase
10426         (name): ditto
10427         (setName): ditto
10428         (obsoleted_by): ditto
10429
10430         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10431
10432         * buffer.C (insertErtContents): add params are to InsetERT
10433         (parseSingleLyXformat2Token): add code to check if a paragraphs
10434         layout really exist.
10435         (parseSingleLyXformat2Token): add params to several inset
10436         constructors
10437         (asciiParagraph): remove lowercase, do the layout comparisons with
10438         no_case
10439
10440         * BufferView_pimpl.C (cursorNext): first -> first_y
10441         (resizeCurrentBuffer): first -> first_y
10442         (updateScrollbar): first -> first_y
10443         (scrollCB): first -> first_y
10444         (workAreaMotionNotify): first -> first_y
10445         (workAreaButtonPress): first -> first_y
10446         (checkInsetHit): first -> first_y
10447         (cursorPrevious): first -> first_y
10448         (cursorNext): first -> first_y
10449         (Dispatch): add buffer_->params to severl inset contructors
10450
10451 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10452
10453         * lyxlayout.C (Read): remove some debug info that I forgot.
10454
10455         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10456         clean up the code slightly.
10457         (makeLinuxDocFile): ditto
10458         (makeDocBookFile): ditto
10459
10460         * text2.C: layout as string
10461
10462         * text.C: layout as string
10463
10464         * paragraph_pimpl.C: layout as string
10465
10466         * paragraph.[Ch]: layout as string
10467
10468         * lyxtextclasslist.[Ch]: layout as string
10469
10470         * lyxtextclass.[Ch]: layout as string
10471
10472         * lyxtext.h: layout as string
10473
10474         * lyxlayout.[Ch]: layout as string
10475
10476         * lyx_cb.C: layout as string
10477
10478         * bufferview_funcs.C: layout as string
10479
10480         * bufferparams.C: layout as string
10481
10482         * buffer.C: layout as string
10483
10484         * LyXView.[Ch]: layout as string
10485
10486         * LaTeXFeatures.[Ch]: layout as string
10487
10488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10489
10490         * BufferView_pimpl.C: change current_layout to string, remove
10491         lyx::layout_type.
10492         (Dispatch):
10493         (smartQuote):
10494         (insertInset):
10495         (workAreaButtonRelease): layout as string
10496
10497         * BufferView2.C (unlockInset): adjust
10498
10499         * vspace.C (asLatexCommand): use an explict temp variable.
10500
10501 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10502
10503         * Makefile.am: use FRONTEND_*
10504
10505 2002-03-01  Juergen Vigna  <jug@sad.it>
10506
10507         * tabular.C (SetWidthOfMulticolCell): changed to something better
10508         I hope but still work in progress.
10509         (recalculateMulticolumnsOfColumn): renamed function from
10510         recalculateMulticolCells as it is more appropriate now.
10511         (SetWidthOfCell): calculate multicols better.
10512
10513 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10514
10515         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10516
10517         * lyxfunc.C (processKeySym): print sequence also if it is
10518         `deleted' (complete)
10519
10520         * kbsequence.C (print): print sequence even if it is deleted
10521         (complete would be a better word, actually).
10522
10523         * lyxfunc.C (dispatch): print complete options after a prefix key
10524
10525         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10526
10527 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10528
10529         * text2.C (setCharFont): eliminate setCharFont code duplication.
10530
10531 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10532
10533         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10534         LFUN_TABULAR_FEATURE (bug #177)
10535
10536 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10537
10538         * Makefile.am: remove figure.h
10539
10540 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10541
10542         * Bufferview_pimpl.C:
10543         * CutAndPasteC:
10544         * LaTeX.C:
10545         * LyXSendto.C:
10546         * buffer.C:
10547         * bufferlist.C:
10548         * converter.C:
10549         * language.C:
10550         * lyxfunc.C:
10551         * lyxvc.C:
10552         * paragraph.C:
10553         * text.C:
10554         * text2.C: remove #include "lyx_gui_misc.h".
10555
10556         * LaTeX.C: added #include <cstdio>
10557
10558 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10559
10560         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10561         that the paragraph following this one can have.
10562
10563         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10564
10565         * vspace.C (asLatexCommand): fix bogus gcc warning
10566
10567         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10568
10569 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10570
10571         * text2.C (setLayout): get rid of redundant code
10572
10573 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10574
10575         * text2.C (incDepth): make sure depth cannot be increased beyond
10576         reasonable values.
10577
10578 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10579
10580         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10581         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10582
10583         * PainterBase.h (image):
10584         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10585         a LyXImage const *.
10586
10587 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * BufferView.C:
10590         * BufferView.h:
10591         * BufferView_pimpl.C:
10592         * BufferView_pimpl.h:
10593         * LaTeXFeatures.C:
10594         * LyXAction.C:
10595         * LyXView.C:
10596         * Makefile.am:
10597         * UpdateList.h:
10598         * UpdateList.C:
10599         * buffer.C:
10600         * figure.h:
10601         * figureForm.C:
10602         * figureForm.h:
10603         * figure_form.C:
10604         * figure_form.h:
10605         * lyx_cb.C:
10606         * lyx_gui.C:
10607         * lyx_gui_misc.C:
10608         * lyxfunc.C:
10609         * sp_base.h:
10610         * sp_ispell.h:
10611         * sp_pspell.h:
10612         * sp_spell.C: remove fig inset, and the crap house of
10613           cards that follows it
10614
10615 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * Makefile.am:
10618         * lyxserver.C:
10619         * os2_defines.h:
10620         * os2_errortable.h:
10621         * nt_defines.h: move .h into support/
10622
10623         * vms_defines.h: remove
10624
10625         * WorkArea.C: add space in debug output
10626
10627         * text2.C:
10628         * paragraph.C:
10629         * buffer.C: add WITH_WARNINGS
10630
10631         * vc-backend.h:
10632         * vc-backend.C:
10633         * bufferlist.C: s/retrive/retrieve/, add docs
10634
10635         * vspace.h:
10636         * vspace.C:
10637         * kbmap.h:
10638         * lyxlength.h:
10639         * lyxgluelength.h:
10640         * length_common.h:
10641         * chset.h:
10642         * chset.C: add docs
10643
10644         * lyxgui.C: add ID to X error handler
10645
10646         * lyxtestclass.c: fix typo
10647
10648 2002-02-26  Juergen Vigna  <jug@sad.it>
10649
10650         * tabular_funcs.C (write_attribute): changed so that some default
10651         attributes are not written at all.
10652         (getTokenValue): set default values before trying to read the
10653         value so we have the return value always set as default if we don't
10654         find the token we search for.
10655
10656         * tabular.C (Write): write bools as bools not as strings!
10657
10658 2002-02-22  Juergen Vigna  <jug@sad.it>
10659
10660         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10661         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10662
10663         * text.C (leftMargin): don't add an indent for paragraphs inside
10664         tabular cells (fix #208).
10665
10666 2002-02-21  José Matos  <jamatos@fep.up.pt>
10667
10668         * tabular.C (docBook): fixed support for long tables.
10669
10670 2002-02-20  Juergen Vigna  <jug@sad.it>
10671
10672         * text2.C (getFont): get the drawing font of the Inset if this
10673         paragraph is inside an inset (only important for InsetERT for now).
10674
10675         * buffer.C (insertErtContents): use new lanugage params in ERT
10676         constructor.
10677
10678         * CutAndPaste.C: commenting out seemingly uneeded code.
10679
10680 2002-02-19  Allan Rae  <rae@lyx.org>
10681
10682         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10683         Iterators might be simple to use but they also get invalidated.
10684         (removeAutoInsets): renamed saved cursor tracking variables and added
10685         some comments to clarify what everything does.
10686
10687 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10688
10689         * Chktex.C:
10690         * LaTeX.C:
10691         * LyXSendto.C:
10692         * converter.C:
10693         * lyx_cb.C:
10694         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10695         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10696
10697         * lyxfunc.C:
10698         * vc-backend.h: remove #include "support/syscall.h"
10699
10700         * LaTeX.C:
10701         * LyXSendto.C:
10702         * converter.C: rearrange #includes in Lars' approved fashion.
10703
10704         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10705         forward declare class Timeout in the header file.
10706
10707         * XFormsView.C: changes due to the above.
10708
10709         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10710         similar to LyXView.
10711
10712         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10713         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10714
10715 2002-02-18  José Matos  <jamatos@fep.up.pt>
10716
10717         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10718         insets contents.
10719
10720 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10721
10722         * a lot of small ws changes
10723         * add a lot of using std::XXX
10724         * use std construcs some places where approp.
10725         * use some exisint stuff from lyxfunctional where approp.
10726         * Make file changes to use partial linking (lets test this now...)
10727
10728 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10729
10730         * Chktex.C:
10731         * buffer.C:
10732         remove #include "support/syscontr.h" as it's redundant. Always has been.
10733
10734         * Chktex.C:
10735         * LaTeX.C:
10736         * LyXSendto.C:
10737         * converter.C:
10738         * lyx_cb.C:
10739         * vc-backend.C:
10740         change Systemcalls::System to Systemcalls::Wait and
10741         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10742         No change of functionality, just reflects the stripped down Systemcalls
10743         class.
10744
10745 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10746
10747         * debug.[Ch]: add a GRAPHICS type to the enum.
10748
10749 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10750
10751         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10752
10753         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10754         there is an inset.
10755
10756 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10759         match the changes below.
10760
10761         * text2.C (toggleInset): if there is not editable inset at cursor
10762         position, try to see if cursor is _inside_ a collapsable inset
10763         and close it.
10764
10765 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10766
10767         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10768         document menu has a nice checkbox
10769
10770 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10771
10772         * lyxlength.C (asLatexString): change PW to output as percent of
10773         \textwidth.
10774
10775         * lengthcommon.C: change '%' to 't%'
10776
10777         * lyxfunc.C (dispatch): a few comments from Martin
10778
10779 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * WorkArea.h:
10782         * WorkArea.C:
10783         * BufferView_pimpl.h:
10784         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10785           the X selection.
10786
10787 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * vspace.C (inPixels): fix compiler warning
10790
10791 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10792
10793         * lyxfunc.C (getStatus): fix status message for disabled commands.
10794
10795 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * BufferView_pimpl.C: fix crash on close buffer
10798         during selection (#227)
10799
10800 2002-01-27  Herbert Voss  <voss@lyx.org>
10801
10802         * buffer.C: link old Figure to new graphic inset
10803
10804 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10805
10806         * FontLoader.C (getFontinfo): Change the latex font names in order
10807         to match the names of type1inst.
10808
10809 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10810
10811         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10812
10813         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10814         (extchanged): ditto
10815         (ext_exist): ditto
10816         (remove_files_with_extension): ditto
10817         (remove_file): ditto
10818         (write): ditto
10819
10820         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10821         document is smaller than the work area height. Do not initialize
10822         static variables to 0.
10823
10824 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10825
10826         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10827
10828         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10829         LFUN_LAYOUT_PARAGRAPHS.
10830
10831         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10832         tabular. It is possible to provide a possible cell, which will
10833         typically be the actcell from the corresponding insettabular
10834
10835         * lyxfunc.C (getStatus): small cleanup; disable
10836         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10837         true
10838
10839 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10840
10841         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10842
10843         * paragraph.C (startTeXParParams):
10844         (endTeXParParams): new methods. The LaTeX code to
10845         start/end paragraph formatting
10846         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10847         empty (fixes bug #200)
10848
10849         * vspace.C (inPixels): adapt to the change below
10850         (inPixels): [later] more cleanups (remove unused variables)
10851
10852         * lyxlength.C (inPixels): change to use a width and a height as
10853         parameter.
10854
10855 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10856
10857         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10858         Replaced with \paperwidth
10859
10860         * DepTable.C (insert): add std:: qualifier
10861
10862 2002-01-18  Allan Rae  <rae@lyx.org>
10863
10864         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10865         updated also?
10866
10867         * text.C (drawInset): Turned out I didn't know enough about how
10868         rebreaking worked.  This fixes most of the redraw problems.  I see
10869         an occasional cursor trail when a line is broken now and the cursor
10870         placement can seem out by a few pixels also after a rebreak.
10871
10872 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * buffer.C (parseSingleLyXformat2Token): update because minipage
10875         width is now a LyXLength
10876
10877         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10878
10879         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10880         math insets
10881
10882 2002-01-17  Juergen Vigna  <jug@sad.it>
10883
10884         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10885
10886         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10887         is set correctly and the inset is updated correctly.
10888
10889 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10890
10891         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10892         the beginning of the loop.
10893
10894 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * lyxrc.C: improve help for use_scalable_fonts
10897
10898 2002-01-17  Allan Rae  <rae@lyx.org>
10899
10900         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10901
10902 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10903
10904         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10905         make sure to set their inset_owner to the right value (bug #171)
10906
10907 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10908
10909         * DepTable.h
10910         * DepTable.C: Implement mtime checking to reduce time spent doing
10911         CRCs.
10912
10913 2002-01-16  Juergen Vigna  <jug@sad.it>
10914
10915         * tabular.C (GetAdditionalHeight): one of error fixed.
10916
10917         * lyxrc.C (output): small fix in writing use_pspell.
10918
10919 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10920
10921         * sp_base.h: #include LString.h
10922
10923 2002-01-16  Allan Rae  <rae@lyx.org>
10924
10925         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10926         Can someone check this please?
10927
10928         * text.C (drawInset): It was possible that p.row would be removed by
10929         breakAgainOneRow upsetting a few other settings.  There may be another
10930         small tweak possible by setting need_break_row = 0 when p.row has been
10931         removed but I don't know enough about the logic here.
10932
10933 2002-01-15  Allan Rae  <rae@lyx.org>
10934
10935         * text.C (insertChar): removed conditional truism.
10936
10937         * BufferView2.C (removeAutoInsets): More tweaks.
10938         cur_par_prev could be a stray pointer.  Check for trailing empty line
10939         in case last line was cur_par and only had an error inset on it.
10940
10941 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10944         absolute
10945
10946         * vc-backend.C (most methods):
10947         * exporter.C (Export):
10948         * converter.C (convert):
10949         (runLaTeX):
10950         * LyXSendto.C (SendtoApplyCB):
10951         * lyxfunc.C (dispatch):
10952         (menuNew):
10953         (open):
10954         (doImport):
10955         * lyx_cb.C (AutoSave):
10956         (InsertAsciiFile):
10957         * BufferView_pimpl.C (MenuInsertLyXFile):
10958         * buffer.C (runChktex): use Buffer::filePath().
10959
10960         * buffer.h: rename filename to filename_; rename filepath to
10961         filepath_ and make it private
10962         (filePath): new method
10963
10964         * buffer.C (writeFile): use fileName()
10965         (getLatexName):
10966
10967         * lyx_main.C (init): fix starting  of LyX when the binary is a
10968         link from so,ewhere else.
10969
10970         * minibuffer.C: include <cctype> for isprint
10971
10972 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10973
10974         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10975         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10976         name clash with InsetCollapsable's width function.
10977
10978 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10979
10980         * lastfiles.C: include <iterator>
10981
10982 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10983
10984         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10985         std::count.
10986
10987         * buffer.C (makeLaTeXFile): ditto.
10988         Also make loop operation more transparent.
10989
10990 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10991
10992         * ToolbarDefaults.C: remove trailing comma closing namespace.
10993
10994         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10995
10996         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10997         as in WorkArea.
10998
10999         * trans.C (Load): comment out unused variable, allowed.
11000
11001 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11002
11003         * minibuffer.[Ch] (append_char): new method to recieve input from the
11004         drop-down completion browser. If a key was pressed, then recieve this
11005         char and append it to the existing string.
11006         (peek_event): modify the positioning data passed to the completion
11007         browser so that it can be placed above the minibuffer rather than below.
11008 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11009
11010         * LyXAction.C (init): alloe error-next for readonly documents.
11011
11012         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11013         count.
11014
11015 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11016
11017         * bufferlist.C (readFile): create the buffer _after_ checking that
11018         the file exists.
11019
11020         * lyxfunc.C (verboseDispatch): fix handling of arguments
11021
11022         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11023
11024         * lyxrc.C: use string::erase() instead of initializing to "".
11025
11026
11027 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11028
11029         * BufferView_pimpl.h:
11030         * BufferView_pimpl.C:
11031         * WorkArea.h:
11032         * WorkArea.C:
11033         * text2.C: tell X when we have made a selection for copying
11034
11035 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11036
11037         * BufferView_pimpl.C (MenuInsertLyXFile):
11038         * lyxfunc.C (menuNew):
11039         (open):
11040         (doImport): add shortcuts to directory buttons
11041
11042         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11043         open a float)
11044
11045         * lyxfunc.C (setStatusMessage):
11046         (getStatusMessage): new methods
11047         (getStatus):use setStatusMessage instead of setErrorMessage
11048         (dispatch): when function is disabled, set error message here
11049         [instead of in getStatus previously]
11050
11051         * BufferView_pimpl.C (workAreaButtonRelease): update
11052         toolbar/menubar here too.
11053
11054 2002-01-13  Allan Rae  <rae@lyx.org>
11055
11056         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11057         Now seems indestructible.  Remaining task is to audit all other
11058         code affected by deleteEmptyParagraphMechanism.  One small quirk
11059         left is that an empty document with an error in the preamble can
11060         be made to report an error but no error box appears.  I don't know
11061         where it goes.
11062         (removeAutoInsets): Improved comments.
11063
11064 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * Thesaurus.h:
11067         * Thesaurus.C: update for Aiksaurus 0.14
11068
11069 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11070
11071         * text2.C (firstParagraph): removed member function, all uses
11072         replaces with ownerParagraph
11073         (redoParagraphs): here
11074         (updateInset): here
11075         (toggleAppendix): here
11076         * BufferView2.C (insertErrors): here
11077         (setCursorFromRow): here
11078
11079 2002-01-13  Allan Rae  <rae@lyx.org>
11080
11081         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11082         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11083         There is still a way to segfault this although you may have to do this
11084         multiple times: Have an InsetERT with an unknown command in it.
11085         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11086         <down-arrow>, <Enter> again, View->DVI, BANG!
11087
11088         * text2.C (setCursor):
11089         (deleteEmptyParagraphMechanism):
11090         * lyxtext.h (setCursor):
11091         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11092         Making use of the return value may help fix other bugs.
11093
11094 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11097
11098         * LyXView.C (updateMenubar): call MenuBar::update here
11099         (updateToolbar): but not here
11100         (showState): do not update toolbar/menubar
11101
11102         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11103         should need to care about that.
11104
11105         * lyxfunc.C (verboseDispatch): simplify a bit
11106         (getStatus): have a version which takes a pseudoaction, and
11107         another which requires a (kb_action,string).
11108
11109         * LyXAction.C (retrieveActionArg): make it work also when action
11110         is not a pseudo-action.
11111         (getActionName): simplify a bit
11112         (helpText):
11113
11114 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11115
11116         * lyxfunc.C (verboseDispatch): new families of methods with
11117         several ways to specify a command and a bool to indicate whether
11118         the command name and shortcut should be displayed in minibuffer
11119         (eventually, we could extend that to a finer bitmask like
11120         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11121         (dispatch): the pristine dispatch command which just, well,
11122         dispatchs! Note it still sets its result to minibuffer; I'm not
11123         sure we want that.
11124
11125         * lyxfunc.h: remove setHintMessage
11126
11127         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11128
11129 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11130
11131         * BufferView_pimpl.C (specialChar): delete new inset if we have
11132         not been able to insert it.
11133
11134         * kbmap.C: revert to using int instead of kb_action, since all we
11135         are dealing with is pseudo-actions.
11136
11137         * LyXAction.C (searchActionArg): change to return int instead of
11138         kb_action, since the result is a pseudoaction.
11139
11140 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11141
11142         * buffer.C (insertErtContents): Fix (partially) the font bug.
11143
11144 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11145
11146         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11147         as the other one is broken on my machine!
11148
11149 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11150
11151         * commandtags.h:
11152         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11153
11154 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11155
11156         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11157         reflect their actual use. Provide compatibility code for older lyxrc
11158         files.
11159
11160         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11161         FL_NORMAL_STYLE.
11162         change names of popup font variables in line with the changes to lyxrc.C
11163
11164 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * buffer.C (asciiParagraph): avoid outputing a word twice after
11167         an inset.
11168
11169         * lyxrc.C (getDescription): document that document_path and
11170         template_path can be empty.
11171
11172 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11173
11174         * LaTeXFeatures.C (getMacros):
11175         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11176
11177         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11178
11179         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11180         getPackages.
11181         (getPackages): rename feature "floats" to "float". Use an array to
11182         iterate over 'simple' features (i.e. just a \usepackage). Add
11183         handling of "amsmath" (renamed from "amsstyle").
11184
11185 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11186
11187         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11188         features list.
11189
11190 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11193         FuncStaus::FuncStatus & FuncStaus::some_method().
11194
11195 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11196
11197         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11198         of the func_satus stuff. Edited and massaged in various ways by
11199         JMarc.
11200
11201         * lyxfunc.C (getStatus): use FuncStatus
11202
11203 2002-01-08  Juergen Vigna  <jug@sad.it>
11204
11205         * text.C (nextBreakPoint): use function Inset::isChar().
11206
11207         * paragraph.C (TeXOnePar): use function
11208         Inset::forceDefaultParagraphs.
11209
11210         * buffer.C (latexParagraphs): use function
11211         Inset::forceDefaultParagraphs.
11212
11213 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11214
11215         * lyx_gui.C (init): set the style of the menu popups to
11216         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11217
11218 2002-01-07  Juergen Vigna  <jug@sad.it>
11219
11220         * text.C (setHeightOfRow): small fix
11221         (prepareToPrint): don't look at alignment if we don't have the place
11222         for doing it.
11223
11224 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11225
11226         * box.C: New file. Move the Box methods and functions out of box.h,
11227         following Lars' suggestion.
11228
11229 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11230
11231         * box.h: #include "support/LOstream.h", needed for inlined function.
11232
11233         * lyxtextclass.C:
11234         * lyxtextclasslist.C: added some using std declarations.
11235
11236 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * box.h: make signed dimensions to allow insets wider than
11239           the screen (bug #162)
11240
11241         * BufferView_pimpl.C: add some insetHit debug
11242
11243 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11244
11245         * vc-backend.C: add FIXME
11246
11247 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * lyxfunc.C (getStatus): enable code for showing math font status
11250         in toolbar/menu.
11251
11252 2002-01-07  Juergen Vigna  <jug@sad.it>
11253
11254         * text.C (nextBreakPoint): removed debug output not needed anymore.
11255
11256 2002-01-06  Juergen Vigna  <jug@sad.it>
11257
11258         * text.C (nextBreakPoint): fixed up this function we had this bug
11259         since ever but now hopefully we break row better.
11260         (insertChar): we have to check if an inset is the next char as it
11261         could now happen that a large inset is causing a break.
11262
11263 2002-01-05  Juergen Vigna  <jug@sad.it>
11264
11265         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11266         if it doesn't like to be drawed.
11267
11268 2002-01-04  Juergen Vigna  <jug@sad.it>
11269
11270         * BufferView2.C (lockInset): forgot to set a cursor.
11271
11272         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11273
11274 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11275
11276         * FormMathsPanel.C:
11277         * FormMathsPanel.h
11278         * MathsSymbols.C:
11279         * form_maths_panel.C:
11280         * form_maths_panel.h:
11281         * form_maths_panel.fd: implemented sub- and super- buttons in math
11282         panel.
11283
11284         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11285         (or ^ space) to be used as in TeX (req'd by André).
11286
11287         * lyxfunc.C: Allow ^ and _ again to be used both as
11288         super/subscript (mathed) and as themselves (in text).
11289
11290 2002-01-03  Allan Rae  <rae@lyx.org>
11291
11292         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11293         "LyX" or the filename of the current buffer if it has one.  This is a
11294         modified form of John Levon's patch.
11295
11296         * XFormsView.C (setWindowTitle): also set icon title.
11297
11298         * LyXView.h (setWindowTitle): signature changed.
11299         * XFormsView.h (setWindowTitle): ditto.
11300
11301 2002-01-02  Juergen Vigna  <jug@sad.it>
11302
11303         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11304
11305 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * screen.C (topCursorVisible): introduce a temp var for
11308         text->cursor.row(), handle the case where this row is null. (kindo
11309         hachish)
11310
11311         * text2.C (setCursor): add a couple of asserts.
11312
11313         * paragraph.h (inset_iterator): add -> operator
11314
11315         * paragraph.[Ch] (autoDeleteInsets): remove member function
11316
11317         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11318         cursor pos correctly and handle inset deletion by itself.
11319         (insertErrors): move iterator declaration out of for expression
11320
11321         * lyxtextclass.C: add <algorithm>
11322
11323         * Makefile.am: added the new files to sources, removed layout.C
11324
11325         * layout.C: removed file
11326
11327         * layout.h: remove LYX_DUMMY_LAYOUT
11328
11329         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11330         layout.
11331
11332         * lyxlayout.[Ch]:
11333         * lyxtextclass.[Ch]:
11334         * lyxtextclasslist.[Ch]: new files
11335
11336         * include order changes to a lot of files, also changes because of
11337         the six new files.
11338
11339 2001-12-27  Juergen Vigna  <jug@sad.it>
11340
11341         * buffer.C (asciiParagraph): more fixes.
11342
11343         * tabular.C (ascii): make ascii export support export of only the
11344         data separated by a column-delimiter.
11345         (ascii): better support for ascii export.
11346
11347         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11348
11349 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11350
11351         * tabular_funcs.C: use a "using std::getline" instead of the
11352         previous fix from Angus (necessary for cxx + lyxstring)
11353
11354 2001-12-24  Juergen Vigna  <jug@sad.it>
11355
11356         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11357
11358         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11359         problems. First check a minipage also if we have some ert-contents
11360         (not only on par->size(), second set the right depth of the paragraph
11361         on the relink to the root-paragraph-list!
11362
11363         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11364         which then did not anymore update the main paragraphs on undo/redo!
11365
11366 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11367
11368         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11369         code. Support all font-changing funcs (even those which are not in
11370         menu currently). Support for reporting font settings in
11371         mathed (disabled until Andre provides a function on mathed's side).
11372
11373         * func_status.h (toggle): small helper function to set toggle
11374         state on a flag.
11375
11376 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11377
11378         * tabular_funcs.C: getline -> std::getline
11379
11380 2001-12-21  Juergen Vigna  <jug@sad.it>
11381
11382         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11383         accessed and could be 0 (I couldn't generate this but it seems
11384         Michael could!).
11385
11386 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11389         * tabular_funcs.h: here and include iosfwd
11390
11391 2001-12-20  Juergen Vigna  <jug@sad.it>
11392
11393         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11394         inside inset but undo_par was.
11395
11396 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11397
11398         * Thesaurus.C: always include <config.h> in sources.
11399
11400         * Painter.h:
11401         * lyxlookup.h:
11402         * box.h: do not include <config.h> in header files
11403
11404         * text.C (paintLastRow): remove unused variable
11405
11406         * text.C (transformChar):
11407         (insertChar):
11408         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11409
11410         * Painter.C (text):
11411         * font.C (width): rewrite to use uppercase() instead of
11412         islower/toupper.
11413
11414         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11415
11416 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * lyxfind.C: clean up of find failure position change
11419
11420 2001-12-20  Juergen Vigna  <jug@sad.it>
11421
11422         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11423
11424         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11425         (TeXRow): added to LaTeX a single tabular row.
11426         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11427         (Latex): simplified and finally good LT-h/f support.
11428         (various_functions): just small adaptions for LT-h/f support.
11429
11430         * tabular_funcs.[hC]: added and moved here all not classfunctions
11431         of LyXTabular.
11432
11433 2001-12-19  Juergen Vigna  <jug@sad.it>
11434
11435         * tabular.[Ch]: better support for longtabular options (not finished
11436         yet!)
11437
11438 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11439
11440         * text.C (paintLastRow): use the label font instead of the font of
11441         the last character to compute the size of *_BOX. This makes more
11442         sense and avoids a crash with empty paragraphs.
11443         Use Painter::rectangle to draw EMPTY_BOX.
11444
11445 2001-12-19  Juergen Vigna  <jug@sad.it>
11446
11447         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11448         the paragraphs if the replaced paragraph is not the first one!
11449         Tried to delete not used paragraphs but does not work yet so for
11450         now it's inside #ifdef's and by default off!
11451
11452 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * MenuBackend.C: include "lyx_main.h" instead of declaring
11455         lastfiles (actually was declared as LastFiles* instead of a
11456         scoped_ptr).
11457
11458 2001-12-17  Juergen Vigna  <jug@sad.it>
11459
11460         * tabular.C (AppendColumn): applied John's fix
11461
11462 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * BufferView.h:
11465         * BufferView.C:
11466         * BufferView_pimpl.h:
11467         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11468
11469         * Makefile.am:
11470         * box.h: new start of class for above
11471
11472         * lyxfunc.C: ignore space-only minibuffer dispatches.
11473           Show the command name when it doesn't exist
11474
11475         * minibuffer.C: don't add empty lines to the history
11476
11477         * minibuffer.C: add a space on dropdown completion
11478
11479 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * text.C: fix line above/below drawing in insets
11482
11483 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * lyxlength.C (LyXLength): Initialize private variables.
11486
11487 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11488
11489         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11490         when inserting error insets.
11491
11492 2001-12-13  Juergen Vigna  <jug@sad.it>
11493
11494         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11495         actually sometimes the before-paragraph.
11496         (setUndo): don't clear the redostack if we're not actually undoing!
11497
11498 2001-12-06  Juergen Vigna  <jug@sad.it>
11499
11500         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11501         and fixed redoing of main paragraph, so we can use it now ;)
11502
11503         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11504
11505 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11506
11507         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11508         Juergen's request
11509
11510 2001-12-13  André Pönitz <poenitz@gmx.net>
11511
11512         * undostack.[Ch]:
11513         * undo_func.C: minor cleanup
11514
11515 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11516
11517         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11518         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11519         font in urw-fonts package which is marked as -urw-fontspecific and
11520         does not work (incidentally, changing the encoding in the
11521         fonts.dir of this package to -adobe-fontspecific fixes the
11522         problem).
11523
11524         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11525         is a crash when undoing first paragraph (Juergen, please take a
11526         look). THis does not mean the undo fix is wrong, just that it
11527         uncovers problems.
11528
11529         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11530         the (Paragraph*) version when needed instead of duplicating the
11531         code.
11532
11533         * text.C (workWidth): use Inset::parOwner to find out where the
11534         inset has been inserted. This is a huge performance gain for large
11535         documents with lots of insets. If Inset::parOwner is not set, fall
11536         back on the brute force method
11537
11538         * paragraph_pimpl.C (insertInset):
11539         * paragraph.C (Paragraph):
11540         (cutIntoMinibuffer): set parOwner of insets when
11541         inserting/removing them
11542
11543         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11544
11545 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11546
11547         * commandtags.h:
11548         * LyXAction.C:
11549         * lyx_main.C:
11550         * lyxfunc.C:
11551         * mathed/formulabase.C:
11552         * mathed/math_cursor.[Ch]:
11553         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11554
11555
11556 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11557
11558         * lyxlength.[Ch] (operator!=): new function
11559
11560 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11561
11562         * text.C (workWidth): use Inset::parOwner to find out where the
11563         inset has been inserted. This is a huge performance gain for large
11564         documents with lots of insets. If Inset::parOwner is not set, fall
11565         back on the brute force method
11566
11567         * paragraph_pimpl.C (insertInset):
11568         * paragraph.C (Paragraph):
11569         (cutIntoMinibuffer): set parOwner of insets when
11570         inserting/removing them
11571
11572         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11573
11574 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11575
11576         * tabular-old.C (getTokenValue):
11577         * tabular.C (getTokenValue):
11578         (write_attribute): new versions for LyXLength
11579         (everywhere): adjust the use of widths
11580
11581         * tabular.h: change the type of widths from string to LyXLength
11582
11583 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11584
11585         * paragraph.C: fixed missing line number count when exporting
11586         Environments to LaTeX file
11587
11588         * buffer.C: added informational message for checking line numbers.
11589
11590 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11591
11592         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11593         paragraph, do the 'double space' part, but not the 'empty
11594         paragraph' one.
11595
11596         * text.C (workWidth): small optimization
11597         (getLengthMarkerHeight): use minimal size for negative lengths.
11598
11599 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11600
11601         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11602
11603         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11604
11605 2001-12-11  André Pönitz <poenitz@gmx.net>
11606
11607         * FontLoader.C:
11608         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11609
11610 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * text2.C: keep selection on a setFont()
11613
11614 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * lyx_cb.C: another bv->text misuse, from insert label
11617
11618 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11619
11620         * kbsequence.h:
11621         * kbsequence.C: re-instate nmodifier mask
11622
11623 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11624
11625         * lyx_main.h: make lyxGUI private.
11626
11627 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11628
11629         * lyxfind.C: place the cursor correctly on failed search
11630
11631 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11632
11633         * text.C (getLengthMarkerHeight): for small heights, the arrows
11634         are not always on top/bottom of the text
11635         (drawLengthMarker): smaller arrows; take the left margin in
11636         account; draw also vfills.
11637         (paintFirstRow):
11638         (paintLastRow): remove special code for vfill and standard spaces,
11639         since everything is handled in drawLengthMarker now.
11640
11641 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * buffer.C (insertErtContents): try to handle font and language
11644         interaction a bit better.g
11645
11646         * ColorHandler.C (updateColor): change the hash to cover the whole
11647         LColor enum, ws cleanup
11648         (getGCLinepars): ditto
11649         (getGCLinepars): only lookup in the linecache once.
11650
11651 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11652
11653         * iterators.C (operator++): Make the iterator more robust
11654
11655         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11656         (John's patch)
11657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11658
11659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * lyxtext.h:
11662         * text.C: better added space drawing
11663
11664 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * LyXView.C:
11667         * BufferView2.C: fix layout combo update on inset unlock
11668
11669 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * Makefile.am: don't compile unused files
11672
11673 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * lyxfunc.C:
11676         * commandtags.h:
11677         * LyXAction.C: remove old LFUN_LAYOUTNO
11678
11679 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * paragraph_pimpl.h:
11682         * paragraph_pimpl.C: isTextAt() doesn't need font param
11683
11684 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * lyxlex.h:
11687         * lyxlex.C: little cleanup
11688
11689 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * BufferView_pimpl.C: fix insertAscii for insets
11692
11693 2001-12-05  Juergen Vigna  <jug@sad.it>
11694
11695         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11696         set the right font on the "multi" paragraph paste!
11697
11698 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11699
11700         * trans_decl.h:
11701         * trans_mgr.[Ch]:
11702         * trans.[Ch]:
11703         * lyxgluelength.C:
11704         * lyxlength.C: remove out-commented code.
11705
11706         * BufferView_pimpl:
11707         * CutAndPaste.C:
11708         * DepTable.C:
11709         * buffer.C:
11710         * chset.C:
11711         * lastfiles.C:
11712         * lyxlex.C:
11713         * lyxlex_pimpl.C:
11714         * lyxserver.C:
11715         * screen.C:
11716         * tabular-old.C:
11717         * tabular.C:
11718         * text.C:
11719         * trans_mgr.C:
11720         * vc-backend.C: change "while(" to "while ("
11721
11722         * lyxlength.[Ch]: add zero function to check if length is zero or
11723         not
11724         * lyxgluelength.C: use it
11725
11726 2001-12-05  Allan Rae  <rae@lyx.org>
11727
11728         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11729         Works for 2.95.3, from what I understand of Garst's reports this should
11730         work for other g++ versions.  We're screwed if the abs(int) definition
11731         changed between bugfix releases of gcc.
11732
11733 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * text.C: fix chapter label offset !
11736
11737 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * lyxtext.h:
11740         * text.C: fix hfill at end of line, clean up
11741
11742 2001-12-04  Juergen Vigna  <jug@sad.it>
11743
11744         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11745         that we force an update of the inset and it's owners if neccessary.
11746
11747 2001-12-03  Juergen Vigna  <jug@sad.it>
11748
11749         * text.C (rowLast): simplified code
11750
11751 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11752
11753         * lyxfunc.C: fix show options on timeout
11754
11755 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11756
11757         * screen.C (topCursorVisible): scroll half a page when the cursor
11758         reached top of bottom of screen
11759
11760 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * minibuffer.C: deactivate on loss of focus
11763
11764 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11765
11766         * vspace.[Ch] (operator!=): add operator.
11767
11768 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11769
11770         * BufferView_pimpl.C: refuse to open an inset when
11771         there's a selection.
11772
11773 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * BufferView_pimpl.C: allow to click on RHS of full row insets
11776
11777 2001-11-30  Juergen Vigna  <jug@sad.it>
11778
11779         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11780         insets for undo reasons.
11781
11782 2001-11-28  André Pönitz <poenitz@gmx.net>
11783
11784         * vspace.[Ch]: cosmetical changes
11785
11786 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * LyXAction.h:
11789         * LyXAction.C:
11790         * lyxfunc.h:
11791         * lyxfunc.C:
11792         * kbmap.h:
11793         * kbmap.C:
11794         * lyxrc.C:
11795         * kbsequence.h:
11796         * kbsequence.C: part re-write of old kb code
11797
11798         * Painter.C:
11799         * WorkArea.C: remove Lgb_bug_find_hack
11800
11801 2001-11-30  José Matos <jamatos@fep.up.pt>
11802
11803         * buffer.C (makeDocBookFile): add a comment to point a hack.
11804         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11805         Fixed a double write of labels.
11806
11807 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11808
11809         * LaTeX.C:
11810         * LaTeX.h Fixed bug in LaTeX class where it would not
11811         re-run latex if no depfiles were changed, but the .dvi was removed.
11812
11813 2001-11-28  André Pönitz <poenitz@gmx.net>
11814
11815         * all the files from the change on 2001/11/26:
11816         use lyx::layout_type instead of LyXTextClass::size_type
11817         use lyx::textclass_type instead of LyXTextClassList::size_type
11818
11819 2001-11-29  Juergen Vigna  <jug@sad.it>
11820
11821         * text.C: added support for paragraph::isFreeSpacing()
11822
11823         * buffer.C: same as above
11824
11825         * paragraph.h: inserted isFreeSpacing() function to enable
11826         FreeSpacing inside InsetERT.
11827
11828         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11829         of the paragraph's in the cut/copy buffer to 0!
11830
11831         * text2.C (removeRow): remove the assert as it can!
11832
11833         * lyxtext.h: added helper function firstRow returning firstrow and
11834         made firstrow private again.
11835
11836         * BufferView2.C (lockInset): don't relock if we're already locked!
11837
11838         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11839         the only paragraph.
11840         (removeRow): added Assert::(firstrow)
11841
11842         * debug.C: forgot to add INSETTEXT here.
11843
11844 2001-11-28  Juergen Vigna  <jug@sad.it>
11845
11846         * sp_spell.C (initialize): changed error text to more general
11847         spellchecker command use (not only ispell!)
11848
11849         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11850
11851         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11852
11853 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * vspace.C: initialise lyxgluelength on failure
11856
11857 2001-11-28  Allan Rae  <rae@lyx.org>
11858
11859         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11860         declaration & definition that looks like a function declaration.
11861
11862 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11863
11864         * BufferView2.C (copy):
11865         (copyEnvironment): do not clear the selection when doing a copy.
11866
11867         * text.C (paintFirstRow): compilation fix
11868
11869 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11870
11871         * tabular.C (Latex): correct line count when writing latex.
11872
11873 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * paragraph_pimpl.h:
11876         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11877           bug a bit
11878
11879 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * text.C:
11882         * LColor.h:
11883         * LColor.C: change vfillline->added_space
11884
11885         * text.C: add markers and text for added space
11886
11887         * vspace.C: fix comment
11888
11889 2001-11-28  André Pönitz <poenitz@gmx.net>
11890
11891         * paragraph.C: whitespace changes
11892         * all the other files from the change on 2001/11/26:
11893         change *::pos_type into lyx::pos_type
11894
11895 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11896
11897         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11898         language of the document when inserting error insets.
11899
11900 2001-11-26  André Pönitz <poenitz@gmx.net>
11901
11902         * BufferView_pimpl.[Ch]:
11903         *       CutAndPaste.C:
11904         * buffer.[Ch]:
11905         * lyxcursor.[Ch]:
11906         * lyxfind.C:
11907         * lyxfunc.C:
11908         * lyxrow.[Ch]:
11909         * paragraph.[Ch]:
11910         * paragraph_pimpl.[Ch]:
11911         * sp_spell.C:
11912         * text.C:
11913         * text2.C: reduce header dependencies, introduce type for positions
11914
11915 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * <various>: change to use Alert.h
11918
11919 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11920
11921         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11922         when encountering an unknown token.
11923         (readLyXformat2): Show an error message if there were unknown tokens.
11924
11925 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * BufferView2.C:
11928         * BufferView_pimpl.C:
11929         * buffer.C:
11930         * paragraph.h:
11931         * text.C:
11932         * text2.C: use par->isInset()
11933
11934 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11935
11936         * paragraph_pimpl.h:
11937         * paragraph_pimpl.C: cleanup
11938
11939 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11940
11941         * text2.C (removeRow):
11942         * text.C (setHeightOfRow): remove useless (and costly) call to
11943         getRow.
11944
11945 2001-11-20  Allan Rae  <rae@lyx.org>
11946
11947         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11948         Now need Inset*::checkInsertChar() to return true for appropriate
11949         cases so that the characters in the minibuffer will actually be
11950         inserted.
11951
11952 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * text.C: change the order of the includes.
11955         (workWidth): initialize it at once.
11956         (workWidth): make maxw unsigned
11957         (setHeightOfRow): remove unused variable (inset)
11958         (selectSelectedWord): remove unused variable (inset)
11959         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11960
11961 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11962
11963         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11964         server is not running.
11965         (openConnection):
11966         (closeConnection): add debug info when server is disabled.
11967
11968         * ColorHandler.C (getGCForeground): send debug message to GUI
11969         channel.
11970
11971         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11972
11973         * kbmap.C (bind): modify because return conventions of
11974         kb_sequence::parse have changed.
11975
11976         * kbsequence.C (parse): only ignore spaces and not any stupid
11977         control character. This avoids tests like s[i] <= ' ', which are
11978         guaranteed to fail with 8bit characters and signed chars.
11979         Change return code to string::npos when there have been no error
11980         (0 was a bad idea when error is at first character)
11981
11982 2001-11-14  José Matos  <jamatos@fep.up.pt>
11983
11984         * buffer.h:
11985         * buffer.C (simpleDocBookOnePar): removed unused argument.
11986
11987 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11988
11989         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11990         insets which are part of a word. Paragraph::isLetter takes care of
11991         that now. Use Paragraph::isInset to identify insets.
11992         (selectSelectedWord): do not test for hyphenation break.
11993
11994         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11995         that protected spaces are considered as spaces.
11996
11997         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11998         Inset::isLetter.
11999
12000 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * lyxserver.h:
12003         * lyxserver.C: fix it. and small cleanup.
12004
12005 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * BufferView_pimpl.C: use inline helpers
12008
12009         * LaTeXFeatures.h:
12010         * LaTeXFeatures.C: fix typos
12011
12012         * Spacing.h:
12013         * Spacing.C: move spacing_string into class
12014
12015         * ToolbarDefaults.C: move stuff into namespace anon
12016
12017         * layout.h: update enum
12018
12019         * lyxfunc.C: use better debug
12020
12021         * minibuffer.h: fix typo
12022
12023         * debug.h:
12024         * debug.C:
12025         * WorkArea.C: add and use Debug::WORKAREA
12026
12027         * lyxtext.h:
12028         * text.C:
12029         * text2.C: code re-organisation, inline helpers
12030
12031 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12032
12033         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12034         std::vector.empty().
12035
12036 2001-11-09  Allan Rae  <rae@lyx.org>
12037
12038         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12039         '\n's after tables.  Tabular and ERT inset work now makes this no
12040         longer necessary.
12041
12042 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * minibuffer.h:
12045         * minibuffer.C: fix crash, improve drop-down completion
12046
12047 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * lyxserver.h:
12050         * lyxserver.C: invalidate fd's when doing endPipe()
12051
12052 2001-11-08  José Matos  <jamatos@fep.up.pt>
12053
12054         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12055         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12056
12057         * paragraph.h:
12058         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12059
12060 2001-11-07  José Matos  <jamatos@fep.up.pt>
12061
12062         * buffer.h:
12063         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12064         const qualifier.
12065
12066         * buffer.C (sgmlOpenTag):
12067         * buffer.C (sgmlCloseTag): removed debug info.
12068
12069         * buffer.h (sgmlOpenTag):
12070         * buffer.h (sgmlCloseTag): made public.
12071
12072 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12073
12074         * buffer.C (saveParamsAsDefaults):
12075         * lyx_cb.C (MenuLayoutSave): remove
12076
12077         * LyXAction.C (init):
12078         * commandtags.h:
12079         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12080
12081 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12082
12083         * buffer.C (setPaperStuff): removed from here...
12084
12085         * bufferparams.C (setPaperStuff): ... and moved there.
12086
12087 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * minibuffer.h:
12090         * minibuffer.C:
12091         * XFormsView.C: add support for drop-down completion
12092
12093 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12094
12095         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12096         commands.
12097
12098 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12099
12100         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12101         disabled.
12102
12103 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * lyx_main.C: change ref to known bugs
12106
12107 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12108
12109         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12110         to work around older babel problems.
12111
12112 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12113
12114         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12115
12116 2001-10-24  Juergen Vigna  <jug@sad.it>
12117
12118         * tabular-old.C (ReadOld): below variable changes reflected.
12119
12120         * tabular.[Ch]: added ltType struct for longtable header/footer
12121         defines and changed all instances where they are used. Added
12122         future support for double top/bottom rows.
12123
12124 2001-10-24  José Matos  <jamatos@fep.up.pt>
12125
12126         * buffer.h (docbookHandleCaption):
12127         * buffer.C (docbookHandleCaption): removed unused function.
12128         (makeDocBookFile): moved docbook supported version to v4.1.
12129
12130 2001-10-24  José Matos  <jamatos@fep.up.pt>
12131
12132         * tabular.h:
12133         * tabular.C (docbookRow): new function to export docbook code of a row.
12134         (DocBook): now honors the longtable flags.
12135
12136 2001-10-23  José Matos  <jamatos@fep.up.pt>
12137
12138         * LaTeXFeatures.h:
12139         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12140         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12141
12142         * buffer.C (makeLinuxDocFile):
12143         (makeDocBookFile): reworked the preamble, more clean, and with
12144         support for lyx defined entities. Changed the document declaration
12145         to be more XML friendly.
12146
12147         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12148         if we need to output XML that should be done with a filter.
12149
12150 2001-10-22  Juergen Vigna  <jug@sad.it>
12151
12152         * sp_pspell.h (class PSpell): add alive function needed in the
12153         controller to see if the spellchecker could be started.
12154
12155 2001-10-22  Juergen Vigna  <jug@sad.it>
12156
12157         * buffer.C (insertStringAsLines): modify the font for inserting
12158         chars in certain conditions by calling checkInsertChar(font).
12159
12160 2001-10-19  Juergen Vigna  <jug@sad.it>
12161
12162         * text.C (workWidth): use getRow instead of wrong algorithm.
12163         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12164
12165 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * lyxserver.h:
12168         * lyxserver.C:
12169         * lyx_main.h:
12170         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12171
12172 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12173
12174         * text.C (workWidth): do not search for the exact row when
12175         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12176         optimization for big documents.
12177
12178 2001-10-18  Juergen Vigna  <jug@sad.it>
12179
12180         * text.C (workWidth): new function with added Inset * parameter.
12181
12182 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12185
12186         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12187         change return type of getColumnNearX.
12188
12189
12190         * text.C (changeRegionCase): use uppercase/lowercase instead of
12191         toupper/tolower.
12192         (leftMargin):
12193         (rightMargin): simplify code by factoring out the uses of
12194         textclasslist.
12195         (labelFill):
12196         (numberOfHfills):
12197         (setHeightOfRow):
12198         (appendParagraph): use Paragraph::size_type
12199
12200 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12201
12202         * vspace.C (asLatexString): add a missing break
12203
12204 2001-10-15  Herbert Voss  <voss@perce.de>
12205
12206         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12207
12208 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12209
12210         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12211         is not available.
12212
12213 2001-10-10  André Pönitz <poenitz@gmx.net>
12214
12215         * lyxfunc.C: removed greek_kb_flag.
12216
12217 2001-10-10  Herbert Voss  <voss@perce.de>
12218
12219         * lyx_main.C: delete global string help_lyxdir.
12220
12221 2001-10-09  Herbert Voss  <voss@perce.de>
12222
12223         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12224
12225         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12226
12227         * lyx_main.C: added global string help_lyxdir.
12228
12229         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12230
12231 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12232
12233         * lyxrc.C (set_font_norm_type): support iso8859-4
12234
12235 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12236
12237         * LaTeX.C (deplog): add another regex for MikTeX
12238
12239 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12240
12241         * lyxrc.C (set_font_norm_type): support iso8859-3
12242
12243 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12244
12245         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12246
12247         * LaTeXFeatures.C: remove special case of french and index
12248
12249         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12250         before \begin{document}). This solves several incompatibilities.
12251
12252 2001-10-03  Garst Reese  <reese@isn.net>
12253
12254         * lyx_cb.C: change CheckTex error msg.
12255
12256 2001-10-03  José Matos  <jamatos@fep.up.pt>
12257
12258         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12259
12260 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12261
12262         * .cvsignore: update
12263
12264         * lyx_main.C (commandLineVersionInfo): use new style version info.
12265
12266         * buffer.C (writeFile):
12267         (makeLaTeXFile):
12268         (makeLinuxDocFile):
12269         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12270
12271         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12272
12273         * version.h: update to use stuff in version.C
12274
12275         * version.C.in: new file. Contains version information determined
12276         at compile time. This is a merging of version.h and
12277         version_info.h.in.
12278
12279 2001-10-03  Juergen Vigna  <jug@sad.it>
12280
12281         * BufferView_pimpl.C (update): don't change "dirty" status in
12282         updateInset call.
12283
12284 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12285
12286         * WorkArea.C (c-tor): re-position version string slightly.
12287
12288 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12289
12290         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12291         revert to previous code.
12292
12293         WorkArea.[Ch]: (show, destroySplash): methods removed.
12294
12295         WorkArea.C: rework code so that it's an amalgam of the codes before and
12296         after the splash screen was moved to WorkArea.
12297
12298 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12299
12300         * lyxrc.C (read):
12301         * vspace.C (inPixels):
12302         (lyx_advance):
12303         * kbmap.C (bind):
12304         * buffer.C (insertStringAsLines):
12305         (asciiParagraph): fix types to be large enough
12306
12307         * lyxlex_pimpl.h: change member status from short to int
12308
12309         * layout.h: fix type of endlabeltype
12310
12311         * kbmap.C (bind):
12312         * kbsequence.C (parse): change return type to string::size_type
12313
12314         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12315         variable
12316
12317         * Bullet.C (bulletSize):
12318         (bulletEntry): do not use short ints as parameters
12319
12320         * BufferView2.C (insertLyXFile): change a char to an int.
12321
12322         * WorkArea.C (WorkArea): remove unneeded floats in computation
12323
12324 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12325
12326         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12327
12328         * paragraph.C (asString): Do not ignore newline/hfill chars when
12329         copying to the clipboard.
12330
12331 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12334         after a multi-line inset.
12335
12336 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12337
12338         * paragraph.C (validate): Set NeedLyXFootnoteCode
12339
12340 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12341
12342         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12343         and decrease-error to decrease.
12344
12345 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12346
12347         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12348         it more readable (should be equivalent)
12349
12350 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12351
12352         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12353
12354 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12355
12356         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12357         of a cursor (row, etc.) after a character has been deleted
12358         (deleteEmptyParagraphMechanism): call the method above on _all_
12359         cursors held by the LyXText when a double space has been
12360         detected/deleted.
12361
12362 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12363
12364         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12365         pixmap.
12366         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12367
12368         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12369         background. Use greyOut() and the new show() methods to toggle between
12370         the foreground and background. Add code to remove the splash after
12371         its initial showing.
12372
12373         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12374         (create_forms): no longer call Dialogs::showSplash.
12375
12376 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12377
12378         * .cvsignore: add version_info.h
12379
12380 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12381
12382         * version_info.h.in: new file
12383
12384         * Makefile.am: add version_info.h.in
12385
12386         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12387         version_info.h instead of VERSION_INFO
12388
12389 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12392         The ERT inset now returns string().
12393
12394 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12395
12396         * lyxtext.h, text.C (selectNextWord): renamed as
12397         selectNextWordToSpellcheck.
12398
12399         * text.C (selectNextWordToSpellcheck): Modified to not select
12400         words inside an ERT inset.
12401
12402 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12403
12404         * lyx_cb.C (MenuLayoutSave): change a bit the question
12405
12406         * sp_base.h: include <sys/types.h>
12407
12408 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12409
12410         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12411
12412 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12413
12414         * several files: fix typos in user-visible strings
12415
12416 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12417
12418         * text2.C (pasteSelection): do not set the selection, since it
12419         will be cleared later. Actually, the intent was to fix the way the
12420         selection was set, but I figured rmoving the code was just as good.
12421
12422 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12423
12424         * FontLoader.C (available): Check if font is available without
12425         loading the font.
12426
12427 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12428
12429         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12430
12431 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12432
12433         * lyxrc.[Ch]: added display_graphics variable and associated code.
12434
12435 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12436
12437         * bufferparams.C (hasClassDefaults): new method. Returns true if
12438         the buffer parameters correspond to known class defaults
12439
12440 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12441
12442         * XFormsView.C (show): set minimum size to the main window.
12443
12444 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12445
12446         * text2.C (copySelection):
12447         (cutSelection):
12448         * lyxfind.C (LyXReplace):
12449         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12450         LyXText::selectionAsString.
12451
12452         * paragraph.C (asString): add "label" argument to the second form
12453
12454         * text2.C (selectionAsString): add "label" argument and pass it to
12455         Paragraph::asString.
12456
12457 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * lyx_main.C (commandLineHelp): remove version information
12460
12461 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12462
12463         * lyx_main.C: add -version commandline option
12464
12465 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12466
12467         * paragraph.h: make the optional constructor arg required instead.
12468         some modifications to other files because of this.
12469
12470         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12471
12472         * lyxserver.C (C_LyXComm_callback): make it static
12473
12474         * lyx_main.C (error_handler): make it static
12475
12476         * lyx_gui.C (LyX_XErrHandler): make it static
12477
12478         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12479
12480         * WorkArea.C: make the extern "C" methods static.
12481
12482         * Makefile.am (lyx_LDADD): simplify
12483
12484 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12485
12486         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12487         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12488
12489         * LyXAction.C (init):
12490         * lyxfunc.C (dispatch): associated code removal.
12491
12492 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12493
12494         * lyxfont.h (isSymbolFont): shut off warning
12495
12496         * text.C (setHeightOfRow):
12497         (getVisibleRow): fix crash with empty paragraphs which have a
12498         bottom line
12499
12500 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12501
12502         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12503         code.
12504
12505 2001-09-04  José Matos  <jamatos@fep.up.pt>
12506         * buffer.C
12507         * buffer.h
12508         * tabular.C (docbook): rename docBook method to docbook.
12509
12510 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12511
12512         * Makefile.am: add dependencies to main.o.
12513
12514 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12515
12516         * FontLoader.C (available): Return false if !lyxrc.use_gui
12517
12518 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12519
12520         * FontInfo.C (query):
12521         * converter.C (view):
12522         * importer.C (Import):
12523         * exporter.C (Export): Can not -> cannot.
12524
12525 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12526
12527         * BufferView_pimpl.C: allow to create index inset even if
12528           string is empty
12529
12530 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12531
12532         * buffer.C (getLists): replace boost::tie code with an explicit pair
12533         as boost::tie can break some compilers.
12534
12535         * iterators.h: Added a std:: declaration to the return type of
12536         ParIterator::size.
12537
12538 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12541           case.
12542
12543 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12544
12545         * iterators.[Ch]: New files. Provide paragraph iterators.
12546
12547         * buffer.C (changeLanguage): Use paragraph iterators.
12548         (isMultiLingual): ditto
12549
12550         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12551
12552 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12553
12554         * FontLoader.C: Support for cmr font.
12555
12556 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12557
12558         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12559         (available): New method.
12560
12561         * FontInfo.C (getFontname): Use scalable fonts even when
12562         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12563         found.
12564
12565 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12566
12567         * converter.C (Formats::view): reverted! Incorrect fix.
12568
12569 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12570
12571         * converter.C (Formats::view): only output the -paper option
12572         if the dvi viewer is xdvi, thereby fixing bug #233429.
12573
12574 2001-08-23  Herbert Voss  <voss@perce>
12575
12576         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12577
12578 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12579
12580         * Spacing.h (Spacing): Set space to Default on in the default
12581         constructor.
12582
12583 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12584
12585         * vc-backend.h (RCS::versionString): add RCS to version
12586         (CVS::versionString): add CVS to version
12587
12588         * vc-backend.C (scanMaster): do not add CVS to version.
12589         (scanMaster): do not add RCS to version
12590
12591         * lyxvc.C (versionString): new method
12592
12593         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12594
12595 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12596
12597         * Spacing.C (set): initialize fval
12598
12599 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12600
12601         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12602         " or \.
12603
12604 2001-08-16  Juergen Vigna  <jug@sad.it>
12605
12606         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12607
12608 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12609
12610         * BufferView_pimpl.C:
12611         * figureForm.C:
12612         * lyxtext.h:
12613         * text2.C: setParagraph takes linespacing now
12614
12615 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * LyxAction.C: add internal LFUN_CITATION_INSERT
12618
12619         * LyXView.C: actually apply fix
12620
12621         * bufferlist.C: fix open non-existent file
12622
12623         * lyxfind.C: fix indentation
12624
12625         * lyxfunc.C: remove unneeded assert, fix typo
12626
12627 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * MenuBackend.C: use "Floatname List"
12630
12631 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12632
12633         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12634         when converting LaTeX layout to insetERT.
12635         Generate a non-collapsed float when reading old float
12636
12637 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12638
12639         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12640         ERT insets.
12641
12642 2001-08-13  Juergen Vigna  <jug@sad.it>
12643
12644         * text.C (fill): return 0 instead of 20 as this seems to be the more
12645         correct value.
12646
12647 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12648
12649         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12650         lyxrc.font_norm.
12651
12652 2001-08-13  Juergen Vigna  <jug@sad.it>
12653
12654         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12655         casesensitive off.
12656         (SearchBackward): comment out the unlocking of the inset_owner this
12657         should not be needed!
12658
12659 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12660
12661         * Many files: Remove inherit_language, and add latex_language
12662
12663         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12664         collapsible insets.
12665
12666 2001-08-10  Juergen Vigna  <jug@sad.it>
12667
12668         * text.C (prepareToPrint): fixed hfill-width in draw!
12669
12670         * BufferView2.C (selectLastWord): save the selection cursor as this
12671         now is cleared in the function LyXText::clearSelection!
12672
12673 2001-08-08  Juergen Vigna  <jug@sad.it>
12674
12675         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12676         BACKSPACE type functions.
12677
12678         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12679         is only cutted from the document but not put in the cut-buffer, where
12680         still the old stuff should be.
12681
12682         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12683
12684         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12685
12686         * tabular.C (SetWidthOfCell): fixed special case where the width
12687         was not updated!
12688         (LeftLine): handle '|' in align_special.
12689         (RightLine): ditto
12690         (LeftAlreadyDrawed): ditto
12691         (SetWidthOfCell): ditto
12692
12693 2001-08-07  Juergen Vigna  <jug@sad.it>
12694
12695         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12696
12697 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12700         * lyxlex.[hC]: ditto
12701
12702 2001-08-06  Juergen Vigna  <jug@sad.it>
12703
12704         * text.C (getVisibleRow): fix up row clearing a bit.
12705
12706 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12707
12708         * minibuffer.C: make sure the X server sees the changes in the input.
12709
12710 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * paragraph.C (getFont): split into...
12713         (getLabelFont): this
12714         (getLayoutFont): and this
12715         * paragraph_pimpl.C (realizeFont): calling this
12716
12717         * text2.C (getFont): split into...
12718         (getLayoutFont): this
12719         (getLabelFont): and this
12720         (realizeFont): all three calling this
12721
12722         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12723         files where used.
12724
12725 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12726
12727         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12728
12729 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12730
12731         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12732         layouts from the Quote inset insertion.
12733
12734 2001-08-03  Juergen Vigna  <jug@sad.it>
12735
12736         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12737
12738         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12739         only if status not is already CHANGED_IN_DRAW (second level).
12740
12741         * text.C (draw): don't set the need_break_row when inside an
12742         InsetText LyXText.
12743
12744 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12745
12746         * buffer.C (parseSingleLyXformat2Token): handle more latex
12747         conversion cases.
12748
12749         * bufferview_funcs.[hC]: change function names to
12750         begin with small char, adjust other files.
12751
12752 2001-08-02  André Pönitz <poenitz@gmx.net>
12753
12754         * lyxfunc.C:
12755         BufferView_pimpl.C: remove broken special code for math-greek
12756
12757 2001-08-02  Juergen Vigna  <jug@sad.it>
12758
12759         * BufferView_pimpl.C (update): redone this function so that we
12760         update the text again if there was a CHANGE_IN_DRAW.
12761
12762         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12763         (drawFromTo): added a new internal bool which is used by draw() and
12764         redraw() function.
12765         (general): some cursor drawing problems fixed.
12766
12767 2001-08-01  Juergen Vigna  <jug@sad.it>
12768
12769         * lyxfind.C (LyXFind): fixed
12770         (SearchForward): ditto
12771         (SearchBackward): ditto
12772
12773         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12774         spurius drawing of the cursor in the main area.
12775
12776         * text2.C (status): small fix which could lead to a segfault!
12777         (clearSelection): remove unneeded BufferView param.
12778
12779 2001-08-01  André Pönitz <poenitz@gmx.net>
12780
12781         * lyxfunc.C: small change due to changed mathed interface
12782
12783 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12784
12785         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12786
12787 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12788
12789         * lyxfunc.c: fail gracefully if file doesn't exist
12790
12791         * LyXSendto.C:
12792         * buffer.C:
12793         * lyxfunc.C:
12794         * BufferView_pimpl.C: IsDirWriteable() proto changed
12795
12796         * LyXView.C: fix updateWindowTitle() to store the last title
12797
12798 2001-07-31  Juergen Vigna  <jug@sad.it>
12799
12800         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12801         the font (wrong since using of Paragraph::highestFontInRange).
12802
12803         * paragraph.C (highestFontInRange): added a default_size parameter.
12804
12805         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12806         (setHeightOfRow): reformat
12807
12808 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12809
12810         * converter.[hC] + affected files: move to (inital-char)lowercase
12811         function names.
12812
12813         * ParagraphParameters.C (ParagraphParameters): remove commented code
12814
12815         * PainterBase.[Ch]: remove commented code
12816
12817         * LaTeXFeatures.h: add "bool floats" for float.sty
12818
12819         * LaTeXFeatures.C (LaTeXFeatures): init floats
12820         (require): handle float
12821         (getPackages): do it with floats
12822
12823 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12824
12825         * BufferView_pimpl.C (Dispatch): improve handling of
12826         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12827
12828         * commandtags.h: #include lyxfont.h here temporarily to avoid
12829         keybinding bug.
12830
12831         * bufferlist.h: include LString.h here.
12832
12833 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * text2.C (getStringToIndex): new method.
12836
12837 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12838
12839         * *: Reduced header file dependencies all over.
12840
12841 2001-07-30  Baruch Even  <baruch@lyx.org>
12842
12843         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12844
12845 2001-07-29  Baruch Even  <baruch@lyx.org>
12846
12847         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12848
12849 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12850
12851         * ParameterStruct.h (endif): add a default constructor to make
12852         sure that all variables is initialized.
12853
12854         * ParagraphParameters.C (ParagraphParameters): adjust
12855
12856 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12857
12858         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12859         index; also, check that there is something to index, and that it
12860         does not span over several paragraphs.
12861         (doubleClick): use WHOLE_WORD_STRICT for double click.
12862
12863         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12864
12865         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12866         scheme.
12867
12868 2001-07-26  Baruch Even  <baruch@lyx.org>
12869
12870         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12871         an InsetFig figure, backwards compatible reading of old figure code.
12872
12873 2001-07-27  Juergen Vigna  <jug@sad.it>
12874
12875         * text2.C: font.realize function adaption.
12876
12877         * text.C (draw): add a warnings lyxerr text if needed.
12878
12879         * layout.C: font.realize function adaption.
12880
12881         * language.C: add inherit_language and implement it's handlings
12882
12883         * bufferview_funcs.C (StyleReset): remove language parameter from
12884         font creation (should be language_inherit now).
12885
12886         * bufferparams.C (writeFile): handle ignore_language.
12887
12888         * paragraph.C (getFontSettings): the language has to be resolved
12889         otherwise we have problems in LyXFont!
12890
12891         * lyxfont.C (lyxWriteChanges): added document_language parameter
12892         (update): removed unneeded language parameter
12893
12894         * paragraph.C (validate): fixed wrong output of color-package when
12895         using interface colors for certain fonts in certain environments,
12896         which should not seen as that on the final output.
12897
12898 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12899
12900         * BufferView_pimpl.C:
12901         * Thesaurus.h:
12902         * Thesaurus.C:
12903         * Makefile.am:
12904         * commandtags.h:
12905         * LyXAction.C: add thesaurus support
12906
12907         * lyxfind.h:
12908         * lyxfind.C: add "once" parameter, for thesaurus, to not
12909           move to the next match
12910
12911 2001-07-26  Juergen Vigna  <jug@sad.it>
12912
12913         * lyxfont.C (realize): honor ignore_language too!
12914         (resolved): ditto.
12915
12916         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12917
12918         * text.C (draw): one place more for ignore_language to not draw
12919         itself!
12920
12921 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12922
12923         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12924
12925 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12926
12927         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12928         the minipage conversion problem.
12929
12930 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12931
12932         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12933         insert an inset.
12934
12935 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * BufferView.h: don't forward declare WorkArea
12938
12939         * BufferView.C: don't include WorkArea.h
12940
12941 2001-07-25  André Pönitz <poenitz@gmx.net>
12942
12943         * commandtags.h:
12944         * LyXAction.C:
12945         * lyxfunc.C:  new LFUN 'math-space'
12946
12947         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12948
12949 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * text2.C (toggleInset): call open/close
12952
12953 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * lyxfunc.C (dispatch): add debug for the disabled case
12956
12957         * font.C (buttonText): make similar to rectText
12958
12959         * buffer.C (readInset): comment out parsing of insetlist and
12960         insttheorem
12961
12962         * PainterBase.C (rectText): small correction
12963
12964         * BufferView_pimpl.C: comment out insettheorem and insetlist
12965         * LyXAction.C: ditto
12966         * commandtags.h: ditto
12967
12968 2001-07-24  Juergen Vigna  <jug@sad.it>
12969
12970         * text.C (draw): honor the ignore_language.
12971
12972         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12973
12974 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12975
12976         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12977         char inset.
12978
12979 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12980
12981         * lyxtext.h: remove unused (and unimplemented) methods
12982
12983 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12984
12985         * text.C (getVisibleRow): honor background color
12986
12987         * PainterBase.h:
12988         * Painter.h: remove default color argument for fillRectangle
12989
12990         * text.C (backgroundColor): new method
12991
12992 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * text.C (getVisibleRow): adjust
12995
12996         * font.[Ch] (rectText): new method, metrics
12997         (buttonText): new method, metrics
12998
12999         * PainterBase.[hC]: make rectText and buttonText always draw and take
13000         fewer paramteres.
13001
13002 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13003
13004         * ToolbarDefaults.C (read):
13005         * MenuBackend.C (read): allow escaping in all strings
13006
13007         * BufferView_pimpl.C (insertAndEditInset): new method.
13008         (Dispatch): use insertAndEditInset whenever appropriate.
13009
13010         * BufferView_pimpl.C (insertNote): removed
13011
13012         * BufferView_pimpl.C (smartQuote): new method, moved from
13013         BufferView; if an insetquote cannot be inserted, insert a '"'
13014         character instead.
13015
13016         * BufferView2.C: remove insertCorrectQuote();
13017
13018         * lyxfunc.C (getStatus): Add support for all remaingin
13019         inset-insert lfuns.
13020
13021         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13022
13023         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13024         command (necessary to pass " as parameter of self-insert.
13025
13026         * text.C (selectWordWhenUnderCursor):
13027         (selectWord): add word_location parameter
13028         (selectWordWhenUnderCursor): same + remove special code for word
13029         boundary.
13030         (selectNextWord): use kind() to guess type of insetspecialchar,
13031         not latex().
13032
13033         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13034         (insertErtContents): create ert insets as collapsed.
13035         (readInset): better compatibility code for Info inset.
13036
13037 2001-07-20  Juergen Vigna  <jug@sad.it>
13038
13039         * lyxfunc.C (dispatch): use always LyXFind now!
13040
13041         * text2.C (init): add a reinit flag so that the LyXText can be
13042         reinited instead of deleted and reallocated (used in InsetText).
13043
13044         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13045
13046         * text.C: ditto
13047
13048         * text2.C: ditto
13049
13050 2001-07-18  Juergen Vigna  <jug@sad.it>
13051
13052         * text.C (selectNextWord): handle insets inside inset by calling
13053         always the bv->text functions so that we can go up the_locking_inset!
13054
13055         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13056         in strange locations when inside an inset!
13057
13058         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13059         handling to include insets.
13060
13061         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13062
13063 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13064
13065         * LyXAction.C (init):
13066         * commandtags.h:
13067         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13068         LIGATURE_BREAK, since the name is so stupid.
13069
13070 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13071
13072         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13073         InsetInfos.
13074
13075         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13076
13077         * sp_form.[Ch]: remove.
13078
13079         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13080
13081         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13082         InsetInfo.
13083
13084         * src/buffer.C (readInset): ditto.
13085
13086 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13087
13088         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13089         menuSeparator(), endOfSentenceDot(), ldots() and
13090         hyphenationPoint(), which are therefore removed.
13091         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13092
13093         * LyXAction.C (init):
13094         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13095
13096         * paragraph.C (getWord): removed.
13097
13098         * BufferView_pimpl.C (Dispatch): use last word or selection for
13099         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13100
13101         * lyx_main.C (queryUserLyXDir): do not ask before creating
13102         user_dir, except if it has been named explicitely.
13103
13104 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13105
13106         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13107         a document of zero size.
13108
13109 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13110
13111         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13112         approriately in the c-tor and in require().
13113         (getPackages): output the appropriate LaTeX for natbib support.
13114
13115         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13116         variables "use_natbib" and "use_numerical_citations" when reading the
13117         LyX file.
13118         (readInset): read the various natbib cite commands.
13119         (validate): white-space change.
13120
13121         * bufferparams.[Ch]: new variables "bool use_natbib" and
13122         "bool use_numerical_citations".
13123         (writeFile): output them in the LyX file.
13124
13125 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13126
13127         * lyxfunc.C (getStatus): add support for all the inset insertion
13128         commands.
13129
13130         * text2.C (insertInset):
13131         * paragraph.C (insetAllowed):
13132         * BufferView_pimpl.C (insertInset): update to take in account the
13133         renaming of insertInsetAllowed
13134
13135         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13136
13137         * text2.C (getInset): new method. returns inset at cursor position.
13138
13139         * BufferView_pimpl.C (Dispatch): changes because of this.
13140
13141         * LyXAction.C (init): rename open-stuff to inset-toggle.
13142
13143         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13144
13145         * text2.C (toggleInset): renamed from openStuff; use
13146         Inset::open().
13147
13148 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13149
13150         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13151
13152         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13153
13154 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13155
13156         * buffer.C (readLyXformat2): Add filename to the error dialog
13157
13158 2001-07-18  Juergen Vigna  <jug@sad.it>
13159
13160         * tabular.C (GetCellNumber): put an assert here instead of the check!
13161
13162 2001-07-17  Juergen Vigna  <jug@sad.it>
13163
13164         * BufferView_pimpl.C (toggleSelection): adapted too.
13165
13166         * text.C (selectNextWord): adapted for use with insets.
13167         (selectSelectedWord): ditto
13168
13169 2001-07-17  Juergen Vigna  <jug@sad.it>
13170
13171         * sp_spell.C (PSpell): fix initialitation order.
13172
13173 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * paragraph.C: spacing
13176
13177 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13178
13179         * sp_spell.C: repair language selection for pspell
13180
13181 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * lyxfunc.h: change more methods to begin with lower char.
13184
13185 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13186
13187         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13188         for unknown layouts.
13189
13190 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13191
13192         * buffer.C (readLyXformat2): Generate an error dialog if there are
13193         unknown layouts.
13194
13195 2001-07-16  Juergen Vigna  <jug@sad.it>
13196
13197         * sp_spell.C: always compile ISpell part.
13198
13199         * lyxrc.C: added use_pspell entry and it's handling.
13200
13201 2001-07-13  Juergen Vigna  <jug@sad.it>
13202
13203         * sp_spell.C: removed double includes.
13204
13205 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13206
13207         Consistent use of Lsstream.h:
13208         * Lsstream.h: added using std::stringstream for consistencies sake.
13209
13210         * buffer.C: removed using std::stringstream
13211
13212         * lyxfont.C (stateText):
13213         * paragraph.C (asString):
13214         * text.C (selectNextWord, selectSelectedWord):
13215         * text2.C (setCounter):
13216         * vspace.C (asString, asLatexString):
13217         std::ostringstream -> ostringstream.
13218
13219 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13220
13221         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13222         * commandtags.h: add LFUN_HELP_ABOUTLYX
13223         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13224
13225 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13226
13227         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13228         cursorToggle()
13229         * lyx_gui_misc.C: remove spellchecker
13230         * lyxfunc.C: showSpellchecker
13231         * sp_base.h: added
13232         * sp_ispell.h: added
13233         * sp_pspell.h: added
13234         * sp_spell.C: added
13235         * sp_form.[Ch]: removed
13236         * spellchecker.[Ch]: removed
13237
13238 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13239
13240         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13241         is set.
13242         (simpleTeXSpecialChars): Simply print the input character without
13243         any special translation if pass_thru is set.
13244
13245         * layout.h: Added bool pass_thru to layout class for being able to
13246         implement pass through of a paragraph for Literate Programming.
13247
13248         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13249         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13250         * layout.C (Read): add "passthru" to list of layout tags and add
13251         code to set the pass_thru boolean when it is read.
13252
13253 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13254
13255         * trans_decl.h: remove allowed from KmodInfo
13256
13257         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13258         remove allowed code
13259         (Load): adjust
13260
13261         * paragraph_pimpl.C (erase): use boost::prior
13262
13263         * Painter.C (text): use data() instead of c_str() when length is
13264         also provided.
13265         * WorkArea.C (putClipboard): ditto
13266         * font.h (width): ditto
13267
13268         * BufferView2.C: use it-> instead of (*it). for iterators
13269         * texrow.C: ditto
13270         * paragraph_pimpl.C: ditto
13271         * paragraph.C: ditto
13272         * minibuffer.C: ditto
13273         * language.C: ditto
13274         * kbmap.C: ditto
13275         * encoding.C: ditto
13276         * counters.C: ditto
13277         * converter.C: ditto
13278         * chset.C: ditto
13279         * Variables.C: ditto
13280         * TextCache.C: ditto
13281         * MenuBackend.C: ditto
13282         * LyXAction.C: ditto
13283         * LColor.C: ditto
13284         * FloatList.C: ditto
13285         * DepTable.C: ditto
13286         * ColorHandler.C (LyXColorHandler): ditto
13287
13288 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13291
13292         * text2.C (openStuff): reintroduce this method (which had been
13293         nuked in NEW_INSETS frenzy).
13294
13295         * lyxfunc.C (Dispatch): when an action has not been handled, use
13296         its name in the error message, not its number.
13297
13298         * paragraph.C (inInset): change method name to begin with lowercase.
13299
13300         * undo_funcs.C:
13301         * text2.C: updates because of this.
13302
13303 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13304
13305         * ToolbarDefaults.C (add): add spaces in error message
13306
13307 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13308
13309         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13310         (readLyXformat2): rename return_par to first_par, use lyxlex's
13311         pushToken and remove the manual push handling.
13312         (parseSingleLyXformat2Token): add another ert comp. variable:
13313         in_tabular, rename return_par to first_par. handle newlines better
13314
13315 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13318
13319 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * text2.C (getParFromID): removed
13322
13323         * buffer.C (getParFromID): new method moved form lyxtext.
13324         * BufferView2.C (insertErrors): adjust
13325         (setCursorFromRow): adjust
13326         * BufferView_pimpl.C (restorePosition): adjust
13327         * lyxfunc.C (Dispatch): adjust
13328         * undo_funcs.C (textUndo): adjust
13329         (textRedo): adjust
13330         (textHandleUndo): adjust
13331         (textHandleUndo): adjust
13332
13333 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * buffer.C: up' the LYX_FORMAT
13336
13337         * lyxfont.h: turn NO_LATEX on as default
13338
13339         * buffer.C (insertErtContents): new methods of tex style compability.
13340         (parseSingleLyXformat2Token): use it several places.
13341         * tabular.C (OldFormatRead): and here
13342
13343 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13344
13345         * text2.C: remove some commented code.
13346         reindent file.
13347
13348         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13349         * trans.C: changes because of the above.
13350
13351 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13352
13353         * text2.C (setCounter): Fix counters bug with bibliography layout.
13354
13355 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13358         own member functions
13359         (simpleTeXSpecialChars): ditto
13360
13361 2001-07-06  Juergen Vigna  <jug@sad.it>
13362
13363         * a lot of files: changed the access to LyXText::status and the
13364         call of undo-functions.
13365
13366         * undo.[Ch]: added a inset_id to the undo informations.
13367
13368         * undo_funcs.[Ch]: added and moved here all undo functions.
13369
13370         * lyxtext.h: give the status enum a weight, made status_ a private
13371         variable and made accessor functions for it, removed the whole bunch
13372         of undo-functions as they are now in their own file, make some
13373         functions publically available. Added function ownerParagraph with
13374         int parameter.
13375
13376         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13377         made InInset() a const function, added getParFromID() function.
13378
13379         * buffer.[Ch]: added const version for inset_iterator functions,
13380         added getInsetFromID() function.
13381
13382         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13383         changed undo functions for new version.
13384
13385 2001-07-05  Juergen Vigna  <jug@sad.it>
13386
13387         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13388         unknow mechanism does not call the proper constructor but only this
13389         one also if I request the other!?
13390
13391 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13394
13395         * text2.C (LyXText): use initialization lists.
13396
13397         * lyxtext.h (Selection): initialize set_ and mark_
13398         (init): remove method
13399
13400 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13401
13402         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13403
13404 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13405
13406         * screen.[Ch]: change method names to begin with lowercase
13407
13408         * BufferView_pimpl.C (updateScrollbar): simplify further and
13409         hopefully make it a bit faster.
13410
13411 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13412
13413         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13414         calling directly xforms functions.
13415
13416         * Painter.C (Painter):
13417         * lyx_cb.C (MenuWrite):
13418         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13419         fl_display.
13420
13421         * lyx_gui.C: remove bogus guiruntime extern declaration.
13422
13423 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13424
13425         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13426         in NEW_INSETS
13427         (redoDrawingOfParagraph): ditto
13428         (redoParagraphs): ditto
13429         (cutSelection): don't create a object for CutAndPaste use the
13430         static method directly
13431         (pasteSelection): ditto
13432
13433         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13434         LyXview (+ rename)
13435
13436 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13437
13438         * modifications to some other files because of this.
13439
13440         * Makefile.am (lyx_SOURCES): add XFormsView
13441
13442         * XFormsView.[Ch]: new files
13443
13444         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13445         the main window. Move the gui dependent stuff to XFormsView
13446
13447 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * tabular.C (GetCellInset): update cur_cell also in the row/col
13450         version of this function.
13451
13452         * lyxfunc.C: no need to include figure_form.h here.
13453
13454         * FontLoader.h:
13455         * lyxfunc.h:
13456         * lyxscreen.h:
13457         * text2.C:
13458         * lyxvc.C: no need to include forms.h here.
13459
13460 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13461
13462         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13463
13464         * lyxfunc.C (Dispatch):
13465         * Spacing.C (set):
13466         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13467         constructor argument.
13468
13469 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * paragraph.C (Paragraph): dont't clear, and just set layout.
13472         (makeSameLayout): use params's copy contructor.
13473
13474         * ParagraphParameters.[Ch] (makeSame): delete method
13475
13476 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13477
13478         * Variables.[Ch]: fix indentation, rename set to isSet
13479
13480 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13481
13482         * lyxfunc.C (Dispatch): fix typo
13483
13484 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13485
13486         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13487         upper_bound.
13488
13489         * bufferlist.C: include assert.h for emergencyWrite().
13490
13491 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13494           give up at last (bug #425202) !
13495
13496 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * lyx_gui_misc.C:
13499         * sp_form.h:
13500         * sp_form.C:
13501         * spellchecker.h:
13502         * spellchecker.C: strip spellchecker options and bring up
13503           preferences tab instead
13504
13505 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13508         the istringstream constructor
13509
13510 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * paragraph.C (getLayout): fix return value
13513
13514         * paragraph.h: do not declare getLayout as inline.
13515
13516         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13517
13518 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13519
13520         * lyxcursor.h (operator<): new func
13521         (operator>): new func
13522         (operator>=): new func
13523         (operator<=): new func
13524
13525         * text.C (changeCase): use selection.start and selection.end
13526         (changeRegionCase): require from to be <= to. Require par to be a
13527         valid paragraph.
13528
13529         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13530
13531 2001-06-27  Juergen Vigna  <jug@sad.it>
13532
13533         * text.C (cursorLeftOneWord): changed to return the cursor and added
13534         overlay with BufferView * parameter which calls this one.
13535         (getWord): added
13536         (selectWord): use new getWord function.
13537         (changeCase): renamed from changeWordCase as and extended to work
13538         also on selections.
13539
13540         * lyxtext.h: added enum word_location
13541
13542         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13543         changeCase as this operates now also on selections.
13544
13545 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13546
13547         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13548
13549         * many files: send debug output to Debug::INFO instead of
13550         Debug::ANY.
13551
13552         * converter.C (View):
13553         (Convert):
13554         (Move): send debug output to Debug::FILES instead of console.
13555
13556 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13557
13558         * lyxfunc.C (getStatus): use func_status
13559
13560         * func_status.h: new header, describing the results of
13561         LyXFunc::getStatus;
13562
13563         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13564         LFUN_MATH_HALIGN.
13565
13566 2001-06-25  The LyX Project  <jug@sad.it>
13567
13568         * buffer.C (sgmlOpenTag):
13569         (sgmlCloseTag):
13570         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13571
13572 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573
13574         * text2.C: remove some dead code
13575
13576         * tabular.C (GetCellInset): store the last cell checked (gotten)
13577
13578         * tabular.h: add the helper for the speedup
13579
13580         * lyxtext.h: remove some dead code
13581
13582 2001-06-26  The LyX Project  <Asger>
13583
13584         * paragraph.C: Change export to LaTeX of alignment to
13585         \begin{center} and family for better roundtrip work with reLyX.
13586
13587         * Tune the math drawing a bit.
13588
13589 2001-06-25  The LyX Project  <Asger>
13590
13591         * LColor.C (LColor): New color for math background. New color
13592         for buttons.
13593
13594 2001-06-25  The LyX Project  <jug@sad.it>
13595
13596         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13597
13598         * lyxfunc.C (Open):
13599         * bufferlist.C (newFile): do not restrict to files ending with
13600         .lyx
13601
13602         * BufferView_pimpl.C (MenuInsertLyXFile):
13603
13604 2001-06-24  The LyX Project  <jug@sad.it>
13605
13606         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13607         of compare_no_case
13608
13609 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * lyxtext.h: rename most methods to begin with a small char.
13612         Lots of changes because of this.
13613
13614         * paragraph.C (Paragraph): do not call fitToSize
13615         (erase): call Pimpl::erase
13616         (insertChar): call Pimpl::insertChar
13617         (insertInset): call Pipl::insertInset
13618         (breakParagraph): do not call fitToSize
13619         (breakParagraphConservative): do not call fitToSize
13620         (fitToSize): remove method
13621
13622         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13623
13624 2001-06-24  The LyX Project  <Asger>
13625
13626         * Fix Qt compilation^2
13627
13628 2001-06-24  The LyX Project  <jug@sad.it>
13629
13630         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13631         depthHook(getDepth()-1).
13632
13633         * paragraph.h:
13634         * ParagraphParameters.h:
13635         * ParameterStruct.h: change type of depth to unsigned int ==
13636         depth_type. Many adaptations to other files before of that.
13637
13638 2001-06-24  The LyX Project  <Asger>
13639
13640         * Fix Qt compilation.
13641
13642 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13643
13644         * paragraph.h: renamed several methods to begin with small letter.
13645         several changes to many parts of the code because of this.
13646
13647 2001-06-23  The LyX Project  <jug@sad.it>
13648
13649         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13650         rewritten to discard all double spaces when KeepEmpty is off
13651         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13652         to only handle newlines but not fiddle with spaces and friends.
13653
13654         * lyxfunc.C (MenuNew): when doing 'new from template', use
13655         template_path as default directory
13656
13657 2001-06-23  The LyX Project  <Asger>
13658
13659         * Clean-up of header file includes all over
13660         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13661
13662 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13663
13664         * paragraph.h: renamed from lyxparagraph.h
13665
13666 2001-06-23  Asger  <lyx@violet.home.sad.it>
13667
13668         * Buffer.h: Removed Buffer::resize
13669         * BufferList.h: Removed BufferList::resize
13670         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13671         the document lazily when we change the width, or the font settings.
13672
13673 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13674
13675         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13676
13677 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * buffer.h: remove out of date comment
13680
13681 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13682
13683         * lyxscreen.h:
13684         * screen.C: fix "theoretical" GC leak
13685
13686 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13687
13688         * LaTeX.C (scanAuxFile):
13689         (deplog): remove trailing \r when reading stream (useful under
13690         win32)
13691
13692 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13693
13694         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13695         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13696         and BufferView::theLockingInset(Inset*), so should use them and not
13697         access bv_->text->the_locking_inset directly.
13698
13699         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13700
13701 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * Makefile.am:
13704         * tex-defs.h: remove old unused file
13705
13706 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * BufferView_pimpl.C: fix typo, remove minibuffer message
13709           when buffer has loaded
13710
13711 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * lyxfunc.C (Dispatch): use stringstream
13714         (MenuNew): use stringstream
13715         (Open): use stringstream
13716
13717         * importer.C (Import): use stringstream
13718
13719         * bufferview_funcs.C (CurrentState): use stringstream
13720
13721         * LaTeX.C (run): use stringstream
13722
13723         * BufferView_pimpl.C (savePosition): use stringstream
13724         (restorePosition): use stringstream
13725         (MenuInsertLyXFile): use stringstream
13726
13727 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13728
13729         * BufferView.C:
13730         * Bullet.C:
13731         * ColorHandler.C:
13732         * FontInfo.C:
13733         * FontLoader.C:
13734         * LColor.C:
13735         * LaTeXFeatures.C:
13736         * Painter.C:
13737         * gettext.C:
13738         * lyx_gui_misc.C:
13739         * lyxserver.C:
13740         * vspace.C: removed // -*- C++ -*- as first line.
13741
13742         * lyxfind.h:
13743         * version.h: added // -*- C++ -*- as first line.
13744
13745 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13746
13747         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13748
13749         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13750         of string
13751
13752 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13755         of floats.
13756
13757 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13758
13759         * gettext.C: include LString.h even when --disable-nls is on.
13760
13761 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13762
13763         * converter.h (Get): changed argument type from int to
13764         FormatList::size_type to avoid unnecessary conversion.
13765
13766         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13767         before using it.
13768
13769 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13770
13771         * gettext.h: include LString.h even when --disable-nls is on.
13772
13773 2001-06-07  Juergen Vigna  <jug@sad.it>
13774
13775         * text.C (BreakAgain): subst spaces with tabs.
13776
13777         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13778         (resizeInsetsLyXText): set force on resizeLyXText.
13779
13780 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * gettext.h (gettext_init):
13783         (locale_init): use a real definition instead of a macro
13784
13785 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * Bufferview_pimpl.C:
13788         * LColor.h:
13789         * LColor.C: further lcolor tidies
13790
13791 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13792
13793         * BufferView_pimpl.C (updateScrollbar): simplify.
13794
13795         * BufferView2.C: don't include insets/insetinfo.h, change
13796         prototype for insertInset and call the Pimpl version. let
13797         updateInset call Pimpl version.
13798
13799         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13800         gotoInset to BufferView::Pimpl
13801
13802 2001-06-01  Juergen Vigna  <jug@sad.it>
13803
13804         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13805         inside a LockingInset (is the update needed at all?).
13806
13807 2001-05-31  Juergen Vigna  <jug@sad.it>
13808
13809         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13810         here not the old one otherwise how should we compare it afterwards
13811         if it's the same!
13812
13813 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * lyxfont.C:
13816         * tabular.C:
13817         * tabular-old.C:
13818         * FontInfo.C: bring C functions into global namespace when
13819         necessary
13820
13821 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * LString.h: make sure config.h has been loaded before LString.h.
13824
13825         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13826         (one for each char read by EatLine!).
13827
13828         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13829         variables.
13830
13831 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13834         to the same as the par we break from
13835
13836 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13837
13838         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13839
13840         * MenuBackend.C (expand): also create menu entries for wide
13841         versions of the floats.
13842
13843         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13844
13845         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13846
13847         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13848         frontends/Makefile.am
13849
13850         * text2.C: adjust
13851         * text.C: adjust
13852
13853
13854         * tabular.C (getTokenValue): add std::
13855
13856         * tabular-old.C (getTokenValue): add std::
13857         (getTokenValue): ditto
13858         (getTokenValue): ditto
13859
13860         * screen.C (ToggleSelection): adjust
13861
13862         * lyxtext.h: put selection cursors inside a Selection struct.
13863
13864         * lyxfunc.C (moveCursorUpdate): adjust
13865
13866         * lyxfont.C (latexWriteStartChanges): add std::
13867
13868         * lyxfind.C: adjust
13869
13870         * font.h: delete with(char const *, LyXFont const &)
13871
13872         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13873
13874         * FontInfo.C (getFontname): add std::
13875
13876         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13877         (workAreaButtonPress): adjust
13878         (tripleClick): adjust
13879         (update): adjust
13880         (moveCursorUpdate): adjust
13881         (Dispatch): adjust
13882
13883         * BufferView2.C (gotoInset): adjust
13884
13885 2001-05-30  Juergen Vigna  <jug@sad.it>
13886
13887         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13888         to check pspell I add this as default as I now have new pspell
13889         libraries and they seem to use this.
13890
13891 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13892
13893         * text2.C (CutSelection): make the cursor valid before the call to
13894         ClearSelection.
13895
13896 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13897
13898         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13899         relied on 0 terminated strings and other horrors. Bug found due to
13900         the new assert in lyxstring!
13901
13902         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13903         KP_ keys.
13904
13905 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13908         to latinkeys.bind.
13909
13910         * lyxfunc.C (processKeySym): change method of getting to the
13911         self-insert char.
13912
13913         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13914         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13915         * BufferView_pimpl.[Ch]: here as private methods.
13916
13917 2001-05-28  Juergen Vigna  <jug@sad.it>
13918
13919         * text.C (SetHeightOfRow): added the update() call again as it is
13920         needed to initialize inset dimensions!
13921
13922 2001-05-16  Juergen Vigna  <jug@sad.it>
13923
13924         * text2.C (SetCharFont): Add new function with BufferView * and
13925         bool toggleall parameters for setting insets internal fonts.
13926         (SetFont): Freeze the undo as we may change fonts in Insets and
13927         all this change should be inside only one Undo!
13928
13929         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13930         setting font's in insets as for them we have the SetFont function!
13931
13932 2001-05-15  Juergen Vigna  <jug@sad.it>
13933
13934         * text2.C (ClearSelection): to be sure we REALLY don't have any
13935         selection anymore!
13936
13937         * tabular.C (TeXCellPreamble): fixed the left border problem for
13938         multicolumn cells.
13939
13940 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13941
13942         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13943         dependancy file
13944
13945 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13948         LFUN_BREAKPARAGRAPH.
13949
13950         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13951         help test to "internal only", similar for LFUN_INSERT_URL
13952
13953         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13954         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13955         auto_region_delete and deadkeys.
13956
13957 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13958
13959         * LColor.h:
13960         * LColor.C: remove some dead entries, tidy a little
13961
13962 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13965         commented code.
13966         (Dispatch): implement LFUN_ESCAPE
13967
13968         * commandtags.h: add LFUN_ESCAPE
13969
13970         * LyXAction.C (init): add entry for LFUN_ESCAPE
13971
13972         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13973         Remove commented code.
13974         (insertNote): moved here
13975         (open_new_inset): moved here
13976
13977         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13978         BufferView_pimpl
13979
13980 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13981
13982         * kbmap.C (findbinding): clean it up and make it work correctly.
13983
13984         * lyx_main.C (init): do not pass argc and argv as parameters
13985
13986 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13987
13988         * buffer.C: fix path for OS/2 & Win32
13989
13990         * lyx_gui.C:
13991         * lyx_main:
13992         * lyx_main.C: Added os:: class.
13993
13994         * os2_defines.h: update
13995
13996 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13997
13998         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13999         better by trying again with reduced state.
14000
14001 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14002
14003         * lyxrc.C (read): print error about invalid key sequence only when
14004         debugging (because not all latinX keysyms are known to some X
14005         servers)
14006
14007         * kbsequence.C (getiso): add a few std:: qualifiers
14008         (getiso): comment out extra return statement.
14009
14010 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14013         handling.
14014         (Dispatch): enhance the accent inset a bit. (not perfect)
14015
14016 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14017
14018         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14019
14020 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14021
14022         * bufferlist.C (emergencyWrite): fix assert() call
14023
14024 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14025
14026         * text.C (InsertChar): Added trivial patch to only send the "you
14027         can not do multiple spaces this way" message once during a
14028         session.
14029
14030 2001-05-08  Baruch Even  <baruch@lyx.org>
14031
14032         * Makefile.am: Changed order of libraries to get LyX to link properly
14033         with the gnome frontend.
14034
14035 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14036
14037         * LaTeXFeatures.h: add a std:: qualifier
14038
14039 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14040
14041         * paragraph.C (String): use stringstream
14042
14043 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * paragraph.C (writeFile): remove footflag arg
14046
14047         * buffer.C (makeLaTeXFile): use stringstream
14048         (latexParagraphs): remove footnot gurba
14049
14050         * LaTeXFeatures.C (getPackages): use stringstream
14051         (getMacros): likewise
14052         (getTClassPreamble): likewise
14053         (getFloatDefinitions): new method
14054
14055         * paragraph.C (writeFile): reindent
14056         (Erase): reindent
14057
14058         * WorkArea.h: revert the xpos + etc changes.
14059
14060         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14061
14062         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14063
14064         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14065         (pasteSelection): likewise
14066         * text2.C (CreateUndo): likewise
14067
14068 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14069
14070         * minibuffer.C (peek_event): temporarily reduce the functionality
14071         of the minibuffer (to allow args on lfuns)
14072
14073         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14074         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14075
14076         * buffer.C (readInset): add compability reading of old float
14077         lists, add reading of new style float list.
14078         (readInset): avoid reevaluation of inscmd.getCmdName()
14079         (getLists): reindent
14080
14081         * MenuBackend.C (MenuItem): implement parsing of
14082         md_floatlistinsert and md_floatinsert.
14083         (expand::LastFiles): move initalizaton of iterators out of loop,
14084         avoid reevaluation.
14085         (expand::Documents): introduce typdedef vector<string> Strings,
14086         and use it.
14087         (expand::ExportFormats): introduce typedef vector<Format const *>
14088         Formats, and use it.
14089         (expand): implement FloatListInsert and FloatInsert.
14090
14091         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14092         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14093         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14094
14095         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14096         handling.
14097         (Dispatch::LFUN_FLOAT_LIST): implement
14098
14099 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14100
14101         * LaTeX.C (run): Fix problem with --export code.
14102
14103 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14104
14105         * BufferView.[Ch] (workarea): removed.
14106         (getClipboard) new method; wrapper for workarea()->getClipboard()
14107
14108         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14109         bug.
14110
14111         * WorkArea.h (width, height, xpos, ypos): These methods all
14112         returned the dimensions of the work_area sub-area of WorkArea,
14113         resulting in a position error if the WorkArea were resized. Now
14114         return the dimensions of the entire WorkArea.
14115
14116         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14117
14118 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14119
14120         * LaTeX.C (deplog): correct the syntax of regex reg1
14121
14122 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14123
14124         * undo.C: remove !NEW_INSETS cruft
14125
14126 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14127
14128         * text2.C: remove !NEW_INSETS cruft
14129
14130         * text.C: remove !NEW_INSETS cruft
14131
14132         * tabular.C: remove !NEW_INSETS cruft
14133
14134         * spellchecker.C: remove !NEW_INSETS cruft
14135
14136         * lyxtext.h: remove !NEW_INSETS cruft
14137
14138         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14139
14140         * lyxfunc.C: remove !NEW_INSETS cruft
14141
14142         * lyxfind.C: remove !NEW_INSETS cruft
14143
14144         * lyx_cb.C: remove !NEW_INSETS cruft
14145
14146         * figureForm.C: remove  !NEW_INSETS cruft
14147
14148         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14149
14150         * buffer.[Ch]: remove !NEW_INSETS cruft
14151
14152         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14153
14154         * CutAndPaste.C: remove !NEW_INSETS cruft
14155
14156         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14157
14158         * BufferView2.C: remove !NEW_INSETS cruft
14159
14160         * BufferView.h: remove !NEW_INSETS cruft
14161
14162 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * Lsstream.h: include LString.h before the sstream headers to
14165         fix problem with gcc 2.95.3 and lyxstring
14166
14167 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14168
14169         * lyx_main.C: add using directives when needed for C functions
14170         declared in std:: namespace.
14171
14172 2001-04-27  Juergen Vigna  <jug@sad.it>
14173
14174         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14175         (SetHeightOfRow): comment out the update call should not be needed!
14176
14177 2001-04-13  Juergen Vigna  <jug@sad.it>
14178
14179         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14180         (LyXTabular): tried to minimize operator= operations (and realized
14181         hopfully Lars wish).
14182
14183 2001-04-27  Juergen Vigna  <jug@sad.it>
14184
14185         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14186
14187 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14188
14189         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14190
14191         * buffer.C (readInset): hack to make listof algorithm work
14192
14193         * BufferView_pimpl.C: hack to make listof algorithm work
14194
14195 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14196
14197         * LyXAction.C: removed all !NEW_INSETS cruft
14198         (init): moved lfun_item in method
14199
14200         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14201
14202 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14203
14204         * BufferView2.C (theLockingInset): white space.
14205
14206 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14207
14208         * minibuffer.C: include <iostream>
14209
14210         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14211
14212         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14213
14214         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14215
14216         * text.[Ch] (TransposeChars): new method
14217
14218 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14219
14220         * call message directly through LyXView instead of through LyXFunc
14221         * BufferView2.C: adjust
14222         * BufferView_pimpl.C: adjust
14223         * FontLoader.C: adjust
14224         * buffer.C: adjust
14225         * bufferview_funcs.C: adjust
14226         * converter.C: adjust
14227         * figureForm.C: adjust
14228         * importer.C: adjust
14229         * lyx_cb.C: adjust
14230         * lyx_gui_misc.C: adjust
14231         * lyxfunc.C: adjust
14232         * lyxvc.C: adjust
14233         * text2.C: adjust
14234         + more files in subdirs
14235
14236         * lyxparagraph.h (size): move up int file
14237         (GetLayout): ditto
14238
14239         * adjust all uses of Assert to lyx::Assert.
14240
14241         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14242         lyxfunctional in namespace lyx
14243         * layout.C (hasLayout): ditto
14244         (GetLayout): ditto
14245         (GetLayout): ditto
14246         (delete_layout): ditto
14247         (NumberOfClass): ditto
14248         * converter.C (GetFormat): ditto
14249         (GetNumber): ditto
14250         (Add): ditto
14251         (Delete): ditto
14252         (SetViewer): ditto
14253         * bufferlist.C (getFileNames): ditto
14254         (emergencyWriteAll): ditto
14255         (exists): ditto
14256         (getBuffer): ditto
14257         * MenuBackend.C (hasSubmenu): ditto
14258         (hasMenu): ditto
14259         (getMenu): ditto
14260         * BufferView_pimpl.C (getInsetByCode): ditto
14261
14262 2001-04-18  Juergen Vigna  <jug@sad.it>
14263
14264         * vspace.C (asLatexString): fixed the 100% problem.
14265
14266 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * lyxfunc.C (Dispatch):
14269         * minibuffer.C:
14270         * minibuffer.h: add a few std:: qualifiers
14271
14272 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14273
14274         * minibuffer.[Ch]: reimplement so that commands is initiated and
14275         run from lyxfunc, simplified som handling, and made the completion
14276         and history code for complete. wip.
14277
14278         * lyxfunc.C (processKeySym): call message
14279         (miniDispatch): new temporary method
14280         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14281         (LFUN_MESSAGE): implement
14282         (LFUN_MESSAGE_PUSH): implement
14283         (LFUN_MESSAGE_POP): implement
14284         (initMiniBuffer): the initial/defualt minibuffer message.
14285
14286         * lyxfont.[Ch]: inline some more getters
14287
14288         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14289
14290         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14291
14292         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14293         (AutoSave): use LFUN_MESSAGE
14294         (Reconfigure): ditto
14295
14296         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14297
14298         * figureForm.C: use LFUN_MESSAGE
14299
14300         * converter.C (runLaTeX): use LFUN_MESSAGE
14301
14302         * bufferview_funcs.C: use LFUN_MESSAGE
14303         (Melt): ditto
14304         (changeDepth): ditto
14305
14306         * bufferparams.h: use boost::
14307
14308         * bufferlist.h: inherit privately from noncopyable
14309
14310         * bufferlist.C (loadLyXFile): remove some commented code.
14311
14312         * buffer.C (runChktex): use LFUN_MESSAGE
14313
14314         * ShareContainer.h: inherit privately from noncopyable
14315
14316         * ParagraphParameters.[hC] (depth): inline it.
14317
14318         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14319         methods.
14320         (message): new method
14321         (messagePush): ditto
14322         (messagePop): ditto
14323         (show): init minibuffer
14324         (showState): direct call
14325
14326         * LaTeX.[Ch]: inherit privately from noncopyable
14327         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14328         instead of WriteStatus.
14329
14330         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14331
14332         * BufferView_pimpl.C (buffer): don't init minibuffer
14333         (workAreaButtonPress): use LFUN_MESSAGE
14334         (workAreaButtonRelease): ditto
14335         (savePosition): ditto
14336         (restorePosition): ditto
14337         (MenuInsertLyXFile): ditto
14338         (workAreaExpose): don't init minibuffer
14339         (update): remove commented code, simplify
14340
14341         * BufferView2.C (openStuff): use LFUN_MESSAGE
14342         (toggleFloat): ditto
14343         (menuUndo): ditto
14344         (menuRedo): ditto
14345         (copyEnvironment): ditto
14346         (pasteEnvironment): ditto
14347         (copy): ditto
14348         (cut): ditto
14349         (paste): ditto
14350         (gotoInset): ditto
14351         (updateInset): remove some commented code
14352
14353         * lastfiles.h: inherit privately from noncopyable
14354         * layout.h: ditto
14355         * lyx_gui.h: ditto
14356         * lyx_main.h: ditto
14357         * lyxlex.h: ditto
14358         * lyxlex_pimpl.h: ditto
14359
14360         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14361         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14362         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14363
14364         * LyXAction.h: inherit privately from noncopyable, add methods
14365         func_begin, func_end, returning iterators to the func map.
14366
14367         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14368         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14369         (func_begin): new method
14370         (func_end): new method
14371
14372         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14373         and not)
14374         (copySelection): ditto
14375         (pasteSelection): ditto
14376
14377         * BufferView.C: whitespace change
14378         * BufferView.h: inherit privately from noncopyable
14379
14380 2001-04-16  Allan Rae  <rae@lyx.org>
14381
14382         * tabular-old.C (l_getline):
14383         * spellchecker.C (sc_check_word):
14384         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14385         an unrecognised preprocessor directive.  So ensure they're wrapped.
14386
14387 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14388
14389         * src/exporter.C (Export): Give an error message when path to file
14390         contains spaces.
14391
14392 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14393
14394         * LaTeX.C (deplog): Always check that foundfile exists.
14395
14396 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14397
14398         * lyx_main.h:
14399         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14400
14401 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14402
14403         * tabular.[Ch] (getLabelList): implement new method
14404
14405         * minibuffer.h: comment ouf setTiimer
14406
14407         * minibuffer.C (ExecutingCB): constify res
14408         (peek_event): constify s
14409         (Set): constify ntext
14410         (Init): constify nicename
14411
14412         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14413
14414         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14415         (savePosition): use two params to Minibuffer::Set
14416         (restorePosition): ditto
14417
14418 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14419
14420         * lyx_main.C: include language.h
14421
14422         * Makefile.am (lyx_main.o): add language.h
14423
14424 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14425
14426         * exporter.C:
14427         * paragraph.C:
14428         * screen.C:
14429         * tabular.C:
14430         * CutAndPaste.C: include gettext.h
14431
14432         * lyxfont.h: remove old hack with ON and OFF.
14433
14434         * lyxparagraph.h:
14435         * lyxfont.h: do not include language.h...
14436
14437         * BufferView2.C:
14438         * LaTeXFeatures.C:
14439         * Painter.C:
14440         * bufferview_funcs.C:
14441         * font.C:
14442         * lyxfont.C:
14443         * text.C:
14444         * text2.C:
14445         * trans_mgr.C:
14446         * paragraph.C: ... but do it here instead
14447
14448 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14449
14450         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14451
14452         * tabular.C: small reformat
14453
14454         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14455         NEW_INSETS version
14456         (GetChar): ditto
14457         (BreakParagraph): ditto
14458         (SetOnlyLayout): ditto
14459         (SetLayout): ditto
14460
14461         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14462         with one arg less.
14463
14464         * lastfiles.C: removed most using decl, add std:: where needed
14465
14466         * buffer.C: ws changes
14467
14468         * MenuBackend.C (class compare_format): put into anon namespace
14469         (expand): constify label, names, action, action2
14470         (expand):
14471
14472         * text.C (SingleWidth): constify font
14473         (IsBoundary): constify rtl2
14474         (GetVisibleRow): constify ww
14475
14476         * LaTeX.C (deplog): constify logfile
14477
14478         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14479         start_x, end_x
14480         (workAreaExpose): constify widthChange, heightChange
14481
14482         * lyxrow.C (par): moved
14483         (height): moved
14484         (next): moved
14485         * lyxrow.h: as inlines here
14486
14487         * lyxfont.h (shape): moved from lyxfont.C
14488         (emph): moved from lyxfont.C
14489
14490         * lyxfont.C (LyXFont): use initialization list for all
14491         constructors
14492         (shape): move to lyxfont.h as inline
14493         (emph): move to lyxfont.h as inline
14494
14495
14496 2001-04-04  Juergen Vigna  <jug@sad.it>
14497
14498         * vspace.C: had to include stdio.h for use of sscanf
14499
14500 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14501
14502         * BufferView.h:
14503         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14504         independent of xforms.
14505
14506 2001-04-02  Juergen Vigna  <jug@sad.it>
14507
14508         * spellchecker.C: fixed namespace placing!
14509
14510 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14511
14512         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14513         the LyXParagraph * is 0.
14514
14515 2001-03-29  Juergen Vigna  <jug@sad.it>
14516
14517         * vspace.C: added support for %, c%, p%, l%.
14518         (stringFromUnit): added helper function.
14519         (asLatexString): changed to give right results for the %-values.
14520
14521         * buffer.C: convert the widthp in a width%.
14522
14523 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14524
14525         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14526         figureForm.[Ch].
14527
14528         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14529         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14530
14531         * lyx_cb.[Ch]: see above.
14532
14533         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14534         form1.[Ch].
14535
14536         * form1.[Ch]:
14537         * lyx.[Ch]: replaced by figure_form.[Ch].
14538
14539         * lyx_gui.C:
14540         * lyx_gui_misc.C:
14541         * lyxfunc.C: changed headers associated with above changes.
14542
14543 2001-03-27  Juergen Vigna  <jug@sad.it>
14544
14545         * BufferView_pimpl.C: set the temporary cursor right!
14546
14547 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14548
14549         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14550
14551 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14552
14553         * LString.h: removed "using std::getline"!
14554
14555         * BufferView_pimpl.C (Dispatch): changes due to changes in
14556         InsetInclude::Params.
14557
14558         * buffer.C (tag_name): removed redundant break statements as they were
14559         producing lots of warnings with my compiler.
14560
14561 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14562
14563         * LString.h: add "using std::getline" when using the real <string>.
14564
14565 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14566
14567         * buffer.C: removed bitset usage.
14568         PAR_TAG moved to an anonymous name space.
14569         (tag_name): new funtion, also in the anonymous namespace.
14570         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14571         (makeDocBookFile): clean code. Completed transition from string arrays
14572         to string vectors.
14573         (SimpleDocBookOnePar): code clean.
14574
14575 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14576
14577         * tabular.C: add some comments.
14578
14579 2001-03-22  Juergen Vigna  <jug@sad.it>
14580
14581         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14582         compatibility read a bit and fixed bug with minipage in different
14583         depth.
14584
14585 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14586
14587         * buffer.C (pop_tag): removed.
14588         (push_tag): removed.
14589         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14590         array replaced with vector. Added support for CDATA sections.
14591         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14592         at any nest level.
14593         (makeDocBookFile): XML conformant declaration of CDATA section,
14594         fixed bug related to <emphasis> in the first paragraph char.
14595         (sgmlOpenTag): exclude empty tags.
14596         (sgmlCloseTag): ditto.
14597
14598         * buffer.h (pop_tag): removed.
14599         (push_tag): removed.
14600
14601 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14602
14603         * language.h (Languages): added size_type and size().
14604
14605 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14606
14607         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14608         response on compability reading of minipages. One probliem is that
14609         the old usage of minipages was «flertydig»
14610
14611         * several files here and in subdirs: don't use static at file
14612         scope use anon namespaces instead.
14613
14614 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14615
14616         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14617         LaTeX output. This is necessary for Literate document
14618         processing.
14619
14620 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14621
14622         * buffer.C: insert hfill when needed.
14623
14624         * tabular.C (l_getline): use string::erase, small whitespace change.
14625
14626         * BufferView_pimpl.C: try the anon namespace.
14627         * WorkArea.C: ditto
14628
14629 2001-03-16  Juergen Vigna  <jug@sad.it>
14630
14631         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14632         otherwise it won't open options-dialogs.
14633
14634         * buffer.C: honor pextraWidth(p) on converting minipages.
14635
14636         * tabular.C (l_getline): changed the functions to strip trailing \r.
14637
14638 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14639
14640         * BufferView_pimpl.C:
14641         * minibuffer..C: added "using SigC::slot" declaration.
14642
14643 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14644
14645         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14646
14647         * text2.C: ditto
14648
14649         * text.C: ditto
14650
14651         * paragraph.C: ditto
14652
14653         * lyxtext.h: NO_PEXTRA
14654
14655         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14656
14657         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14658         * ParameterStruct.h: ditto
14659         * ParagraphParameters.h: ditto
14660         * lyxparagraph.h: ditto
14661
14662 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14663
14664         * buffer.C: add compability for minipage alignment.
14665         (latexParagraphs): remove unwanted pextra check.
14666
14667         * several files: remove CXX_WORKING_NAMESPACES
14668
14669         * buffer.C (pop_tag): tie is in namespace boost
14670
14671         * BufferView.h: noncopyable is in namespace boost
14672         * lyxlex.h: ditto
14673         * lyx_main.h: ditto
14674         * lyx_gui.h: ditto
14675         * layout.h: ditto
14676         * lastfiles.h: ditto
14677         * bufferlist.h: ditto
14678         * ShareContainer.h: ditto
14679         * LyXView.h: ditto
14680         * LyXAction.h: ditto
14681         * LaTeX.h: ditto
14682
14683 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14684
14685         * Merging changes from BRANCH_MVC back into HEAD.
14686
14687         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14688
14689 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14690
14691         * BufferView_pimpl.C: change from intl.C
14692
14693         * combox.h:
14694         * combox.C:
14695         * Makefile.am: move combox.*
14696
14697         * form1.h:
14698         * form1.C:
14699         * lyx_gui.C:
14700         * intl.h:
14701         * intl.C: remove dialog (covered by prefs)
14702
14703 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14704
14705         * lyxfunc.C (Dispatch): removed redundant break statement.
14706
14707 2001-03-14  Juergen Vigna  <jug@sad.it>
14708
14709         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14710
14711 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14712
14713         * buffer.C: add hack to fix compability reading of minipages.
14714
14715 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14716
14717         * buffer.C (getLists): Cleanup.
14718
14719 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14720
14721         * lyxfont.C (update): don't honor toggleall on font size.
14722
14723 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * bmtable.c:
14726         * bmtable.h:
14727         * Makefile.am: moved to frontends/xforms/
14728
14729         * lyx_gui_misc.C:
14730         * lyxfunc.C:
14731         * BufferView_pimpl.C: changes for moved mathpanel
14732
14733 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * gettext.h: fix gettext_init() in --disable-nls
14736
14737 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14740
14741 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * lyx.C:
14744         * lyx.h: strip external form
14745
14746 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * BufferView_pimpl.C: add comment, destroySplash()
14749
14750 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14751
14752         * BufferView_pimpl.C:
14753         * LyXAction.C:
14754         * buffer.C:
14755         * commandtags.h:
14756         * lyxfunc.C: use re-worked insetinclude
14757
14758 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14759
14760         * buffer.C: add using std::stringstream.
14761
14762         * lyx_cb.C: readd using std::ios.
14763
14764         * buffer.C: add using std::map.
14765
14766         * BufferView_pimpl.C: add using std::vector.
14767
14768         * ShareContainer.h: add std:: to swap.
14769
14770         * buffer.h: add some typedefs
14771         * buffer.C (getLists): use them
14772         (getLists): renamed from getTocList.
14773         add a counter for the different float types and use it in the
14774         generated string.
14775         (getLists): use the same counter for the NEW_INSETS and the "non"
14776         NEW_INSETS
14777
14778         * lyx_cb.h: remove unused items, includes, using etc.
14779
14780         * ShareContainer.h: remove some commented code, add more comments
14781         and "documentation".
14782
14783 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14784
14785         * buffer.C (getTocList): make the list also when NEW_INSETS is
14786         defined.
14787
14788         * buffer.h: remove TocType
14789
14790         * buffer.C (getTocList): change to return a map<string,
14791         vector<TocItem> >, implement for dynamic number of list.
14792
14793         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14794         * text2.C (PasteSelection): adjust
14795         * CutAndPaste.C (pasteSelection): adjust
14796
14797         * FloatList.C (FloatList): update from the new_insets branch.
14798         * Floating.[Ch]: ditto
14799         * LaTeXFeatures.C: ditto
14800         * buffer.C: ditto
14801         * lyxlex_pimpl.C: ditto
14802
14803         * paragraph.C (Last): remove when NEW_INSETS is defined.
14804
14805         * other file: changes because of the above.
14806
14807 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14808
14809         * lyxparagraph.h: rename next to next_, previous to previous_,
14810         make them private for NEW_INSETS. Rename Next() to next(),
14811         Previous() to previous().
14812
14813         * other files: changes because of the above.
14814
14815 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * BufferView.h:
14818         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14819         problem.
14820
14821 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14822
14823         * main.C (main): pass lyx_localedir to gettext_init().
14824
14825         * gettext.h: remove locale_init and gettext_init macros
14826
14827         * gettext.C (locale_init): new function
14828         (gettext_init): new function
14829
14830         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14831         setlocale().
14832
14833 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14834
14835         * Moved credits to frontends:
14836         * credits.[Ch]: removed
14837         * credits_form.[Ch]: removed
14838         * lyx_gui_misc.C: remove credits stuff
14839         * Makefile.am:
14840
14841 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14842
14843         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14844
14845         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14846         unneeded destructor.
14847
14848         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14849         a standalone pointer again.
14850
14851         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14852
14853 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * Makefile.am:
14856         * filedlg.h:
14857         * filedlg.C:
14858         * LyXAction.C:
14859         * ToolbarDefaults.C:
14860         * bufferlist.C:
14861         * commandtags.h:
14862         * form1.C:
14863         * form1.h:
14864         * lyx_cb.C:
14865         * lyx_cb.h:
14866         * lyxfunc.h:
14867         * lyxfunc.C:
14868         * BufferView_pimpl.C: use new file dialog in GUII
14869
14870         * lyx_cb.h:
14871         * lyx_cb.C: remove LayoutsCB to Toolbar
14872
14873 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14874
14875         * ShareContainer.h (get): add std:: qualifier
14876
14877 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14878
14879         * ShareContainer.h: define a proper ShareContainer::value_type
14880         type (and use typename to please compaq cxx)
14881
14882 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14883
14884         * lyxparagraph.h: move serveral local vars to
14885         ParameterStruct/ParagraphParameters., use ShareContainer in
14886         FontTable., make vars in FontTable private and add getter and
14887         setter.
14888
14889         * paragraph.C: changes because of the above.
14890
14891         * lyxfont.h: remove copy constructor and copy assignment. (the
14892         default ones is ok), move number inside FontBits. move inlines to
14893         lyxfont.C
14894
14895         * lyxfont.C: add number to initializaton of statics, move several
14896         inlines here. constify several local vars. some whitespace
14897         cleanup. Dont hide outerscope variables.
14898
14899         * Spacing.h: add two new constructors to match the set methods.
14900
14901         * ShareContainer.h: new file, will perhaps be moved to support
14902
14903         * ParameterStruct.h: new file
14904
14905         * ParagraphParameters.h: new file
14906
14907         * ParagraphParameters.C: new file
14908
14909         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14910         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14911
14912         * BufferView_pimpl.C: ParagraphParameter changes.
14913         * buffer.C: Likewise.
14914         * bufferview_funcs.C: Likewise.
14915         * text.C: Likewise.
14916         * text2.C: Likewise.
14917
14918 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14919
14920         * lyxfind.C (LyXReplace): do not redefine default argument in
14921         implementation.
14922         (IsStringInText): ditto
14923         (SearchForward): ditto
14924         (SearchBackward): ditto
14925
14926 2001-03-06  Juergen Vigna  <jug@sad.it>
14927
14928         * lyxfind.C (IsStringInText): put parentes around expressions.
14929
14930 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14931
14932         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14933
14934 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14935
14936         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14937
14938         * stl_string_fwd.h: add comment
14939
14940         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14941
14942         * tabular.h:
14943         * tabular.C: remove unused DocBook methods
14944
14945         * intl.C:
14946         * language.C:
14947         * paragraph.C:
14948         * buffer.C:
14949         killed DO_USE_DEFAULT_LANGUAGE
14950
14951 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * lyx_gui.C: do not include language.h.
14954
14955         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14956         arguments in function implementation.
14957
14958 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14959
14960         * BufferView_pimpl.C: add <ctime>
14961
14962 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14963
14964         * BufferView_pimpl.C: add using std::find_if
14965
14966 2001-02-27  José Matos  <jamatos@fep.up.pt>
14967
14968         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14969         by OnlyPath.
14970
14971 2001-02-11  José Matos  <jamatos@fep.up.pt>
14972
14973         * buffer.C (makeDocBookFile): command styles now have a parameter as
14974         "title" by default.
14975
14976 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14977
14978         * layout_forms.[Ch]: removed
14979         * lyx_cb.[Ch]: out character
14980         * lyx_gui.C: out character
14981         * lyx_gui_misc.C: out character
14982         * bufferview_funcs.C: : out character,
14983         added toggleall as parameter in ToggleAndShow
14984
14985 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14986
14987         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14988
14989         * text2.C (SetCurrentFont): Disable number property at boundary.
14990
14991 2001-02-26  Juergen Vigna  <jug@sad.it>
14992
14993         * lyxfunc.C (getStatus): added a string argument override function so
14994         that this is correctly called from LyXFunc::Dispatch if it contains a
14995         do_not_use_argument which is used!
14996         (Dispatch): added check for "custom" export and call appropriate func.
14997
14998 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14999
15000         * lyxrc.C: Add language_command_local, language_use_babel and
15001         language_global_options.
15002
15003         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15004
15005         * buffer.C (makeLaTeXFile): Use language_use_babel and
15006         language_global_options.
15007
15008 2001-02-23  Juergen Vigna  <jug@sad.it>
15009
15010         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15011         which works with LyXText and putted it inside BufferView. Here now we
15012         only call for that part the BufferView::Dispatch() function.
15013
15014         * BufferView.C (Dispatch): added.
15015
15016         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15017         functions which needs to use a LyXText over from LyXFunc.
15018         (MenuInsertLyXFile): added
15019         (getInsetByCode): added
15020         (moveCursorUpdate): added
15021         (static TEXT): added
15022
15023 2001-02-22  Juergen Vigna  <jug@sad.it>
15024
15025         * BufferView_pimpl.C (update): call a status update to see if LyXText
15026         needs it.
15027
15028 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15029
15030         * vc-backend.C (revert): implement for CVS
15031         (getLog): implement for CVS
15032
15033 2001-02-20  Juergen Vigna  <jug@sad.it>
15034
15035         * text2.C (ClearSelection): added BufferView param for inset_owner call
15036
15037         * lyxfunc.C (TEXT): added this function and use it instead of
15038         directly owner->view()-text of getLyXText().
15039
15040 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15041
15042         * src/layout_forms.C: out preamble
15043         * src/layout_forms.h: out preamble
15044         * src/lyx_cb.C: out preamble
15045         * src/lyx_cb.h: out preamble
15046         * src/lyx_gui.C: out preamble
15047         * src/lyx_gui_misc.C: out preamble
15048         * src/lyxfunc.C: connect with guii preamble
15049
15050 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15051
15052         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15053
15054 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15055
15056         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15057         whether to run bibtex.
15058
15059 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15060
15061         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15062
15063 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15064
15065         * Makefile.am (lyx_SOURCES): removed bibforms.h
15066
15067         * vspace.h: doxygen
15068
15069         * text.C (GetVisibleRow): make several local vars const
15070
15071         * tabular.C: small cleanup.
15072
15073         * lyxserver.C (callback): use compare instead of strncmp
15074
15075         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15076         inlines to after class or to paragraph.C
15077
15078         * lyxfont.h: remove friend operator!=
15079
15080         * converter.h: move friend bool operator< to non friend and after
15081         class def.
15082
15083         * combox.h: small cleanup
15084
15085         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15086         to inlines after class def.
15087
15088         * buffer.C (pop_tag): use string operations instead of strcmp
15089
15090         * bmtable.c: doxygen, small cleanup
15091
15092         * LaTeX.h: remove friend operator==
15093
15094 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15095
15096         * screen.C:
15097         * lyxrc.[Ch]:
15098         * lyxfunc.C:
15099         * lyxfont.[Ch]:
15100         * lyx_cb.C:
15101         * intl.[Ch]:
15102         * commandtags.h:
15103         * buffer.C:
15104         * WorkArea.[Ch]:
15105         * LyXAction.C:
15106         * BufferView_pimpl.C:
15107         * BufferView.[Ch]: remove cruft
15108
15109 2001-02-14  Juergen Vigna  <jug@sad.it>
15110
15111         * lyxfunc.C: removed #if 0 unused code
15112
15113         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15114
15115         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15116
15117         * text2.C (SetSelection): added a BufferView * parameter
15118
15119 2001-02-13  Juergen Vigna  <jug@sad.it>
15120
15121         * lyxfunc.C (Dispatch): fixed protected blank problem.
15122         * BufferView2.C (protectedBlank): added LyxText * parameter.
15123
15124         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15125         (AppendColumn): same as above for column_info.
15126
15127         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15128         (moveCursorUpdate): use a LyXText param for support of InsetText.
15129
15130         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15131         (tripleClick): ditto
15132
15133         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15134
15135         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15136
15137         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15138
15139         * text2.C (SetSelection): set correct update status if inset_owner
15140         (ToggleFree): ditto
15141
15142 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15143
15144         * tabular.C: remove some commented code.
15145
15146 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * BufferView_pimpl.C: call hideSplash()
15149
15150         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15151
15152         * include_form.h:
15153         * bibforms.h: remove
15154
15155         * lyxfunc.C:
15156         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15157           add LFUN_CHILD_CREATE
15158
15159         * counters.h: fix tiny typo
15160
15161         * lyx_cb.C:
15162         * lyx.h:
15163         * lyx_gui.C:
15164         * lyx.C: move splash to frontends/xforms/
15165
15166         * lyx_gui_misc.C: move Include and Bibform to frontends
15167
15168         * lyxvc.h: clarify comment
15169
15170         * vspace.C: tiny housekeeping
15171
15172 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15173
15174         * text.C (PrepareToPrint): RTL Fix.
15175
15176         * paragraph.C (GetUChar): New method.
15177         (String):  Use GetUChar.
15178
15179         * buffer.C (asciiParagraph): Use GetUChar.
15180
15181 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15182
15183         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15184
15185 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15186
15187         * buffer.h:
15188         * buffer.C: rename to getLogName(), handle
15189           build log / latex log nicely
15190
15191 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * MenuBackend.C:
15194         * MenuBackend.h: remove support for reference menuitem type.
15195
15196 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15197
15198         * BufferView_pimpl.C: housekeeping
15199         * BufferView_pimpl.h:
15200         * LyXView.h:
15201         * Makefile.am:
15202         * Timeout.C:
15203         * Timeout.h:
15204         * minibuffer.h: move Timeout GUI-I
15205
15206 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15207
15208         * lyxrc.C (read): Update converters data-structures.
15209
15210 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15211
15212         * LaTeX.h (operator!=): add operator != for Aux_Info
15213
15214 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15217
15218         * LaTeXLog.C: deleted, useful code moved to Buffer
15219
15220         * buffer.h:
15221         * buffer.C: new function getLatexLogName()
15222
15223         * lyx_gui_misc.C:
15224         * lyx_gui.C:
15225         * lyxvc.C:
15226         * lyxvc.h:
15227         * lyxfunc.C: use frontends for LaTeX and VC logs
15228
15229 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * LaTeX.h: yet another std:: that Allan forgot.
15232
15233         * Variables.C (set): renamed from isset(), because this clashes
15234         with some HP-UX macros (grr).
15235
15236 2001-02-06  Allan Rae  <rae@lyx.org>
15237
15238         * LaTeX.h: Another bug fix.  Missing std:: this time.
15239
15240 2001-02-04  Allan Rae  <rae@lyx.org>
15241
15242         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15243         floats problem. I've left it commented out because it's not quite
15244         correct.  It should also test that the current object is a table or
15245         figure inset.  But I haven't gotten around to figuring out how to do
15246         that.  I *think* it'll be something like: "table" == inset.type()
15247
15248         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15249         bool.
15250
15251 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15252
15253         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15254         all the citation/databases/styles in the auxilary file.
15255         (run): Rerun latex if there was a babel language error.
15256
15257 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15258
15259         * text.C (Backspace): Preserve the font when changing newline char
15260         with a space.
15261         (BreakParagraph): If the cursor is before a space, delete the space.
15262
15263         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15264
15265 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15266
15267         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15268         new argument (code).
15269         (ChangeCitationsIfUnique): New method.
15270
15271         * paragraph.C (GetPositionOfInset): Handle bibkey.
15272
15273 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15274
15275         * BufferView_pimpl.h: change type of Position::par_pos to
15276         LyXParagraph::size_type.
15277
15278 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15279
15280         * BufferView_pimpl.C (savePosition, restorePosition): Write
15281         messages to minibuffer.
15282
15283 2001-01-28  José Matos  <jamatos@fep.up.pt>
15284
15285         * buffer.C (makeDocBookFile): adds support for document language.
15286         A silly restriction on the name of LatexCommand types where removed.
15287         Added support for CDATA sections, allows to chars unescaped, used
15288         among others in code, to avoid escape < and >.
15289
15290 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15291
15292         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15293         saved positions instrad of a stack. Furthermore, a position is
15294         stored using paragraph id/paragraph position.
15295
15296         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15297         Remove LFUN_REF_BACK.
15298
15299 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15300
15301         * converter.C (dvipdfm_options): New method.
15302
15303 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15304
15305         * vspace.C (isValidLength): Fix for empty input string.
15306
15307 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * LyXAction.C (init): change description of LFUN_FIGURE to
15310         "Insert Graphics"
15311
15312 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * LaTeX.C: add using directive
15315
15316 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15317
15318         * MenuBackend.C (expand): Fix the sorting of the formats.
15319
15320 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15321
15322         * lyx_main.C: tiny error message fix
15323
15324 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15325
15326         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15327         calling fl_initialize(). This fixes the problem with ',' as
15328         decimal separator in text files.
15329
15330 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15331
15332         * trans.C (process): Fix the keymap bug.
15333
15334 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15335
15336         * LaTeX.C (scanAuxFiles): New method. Provides support for
15337         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15338         (scanLogFile) Scan for "run BibTeX" messages.
15339
15340         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15341         OT1 font encoding. Also, load the aecompl package if the ae
15342         package is loaded.
15343
15344         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15345
15346 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * texrow.C (increasePos): turn two error messages into debug
15349         messages.
15350
15351 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15352
15353         * LaTeX.C (scanAux): Handle the \@input macro.
15354         (runBibTeX): Use scanAux().
15355
15356         * language.C (latex_options_): New field.
15357
15358         * LaTeXFeatures.C (getMacros): Add language macros.
15359
15360         * buffer.C (makeLaTeXFile): Small fix.
15361
15362 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15363
15364         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15365
15366         * text2.C: add a using directive.
15367
15368 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15369
15370         * BufferView2.C:
15371         * lyx_gui_misc.h:
15372         * lyxfr1.C:
15373         * lyxfunc.C: kill LyXBell.
15374
15375 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15376
15377         * text.C (IsBoundary): Remove the error message
15378
15379         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15380
15381         * lyxrc.C (setDefaults): Correct initialization value for
15382         font_norm_type.
15383
15384 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15385
15386         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15387         gotoError().
15388
15389         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15390         and GotoNextNote().
15391
15392         * src/LyXAction.C: Added reference-next.
15393
15394         * text.C (InsertChar): Use contains instead of strchr.
15395
15396         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15397
15398 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15399
15400         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15401         alignment commands (when needed).
15402
15403         * text.C (InsertChar): Add ':' to number separator chars.