]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
967af69f7f181536b7d38b7c0eaf8b8a45e19847
[lyx.git] / src / ChangeLog
1 2004-04-08  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_sty.C (boldsymbol_def): modify so that it outputs
4         "\providecommand" rather than "\newcommand", thereby preventing
5         clashes with packages that define "\boldsymbol" themselves.
6         Eg, beamer.
7
8 2004-04-08  Angus Leeming  <leeming@lyx.org>
9
10         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
11         thereby squashing an unnecessary warning.
12
13 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
16         setBuffer()
17         
18 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
19
20         * BufferView.C (setCursor): call redoParagraph (some insets could
21         have been opened) 
22         (putSelectionAt): remove the 'double update' trick
23
24         * BufferView_pimpl.C (fitCursor): call refreshPar
25         (workAreaDispatch): remove an uneeded update call
26         (dispatch): remove some manual update calls
27
28         * cursor.[Ch]: remove cached_y_, updatePos
29         (selHandle): set noUpdate when appropriate
30
31         * lyxfunc.C (dispatch): track if we need an update
32         
33         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
34
35         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
36         (paintSelection): cheap optimization, do not call cursorX when not
37         needed 
38         (paintPars): change signature
39         (refreshPar): add
40         (paintText): adjust
41         (paintTextInset): adjust
42
43         * text.C: adjust
44
45 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * lengthcommon.C: compilation fix: remove explicit array size from
48         unit_name[] and friends
49
50 2004-04-05  Angus Leeming  <leeming@lyx.org>
51
52         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
53
54         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
55         present only for the preferences dialog.
56         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
57
58 2004-04-05  Angus Leeming  <leeming@lyx.org>
59
60         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
61         to enable the frontends to export changes to lyxrc correctly.
62
63         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
64
65 2004-04-07  André Pönitz  <poenitz@gmx.net>
66
67         * cursor.[Ch] (selClear, adjust): remove math
68
69         * cursor_slice.C: more agressive assert
70
71         * lyxfunc.C:
72         * BufferView_pimpl.C: rework mouse event dispatch 
73
74         * dociterator.C:
75         * paragraph.C:
76         * text2.C:
77         * text3.C: adjust
78
79 2004-04-05  André Pönitz  <poenitz@gmx.net>
80
81         * cursor.[Ch] (valign, halign...): remove unneeded functions
82
83 2004-04-05  Angus Leeming  <leeming@lyx.org>
84
85         * lyxlength.[Ch] (unit_name et al.): const-correct.
86
87 2004-04-05  Angus Leeming  <leeming@lyx.org>
88
89         * BufferView_pimpl.C:
90         * buffer.C:
91         * counters.C:
92         * cursor.C:
93         * lyxfunc.C
94         * paragraph.C:
95         * pariterator.C:
96         * text.C:
97         * text2.C:
98         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
99
100 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * text3.C (getStatus): add LFUN_BEGINNINGBUF
103
104 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
105
106         * lyxfind.C: add a couple of inTexted() tests + other small fixes
107         * BufferView_pimpl.[Ch] (getStatus)
108         * BufferView.[Ch] (getStatus): add
109         * lyxfunc.C (getStatus): move lfuns handled in
110         BufferView::dispatch to te function above 
111         * Cursor.C (setSelection): set selection() = true
112
113 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
114
115         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
116
117 2004-03-31  Angus Leeming  <leeming@lyx.org>
118
119         * lyxfunc.C (dispatch): Fall through to the generic
120         Dialogs::show("preamble").
121
122 2004-03-31  Angus Leeming  <leeming@lyx.org>
123
124         * lyxfunc.C (dispatch): Fall through to the generic
125         Dialogs::show("spellchecker").
126
127 2004-03-31  Angus Leeming  <leeming@lyx.org>
128
129         * lyxfunc.C (getStatus, dispatch): changed invocation of the
130         preferences dialog.
131
132 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * BufferView.C
135         * cursor.[Ch]
136         * dociterator.[Ch]:
137         * insetiterator.[Ch]:
138         * lyxfind.C:
139         * lyxfunc.C:
140         * pariterator.[Ch]:
141         * text2.C:
142         * undo.[Ch]: s/DocumentIterator/DocIterator/g
143
144 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
145
146         * BufferView.C (setCursor, putSelectionAt): call edit to open the
147         insets where we are putting the cursor.
148
149 2004-03-31  Angus Leeming  <leeming@lyx.org>
150
151         * lfuns.h:
152         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
153
154         * lyxrc.[Ch] (read, write): overloaded member functions taking
155         a std::[io]stream arguments.
156
157         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
158
159 2004-03-31  Angus Leeming  <leeming@lyx.org>
160
161         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
162         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
163
164         * lyxtextclass.C (load): if the text class couldn't be loaded, then
165         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
166
167 2004-03-31  Angus Leeming  <leeming@lyx.org>
168
169         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
170         the LFUN_ALL_INSETS_TOGGLE code.
171
172 2004-03-30  Angus Leeming  <leeming@lyx.org>
173
174         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
175         has died. Fall through to the generic Dialogs::show("document").
176         
177 2004-03-30  Angus Leeming  <leeming@lyx.org>
178
179         * lfuns.h:
180         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
181         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
182
183         * lyxfunc.C (getStatus, dispatch): define the actions for these
184         lfuns. Little more than a cut and pste job from ControlDocument.C
185
186         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
187
188 2004-03-30  Angus Leeming  <leeming@lyx.org>
189
190         * lfuns.h:
191         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
192         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
193
194         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
195         open/closed state of ollapsable insets. Usage:
196
197         all-inset-toggle <state> <name>, where
198         <state> == "open" || "closed" || "toggle" and
199         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
200
201         * lyxtext.h, text2.C (toggleInset): removed.
202
203         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
204         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
205         now passes LFUN_INSET_TOGGLE to the found inset.
206
207         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
208         is now invoked as "all-insets-toggle toggle branch".
209
210 2004-03-30  Angus Leeming  <leeming@lyx.org>
211
212         * dociterator.C:
213         * insetiterator.C:
214         * pariterator.[Ch]: added/corrected header blurb.
215
216 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
217
218         * dociterator.[Ch]: add an inset_ member 
219         (backwardPos): implemented
220         (backwardPos, forwardPos): use inset_ when the stack is empty.
221         (doc_iterator_begin, doc_iterator_end): implemented
222         * pariterator.[Ch]: adjust, add begin, end
223         * insetiterator.[Ch]: adjust, add begin, end
224         * cursor.C: 
225         * document.C:
226         * BufferView.C:
227         * BufferView_pimpl.C:
228         * CutAndPaste.C: adjust
229
230 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
231
232         * buffer.C: increment file format to 232.
233         * LaTeXFeatures.C: add bibtopic package.
234         * bufferparams.[Ch]: param \use_bibtopic.
235         
236         * lyxrc.[Ch]: add lyxrc bibtex_command
237         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
238         
239         * buffer.C: increment file format to 231.
240
241 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
242
243         * dociterator.C: implement forwardPar
244         * iterators.[Ch]: remove, replaced by
245         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
246         * BufferView.C:
247         * BufferView_pimpl.C:
248         * CutAndPaste.C:
249         * buffer.C:
250         * bufferview_funcs.C:
251         * cursor.C:
252         * lyxfind.C
253         * lyxfunc.C
254         * paragraph_funcs.C
255         * toc.C:  
256         * Makefile.am: adjust
257
258 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
259
260         * CutAndPaste.C (pasteSelection): fix 2 crashes
261         (eraseSelection): fix a crash
262         * paragraph_funcs.C: remove a warning
263
264 2004-03-28  Angus Leeming  <leeming@lyx.org>
265
266         * lfuns.h:
267         * LyXAction.C (init): new LFUN_PRINT.
268
269         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
270
271 2004-03-27  Angus Leeming  <leeming@lyx.org>
272
273         * lfuns.h:
274         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
275
276         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
277
278 2004-03-27  Angus Leeming  <leeming@lyx.org>
279
280         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
281         insetlist always contains non-null pointers to insets.
282
283 2004-03-26  Angus Leeming  <leeming@lyx.org>
284
285         * src/BufferView_pimpl.C:
286         * src/CutAndPaste.C:
287         * src/buffer.C:
288         * src/iterators.C:
289         * src/output_plaintext.C:
290         * src/outputparams.h:
291         * src/paragraph_funcs.C:
292         * src/rowpainter.C:
293         * src/text.C:
294         * src/text2.C:
295         * src/frontends/controllers/ControlErrorList.C:
296         * src/frontends/gtk/FileDialogPrivate.C:
297         * src/frontends/gtk/GPainter.C:
298         * src/frontends/gtk/GToolbar.C:
299         * src/frontends/qt2/QRef.C:
300         * src/mathed/math_scriptinset.C: squash compiler warnings.
301
302 2004-03-26  Angus Leeming  <leeming@lyx.org>
303
304         * ispell.C (LaunchIspell::start):
305         * lyx_cb.C (AutoSaveBuffer::start):
306         invoke run(DontWait) rather than runNonBlocking().
307
308 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
311
312 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * kbsequence.C (print): adjust
315
316         * kbmap.C (printKeySym): rename and change signature
317         (printKey): use LyXKeySym::print()
318
319 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * undo.C: add using std::advance to compile for stlport
322
323 2004-03-24  Angus Leeming  <leeming@lyx.org>
324
325         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
326         it leads to a crash when no buffer is present.
327
328 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329             Martin Vermeer  <martin.vermeer@hut.fi>
330
331         * lyxfunc.C (dispatch): 
332         * bufferparams.C (readToken): use the new LColor::setColor 
333
334         * LColor.[Ch] (setColor): new version that takes two strings as
335         argument and creates a new color entry if necessary
336
337 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
338
339         * buffer.C (makeLaTeXFile): if the main latex file that is
340         processed is usually a subdocument of some master, then pretend
341         for a while that it is actually the master
342
343 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
344
345         * buffer.C (getLabelList):
346         (getBibkeyList): use getMasterBuffer()
347         (getMasterBuffer): new method. Returns the main document in the
348         case where one is using included documents.
349
350 2004-03-25  André Pönitz  <poenitz@gmx.net>
351
352         * Makefile.am:
353         * iterators.[Ch]:
354         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
355
356         * ParagraphList_fwd.h: change ParagraphList to a std::vector
357
358         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
359         text*.C over here. Rename namespace CutAndPaste to lyx::cap
360
361         * ParameterStruct.h: merge with ParagraphParameters
362
363         * lyxtext.h: remove LyXText::parOffset() and getPar()
364
365         * text3.C: Remove all 'manual' update calls. We do now one per user
366         interaction which is completely sufficient.
367
368         * Bidi.C:
369         * BufferView.[Ch]:
370         * BufferView_pimpl.C:
371         * FontIterator.[Ch]:
372         * MenuBackend.C:
373         * ParagraphParameters.[Ch]:
374         * buffer.C:
375         * buffer.h:
376         * bufferlist.C:
377         * cursor.[Ch]:
378         * cursor_slice.[Ch]:
379         * dociterator.[Ch]:
380         * errorlist.[Ch]:
381         * factory.C:
382         * lfuns.h:
383         * lyxfind.C:
384         * lyxfunc.C:
385         * output_docbook.[Ch]:
386         * output_latex.[Ch]:
387         * output_linuxdoc.[Ch]:
388         * output_plaintext.[Ch]:
389         * paragraph.[Ch]:
390         * paragraph_funcs.[Ch]:
391         * paragraph_pimpl.[Ch]:
392         * rowpainter.C:
393         * tabular.[Ch]:
394         * text.C:
395         * text2.C:
396         * toc.C:
397         * undo.[Ch]: adjust
398
399         * frontends/controllers/ControlDocument.C:
400         * frontends/controllers/ControlErrorList.C:
401         * frontends/controllers/ControlSpellchecker.C:
402         * insets/inset.C:
403         * insets/inset.h:
404         * insets/insetbase.h:
405         * insets/insetbibitem.C:
406         * insets/insetbox.C:
407         * insets/insetbranch.C:
408         * insets/insetcaption.C:
409         * insets/insetcharstyle.C:
410         * insets/insetcharstyle.h:
411         * insets/insetcollapsable.C:
412         * insets/insetcollapsable.h:
413         * insets/insetert.C:
414         * insets/insetfloat.C:
415         * insets/insetfoot.C:
416         * insets/insetmarginal.C:
417         * insets/insetnote.C:
418         * insets/insetoptarg.C:
419         * insets/insettabular.C:
420         * insets/insettext.C:
421         * insets/insettext.h:
422         * insets/insetwrap.C:
423         * mathed/math_mboxinset.C:
424         * mathed/math_nestinset.C:
425         * mathed/math_scriptinset.C:
426         * mathed/math_scriptinset.h:
427         * support/types.h:
428
429 2004-03-24  Angus Leeming  <leeming@lyx.org>
430
431         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
432         deal with any child processes that have finished but are waiting to
433         communicate this fact to the rest of LyX.
434
435 2004-03-24  Angus Leeming  <leeming@lyx.org>
436
437         64-bit compile fixes.
438
439         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
440         (c-tor): pass lyx::pos_types rather than ints.
441
442         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
443         lyx::pos_type.
444
445         * text.C (Delete): compile fix.
446         (getPar): ensure that function declaration is the same as that in
447         the header file.
448
449 2004-03-23  Angus Leeming  <leeming@lyx.org>
450
451         * ispell.C (LaunchIspell):
452         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
453         a boost::shred_ptr rather than a std::auto_ptr.
454
455 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * lyxfunc.C (getStatus): handle read-only buffers correctly;
458         handle LFUN_FILE_INSERT_*
459
460         * lyxrc.C (setDefaults, getDescription, output, read):
461         * lyxrc.h: remove ps_command
462
463 2004-03-22  Angus Leeming  <leeming@lyx.org>
464
465         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
466         Ensure that error_handler is processed once only and that all data
467         is saved before attempting to output any warning messages.
468
469         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
470
471 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * tabular.C (TeXRow): crash fix (from Kayvan and André)
474
475 2004-03-19  André Pönitz  <poenitz@gmx.net>
476
477         * cursor.[Ch] (reset): take main text inset as argument
478
479         * BufferView: adjust
480         * BufferView_pimpl.C: adjust
481
482         * paragraph.[Ch]: fix completely broken operator=()
483
484 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * LColor.C (getFromLyXName): make sure that the color name is used
487         as lowercase.
488
489 2004-03-17  Angus Leeming  <leeming@lyx.org>
490
491         * lfuns.h:
492         * LyXAction.C (init): remove LFUN_FORKS_KILL.
493
494         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
495         dialog and to kill a forked process.
496
497 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
498
499         * text2.C (setCursorFromCoordinates): fix font problem
500
501 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
502
503         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
504         bogus "rebuild cursor" code
505
506 2004-03-11  André Pönitz  <poenitz@gmx.net>
507
508         * buffer.[Ch]: use InsetText instead of LyXText as container for
509         the main lyx text.
510
511         * dociterator.[Ch]: drop the BufferView * member which is not needed
512         anymore after the change to buffer.C
513
514         * paragraph_funcs.C:
515         * text.C:
516         * text2.C:
517         * BufferView.[Ch]:
518         * BufferView_pimpl.[Ch]:
519         * cursor.[Ch]:
520         * cursor_slice.[Ch]: adjust
521
522         * text3.C: fix bug in mathDispatch
523
524 2004-03-08  André Pönitz  <poenitz@gmx.net>
525
526         * undo.[Ch]: use 'StableDocumentIterator' as base for
527         the Undo struct.
528
529 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * LaTeXFeatures.C:
532         * bufferparams.[Ch]: add jurabib support and param.
533
534         * LaTeX.C: add FIXME/comment.
535
536 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
537
538         * buffer.C: increment file format to 230.
539
540 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
541
542         * cursor.C (dispatch): avoid infinite loops
543
544 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
545
546         * rowpainter.C (paintSelection): fix x coordinates
547
548 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
549
550         * text.C (rowBreakPoint): fix breaking before displayed insets
551
552 2004-03-01  André Pönitz  <poenitz@gmx.net>
553
554         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
555
556         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
557
558         * Makefile.am:
559         * BufferView.C:
560         * BufferView_pimpl.C:
561         * buffer.C:
562         * lyxfind.C:
563         * lyxfunc.C:
564         * text.C:
565         * text2.C:
566         * text3.C: adjust
567
568 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
569
570         * lyxtext.h:
571         * text.C:
572         * text2.C:
573         * rowpainter.C:
574         * BufferView_pimpl.C: rename textwidth -> maxwidth,
575         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
576
577 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
578
579         * Bidi.[Ch] (computeTables): const correctness
580         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
581         fill_hfill, fill_label_hfill and x from Row
582         * lyxtext.h: prepareToPrint returns a RowMetrics
583         * rowPainter.C: adjust
584         * text.C (prepareToPrint): use width, not textWidth. adjust
585         (redoParagraphInternal, cursorX): adjust
586         * text2.C (getColumnNearX): adjust
587         (init): put a default value to the top LyXText::width
588
589 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
590
591         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
592
593 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * lyxtext.h: add FontIterator class
596
597         * text.C (FontIterator, operator*, operator->, operator++): add
598         (rowBreakPoint, setRowWidth): adjust (fixing a
599         rebreaking bug)
600
601 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * BufferView_pimpl.C (workAreaDispatch): allow also
604         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
605
606 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
607
608         * text.C (rowBreakPoint): fix a bug showing with very large insets
609
610 2004-02-25  André Pönitz  <poenitz@gmx.net>
611
612         * text3.C:
613         * cursor.[Ch]: move some mathed specific code to mathed
614
615 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
616
617         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
618         use_tempdir in preferences
619         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
620         tempfile creation
621         * lyx_main.C: ensure that tempdir is valid
622         * lyxlex.h: correct typo
623         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
624         * paragraph.[Ch] (isMultiLingual): make const
625         * cursor.[Ch] (openable): make const
626
627 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
628
629         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
630
631 2004-02-20  André Pönitz  <poenitz@gmx.net>
632
633         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
634
635         * cursor.[Ch]: prepare for localized getStatus()
636
637         * lyxtext.h:
638         * tabular.C:
639         * text.C:
640         * text2.C:
641         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
642
643 2004-02-20  André Pönitz  <poenitz@gmx.net>
644
645         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
646
647 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
648
649         * text2.C (setCursorFromCoordinates): switch to absolute coords
650         (cursorUp): adjust
651         (cursorDown): adjust
652         * text3.C (dispatch): adjust
653
654 2004-02-16  André Pönitz  <poenitz@gmx.net>
655
656         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
657           insets/ChangeLog)
658
659         * cursor_slice.[Ch]: remove unneeded acessor function
660
661         * lyxtext.h: rename rtl() to isRTL()
662
663         * rowpainter.C:
664         * tabular.C:
665         * text.C:
666         * text2.C:
667         * text3.C: adjust
668
669 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
670
671         * rowpainter.C (paintSelection): coord fix
672
673 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
674
675         * Spacing.C: compile fix
676
677 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
678
679         * cursor.C (dispatch): restore current_ before returning
680
681 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
682
683         * text2.C (cursorUp, cursorDown): fix coords
684         (moveUp): fix crash
685
686 2004-02-12  André Pönitz  <poenitz@gmx.net>
687
688         * lyxtext.h:
689         * text.C:
690         * text2.C:
691         * text3.C: add LCursor & parameter to most cursor movement functions
692           remove usage of LyXText::cursorRow() and cursorPar()
693
694         * cursor.[Ch]: add textRow() needed members
695
696         * BufferView.C:
697         * BufferView_pimpl.C:
698         * paragraph.[Ch]:
699         * BufferView.C:
700         * BufferView_pimpl.C: adjust
701
702 2004-02-11  André Pönitz  <poenitz@gmx.net>
703
704         * lyxfunc.C:
705         * BufferView.[Ch]:
706         * BufferView_pimpl.C: shift undo/redo handling
707
708         * cursor.[Ch]: fix mathed crash
709
710         * lyxfind.C:
711         * lyxtext.h: move selectionAsText to LCursor
712
713         * output_latex.C:
714         * paragraph.C:
715         * text.C:
716         * text2.C:
717         * text3.C: adjust
718
719         * rowpainter.C: fix excessive drawing
720
721 2004-02-06  André Pönitz  <poenitz@gmx.net>
722
723         * BufferView.[Ch]:
724         * BufferView_pimpl.[Ch]:
725         * text3.C: move some text specific LFUN handling
726
727 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
728
729         * text3.C (checkInsetHit): adjust coords
730         * text2.C (getColumnNearX): adjust coords
731         (edit): adjust coords
732         * text.C (getRowNearY): add two asserts
733
734 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
735
736         * converter.C:
737         * format.C: add using std::distance to compile on gcc 2.95/stlport
738
739 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
742
743 2004-02-04  André Pönitz  <poenitz@gmx.net>
744
745         * BufferView.[Ch] (insertInset):
746         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
747
748         * text2.C:
749         * text3.C: adjust
750
751 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
752
753         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
754         on the default clause of the switch
755         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
756         wasn't catched by LCursor::dispatch
757
758 2004-02-03  André Pönitz  <poenitz@gmx.net>
759
760         * BufferView.C:
761         * cursor.[Ch]: some additional asserts
762
763         * undo.[Ch]: remove LyXText dependency in interface
764
765         * lyxfunc.C: adjust
766
767         * lyxtext.h (firstPar, lastPar): remove dead functions
768
769         * text.C:
770         * text2.C:
771         * text3.C:
772         * paragraph.[Ch]: adjust
773
774 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
775
776         * lyxfind.C (find): fix argument order in call to ::find
777
778 2004-02-02  André Pönitz  <poenitz@gmx.net>
779
780         * cursor.[Ch]: remove direct access to anchor
781
782         * text.C: remove findText() hack
783
784 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
785
786         * iterators.[Ch] (lockPath): remove in favour of...
787         * BufferView.[Ch] (setCursor): this addition
788         * BufferView.C (putSelectionAt): adjust
789         * undo.C (performUndoOrRedo): adjust
790         * lyxfunc.C (dispatch): adjust
791
792 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
793
794         * iterators.C (lockPath): add a missing slice
795         * undo.C (performUndoOrRedo): remove redundant positioning code
796
797 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
798
799         * vc-backend.C (scanMaster): ";" -> ';'
800
801 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
802
803         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
804         std::binary_function
805
806         * lyxtextclass.C (compare_name): rename to...
807         (LayoutNamesEqual): ...this
808
809         * lyxlex_pimpl.C (compare_tags): inherit from
810         std::binary_function, put back into anon namespace
811
812         * lyxfind.C (MatchString): inherig from std::binary_function
813         (findChange): use empty() istead of !size()
814
815         * format.C (FormatNamesEqual): new functor
816         (getFormat): use it
817         (getNumber): use it
818         (add): use it
819         (erase): use it
820         (setViewer): use it
821
822         * converter.C (compare_Converter): rename to...
823         (ConverterEqual): ...this, and fixup a bit.
824         (getConverter): use it, and make function const
825         (getNumber): use it, and make function const
826         (add): use it
827         (erase): use it:
828
829         * bufferlist.C: add using boost::bind
830
831         * MenuBackend.C (MenuNamesEqual): new functor
832         (hasMenu): use it, and make function const
833         (hasSubmenu): use nested bind to get rid of compare_memfun.
834
835 2004-01-30  André Pönitz  <poenitz@gmx.net>
836
837         * BufferView_pimpl.C:
838         * cursor.C:
839         * cursor.h:
840         * cursor_slice.[Ch]:
841         * lyxfunc.C:
842         * lyxtext.h:
843         * paragraph_funcs.C:
844         * paragraph_funcs.h:
845         * rowpainter.C:
846         * text.C:
847         * text2.C:
848         * text3.C: move some of the edit(x,y) handling to the insets
849         some coordinate changes.
850
851 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
852
853         * text.C: add using statements for std::advance and std::distance
854
855         * paragraph.C: add using statement for std::distance
856
857         * lyxfind.C: add using statement for std::advance
858
859         * cursor.C (region): remove std:: from swap
860         (openable): use nucleus in stead of operator->
861
862         * BufferView.C: add using statements for std::distance and std::swap
863
864 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
865
866         * iterators.C: Remove the pimple, move the needed structures to
867         the header file. Create accessor for the positions stack.
868         (asPosIterator): remove function
869
870         * PosIterator.C (PosIterator): move constructors to top of file
871         (PosIterator): reimplement the constructor taking a ParIterator in
872         terms of setFrom.
873         (setFrom): new function
874         (operator!=): inline it
875
876 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
877
878         * lyxfind.C (replaceAll): use std::advance
879
880         * iterators.h: inherit from std::iterator.
881
882         * PosIterator.C (advance, distance): remove
883         * PosIterator.h: interit from std::iterator.
884
885 2004-01-26  André Pönitz  <poenitz@gmx.net>
886
887         * BufferView.[Ch]:
888         * BufferView_pimpl.[Ch]:
889         * InsetList.[Ch]:
890         * PosIterator.[Ch]:
891         * buffer.h:
892         * bufferview_funcs.C:
893         * cursor.[Ch]:
894         * cursor_slice.h:
895         * factory.[Ch]:
896         * iterators.[Ch]:
897         * lyxfind.C:
898         * lyxfunc.C:
899         * lyxtext.h:
900         * output_docbook.C:
901         * output_latex.C:
902         * output_linuxdoc.C:
903         * output_plaintext.C:
904         * paragraph.[Ch]:
905         * paragraph_funcs.[Ch]:
906         * paragraph_pimpl.[Ch]:
907         * rowpainter.C:
908         * tabular.C:
909         * tabular.h:
910         * text.C:
911         * text2.C:
912         * text3.C: more IU:  dumps most of the rest of the mathcursor
913     implementation into cursor.[Ch]; "globalize" a bit of it.
914
915 2004-01-25  Angus Leeming  <leeming@lyx.org>
916
917         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
918
919 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
920
921         * LaTeXFeatures.h: add nice_ and nice() const
922         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
923
924 2004-01-20  André Pönitz  <poenitz@gmx.net>
925
926         * BufferView.[Ch]:
927         * BufferView_pimpl.C:
928         * PosIterator.C:
929         * bufferview_funcs.C:
930         * cursor.[Ch]:
931         * cursor_slice.[Ch]:
932         * factory.C:
933         * iterators.C:
934         * lyx_cb.C:
935         * lyxfind.C:
936         * lyxfunc.C:
937         * lyxtext.h:
938         * rowpainter.C:
939         * text.C:
940         * text2.C:
941         * text3.C:
942         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
943           LCursor and mathcursor parts to LCursor and InsetBase.
944
945 2004-01-15  André Pönitz  <poenitz@gmx.net>
946
947         * cursor_slice.[Ch]: add a few covienience functions
948
949         * funcrequest.[Ch]: remove BufferView * member
950
951         * BufferView_pimpl.C:
952         * cursor.C:
953         * factory.[Ch]:
954         * lyxfind.[Ch]:
955         * lyxfunc.C:
956         * lyxtext.h:
957         * text3.C:
958         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
959
960 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
961
962         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
963         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
964
965 2004-01-13  André Pönitz  <poenitz@gmx.net>
966
967         * textcursor.[Ch]:
968         * lyxtext.h: hide cursor and selection anchor behind accessor function
969
970         * BufferView.C:
971         * BufferView_pimpl.[Ch]:
972         * PosIterator.C:
973         * bufferview_funcs.C:
974         * cursor.h:
975         * lyxfind.C:
976         * lyxfunc.C:
977         * text.C:
978         * text2.C:
979         * text3.C:
980         * undo.C: adjust
981
982         * cursor.h:
983         * cursor_slice.[Ch]: some integer type changes for inset unification
984
985         * lyxcursor.[hC]: remove, it's CursorSlice now.
986
987         * Makefile.am:
988         * BufferView_pimpl.[Ch]:
989         * bufferview_funcs.C:
990         * cursor_slice.C:
991         * lyxtext.h:
992         * text.C:
993         * text2.C:
994         * text3.C:
995         * textcursor.[Ch]: adjust
996
997 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
998
999         * text2.C (undoSpan): add and use
1000         * text.C (breakParagraph): use undoSpan (fix bug 578)
1001         * lyxtext.h: adjust
1002
1003 2004-01-08  Angus Leeming  <leeming@lyx.org>
1004
1005         * BufferView_pimpl.C (MenuInsertLyXFile):
1006         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1007         * lyxfunc.C (menuNew, open, doImport):
1008         FileFilterList change to the FileDialog open and save functions.
1009
1010 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1011
1012         * ShareContainer.h: make isEqual and isUnique adaptable
1013
1014         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1015
1016 2004-01-07  Angus Leeming  <leeming@lyx.org>
1017
1018         * LyXAction.C:
1019         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1020
1021         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1022
1023         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1024         functions replacing find, replace and replaceAll.
1025
1026         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1027         LFUN_WORDFIND(FORWARD|BACKWARD).
1028
1029 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1030
1031         * text.C (breakParagraph): remove an outdated #warning
1032
1033 2004-01-07  André Pönitz  <poenitz@gmx.net>
1034
1035         * lyxfind.C: somewhat clearer logic
1036
1037         * text.C: prevent crash in cursorX on unitialized row cache
1038
1039 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1040
1041         * lyxcursor.[Ch] (operator>): add
1042         * textcursor.C (selStart, selEnd): use std::min and std::max
1043
1044 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1045
1046         * Chktex.C: include boost/format.hpp
1047
1048 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1049
1050         * InsetList.C: replace functor MathcIt with adaptable functor
1051         InsetTablePosLess
1052         (insetIterator): modify accordingly
1053
1054         * BranchList.h: move the BranchNamesEqual functor here from...
1055         * BranchList.C: ... to here
1056
1057         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1058         SameName and match.
1059         (add): replace a finding loop with std::find_if.
1060
1061 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1062
1063         * output_docbook.C: moving LatexParam functionality into
1064         .layout files
1065
1066 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1067
1068         * buffer.C: increment format to 229.
1069
1070 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1071
1072         * LaTeXFeatures.C:
1073         * lyx_sty.[Ch]: remove minipageindent_def
1074
1075         * LyXAction.C:
1076         * factory.C:
1077         * lfuns.h:
1078         * lyxfunc.C:
1079         * text3.C: remove LFUN_INSET_MINIPAGE
1080
1081 2003-12-28  Angus Leeming  <leeming@lyx.org>
1082
1083         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1084
1085 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * text2.C (setParagraph): fix off-by-one crash
1088
1089 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1090
1091         * output_docbook.C: header stuff for AGU
1092
1093 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1094
1095         * text2.C (redoCursor): remove
1096         * text.C:
1097         * text3.C:
1098         * BufferView_pimpl.C: remove calls to redoCursor and
1099         setCursor(cursor.par(), cursor.pos()) all around
1100
1101 2003-12-15  Angus Leeming  <leeming@lyx.org>
1102
1103         * buffer.C: up the format to 228.
1104
1105 2003-12-15  André Pönitz  <poenitz@gmx.net>
1106
1107         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1108         slices
1109
1110         * Makefile.am:
1111
1112         * BufferView_pimpl.C:
1113         * cursor.[Ch]:
1114         * lyxcursor.[Ch]:
1115         * rowpainter.[Ch]:
1116         * lyxtext.h:
1117         * text.C:
1118         * text2.C:
1119         * text3.C: adjust
1120
1121 2003-12-15  Angus Leeming  <leeming@lyx.org>
1122
1123         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1124         than getFromGUIName to manipulate the color.
1125
1126 2003-12-14  Angus Leeming  <leeming@lyx.org>
1127
1128         * BranchList.[Ch]: minimize the API.
1129         (Branch::getBranch, getColor): now return a 'const &'.
1130         (Branch::setSelected) now returns a bool set to true if the
1131         selection status changes.
1132         (BranchList::clear, size, getColor, setColor, setSelected,
1133         allBranches, allSelected, separator): removed.
1134         (BranchList::find): new functions, returning the Branch with
1135         the given name.
1136         (BranchList::add, remove): return a bool indicating that
1137         the operation was successful.
1138
1139         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1140         new InsetBranch::isBranchSlected member function.
1141
1142         * LColor.[Ch]: mimimize the API.
1143         (fill): renamed as addColor and made private.
1144         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1145         versions of these functions taking a string arg have been removed.
1146
1147         * bufferparams.C (readToken):
1148         * lyxfunc.C (dispatch):
1149         * lyxrc.C (read): changes due to the altered BranchList and
1150         LColor APIs.
1151
1152         * factory.C (createInset, readInset): changes due to altered
1153         InsetBranch c-tor.
1154
1155 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1156
1157         * factory.C:
1158         * lyxfunc.C: remove insetminipage. "minipage-insert"
1159         now produces a frameless minipage box inset.
1160
1161 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1162
1163         * textcursor.[Ch] (selStart,selEnd): add new methods
1164         remove selection::start, end, use LyXCursor::operator<
1165         * lyxcursor.[Ch] (operator<): add
1166         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1167         * BufferView.[Ch] (unsetXSel): add
1168         * text2.C (clearSelection): use unsetXSel,adjust
1169         * text.C: adjust
1170         * text3.C: adjust
1171         * rowpainter.C: adjust
1172         * bufferview_funcs.C (put_selection_at): adjust
1173
1174 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1175
1176         * BufferView_pimpl.C: small coord. correction
1177
1178 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1179
1180         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1181         dragging over the splash screen.
1182
1183 2003-12-11  Angus Leeming  <leeming@lyx.org>
1184
1185         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1186         as it is now handled in LyXText::dispatch.
1187
1188         * text3.C (doInsertInset): remove a level of nesting.
1189
1190 2003-12-11  Angus Leeming  <leeming@lyx.org>
1191
1192         * factory.C (createInset): changes due to the changed interface to
1193         InsetCommandMailer::string2params.
1194
1195 2003-12-10  Angus Leeming  <leeming@lyx.org>
1196
1197         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1198         'dialog-show-new-inset <inset name>'
1199
1200 2003-12-10  Angus Leeming  <leeming@lyx.org>
1201
1202         * buffer.C: up the format to 227.
1203
1204         * factory.C: the box inset is now identified simply by 'Box'.
1205
1206 2003-12-10  Angus Leeming  <leeming@lyx.org>
1207
1208         * buffer.C: up the format to 226.
1209
1210         * factory.C: the note inset is now identified simply by 'Note'.
1211
1212 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1215         when a pit is enough. Standarize a couple of loops.
1216
1217 2003-12-05  Angus Leeming  <leeming@lyx.org>
1218
1219         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1220         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1221         data to the re-worked "log" dialog.
1222
1223 2003-12-03  André Pönitz  <poenitz@gmx.net>
1224
1225         * PosIterator.C:
1226         * iterators.C:
1227         * lyxtext.h:
1228         * output_latex.C:
1229         * paragraph_funcs.C:
1230         * text.C:
1231         * text2.C: use Inset::getText instead of Inset::getParagraph
1232
1233 2003-12-03  André Pönitz  <poenitz@gmx.net>
1234
1235         * buffer.[Ch]:
1236         * lyxtext.h:
1237         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1238         InsetText::read() as LyXText::read()
1239
1240 2003-12-02  Angus Leeming  <leeming@lyx.org>
1241
1242         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1243         type. Add a comment in the implementation that the function uses
1244         the stream's bad() function rather than fail() as the std::streams
1245         would do.
1246
1247 2003-12-02  André Pönitz  <poenitz@gmx.net>
1248
1249         * lyxlex.[Ch]: make interface more similar to std::stream
1250
1251         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1252
1253 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1254
1255         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1256
1257 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1258
1259         * vspace.[Ch]: remove VSpace::NONE
1260
1261 2003-12-01  André Pönitz  <poenitz@gmx.net>
1262
1263         * buffer.[Ch]:
1264         * lyxtext.h: move ParagraphList member to LyXText
1265         rename LyXText::ownerParagraphs to LyXText::paragraph
1266
1267         * CutAndPaste.C:
1268         * bufferview_funcs.C:
1269         * iterators.[Ch]:
1270         * lyx_cb.C:
1271         * paragraph.C:
1272         * rowpainter.C:
1273         * tabular.C:
1274         * text.C:
1275         * text2.C:
1276         * text3.C: adjust
1277
1278         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1279
1280         * undo.C: fix cursor positioning
1281
1282 2003-12-01  John Levon  <levon@movementarian.org>
1283
1284         * BufferView_pimpl.C: fix a crash on exit with
1285         a buffer open
1286
1287 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1288
1289         * BranchList.C: fix setSelected() method.
1290
1291 2003-11-28  André Pönitz  <poenitz@gmx.net>
1292
1293         * ParagraphParameters.[Ch]:
1294         * ParameterStruct.h: remove space above/below from Paragraph to
1295          InsetVSpace
1296
1297         * BufferView_pimpl.C:
1298         * factory.C:
1299         * lyxfunc.C:
1300         * lyxtext.h:
1301         * output_latex.C:
1302         * paragraph.C:
1303         * paragraph_funcs.C:
1304         * rowpainter.[Ch]:
1305         * text.C:
1306         * text2.C:
1307         * text3.C: adjust
1308
1309 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1310
1311         * factory.C: Syntax change for CharStyles
1312
1313 2003-11-28  André Pönitz  <poenitz@gmx.net>
1314
1315         * BufferView.[Ch]:
1316         * BufferView.[Ch]:
1317         * buffer.[Ch]:
1318         * buffer.[Ch]: move LyXText member
1319
1320 2003-11-28  André Pönitz  <poenitz@gmx.net>
1321
1322         * BufferView.[Ch]: make LyXText * text a private member
1323
1324         * BufferView_pimpl.C:
1325         * cursor.C:
1326         * iterators.C:
1327         * lyx_cb.C:
1328         * lyxfind.C:
1329         * lyxtext.h:
1330         * rowpainter.[Ch]:
1331         * text.C:
1332         * text2.C:
1333         * undo.C: adjust
1334
1335         * output_plaintext.C: cleanup
1336
1337 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1338
1339         * buffer.C:
1340         * lyxtextclass.[Ch]: parametrize SGML document header
1341
1342 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1343
1344         * converter.[Ch]:
1345         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1346         getFlavor().
1347
1348 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1349
1350         * text2.C (setFont): rework using PosIterator (no more recursive)
1351         (setCharFont): no more needed
1352         (setLayout): no more selection cursors fiddling (done by redoCursor)
1353         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1354         destroy remaining ones)
1355
1356 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1357
1358         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1359         * lyxtext.h: ditto
1360         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1361         selection cursors
1362         * lyxfunc.C: adjust
1363         * text3.C: adjust + re-allow multi par depth changes
1364         * textcursor.C: simplify a bit
1365
1366 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1367
1368         * src/buffer.C:
1369         * src/lyxlayout.C:
1370         * src/lyxlayout.h:
1371         * src/lyxtext.h:
1372         * src/output_docbook.C:
1373         * src/output_latex.C:
1374         * src/paragraph.C:
1375         * src/paragraph.h:
1376         * src/sgml.C:
1377         * src/sgml.h:
1378         * src/text2.C: Introducing a number of tags parametrizing various
1379         XML formats that we may want to support
1380
1381 2003-11-25  André Pönitz  <poenitz@gmx.net>
1382
1383         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1384
1385         * lyxtext.h (leftMargin/rightMargin): simplify interface
1386
1387         * rowpainter.C:
1388         * text.C:
1389         * text2.C:
1390         * text3.C: adjust
1391
1392 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1393
1394         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1395         master file to any child files. Fixes bug 546.
1396
1397 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1398
1399         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1400
1401 2003-11-24  André Pönitz  <poenitz@gmx.net>
1402
1403         * rowpainter.C: simplification
1404
1405         * text2.C (updateCounters): remove call to redoParagraph on
1406         changed labels as this is far too expensive.
1407
1408 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1409
1410         * converter.C (convert): fix a crash: this function gets
1411         called with buffer == 0 from importer code.
1412
1413 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1414
1415         * text3.C (cursorPrevious): make sure that we do not compare
1416         iterators form different containers.
1417         (cursorNext): ditto
1418
1419         * rowpainter.C (paintSelection): make sure that we do not compare
1420         iterators from different containers.
1421
1422         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1423         iterators from different ParagraphList containers.
1424         [NEXT] ditto
1425
1426         * text2.C (LyXText): change order of initialization slightly
1427         (operator=): new function. copy all variables except cache_par_
1428         (moveUp): make sure that we do not compare iterators from
1429         different ParagraphList constainers.
1430         (moveDown): ditto
1431
1432         * text.C (firstPar): new function
1433         (lastPar): new function
1434         (endPar): new function
1435
1436         * lyxtext.h: move things around and group public functions, public
1437         variables, private functions, private variables
1438
1439 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1440
1441         * factory.C: change call to InsetERT constructor to avoid
1442         additional invocation of method status
1443         * text2.C (toggleInset): remove redundant update() call
1444         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1445         instead of a Bufferview pointer
1446
1447 2003-11-21  André Pönitz  <poenitz@gmx.net>
1448
1449         * rowpainter.C: simplification
1450
1451 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1452
1453         * text3.C (dispatch): make possible to extend a word/row selection
1454         with the mouse
1455
1456 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1457
1458         * lyxtext.h: x0_,y0_ -> xo_,yo_
1459         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1460         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1461         * rowpainter.C (paintRows): paint full paragraphs
1462
1463 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1464
1465         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1466         screen coordinates)
1467
1468 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1469
1470         * lyxtext.h: add x0_, y0_
1471         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1472         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1473
1474 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1475
1476         * text2.C (setCursorIntern): move the x_target update here *
1477         * text3.C: change some bv() to true/false in calls to
1478         cursorUp/Down/Right/Left
1479         * cursor.C: use helper function.
1480
1481 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1484         * paragraph_funcs.[Ch]: correct comment
1485         * rowpainter.C: do not paint selections away from bv->cursor()
1486         Fix a long standing selection painting bug.
1487         * text3.C: generalize mouse-selection code to LyXTexts other that
1488         top one
1489         * textcursor.C: do not use y coords if we can use par offsets
1490
1491 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1492
1493         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1494         cursor position after e.g. inset insert)
1495
1496 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * lyxfind.C (replace): adjust to locking removal + some
1499         code simplification
1500
1501 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1502
1503         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1504         of the path
1505
1506 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1507
1508         * lyxlayout.[Ch]:
1509         * output_docbook.C: XML sanitation: new layout
1510         parameters InnerTag and CommandDepth
1511
1512 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1513
1514         * BufferView_pimpl.C:
1515         * factory.C:
1516         * text3.C: Fix the insertion and modification of button-style
1517         insets
1518
1519 2003-11-13  André Pönitz  <poenitz@gmx.net>
1520
1521         * InsetList.[Ch]: remove deleteLyXText
1522
1523         * paragraph.[Ch]: cache beginOfBody position
1524
1525         * Bidi.C:
1526         * text.C:
1527         * text2.C:
1528         * text3.C: remove superfluous update() calls
1529
1530         * vspace.C: cleanup
1531
1532 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1533
1534         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1535         * BufferView.C (fitLockedInsetCursor): remove
1536         * cursor.[Ch] (getDim): add
1537         * text.C (getRowNearY): add faster version
1538         * text3.C: remove some update calls
1539
1540 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1541
1542         * LaTeXFeatures.C:
1543         * LyXAction.C:
1544         * MenuBackend.C:
1545         * MenuBackend.h:
1546         * dispatchresult.h:
1547         * factory.C:
1548         * lfuns.h:
1549         * lyxfunc.C:
1550         * lyxtextclass.C:
1551         * lyxtextclass.h:
1552         * text3.C: The Character Style /XML short element patch.
1553
1554 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1555
1556         * text3.C:
1557         * factory.C: Small step to solving 'unable to insert some insets'
1558         problem
1559
1560 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1561
1562         * cursor.[Ch] (updatePos): new function for updating the y
1563         position of the tip inset
1564         * bufferview_funcs.C (put_selection_at):
1565         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1566
1567 2003-11-11  André Pönitz  <poenitz@gmx.net>
1568
1569         * text.C: remove big comment on invalid Paragraph pointers as it is
1570         not valid anymore
1571
1572 2003-11-11  André Pönitz  <poenitz@gmx.net>
1573
1574         * text_funcs.[Ch]: merge with ...
1575
1576         * text.C: ... this
1577
1578         * lyxtext.h:
1579         * text2.C:
1580         * text3.C: adjust
1581
1582         * Makefile.am: remove text_funcs.[Ch]
1583
1584 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1585
1586         * cursor.C (getPos): return absolute cached y coord
1587
1588         * BufferView_pimpl.C (fitCursor): new simplistic code
1589         (workAreaDispatch): add a fitCursor call
1590
1591 2003-11-10  André Pönitz  <poenitz@gmx.net>
1592
1593         * BufferView.[Ch]:
1594         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1595
1596 2003-11-10  André Pönitz  <poenitz@gmx.net>
1597
1598         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1599         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1600         indicate that the cursor needs to leave an inset
1601
1602         * lyxtext.h: remove inset locking
1603
1604         * cursor.[Ch]: re-implement functionality provided by inset locking
1605
1606         * BufferView.[Ch]:
1607         * BufferView_pimpl.[Ch]:
1608         * LyXAction.C:
1609         * bufferview_funcs.[Ch]:
1610         * factory.C:
1611         * funcrequest.[Ch]:
1612         * iterators.C:
1613         * lyx_cb.C:
1614         * lyxfind.C:
1615         * lyxfunc.C:
1616         * text.C:
1617         * text2.C:
1618         * text3.C:
1619         * undo.C: adjust
1620
1621 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1622
1623         * PosIterator.[Ch]: replace the stack with a vector, add inset
1624         accesor
1625         * iterators.[C]: adjust
1626
1627 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1628
1629         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1630         replaced
1631         * paragraph_funcs.C (readParToken): put the correct id in the
1632         error item, not the id of the top paragraph
1633
1634 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1635
1636         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1637         * bufferview_funcs.C (put_selection_at): use the above
1638
1639 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1640
1641         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1642
1643 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * output_linuxdoc.h:
1646         * output_plaintext.h:
1647         * output.h:
1648         * output_docbook.h: add #include statements
1649
1650 2003-11-05  José Matos  <jamatos@lyx.org>
1651
1652         * output_docbook.[Ch]:
1653         * output_latex.[Ch]:
1654         * output_linuxdoc.[Ch]:
1655         * output_plaintext.[Ch]: New files for output formats.
1656         * output.[Ch]: New file for helper functions.
1657
1658         * buffer.[Ch]:
1659         * paragraph_funcs.[Ch]: output functions moved to new files.
1660
1661         * outputparams.h: rename of latexrunparams.h
1662
1663         * LaTeX.[Ch]:
1664         * buffer.[Ch]:
1665         * bufferlist.[Ch]:
1666         * converter.[Ch]:
1667         * exporter.C:
1668         * paragraph.[Ch]:
1669         * paragraph_funcs.[Ch]:
1670         * paragraph_pimpl.[Ch]:
1671         * tabular.[Ch]: rename ascii to plaintext
1672         and LatexRunParams to OutputParams.
1673
1674 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1675
1676         * iterators.[Ch] (text): require bv argument
1677         * undo.C (recordUndo):
1678         * lyxfunc.C (dispatch):
1679         * bufferview_funcs.C (put_selection_at): adjust
1680
1681 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1682
1683         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1684
1685 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1686
1687         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1688         nestings
1689
1690 2003-11-04  André Pönitz  <poenitz@gmx.net>
1691
1692         * cursor.[Ch]: restructure
1693
1694         * BufferView.[Ch]:
1695         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1696
1697         * iterators.[Ch] (asCursor): remove
1698
1699         * lfuns.h: remove LFUN_INSET_EDIT
1700
1701         * lyxfunc.C:
1702         * tabular.C:
1703         * text.C:
1704         * text2.C:
1705         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1706
1707 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1708
1709         * lyxfind.[Ch]: complete overhaul
1710         * BufferView_pimpl.C:
1711         * lyxfunc.C: adjust
1712         * paragraph.[Ch] (insert): add
1713
1714 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1715
1716         * BufferView.[Ch]:
1717         * lyxtext.h:
1718         * text.C: remove dead spellcheck code
1719
1720 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1721
1722         * dispatchresult.h: add a val setter
1723
1724         * cursor.C (dispatch): use a tempvar for data_[i]
1725
1726 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1727
1728         * PosIterator.[Ch]: compile fix
1729
1730 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1731
1732         * text.C (cursorPar): deactivate the cursor cache
1733
1734 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1735
1736         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1737
1738 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1739
1740         * text3.C (dispatch): adjust for new DisptchResult semantics.
1741
1742         * lyxfunc.C (dispatch): handle update when return from
1743         Cursor::dispatch, adjust for new DispatchResult semantics.
1744
1745         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1746         DispatchResult(true) mean to not update. Add class functions for
1747         setting dispatched and update, as well as reading.
1748
1749         * cursor.C (dispatch): don't handle update here
1750
1751 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1754         * trans_mgr.C: adjust
1755
1756         * paragraph_funcs.C (readParToken): exception safety
1757
1758         * lyxvc.h: store the vcs pointer in a scoped_ptr
1759         * lyxvc.C: adjust
1760
1761         * lyxsocket.C (serverCallback): exception safety
1762
1763         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1764
1765         * ispell.C (clone): make it return a auto_ptr
1766
1767         * factory.C (createInset): exception safety
1768         (readInset): exception safety
1769
1770         * bufferlist.C (newBuffer): exception safety
1771
1772         * Thesaurus.C (Thesaurus): use initialization for aik_
1773
1774         * MenuBackend.C (expandToc): exception safety.
1775
1776 2003-11-03  André Pönitz  <poenitz@gmx.net>
1777
1778         * buffer.C:
1779         * buffer.h:
1780         * bufferview_funcs.C: remove getInsetFromId()
1781
1782         * lyxcursor.[Ch]:
1783         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1784
1785         * lyxfunc.C:
1786         * text2.C:
1787         * text3.C: adjust
1788
1789 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1790
1791         * PosIterator.C (distance, advance): new
1792         * bufferview_funcs.[Ch] (put_selection_at): new
1793         * iterators.[Ch] (lockPath): new
1794
1795 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1796
1797         * iterators.[Ch] (asPosIterator): added
1798         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1799         * PosIterator.[Ch]: added
1800
1801 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1802
1803         * text3.C:
1804         * lyxfunc.C:
1805         * cursor.C (dispatch):
1806         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1807
1808         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1809         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1810         contructor, add a class function dispatched. Remove operator>=
1811
1812 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1813
1814         * debug.C: only use the default constructor for debugstream
1815         (lyxerr) here.
1816
1817         * main.C (main): include debug.h and setup the lyxerr streambuf
1818         here.
1819
1820 2003-10-31  José Matos  <jamatos@lyx.org>
1821
1822         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1823
1824         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1825         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1826         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1827         * paragraph_pimpl.C (simpleTeXSpecialC):
1828         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1829         add LatexRunParams argument.
1830
1831         * exporter.C (Export): change call accordingly.
1832
1833         * latexrunparams.h: add new member to take care of the other backends.
1834 2003-10-30  José Matos  <jamatos@lyx.org>
1835
1836         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1837         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1838         factorise code for paragraph output.
1839         * buffer.[Ch]:
1840         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1841         move functions.
1842
1843 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1844
1845         * text3.C (dispatch):
1846         * lyxfunc.C (dispatch):
1847         * cursor.C (dispatch):
1848         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1849
1850         * dispatchresult.h: make the dispatch_result_t ctor explicit
1851
1852 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1853
1854         * sgml.[Ch]:
1855         * buffer.C: small refactoring of docbook stuff
1856
1857 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1858
1859         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1860         meaning.
1861
1862 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1865         operator dispatch_result_t, and operators for == != and >=
1866
1867         * cursor.C (dispatch): adjust for operator dispatch_result_t
1868         removal. comment out call to update
1869
1870         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1871
1872 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1873
1874         * text3.C:
1875         * text2.C:
1876         * text.C:
1877         * lyxtext.h:
1878         * lyxfunc.C:
1879         * cursor.C:
1880         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1881         (dispatch):
1882
1883         * dispatchresult.h: new file, DispatchResult broken out of
1884         insets/insetbase.h
1885
1886         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1887
1888 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1889
1890         * text.C (rowBreakPoint): put a hack inside #if 0
1891
1892 2003-10-28  André Pönitz  <poenitz@gmx.net>
1893
1894         * lyxtext.h:
1895         * metricsinfo.C:
1896         * paragraph_funcs.C:
1897         * rowpainter.C:
1898         * text.C:
1899         * text2.C: general cleanup (lots of small stuff)
1900
1901 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1902
1903         * text2.C (cursorEnd): simple fix to the "end key goes to one
1904         before the end on last row" bug
1905
1906 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * text.C (backspace): fix the "zombie characters"
1909
1910 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1911
1912         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1913
1914 2003-10-27  André Pönitz  <poenitz@gmx.net>
1915
1916         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1917
1918         * factory.C: handle new InsetPagebreak, InsetLine
1919
1920         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1921         and move handling into new InsetPagebreak, InsetLine
1922
1923         * BufferView_pimpl.C:
1924         * LyXAction.C:
1925         * ParagraphParameters.C:
1926         * ParameterStruct.h:
1927         * lyxfunc.C:
1928         * lyxtext.h:
1929         * paragraph.C:
1930         * paragraph.h:
1931         * paragraph_funcs.C:
1932         * paragraph_pimpl.C:
1933         * rowpainter.C:
1934         * text.C:
1935         * text2.C:
1936         * text3.C: adjust
1937
1938 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1939
1940         * text.C:
1941         * lyxrow_funcs.[Ch]:
1942         * Bidi.C:
1943         * paragraph.C:
1944         * lyxtext.h:
1945         * rowpainter.C:
1946         * text2.C:
1947         * text3.C: remove lastPos uses in favour of Row::endpos
1948
1949 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1950
1951         * undo.C (performUndoOrRedo): fix two crashes by setting a
1952         cursor by hand and reordering some calls. Use bv->lockInset instead
1953         of inset->edit because the latter loses cursor information
1954
1955 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1956
1957         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1958         by Martin
1959         (rowBreakPoint): fix width. change point to point + 1.
1960         Add a missing check.
1961
1962 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1963
1964         * MenuBackend.C:
1965         * lyxfunc.C: fix (at least partly) the problems
1966         with the Nav menu and headers inside branch insets
1967         reported by Kayvan
1968
1969 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1970
1971         * paragraph.C (getChar): add strong asserts
1972
1973         * lyxrow_funcs.C (lastPos): remove hideous hack
1974
1975         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1976         (fill): adjust to that (avoid an infinite loop)
1977
1978 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1979
1980         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1981
1982 2003-10-23  André Pönitz  <poenitz@gmx.net>
1983
1984         * RowList_fwd.h: change list<> to vector<> to gain speed
1985         after suggestion from Alfredo
1986
1987 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1988
1989         * lyxtext.h: move the bidi stuff from here...
1990         * text.C: and here
1991         * text2.C: and here
1992         * Bidi.[Ch]: ... to here
1993
1994 2003-10-23  André Pönitz  <poenitz@gmx.net>
1995
1996         * lyxtext.h:
1997         * text.C (isLastRow, isFirstRow): new functions
1998
1999         * paragraph.h: new width cache member
2000
2001         * rowpainter.C: replace RowList::iterator with Row & where possible
2002
2003         * lyxfunc.C: replace several view()->text with a single call
2004
2005         * toc.C: fix 'unused' warning
2006
2007 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2008
2009         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2010         when woring with stream::pos_type
2011         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2012
2013 2003-10-22  André Pönitz  <poenitz@gmx.net>
2014
2015         * lyxtext.h:
2016         * text.C: use Row & instead of RowList::iterator
2017
2018         * lyxrow.h: rename end() to endpos()
2019
2020         * rowpainter.C:
2021         * text.C:
2022         * text2.C: adjust
2023
2024 2003-10-22  Angus Leeming  <leeming@lyx.org>
2025
2026         * buffer.[Ch] (fully_loaded): new member function, returning true
2027         only when the file has been loaded fully.
2028         Used to prevent the premature generation of previews and by the
2029         citation inset to prevent computation of the natbib-style label.
2030
2031         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2032         templates are all set up.
2033
2034         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2035
2036 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2037
2038         * text.C: fixed an "oops" in the "is a bit silly"
2039         bug fix
2040
2041 2003-10-21  André Pönitz  <poenitz@gmx.net>
2042
2043         * FuncStatus.[Ch]: small stuff, whitespace
2044
2045         * lyxfont.[Ch]: operator<<() for debug reasons
2046
2047         * lyxfunc.C:
2048         * lyxrow_funcs.C:
2049         * lyxtext.h: whitespace, spelling
2050
2051         * paragraph.C: naming of variables
2052
2053         * text.C:
2054         * text2.C: small stuff
2055
2056
2057 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2058
2059         * text.C: (1) finish off the inset display() work;
2060         (2) fix the "is a bit silly" bug (accessing char
2061         past end of par).
2062
2063 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2064
2065         * text.C: re-introduce display() for insets, fixing the
2066         various bugs (stretch of line above, math inset
2067         positioning, ...)
2068
2069 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * text.C (rightMargin): remove spurious semicolon
2072
2073         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2074         1415)
2075
2076 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2077
2078         * text3.C: fix one crash due to wrong cursor def
2079
2080 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * vc-backend.C (scanMaster): make the regex static
2083
2084         * LaTeX.C (scanAuxFile): make the regexs static
2085
2086         * text3.C (doInsertInset, dispatch, dispatch):
2087         * text2.C (cursorUp, cursorDown):
2088         * text.C (selectNextWordToSpellcheck):
2089         * BufferView_pimpl.C (dispatch):
2090         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2091
2092 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2093
2094         * lyxsocket.C: include <cerrno>
2095
2096 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * lyxfunc.C (dispatch): remove textcache stuff
2099
2100         * bufferlist.C (release): remove textcache stuff
2101         (closeAll): ditto
2102
2103         * TextCache.C: delete file
2104         * TextCache.h: delete file
2105
2106         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2107
2108         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2109         delete of the bv_->text.
2110         (resizeCurrentBuffer): remove texcache stuff
2111         (workAreaResize): ditto
2112
2113 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2114
2115         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2116         action.
2117
2118 2003-10-16  André Pönitz  <poenitz@gmx.net>
2119
2120         * lyxrow.[Ch]:
2121         * paragraph.h:
2122         * rowpainter.C:
2123         * text.C:
2124         * text2.C:
2125         * text3.C: speed up by storing y positions per paragraph plus per-row
2126         offset instead of having a 'full' y position in the row.
2127
2128 2003-10-15  André Pönitz  <poenitz@gmx.net>
2129
2130         * iterators.[Ch]:
2131         * iterators.[Ch]:
2132         * undo.[Ch]: make undo aware of inner insets
2133
2134 2003-10-14  Angus Leeming  <leeming@lyx.org>
2135
2136         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2137         static member functions LyX::ref() and LyX::cref.
2138         (lastfiles): new accessor functions for the new lastfiles_ member var.
2139         (addLyXView, views_): add a new LyXView to the list of views_.
2140         (updateInset): loop over all LyXViews to call their own updateInset
2141         member function, returning a pointer to the Buffer owning the inset.
2142
2143         * BufferView_pimpl.C (loadLyXFile):
2144         * MenuBackend.C (expandLastfiles):
2145         * bufferlist.C (MenuWrite, QuitLyX):
2146         lastfiles is no longer a global variable.
2147         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2148
2149         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2150         static function. Access through LyX::cref().emergencyCleanup().
2151
2152 2003-10-14  André Pönitz  <poenitz@gmx.net>
2153
2154         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2155
2156         * undo.[Ch]: restoring part of 'undo in insets'
2157
2158         * Makefile.am:
2159         * undo_funcs.[Ch]: merge with undo.[Ch]
2160
2161         * tabular.C: small cleansing stuff
2162
2163 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2164
2165         * paragraph_funcs.C (readParToken): report unknown insets as error
2166         boxes. Use the outer paragraph as location (also for unknown
2167         tokens).
2168
2169         * factory.C (readInset): do not abort on reading an unknown inset.
2170         Eat it and return 0.
2171
2172 2003-10-13  Angus Leeming  <leeming@lyx.org>
2173
2174         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2175
2176         * lyxrc.C: displayTranslator is now a function,
2177         declared in GraphicsTypes.h.
2178
2179 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2180
2181         * format.C: new placeholder $$a to pass the socket address.
2182
2183         * bufferlist.[Ch]: new function getBufferFromTmp.
2184
2185         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2186           files in the temporary dir.
2187
2188 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2189
2190         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2191
2192         * Makefile.am: add lyxsocket.[Ch].
2193
2194         * lyx_main.C (error_handler): handle SIGPIPE.
2195
2196 2003-10-13  André Pönitz  <poenitz@gmx.net>
2197
2198         * BufferView_pimpl.C:
2199         * lyxtext.h:
2200         * text.C:
2201         * text2.C:
2202         * text3.C:
2203         * undo_funcs.[Ch]: use paroffset_type instead of
2204           ParagraphList::iterators to prevent multiple conversion
2205           (and get a more robust interface)
2206
2207 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2208
2209         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2210         * lyxtext.h: ditto
2211         * text3.C (dispatch): ditto
2212
2213 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2214
2215         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2216         move the onlyfile, use onlyfile instead of foundfile in a couple
2217         of places.
2218
2219         * DepTable.C (update): flush the error stream a bit more
2220
2221 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2222
2223         * lyxserver.C (callback): adjust
2224
2225         * lyxfunc.C (getStatus): add a missing brace in commented code
2226         (ensureBufferClean): reindent
2227         (dispatch): delete version taking a string
2228
2229 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * LaTeX.C (deplog): move found file handlig from here...
2232         (handleFoundFile): .. to new function here.
2233         (deplog): make sure to discover several files mentioned on the
2234         same log line.
2235
2236 2003-10-10  André Pönitz  <poenitz@gmx.net>
2237
2238         * lyxfunc.C:
2239         * lyxtext.h:
2240         * tabular.C:
2241         * text.C:
2242         * text2.C:
2243         * text3.C: fix some of the tabular crashes
2244
2245 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2246
2247         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2248
2249         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2250
2251 2003-10-09  André Pönitz  <poenitz@gmx.net>
2252
2253         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2254
2255         * BufferView.C:
2256         * BufferView_pimpl.C:
2257         * bufferview_funcs.C:
2258         * lyx_cb.C:
2259         * lyxcursor.C:
2260         * lyxfind.C:
2261         * lyxfunc.C:
2262         * lyxtext.h:
2263         * text.C:
2264         * text2.C:
2265         * text3.C:
2266         * text_funcs.[Ch]:
2267         * textcursor.[Ch]:
2268         * undo_funcs.C: adjust
2269
2270 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2271
2272         * text2.C (incrementItemDepth): new function, use a backtracking
2273         algorithm to discover the correct item depth.
2274         (resetEnumCounterIfNeeded): new function, use a backtracking
2275         algorithm to discover if counter reset is needed.
2276         (setCounter): use them. Simplify a bit. Add different labels for
2277         different item depths for itemize.
2278
2279         * paragraph.C (Paragraph): remove initialization of enumdepth
2280         (operator=): ditto
2281
2282         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2283         enumerate and itemize. Change the type of itemdepth to signed char.
2284
2285 2003-10-08  André Pönitz  <poenitz@gmx.net>
2286
2287         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2288           thing assignable.
2289         * text.C:
2290         * text2.C: adjust
2291
2292         * tabular.[Ch]: fix crash after 'row-insert'
2293
2294 2003-10-08  Angus Leeming  <leeming@lyx.org>
2295
2296         Fix doxygen warnings.
2297
2298         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2299         Remove CutAndPaste:: prefix from header file declaration.
2300
2301         * LColor.h (fill): remove LColor:: prefix from declaration.
2302
2303         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2304         use lyx::depth_type rather than Paragraph::depth_type so that
2305         header file and .C file match.
2306
2307         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2308
2309         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2310         * aspell.C: \file aspell_local.C -> \file aspell.C
2311         * gettext.C: \file gettext.C -> \file src/gettext.C
2312         * gettext.h: \file gettext.h -> \file src/gettext.h
2313         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2314         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2315         * text.C: \file text.C -> \file src/text.C
2316
2317         * toc.C: move comment so that doxygen is not confused.
2318
2319 2003-10-07  Angus Leeming  <leeming@lyx.org>
2320
2321         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2322
2323 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2324
2325         * aspell.C:
2326         * aspell_local.h: add forgotten std::string's.
2327
2328 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2329
2330         * LaTeXFeatures.C:
2331         * LyXAction.C:
2332         * factory.C:
2333         * lfuns.h:
2334         * lyxfunc.C:
2335         * text3.C: The Box patch. Fancybox support, minipage, parbox
2336
2337 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2338
2339         * CutAndPaste.h:
2340         * DepTable.h:
2341         * FloatList.h:
2342         * LaTeXFeatures.h:
2343         * ParagraphParameters.h:
2344         * TextCache.h:
2345         * Thesaurus.h:
2346         * bufferlist.h:
2347         * exporter.h:
2348         * importer.h:
2349         * lastfiles.h:
2350         * lyxfind.h:
2351         * lyxfont.h:
2352         * lyxlex.h:
2353         * lyxtextclasslist.h:
2354         * messages.h:
2355         * paragraph.h:
2356         * paragraph_pimpl.C:
2357         * textcursor.h: add <string> and other small fixes to make Lars'
2358         std::string patch compile with STLport.
2359
2360 2003-10-06  Angus Leeming  <leeming@lyx.org>
2361
2362         * LColor.h: Add missing #include <string>.
2363
2364 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * All most all file in all subdirs: Make <string> be the prefered
2367         way of getting to std::string, add using declarations.
2368
2369 2003-10-06  André Pönitz  <poenitz@gmx.net>
2370
2371         * metricsinfo.C: initialize LyXFont before changing attribute.
2372         (fixes the 'math in \emph is upright' bug)
2373
2374 2003-10-06  André Pönitz  <poenitz@gmx.net>
2375
2376         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2377
2378 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2379
2380         * graph.C:
2381         * paragraph_pimpl.C: Small fixes to build using STLport
2382
2383 2003-10-02  André Pönitz  <poenitz@gmx.net>
2384
2385         * lyxfunc.C:
2386         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2387
2388 2003-10-01  André Pönitz  <poenitz@gmx.net>
2389
2390         * factory.C: assert early
2391
2392 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * lyx_main.C: remove the global debug object
2395
2396         * debug.h: adjust for new debugstream
2397
2398         * debug.C: adjust for new debugstream and keep the global debug
2399         object here.
2400
2401 2003-09-22  Angus Leeming  <leeming@lyx.org>
2402
2403         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2404         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2405         an incomplete class LyXFont.
2406
2407 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2408
2409         * factory.C: bug fix in branches
2410
2411 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2412
2413         * lyxfunc.C (processKeySym): adjust
2414         (dispatch): adjust
2415         (dispatch): change arg name from ev to func, adjust
2416         (sendDispatchMessage): ditto
2417
2418         * lyx_main.C (defaultKeyBindings): adjust keybindings
2419         (deadKeyBindings): ditto
2420
2421         * kbsequence.C (addkey): return a FuncRequest
2422
2423         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2424
2425         * kbmap.C (bind): take a FuncRequest as arg, adjust
2426         (read): adjust
2427         (lookup): adjust
2428         (defkey): change to take a FuncRequest as arg, adjust
2429         (findbinding): take a FuncRequest as arg, adjust.
2430
2431         * funcrequest.h (operator=): added
2432
2433         * funcrequest.C (FuncRequest): default kb_action changed from
2434         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2435
2436         * buffer.C (dispatch): simplify
2437         (dispatch): adjust to take a FuncRequest as arg, adjust
2438
2439         * boost.C (assertion_failed): change assertion message slightly
2440
2441         * ToolbarBackend.C (read): simplify
2442
2443         * MenuBackend.C (binding): adjust call to findbinding, add a
2444         message if no binding is found.
2445         (read): simplify
2446         (expandToc): correct by adding a empty FuncRequest
2447
2448         * LyXAction.C: include <boost/assert.hpp>
2449         (isPseudoAction): delete function
2450         (LookupFunc): change name to...
2451         (lookupFunc): this. change return type to FuncRequest.
2452         (getActionName): take kb_action as arg, simplify
2453         (funcHasFlag): add an assert, simplify.
2454
2455 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2456
2457         * toc.C (action): return a FuncRequest, simplify
2458
2459         * lyxfunc.C (processKeySym): adjust
2460         (getStatus): delete version that takes an int.
2461         (getStatus): adjust
2462         (dispatch): delete version that takes action as int
2463         (dispatch): adjust
2464         (sendDispatchMessage): simplify and adjust
2465
2466         * funcrequest.C (getArg): take unsigned int as arg
2467
2468         * ToolbarBackend.C (read): adjust
2469         (add): delete version that takes func as a string.
2470         (getIton): take a FuncRequest as arg
2471
2472         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2473         action.
2474
2475         * MenuBackend.C (MenuItem): add a new construct that only takes a
2476         Kind, simplify the constructor use for submenus.
2477         (add): adjust
2478         (expandLastfiles): adjust
2479         (expandDocuments): adjust
2480         (expandFormats): adjust
2481         (expandFloatListInsert): adjust
2482         (expandFloatInsert): adjust
2483         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2484
2485         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2486         Remove class variables lyx_pseudo_map and lyx_arg_map
2487
2488         * LyXAction.C (searchActionArg): delete function
2489         (getPseudoAction): delete function
2490         (retrieveActionArg): delete function
2491         (LookupFunc): make it return kb_action, simplify.
2492         (getActionName): simplify
2493
2494         * factory.C (createInset): fix new bug
2495
2496 2003-09-19  Angus Leeming  <leeming@lyx.org>
2497
2498         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2499         masterFilename_ parameter in the include inset.
2500
2501         * factory.C (createInset): changes due to the changes to InsetInclude.
2502
2503 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2504
2505         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2506
2507 2003-09-18  Angus Leeming  <leeming@lyx.org>
2508
2509         * buffer.C:
2510         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2511         Inset::fillWithBibKeys.
2512         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2513
2514 2003-09-18  Angus Leeming  <leeming@lyx.org>
2515
2516         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2517         variables.
2518         (ctor): pass and store a 'Buffer const &'
2519         (buffer): new member function.
2520
2521         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2522         '*this' to the LaTeXFeatures ctor.
2523
2524 2003-09-18  Angus Leeming  <leeming@lyx.org>
2525
2526         * LColor.h:
2527         * lyxfont.C:
2528         * lyxfont.h:
2529         * lyxtext.h:
2530         * text.C: rename EnumLColor as LColor_color.
2531
2532 2003-09-18  Angus Leeming  <leeming@lyx.org>
2533
2534         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2535         remove #include "insets/insetbase.h" from cursor.h.
2536
2537 2003-09-18  Angus Leeming  <leeming@lyx.org>
2538
2539         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2540         InsetOld_code to remove #include "inset.h".
2541
2542         * iterators.C: add #include "insets/inset.h"
2543
2544 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2545
2546         * BufferView.C: remove more locking stuff that apparently doesn't
2547         do anything sensible.
2548
2549 2003-09-16  André Pönitz  <poenitz@gmx.net>
2550
2551         * paragraph.[Ch]:
2552         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2553           performance boost.
2554
2555 2003-09-16  Angus Leeming  <leeming@lyx.org>
2556
2557         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2558
2559         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2560         arg/return type.
2561
2562         * paragraph.h: remove #include "lyxfont.h". Forward declare
2563         LyXFont_size.
2564
2565 2003-09-16  Angus Leeming  <leeming@lyx.org>
2566
2567         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2568         of support/textutils.h.
2569         (isWord): move the contents of support/textutils.h's IsWordChar here.
2570
2571         * buffer.C:
2572         * lyxfind.C:
2573         * rowpainter.C:
2574         * text.C:
2575         * text2.C: add #include "paragraph.h".
2576
2577         * rowpainter.C:
2578         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2579
2580 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2581
2582         * main.C:
2583         * lyx_main.C:
2584         * lyx_cb.C:
2585         * buffer.C:
2586         * LaTeX.C: use namespace alias for lyx::support::os
2587
2588 2003-09-16  Angus Leeming  <leeming@lyx.org>
2589
2590         * bufferparams.C:
2591         * bufferview_funcs.C:
2592         * factory.C:
2593         * lyxfunc.C:
2594         * paragraph_pimpl.C:
2595         * rowpainter.C:
2596         * text.C: add #include "LColor.h".
2597
2598 2003-09-16  Angus Leeming  <leeming@lyx.org>
2599
2600         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2601         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2602         return LyXFont &.
2603         Store the FontBits::color variable as an int rather than as an
2604         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2605         file.
2606
2607         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2608         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2609         string calls together.
2610
2611         * lyxrc.C: add #include "LColor.h".
2612
2613 2003-09-15  Angus Leeming  <leeming@lyx.org>
2614
2615         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2616         a cow_ptr.
2617
2618 2003-09-15  Angus Leeming  <leeming@lyx.org>
2619
2620         * LColor.h: add an EnumLColor wrapper for LColor::color.
2621
2622         * lyxfont.[Ch] (color, setColor, realColor):
2623         * lyxtext.h, text.C (backgroundColor):
2624         pass EnumLColor args to/from the functions, rather than LColor::color
2625         ones.
2626
2627         * lyxfont.h:
2628         * lyxtext.h: forward declare EnumLColor.
2629
2630         * lyx_main.C: add #include "LColor.h".
2631
2632 2003-09-15  Angus Leeming  <leeming@lyx.org>
2633
2634         * .cvsignore: add lyx-gtk.
2635
2636 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2637
2638         * Chktex.C
2639         * LaTeX.C
2640         * LaTeXFeatures.C
2641         * ParagraphParameters.C
2642         * Spacing.C
2643         * buffer.C
2644         * bufferparams.C
2645         * bufferview_funcs.C
2646         * chset.C
2647         * counters.C
2648         * funcrequest.C
2649         * lyxfont.C
2650         * lyxgluelength.C
2651         * lyxlength.C
2652         * paragraph.C
2653         * paragraph_funcs.C
2654         * text3.C
2655         * vc-backend.C: remove usage of STRCONV
2656
2657 2003-09-15  Angus Leeming  <leeming@lyx.org>
2658
2659         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2660         explicitly define the color passed to the painter.
2661
2662 2003-09-15  Angus Leeming  <leeming@lyx.org>
2663
2664         * bufferparams.C (BufferParams): reorder member initializers to avoid
2665         compiler warning.
2666
2667 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2668
2669         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2670         * text.C (updateRowPositions): remove an unusual nop
2671
2672 2003-09-12  André Pönitz  <poenitz@gmx.net>
2673
2674         * BufferView_pimpl.C:
2675         * Bullet.C:
2676         * layout.h:
2677         * lyxfunc.C:
2678         * lyxlayout.[Ch]:
2679         * lyxtextclass.C:
2680         * rowpainter.C:
2681         * text.C:
2682         * text2.C:
2683         * Counters.[Ch]: finish the 'automatic counters' job
2684
2685 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2686
2687         * aspell.C: include <boost/assert.cpp> (compile fix)
2688
2689 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2690
2691         * boost.C (assertion_failed): use lyx::support::abort instead of
2692         assert.
2693
2694 2003-09-10  Angus Leeming  <leeming@lyx.org>
2695
2696         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2697         with their _fwd progeny.
2698
2699 2003-09-09  Angus Leeming  <leeming@lyx.org>
2700
2701         134 files throughtout the source tree: replace 'using namespace abc;'
2702         directives with the appropriate 'using abc::xyz;' declarations.
2703
2704 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2705
2706         * boost.C (emergencyCleanup): moved here from LAssert.c
2707         (assertion_failed): new function, called by BOOST_ASSERT
2708
2709         * several files: change Assert to BOOST_ASSERT
2710
2711 2003-09-09  Angus Leeming  <leeming@lyx.org>
2712
2713         * buffer.[Ch]: Add an Impl class and move Buffer's member
2714         variables into it. As a result move several header files out of
2715         buffer.h.
2716
2717         Add header files to lots of .C files all over the tree as a result.
2718
2719 2003-09-09  Angus Leeming  <leeming@lyx.org>
2720
2721         * buffer.[Ch]: make Buffer's member variables private. Add
2722         accessor functions.
2723
2724         Lots of changes all over the tree as a result.
2725
2726 2003-09-08  Angus Leeming  <leeming@lyx.org>
2727
2728         * graph.C: #include <config.h>.
2729
2730 2003-09-08  Angus Leeming  <leeming@lyx.org>
2731
2732         * BranchList.C:
2733         * BufferView.C:
2734         * BufferView_pimpl.C:
2735         * CutAndPaste.C:
2736         * DepTable.C:
2737         * LaTeX.C:
2738         * LaTeXFeatures.C:
2739         * LyXAction.C:
2740         * MenuBackend.C:
2741         * TextCache.C:
2742         * aspell.C:
2743         * buffer.C:
2744         * bufferlist.C:
2745         * changes.C:
2746         * chset.C:
2747         * converter.C:
2748         * counters.C:
2749         * debug.C:
2750         * graph.C:
2751         * ispell.C:
2752         * lyx_cb.C:
2753         * lyxfind.C:
2754         * lyxfunc.C:
2755         * lyxlex_pimpl.C:
2756         * lyxrc.C:
2757         * lyxrow.C:
2758         * paragraph.C:
2759         * rowpainter.C:
2760         * texrow.C:
2761         * text.C:
2762         * text2.C:
2763         * toc.C: remove redundant using directives.
2764
2765 2003-09-07  Angus Leeming  <leeming@lyx.org>
2766
2767         * LaTeXFeatures.h: remove #include "support/types.h".
2768         * ToolbarBackend.h: remove #include <algorithm>.
2769         * changes.h: remove #include <ctime>.
2770         * debug.h: remove #include <iosfwd>.
2771         * graph.h: remove #include "support/std_string.h".
2772         * lyx_main.h: remove #include <csignal>.
2773         * lyxlex_pimpl.h: remove #include <fstream>.
2774         * sgml.h: remove #include <algorithm>, <utility>.
2775         * toc.h: remove #include "support/std_ostream.h".
2776         Add #include <iosfwd>.
2777
2778 2003-09-07  Angus Leeming  <leeming@lyx.org>
2779
2780         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2781
2782         * converter.h: forward declare LatexRunParams.
2783         * encoding.h: remove #include "lyxrc.h".
2784         * lyxtext.h: remove #include "LColor.h".
2785         * lyxtextclass.h: remove #include "support/types.h".
2786         * trans.h: remove #include "tex-accent.h".
2787         * trans_mgr.h: remove #include "tex-accent.h".
2788         * insets/inset.h: remove #include "support/types.h", <vector>.
2789         * insets/insetcollapsable.h: remove #include "LColor.h".
2790         * insets/insetinclude.h: remove #include "dimension.h".
2791         * insets/insetlatexaccent.h: remove #include "dimension.h".
2792         * insets/insetoptarg.h:: remove #include "insettext.h".
2793         * insets/insettext.h: remove #include "dimension.h",
2794         <boost/shared_ptr.hpp>
2795
2796         * insets/renderers.h: add #include "dimension.h".
2797         * insets/updatableinset.h: add #include "support/types.h".
2798
2799         * many .C files: Associated changes.
2800
2801 2003-09-06  Angus Leeming  <leeming@lyx.org>
2802
2803         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2804         one, inside testInvariant.
2805
2806         * PrinterParams.C: new file.
2807         * PrinterParams.[Ch]: move the function bodies out of line.
2808
2809 2003-09-06  Angus Leeming  <leeming@lyx.org>
2810
2811         * ParagraphParameters.h: forward declare ParameterStruct rather than
2812         including its header file.
2813         (depth): moved out-of-line.
2814
2815 2003-09-06  Angus Leeming  <leeming@lyx.org>
2816
2817         * BufferView_pimpl.h:
2818         * kbmap.h:
2819         * kbsequence.h:
2820         * lyxfunc.h: forward declare LyXKeySym rather than
2821         #include "frontends/LyXKeySym.h".
2822
2823         * BufferView_pimpl.C:
2824         * kbmap.C:
2825         * kbsequence.C:
2826         * lyxfunc.C: associated changes.
2827
2828 2003-09-06  Angus Leeming  <leeming@lyx.org>
2829
2830         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2831         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
2841         * buffer.h:
2842         * bufferlist.C:
2843         * BufferView.C:
2844         * bufferview_funcs.C:
2845         * BufferView_pimpl.C:
2846         * CutAndPaste.C:
2847         * lyx_cb.C:
2848         * lyxfunc.C:
2849         * paragraph.h:
2850         * ParagraphParameters.C:
2851         * tabular.C:
2852         * text3.C:
2853         * toc.C:
2854         * undo_funcs.C:
2855         * frontends/controllers/ControlDocument.C:
2856         * insets/insetcaption.C: rearrange the #includes into some sort of
2857         coherent order.
2858
2859         * buffer.h: remove #includes ErrorList.h, undo.h
2860
2861 2003-09-06  Angus Leeming  <leeming@lyx.org>
2862
2863         * support/types.h: add a 'depth_type' typedef, used to store the
2864         nesting depth of a paragraph.
2865
2866         * paragraph.h:
2867         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2868         defining explicitly.
2869
2870         * buffer.h:
2871         * paragraph_funcs.h:
2872         * ParagraphParameters.h:
2873         * sgml.h: use lyx::depth_type rather than Paragraph or
2874         ParameterStruct's depth_type.
2875
2876         * buffer.h
2877         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2878
2879         * BufferView.C:
2880         * BufferView_pimpl.C:
2881         * CutAndPaste.C:
2882         * ParagraphParameters.C:
2883         * buffer_funcs.C:
2884         * bufferlist.C:
2885         * bufferview_funcs.C:
2886         * lyx_cb.C:
2887         * lyxfunc.C:
2888         * tabular.C:
2889         * text3.C:
2890         * toc.C:
2891         * undo_funcs.C:
2892         * frontends/LyXView.C:
2893         * frontends/controllers/ControlDocument.C:
2894         * frontends/controllers/ControlErrorList.C:
2895         * insets/insetbibitem.C:
2896         * insets/insetbranch.C:
2897         * insets/insetcaption.C:
2898         * insets/insetcollapsable.C:
2899         * insets/insetenv.C:
2900         * insets/insetert.C:
2901         * insets/insetfloat.C:
2902         * insets/insetfoot.C:
2903         * insets/insetfootlike.C:
2904         * insets/insetnewline.C:
2905         * insets/insetquotes.C:
2906         * insets/insettabular.C:
2907         * insets/insettext.C:
2908         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2909
2910         * frontends/controllers/ControlChanges.C: #include "changes.h".
2911
2912 2003-09-06  Angus Leeming  <leeming@lyx.org>
2913
2914         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2915         than #including paragraph.h.
2916
2917         * ParagraphList.h:
2918         * RowList.h: deleted. Superfluous.
2919
2920         * CutAndPaste.h:
2921         * iterators.h:
2922         * lyxcursor.h:
2923         * lyxtext.h:
2924         * text_funcs.h:
2925         * undo.h:
2926         * undo_funcs.h:
2927         * insets/inset.h:
2928         * insets/insettext.h: use ParagraphList_fwd.h rather than
2929         ParagraphList.h.
2930
2931         * paragraph.h: don't forward declare ParagraphList.
2932
2933         * buffer.h:
2934         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2935         rather than ParagraphList.h. paragraph.h is still needed for the
2936         Paragraph::depth_type parameters.
2937
2938         * textcursor.h: enable it to compile stand-alone in light of the
2939         above changes.
2940
2941         * bufferview_funcs.C:
2942         * iterators.C:
2943         * lyxfunc.C:
2944         * lyxrow_funcs.C:
2945         * paragraph.C:
2946         * rowpainter.C:
2947         * text.C:
2948         * text2.C:
2949         * text3.C:
2950         * text_funcs.C:
2951         * textcursor.C:
2952         * undo.C:
2953         * frontends/controllers/ControlParagraph.C:
2954         * frontends/controllers/ControlTabular.C:
2955         * insets/insetmarginal.C:
2956         * insets/insetminipage.C:
2957         * insets/insetnote.C:
2958         * insets/insetoptarg.C: add header files needed to compile again.
2959
2960 2003-09-06  Angus Leeming  <leeming@lyx.org>
2961
2962         * RowList_fwd.h: new file, forward-declaring Row rather than
2963         #including lyxrow.h.
2964
2965         * lyxrow_funcs.h:
2966         * lyxtext.h:
2967         * paragraph.h:
2968         * insets/insettext.h: use it instead of RowList.h
2969
2970         * bufferview_funcs.C:
2971         * lyxfunc.C:
2972         * lyxrow_funcs.C:
2973         * paragraph.C:
2974         * rowpainter.C:
2975         * text.C:
2976         * text2.C:
2977         * text3.C: #include "RowList.h".
2978
2979 2003-09-05  Angus Leeming  <leeming@lyx.org>
2980
2981         * factory.C (createInset):
2982         * vspace.C (c-tor): replace sscanf call with an istringstream.
2983         * ispell.C: re-add missing HP/UX headers.
2984         * lyxserver.C: re-add missing  os2 headers.
2985
2986 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2987
2988         * BranchList.C:
2989         * graph.C:
2990         * ispell.C:
2991         * lastfiles.C:
2992         * lyx_cb.C:
2993         * lyxserver.C:
2994         * texrow.C:
2995         * text3.C: re-add missing system headers, needed for 2.95.2.
2996
2997 2003-09-05  Angus Leeming  <leeming@lyx.org>
2998
2999         Changes most place everywhere due to the removal of using directives
3000         from support/std_sstream.h.
3001
3002 2003-09-05  Angus Leeming  <leeming@lyx.org>
3003
3004         Replace LString.h with support/std_string.h,
3005         Lsstream.h with support/std_sstream.h,
3006         support/LIstream.h with support/std_istream.h,
3007         support/LOstream.h with support/std_ostream.h.
3008
3009         Changes resulting throughout the tree.
3010
3011 2003-09-05  Angus Leeming  <leeming@lyx.org>
3012
3013         * sgml.h: ensure that the header file can be compiled stand-alone.
3014         * *.C: strip out redundant #includes. (320 in total.)
3015
3016 2003-09-04  Angus Leeming  <leeming@lyx.org>
3017
3018         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3019         here (from getPackages).
3020
3021         * debug.[Ch]: add a new EXTERNAL tag.
3022
3023 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3024
3025         * text2.C (cursorEnd): simplify
3026         (setCursor): adjust
3027         (getColumnNearX): adjust
3028
3029         * text.C (computeBidiTables): adjust
3030         (fill): adjust
3031
3032         * rowpainter.C (paintChars): adjust
3033         (paintSelection): adjust
3034         (paintChangeBar): adjust
3035         (paintText): adjust
3036
3037         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3038         lastPos instead.
3039         (numberOfSeparators): adjust
3040
3041 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3042
3043         * LyXAction.C:
3044         * box.[Ch]:
3045         * lfuns.h:
3046         * lyxfunc.C:
3047         * text3.C: Restricts the mouse click functionality
3048         of insets like bibtex, include, toc and floatlist to the visible
3049         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3050         up the dialogs. Cursor has to be in front of the inset (i.e.
3051         start of row) for this to function.
3052
3053 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3054
3055         * bufferview_funcs.C (currentState): output row information
3056
3057 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3058
3059         * bufferview_funcs.C (currentState): output paragraph position
3060
3061 2003-09-04  Angus Leeming  <leeming@lyx.org>
3062
3063         * FloatList.h: move out #include "Floating.h".
3064         * LaTeX.h: move out #include "DepTable.h".
3065         * LyXAction.h: move out #include "funcrequest.h".
3066         * buffer.h: move out #include "author.h", "iterators.h".
3067         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3068         * lyx_main.h: move out #include "errorlist.h".
3069         * lyxfunc.h: move out #include "FuncStatus.h".
3070         * lyxtext: move out #include "lyxcursor.h".
3071         * paragraph_pimpl.h: move out #include "counters.h".
3072
3073 2003-09-03  Angus Leeming  <leeming@lyx.org>
3074
3075         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3076         preamble_snippets list, enabling us to add snippets to the preamble
3077         only if the snippet was not there already.
3078
3079 2003-09-04  Angus Leeming  <leeming@lyx.org>
3080
3081         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3082
3083 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3084
3085         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3086         update
3087
3088 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3089
3090         * BranchList.C: point fix, earlier forgotten
3091
3092 2003-09-02  Angus Leeming  <leeming@lyx.org>
3093
3094         * box.C (contains): renamed from 'contained' after a fantastic
3095         amount of hot air.
3096
3097 2003-09-02  John Levon  <levon@movementarian.org>
3098
3099         * BufferView.C:
3100         * lyxcursor.h:
3101         * lyxcursor.C:
3102         * lyxfunc.C:
3103         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3104
3105 2003-09-02  John Levon  <levon@movementarian.org>
3106
3107         * text2.C: simplification of cursorEnd(), including partial
3108         fix for bug 1376
3109
3110 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3111
3112         * buffer.C (readFile): add a space
3113
3114 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3115
3116         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3117
3118 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3119
3120         * buffer.C (readFile): new function, take a filename and a
3121         ParagraphList::iterator
3122         (readFile): adjust
3123         (readFile): adjust, make it private. don't use setStream, make
3124         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3125         always contain the filename.
3126
3127         * BufferView.C (insertLyXFile): simplify and make it work for
3128         gzipped files.
3129
3130 2003-08-30  John Levon  <levon@movementarian.org>
3131
3132         * Makefile.am: fix dist (from Kayvan)
3133
3134 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * most files: change to use const Buffer refs
3137
3138 2003-08-27  André Pönitz  <poenitz@gmx.net>
3139
3140         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3141         on top of ownerPar().
3142
3143 2003-08-27  John Levon  <levon@movementarian.org>
3144
3145         * funcrequest.C: properly initialise POD members
3146
3147 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * lyxtext.h (top_y): move top_y from here
3150         * text.C:
3151         * text2.C:
3152         * text3.C:
3153         * BufferView.[Ch]:
3154         * BufferView_pimpl.[Ch]: to here
3155         * frontends/screen.C:
3156         * insets/insettabular.C:
3157         * insets/insettext.C: adjust
3158         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3159
3160 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3161
3162         * BufferView.[Ch]:
3163         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3164
3165 2003-08-26  André Pönitz  <poenitz@gmx.net>
3166
3167         * paragraph_func.[Ch] (outerPar): new function
3168
3169         * paragraph.C:
3170         * paragraph_funcs.C:
3171         * paragraph_funcs.h:
3172         * paragraph_pimpl.C:
3173         * text2.C: remove Inset::par_owner
3174
3175 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3176
3177         * lyxrow_funcs.C:
3178         * lyxtext.h:
3179         * text.C:
3180         * text2.C: eliminates the needFullRow/display() stuff
3181         altogether, putting the logic in metrics/draw in the insets.
3182
3183 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3184
3185         * text2.C (redoParagraphInternal, redoParagraphs):
3186         * text.C (redoParagraph): add a call to updateRowPositions at the
3187         end of each 'metrics-like' call. Remove all others.
3188         (getRow): remove the 'y-computing' version.
3189         (getRowNearY): do not compute nor return the real y. Solve the
3190         'y < 0' problem and simplify.
3191
3192 2003-08-22  Angus Leeming  <leeming@lyx.org>
3193
3194         * *.[Ch]: clean-up of licence and author blurbs.
3195         Also move config.h out of a few .h files and into a few .C files.
3196
3197 2003-08-22  André Pönitz  <poenitz@gmx.net>
3198
3199         * lyxrow.[Ch]: add x_ and *fill_ members
3200
3201         * lyxtext.h:
3202         * text.C:
3203         * rowpainter.C:
3204         * text2.C: adjust/remove prepareToPrint() calls
3205
3206 2003-08-22  André Pönitz  <poenitz@gmx.net>
3207
3208         * lyxrow.[Ch]: add  end_ member
3209
3210         * lyxrow_funcs.C: use LyXRow::end_
3211
3212         * lyxtext.h (singleWidth): add LyXFont parameter
3213
3214         * rowpainter.C:
3215         * text2.C: adjust LyXText::singleWidth() calls
3216
3217         * text.C (redoParagraph): simplify row breaking logic
3218
3219
3220 2003-08-19  André Pönitz  <poenitz@gmx.net>
3221
3222         * funcrequest.C: initialize button_ member
3223
3224         * text3.C:
3225         * rowpainter.[Ch]: interface consolidation
3226
3227 2003-08-18  André Pönitz  <poenitz@gmx.net>
3228
3229         * BufferView.C:
3230         * BufferView_pimpl.C:
3231         * lyxfind.C:
3232         * paragraph_funcs.C:
3233         * rowpainter.C:
3234         * text3.C: remove LyXScreen::draw() and fitCursor calls
3235
3236         * BranchList.h: remove spurious semicolons
3237
3238         * MenuBackend.C: fix branchlist related crash
3239
3240 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3241
3242         * BranchList.[Ch]:
3243         * InsetList.[Ch]:
3244         * LColor.[Ch]:
3245         * LyXAction.C:
3246         * Makefile.am:
3247         * MenuBackend.[Ch]:
3248         * bufferparams.[Ch]:
3249         * factory.C:
3250         * lfuns.h:
3251         * lyxfunc.C:
3252         * text3.C: implements the 'branch inset'
3253         idea. This allows the output of various versions of a document
3254         from a single source version, selectively outputing or suppressing
3255         output of parts of the text.
3256         This implementation contains a 'branch list editor' in a separate
3257         tab of the document settings dialog. Branches are user definable
3258         and have a "display colour" to distinguish them on-screen.
3259
3260         ColorHandler was somewhat cleaned up.
3261         (1) make possible a dynamically growing LColor list by allowing
3262         the graphic context cache to grow along (vector);
3263         (2) eliminate an IMHO unnecessary step in colour allocation.
3264
3265 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3266
3267         * BufferView_pimpl.C: compile fix
3268
3269 2003-08-15  André Pönitz  <poenitz@gmx.net>
3270
3271         * rowpainter.C: remove extra metrics calls
3272
3273         * lyxtext.h: merge the two constructors into a single one,
3274           pass reference to owner's par list
3275
3276         * BufferView_pimpl.C:
3277         * text.C:
3278         * text2.C: adjust
3279
3280 2003-08-15  André Pönitz  <poenitz@gmx.net>
3281
3282         * lyxrow_funcs.[Ch]:
3283         * lyxtext.h:
3284         * paragraph.h:
3285         * paragraph_funcs.C:
3286         * rowpainter.C:
3287         * text.C:
3288         * text2.C:
3289         * text3.C:
3290         * text_funcs.C: split LyXText::rowlist_ into individual
3291         Paragraph::rows_ chunks
3292
3293         * BufferView.[Ch]:
3294         * BufferView_pimpl.[Ch]:
3295         * lyxfind.C:
3296         * lyxtext.h:
3297         * text3.C: remove toggleSelection()
3298
3299 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3300
3301         * bufferlist.C: beautify two alerts (shorter text of buttons)
3302         * buffer.C: Remove redundant ' ' from message
3303         * tabular.h:
3304         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3305         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3306         rename VALIGN_CENTER to VALIGN_MIDDLE
3307
3308 2003-08-11  André Pönitz  <poenitz@gmx.net>
3309
3310         * lyxtext.h (getPar):
3311         * text.C: new function
3312
3313 2003-08-11  André Pönitz  <poenitz@gmx.net>
3314
3315         * Makefile.am:
3316         * tracer.[Ch]: remove unneeded files
3317
3318         * InsetList.[Ch]: remove resizeInsetsLyXText()
3319
3320         * lyxtext.h:
3321         * text.C:
3322         * text2.C:
3323         * text3.C: merge insertParagraphs() and appendParagraph()
3324         remove breakAgain(), update()
3325
3326         * BufferView_pimpl.[Ch]:
3327         * bufferview_funcs.[Ch]:
3328         * lyxfunc.C:
3329         * paragraph.[Ch]:
3330         * rowpainter.C:
3331         * tabular.C: adjust after text & InsetList changes.
3332
3333 2003-08-08  André Pönitz  <poenitz@gmx.net>
3334
3335         * text.C (insertChar, backspace): replace rowlist fiddling
3336         with rebreak of full par
3337
3338         * lyxtext.h:
3339         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3340         checkParagraph, updateInset): removed
3341
3342 2003-08-07  André Pönitz  <poenitz@gmx.net>
3343
3344         * paragraph.C:
3345         * text3.C: merge some LFUN handlers, remove dead code
3346
3347 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3348
3349         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3350
3351 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3352
3353         * text2.C (DEPM): fix part of bug 1255 and 1256
3354
3355 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3356
3357         * BufferView_pimpl.C (workAreaDispatch): change to use
3358         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3359         that are no mouse related.
3360
3361 2003-08-05  André Pönitz  <poenitz@gmx.net>
3362
3363         * BufferView.[Ch]:
3364         * BufferView_pimpl.[Ch]:
3365         * bufferview_funcs.C:
3366         * text2.C:
3367         * text3.C: rip out "deep update"
3368
3369         * textcursor.[Ch] (last_sel_cursor): remove unused member
3370
3371 2003-08-04  André Pönitz  <poenitz@gmx.net>
3372
3373         * BufferView.[Ch]:
3374         * BufferView_pimpl.[Ch]:
3375         * ParagraphParameters.C:
3376         * bufferview_funcs.C:
3377         * lyx_cb.C:
3378         * lyxfind.C:
3379         * lyxfunc.C:
3380         * text.C:
3381         * text2.C:
3382         * text3.C: replace "complicated" BufferView::update(...) calls with
3383         simpler ones.
3384
3385         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3386
3387 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3388
3389         * Makefile.am (lyx_SOURCES): add paper.h
3390
3391 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3392
3393         * Makefile.am: move things around so that both lyx-qt and
3394         lyx-xforms can be built (according to --with-frontend). Then lyx
3395         is a symbolic link to lyx-[firstfrontend]
3396
3397 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3398
3399         * Always use std::endl with lyxerr
3400
3401 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3402
3403         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3404
3405 2003-08-01  André Pönitz  <poenitz@gmx.net>
3406
3407         * BufferView.[Ch]:
3408         * BufferView_pimpl.[Ch]:
3409         * lyxfunc.C:
3410         * text3.C: merge BufferView::repaint() and BufferView::update()
3411
3412 2003-08-01  José Matos  <jamatos@lyx.org>
3413
3414         * buffer.[Ch]: file_format is no longer a buffer data element.
3415
3416 2003-08-01  André Pönitz  <poenitz@gmx.net>
3417
3418         * BufferView.C:
3419         * lyxtext.h:
3420         * text.C:
3421         * text2.C: make redoParagraph more independent of current cursor
3422
3423         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3424         * text.C:
3425         * text2.C: remove unneeded members
3426
3427 2003-07-30  André Pönitz  <poenitz@gmx.net>
3428
3429         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3430
3431         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3432           create a single function...
3433
3434         * paragraph_funcs.C (moveItem): ... here.
3435
3436         * text.C:
3437           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3438
3439 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3440
3441         * LColor.[Ch]: Add comment and greyedout logical colors.
3442
3443 2003-07-30  André Pönitz  <poenitz@gmx.net>
3444
3445         * tabular.C: don't use Assert too heavily. This crashes where it
3446           shouldn't
3447
3448 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3449
3450         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3451         is disabled (bug 1232)
3452
3453 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3454
3455         * factory.C: limited 'arg' scope
3456
3457 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3458
3459         * factory.C: fixed Note submenu issues
3460
3461 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3462
3463         * factory.C: submenu for Note/Comment/Greyedout
3464
3465 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3466
3467         * lyx_main.C (LyX):
3468         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3469
3470 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3471
3472         * LaTeXFeatures.C:
3473         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3474         greyedout. Patch provided by Jürgen Spitzmüller.
3475
3476 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3477
3478         * kbmap.C (read): fix error message when reading bind files
3479
3480 2003-07-29  Angus Leeming  <leeming@lyx.org>
3481
3482         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3483         certainly does not do what it purports to do. I am doing it, and
3484         us, a favour by killing it.
3485
3486 2003-07-28  José Matos  <jamatos@lyx.org>
3487
3488         * buffer.C (readBody, do_writeFile):
3489         * paragraph.C(readParagraph): \end_document replaces \the_end.
3490
3491 2003-07-29  André Pönitz  <poenitz@gmx.net>
3492
3493         * BufferView.[Ch]:
3494         * BufferView_pimpl.[Ch]:
3495         * lyxfunc.C:
3496         * text2.C:
3497         * text3.C:
3498         * textcursor.[Ch]: remove toggleToggle & Co
3499
3500 2003-07-28  José Matos  <jamatos@fep.up.pt>
3501
3502         * buffer.C (readParagraph):
3503         * params_func (readParToken, readParagraph):
3504         * paragraph.C (write): \layout -> \begin_layout.
3505
3506 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * lyxlex_pimpl.C (setFile): clean up slightly.
3509
3510         * bufferparams.h: add compressed var
3511
3512         * buffer_funcs.C (readFile): adjust for LyXLex change
3513         (newFile): ditto + simplify
3514
3515         * buffer.C (writeFile): handle writing of compressed files
3516
3517         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3518         Check if the file is compressed and set a bufferparm if so.
3519
3520         * Makefile.am (lyx_LDADD): remove explicit -lz
3521
3522 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3523
3524         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3525         makeDocBookFile): put the real LyX version in the first line of
3526         the file
3527
3528         * version.h:
3529         * version.C.in: remove lyx_docversion
3530
3531         * tabular.C (write_attribute): add a template-based version to
3532         write enums properly
3533
3534 2003-07-28  André Pönitz  <poenitz@gmx.net>
3535
3536         * lyxtext.h:
3537         * text.C:
3538         * text2.C:
3539         * text3.C: use doubles again for x-coordinates. They are needed.
3540
3541 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * messages.C (getLocaleDir): use lyx_localedir()
3544
3545         * lyxlex_pimpl.C (setFile): compress stuff
3546
3547         * buffer.C (writeFile): add some compression stuff
3548         (do_writeFile): new func, dont call expliti close... will this
3549         breake anything?
3550
3551         * Makefile.am (lyx_LDADD): add -lz
3552
3553 2003-07-28  José Matos  <jamatos@fep.up.pt>
3554
3555         * buffer.C: increment file format.
3556         * paragraph_funcs (readParagraph, readParToken):
3557         * paragraph.C (readParagraph): add \end_layout.
3558
3559 2003-07-27  Angus Leeming  <leeming@lyx.org>
3560
3561         * Makefile.am: remove special casing for configure-time setting of
3562         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3563
3564         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3565         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3566
3567 2003-07-26  André Pönitz  <poenitz@gmx.net>
3568
3569         * paragraph_func.[Ch]:
3570         * paragraph.C (realizeFont): inline it whereever it is used
3571
3572         * rowpainter.C:
3573         * text.C:
3574         * text2.C:
3575         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3576
3577
3578 2003-07-26  André Pönitz  <poenitz@gmx.net>
3579
3580         *       lyxtext.h:
3581         * text.C:
3582         * text2.C: get rid of LyXText::need_break_row
3583
3584 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * toc.[Ch]: put namespace toc inside namespace lyx
3587
3588         * MenuBackend.C (expandToc2): adjust for lyx::toc
3589         (expandToc): ditto
3590
3591         * lyxfunc.C (dispatch): adjust for lyx::find
3592
3593         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3594         lyx::find instead. Reorganize a bit.
3595         (LyXReplace): rename to replace
3596         (LyXFind): rename to find
3597
3598         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3599         (dispatch): ditto
3600
3601 2003-07-26  André Pönitz  <poenitz@gmx.net>
3602
3603         * text.C (setHeightOfRow): restrict scope of temporary variable
3604
3605         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3606           code (never has been used?)
3607
3608 2003-07-27  Asger Alstrup  <alstrup@local>
3609
3610         * text.C (fill): Optimise algorithm to exploit that we can reuse
3611         the LyXFont for many characters.
3612         (setHeightOfRow): Same thing.
3613         (rowBreakPoint): Same thing.
3614
3615 2003-07-26  Asger Alstrup  <alstrup@local>
3616
3617         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3618
3619         * text.C (singleWidth): Spurious font copying in hot-spot
3620         singleWidth avoided. Reorder tests for arabic for efficiency.
3621
3622         * text.C (fill): handle empty paragraphs better.
3623
3624 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3625
3626         * ispell.C:
3627         * encoding.h: add includes
3628
3629         * lyxrc.C: remove reading of bind files
3630
3631         * lyx_main.C (init): setup bindings and menus only if we have a
3632         gui.
3633
3634         * kbmap.C (read): new method. Do the actual reading of bind
3635         files.
3636
3637         * converter.C (dvipdfm_options):
3638         * bufferparams.C:
3639         * lyxrc.C (read):
3640         (output): adapt PAPER_* enums.
3641
3642         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3643
3644         * bufferparams.h: remove paper-related enums from there
3645
3646         * paper.h: New file. A trivial header file to hold paper-related
3647         enums. It should later expand to contain many paper-related
3648         horrors access.
3649
3650         * lyxrc.C: declare extern displayTranslator
3651
3652 2003-07-27  José Matos  <jamatos@fep.up.pt>
3653
3654         * tabular.[Ch] (linuxdoc): add support for tables and figures
3655         (linuxdoc).
3656
3657 2003-07-27  José Matos  <jamatos@fep.up.pt>
3658
3659         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3660         consistency in both functions.
3661         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3662
3663 2003-07-26  Asger Alstrup  <alstrup@local>
3664
3665         * rowpainter.C (paintRows): Change algorithm to work directly on
3666         the insets rather than asking every character in the document
3667         whether its an inset.
3668
3669 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * buffer.C (openFileWrite): factorize some code
3672
3673 2003-07-26  Angus Leeming  <leeming@lyx.org>
3674
3675         * lyx_cb.C:
3676         * lyx_main.[Ch]: replace occurances of system_tempdir with
3677         os::getTmpDir().
3678
3679 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * rename Inset to InsetOld
3682
3683 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3684
3685         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3686         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3687         which I think is a bit clearer. EDIT is gone, since it was
3688         premature optimisation, and broken for mathed anyway.
3689         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3690         with cursor positioning in insets as well (math insets still do not
3691         work, but that's a different story anyway.) It mysteriously
3692         crashes sometimes with undo in the first paragraph, but I'm fairly
3693         confident that this is a compiler bug.
3694
3695 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * paragraph.C (Paragraph): adjust for new clone return type
3698         (operator==): ditto
3699         (copyIntoMinibuffer): ditto
3700
3701 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3702
3703         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3704         by not having a special case, and always doing a full rebreak of
3705         the document after undo.
3706
3707 2003-07-23  Angus Leeming  <leeming@lyx.org>
3708
3709         * factory.C (createInset): InsetExternal::setParams now takes a
3710         Buffer const * arg.
3711
3712 2003-07-23  Angus Leeming  <leeming@lyx.org>
3713
3714         * factory.C (createInset): changed interface to the external and
3715         graphics mailers' string2params functions.
3716
3717 2003-07-23  Angus Leeming  <leeming@lyx.org>
3718
3719         * factory.C (createInset): pass a
3720         Buffer const * parameter to InsetExternalMailer's string2params.
3721
3722 2003-07-22  John Levon  <levon@movementarian.org>
3723
3724         * Thesaurus.h: include the right aiksaurus header
3725
3726 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3727
3728         * MenuBackend.C (expand): check menu shortcuts unconditionally
3729
3730 2003-07-21  Angus Leeming  <leeming@lyx.org>
3731
3732         * factory.C (createInset): pass a
3733         buffer_path parameter to InsetGraphicsMailer's string2params.
3734
3735 2003-07-21  Angus Leeming  <leeming@lyx.org>
3736
3737         * BufferView_pimpl.C (buffer):
3738         * buffer.C (d-tor):
3739         * lyx_main.C (LyX):
3740         * lyxfunc.C (dispatch):
3741         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3742         rather than the grfx shortcut.
3743
3744 2003-07-21  André Pönitz  <poenitz@gmx.net>
3745
3746         * rowpainter.C: remove unused variables
3747
3748         * tabular_funcs.C:
3749         * tabular_funcs.h: move to tabular.C
3750         * Makefile.am: adjust
3751
3752         * tabular.[Ch]: basic optical cleaning
3753
3754         * author.h: pass references, not values
3755
3756 2003-07-18  André Pönitz  <poenitz@gmx.net>
3757
3758         * lyxtext.h:
3759         * metricsinfo.C:
3760         * metricsinfo.h:
3761         * rowpainter.C:
3762         * text.C:
3763         * text2.C:
3764         * text3.C: two-phase drawing for InsetText and InsetTabular
3765         some float -> int changes.
3766
3767 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3768
3769         * lyx_main.C: fix the fix
3770
3771 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3772
3773         * lyx_main.C: fix a crash in batch mode if no files specified
3774         * converter.C: ws
3775
3776 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3777
3778         * format.[Ch] (papersize): moved to BufferParams
3779         * converter.[Ch] (dvips_options): moved to BufferParams
3780         (dvipdfm_options): moved to anon namespace
3781         * bufferparams.[Ch]: added above functions.
3782
3783 2003-07-17  André Pönitz  <poenitz@gmx.net>
3784
3785         * lyxtext.h:
3786         * rowpainter.C:
3787         * text2.C: don't call inset->update() anymore
3788
3789         * metricsinfo.[Ch]: add convenience constructor
3790
3791 2003-07-16  André Pönitz  <poenitz@gmx.net>
3792
3793         * lyxcursor.[Ch]:
3794         * lyxfunc.[Ch]:
3795         * text.C:
3796         * text2.C: replace the LyXCursor::irow_ member with
3797          on-demand computation of the value
3798
3799 2003-07-16  John Levon  <levon@movementarian.org>
3800
3801         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3802
3803 2003-07-15  André Pönitz  <poenitz@gmx.net>
3804
3805         * text.C:
3806         * text2.C: remove no more needed refresh_row
3807
3808 2003-07-15  André Pönitz  <poenitz@gmx.net>
3809
3810         * lyxtext.h:
3811         * rowpainter.C:
3812         * text2.C:
3813         * text3.C: refresh_status tristate -> need_update bool
3814
3815 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3816
3817         * lyxtext.h (init): remove reinit argument (act as if always true)
3818         * text2.C: adjust to that
3819
3820 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3821
3822         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3823         * text3.C: use it to delete selections in some cases
3824         (bugs 441, 673, 702, 954).
3825
3826 2003-07-14  André Pönitz  <poenitz@gmx.net>
3827
3828         * rowpainter.[Ch]: reduce interface
3829
3830 2003-07-14  André Pönitz  <poenitz@gmx.net>
3831
3832         * BufferView_pimpl.C:
3833         * text2.C: adjust after removing unused BufferView * argument
3834
3835 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3836
3837         * text2.C (init): fix a crash fired on resize
3838
3839 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3840
3841         * buffer.[Ch]: added new closing signal
3842         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3843         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3844         BufferView::Pimpl via the closing the signal
3845
3846 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3847
3848         * buffer.[Ch]: take out all bv-related from buffer
3849         * BufferView.C:
3850         * BufferView_pimpl.[Ch]: connect to new signals
3851         * CutAndPaste.C: removed useless asserts
3852         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3853         * lyxvc.[Ch]:
3854         * vc-backend.[Ch]:
3855         * lyxfunc.C: moved view-related funciontality from vc here
3856         * paragraph.C: removed outdated comments
3857         * text.C: ws
3858
3859 2003-07-10  André Pönitz  <poenitz@gmx.net>
3860
3861         * BufferView_pimpl.C:
3862         * tabular.h:
3863         * tabular_funcs.C:
3864         * text.C:
3865         * text2.C: remove InsetText::InnerCache, clean up consequences
3866
3867 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3868
3869         * ispell.C: fix two typos in error messages
3870
3871 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3872
3873         * Extend Note inset to other forms of annotation like Comment
3874         and Greyedout. Right button click gives dialog.
3875
3876         Files modified or added (+):
3877
3878         * insetnote.[Ch]
3879         * FormNote.[Ch]      +
3880         * ControlNote.[Ch]   +
3881         * form_note.fd       +
3882         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3883         frontends/controllers
3884         * xforms/Dialogs.C
3885         * factory.C
3886
3887 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3888
3889         * aspell.C: add missing namespace lyx::support
3890
3891 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3892
3893         * BufferView.[Ch] (newFile): Add
3894         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3895         * LaTeX.[Ch] (message): added this signal and use it
3896         * buffer.[Ch] (busy, message): added these signals and use them
3897         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3898         * converter.C:
3899         * exporter.C:
3900         * format.C:
3901         * importer.C: use buffer signals instead of direct bv calling
3902         * lyx_cb.[Ch] (ShowMessage): removed
3903         * lyx_main.C:
3904         * lyxfunc.C:
3905         * paragraph_funcs.C:
3906         * text2.C: use buffer signals
3907
3908 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3909
3910         * introduce namespace lyx::graphics
3911
3912 2003-07-02  André Pönitz  <poenitz@gmx.net>
3913
3914         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3915
3916 2003-07-01  André Pönitz  <poenitz@gmx.net>
3917
3918         * text.C:
3919         * text2.C:
3920         * text3.C:
3921         * text_funcs.[Ch]:
3922         * textcursor.h:
3923         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3924           text*.C to text_func.C
3925
3926 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * introduce namespace lyx::support
3929
3930 2003-06-30  André Pönitz  <poenitz@gmx.net>
3931
3932         * Chktex.C:
3933         * funcrequest.C:
3934         * lyxtext.h:
3935         * text.C: re-enable --with-included-string
3936
3937 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3938
3939         * textcursor.C: add <config.h>
3940
3941         * text.C (getWord): remove const from word_location arg
3942
3943         * lyxvc.C (getLogFile): fix const type order
3944
3945         * lyxtext.h: remove const from word_location arg, add arg name
3946
3947         * lyxlayout.h: currect type on labeltype.
3948
3949         * importer.C: correct \file
3950
3951         * converter.C (intToFormat): use std:: on ret val, ws changes
3952
3953         * bufferlist.h: correct \file
3954
3955         * buffer.C (makeLinuxDocFile): fix const type order
3956         (makeDocBookFile): ditto
3957         (fillWithBibKeys): use std:: on stdlib args.
3958
3959         * CutAndPaste.C: fix authors.
3960         (availableSelections): use std:: on return vector
3961
3962 2003-06-27  André Pönitz  <poenitz@gmx.net>
3963
3964         * BufferView_pimpl.C:
3965         * bufferview_funcs.C:
3966         * lyxcursor.C:
3967         * lyxcursor.h:
3968         * lyxfunc.C:
3969         * lyxtext.h:
3970         * rowpainter.C:
3971         * text.C:
3972         * text2.C:
3973         * text3.C: remove LyXCursor::row_ member
3974
3975         * lyxtext.h:
3976         * text.C: rename fullRebreak() to partialRebreak() and implement
3977           a fullRebreak() that really bereks fully
3978
3979         * textcursor.h: new struct for cursor-related data
3980
3981 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3982
3983         * lyx_main.C (LyX): get full path of document loaded on the
3984         command line
3985
3986 2003-06-26  André Pönitz  <poenitz@gmx.net>
3987
3988         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3989           remove unused/broken operator>,<,>=.
3990
3991         *       text.C: remove only use of broken operator<= in an Assert().
3992
3993 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3994
3995         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3996         moved errorlist_.clear to showErrorList
3997
3998 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3999
4000         * converter.C (scanLog, runLaTeX):
4001         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4002         move the bv->showErrorList call to the callers
4003         * lyxfunc.C: i.e. here...
4004         * text2.C: and here
4005         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4006         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4007         namespace, the second to...
4008         * buffer_funcs (BufferFormat, parseErrors): added
4009         * errorlist.C (ErrorList(TeXErrors const &)): removed
4010
4011 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4012
4013         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4014
4015 2003-06-24  "Garst R. Reese" <reese@isn.net>
4016
4017         * debug.C: fix typo
4018
4019 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4020
4021         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4022
4023         * version.C.in: change docversion to 1.4
4024
4025 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4026
4027         * buffer.C: fix a bug just introduced
4028
4029 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4030
4031         * buffer.[Ch]: added the parseError signal and use it, removed
4032         sgmlError
4033         * BufferView.[Ch] (addError): moved to ...
4034         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4035         to the Buffer::parseError signal to catch (guess what) parse errors
4036         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4037
4038 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4039
4040         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4041         ability to create a buffer and to return an existing one from
4042         the list. Moved these functions to...
4043         * buffer_funcs.[Ch]: added
4044         * BufferView.[Ch] (loadLyXFile): added
4045         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4046         job removed from bufferlist::loadLyXFile.
4047         * buffer.C (setReadOnly): make it work without view
4048         (i.e added an if (users))
4049
4050 2003-06-19  Angus Leeming  <leeming@lyx.org>
4051
4052         * lfuns.h:
4053         * LyXAction.C (init):
4054         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4055         with LFUN_DIALOG_SHOW <name> <data>.
4056
4057 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4058
4059         * CutAndPaste.C (availableSelections): small compilation fix for
4060         ancient (gcc 2.9x) compilers
4061
4062 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4063
4064         * text3.C (cursorNext): add tmp var
4065
4066         * text2.C (updateCounters): for function calling out of for clause
4067         (replaceSelectionWithString): ditto
4068         (insertStringAsParagraphs): ditto
4069         (getColumnNearX): add tmp var
4070         (setCursorFromCoordinates): add tmp var
4071         (cursorDownParagraph): add tmp var
4072         (deleteEmptyParagraphMechanism): add tmp var
4073
4074         * text.C (insertChar): add tmp var
4075
4076         * rowpainter.C (paintDepthBar): add tmp var
4077
4078         * CutAndPaste.C (availableSelections): potentially check all
4079         paragraphs in a cut to fill the shown strings.
4080
4081 2003-06-18  André Pönitz  <poenitz@gmx.net>
4082
4083         * kbmap.[Ch]: use vector<> instead of list<>
4084
4085 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4086
4087         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4088         pasteSelection with index
4089
4090         * text2.C (pasteSelection): modify, call pasteSelection with index
4091
4092         * paragraph.C (asString): reimplement version with no interval to
4093         call the one with interval.
4094
4095         * lyxtext.h: add index arg to pasteSelection
4096
4097         * MenuBackend.C (MenuItem): handle PasteRecent
4098         (Menu::read::Menutags): add md_pasterecent
4099         (read): handle it
4100         (expandPasteRecent): new function
4101         (expand): use it
4102
4103         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4104
4105         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4106         the limited stack
4107         (availableSelections): new function
4108
4109 2003-06-17  Angus Leeming  <leeming@lyx.org>
4110
4111         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4112
4113 2003-06-17  Angus Leeming  <leeming@lyx.org>
4114
4115         * lfuns.h:
4116         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4117
4118         * lyxfunc.C (dispatch): invoke it.
4119
4120 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4121
4122         * iterators.C (operator++, ParPosition): reintroduce some
4123         const_cast for the benefit of older compilers.
4124
4125 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4126
4127         * text3.C (dispatch): do not modify clipboard when doing
4128         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4129         LFUN_DELETE_SKIP on a selection selection
4130
4131 2003-06-16  André Pönitz  <poenitz@gmx.net>
4132
4133         * BufferView.C:
4134         * buffer.C:
4135         * buffer.h:
4136         * paragraph.C:
4137         * tabular.[Ch]: IU of clone() and getLabelList();
4138
4139 2003-06-13  André Pönitz  <poenitz@gmx.net>
4140
4141         * tabular.h: compactification
4142
4143 2003-06-12  André Pönitz  <poenitz@gmx.net>
4144
4145         * tabular.C:
4146         * tabular.h:
4147         * tabular_funcs.h: some renaming plus whitespace
4148
4149 2003-06-12  André Pönitz  <poenitz@gmx.net>
4150
4151         * BufferView.C:
4152         * BufferView_pimpl.C:
4153         * CutAndPaste.C:
4154         * buffer.C:
4155         * iterators.[Ch]:
4156         * lyxfunc.C:
4157         * text.C:
4158         * toc.C: Return a Paragraph & for ParIterator::operator*()
4159
4160 2003-06-11  John Levon  <levon@movementarian.org>
4161
4162         * lyx_main.C:
4163         * ToolbarBackend.h:
4164         * ToolbarBackend.C: add "Toolbars" section and
4165         put the flags there
4166
4167 2003-06-10  Angus Leeming  <leeming@lyx.org>
4168
4169         * lfuns.h:
4170         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4171
4172         * lyxfunc.C (dispatch): invoke it.
4173
4174 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4175
4176         * main.C: protect <ios> with HAVE_IOS
4177         (main): protect sync_with_stdio with HAVE_IOS
4178
4179 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4180
4181         * text2.C (cutSelection): adjust
4182         (pasteSelection): adjust
4183
4184         * messages.C: handle get of empty string
4185
4186         * main.C (main): use sync_with_stdio(false)
4187
4188         * lyxfunc.C (dispatch): adjust
4189
4190         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4191         (WriteAs): remove unneeded BufferView arg.
4192
4193         * bufferparams.h: use correct types on papersize, papersize2 and
4194         paperpackage.
4195
4196         * bufferparams.C (readToken): adjust for type
4197         (writeLaTeX): add missing cases to switch.
4198
4199         * bufferlist.C (quitWriteBuffer): adjust
4200         (close): adjust
4201
4202         * buffer.C (asciiParagraph): remove some commented code.
4203
4204         * CutAndPaste.C: remove current_view extern variable.
4205         (cutSelection): add BufferParams arg.
4206         (eraseSelection): add BufferParams arg.
4207         (pasteSelection): add Buffer const & arg
4208
4209 2003-06-07  John Levon  <levon@movementarian.org>
4210
4211         * buffer.C:
4212         * paragraph_funcs.C:
4213         * paragraph_pimpl.C:
4214         * text.C:
4215         * text2.C:
4216         * paragraph.h:
4217         * paragraph.C: allow InsetERT to freely space lines,
4218         and some consolidation of code
4219
4220 2003-06-06  José Matos  <jamatos@fep.up.pt>
4221
4222         * buffer.C (makeDocBookFile): fix bug #821
4223
4224 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4225
4226         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4227
4228 2003-06-04  Angus Leeming  <leeming@lyx.org>
4229
4230         * buffer.C: bump format to 224.
4231
4232 2003-06-05  André Pönitz  <poenitz@gmx.net>
4233
4234         * text2.C (redoParagraphs): remove two const_cast<>
4235
4236 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4237
4238         * ParagraphList.h: remove last remnants of NO_STD_LIST
4239
4240 2003-06-03  Angus Leeming  <leeming@lyx.org>
4241
4242         * factory.C (createInset): small change to the way InsetExternal's params
4243         are set.
4244
4245 2003-06-04  André Pönitz  <poenitz@gmx.net>
4246
4247         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4248
4249         * paragraph_pimpl.h:
4250         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4251
4252         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4253
4254         * undo_funcs.C: make some simple cases of undo work again
4255
4256 2003-06-03  John Levon  <levon@movementarian.org>
4257
4258         * ispell.C: HPUX doesn't have sys/select.h
4259         (from Albert Chin)
4260
4261 2003-06-03  John Levon  <levon@movementarian.org>
4262
4263         * CutAndPaste.C: update tabular and include inset
4264         buffer references
4265
4266         * buffer.h:
4267         * paragraph.h:
4268         * paragraph.C: remove owningBuffer(), don't pass Buffer
4269         to clone()
4270
4271         * factory.C: insetGraphicsParams changed
4272
4273 2003-06-02  John Levon  <levon@movementarian.org>
4274
4275         * LyXAction.C:
4276         * factory.C:
4277         * lfuns.h:
4278         * lyxfunc.C:
4279         * text3.C: remove insetparent
4280
4281 2003-06-02  John Levon  <levon@movementarian.org>
4282
4283         * buffer.h:
4284         * buffer.C: fix inset_iterator.end(), move out of line
4285         (bug 1149)
4286
4287 2003-06-01  John Levon  <levon@movementarian.org>
4288
4289         * text3.C: use a proper cut/paste when doing inset
4290         insert (from Jürgen Spitzmüller)
4291
4292 2003-06-01  John Levon  <levon@movementarian.org>
4293
4294         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4295
4296 2003-05-30  André Pönitz  <poenitz@gmx.net>
4297
4298         * rowpainter.C: unify second drawing phase
4299
4300 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * trans_mgr.C: remove one case of current_view
4303
4304         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4305
4306         * paragraph_funcs.h: remove paragraph.h include
4307
4308         * paragraph.h: delete NO_STD_LIST stuff
4309
4310         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4311
4312         * buffer.h: remove paragraph.h include
4313
4314         * ParagraphList.C: delete file
4315
4316         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4317
4318         * toc.C (getTocList): adjust
4319
4320         * paragraph_pimpl.C (validate): adjust
4321
4322         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4323
4324         * paragraph.C (Paragraph): adjust
4325         (getPositionOfInset): use const_iterator, adjust
4326         (bibitem): use const_iterator, adjust
4327         (setInsetOwner): adjust
4328
4329         * iterators.C (operator++): adjust
4330
4331         * InsetList.[Ch]: Replace selfmade iterator with standard
4332         vector::iterator also introduce const_iterator. Remove getPos,
4333         getInset and setInset from InsetTable. Adjust accordingly.
4334
4335         * BufferView.C (lockInset): adjust
4336         (ChangeInsets): adjust
4337
4338         * tabular.[Ch]: delete commented same_id functions
4339
4340 2003-05-28  John Levon  <levon@movementarian.org>
4341
4342         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4343
4344 2003-05-28  André Pönitz  <poenitz@gmx.net>
4345
4346         * metricsinfo.[Ch]: remove 'fullredraw' member
4347
4348 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4349
4350         * lyxtextclass.C (operator): remove caching.
4351
4352 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4353
4354         * text3.C: adjust
4355
4356         * text2.C (cursorBottom): adjust
4357         (setCounter): use ParagraphList::find, adjust
4358
4359         * text.C (workWidth): use ParagraphList::find, adjust
4360
4361         * lyxcursor.C (LyXCursor): adjust
4362
4363         * buffer.C (inset_iterator): adjust
4364
4365         * ParagraphList.h: make iterator(value_type) private, make
4366         ParagraphList a friend of iterator.
4367
4368         * ParagraphList.C (find): new function
4369
4370         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4371
4372 2003-05-27  André Pönitz  <poenitz@gmx.net>
4373
4374         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4375
4376 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4377
4378         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4379
4380 2003-05-26  John Levon  <levon@movementarian.org>
4381
4382         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4383
4384 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * remove same_id from function signatures, adjust.
4387
4388 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4389
4390         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4391
4392         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4393
4394         * paragraph.C (Paragraph): get rid of same_ids parameter
4395
4396         * ParagraphList.C (insert): adjust
4397         (push_back): adjust
4398
4399 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * paragraph_funcs.C (breakParagraph): adjust
4402         (breakParagraphConservative): adjust
4403
4404         * buffer.C (readParagraph): adjust
4405
4406         * ParagraphList.C (insert): take a reference instead of a pointer
4407         (insert): adjust
4408
4409         * paragraph.[Ch] (id): new function
4410
4411         * bufferlist.C (newFile): adjust
4412
4413         * ParagraphList.C (ParagraphList): adjust
4414         (assign): adjust
4415         (push_back): take a reference instead of a pointer.
4416
4417         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4418
4419         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4420         instead.
4421
4422         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4423         set else use old code.
4424
4425         * ParagraphList.C: remove all NO_NEXT code and only compile this
4426         code of NO_STD_LIST is set.
4427
4428 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * BufferView_pimpl.C:
4431         * TextCache.C:
4432         * TextCache.h:
4433         * bufferlist.C:
4434         * errorlist.h:
4435         * format.C:
4436         * format.h:
4437         * graph.C:
4438         * lyxfunc.C:
4439         * lyxrc.C:
4440         * graphics/GraphicsConverter.C:
4441         * graphics/PreviewLoader.C: header adjustment
4442
4443 2003-05-23  Angus Leeming  <leeming@lyx.org>
4444
4445         * LaTeXFeatures.[Ch] (useBabel): new method.
4446         * bufferparams.C (writeLaTeX): use it.
4447
4448 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * ParagraphList.h (set): remove unused function.
4451
4452 2003-05-23  André Pönitz  <poenitz@gmx.net>
4453
4454         * BufferView.C:
4455         * BufferView_pimpl.C:
4456         * buffer.C:
4457         * buffer.h:
4458         * lyxfunc.C:
4459         * undo_funcs.C: setUndo reworked
4460
4461         * iterators.[Ch]: add access to topmost ParagraphList
4462
4463         * lyxtext.[Ch] (workWidth): add a const
4464
4465 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * texrow.[Ch] (increasePos): remove function
4468         * exporter.C (export): removed unused var and outdated comment
4469
4470 2003-05-23  Angus Leeming  <leeming@lyx.org>
4471
4472         * latexrunparams.h: rename fragile as moving_arg.
4473         * paragraph.C (simpleTeXOnePar): ditto.
4474         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4475
4476 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4477
4478         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4479         (createUndo): ditto
4480         (textUndoOrRedo): comment out a currently unused var.
4481
4482         * paragraph.h (NO_NEXT): enable NO_NEXT
4483
4484         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4485
4486         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4487
4488         * exporter.C (Export): adjust for removeAutoInsets removal.
4489
4490         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4491
4492         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4493
4494         * BufferView.[Ch] (removeAutoInsets): delete function
4495
4496 2003-05-22  Angus Leeming  <leeming@lyx.org>
4497
4498         * latexrunparams.h: add a free_spacing variable.
4499
4500         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4501         to pass moving_arg, as the data is stored in runparams.fragile.
4502
4503         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4504         to Inset::latexOptional or to simpleTeXOnePar.
4505
4506         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4507         free_spacing arg to Inset::latexOptional.
4508
4509         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4510         free_spacing arg.
4511
4512 2003-05-22  Angus Leeming  <leeming@lyx.org>
4513
4514         * latexrunparams.h: add fragile and use_babel variables.
4515
4516         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4517         * buffer.C (makeLaTeXFile): store this returned value in
4518         runparams.use_babel, thus passing it to the inset::latex methods.
4519
4520         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4521         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4522
4523         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4524         longer has a fragile arg, as it is stored in runparams.fragile.
4525
4526         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4527         moving_arg parameter as the data is stored in runparams.fragile.
4528
4529         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4530         a fragile parameter as the data is stored in runparams.fragile.
4531
4532 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4535
4536 2003-05-22  Angus Leeming  <leeming@lyx.org>
4537
4538         * latexrunparams.h: add a 'bool nice' which defaults to false.
4539
4540         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4541         now encapsulated within runparams.
4542
4543         * bufferlist.C (updateIncludedTeXfiles):
4544         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4545
4546 2003-05-22  Angus Leeming  <leeming@lyx.org>
4547
4548         * latexrunparams.h: new file containing struct LatexRunParams.
4549         * Makefile.am: add new file.
4550
4551         * LaTeX.[Ch] (c-tor, run):
4552         * buffer.[Ch] (makeLaTeXFile):
4553         * bufferlist.[Ch] (updateIncludedTeXfiles):
4554         * converter.C (convert, scanLog):
4555         * converter.[Ch] (runLaTeX):
4556         * exporter.C (Export):
4557         * paragraph.[Ch] (simpleTeXOnePar):
4558         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4559         * paragraph_funcs.[Ch] (latexParagraphs):
4560         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4561         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4562         pass around a LatexRunParams parameter.
4563
4564 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * paragraph.[Ch]: remove unused constructor
4567
4568         * ParagraphList.C (erase): new function, taking two iterators
4569
4570 2003-05-22  André Pönitz  <poenitz@gmx.net>
4571
4572         * undo_funcs.C: remove duplicated code
4573
4574         * iterator.[Ch]: operator=
4575
4576 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4577
4578         * tabular.C (SetMultiColumn): ws changes
4579
4580         * rowpainter.C (paintFirst): get rid of a ->previous
4581
4582         * lyx_cb.C (getPossibleLabel): parlist simplification
4583
4584         * BufferView.C (ChangeInsets): simplify slightly.
4585
4586 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4587
4588         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4589         * lfuns.h: new LFUN_SPACE
4590         * lyxfunc.C: protected space has a new lfun
4591         * paragraph_funcs.C: read new space insets
4592         * text3.C:
4593         * factory.C: handle new space insets
4594
4595 2003-05-22  André Pönitz  <poenitz@gmx.net>
4596
4597         * BufferView.C:
4598         * BufferView_pimpl.C:
4599         * buffer.[Ch]:
4600         * lyxfunc.C:
4601         * undo_funcs.C: return a ParIterator from getParFromID.
4602
4603         * iterators.[Ch]: add two const's
4604
4605 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4606
4607         * toc.C (getTocList): adjust
4608
4609         * iterators.[Ch]: rework for parlist
4610
4611         * buffer.C (par_iterator_begin): adjust
4612         (par_iterator_end): adjust
4613
4614         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4615
4616         * BufferView.C (removeAutoInsets): adjust
4617         (ChangeInsets): adjust
4618
4619 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * text.C (top_y): fix bug 1110
4622
4623 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4624
4625         * errorlist.[Ch]: added
4626         * buffer.C:
4627         * BufferView.[Ch]:
4628         * BufferView_pimpl.C:
4629         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4630         instead
4631
4632 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * Makefile.am: ensure that lyx is relinked upon changes to the
4635         various "convenience" libs.
4636
4637 2003-05-20  Angus Leeming  <leeming@lyx.org>
4638
4639         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4640         files are compiled in alphabetical order again.
4641
4642         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4643
4644 2003-05-19  Angus Leeming  <leeming@lyx.org>
4645
4646         * gettext.[Ch]: remove "char const * _(char const *)".
4647
4648 2003-05-19  André Pönitz  <poenitz@gmx.net>
4649
4650         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4651
4652         * Makefile.am:
4653         * BufferView.C:
4654         * DepTable.h:
4655         * LaTeXFeatures.C:
4656         * buffer.C:
4657         * lyxfont.C:
4658         * lyxlex.h:
4659         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4660
4661 2003-05-19  André Pönitz  <poenitz@gmx.net>
4662
4663         * buffer.C:
4664         * lyxlayout.[Ch]:
4665         * lyxtextclass.[Ch]:
4666         * paragraph.C:
4667         * paragraph_funcs.[Ch]:
4668         * text2.C:
4669         * text3.C: more insetenv work
4670
4671 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * ParagraphParameters.C (params2string): small bug fixed
4674
4675 2003-05-16  André Pönitz  <poenitz@gmx.net>
4676
4677         * debug.C:
4678         * bufferview_funcs.C: patch from Kornel Benko to prevent
4679           crash when _(...) is called twice in a statement
4680
4681 2003-05-16  André Pönitz  <poenitz@gmx.net>
4682
4683         * BufferView.C:
4684         * lyxfunc.C:
4685         * text.C:
4686         * text2.C:
4687         * text3.C:
4688         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4689
4690 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4691
4692         * lyx_main.C (init): remove spurious static_cast
4693
4694 2003-05-14  André Pönitz  <poenitz@gmx.net>
4695
4696         * BufferView.C: fix format string
4697
4698 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4699
4700         * BufferView.[Ch] (insertErrors): removed
4701         * BufferView.[Ch] (showErrorList): added
4702         * buffer.C (runChkTeX):
4703         * converter.C (scanLog): call showErrorList instead of inserterrors
4704
4705 2003-05-13  André Pönitz  <poenitz@gmx.net>
4706
4707         * BufferView_pimpl.C:
4708         * buffer.C:
4709         * bufferview_func.C:
4710         * MenuBackend.C:
4711         * lyxfunc.C:
4712         * lyxrc.C:
4713         * tex-accent.C:
4714         * text3.C:
4715         * toc.C:
4716         * tabular_funcs.h: tostr() from its own header
4717
4718         * ParagraphParameters.C:
4719         * ToolbarBackend.C:
4720         * bufferparams.C:
4721         * format.C:
4722         * lyxlex_pimpl.C:
4723         * text3.C: STRCONV()
4724
4725 2003-05-12  André Pönitz  <poenitz@gmx.net>
4726
4727         * BufferView.C:
4728         * BufferView_pimpl.C:
4729         * CutAndPaste.C:
4730         * LaTeX.C:
4731         * LaTeXFeatures.C:
4732         * ParagraphParameters.C:
4733         * buffer.C:
4734         * bufferlist.C:
4735         * bufferparams.C:
4736         * bufferview_funcs.C:
4737         * converter.C:
4738         * counters.C:
4739         * debug.C:
4740         * exporter.C:
4741         * format.C:
4742         * importer.C:
4743         * lyx_cb.C:
4744         * lyx_main.C:
4745         * lyxfont.C:
4746         * lyxfunc.C:
4747         * lyxvc.C:
4748         * paragraph.C:
4749         * paragraph_funcs.C:
4750         * tabular.C:
4751         * tabular_funcs.C:
4752         * text2.C:
4753         * text3.C:  boost::format -> bformat  all over the place
4754
4755
4756 2003-05-09  André Pönitz  <poenitz@gmx.net>
4757
4758         * LColor.[Ch]: Pimpl the #include <map> away
4759
4760 2003-05-09  John Levon  <levon@movementarian.org>
4761
4762         * bufferlist.C: never remove emergency saves
4763
4764 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * Makefile.am: better lib building
4767
4768 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4771         instead.
4772         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4773         (simpleTeXSpecialChars): adjust
4774         (simpleTeXSpecialChars): adjust
4775         * paragraph.C (simpleTeXOnePar): adjust
4776         * buffer.C (makeLaTeXFile): adjust
4777
4778         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4779
4780         * text2.C (changeDepth): parlist cleanup
4781         (getColumnNearX): ditto
4782
4783         * rowpainter.C (getLabelFont): parlist cleanup
4784
4785         * bufferlist.C (newFile): parlist cleanup
4786
4787         * CutAndPaste.C (eraseSelection): parlist cleanup
4788
4789         * BufferView_pimpl.C (trackChanges): parlist cleanup
4790         (dispatch): ditto
4791
4792         * BufferView.C (lockInset): parlist cleanup.
4793         (ChangeInsets): ditto
4794
4795 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * CutAndPaste.h: Update file header.
4798
4799         * CutAndPaste.C: Update file header.
4800         Store the parts cut out of the Document in a limited_stack.
4801         (copySelection): adjust
4802         (pasteSelection): new function, takes the index in the limited stack.
4803         (nrOfParagraphs): adjust
4804         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4805         simplify error inset insertion.
4806         (checkPastePossible): adjust
4807
4808 2003-05-06  John Levon  <levon@movementarian.org>
4809
4810         * text2.C: don't cast wrap inset to float
4811
4812 2003-05-05  André Pönitz  <poenitz@gmx.net>
4813
4814         * iterator.C:
4815         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4816
4817         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4818           few naked Paragraph *.
4819
4820 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4821
4822         * bufferparams.C: Output warning if a document with missing
4823         TeX document class is loaded
4824         * exporter.C: Disable TeX exports if the document class is missing
4825         * lyxtextclass.C:
4826         * lyxtextclass.h:
4827         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4828         isTeXClassAvailable()
4829
4830 2003-05-03  John Levon  <levon@movementarian.org>
4831
4832         * BufferView.h:
4833         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4834         explicit cursor show/hide
4835
4836         * BufferView_pimpl.h:
4837         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4838         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4839
4840         * lyxfunc.C: hide cursor before dispatching.
4841
4842         * lyx_cb.C:
4843         * lyxfind.C:
4844         * text.C:
4845         * text3.C: remove explicit cursor hides
4846
4847 2003-05-02  André Pönitz  <poenitz@gmx.net>
4848
4849         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4850
4851         * undo_funcs.C:
4852         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4853           linked lists
4854
4855         * text2.C: tiny whitespace
4856
4857 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * undo_funcs.C: almost only ws changes.
4860
4861         * ParagraphList.C (splice): just return if pl is empty.
4862
4863 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * ParagraphList.C (splice): new function.
4866
4867         * CutAndPaste.C (pasteSelection): use it
4868
4869 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4870
4871         * CutAndPaste.C (pasteSelection): remove the last next and
4872         previous from this file.
4873
4874 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * CutAndPaste.C (pasteSelection): more clean up, user proper
4877         ParagraphList functions for pasteing.
4878
4879         * ParagraphList.C (insert): new function, three arg insert
4880
4881 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4882
4883         * ParagraphList.C (insert): new function, three arg insert
4884
4885         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4886         not on paragraphs.
4887
4888 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4891
4892 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4895
4896 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4899         (copySelection): clean up a bit.
4900         (pasteSelection): use make_pair
4901
4902         * ParagraphList.C (ParagraphList): implement copy constructor
4903         (operator=): implement, base on copy constructor.
4904         (assign): new func
4905
4906         * paragraph.C (erase): return a bool
4907
4908         * paragraph_pimpl.C (erasePos): remove function, move contents...
4909         (erase): ... here. Return a bool.
4910         (erase): call erase instead of erasePos.
4911
4912 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * ParagraphList.h: define PitPosPair
4915         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4916         ParagraphList, fix a bug on pasting multiple pars
4917         * text2.C: change interface to C&P
4918
4919 2003-04-30  André Pönitz  <poenitz@gmx.net>
4920
4921         * undo_func.C: revert part of yesterday's patch 2
4922
4923 2003-04-30  John Levon  <levon@movementarian.org>
4924
4925         * LColor.C: s/tabular/table/
4926
4927 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * text3.C (dispatch): do not convert iterator -> pointer
4930         * undo_funcs.C (setCursorParUndo): ditto
4931         * text_funcs.C (transposeChars): ditto
4932
4933         * text2.C (setLayout): ws changes only
4934
4935         * text.C (breakParagraph): do not convert iterator -> pointer
4936         (insertChar): ditto
4937         (acceptChange): ditto
4938         (rejectChange): ditto
4939         (changeCase): ditto
4940         (Delete): ditto
4941         (backspace): ditto
4942
4943         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4944         pointer
4945
4946 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4947
4948         * text3.C (gotoInset): YABG (yet another bad getChar)
4949
4950 2003-04-29  André Pönitz  <poenitz@gmx.net>
4951
4952         * paragraph.h: make operator= private unimplemented as long as
4953           it is unusable
4954
4955         * ParagraphList.C: whitespace
4956
4957         * paragraph.[Ch]:
4958         * paragraph_pimpl.[Ch]:
4959         * paragraph_funcs.C:
4960         * CutAndPaste.C:
4961         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4962
4963         * text2.C:
4964           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4965
4966 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4967
4968         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4969         * paragraph.[Ch] (erase):
4970         * paragraph_pimpl.[Ch] (erase): change return type and value
4971         * text2.C (cutSelection): some rework
4972
4973 2003-04-28  John Levon  <levon@movementarian.org>
4974
4975         * bufferlist.C: changes for unsaved changes dialog
4976
4977 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * bufferlist.C (newFile): set language (messages_) for new
4980         documents also.
4981
4982         * buffer.C (readFile): ws changes only.
4983
4984 2003-04-28  André Pönitz  <poenitz@gmx.net>
4985
4986         * undo_funcs.C:
4987         * lyxfunc.C:
4988         * buffer.[Ch]:
4989         * BufferView_pimpl.C:
4990         * BufferView.C: getParFromID related ParagraphList::iterator changes
4991
4992 2003-04-28  André Pönitz  <poenitz@gmx.net>
4993
4994         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4995           Changes
4996
4997 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * messages.C: remove one more localedir class variable.
5000
5001 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5002
5003         * messages.C (getLocaleDir): singleton generation function
5004         (Pimpl): use it.
5005         (Messages): add a default constructor.
5006
5007         * main.C (main): do not setup localedir here, do not call
5008         gettext_init.
5009
5010         * gettext.C (_): use it.
5011         (gettext_init): delete funciton
5012
5013 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * gettext.C (getLyXMessages): new singleton generating function.
5016
5017         * buffer.C (updateDocLang): adjust
5018
5019         * Makefile.am (messages.o): add target
5020         (main.o): remove target
5021
5022 2003-04-27  John Levon  <levon@movementarian.org>
5023
5024         * bufferlist.C:
5025         * lyx_cb.C:
5026         * lyxfunc.C:
5027         * lyxvc.C: specify cancel button in Alert::prompt
5028
5029 2003-04-26  John Levon  <levon@movementarian.org>
5030
5031         * text3.C:
5032         * lyxfunc.C:
5033         * lfuns.h:
5034         * LyXAction.C: add LFUN_INSET_SETTINGS
5035
5036         * lyxfunc.C: don't enable tabular-feature when there's
5037         just any locking inset
5038
5039 2003-04-26  John Levon  <levon@movementarian.org>
5040
5041         * bufferlist.C: re-add Cancel to buffer close question
5042
5043         * lyxfunc.C: fix import UI a bit
5044
5045 2003-04-25  John Levon  <levon@movementarian.org>
5046
5047         * gettext.C: remove the broken asserts for now
5048
5049 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * messages.C: make case where setlocale cannot comply work better.
5052
5053         * buffer.C (updateDocLang): new function
5054         (changeLanguage): use it
5055         (readFile): use it
5056
5057         * text2.C (setCounter): use B_ a bit.
5058
5059         * lyxlayout.C (Read): be sure to trim the label strings.
5060
5061         * messages.C (Messages): fix typo in comment
5062
5063         * buffer.C (readFile): set message_ after file is loaded.
5064         (makeDocBookFile): remove double return
5065         (changeLanguage): reset message_ upon language change.
5066         (B_): new func, use this to get translated buffer strings.
5067
5068         * main.C: add myself and Jean Marc as authors.
5069
5070 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5071
5072         * messages.[hC]: pimplify Messages, and three different pimpls to be
5073         used in different circumstances.
5074
5075         * gettext.[Ch]: change for use with new message code.
5076
5077 2003-04-24 André Pönitz <poenitz@gmx.net>
5078
5079         * factory.C: support for eqref
5080
5081 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * messages.[Ch]: add missing char
5084
5085         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5086
5087         * messages.[Ch]: New files
5088
5089 2003-04-18  John Levon  <levon@movementarian.org>
5090
5091         * BufferView.h:
5092         * BufferView.C:
5093         * BufferView_pimpl.C:
5094         * lfuns.h:
5095         * LyXAction.C:
5096         * lyxtext.h:
5097         * text2.C: remove layout-copy/paste (bug 778)
5098
5099 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5100
5101         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5102
5103 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5106         if they succeed. Act accordingly.
5107
5108 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * text2.C (setCharFont): adjust
5111         (setCounter): adjust
5112         (insertStringAsLines): adjust
5113
5114         * text.C (leftMargin): adjust
5115         (setHeightOfRow): adjust
5116
5117         * rowpainter.C (paintFirst): adjust
5118         (paintLast): adjust
5119
5120         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5121         (outerHook): ditto
5122         (isFirstInSequence): ditto
5123         (getEndLabel): ditto
5124         (outerFont): adjust
5125
5126         * paragraph.C (getParLanguage): comment out some hard stuff.
5127
5128         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5129         (sgmlError): ditto
5130         (simpleDocBookOnePar): ditto
5131         (makeDocBookFile): use ParagraphList::iterator
5132
5133         * CutAndPaste.C (pasteSelection): adjust
5134
5135 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * text2.C (getFont): adjust
5138         (getLayoutFont): adjust
5139         (getLabelFont): adjust
5140
5141         * paragraph_funcs.C (TeXOnePar): adjust
5142
5143         * buffer.C (simpleLinuxDocOnePar): adjust
5144         (simpleDocBookOnePar): adjust
5145
5146         * CutAndPaste.C (pasteSelection): adjust
5147
5148         * BufferView.C (getEncoding): adjust
5149
5150         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5151
5152 2003-04-16  John Levon  <levon@movementarian.org>
5153
5154         * lyxfind.C: use parlist stuff for search/changes
5155
5156 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5159
5160         * text2.C (deleteEmptyParagraphMechanism): adjust
5161
5162         * text2.[Ch] (ownerParagraph): delete func (both of them
5163
5164 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5167
5168 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * ParagraphList.C: prepare for NO_NEXT
5171
5172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * text2.C (getFont): adjust
5175         (getLayoutFont): adjust
5176         (getLabelFont): adjust
5177
5178         * paragraph.C (getFont): adjust
5179         (getLabelFont): adjust
5180         (getLayoutFont): adjust
5181
5182         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5183
5184 2003-04-15  John Levon  <levon@movementarian.org>
5185
5186         From Angus Leeming
5187
5188         * lyx_main.C: handle Include in .ui files
5189
5190 2003-04-15  John Levon  <levon@movementarian.org>
5191
5192         * MenuBackend.C: make the doc files length shorter
5193
5194         * ToolbarBackend.h:
5195         * ToolbarBackend.C: handle toolbar placement flags,
5196         Minibuffer
5197
5198 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5201         adjust
5202
5203         * paragraph_funcs.C (TeXOnePar): adjust
5204
5205         * paragraph.C (getLabelFont): add outerfont arg, adjust
5206         (getLayoutFont): ditto
5207         (simpleTeXOnePar): adjust
5208
5209         * paragraph_pimpl.C (realizeFont): delete func
5210
5211 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5212
5213         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5214         row argument, constify cur argument.
5215
5216 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * text2.C (getFont): adjust
5219         (getLayoutFont): adjust
5220         (getLabelFont): adjust
5221
5222         * paragraph_funcs.C (TeXOnePar): adjust
5223         (outerFont): new func...
5224         (realizeFont): ...moved out from here, changed this to facilitate
5225         transition
5226
5227         * paragraph.C (getFont): take outerfont as arg, adjust
5228         (simpleTeXOnePar): add outerfont arg, adjust
5229
5230         * buffer.C (simpleLinuxDocOnePar): adjust
5231         (simpleDocBookOnePar): adjust
5232
5233         * CutAndPaste.C (pasteSelection): adjust
5234
5235         * BufferView.C (getEncoding): adjust
5236
5237 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * text2.C (setCharFont): adjust
5240         (setCounter): adjust
5241
5242         * text.C (leftMargin): adjust
5243         (setHeightOfRow): adjust
5244
5245         * rowpainter.C (paintFirst): adjust
5246         (paintLast): adjust
5247
5248         * paragraph_pimpl.C (realizeFont): adjust
5249
5250         * paragraph.C (isFirstInSequence): move from here...
5251         * paragraph_funcs.C (isFirstInSequence): ...to here
5252
5253         * paragraph.C (outerHook): move from here...
5254         * paragraph_funcs.C (outerHook): ...to here
5255
5256         * paragraph.C (depthHook): move from here...
5257         * paragraph_funcs.C (depthHook): ...to here
5258
5259         * paragraph.C (getEndLabel): move from here...
5260         * paragraph_funcs.C (getEndLabel): ...to here
5261
5262         * text2.C (realizeFont): move from here...
5263         * paragraph_funcs.C (realizeFont): ...to here
5264
5265 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5266
5267         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5268
5269 2003-04-14  Angus Leeming  <leeming@lyx.org>
5270
5271         * LColor.[Ch]: scrap LColor mathcursor.
5272
5273 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5274
5275         * lyxlex.[Ch] (text): delete function
5276         * trans.C (Load): adjust
5277         * paragraph_funcs.C (readParToken): adjust
5278
5279 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5282         vector<char> instead of a char[].
5283
5284         * lyxlex_pimpl.C (getString): adjust
5285         (next): adjust
5286         (lex): use getString
5287         (eatLine): adjust
5288         (nextToken): adjust
5289
5290         * lyxlex.C (text): use pimpl_->getString()
5291         (getBool): ditto
5292         (findToken): ditto
5293
5294 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5295
5296         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5297         (makeFontEntriesLayoutSpecific): temp var for par.size()
5298         (setLayout): temp var for ownerParagraphs().end()
5299         (fullRebreak): temp var for rows().end()
5300         (selectionAsString): temp var for boost::next(startpit), realize
5301         that the while really is a regular for loop.
5302         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5303         setCursor in one place.
5304         (setParagraph): temp vr for ownerParagraphs().end()
5305         (updateCounters): make the while loop a for loop
5306         (cutSelection): temp var for ownerParagraphs().end()
5307         (updateInset): make the do {} while() a regular for loop
5308         (getCursorX): use temp vars
5309         (setCurrentFont): use temp vars
5310         (getColumnNearX): use temp vars
5311
5312 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * text.C (transformChar): use temp var for getChar
5315         (computeBidiTables): use temp var for row->par()
5316         (fill): move temp vars for row->par() and pit->layout() earlier in
5317         the function.
5318         (labelFill): use temp var for row->par()
5319         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5320         asc and desc, realize that pit never changes and that firstpit is
5321         just a duplicate and not needed. Exchange rit->par() with pit in a
5322         lot of places.
5323         (breakAgain): use a temp var for boost::next(rit)
5324         (breakAgainOneRow): ditto
5325         (breakParagraph): use a temp var for rows().begin()
5326         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5327         (cursorRightOneWord): use temp var for cursor.par() and
5328         cursor.pos(), remove usage of tmpcursor.
5329         (cursorLeftOneWord): use temp var for cursor.par() and
5330         cursor.pos() only set cur at end of function.
5331
5332 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * text.C, text2.C: exchange all usage of Paragraph::next with
5335         boost::next(ParagraphList::iterator)
5336
5337         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5338
5339         * text2.C (cursorTop): simplify implementation
5340         (cursorBottom): ditto
5341         (setParagraph): use ParagraphList::iterator
5342         (setCurrentFont): adjust
5343         (getColumnNearX): adjust
5344         (cursorRight): adjust
5345         (cursorLeft): remove usage of Paragraph::previous
5346         (cursorUpParagraph): ditto
5347         (deleteEmptyParagraphMechanism): slight cleanup
5348
5349         * text.C (isBoundary): take a Paragraph const & instead of a
5350         pointer as arg.
5351         (addressBreakPoint): ditto
5352         (leftMargin): remove usage of Paragraph::previous.
5353         (setHeightOfRow): ditto
5354         (cursorLeftOneWord): ditto
5355         (selectNextWordToSpellcheck): ditto
5356         (Delete): ditto
5357         (backspace): ditto
5358         (breakParagraph): remove one usage of Paragraph::next
5359         (redoParagraph): ditto
5360         (acceptChange): ditto
5361         (insertChar): adjust
5362         (rowBreakPoint): adjust
5363
5364         * bufferview_funcs.C (toggleAndShow): adjust
5365
5366 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5369         methods to access it.
5370         * lyxtext.h:
5371         * text.C: Added updateRowPositions to compute all row positions.
5372         Make top_y and getRowNearY() to use the cached y position
5373
5374 2003-04-11  John Levon  <levon@movementarian.org>
5375
5376         * text.C (rowBreakPoint): reintroduce the labelEnd
5377         checks, code copied from the row fill stuff. Deep voodoo.
5378
5379         * text.C (fill): add a comment and debugging for the
5380         next poor soul.
5381
5382 2003-04-11  John Levon  <levon@movementarian.org>
5383
5384         * text.C: make sure fullrow insets get wrapped to the next line,
5385         even when they're in a manual label
5386
5387 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5388
5389         * text2.C (insertParagraph): make it take ParagraphList::iterator
5390         as arg.
5391         (setLayout): make it return ParagraphList::iterator
5392         (redoParagraphs): ditto
5393         (setCounter): ditto
5394         (checkParagraph): ditto
5395
5396         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5397
5398         * text2.C: adjust several funcs.
5399         (realizeFont): take a ParagraphList::iterator as arg.
5400         (getLayoutFont): ditto
5401         (getLabelFont): ditto
5402         (setCharFont): ditto
5403
5404         * text.C: adjust several funcs.
5405
5406 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5407
5408         * text.C (selectNextWordToSpellcheck): don't accidentally
5409         skip insets
5410
5411 2003-04-10  John Levon  <levon@movementarian.org>
5412
5413         * ToolbarBackend.C (getIcon): special handling for
5414         LFUN_MATH_DELIM
5415
5416 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5417
5418         * text2.C (cursorRight): a getChar assert fixed
5419
5420 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * text2.C (getFont): change to take a ParagraphList::iterator
5423         instead of Paragraph*
5424         Adjust several functions.
5425
5426         * text.C (transformChar): change to take a ParagraphList::iterator
5427         instead of Paragraph*
5428         (singleWidth): ditto
5429         Adjust several functions.
5430
5431         * rowpainter.C: adjust several functions
5432         * rowpainter.h:store a ParagraphList::iterator and not a
5433         Paragraph&.
5434
5435
5436 2003-04-09  John Levon  <levon@movementarian.org>
5437
5438         * lyxfunc.C:
5439         * lfuns.h:
5440         * LyXAction.h:
5441         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5442         and the "help" bits as well
5443
5444 2003-04-09  John Levon  <levon@movementarian.org>
5445
5446         * ToolbarBackend.h:
5447         * ToolbarBackend.C: allow multiple toolbars
5448
5449 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * undo_funcs.C (setCursorParUndo): adjust
5452
5453         * text_funcs.C (transposeChars): adjust
5454
5455         * text3.C (gotoNextInset): adjust
5456         (dispatch): adjust
5457
5458         * text2.C (setLayout): adjust
5459         (changeDepth): adjust
5460         (setFont): adjust
5461         (redoParagraphs): adjust
5462         (selectionAsString): adjust
5463         (setParagraph): adjust
5464         (insertInset): adjust
5465         (cutSelection): adjust
5466         (copySelection): adjust
5467         (pasteSelection): adjust
5468         (insertStringAsLines): adjust
5469         (updateInset): adjust
5470         (setCursor): change to take a ParagraphList::iterator parameter
5471         (setCursorIntern): change to take a ParagraphList::iterator parameter
5472         (setCurrentFont): adjust
5473         (cursorLeft): adjust
5474         (cursorRight): adjust
5475         (deleteEmptyParagraphMechanism): adjust
5476
5477         * text.C (breakParagraph): adjust
5478         (insertChar): adjust
5479         (acceptChange): adjust
5480         (rejectChange): adjust
5481         (selectNextWordToSpellcheck): adjust
5482         (changeCase): adjust
5483         (Delete): adjust
5484         (backspace): adjust
5485
5486         * lyxfind.C (SearchForward): adjust
5487         (SearchBackward): adjust
5488         (nextChange): adjust
5489
5490         * lyxcursor.C (par): adjust
5491
5492         * lyxcursor.h: store a ParagraphList::iterator instead of a
5493         Paragraph*
5494
5495         * lyx_cb.C (getPossibleLabel): adjust
5496
5497         * bufferview_funcs.C (toggleAndShow): adjust
5498
5499         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5500         (dispatch): adjust
5501
5502         * BufferView.C (removeAutoInsets): adjust
5503         (lockedInsetStoreUndo): adjust
5504
5505 2003-04-09  John Levon  <levon@movementarian.org>
5506
5507         * ToolbarBackend.C: try icon without argument
5508         if with argument fails
5509
5510 2003-04-08  John Levon  <levon@movementarian.org>
5511
5512         * ToolbarBackend.h:
5513         * ToolbarBackend.C: add getIcon(), handle tooltip,
5514         and change from "Icon" to "Item".
5515
5516 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5517
5518         * BufferView.C (lockInset): another bad getchar crunched
5519
5520 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5521
5522         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5523         again)
5524
5525 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5526
5527         * lyxfind.C (searchForward, searchBackwards): bug 782
5528
5529 2003-04-07  John Levon  <levon@movementarian.org>
5530
5531         * paragraph.C: remove dead comment
5532
5533         * text.C: remove troublesome depth-fiddling code
5534         in leftMargin() and rightMargin() (bug 1017)
5535
5536         * text.C: fix breaking of rows in nested lists
5537         (bug 1004)
5538
5539         * text2.C (updateCounters): fix up depth values
5540         (bug 1013)
5541
5542 2003-04-07  John Levon  <levon@movementarian.org>
5543
5544         * BufferView_pimpl.C: clear message when doc finishes resizing,
5545         and after a mouse event
5546
5547         * lyxfunc.C: clear message after exiting inset
5548
5549 2003-04-07  John Levon  <levon@movementarian.org>
5550
5551         * bufferview_funcs.C: show math status not outside
5552         status in the statusbar
5553
5554 2003-04-07  John Levon  <levon@movementarian.org>
5555
5556         * lyxfunc.C: note status changed after a depth change
5557
5558 2003-04-04  Angus Leeming  <leeming@lyx.org>
5559
5560         * LaTeX.h: move AuxInfo operator==, != out of line.
5561         Remove LaTeX virtual destructor; nothing derives from it.
5562         Move operator()() out of public area and rename it startscript().
5563         Change protected for private.
5564
5565 2003-04-04  Angus Leeming  <leeming@lyx.org>
5566
5567         * lyxfunc.C:
5568         * text2.C: remove unneeded #includes.
5569
5570 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5571
5572         * text2.C (dEPM): fix the heigth of the next row
5573
5574 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5575
5576         * text.C: squashed an invalid getChar requester + some ws changes
5577
5578 2003-04-03  John Levon  <levon@movementarian.org>
5579
5580         * bufferview_funcs.h:
5581         * bufferview_funcs.C:
5582         * lyxfunc.C:
5583         * lyxtext.h:
5584         * text2.C: make getStatus work for the env depth lfuns
5585
5586 2003-04-03  John Levon  <levon@movementarian.org>
5587
5588         * bufferview_funcs.h:
5589         * bufferview_funcs.C:
5590         * lyxfunc.C:
5591         * lyxtext.h:
5592         * text2.C: parlistize decDepth(), by merging it with incDepth()
5593
5594 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * lyxrow.h: store a ParagraphList::iterator instead of a
5597         Paragraph* and adjust other class functions to suit.
5598
5599         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5600         above.
5601
5602 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5603
5604         * text2.C (setCursor): do not anchor to cursor row for the time being
5605
5606 2003-04-02  John Levon  <levon@movementarian.org>
5607
5608         * LyXAction.C:
5609         * lfuns.h:
5610         * lyx_main.C:
5611         * lyxtext.h:
5612         * text.C:
5613         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5614
5615 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * paragraph.h: make ParagraphList and ParagraphList::iterator
5618         friends of Paragraph.
5619
5620         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5621
5622         * ParagraphList.C: Use the private next_ and previous_ from
5623         Paragraph.
5624
5625 2003-04-01  John Levon  <levon@movementarian.org>
5626
5627         * ToolbarBackend.h:
5628         * ToolbarBackend.C:
5629         * Makefile.am: rename, remove defaults gunk
5630
5631         * MenuBackend.h:
5632         * MenuBackend.C: remove defaults gunk
5633
5634         * Languages.h:
5635         * Languages.C: remove defaults gunk
5636
5637         * lyx_main.h:
5638         * lyx_main.C: error out if files couldn't be found.
5639
5640 2003-04-02  John Levon  <levon@movementarian.org>
5641
5642         * text2.C: make incDepth() use parlist
5643
5644 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5645
5646         * undo_funcs.C (firstUndoParagraph): adjust
5647
5648         * text3.C (gotoInset): adjust
5649         (dispatch): adjust, and rewrite loop.
5650
5651         * text2.C (init): adjust, and rewrite loop.
5652         (redoParagraphs): adjust
5653         (updateInset): adjust, and rewrite loop.
5654         (deleteEmptyParagraphMechanism): adjust
5655
5656         * tabular.C (LyXTabular): adjust
5657         (SetMultiColumn): adjust
5658         (TeXRow): adjust
5659
5660         * lyxtext.[Ch] (ownerParagraph): delete function
5661         (ownerParagraphs): new function returns a ParagraphList.
5662
5663         * BufferView.C (removeAutoInsets): adjust
5664         (insertErrors): adjust
5665         (setCursorFromRow): adjust
5666
5667 2003-04-01  Angus Leeming  <leeming@lyx.org>
5668
5669         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5670         in the frontends.
5671
5672 2003-04-02  John Levon  <levon@movementarian.org>
5673
5674         * lyxtext.h:
5675         * text.C:
5676         * Makefile.am:
5677         * text_funcs.h:
5678         * text_funcs.C: make transposeChars a free function
5679
5680         * lyxrow_funcs.C: remove wrong comment
5681
5682 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * lyxtext.h: adjust
5685         * rowpainter.C: adjust
5686         * text.C: adjust
5687         * text2.C: adjust
5688         * text3.C: adjust
5689
5690         * lyxrow_funcs. [Ch]: new files
5691
5692         * lyxrow.[Ch]: remove next and previous pointers
5693         (next,previous): remove accessor functions
5694         (isParEnd): move to lyxrow_funcs
5695         (lastPos): move to lyxrow_funcs
5696         (nextRowIsAllInset): move to lyxrow_funcs
5697         (lastPrintablePos): move to lyxrow_funcs
5698         (numberOfSeparators): move to lyxrow_funcs
5699         (numberOfHfills): move to lyxrow_funcs
5700         (numberOfLabelHfills): move to lyxrow_funcs
5701         (hfillExpansion): move to lyxrow_funcs
5702
5703         * lyxfunc.C: adjust
5704
5705         * bufferview_funcs.C (toggleAndShow): adjust
5706
5707         * RowList.h: Remove class RowList from file leave just a
5708         std::list<Row>.
5709
5710         * RowList.C: delete file
5711
5712         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5713         and lyxrow_funcs.h
5714
5715 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * text3.C (cursorPrevious): adjust
5718         (cursorNext): adjust
5719         (dispatch): adjust
5720
5721         * text2.C (redoHeightOfParagraph): adjust
5722         (redoDrawingOfParagraph): adjust
5723         (setCursor): adjust
5724
5725         * text.C (breakParagraph): adjust
5726         (insertChar): adjust
5727         (backspace): adjust
5728
5729         * rowpainter.C (RowPainter): adjust
5730         (leftMargin): simplify and adjust
5731         (most rowpainter functions): adjust.
5732
5733         * rowpainter.h: store the row as RowList::iterator not as Row*
5734
5735         * lyxcursor.C (row): taka RowList::iterator as arg
5736         (irow): ditto
5737
5738         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5739         of Row*.
5740
5741 2003-04-01  Angus Leeming  <leeming@lyx.org>
5742
5743         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5744         stuff like bool Bool.
5745
5746 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5749         rewrite a loop
5750
5751 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5754         RowList::iterator.
5755
5756         * lyxtext.h (rows): drop one version and leve a const variant that
5757         returns a RowList::iterator.
5758
5759 2003-03-31  Angus Leeming  <leeming@lyx.org>
5760
5761         * text.C (fill): ensure that the signature is the same as that in the
5762         header file.
5763
5764 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * text2.C (redoParagraphs): adjust
5767         (updateCounters): adjust
5768         (checkParagraph): adjust
5769         (getColumnNearX): adjust and reformat a bit.
5770
5771         * text.C (top_y): adjust
5772         (workWidth): adjust
5773         (leftMargin): adjust
5774         (prepareToPrint): adjust
5775         (getRow): adjust
5776         (getRowNearY): adjust
5777
5778         * lyxtext.h: make rowlist_ mutable.
5779
5780         * RowList.h: add const_iterator
5781         * RowList.C: adjust for RowList::const_iterator.
5782
5783         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5784         adjust.
5785
5786 2003-03-31  John Levon  <levon@movementarian.org>
5787
5788         * lyxrc.h:
5789         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5790
5791         * lyx_main.C: set default fonts from using lyx_gui funcs
5792
5793         * exporter.C: pdf_mode moved from lyxrc
5794
5795         * lyx_cb.C:
5796         * lyxfunc.C: changes from above
5797
5798 2003-03-31  John Levon  <levon@movementarian.org>
5799
5800         * lyx_main.C: fix to the last fix
5801
5802 2003-03-31  John Levon  <levon@movementarian.org>
5803
5804         * bufferlist.C: "Load original" -> "Load Original"
5805
5806         * converter.C:
5807         * exporter.C:
5808         * importer.C:
5809         * lyx_main.C:
5810         * format.C: more Alert cleanups
5811
5812 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * text2.C (removeParagraph): make it take a RowList::iterator as
5815         arg, adjust.
5816         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5817         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5818
5819         * text.C (anchor_row): make it take a RowList::iterator as arg,
5820         adjust.
5821         (computeBidiTables): make it take a const reference to Row instead
5822         of Row pointer, adjust.
5823         (leftMargin): make it take a RowList::iterator as arg, adjust.
5824         (rowBreakPoint): adjust
5825         (breakAgainOneRow): make it take a RowList::iterator as arg,
5826         adjust.
5827         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5828
5829         * bufferview_funcs.C (toggleAndShow): adjust
5830
5831 2003-03-30  John Levon  <levon@movementarian.org>
5832
5833         * Makefile.am:
5834         * BoostFormat.h:
5835         * boost-inst.C: moved to support
5836
5837         * several files: changes as a result
5838
5839 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5840
5841         * text2.C (LyXText): adjust.
5842         (init): adjust
5843         (removeRow): make it take a RowList::iterator as arg, adjust.
5844         (fullRebreak): adjust
5845         (deleteEmptyParagraphMechanism): adjust
5846         (clearPaint): adjust
5847         (postPaint): adjust
5848
5849         * text.C (top_y): adjust
5850         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5851         (breakAgain): make it take a RowList::iterator as arg, adjust.
5852         (breakParagraph): adjust
5853         (insertChar): adjust
5854         (backspace): adjust
5855
5856         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5857         need_break_row, and refresh_row.
5858
5859         * text3.C (dispatch): adjust
5860
5861         * text2.C (checkParagraph): adjust
5862         (setCursor): adjust
5863         (setCursorFromCoordinates): adjust
5864
5865         * text.C (top_y): adjust
5866         (workWidth): adjust
5867         (getRow): make it return a RowList::iterator, adjust
5868         (getRowNearY): make it return a RowList::iterator, adjust
5869
5870         * text2.C (init): adjust
5871         (insertRow): remove function
5872         (insertParagraph): adjust
5873         (redoParagraphs): adjust
5874         (fullRebreak): adjust
5875         (updateCounters): adjust
5876
5877         * text.C (top_y): rewrite to use RowList iterators.
5878         (top_y): adjust
5879         (setHeightOfRow): rewrite to sue RowList iterators.
5880         (appendParagraph): adjust
5881         (breakAgain): adjust
5882         (breakAgainOneRow): adjust
5883         (breakParagraph): adjust
5884         (getRow): adjust
5885         (getRowNearY): adjust, and remove commented code.
5886
5887         * lyxtext.h (firstRow): delete function
5888         (lastRow): delete function
5889         (rows): new function (const and non-const versions.)
5890         (insertRow): delete function
5891
5892         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5893
5894 2003-03-29  John Levon  <levon@movementarian.org>
5895
5896         * BufferView_pimpl.C: always update scrollbar top
5897         because pasting text when we're anchored could mean we
5898         miss an update altogether
5899
5900 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * text2.C (init): use rowlist_.end() and not 0.
5903         (insertRow): change to take a RowList::iterator as arg, adjust
5904         for this.
5905         (insertParagraph): change to take a RowList::iterator as arg,
5906         adjust for this.
5907         (redoParagraphs): remove some debug msgs.
5908
5909         * text.C (appendParagraph): change to take a RowList::iterator
5910         arg, adjust for this.
5911         (breakAgain): add an assert
5912         (breakAgainOneRow): ditto
5913
5914 2003-03-29  John Levon  <levon@movementarian.org>
5915
5916         * text2.C: do not clear selection after inc/decDepth
5917         (bug 550)
5918
5919 2003-03-29  John Levon  <levon@movementarian.org>
5920
5921         * BufferView.C:
5922         * buffer.C: fix broken strerrors according to Lars
5923
5924 2003-03-29  John Levon  <levon@movementarian.org>
5925
5926         * converters.C: more Alert cleanups
5927
5928 2003-03-29  John Levon  <levon@movementarian.org>
5929
5930         * bufferview_funcs.C: remove pointless Alert
5931
5932         * buffer.C: fix confusing error message when
5933         a template is chmoded 000
5934
5935 2003-03-29  John Levon  <levon@movementarian.org>
5936
5937         * BufferView.C:
5938         * BufferView.h:
5939         * BufferView_pimpl.C: Alert fixes
5940
5941         * Makefile.am:
5942         * tabular.C:
5943         * tabular-old.C: remove unused table compat reading
5944
5945 2003-03-29  John Levon  <levon@movementarian.org>
5946
5947         * BufferView.C:
5948         * buffer.C:
5949         * lyx_cb.h:
5950         * lyx_cb.C: more Alert cleanups
5951
5952         * lyxfunc.C: don't allow chktex if not latex document
5953
5954 2003-03-29  John Levon  <levon@movementarian.org>
5955
5956         * lyx_cb.C:
5957         * BufferView.C:
5958         * buffer.C: warnings pushed down from support/,
5959         kill err_alert
5960
5961 2003-03-29  John Levon  <levon@movementarian.org>
5962
5963         * lyxfunc.C: safety check for C-r (revert)
5964
5965 2003-03-29  John Levon  <levon@movementarian.org>
5966
5967         * bufferlist.h:
5968         * bufferlist.C: several UI fixes using Alert::prompt.
5969         Fix the pointless looping quit code. Fix stupid revert
5970         behaviour (bug 938)
5971
5972         * lyxvc.h:
5973         * lyxvc.C:
5974         * lyx_cb.C: use Alert::prompt
5975
5976         * lyx_main.C: remove a silly question
5977
5978         * lyxfunc.C: remove a couple of silly questions,
5979         use Alert::prompt
5980
5981 2003-03-28  John Levon  <levon@movementarian.org>
5982
5983         * text2.C: fix bug 974 (End on empty par)
5984
5985 2003-03-28  John Levon  <levon@movementarian.org>
5986
5987         * BufferView_pimpl.C:
5988         * LyXAction.C:
5989         * lfuns.h: remove do-nothing math greek lfuns
5990
5991 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5992
5993         * lyxgluelength.h (isValidGlueLength): add default arg on
5994         parameter 2. Remove default arg from friend in class.
5995
5996         * lyxlength.h (isValidLength): add default arg on parameter 2.
5997         Remove default arg from friend in class.
5998
5999         * text2.C (LyXText): adjust, initialize refresh_row.
6000         (init): adjust
6001         (removeRow): adjust
6002         (insertRow): adjust
6003         (insertParagraph): adjst
6004         (redoParagraphs): adjust
6005         (fullRebreak): adjust
6006         (updateCounters): adjust
6007         (deleteEmptyParagraphMechanism): first attempt at fixing a
6008         crashing bug.
6009
6010         * text.C (top_y): adjust
6011         (setHeightOfRow): adjust
6012         (getRow): adjust
6013         (getRowNearY): adjust
6014
6015         * lyxtext.h: include RowList.h
6016         (~LyXText): not needed anymore, deleted.
6017         (firstRow): modify for RowList
6018         (lastRow): new function
6019         Delete firstrow and lastrow class variables, add a Rowlist
6020         rowlist_ class variable.
6021
6022         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6023         paragraph is empty.
6024
6025         * RowList.C (insert): fix case where it == begin().
6026
6027 2003-03-26  Angus Leeming  <leeming@lyx.org>
6028
6029         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6030         the thesaurus dialog.
6031
6032 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6035
6036         * RowList.[Ch]: new files
6037
6038         * ParagraphList.C (erase): handle the case where it == begin
6039         correctly.
6040
6041 2003-03-25  John Levon  <levon@movementarian.org>
6042
6043         * Makefile.am:
6044         * aspell_local.h:
6045         * aspell.C: add new aspell support
6046
6047         * lyxrc.h:
6048         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6049         have it accessible.
6050
6051 2003-03-25  Angus Leeming  <leeming@lyx.org>
6052
6053         * lfuns.h:
6054         * LyXAction.C (init): new LFUN_INSET_INSERT.
6055
6056         * BufferView_pimpl.C (dispatch): split out part of the
6057         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6058
6059         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6060         LFUN_INSET_APPLY.
6061
6062 2003-03-25  Angus Leeming  <leeming@lyx.org>
6063
6064         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6065
6066 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6067
6068         * text2.C:
6069         * text3.C: remove useless row->height(0)
6070
6071 2003-03-25  John Levon  <levon@movementarian.org>
6072
6073         * lyxtext.h:
6074         * text2.C:
6075         * text3.C: rename the refreshing stuff to better names
6076
6077 2003-03-24  John Levon  <levon@movementarian.org>
6078
6079         * BufferView_pimpl.h:
6080         * BufferView_pimpl.C: update layout choice on a mouse
6081         press/release
6082
6083 2003-03-23  John Levon  <levon@movementarian.org>
6084
6085         * Makefile.am: fix commandtags.h reference
6086
6087 2003-03-22  John Levon  <levon@movementarian.org>
6088
6089         * BufferView_pimpl.C:
6090         * lyxtext.h:
6091         * rowpainter.C:
6092         * rowpainter.h:
6093         * text.C:
6094         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6095
6096 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6097
6098         * lyxtext.h:
6099         * text.C: take the rtl methods out of line
6100
6101 2003-03-21 André Pönitz <poenitz@gmx.net>
6102
6103         * metricsinfo.[Ch]: new files containing structures to be passed around
6104         during the two-phase-drawing...
6105
6106 2003-03-21 André Pönitz <poenitz@gmx.net>
6107
6108         * lyxtextclass.C: read 'environment' tag.
6109
6110 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6111
6112         * text2.C (removeRow): fix bug 964
6113
6114 2003-03-20  John Levon  <levon@movementarian.org>
6115
6116         * rowpainter.C:
6117         * text.C:
6118         * text2.C: paint cleanups. Inset::update() dropped font
6119         parameter
6120
6121 2003-03-19  John Levon  <levon@movementarian.org>
6122
6123         * lyxfunc.C: only fitcursor/markDirty if available()
6124
6125 2003-03-19  John Levon  <levon@movementarian.org>
6126
6127         * commandtags.h: rename to ...
6128
6129         * lfuns.h: ... this, and renumber / cleanup
6130
6131 2003-03-19  John Levon  <levon@movementarian.org>
6132
6133         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6134         fit the cursor after an lfun
6135
6136         * BufferView.h:
6137         * BufferView.C:
6138         * BufferView_pimpl.h:
6139         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6140
6141         * LyXAction.C: layout-character should have ReadOnly
6142
6143         * ParagraphParameters.C:
6144         * buffer.C:
6145         * bufferview_funcs.C:
6146         * lyx_cb.C:
6147         * lyxfind.C:
6148         * lyxtext.h:
6149         * text.C:
6150         * text2.C:
6151         * text3.C:
6152         * undo_funcs.C: changes from above
6153
6154 2003-03-18  John Levon  <levon@movementarian.org>
6155
6156         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6157         remove it from update()
6158
6159         * lyxfunc.C: update layout choice after an lfun
6160
6161         * text3.C: remove extra updateLayoutChoice()s
6162
6163 2003-03-18  John Levon  <levon@movementarian.org>
6164
6165         * text.C: top_y change means full repaint, fix
6166         a drawing bug with cursor movement
6167
6168 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6169
6170         * lyxtext.h:
6171         * text.C:
6172         * text2.C: anchor row on setCursor
6173
6174 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6175
6176         * lyxtext.h: remove almost all mutable keywords
6177         * text.C:
6178         * text2.C:
6179         * text3.C: remove const keywords accordingly
6180
6181 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6184         anon namespace
6185         (TeXEnvironment): ditto
6186         (TeXOnePar): ditto
6187
6188 2003-03-17  John Levon  <levon@movementarian.org>
6189
6190         * text.C (rowBreakPoint): remove attempt to fix displayed
6191         math insets inside a manual label
6192
6193 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * lyxtext.h: remove BufferView* as first arg from almost all class
6196         functions.
6197         * other files: adjust.
6198
6199 2003-03-17  John Levon  <levon@movementarian.org>
6200
6201         * lyxtext.h:
6202         * undo_funcs.C:
6203         * text2.C: more paint cleanups
6204
6205         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6206
6207         * rowpainter.h:
6208         * rowpainter.C: remove "smart" background painting code
6209
6210 2003-03-16  John Levon  <levon@movementarian.org>
6211
6212         * lyxtext.h:
6213         * text.C:
6214         * text2.C:
6215         * text3.C: add helper functions for setting refresh_row/y
6216
6217 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6218
6219         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6220         newline inset which *can* get inserted in the pass_thru layouts.
6221         This is primarily for literate documents.
6222
6223 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6224
6225         * buffer.C: increment LYX_FORMAT to 223
6226
6227 2003-03-14 André Pönitz <poenitz@gmx.net>
6228
6229         * textclass.h: prepare for environment handling, ws changes
6230         * lyxlayout.C: read latexheader and latexfooter tags
6231
6232 2003-03-14  John Levon  <levon@movementarian.org>
6233
6234         * text2.C: rewrite ::status() a bit
6235
6236 2003-03-13  John Levon  <levon@movementarian.org>
6237
6238         * lyxtext.h: add some docs
6239
6240 2003-03-13  John Levon  <levon@movementarian.org>
6241
6242         * lyxtext.h:
6243         * text.C:
6244         * text2.C:
6245         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6246
6247 2003-03-13  John Levon  <levon@movementarian.org>
6248
6249         * text3.C: fix appendix redrawing
6250
6251 2003-03-13  John Levon  <levon@movementarian.org>
6252
6253         * text.C (setHeightOfRow):
6254         * rowpainter.h:
6255         * rowpainter.C: make appendix mark have the text
6256           "Appendix" so the user knows what it is
6257
6258         * LColor.h:
6259         * LColor.C: s/appendixline/appendix/ from above
6260
6261 2003-03-13  John Levon  <levon@movementarian.org>
6262
6263         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6264
6265         * text.C: fix a getChar(pos) bug properly
6266
6267 2003-03-13  Angus Leeming  <leeming@lyx.org>
6268
6269         * commandtags.h:
6270         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6271         Probably only temporary. Let's see how things pan out.
6272
6273         * BufferView.C (unlockInset):
6274         * BufferView_pimpl.C (fitCursor):
6275         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6276
6277         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6278         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6279
6280         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6281         new functions that convert ParagraphParameters to and from a string.
6282
6283         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6284         BufferView::Pimpl's dispatch.
6285         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6286
6287 2003-03-13 André Pönitz <poenitz@gmx.net>
6288
6289         * lyxfunc.C:
6290         * text3.C:
6291         * factory.C: make it aware of InsetEnv
6292
6293 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * text2.C (setCursor): never ask for one past last
6296         (setCursor): add some debugging messages.
6297
6298         * text.C (singleWidth): never ask for one past last
6299         (singleWidth): ditto
6300         (leftMargin): ditto
6301         (rightMargin): ditto
6302         (rowBreakPoint): ditto
6303         (setHeightOfRow): ditto
6304         (prepareToPrint): ditto
6305
6306         * rowpainter.C (paintBackground): never ask for one past last
6307         (paintText): never ask for one past last
6308
6309         * paragraph_pimpl.C (getChar): make the assert stricter, never
6310         allow the one past last pos to be taken
6311
6312         * paragraph.C (getChar): ws changes only
6313
6314         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6315         (numberOfSeparators): ditto
6316         (numberOfHfills): ditto
6317
6318 2003-03-12  John Levon  <levon@movementarian.org>
6319
6320         * author.h:
6321         * author.C:
6322         * bufferparams.h:
6323         * bufferparams.C:
6324         * paragraph_funcs.C: fix per-buffer authorlists
6325
6326 2003-03-12  John Levon  <levon@movementarian.org>
6327
6328         * text.C: fix newline in right address
6329
6330 2003-03-12  Angus Leeming  <leeming@lyx.org>
6331
6332         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6333         duplicate those in LyXFunc::dispatch.
6334
6335         * commandtags.h:
6336         * LyXAction.C:
6337         * ToolbarDefaults.C:
6338         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6339         Add LFUN_FONTFREE_UPDATE.
6340
6341         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6342         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6343
6344         * bufferview_func.[Ch]: several new functions to facilliate
6345         transfer of data to and from the character dialog.
6346
6347 2003-03-12  John Levon  <levon@movementarian.org>
6348
6349         * buffer.C:
6350         * paragraph.h:
6351         * paragraph.C:
6352         * paragraph_funcs.C:
6353         * paragraph_pimpl.C:
6354         * sgml.C:
6355         * tabular.C:
6356         * text.C:
6357         * text3.C: remove META_NEWLINE in favour of an inset
6358
6359         * rowpainter.h:
6360         * rowpainter.C: remove paintNewline (done by inset)
6361
6362 2003-03-12  John Levon  <levon@movementarian.org>
6363
6364         * paragraph_pimpl.C: complain about bad getChar()s
6365         for a while at least
6366
6367 2003-03-12  John Levon  <levon@movementarian.org>
6368
6369         * buffer.h:
6370         * buffer.C: move paragraph read into a separate function,
6371         a little renaming to reflect that.
6372
6373         * bufferparams.h:
6374         * bufferparams.C: remove the author_ids map, not necessary now
6375
6376         * factory.h:
6377         * factory.C: moved Buffer::readInset to here
6378
6379         * paragraph_funcs.h:
6380         * paragraph_funcs.C: readParagraph free function moved from
6381         buffer.C
6382
6383         * tabular.C: name change
6384
6385 2003-03-12  John Levon  <levon@movementarian.org>
6386
6387         * buffer.C:
6388         * ParagraphParameters.C: move par params input to
6389         a read() method
6390
6391         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6392         behave like a normal read from the stream wrt reading
6393         a line vs. a \\token
6394
6395 2003-03-12  John Levon  <levon@movementarian.org>
6396
6397         * paragraph.C:
6398         * ParagraphParameters.h:
6399         * ParagraphParameters.C: move output code to a
6400         ::write() method
6401
6402 2003-03-12  John Levon  <levon@movementarian.org>
6403
6404         * BufferView.C (insertLyXFile):
6405         * buffer.h:
6406         * buffer.C:
6407         * tabular.C: use a parlist iterator for creating the
6408           document.
6409
6410 2003-03-12  John Levon  <levon@movementarian.org>
6411
6412         * buffer.C: make current_change static local not
6413           static file-scope
6414
6415 2003-03-12  John Levon  <levon@movementarian.org>
6416
6417         * buffer.C: fix insertStringAsLines for change tracking
6418
6419 2003-03-12  John Levon  <levon@movementarian.org>
6420
6421         * BufferView.C:
6422         * tabular.C:
6423         * buffer.h:
6424         * buffer.C:
6425         * bufferparams.h:
6426         * bufferparams.C: move author list into params. Rename some
6427           functions. Move the header reading into a separate token
6428           loop. Move the header token reading into BufferParams.
6429
6430 2003-03-12  John Levon  <levon@movementarian.org>
6431
6432         * changes.C: put debug inside lyxerr.debugging() checks
6433
6434 2003-03-11 André Pönitz <poenitz@gmx.net>
6435
6436         * factory.C: make it aware of InsetHFill
6437
6438 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6439
6440         * buffer.C (latexParagraphs): move function from here...
6441         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6442         args.
6443
6444 2003-03-10  Angus Leeming  <leeming@lyx.org>
6445
6446         * LyXAction.C (init): fix bug in poplating array with multiple entries
6447         with the same LFUN (spotted by JMarc).
6448
6449 2003-03-10  John Levon  <levon@movementarian.org>
6450
6451         * text.C:
6452         * text2.C: move getColumnNearX() near its
6453         only call site
6454
6455 2003-03-10  John Levon  <levon@movementarian.org>
6456
6457         * text.C: fix break before a minipage
6458
6459 2003-03-10  John Levon  <levon@movementarian.org>
6460
6461         * text.C: fix the last commit
6462
6463 2003-03-09  John Levon  <levon@movementarian.org>
6464
6465         * lyxtext.h:
6466         * text.C:
6467         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6468         bug 365 (don't break before insets unless needed). Don't
6469         return a value > last under any circumstances.
6470
6471 2003-03-09  Angus Leeming  <leeming@lyx.org>
6472
6473         * BufferView_pimpl.C (trackChanges, dispatch): call
6474         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6475
6476 2003-03-09  Angus Leeming  <leeming@lyx.org>
6477
6478         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6479         than Dialogs::showAboutlyx().
6480
6481 2003-03-09  Angus Leeming  <leeming@lyx.org>
6482
6483         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6484         than Dialogs::showTabularCreate().
6485
6486 2003-03-09  John Levon  <levon@movementarian.org>
6487
6488         * lyxtext.h:
6489         * text.C:
6490         * text2.C: 3rd arg to nextBreakPoint was always the same.
6491           Use references.
6492
6493 2003-03-08  John Levon  <levon@movementarian.org>
6494
6495         * lyxrow.C:
6496         * paragraph.C:
6497         * paragraph.h:
6498         * rowpainter.C:
6499         * text.C:
6500         * text2.C: Remove the "main" bit from the "main body"
6501           notion.
6502
6503 2003-03-08  John Levon  <levon@movementarian.org>
6504
6505         * text.C (leftMargin): The left margin of an empty
6506         manual label paragraph should not include the label width
6507         string length.
6508
6509         * text.C (prepareToPrint): don't attempt to measure hfills
6510         for empty manual label paragraphs - the answer should be 0
6511
6512 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6513
6514         * CutAndPaste.C: remove commented code and reindent.
6515
6516 2003-03-08  John Levon  <levon@movementarian.org>
6517
6518         * lyxfunc.h:
6519         * lyxfunc.C: move reloadBuffer()
6520
6521         * BufferView.h:
6522         * BufferView.C: to here
6523
6524         * lyxvc.C: add comment
6525
6526         * vc-backend.h:
6527         * vc-backend.C: call bv->reload() to avoid
6528           getStatus() check on MENURELOAD
6529
6530 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6531
6532         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6533         to an old format .dep file.
6534
6535 2003-03-07  Angus Leeming  <leeming@lyx.org>
6536
6537         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6538         when the LFUN_MOUSE_RELEASE should have been handled by
6539         inset->localDispatch.
6540
6541 2003-03-07  Angus Leeming  <leeming@lyx.org>
6542
6543         * BufferView_pimpl.C (dispatch):
6544         * LyXAction.C (init):
6545         * ToolbarDefaults.C (init):
6546         * commandtags.h:
6547         * lyxfunc.C (getStatus):
6548         remove LFUN_INSET_GRAPHICS.
6549
6550         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6551
6552 2003-03-07  Angus Leeming  <leeming@lyx.org>
6553
6554         * commandtags.h:
6555         * LyXAction.C (init):
6556         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6557
6558         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6559
6560         * commandtags.h:
6561         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6562
6563         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6564         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6565
6566 2003-03-07  Angus Leeming  <leeming@lyx.org>
6567
6568         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6569         remove "ert".
6570
6571 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * ParagraphList.C (front): new function
6574         (back): implement
6575
6576 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6577
6578         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6579         and top_row_offset_. removed var first_y.
6580         * text.C (top_y):
6581         * text2.C (LyXText, removeRow):
6582         * text3.C:
6583         * BufferView_pimpl.C:
6584         use these methods instead of using first_y
6585
6586 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * text2.C (pasteSelection): adjust for checkPastePossible
6589
6590         * CutAndPaste.C: remove Paragraph * buf and replace with
6591         ParagraphList paragraphs.
6592         (DeleteBuffer): delete
6593         (cutSelection): change the tc type to textclass_type
6594         (copySelection): change the tc type to textclass_type
6595         (copySelection): adjust for ParagraphList
6596         (pasteSelection): change the tc type to textclass_type
6597         (pasteSelection): adjust for Paragraphlist
6598         (nrOfParagraphs): simplify for ParagraphList
6599         (checkPastePossible): simplify for ParagraphList
6600         (checkPastePossible): remove unused arg
6601
6602         * ParagraphList.C (insert): handle the case where there are no
6603         paragraphs yet.
6604
6605         * CutAndPaste.h: make CutAndPaste a namespace.
6606
6607         * text3.C (dispatch): adjust
6608
6609         * text.C (breakParagraph): add a ParagraphList as arg
6610
6611         * paragraph_funcs.C (breakParagraph): change to take a
6612         BufferParams and a ParagraphList as args.
6613         (breakParagraphConservative): ditto
6614         (mergeParagraph): ditto
6615         (TeXDeeper): add a ParagraphList arg
6616         (TeXEnvironment): ditto
6617         (TeXOnePar): ditto
6618
6619         * buffer.C (readLyXformat2): adjust
6620         (insertStringAsLines): adjust
6621         (latexParagraphs): adjust
6622
6623         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6624         (cutSelection): adjust
6625         (pasteSelection): adjust
6626
6627         * BufferView_pimpl.C (insertInset): adjust
6628
6629 2003-03-05  Angus Leeming  <leeming@lyx.org>
6630
6631         * commandtags.h:
6632         * LyXAction.C (init):
6633         * BufferView_pimpl.C (dispatch):
6634         * lyxfunc.C (getStatus):
6635         remove LFUN_CHILD_INSERT.
6636
6637         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6638
6639 2003-03-05  Angus Leeming  <leeming@lyx.org>
6640
6641         * commandtags.h:
6642         * LyXAction.C (init):
6643         * src/factory.C (createInset):
6644         * lyxfunc.C (getStatus):
6645         * text3.C (dispatch):
6646         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6647
6648         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6649
6650 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * ParagraphList.C (insert): handle insert right before end()
6653         (erase): fix cases where it can be first or last paragraph.
6654
6655 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6658         Paragraph::next and Paragraph::previous
6659         (TeXOnePar): ditto
6660
6661         * text.C (breakParagraph): adjust
6662
6663         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6664         BufferParams& as arg.
6665         (breakParagraph): use ParagraphList::insert
6666         (breakParagraphConservative): take a Buffer* instead of a
6667         BufferParams& as arg.
6668         (breakParagraphConservative): use ParagraphList::insert.
6669
6670         * buffer.C (insertStringAsLines): un-const it
6671         (insertStringAsLines): adjust
6672
6673         * ParagraphList.C (insert): new function
6674
6675         * CutAndPaste.C (pasteSelection): adjust
6676
6677         * text.C (backspace): adjust
6678
6679         * tabular.C (SetMultiColumn): adjust
6680
6681         * CutAndPaste.C (cutSelection): adjust
6682         (pasteSelection): adjust
6683
6684         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6685         Buffer const * as arg
6686
6687         * ParagraphList.C (erase): new function
6688         * paragraph_funcs.C (mergeParagraph): use it
6689         (mergeParagraph): make it take a Buffer* instead of a
6690         BufferParams* as arg
6691
6692         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6693         as arg
6694         (breakParagraphConservative): ditto
6695
6696         * paragraph.h: remove the breakParagraph friend
6697
6698         * paragraph.C (eraseIntern): new function
6699         (setChange): new function
6700
6701         * paragraph_funcs.C (mergeParagraph): make it take a
6702         ParagraphList::iterator instead of a Paragraph *, adjust
6703         accordingly.
6704
6705         * paragraph.h: move an #endif so that the change tracking stuff
6706         also works in the NO_NEXT case.
6707
6708 2003-03-04  Angus Leeming  <leeming@lyx.org>
6709
6710         * commandtags.h:
6711         * LyXAction.C: new LFUN_INSET_MODIFY.
6712
6713         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6714         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6715
6716 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * several files: ws changes only
6719
6720         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6721         (TeXEnvironment): ditto
6722         (TeXDeeper): ditto
6723
6724         * buffer.C (makeLaTeXFile): adjust
6725         (latexParagraphs): make it take ParagraphList::iterator as args
6726
6727 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * buffer.C (latexParagraphs): adjust
6730
6731         * paragraph.C (TeXOnePar): move function...
6732         (optArgInset): move function...
6733         (TeXEnvironment): move function...
6734         * paragraph_pimpl.C (TeXDeeper): move function...
6735         * paragraph_funcs.C: ...here
6736
6737         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6738
6739 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * buffer.C (readInset): remove compability code for old Figure and
6742         InsetInfo insets
6743
6744 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6745
6746         * buffer.C: ws changes
6747         (readInset):
6748
6749         * BufferView_pimpl.C: ditto
6750         * author.C: ditto
6751         * buffer.h: ditto
6752         * bufferlist.h: ditto
6753         * changes.h: ditto
6754         * lyxfunc.C: ditto
6755
6756 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6757
6758         * converter.[Ch]: split into itself +
6759         * graph.[Ch]
6760         * format.[Ch]
6761         * Makefile.am: += graph.[Ch] + format.[Ch]
6762         * MenuBackend.C
6763         * buffer.C
6764         * exporter.C
6765         * importer.C
6766         * lyx_main.C
6767         * lyxfunc.C
6768         * lyxrc.C: added #include "format.h"
6769
6770 2003-02-27  Angus Leeming  <leeming@lyx.org>
6771
6772         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6773           a label.
6774
6775         * factory.C (createInset): add "label" to the factory.
6776
6777         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6778           string and do no more.
6779
6780 2003-02-27  Angus Leeming  <leeming@lyx.org>
6781
6782         * commandtags.h:
6783         * LyXAction.C (init):
6784         * factory.C (createInset):
6785         * BufferView_pimpl.C (dispatch):
6786           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6787
6788         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6789
6790         * lyxfunc.C (dispatch):
6791         * text3.C (dispatch): pass name to params2string.
6792
6793 2003-02-26  Angus Leeming  <leeming@lyx.org>
6794
6795         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6796           blocks together.
6797           Rearrange the ~includes. Strip out the unnecessary ones.
6798
6799         * factory.C (createInset): reformat.
6800           create new insets for the various LFUN_XYZ_APPLY lfuns.
6801
6802 2003-02-26  John Levon  <levon@movementarian.org>
6803
6804         * lyxrow.h:
6805         * lyxrow.C: add isParStart,isParEnd helpers
6806
6807         * paragraph.h: make isInserted/DeletedText take refs
6808
6809         * paragraph_funcs.h:
6810         * paragraph_funcs.C: remove #if 0'd code
6811
6812         * lyxtext.h:
6813         * text3.C:
6814         * text2.C:
6815         * text.C: use lyxrow helpers above.
6816           Move draw and paint routines to RowPainter.
6817           Make several methods use refs not pointers.
6818           Make backgroundColor() const.
6819           Add markChangeInDraw(), isInInset().
6820           Merge changeRegionCase into changeCase.
6821           Make workWidth() shouldn't-happen code into an Assert.
6822
6823         * rowpainter.h:
6824         * rowpainter.C: new class for painting a row.
6825
6826         * vspace.h:
6827         * vspace.C: make inPixels take a ref
6828
6829 2003-02-26  Angus Leeming  <leeming@lyx.org>
6830
6831         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6832         LFUN_REF_APPLY.
6833
6834 2003-02-25  John Levon  <levon@movementarian.org>
6835
6836         * ispell.C: give the forked command a more accurate name
6837
6838 2003-02-22  John Levon  <levon@movementarian.org>
6839
6840         * toc.h:
6841         * toc.C: make TocItem store an id not a Paragraph *
6842           (bug #913)
6843
6844 2003-02-21  Angus Leeming  <leeming@lyx.org>
6845
6846         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6847           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6848           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6849           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6850           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6851           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6852
6853         * BufferView_pimpl.C (dispatch):
6854         * LyXAction.C (init):
6855         * factory.C (createInset):
6856         * lyxfunc.C (getStatus, dispatch):
6857         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6858
6859 2003-02-21  Angus Leeming  <leeming@lyx.org>
6860
6861         * BufferView_pimpl.C (MenuInsertLyXFile):
6862         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6863         * lyxfunc.C (menuNew, open, doImport):
6864           no longer pass a LyXView & to fileDlg.
6865
6866 2003-02-21  Angus Leeming  <leeming@lyx.org>
6867
6868         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6869         * LyXAction.C: change, BIBKEY to BIBITEM.
6870         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6871         Change InsetBibKey to InsetBibitem.
6872         Change BIBKEY_CODE to BIBITEM_CODE.
6873         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6874         * factory.C: replace insetbib.h with insetbibitem.h.
6875         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6876         * paragraph.C: replace insetbib.h with insetbibitem.h.
6877         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6878         Change bibkey() to bibitem().
6879         * text.C: remove insetbib.h.
6880         * text2.C: replace insetbib.h with insetbibitem.h.
6881         change bibkey() to bibitem().
6882         * text3.C: remove insetbib.h.
6883         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6884
6885 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6886
6887         * lyxrc.C (output): enclose user email in quotes (in case there are
6888         several words)
6889
6890 2003-02-18  John Levon  <levon@movementarian.org>
6891
6892         * buffer.h: add std::
6893
6894 2003-02-17  John Levon  <levon@movementarian.org>
6895
6896         * SpellBase.h:
6897         * ispell.h:
6898         * ispell.C:
6899         * pspell.h:
6900         * pspell.C: reworking. Especially in ispell, a large
6901           number of clean ups and bug fixes.
6902
6903         * lyxfunc.C: fix revert to behave sensibly
6904
6905 2003-02-17 André Pönitz <poenitz@gmx.net>
6906
6907         * LyXAction.C:
6908         * commandtags.h: new LFUN_INSERT_BIBKEY
6909
6910         * layout.h:
6911         * lyxlayout.C:
6912         * buffer.C:
6913         * factory.C:
6914         * text.C:
6915         * text2.C:
6916         * text3.C:
6917         * paragraph.[Ch]:
6918         * paragraph_func.C: remove special bibkey handling
6919
6920 2003-02-17  John Levon  <levon@movementarian.org>
6921
6922         * text.C (Delete): fix case where delete at the end of
6923           the very first paragraph would not merge the pars
6924
6925 2003-02-17  John Levon  <levon@movementarian.org>
6926
6927         * lyxrow.C: fix lastPrintablePos()
6928
6929 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6930
6931         * bufferparams.C (writeLaTeX): add a std:here
6932
6933         * buffer.C: and remove a using directive there
6934
6935 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6936
6937         * buffer.C (makeLaTeXFile): move the code that generates the
6938           preamble...
6939
6940         * bufferparams.C (writeLaTeX): ... in this new method
6941
6942         * LaTeXFeatures.C (getEncodingSet): make const
6943           (getLanguages): make const
6944
6945         * MenuBackend.C (binding): returns the binding associated to this
6946           action
6947           (add): sets the status of each item by calling getStatus. Adds
6948           some intelligence.
6949           (read): add support for OptSubMenu
6950           (expand): remove extra separator at the end of expanded menu
6951
6952 2003-02-15  John Levon  <levon@movementarian.org>
6953
6954         * BufferView.C:
6955         * BufferView_pimpl.C:
6956         * bufferlist.h:
6957         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6958           inset code that had no actual effect. Remove unneeded status
6959           code.
6960
6961 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6962
6963         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6964           in preamble
6965
6966 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6967
6968         * text.C (drawLengthMarker): also draw an arrow marker for
6969           symbolic lengths (medskip...)
6970
6971 2003-02-14  John Levon  <levon@movementarian.org>
6972
6973         * tabular.h:
6974         * tabular.C: better method names
6975
6976 2003-02-14  John Levon  <levon@movementarian.org>
6977
6978         * BufferView_pimpl.C:
6979         * bufferlist.C:
6980         * buffer.C:
6981         * converter.C:
6982         * lyx_cb.C:
6983         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6984           it's a more accurate name. Remove some pointless uses.
6985
6986 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6987
6988         * text2.C (LyXText): change order of initilizers to shut off
6989           warnings
6990
6991 2003-02-14  John Levon  <levon@movementarian.org>
6992
6993         * buffer.C: use ParIterator for getParFromID()
6994
6995         * paragraph.h:
6996         * paragraph.C:
6997         * paragraph_pimpl.h:
6998         * paragraph_pimpl.C: remove unused getParFromID()
6999
7000 2003-02-14  John Levon  <levon@movementarian.org>
7001
7002         * buffer.C: remove some very old #if 0'd parse code
7003
7004 2003-02-13  John Levon  <levon@movementarian.org>
7005
7006         * text.h:
7007         * text.C:
7008         * text2.C: move hfillExpansion(), numberOfSeparators(),
7009           rowLast(), rowLastPrintable(), numberofHfills(),
7010           numberOfLabelHfills() ...
7011
7012         * lyxrow.h:
7013         * lyxrow.C: ... to member functions here.
7014
7015         * paragraph.h:
7016         * paragraph.C:
7017         * lyxtext.h:
7018         * text.C: remove LyXText::beginningOfMainBody(), and call
7019           p->beginningOfMainBody() directly. Move the check for
7020           LABEL_MANUAL into the latter.
7021
7022         * text.h:
7023         * text.C:
7024         * text2.C:
7025         * vspace.C:
7026         * BufferView.h:
7027         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7028
7029         * text.h:
7030         * text.C:
7031         * text2.C:
7032         * text3.C:
7033         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7034           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7035
7036 2003-02-13  John Levon  <levon@movementarian.org>
7037
7038         * CutAndPaste.C: remove debug
7039
7040 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7041
7042         * paragraph.C (asString): remove two unused variables
7043
7044         * lyxtextclass.C (readTitleType):
7045           (Read):
7046           (LyXTextClass): handle new members titletype_ and titlename_
7047
7048         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7049
7050 2003-02-09  John Levon  <levon@movementarian.org>
7051
7052         * buffer.h:
7053         * buffer.C: replace hand-coded list with a map for the dep clean
7054
7055 2003-02-08  John Levon  <levon@movementarian.org>
7056
7057         * LaTeX.C: consolidate code into showRunMessage() helper
7058
7059 2003-02-08  John Levon  <levon@movementarian.org>
7060
7061         * lyxfind.C:
7062         * lyxtext.h:
7063         * text2.C:
7064         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7065           and pass the size in explicitly
7066
7067         * BufferView_pimpl.h:
7068         * BufferView_pimpl.C:
7069         * BufferView.h:
7070         * BufferView.C: add getCurrentChange()
7071
7072         * BufferView_pimpl.h:
7073         * BufferView_pimpl.C: handle change lfuns
7074
7075         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7076           for changes. Mark pasted paragraphs as new.
7077
7078         * support/lyxtime.h:
7079         * support/lyxtime.C:
7080         * DepTable.C: abstract time_t as lyx::time_type
7081
7082         * LColor.h:
7083         * LColor.C: add colours for new text, deleted text, changebars
7084
7085         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7086           package use "usenames" option.
7087
7088         * commandtags.h:
7089         * lyxfunc.C:
7090         * LyXAction.C: add change lfuns
7091
7092         * Makefile.am:
7093         * author.h:
7094         * author.C: author handling
7095
7096         * buffer.h:
7097         * buffer.C: add a per-buffer author list, with first entry as
7098           current author. Handle new .lyx tokens for change tracking. Output
7099           author list to .lyx file. Output dvipost stuff to .tex preamble.
7100           Bump lyx format to 222.
7101
7102         * bufferlist.h:
7103         * bufferlist.C: add setCurrentAuthor() to reset current author details
7104           in all buffers.
7105
7106         * bufferparams.h:
7107         * bufferparams.C: add param for tracking
7108
7109         * bufferview_funcs.C: output change info in minibuffer
7110
7111         * Makefile.am:
7112         * changes.h:
7113         * changes.C: add change-tracking structure
7114
7115         * debug.h:
7116         * debug.C: add CHANGES debug flag
7117
7118         * lyxfind.h:
7119         * lyxfind.C: add code for finding the next change piece
7120
7121         * lyxrc.h:
7122         * lyxrc.C: add user_name and user_email
7123
7124         * lyxrow.h:
7125         * lyxrow.C: add a metric for the top of the text line
7126
7127         * lyxtext.h:
7128         * text.C: implement accept/rejectChange()
7129
7130         * lyxtext.h:
7131         * text.C: paint changebars. Paint new/deleted text in the chosen
7132         colours. Strike through deleted text.
7133
7134         * paragraph.h:
7135         * paragraph.C:
7136         * paragraph_pimpl.h:
7137         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7138           in the current change to the insert functions. Rework erase to
7139           mark text as deleted, adding an eraseIntern() and a range-based
7140           erase(). Implement per-paragraph change lookup and
7141           accept/reject.
7142
7143         * paragraph_funcs.C: Fixup paste for change tracking.
7144
7145         * tabular.C: mark added row/columns as new.
7146
7147         * text.C: fix rowLast() to never return -1. Don't allow
7148           spellchecking of deleted text. Track transpose changes. Don't
7149           allow paragraph break or merge where appropriate.
7150
7151         * text2.C: leave cursor at end of selection after a cut.
7152
7153 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7154
7155         * text.C (getLengthMarkerHeight):
7156         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7157         visible on screen too.
7158
7159 2003-02-07  John Levon  <levon@movementarian.org>
7160
7161         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7162
7163 2003-02-05  Angus Leeming  <leeming@lyx.org>
7164
7165         * lyxserver.C (read_ready): revert my patch of 11 September last year
7166         as it sends PC cpu through the roof. Presumably this means that
7167         the lyxserver will no longer run on an Alpha...
7168
7169 2003-01-30  Angus Leeming  <leeming@lyx.org>
7170
7171         * factory.C (createInset): create an InsetCommandParam of type "index"
7172         and use it to 'do the right thing'.
7173
7174         * text2.C (getStringToIndex): ensure that cursor position is always
7175         reset to the reset_cursor position.
7176
7177 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7178
7179         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7180         disabled.
7181
7182 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7183
7184         * bufferview.C:
7185         * lyxcb.C:
7186         * lyxfunc.C: Output messages with identical spelling, punctuation,
7187         and spaces
7188
7189 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7190
7191         * MenuBackend.C (expandFormats): List only viewable export formats
7192         in "View" menu
7193
7194         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7195         message
7196
7197         * lyxfunc.C (getStatus): Make sure that formats other than
7198         "fax" can also be disabled
7199
7200 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7201
7202         * text3.C (dispatch): put the lfuns that insert insets in 3
7203         groups, and call doInsertInset with appropriate arguments.
7204         (doInsertInset): new function, that creates an inset and inserts
7205         it according to some boolean parameters.
7206
7207 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7208
7209         * buffer.C (readFile): remember to pass on 'par' when calling
7210         readFile recursively.
7211
7212 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7213
7214         * MenuBackend.C (expandFormats): add "..." to import formats.
7215
7216 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7217
7218         * paragraph.C (asString): Remove XForms RTL hacks.
7219
7220 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7221         * buffer.C: fix typo
7222
7223 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * Makefile.am (LIBS): delete var
7226         (lyx_LDADD): add @LIBS@ here instead.
7227
7228 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7229
7230         * Clarify the meaning of "wheel mouse jump"
7231
7232 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7233
7234         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7235         tabular in a float
7236
7237 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7238
7239         * importer.C (Loaders): do not preallocate 3 elements in the
7240         vector, since one ends up with 6 elements otherwise
7241
7242 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7243
7244         * DepTable.C (write): write the file name as last element of the
7245         .dep file (because it may contain spaces)
7246         (read): read info in the right order
7247
7248 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7249
7250         * paragraph_pimpl.C (simpleTeXBlanks):
7251         (simpleTeXSpecialChars):
7252         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7253
7254         * tabular.C (latex): add some missing case statements. Reindent.
7255
7256         * MenuBackend.C (expandToc): remove unused variable.
7257
7258 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7259
7260         * LColor.C:
7261         * LaTeX.C:
7262         * LyXAction.C:
7263         * MenuBackend.C:
7264         * buffer.C:
7265         * exporter.C:
7266         * lyxfunc.C:
7267         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7268         and the like.
7269
7270 2003-01-05  John Levon  <levon@movementarian.org>
7271
7272         * BufferView.h:
7273         * BufferView.C: add getEncoding()
7274
7275         * kbsequence.h:
7276         * kbsequence.C: do not store last keypress
7277
7278         * lyxfunc.h:
7279         * lyxfunc.C: store last keypress here instead. Pass encoding
7280           to getISOEncoded()
7281
7282 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7283
7284         * lyx_main.C (init): remove annoying error message when following
7285         symbolic links (bug #780)
7286
7287 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7288
7289         * text.C (insertChar):
7290         * lyxrc.C (getDescription): remove extra spaces
7291
7292 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7293
7294         * lyxrc.C (getDescription): remove extra spaces
7295
7296 2002-12-20  John Levon  <levon@movementarian.org>
7297
7298         * text3.C: hack fix for page up/down across tall rows
7299
7300 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7301
7302         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7303         not been invoked
7304
7305 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7306
7307         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7308         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7309         thesaurus is not compiled in
7310
7311 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7312
7313         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7314
7315 2002-12-16  Angus Leeming  <leeming@lyx.org>
7316
7317         * lyxrc.[Ch]:
7318         * lyx_main.C (init): remove override_x_deadkeys stuff.
7319
7320 2002-12-12  John Levon  <levon@movementarian.org>
7321
7322         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7323           insert. Only remove shift modifier under strict
7324           circumstances.
7325
7326 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7327
7328         * MenuBackend.C (expandToc): fix crash.
7329
7330 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7331
7332         * MenuBackend.C (expandToc): gettext on float names.
7333
7334 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7335
7336         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7337         implement bool empty() [bug 490]
7338
7339 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7342
7343 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7344
7345         * several files: ws changes
7346
7347 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * text2.C (setCounter): clean up a bit, use boost.format.
7350         (updateCounters): initialize par upon declaration.
7351
7352         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7353         if the layout exists. We do not just store the layout any more.
7354         (SwitchLayoutsBetweenClasses): use boost.format
7355
7356 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7357
7358         * converter.C (convert): if from and to files are the same, use a
7359         temporary files as intermediary
7360
7361 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7362
7363         * commandtags.h:
7364         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7365
7366 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7367
7368         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7369
7370 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * tabular.C (asciiPrintCell): use string(size, char) instead of
7373         explicit loop.
7374
7375         * sgml.C (openTag): fix order of arguments to string constructor
7376         (closeTag): ditto
7377
7378         * lyxfunc.C (dispatch): use boost.format
7379
7380         * lots of files: change "c" -> 'c'
7381
7382 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7383
7384         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7385
7386 2002-11-25  Angus Leeming  <leeming@lyx.org>
7387
7388         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7389
7390         * lyx_main.C (init): compile fix.
7391
7392 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7393
7394         * lyx_cb.C (start): boost.formatify
7395         do not include <iostream>
7396
7397         * lengthcommon.C: ws only
7398
7399         * boost-inst.C,BoostFormat.h: add more explict instantations
7400
7401 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * lots of files: handle USE_BOOST_FORMAT
7404
7405 2002-11-21  John Levon  <levon@movementarian.org>
7406
7407         * pspell.C: fix compile
7408
7409 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7410
7411         * lyxfunc.C (dispatch): use boost::format
7412         (open): ditto
7413         (doImport): ditto
7414
7415         * lyxfont.C (stateText): use boost::format
7416
7417         * lyx_main.C (LyX): use boost::format
7418         (init): ditto
7419         (queryUserLyXDir): ditto
7420         (readRcFile): ditto
7421         (parse_dbg): ditto
7422         (typedef boost::function): use the recommened syntax.
7423
7424         * importer.C (Import): use boost::format
7425
7426         * debug.C (showLevel): use boost::format
7427
7428         * converter.C (view): use boost::format
7429         (convert): ditto
7430         (move): ditto
7431         (scanLog): ditto
7432
7433         * bufferview_funcs.C (currentState): use boost::format
7434
7435         * bufferlist.C (emergencyWrite): use boost::format
7436
7437         * buffer.C (readLyXformat2): use boost::format
7438         (parseSingleLyXformat2Token): ditto
7439
7440         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7441
7442         * LaTeX.C (run): use boost::format
7443
7444         * Chktex.C (scanLogFile): use boost::format
7445
7446         * BufferView_pimpl.C (savePosition): use boost::format
7447         (restorePosition): ditto
7448         (MenuInsertLyXFile): ditto
7449
7450         * BoostFormat.h: help file for explicit instation.
7451
7452 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7453
7454         * tabular.C (latex): Support for block alignment in fixed width
7455         columns.
7456
7457 2002-11-17  John Levon  <levon@movementarian.org>
7458
7459         * BufferView_pimpl.C:
7460         * lyx_cb.C:
7461         * lyxfunc.C: split filedialog into open/save
7462
7463 2002-11-08  Juergen Vigna  <jug@sad.it>
7464
7465         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7466         by my last patch (hopefully).
7467
7468 2002-11-08  John Levon  <levon@movementarian.org>
7469
7470         * iterators.h:
7471         * iterators.C:
7472         * buffer.h:
7473         * buffer.C:
7474         * paragraph.h:
7475         * paragraph.C:
7476         * toc.h:
7477         * toc.C: ParConstIterator, and use it (from Lars)
7478
7479 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7480
7481         * lyxtextclass.[Ch]: revise and add doxygen comments
7482
7483 2002-11-07  John Levon  <levon@movementarian.org>
7484
7485         * text.C: fix progress value for spellchecker
7486
7487         * toc.C: fix navigate menu for insetwrap inside minipage
7488
7489         * paragraph_funcs.C: added FIXME for suspect code
7490
7491 2002-11-07  John Levon  <levon@movementarian.org>
7492
7493         * BufferView_pimpl.C: fix redrawing of insets
7494           on buffer switch
7495
7496 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7497
7498         * text2.C (updateCounters): fix bug 668
7499
7500 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7501
7502         * text3.C (dispatch): Do not make the buffer dirty when moving the
7503         cursor.
7504
7505 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * vc-backend.C: STRCONV
7508         (scanMaster): ditto
7509
7510         * text2.C (setCounter): STRCONV
7511
7512         * paragraph.C (asString): STRCONV
7513
7514         * lyxlength.C (asString): STRCONV
7515         (asLatexString): ditto
7516
7517         * lyxgluelength.C (asString): STRCONV
7518         (asLatexString): ditto
7519
7520         * lyxfunc.C (dispatch): STRCONV
7521         (open): ditto
7522
7523         * lyxfont.C (stateText): STRCONV
7524
7525         * importer.C (Import): STRCONV
7526
7527         * counters.C (labelItem): STRCONV
7528         (numberLabel): ditto
7529         (numberLabel): remove unused ostringstream o
7530
7531         * chset.C: STRCONV
7532         (loadFile): ditto
7533
7534         * bufferview_funcs.C (currentState): STRCONV
7535
7536         * buffer.C (readFile): STRCONV
7537         (asciiParagraph): ditto
7538         (makeLaTeXFile): ditto
7539
7540         * Spacing.C (writeEnvirBegin): STRCONV
7541
7542         * LaTeXFeatures.C (getLanguages): STRCONV
7543         (getPackages): ditto
7544         (getMacros): ditto
7545         (getBabelOptions): ditto
7546         (getTClassPreamble): ditto
7547         (getLyXSGMLEntities): ditto
7548         (getIncludedFiles): ditto
7549
7550         * LaTeX.C: STRCONV
7551         (run): ditto
7552         (scanAuxFile): ditto
7553         (deplog): ditto
7554
7555         * LString.h: add the STRCONV macros
7556
7557         * BufferView_pimpl.C (savePosition): STRCONV
7558         (restorePosition): ditto
7559         (MenuInsertLyXFile): ditto
7560
7561         * vc-backend.C (scanMaster): change from submatch[...] to
7562         submatch.str(...)
7563
7564         * funcrequest.C: include config.h
7565
7566         * factory.C: include config.h
7567
7568         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7569
7570         * box.C: include config.h
7571
7572         * LaTeX.C (scanAuxFile): change from submatch[...] to
7573         submatch.str(...)
7574         (deplog): ditto
7575
7576 2002-10-25  Angus Leeming  <leeming@lyx.org>
7577
7578         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7579
7580         * ispell.[Ch] (setError): new method.
7581         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7582         Use setError() insetead of goto END.
7583
7584         * lyx_cb.C (AutoSave): move out child process into new class
7585         AutoSaveBuffer.
7586
7587 2002-10-30  John Levon  <levon@movementarian.org>
7588
7589         * text3.C: make start appendix undoable
7590
7591 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7592
7593         * lyxlength.C (inPixels): Fix returned value.
7594
7595         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7596         environment.
7597
7598 2002-10-24  Angus Leeming  <leeming@lyx.org>
7599
7600         * lyxgluelength.h: no need to forward declare BufferParams
7601         or BufferView, so don't.
7602
7603 2002-10-21  John Levon  <levon@movementarian.org>
7604
7605         * BufferView.C: menuUndo ->undo, redo
7606
7607         * BufferView.h: document, remove dead, make some methods private
7608
7609         * paragraph_funcs.h:
7610         * paragraph_funcs.C:
7611         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7612
7613         * buffer.h:
7614         * buffer.C:
7615         * sgml.h:
7616         * sgml.C: move sgml open/close tag into sgml.C
7617
7618         * bufferview_funcs.h: unused prototype
7619
7620         * lyxfunc.h:
7621         * lyxfunc.C: remove unused
7622
7623         * lyxtext.h:
7624         * text.C: remove unused
7625
7626 2002-10-21  John Levon  <levon@movementarian.org>
7627
7628         * BufferView.h:
7629         * BufferView.C:
7630         * BufferView_pimpl.h:
7631         * BufferView_pimpl.C: fix mouse wheel handling based on
7632           patch from Darren Freeman
7633
7634 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7635
7636         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7637
7638 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7639
7640         * lyxlength.C (inPixels): Fix hanfling of negative length.
7641         Fix LyXLength::MU case.
7642
7643 2002-10-16  John Levon  <levon@movementarian.org>
7644
7645         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7646
7647 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7648
7649         * converter.C (view): add support for $$i (file name) and $$p
7650         (file path) for the viewer command. If $$i is not specified, then
7651         it is appended to the command (for compatibility with old syntax)
7652
7653 2002-10-14  Juergen Vigna  <jug@sad.it>
7654
7655         * undo_funcs.C (textHandleUndo): alter the order in which the
7656         new undopar is added to the LyXText, as we have to set first
7657         the right prev/next and then add it as otherwise the rebuild of
7658         LyXText is not correct. Also reset the cursor to the right paragraph,
7659         with this IMO we could remove the hack in "redoParagraphs()".
7660
7661 2002-10-09  Angus Leeming  <leeming@lyx.org>
7662
7663         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7664         to turn off an optimisation if a new inset is to be inserted.
7665
7666 2002-10-11 André Pönitz <poenitz@gmx.net>
7667
7668         * lyxtext.h: make some functions public to allow access
7669         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7670
7671 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7672
7673         * text3.C (dispatch): when changing layout, avoid an infinite loop
7674         [bug #652]
7675
7676 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7677
7678         * lyxrc.C (read): treat a viewer or converter command of "none" as
7679         if it were empty.
7680
7681         * MenuBackend.C (expandFormats): for an update, also allow the
7682         formats that are not viewable
7683
7684         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7685         script if it is newer than the lyxrc.defaults in user directory
7686
7687 2002-10-07 André Pönitz <poenitz@gmx.net>
7688
7689         * text.C: Vitaly Lipatov's small i18n fix
7690
7691 2002-09-25  Angus Leeming  <leeming@lyx.org>
7692
7693         * ispell.h: doxygen fix.
7694
7695 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7696
7697         * buffer.h (readFile): Add a new argument to the method, to allow
7698         reading of old-format templates.
7699
7700 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7701
7702         * toc.C (getTocList): Get TOC from InsetWrap.
7703
7704 2002-09-16  John Levon  <levon@movementarian.org>
7705
7706         * lyxfunc.C: check tabular for cut/copy too
7707
7708 2002-09-12  John Levon  <levon@movementarian.org>
7709
7710         * LyXAction.C: tidy
7711
7712         * factory.h:
7713         * factory.C: add header
7714
7715         * paragraph_funcs.h:
7716         * paragraph_funcs.C: cleanup
7717
7718 2002-09-11  John Levon  <levon@movementarian.org>
7719
7720         * PrinterParams.h: odd/even default to true
7721
7722 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7723
7724         * PrinterParams.h: update printer parameters for new xforms dialog
7725
7726 2002-09-11  Angus Leeming  <leeming@lyx.org>
7727
7728         * lyxserver.C (read_ready): re-write to make it more transparent
7729         and to make it work in coherent fashion under Tru64 Unix.
7730
7731 2002-09-11  André Pönitz <poenitz@gmx.net>
7732
7733         * commandtags.h:
7734         * LyXAction.C:
7735         * text3.C: implement LFUN_WORDSEL
7736
7737 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7740         make floatlist_ a boost::shared_ptr<FloatList>
7741
7742         * lyxtextclass.C: include FloatList.h
7743         (LyXTextClass): initialize floatlist_
7744         (TextClassTags): add TC_NOFLOAT
7745         (Read): match "nofloat" to TC_NOFLOAT and use it.
7746         (readFloat): modify call to floatlist_
7747         (floats): ditto
7748         (floats): ditto
7749
7750         * FloatList.[Ch] (FloatList): remove commented out float
7751         initialization.
7752         (erase): new function
7753
7754 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7755
7756         * MenuBackend.C (expandToc): fix crash when there is no document
7757         open
7758
7759 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7760
7761         * many files: Add insetwrap.
7762
7763 2002-09-09  John Levon  <levon@movementarian.org>
7764
7765         * text2.C: remove confusing and awkward depth wraparound
7766
7767 2002-09-09  John Levon  <levon@movementarian.org>
7768
7769         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7770
7771         * buffer.h:
7772         * buffer.C: remove getIncludeonlyList()
7773
7774         * paragraph.C:
7775         * lyxfunc.C: remove headers
7776
7777 2002-09-09  Juergen Vigna  <jug@sad.it>
7778
7779         * text.C (getColumnNearX): fix form Michael this is most
7780         probably a cut&paste bug.
7781
7782 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7783
7784         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7785
7786         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7787         references, ws changes.
7788
7789         * text2.C (init): update counters after init
7790         (insertParagraph): no need to set counter on idividual paragraphs.
7791         (setCounter): access the counters object in the textclass object
7792         on in the buffer object.
7793         (updateCounters): ditto
7794
7795         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7796         shared_ptr<Counters> to avoid loading counters.h in all
7797         compilation units.
7798         (LyXTextClass): initialize ctrs_
7799         (TextClassTags): add TC_COUNTER, and ...
7800         (Read): use it here.
7801         (CounterTags): new tags
7802         (readCounter): new function
7803         (counters): new funtion
7804         (defaultLayoutName): return a const reference
7805
7806         * counters.C (Counters): remove contructor
7807         (newCounter): remove a couple of unneeded statements.
7808         (newCounter): simplify a bit.
7809         (numberLabel): some small formatting changes.
7810
7811         * buffer.[Ch]: remove all traces of counters, move the Counters
7812         object to the LyXTextClass.
7813
7814 2002-09-06  Alain Castera  <castera@in2p3.fr>
7815
7816         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7817         package to set the horizontal alignment on fixed width columns.
7818
7819         * lyx_sty.C:
7820         * lyx_sty.h: added tabularnewline macro def.
7821
7822         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7823
7824 2002-09-06  John Levon  <levon@movementarian.org>
7825
7826         * LyXAction.C: tooltips for sub/superscript
7827
7828         * MenuBackend.C: a bit more verbose
7829
7830         * lyxfunc.C: tiny clean
7831
7832         * undo_funcs.C: document undo_frozen
7833
7834 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * counters.C (Counters): add missing algorithm counter.
7837
7838         * text2.C (setCounter): lookup the counter with layouts latexname
7839         instead of by section number.
7840         (setCounter): use a hackish way to lookup the correct enum
7841         counter.
7842         a float name->type change
7843         reset enum couners with counter name directly instead of depth value.
7844
7845         * counters.C (Counters): remove the push_backs, change to use the
7846         float type not the float name.
7847         (labelItem): remove unused string, float name->type change
7848
7849         * counters.h: don't include vector, loose the enums and sects vectors
7850
7851 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7854         (Read): add float->TC_FLOAT to textclassTags
7855         (Read): and handle it in the switch
7856         (readFloat): new function
7857
7858         * FloatList.C (FloatList): comment out the hardcoded float
7859         definitions.
7860
7861         * lyxlayout.h: ws change.
7862
7863 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7864
7865         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7866
7867 2002-09-03  Angus Leeming  <leeming@lyx.org>
7868
7869         * BufferView_pimpl.h: qualified name is not allowed in member
7870         declaration: WorkArea & Pimpl::workarea() const;
7871
7872         * factory.C: added using std::endl directive.
7873
7874         * text3.C: added using std::find and std::vector directives.
7875
7876 2002-08-29  André Pönitz <poenitz@gmx.net>
7877
7878         * lyxtext.h:
7879         * text2.C: remove unused member number_of_rows
7880
7881         * Makefile.am:
7882         * BufferView2.C: remove file, move contents to...
7883         * BufferView.C: ... here
7884
7885         * BufferView_pimpl.C:
7886         * factory.C: move more inset creation to factory
7887
7888         * vspace.C: avoid direct usage of LyXText, ws changes
7889
7890         * BufferView.[Ch]:
7891                 don't provide direct access to WorkArea, use two simple
7892                 acessors haveSelction() and workHeight() instead
7893
7894
7895 2002-08-29  John Levon  <levon@movementarian.org>
7896
7897         * BufferView_pimpl.C (dispatch): do not continue when
7898           no buffer
7899
7900 2002-08-28  André Pönitz <poenitz@gmx.net>
7901
7902         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7903
7904         * BufferView.h:
7905         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7906
7907 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7908
7909         * buffer.C: increment LYX_FORMAT to 221
7910
7911         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7912         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7913
7914         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7915
7916         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7917
7918 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7919
7920         * factory.C (createInset): use LyXTextClass::floats
7921
7922         * MenuBackend.C (expandFloatListInsert):
7923         (expandFloatInsert):
7924         (expandToc):
7925
7926         * text2.C (setCounter):
7927
7928         * LaTeXFeatures.C (useFloat):
7929         (getFloatDefinitions):
7930
7931         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7932
7933         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7934         floatlist_, with accessor floats().
7935
7936         * FloatList.h: remove global FloatList
7937
7938 2002-08-26  André Pönitz <poenitz@gmx.net>
7939
7940         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7941
7942         * BufferView.h:
7943         * BufferView2.C:
7944         * BufferView_pimpl.C:
7945         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7946
7947 2002-08-25  John Levon  <levon@movementarian.org>
7948
7949         * LyXAction.C: fix margin note description
7950
7951 2002-08-24  John Levon  <levon@movementarian.org>
7952
7953         * buffer.C:
7954         * bufferlist.C:
7955         * bufferview_funcs.C:
7956         * lyxfont.C:
7957         * undo_funcs.C: cleanups
7958
7959         * lyxfunc.C: disable CUT/COPY when no selection
7960
7961 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7962
7963         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7964         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7965
7966         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7967         Add backward compatibility to "mono", "gray" and "no".
7968
7969 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7970
7971         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7972         (and file_format >= 200).
7973
7974 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7975
7976         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7977
7978 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7979
7980         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7981
7982 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7983
7984         * BufferView_pimpl.C:
7985         * LyXAction.C:
7986         * buffer.C:
7987         * commandtags.h:
7988         * lyxfunc.C:
7989         * paragraph.[Ch]:
7990         * text2.C:
7991         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7992         inset and code to make it  work with the paragraph code. The inset
7993         can be anywhere in the paragraph, but will only do the expected
7994         thing in LaTeX if the layout file contains the parameter line
7995                         OptionalArgs    1
7996         (or more generally, a nonzero value) for that layout.
7997
7998 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * paragraph.h: remove the declaration of undefined counters class
8001         function.
8002
8003 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8004
8005         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8006         Dr. Richard Hawkins.
8007
8008 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8009
8010         * paragraph_funcs.h: remove some unneeded includes
8011
8012         * text.C (backspace): pasteParagraph now in global scipe
8013
8014         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8015         (pasteSelection): ditto
8016
8017         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8018         * paragraph_funcs.C (pasteParagraph): ... here
8019
8020 2002-08-20  André Pönitz <poenitz@gmx.net>
8021
8022         * commandtags.h: new LFUNs for swapping/copying table row/colums
8023
8024         * LyXAction.C:
8025         * lyxfunc.C: support for new lfuns
8026
8027 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8028
8029         * tabular.C:
8030         * buffer.[Ch]: remove NO_COMPABILITY stuff
8031
8032 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8033
8034         * boost.C (throw_exception): new file, with helper function for
8035         boost compiled without exceptions.
8036
8037         * paragraph.h:
8038         * lyxlength.C:
8039         * buffer.C:
8040         * ParameterStruct.h:
8041         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8042
8043         * bufferlist.C (emergencyWriteAll): use boost bind
8044
8045         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8046
8047         * text.C: include paragraph_funcs.h
8048         (breakParagraph): breakParagraph is now in global scope
8049
8050         * paragraph_funcs.[Ch]: new files
8051
8052         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8053         global scope
8054
8055         * buffer.C: include paragraph_funcs.h
8056         (insertStringAsLines): breakParagraph is now in global scope
8057
8058         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8059         paragraph_funcs.C
8060
8061         * CutAndPaste.C: include paragraph_funcs.h
8062         (cutSelection): breakParagraphConservative is now in global scope
8063         (pasteSelection): ditto
8064
8065         * buffer.h: declare oprator== and operator!= for
8066         Buffer::inset_iterator
8067
8068         * bufferlist.C (emergencyWrite): don't use fmt(...)
8069
8070         * text3.C: add using std::endl
8071
8072         * BufferView.C (moveCursorUpdate): remove default arg
8073
8074 2002-08-20  André Pönitz <poenitz@gmx.net>
8075
8076         * buffer.[Ch]: move inline functions to .C
8077
8078         * BufferView2.C:
8079         * BufferView_pimpl.C:
8080         * text.C:
8081         * buffer.[Ch]: use improved inset_iterator
8082
8083         * buffer.C:
8084         * paragraph.[Ch]: write one paragraph at a time
8085
8086 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8087
8088         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8089         style if style is not specified.
8090
8091 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8092
8093         * text2.C (setCounter): when searching for right label for a
8094         caption, make sure to recurse to parent insets (so that a caption
8095         in a minipage in a figure float works) (bug #568)
8096
8097 2002-08-20  André Pönitz <poenitz@gmx.net>
8098
8099         * text3.C: new file for LyXText::dispatch() and helpers
8100
8101         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8102
8103         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8104
8105 2002-08-19  André Pönitz <poenitz@gmx.net>
8106
8107         * lyxtext.h:
8108         * text.C: new LyXText::dispatch()
8109
8110         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8111
8112 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8113
8114         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8115
8116         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8117         Hebrew text.
8118
8119 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8120
8121         * Makefile.am: use $(variables) instead of @substitutions@
8122
8123 2002-08-15  André Pönitz <poenitz@gmx.net>
8124
8125         * lyxfunc.C:
8126         * BufferView_pimpl.C: streamlining mathed <-> outer world
8127         interaction
8128
8129         * commandtags.h:
8130         * LyXAction.C: remove unused LFUN_MATH
8131
8132 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8135
8136 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * paragraph.C (Paragraph): reformat a bit
8139         (cutIntoMinibuffer): use builtin InsetList function instad of
8140         doing it manually.
8141         (getInset): ditto
8142
8143         * buffer.C: include boost/bind.hpp, add using std::for_each
8144         (writeFileAscii): use ParagraphList iterators
8145         (validate): use for_each for validate traversal of paragraphs
8146         (getBibkeyList): use ParagraphList iterators
8147         (resizeInsets): use for_each to resizeInsetsLyXText for all
8148         paragraphs.
8149         (getParFromID): use ParagraphList iterators
8150
8151         * BufferView2.C (lockInset): use paragraph list and iterators
8152
8153 2002-08-14  John Levon  <levon@movementarian.org>
8154
8155         * lyxserver.C: remove spurious xforms include
8156
8157 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8158
8159         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8160
8161 2002-08-13  André Pönitz <poenitz@gmx.net>
8162
8163         * LyXAction.[Ch]:
8164         * lyxfunc.C: further cleaning
8165
8166 2002-08-13  André Pönitz <poenitz@gmx.net>
8167
8168         * funcrequest.h: new constructor
8169
8170         * funcrequest.C: move stuff here from .h
8171
8172         * Makefile.am:
8173         * BufferView_pimpl.C:
8174         * LyXAction.C:
8175         * toc.C:
8176         * lyxfunc.C: subsequent changes
8177
8178         * lyxfunc.h: new view() member function
8179
8180         * lyxfunc.C: subsequent changes
8181
8182 2002-08-13  Angus Leeming  <leeming@lyx.org>
8183
8184         * BufferView2.C:
8185         * BufferView_pimpl.C:
8186         * buffer.C:
8187         * converter.C:
8188         * importer.C:
8189         * lyxfunc.C:
8190         * lyxvc.C:
8191         * toc.C:
8192         * vc-backend.C:
8193         changes due to the changed LyXView interface that now returns references
8194         to member variables not pointers.
8195
8196 2002-08-13  Angus Leeming  <leeming@lyx.org>
8197
8198         * WordLangTuple (word, lang_code): return references to strings,
8199         not strings.
8200
8201         * BufferView.h:
8202         * SpellBase.h:
8203         * lyxtext.h: forward-declare WordLangTuple.
8204
8205         * BufferView2.C:
8206         * ispell.C:
8207         * pspell.C:
8208         * text.C: #include "WordLangTuple.h".
8209
8210         * lyxtext.h:
8211         * text.C: (selectNextWordToSpellcheck): constify return type.
8212
8213 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8214
8215         * buffer.C:
8216         * buffer.h:
8217         * lyxtext.h:
8218         * paragraph.C:
8219         * paragraph_pimpl.h:
8220         * text.C:
8221         * text2.C:
8222         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8223         suggested by Angus.
8224         Made updateCounter always count from start of buffer, and removed
8225         second argument (par).
8226         Reverted floats number display to '#'. Perhaps I'll try again when the
8227         code base is sanitized a bit.
8228
8229 2002-08-12  Angus Leeming  <leeming@lyx.org>
8230
8231         * buffer.[Ch] (getLabelList): constify.
8232
8233 2002-08-07  André Pönitz <poenitz@gmx.net>
8234
8235         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8236
8237         * funcrequest.h: extension to keep mouse (x,y) position
8238
8239 2002-08-12  Juergen Vigna  <jug@sad.it>
8240
8241         * BufferView2.C (insertErrors): forbid undo when inserting error
8242         insets.
8243
8244         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8245
8246 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * ParagraphList.[Ch]: new files
8249
8250         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8251
8252         * BufferView2.C (lockInset): ParagraphList changes
8253         * toc.C: ditto
8254         * text2.C: ditto
8255         * bufferlist.C: ditto
8256         * buffer.h: ditto
8257         * buffer.C: ditto
8258
8259 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8260
8261         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8262         unused class variable counter_,
8263
8264         * paragraph.[Ch] (getFirstCounter): delete unused function
8265
8266         * counters.C: include LAssert.h
8267         (reset): add a new function with no arg, change other version to
8268         not have def. arg and to not allow empty arg.
8269
8270         * text2.C (setCounter): remove empty arg from call to Counters::reset
8271
8272 2002-08-11  John Levon  <levon@movementarian.org>
8273
8274         * Makefile.am: add WordLangTuple.h
8275
8276 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8277
8278         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8279         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8280
8281         * insets/insettext.C: InsetList changes
8282
8283         * graphics/GraphicsSupport.C (operator()): InsetList changes
8284
8285         * toc.C (getTocList): InsetList changes
8286
8287         * paragraph_pimpl.[Ch]: InsetList changes
8288
8289         * paragraph.[Ch]: InsetList changes
8290
8291         * buffer.C (inset_iterator): InsetList changes
8292         (setParagraph): ditto
8293         * buffer.h (inset_iterator): ditto
8294         * iterators.C (operator++): ditto
8295         * iterators.h: ditto
8296
8297         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8298
8299         * InsetList.[Ch]: new files, most InsetList handling moved out of
8300         paragraph.C.
8301
8302         * BufferView2.C (removeAutoInsets): InsetList changes
8303         (lockInset): ditto
8304         (ChangeInsets): ditto
8305
8306 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8307
8308         * paragraph_pimpl.h (empty): new function
8309
8310         * paragraph.[Ch] (empty): new function
8311
8312         * other files: use the new Paragraph::empty function
8313
8314 2002-08-09  John Levon  <levon@movementarian.org>
8315
8316         * lyxtext.h: remove unused refresh_height
8317
8318 2002-08-09  John Levon  <levon@movementarian.org>
8319
8320         * Makefile.am:
8321         * sgml.h:
8322         * sgml.C:
8323         * buffer.C:
8324         * paragraph.h:
8325         * paragraph.C: move sgml char escaping out of paragraph
8326
8327         * paragraph.h:
8328         * paragraph.C: remove id setter
8329
8330         * buffer.C:
8331         * paragraph.C:
8332         * paragraph_pimpl.C: remove dead tex_code_break_column
8333
8334         * bufferview_funcs.C: small cleanup
8335
8336         * lyxfunc.C: remove dead proto
8337
8338         * lyxtext.h: make some stuff private. Remove some dead stuff.
8339
8340         * lyxgluelength.C: make as[LyX]String() readable
8341
8342 2002-08-08  John Levon  <levon@movementarian.org>
8343
8344         * LyXAction.h:
8345         * LyXAction.C:
8346         * MenuBackend.C:
8347         * ToolbarDefaults.C:
8348         * lyxfunc.C:
8349         * lyxrc.C:
8350         * toc.C: lyxaction cleanup
8351
8352 2002-08-08  John Levon  <levon@movementarian.org>
8353
8354         * BufferView2.C: small cleanup
8355
8356         * lyxfind.h:
8357         * lyxfind.C: move unnecessary header into the .C
8358
8359 2002-08-08  John Levon  <levon@movementarian.org>
8360
8361         * funcrequest.h: just tedious nonsense
8362
8363         * lyx_main.h:
8364         * lyx_main.C: cleanups
8365
8366         * buffer.C:
8367         * vspace.C: remove dead header lyx_main.h
8368
8369 2002-08-07  Angus Leeming  <leeming@lyx.org>
8370
8371         * Paragraph.[Ch]:
8372         * paragraph_pimpl.h:
8373         Forward declare class Counters in paragraph.h by moving the ctrs member
8374         variable into Paragraph::Pimpl.
8375         (counters): new method, returning a reference to pimpl_->ctrs.
8376
8377         * text2.C: ensuing changes.
8378
8379 2002-08-07  John Levon  <levon@movementarian.org>
8380
8381         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8382
8383         * BufferView_pimpl.C: announce X selection on double/triple
8384           click
8385
8386         * lyx_main.C: use correct bool in batch dispatch
8387
8388         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8389
8390 2002-08-07  André Pönitz <poenitz@gmx.net>
8391
8392         * funcrequest.h: new class to wrap a kb_action and its argument
8393
8394         * BufferView.[Ch]:
8395         * BufferView_pimpl[Ch]:
8396         * LaTeX.C:
8397         * LyXAction.[Ch]:
8398         * lyxfunc.[Ch]:
8399         * lyxrc.C: subsequent changes
8400
8401
8402 2002-08-07  John Levon  <levon@movementarian.org>
8403
8404         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8405           document options change.
8406
8407 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8408
8409         * counters.[Ch]
8410         * text2.C
8411         * paragraph.[Ch]
8412         * makefile.am: move counters functionality over from
8413         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8414
8415 2002-08-06  John Levon  <levon@movementarian.org>
8416
8417         * WordLangTuple.h: new file for word + language code tuple
8418
8419         * SpellBase.h:
8420         * pspell.h:
8421         * pspell.C:
8422         * ispell.h:
8423         * ispell.C:
8424         * lyxtext.h:
8425         * text.C:
8426         * text2.C:
8427         * BufferView.h:
8428         * BufferView2.C: use WordLangTuple
8429
8430         * layout.h:
8431         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8432
8433 2002-08-06  John Levon  <levon@movementarian.org>
8434
8435         * lyx_main.C: fix cmdline batch handling
8436
8437 2002-08-06  André Pönitz <poenitz@gmx.net>
8438
8439         * lyxrc.C: set default for show_banner to true
8440
8441 2002-08-06  John Levon  <levon@movementarian.org>
8442
8443         * pspell.C: fix a crash, and allow new aspell to work
8444
8445 2002-08-06  John Levon  <levon@movementarian.org>
8446
8447         * lyxfunc.C:
8448         * kbmap.C: small cleanup
8449
8450         * vspace.h:
8451         * vspace.C: add const
8452
8453 2002-08-05  John Levon  <levon@movementarian.org>
8454
8455         * LyXAction.C: back to tabular-insert
8456
8457 2002-08-04  John Levon  <levon@movementarian.org>
8458
8459         * BufferView.h:
8460         * BufferView.C: cosmetic change
8461
8462         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8463
8464         * bufferlist.C:
8465         * buffer.h:
8466         * buffer.C:
8467         * lyxcb.h:
8468         * lyxcb.C:
8469         * lyxserver.C:
8470         * lyxvc.C:
8471         * vc-backend.C:
8472         * BufferView2.C: purge all "Lyx" not "LyX" strings
8473
8474         * lyxcursor.h:
8475         * lyxcursor.C: attempt to add some documentation
8476
8477         * lyxfunc.C:
8478         * commandtags.h:
8479         * LyXAction.C:
8480         * ToolbarDefaults.C:
8481         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8482           merge with LFUN_TABULAR_INSERT
8483
8484         * Makefile.am:
8485         * SpellBase.h:
8486         * ispell.h:
8487         * ispell.C:
8488         * pspell.h:
8489         * pspell.C: split up i/pspell implementations into separate
8490           files, many cleanups
8491
8492         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8493
8494         * text2.C: some cleanup
8495
8496         * lyxfunc.C: don't check for isp_command == "none" any more, it
8497           didn't make any sense
8498
8499 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8500
8501         * counters.[Ch]
8502         * text2.C
8503         * paragraph.[Ch]
8504         * makefile.am: move counters functionality over
8505         from text2.C/paragraph.[Ch] to counters.[Ch], and
8506         make proper C++.
8507 2002-08-02  John Levon  <levon@movementarian.org>
8508
8509         * buffer.C: s/lyxconvert/lyx2lyx/
8510
8511 2002-08-02  Angus Leeming  <leeming@lyx.org>
8512
8513         * lyxlex.C: revert John's change as it breaks reading of the user
8514         preamble.
8515
8516 2002-08-02  Angus Leeming  <leeming@lyx.org>
8517
8518         * importer.C (Import):
8519         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8520         changes due to LyXView::view() now returning a boost::shared_ptr.
8521
8522 2002-08-02  John Levon  <levon@movementarian.org>
8523
8524         * lyxlex.C: small cleanup
8525
8526 2002-08-02  John Levon  <levon@movementarian.org>
8527
8528         * text2.C (status): small cleanup, no logic change
8529
8530 2002-08-01  John Levon  <levon@movementarian.org>
8531
8532         * buffer.h:
8533         * buffer.C (writeFile): don't output alerts, caller
8534           handles this
8535
8536         * bufferlist.C:
8537         * lyx_cb.C: from above
8538
8539         * lyxfunc.C: allow to open non-existent files
8540
8541 2002-07-31  John Levon  <levon@movementarian.org>
8542
8543         * lyxserver.C: don't let incidental errors get
8544           in the way (errno)
8545
8546 2002-07-30  John Levon  <levon@movementarian.org>
8547
8548         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8549
8550 2002-07-30  John Levon  <levon@movementarian.org>
8551
8552         * lyxserver.h:
8553         * lyxserver.C: remove I/O callback too
8554
8555 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8556
8557         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8558         log.
8559
8560 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * many files: strip,frontStrip -> trim,ltrim,rtrim
8563
8564 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * PrinterParams.h: remove extern containsOnly, and include
8567         support/lstrings.h instead.
8568
8569         * LaTeX.C (scanAuxFile): modify because of strip changes
8570         (deplog): ditto
8571         * buffer.C (makeLaTeXFile): ditto
8572         * bufferparams.C (writeFile): ditt
8573         * lyxfont.C (stateText): ditto
8574         * lyxserver.C (read_ready): ditto
8575         * vc-backend.C (scanMaster): ditto
8576
8577         * BufferView_pimpl.h: ws changes
8578
8579         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8580
8581 2002-07-26  André Pönitz <poenitz@gmx.net>
8582
8583         * kb_sequence.C: remove unnedred usings
8584
8585 2002-07-26  Juergen Vigna  <jug@sad.it>
8586
8587         * lyxfind.C (LyXReplace): we have to check better if the returned
8588         text is not of theLockingInset()->getLockingInset().
8589
8590 2002-07-25  Juergen Vigna  <jug@sad.it>
8591
8592         * lyxfind.C (LyXReplace): don't replace if we don't get the
8593         right LyXText.
8594
8595         * undo_funcs.C (createUndo): remove debugging code.
8596
8597 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8598
8599         * buffer.C (parseSingleLyXformat2Token): Use default placement
8600         when reading old floats.
8601
8602         * FloatList.C (FloatList): Change the default placement of figure
8603         and tables to "tbp".
8604
8605 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8606
8607         * MenuBackend.C: using std::max
8608
8609 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8610
8611         * MenuBackend.C (expandToc):
8612         (expandToc2): code moved from xforms menu frontend. It is now
8613         generic and TOCs are transparent to menu frontends.
8614
8615 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8616
8617         * toc.C (getTocList): protect against buf=0
8618
8619         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8620         Menu as first parameter. Now, this calls itself recursively to
8621         expand a whole tree (this will be useful for TOC handling)
8622         (expandFloatInsert): remove 'wide' version of floats
8623
8624         * MenuBackend.h (submenuname): returns the name of the submenu.
8625         (submenu): returns the submenu itself, provided it has been
8626         created by MenuBackend::expand
8627
8628 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8629
8630         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8631         insets which have noFontChange == true. (bug #172)
8632
8633 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8634
8635         * BufferView_pimpl.C: add connection objects and use them...
8636         (Pimpl): here.
8637
8638 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8639
8640         * MenuBackend.C (expandLastfiles):
8641         (expandDocuments):
8642         (expandFormats):
8643         (expandFloatListInsert):
8644         (expandFloatInsert):
8645         (expand): split expand in parts
8646
8647 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8648
8649         * lyx_gui.C: use lyx_gui::exit()
8650
8651 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8652
8653         * LyXAction.C: show the failing pseudo action
8654
8655 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8656
8657         * buffer.C (readFile): Run the lyxconvert script in order to read
8658         old files.
8659
8660 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * LyXAction.C:
8663         * commandtags.h:
8664         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8665
8666 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8667
8668         * LyXAction.C:
8669         * commandtags.h:
8670         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8671
8672 2002-07-22  Herbert Voss  <voss@lyx.org>
8673
8674         * lengthcommon.C:
8675         * lyxlength.[Ch]: add support for the vertical lengths
8676
8677 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8678
8679         * toc.[Ch]: std:: fixes
8680
8681 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8682
8683         * lyxrc.C: do not include lyx_main.h
8684
8685         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8686         for layouts
8687
8688         * lyxrc.C:
8689         * encoding.C:
8690         * bufferlist.C:
8691         * BufferView2.C: include "lyxlex.h"
8692
8693         * tabular.h:
8694         * bufferparams.h: do not #include "lyxlex.h"
8695
8696         * lyxtextclasslist.C (Add): remove method
8697         (classlist): renamed to classlist_
8698
8699         * paragraph_pimpl.C:
8700         * paragraph.C:
8701         * text2.C:
8702         * CutAndPaste.C:
8703         * bufferview_funcs.C:
8704         * bufferlist.C:
8705         * text.C:
8706         * LaTeXFeatures.C:
8707         * buffer.C:
8708         * toc.C (getTocList): use BufferParams::getLyXTextClass
8709
8710         * toc.C (getTocList): use InsetFloat::addToToc
8711
8712         * toc.[Ch]: new files, containing helper functions to handle table
8713         of contents
8714
8715         * lyxfunc.C (dispatch): no need to remove spaces around command
8716         given as a string
8717         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8718         first command of the sequence; it is not very clever, but I do not
8719         have a better idea, actually
8720
8721         * LyXAction.C (LookupFunc): make sure to remove space at the
8722         beginning and end of the command
8723
8724 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * MenuBackend.C (getMenubar): new method: return the menubar of
8727         this menu set
8728         (read): treat differently reading of menu and menubar (in
8729         particular, the menubar has no name now)
8730         (Menu::menubar): remove
8731
8732         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8733         saving is finished
8734
8735 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8736
8737         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8738         a bibitem inset in a RTL paragraph.
8739
8740 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8741
8742         * paragraph_pimpl.C: constify
8743
8744         * BufferView_pimpl.C:
8745         * LaTeX.C:
8746         * lyxfunc.C: fix dispatch in a nicer way
8747
8748 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8749
8750         * lyxfunc.C (dispatch):
8751         * BufferView_pimpl.C:
8752         * BufferView_pimpl.h:
8753         * BufferView.C:
8754         * BufferView.h: rename Dispatch() to dispatch()
8755
8756         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8757
8758         * lyxlayout.C (Read): honor DependsOn tag
8759
8760         * lyxlayout.[Ch] (depends_on): new method
8761
8762         * version.C.in: update lyx_docversion
8763
8764         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8765
8766         * paragraph.C (validate): remove from here...
8767         * paragraph_pimpl.C (validate): ... and move here
8768         (isTextAt): make it const
8769
8770         * buffer.C (getLists): ws cleanup
8771
8772 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8773
8774         * language.C (read): Use iso8859-1 encoding in latex_lang
8775         (this prevents LyX from crashing when using iso10646-1 encoding).
8776
8777 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8778
8779         * text2.C (toggleInset): if cursor is inside an inset, close the
8780         inset and leave cursor _after_ it
8781
8782 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8783
8784         * lyxfunc.C: move minibuffer completion handling out of here
8785
8786 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8787
8788         * BufferView_pimpl.C:
8789         * LaTeX.C: fix dispatch calls
8790
8791 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8792
8793         * text.C (drawChars): Fix Arabic text rendering.
8794
8795 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8796
8797         * LyXAction.C:
8798         * commandtags.h:
8799         * lyxfunc.C: remove message-push/pop
8800
8801         * lyxserver.C:
8802         * lyxfunc.h:
8803         * lyxfunc.C: rationalise some code by removing verboseDispatch
8804           in favour of a bool argument to dispatch()
8805
8806 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * lyx_main.C (init): make sure to read symlinks as absolute paths
8809
8810 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8811
8812         * lyxfunc.h:
8813         * lyxfunc.C: no need for commandshortcut to be a member
8814
8815 2002-07-15  André Pönitz <poenitz@gmx.net>
8816
8817         * converter.C: add support for $$s (scripts from lib/scripts dir)
8818         * lyx_main.C: white space
8819
8820 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8821
8822         * bufferlist.C:
8823         * lyxrc.h:
8824         * lyxrc.C: remove second exit confirmation
8825
8826 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8827
8828         * BufferView.h:
8829         * BufferView.C:
8830         * BufferView2.C:
8831         * BufferView_pimpl.h:
8832         * BufferView_pimpl.C:
8833         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8834
8835 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8836
8837         * MenuBackend.C (expand): add numeric shortcuts to document menu
8838
8839         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8840
8841 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * lyxfont.C (setLyXFamily):
8844         (setLyXSeries):
8845         (setLyXShape):
8846         (setLyXSize):
8847         (setLyXMisc):
8848         (lyxRead):
8849         * debug.C (value):
8850         * buffer.C (asciiParagraph): use ascii_lowercase
8851
8852 2002-07-15  Mike Fabian  <mfabian@suse.de>
8853
8854         * lyxlex_pimpl.C (search_kw):
8855         * lyxlex.C (getLongString):
8856         * converter.h (operator<):
8857         * converter.C (operator<):
8858         * buffer.C (parseSingleLyXformat2Token):
8859         (asciiParagraph):
8860         * ToolbarDefaults.C (read):
8861         * MenuBackend.C (checkShortcuts):
8862         (read):
8863         * LColor.C (getFromGUIName):
8864         (getFromLyXName): use the compare_ascii_no_case instead of
8865         compare_no_case, because in turkish, 'i' is not the lowercase
8866         version of 'I', and thus turkish locale breaks parsing of tags.
8867
8868 2002-07-16  Angus Leeming  <leeming@lyx.org>
8869
8870         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8871         now takes a Buffer const & argument.
8872
8873 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8874
8875         * BufferView.C (resize): check there's a buffer to resize
8876
8877 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8878
8879         * lyxfunc.C: remove dead code
8880
8881         * lyxserver.h:
8882         * lyxserver.C: use lyx_guii::set_read_callback
8883
8884 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8885
8886         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8887         an inset in a RTL paragraph.
8888
8889 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8890
8891         * lyxfunc.C: repaint after a font size update
8892
8893 2002-07-15  André Pönitz <poenitz@gmx.net>
8894
8895         * lyxlength.C: inBP should be able to return negative values
8896
8897 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * lyxfunc.C: use lyx_gui::update_fonts()
8900
8901 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8902
8903         * lyxfunc.C: use lyx_gui::update_color()
8904
8905 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8906
8907         * bufferlist.C:
8908         * lyxfunc.h:
8909         * lyxfunc.C:
8910         * lyxrc.h:
8911         * lyxrc.C: remove file->new asks for name option, and let
8912           buffer-new take an argument
8913
8914 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8915
8916         * BufferView_pimpl.C: remove unneeded extra repaint()
8917
8918 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8919
8920         * LyXAction.C: allow command-sequence with NoBuffer
8921
8922         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8923
8924 2002-07-10  Angus Leeming  <leeming@lyx.org>
8925
8926         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8927
8928 2002-07-09  Angus Leeming  <leeming@lyx.org>
8929
8930         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8931
8932 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8933
8934         * lengthcommon.h: whitespace
8935
8936         * lyxfunc.C: update scrollbar after goto paragraph
8937
8938         * lyxtext.h: factor out page break drawing, and fix it so
8939           page break/added space paints as selected nicely
8940
8941 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * BufferView_pimpl.C: add FIXMEs, clean up a little
8944
8945 2002-07-09  André Pönitz <poenitz@gmx.net>
8946
8947         * lyxfont.[Ch]: support for wasy symbols
8948
8949 2002-07-08  André Pönitz <poenitz@gmx.net>
8950
8951         * BufferView_pimpl.C: apply John's patch for #93.
8952
8953 2002-07-05  Angus Leeming  <leeming@lyx.org>
8954
8955         * BufferView_pimpl.C (buffer): generate previews if desired.
8956
8957         * LColor.h: add "preview" to the color enum.
8958
8959         * LColor.C (LColor): add a corresponding entry to the items array.
8960
8961         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8962         with this buffer.
8963
8964 2002-07-05  Angus Leeming  <leeming@lyx.org>
8965
8966         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8967         The body of the code is now in the method that is passed an ostream &
8968         rather than a file name.
8969         Pass an additional only_preamble parameter, useful for the forthcoming
8970         preview stuff.
8971
8972 2002-07-03  André Pönitz <poenitz@gmx.net>
8973
8974         * lyxfunc.C: simplify getStatus() a bit for math stuff
8975
8976 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8977
8978         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8979
8980 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8981
8982         * text.C (changeRegionCase): do not change case of all the
8983         document when region ends at paragraph end (bug #461)
8984
8985 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8986
8987         * paragraph.C (startTeXParParams):
8988         (endTeXParParams): add \protect when necessary
8989
8990 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8991
8992         * BufferView_pimpl.C (workAreaExpose): remove warning
8993
8994 2002-06-27  Angus Leeming  <leeming@lyx.org>
8995
8996         * Makefile.am: add lyxlayout_ptr_fwd.h.
8997
8998 2002-06-26  André Pönitz <poenitz@gmx.net>
8999
9000         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9001
9002 2002-06-25  Angus Leeming  <leeming@lyx.org>
9003
9004         * lyxfunc.C (dispatch): Comment out the call to
9005         grfx::GCache::changeDisplay. The method no longer exists now that the
9006         pixmap generation part of the graphics loader has been moved into
9007         InsetGraphics.
9008
9009 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9010
9011         * text2.C: layout as layout
9012
9013         * text.C: layout as layout
9014
9015         * tabular.C (OldFormatRead): layout as layout
9016
9017         * paragraph_pimpl.C (TeXDeeper): layout as layout
9018         (realizeFont): layout as layout
9019
9020         * paragraph.C (writeFile): layout as layout
9021         (validate): layout as layout
9022         (getFont): layout as layout
9023         (getLabelFont): layout as layout
9024         (getLayoutFont): layout as layout
9025         (breakParagraph): layout as layout
9026         (stripLeadingSpaces): layout as layout
9027         (getEndLabel): layout as layout
9028         (getMaxDepthAfter): layout as layout
9029         (applyLayout): layout as layout
9030         (TeXOnePar): layout as layout
9031         (simpleTeXOnePar): layout as layout
9032         (TeXEnvironment): layout as layout
9033         (layout): layout as layout
9034         (layout): layout as layout
9035
9036         * lyxtextclass.C (compare_name): new functor to work with
9037         shared_ptr, layout as layout
9038         (Read): layout as layout
9039         (hasLayout): layout as layout
9040         (operator): layout as layout
9041         (delete_layout): layout as layout
9042         (defaultLayout): layout as layout
9043
9044         * lyxlayout_ptr_fwd.h: new file
9045
9046         * lyxlayout.C (Read): layout as layout
9047
9048         * lyx_cb.C (MenuInsertLabel): layout as layout
9049
9050         * bufferlist.C (newFile): layout as layout
9051
9052         * buffer.C (readLyXformat2): layout as layout
9053         (parseSingleLyXformat2Token): layout as layout
9054         (insertStringAsLines): layout as layout
9055         (asciiParagraph): layout as layout
9056         (latexParagraphs): layout as layout
9057         (makeLinuxDocFile): layout as layout
9058         (simpleLinuxDocOnePar): layout as layout
9059         (makeDocBookFile): layout as layout
9060         (simpleDocBookOnePar): layout as layout
9061         (getLists): layout as layout
9062
9063         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9064
9065         * CutAndPaste.C (cutSelection): layout as layout
9066         (pasteSelection): layout as layout
9067         (SwitchLayoutsBetweenClasses): layout as layout
9068
9069         * BufferView_pimpl.C (Dispatch): layout as layout
9070         (smartQuote): layout as layout
9071
9072         * BufferView2.C (unlockInset): layout as layout
9073
9074 2002-06-24  André Pönitz <poenitz@gmx.net>
9075
9076         * lyxfunc.C: fix #487
9077
9078 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9079
9080         * lyxrc.h:
9081         * lyxrc.C:
9082         * lyxfunc.C: remove display_shortcuts, show_banner
9083
9084 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9085
9086         * Buffer_pimpl.C: oops, update on resize
9087
9088 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9089
9090         * buffer.C:
9091         * converter.C:
9092         * exporter.C:
9093         * lyxfunc.C:
9094         * BufferView.h:
9095         * BufferView.C: use repaint()
9096
9097         * BufferView_pimpl.h:
9098         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9099           as it's a clearer description. Remove superfluous
9100           redraws.
9101
9102 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9103
9104         * text.C: fix bug 488. Not ideal, but getting
9105           getWord() to work properly for the insets that
9106           matter is more difficult ...
9107
9108 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * BufferView_pimpl.C:
9111         * LyXAction.C:
9112         * commandtags.h:
9113         * lyxfunc.C: remove the six million index lyxfuncs to just
9114           one, and DTRT (bug 458)
9115
9116 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9117
9118         * BufferView.h:
9119         * BufferView.C:
9120         * BufferView_pimpl.h:
9121         * BufferView_pimpl.C: clean up resize() stuff,
9122           and unnecessary updateScreen()s
9123
9124 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * BufferView.h:
9127         * BufferView.C:
9128         * BufferView_pimpl.h:
9129         * BufferView_pimpl.C:
9130         * lyxfind.h:
9131         * lyxfind.C:
9132         * minibuffer.C: remove focus management of workarea,
9133           not needed. Use screen's greyOut()
9134
9135 2002-06-17  Herbert Voss  <voss@lyx.org>
9136
9137         * converter.C: (convert) do not post a message, when converting
9138         fails, let the calling function decide what to do in this case
9139
9140 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * lyxfunc.C: tidy up a little
9143
9144 2002-06-16    <alstrup@diku.dk>
9145
9146         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9147         Got rid of FORMS_H_LOCATION include. Now we are
9148         GUII.
9149
9150 2002-06-15  LyX Development team  <lyx@rilke>
9151
9152         * buffer.[Ch] (sgmlOpenTag):
9153         (sgmlCloseTag): Added support for avoiding pernicious mixed
9154         content. Return number of lines written.
9155
9156         (makeLinuxDocFile):
9157         (makeDocBookFile): Fixed calls to sgml*Tag.
9158         Simple white space clean.
9159
9160         (simpleDocBookOnePar): Simple white space clean.
9161
9162         * tabular.[Ch] (docBook): Renamed to docbook and got another
9163         argument to related with the pernicious mixed content.
9164
9165         (docbookRow): Fixed calls for docbook inset method.
9166
9167 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9168
9169         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9170         so it's X11 independent.
9171
9172         * kb*.[Ch]: ditto.
9173
9174         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9175
9176 2002-06-15  Lyx Development team  <lyx@electronia>
9177
9178         * intl.h: Renamed getTrans to getTransManager.
9179
9180 2002-06-14  Angus Leeming  <leeming@lyx.org>
9181
9182         * Makefile.am: nuke forgotten stl_string_fwd.h.
9183
9184 2002-06-12  Angus Leeming  <leeming@lyx.org>
9185
9186         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9187
9188 2002-06-13  Angus Leeming  <leeming@lyx.org>
9189
9190         * LaTeX.C:
9191         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9192
9193 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9194
9195         * kbmap.C (getiso): add support for cyrillic and greek
9196
9197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9198
9199         * BufferView.h:
9200         * BufferView.C:
9201         * BufferView_pimpl.h:
9202         * BufferView_pimpl.C: move bogus scrolling logic
9203           to xforms
9204
9205 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9206
9207         * lyxfunc.C:
9208         * BufferView_pimpl.C: view->resize() change
9209
9210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * BufferView_pimpl.C: topCursorVisible
9213           prototype change
9214
9215 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9216
9217         * Makefile.am:
9218         * lyx_gui.h:
9219         * lyx_gui.C: move to frontends/
9220
9221         * main.C:
9222         * lyx_main.h:
9223         * lyx_main.C: changes from above
9224
9225 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * intl.C:
9228         * intl.h:
9229         * kbmap.C:
9230         * kbsequence.C:
9231         * lyx_cb.C:
9232         * lyx_main.C: minor tidy
9233
9234 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9235
9236         * BufferView_pimpl.h:
9237         * BufferView_pimpl.C:
9238         * BufferView.h:
9239         * BufferView.C: make painter() const,
9240           remove dead code
9241
9242         * BufferView2.C: use screen() accessor
9243
9244         * lyx_main.h:
9245         * lyx_main.C: some minor cleanup
9246
9247 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9248
9249         * BufferView_pimpl.h:
9250         * BufferView_pimpl.C: remove enter/leaveView,
9251           use workHeight()
9252
9253 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * BufferView.h:
9256         * BufferView.C:
9257         * BufferView2.C:
9258         * BufferView_pimpl.h:
9259         * BufferView_pimpl.C: only construct screen once,
9260           rename
9261
9262         * lyxrc.C: remove pointless comment
9263
9264 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9265
9266         * BufferView.h:
9267         * BufferView.C: remove active() and belowMouse()
9268
9269         * BufferView_pimpl.h:
9270         * BufferView_pimpl.C: use workarea() not workarea_,
9271           and make it use a scoped_ptr instead
9272
9273 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * lyx_gui.C: add debug message on BadWindow
9276
9277 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * sp_spell.C: fdopen is not part of the C++ standard.
9280
9281         * paragraph.C (InsetIterator): use >= instead of ==
9282
9283 2002-06-07  Angus Leeming  <leeming@lyx.org>
9284
9285         Fixes needed to compile with Compaq cxx 6.5.
9286         * BufferView_pimpl.C:
9287         * DepTable.C:
9288         * buffer.C:
9289         * converter.C:
9290         * encoding.C:
9291         * lyx_gui.C:
9292         * lyx_main.C:
9293         * lyxtextclasslist.C:
9294         * minibuffer.C:
9295         * sp_spell.C:
9296         * tabular_funcs.C:
9297         * vc-backend.C:
9298         all c-library variables have been moved into namespace std. Wrap
9299         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9300
9301         * lyxlength.C:
9302         * tabular-old.C:
9303         * tabular.C:
9304         Add a using std::abs declaration.
9305
9306         * kbmap.h (modifier_pair):
9307         * paragraph.h (InsetTable, InsetList):
9308         * lyxfont.h (FontBits):
9309         type definition made public.
9310
9311         * bufferlist.C (emergencyWriteAll): the compiler complains that
9312         there is more than one possible lyx::class_fun template to choose from.
9313         I re-named the void specialisation as lyx::void_class_fun.
9314
9315         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9316
9317         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9318         the compiler is is unable to find tostr in write_attribute.
9319
9320 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9321
9322         * buffer.C (sgmlError): hide #warning
9323
9324 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9325
9326         * xtl/*: get rid of xtl, which is not in use anyway
9327
9328         * LyXAction.C (init):
9329         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9330         were unimplemented xtl experimentation
9331
9332 2002-06-04  André Pönitz <poenitz@gmx.net>
9333
9334         * lyxfunc.C: disable array operation on simple formulae
9335
9336 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * converter.C: constify a bit
9339
9340 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9341
9342         * lyx_gui.C: check xforms version correctly
9343
9344 2002-04-30  Herbert Voss  <voss@lyx.org>
9345
9346         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9347         "keep" option
9348
9349 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9350
9351         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9352           attempt to register it with a VCS)
9353
9354 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9355
9356         * lyx_main.C (init): honor variables LYX_DIR_13x and
9357         LYX_USERDIR_13x
9358
9359 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9360
9361         * buffer.h:
9362         * buffer.C:
9363         * lyx_main.C: fix a crash on bad command line,
9364           and give a useful exit status on error
9365
9366         * lyxfunc.C (doImport): allow -i lyx to work
9367
9368 2002-03-30  André Pönitz <poenitz@gmx.net>
9369
9370         * lyxfunc.C: mathed font changes
9371
9372 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * LaTeX.C:
9375         * importer.h:
9376         * importer.C:
9377         * lyx_sty.h:
9378         * lyx_sty.C:
9379         * lyxlex.C:
9380         * lyxrow.h:
9381         * lyxtext.h:
9382         * paragraph.h:
9383         * paragraph.C:
9384         * texrow.h:
9385         * texrow.C:
9386         * text.C:
9387         * trans_mgr.h: srcdocs, and some minor cleanups
9388
9389 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9390
9391         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9392         call getFont all the time)
9393
9394 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9395
9396         * switch from SigC signals to boost::signals
9397
9398 2002-05-29  André Pönitz <poenitz@gmx.net>
9399
9400         * paragraph_pimpl.C (getChar): don't call size() too often...
9401
9402 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9403
9404         * paragraph_pimpl.C (insertChar): do not try to update tables when
9405         appending (pos == size())
9406
9407         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9408         in order to reduce drastically the number of comparisons needed to
9409         parse a large document
9410
9411 2002-05-29  André Pönitz <poenitz@gmx.net>
9412
9413         * text.C:
9414         * text2.C:
9415         * lyxtextclass.C:
9416         * sp_pspell.h:
9417         * textclasslist.[Ch]:
9418         * sp_ispell.h: whitespace change
9419
9420 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9421
9422         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9423         lyxaction directly now.
9424
9425 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9426
9427         * trans.C:
9428         * lyxfont.C:
9429         * lyxvc.C: remove unused headers
9430
9431 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9432
9433         * Makefile.am:
9434         * buffer.h:
9435         * undostack.h:
9436         * undostack.C:
9437         * undo_funcs.h:
9438         * undo_funcs.C: some cleanups. Use shared_ptr
9439           and a template for the undo stacks.
9440
9441 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9442
9443         * BufferView_pimpl.h:
9444         * BufferView_pimpl.C:
9445         * kbmap.h:
9446         * kbmap.C:
9447         * kbsequence.h:
9448         * kbsequence.C:
9449         * lyxfunc.h:
9450         * lyxfunc.C:
9451         * text2.C: use key_state/mouse_state
9452
9453 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9454
9455         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9456         and LSubstring
9457
9458         * chset.C: change include order
9459         (loadFile): use boost regex and get rid of LRegex and LSubstring
9460
9461         * Makefile.am (BOOST_LIBS): new variable
9462         (lyx_LDADD): use it
9463
9464         * LaTeX.C: change include order.
9465         (scanAuxFile): use boost regex and get rid of LRegex and
9466         LSubstring
9467         (deplog): ditto
9468
9469 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9470
9471         * ColorHandler.h:
9472         * ColorHandler.C:
9473         * FontInfo.h:
9474         * FontInfo.C: moved to frontends/xforms/
9475
9476         * FontLoader.h:
9477         * FontLoader.C: moved into frontends for GUIIzation
9478
9479         * Makefile.am:
9480         * lyx_gui.C:
9481         * lyxfont.C:
9482         * lyxfunc.C: changes from above
9483
9484 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9485
9486         * LColor.C: remove spurious X include
9487
9488         * BufferView_pimpl.C:
9489         * Makefile.am:
9490         * font.h:
9491         * font.C:
9492         * text.C:
9493         * text2.C: move font metrics to frontends/
9494
9495 2002-05-24  Juergen Vigna  <jug@sad.it>
9496
9497         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9498         setting the undo_cursor.
9499
9500         * ParagraphParameters.h: include local includes first.
9501
9502 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9503
9504         * BufferView_pimpl.C:
9505         * BufferView_pimpl.h:
9506         * Makefile.am:
9507         * WorkArea.h:
9508         * WorkArea.C:
9509         * screen.C: move WorkArea into frontends/
9510
9511         * lyxscreen.h:
9512         * screen.C:
9513         * text.C:
9514         * BufferView.C:
9515         * BufferView2.C: move LyXScreen into frontends/
9516
9517         * lyxlookup.h:
9518         * lyxlookup.C:
9519         * lyx_gui.C: move lyxlookup into frontends/xforms/
9520
9521 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9522
9523         * BufferView2.C:
9524         * BufferView_pimpl.C:
9525         * FontLoader.C:
9526         * LyXView.h:
9527         * LyXView.C:
9528         * Makefile.am:
9529         * WorkArea.C:
9530         * XFormsView.h:
9531         * XFormsView.C:
9532         * buffer.C:
9533         * bufferlist.C:
9534         * bufferview_funcs.C:
9535         * converter.C:
9536         * importer.C:
9537         * lyx_cb.C:
9538         * lyx_gui.C:
9539         * lyx_main.C:
9540         * lyx_find.C:
9541         * lyxfunc.C:
9542         * lyxvc.C:
9543         * minibuffer.C:
9544         * text.C:
9545         * text2.C:
9546         * trans.C:
9547         * vc-backend.C: move LyX/XFormsView into frontends/
9548
9549 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9550
9551         * Makefile.am:
9552         * PainterBase.C:
9553         * PainterBase.h:
9554         * Painter.C:
9555         * Painter.h:
9556         * WorkArea.C:
9557         * WorkArea.h:
9558         * screen.C:
9559         * tabular.C:
9560         * text.C:
9561         * text2.C: move Painter to frontends/
9562
9563 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9564
9565         * buffer.C: comment out some some code that depend upon lyx_format
9566         < 220
9567
9568         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9569         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9570
9571         * buffer.h (NO_COMPABILITY): turn off compability
9572
9573         * ColorHandler.C: include scoped_array.hpp
9574
9575         * font.C: Use more specific smart_ptr header.
9576         * Painter.C: ditto
9577         * gettext.C: ditto
9578         * ShareContainer.h: ditto
9579         * lyx_main.h: ditto
9580         * kbmap.h: ditto
9581         * FontInfo.h: ditto
9582         * BufferView_pimpl.h: ditto
9583         * ColorHandler.h: ditto
9584
9585         * kbmap.C (defkey): change call to shared_ptr::reset
9586
9587 2002-05-21  Juergen Vigna  <jug@sad.it>
9588
9589         * buffer.C (insertErtContents): fix to insert ert asis if it is
9590         non empty. Skip it completely if it contains only whitespaces.
9591
9592 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9593
9594         * BufferView_pimpl.C:
9595         * BufferView2.C: clear selection on paste (bug 393)
9596
9597 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9598
9599         * DepTable.C: include ctime
9600
9601 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9602
9603         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9604
9605 2002-05-14  Juergen Vigna  <jug@sad.it>
9606
9607         * text.C (breakParagraph): fixed function to honor the keepempty
9608         layout in the right maner and also to permit the right breaking
9609         algorithm on empty or non empyt keepempty paragraphs.
9610
9611         * paragraph.C (breakParagraph): we have to check also if the par
9612         is really empty (!size()) for isempty otherwise we do the wrong
9613         paragraph break.
9614
9615 2002-05-10  Juergen Vigna  <jug@sad.it>
9616
9617         * buffer.[Ch] : The following are only changes to the ert
9618         compatibility read reading old LaTeX layout and font stuff and
9619         convert it to ERTInsets.
9620
9621         * buffer.h: added isErtInset().
9622
9623         * buffer.C (struct ErtComp): add a fromlayout bool to check
9624         if we're inside a LaTeX layout.
9625         (isErtInset): new helper function.
9626         (insertErtContents): look for other ert insets before this one
9627         and insert the contents there, so that we don't have subsequent
9628         ERT insets with nothing between them. This way we create only one
9629         inset with multiple paragraphs. Also check if we don't insert only
9630         spaces ' ' as they are ignored anyway afterwards in the .tex file
9631         so if we have only spaces we will ignore this latex part in the
9632         new file.
9633         (parseSingleLyXformat2Token \\layout): better compatibility when
9634         reading layout-latex stuff.
9635         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9636         language tag.
9637         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9638         stuff after reading the inset only get the information back from
9639         the stack.
9640
9641 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9642
9643         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9644
9645         * LaTeXFeatures.C (getBabelOptions): New method.
9646
9647 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9648
9649         * BufferView_pimpl.C (Dispatch): work around missing argument for
9650         'layout'
9651
9652 2002-05-08  Juergen Vigna  <jug@sad.it>
9653
9654         * text.C (leftMargin): handle paragraph leftindent.
9655
9656         * paragraph.C (writeFile): write the new \\leftindent tag.
9657         (validate): handle leftindent code.
9658         (TeXEnvironment): handle paragraphleftindent code again.
9659
9660         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9661
9662         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9663         for paragrap_extra indent code and new token \\leftindent.
9664         (latexParagraphs): handle the leftindent as environment.
9665
9666         * ParameterStruct.h: added leftindent support.
9667
9668         * ParagraphParameters.C (leftIndent): added support functions for
9669         the paragraph left indent.
9670
9671         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9672         more appropriate.
9673
9674 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9675
9676         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9677         inside insetERT.
9678
9679         * text.C (computeBidiTables): No bidi in insetERT.
9680
9681         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9682         in RTL documents.
9683
9684 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9685
9686         * version.C.in: pre 5
9687
9688 2002-05-02  José Matos  <jamatos@fep.up.pt>
9689         * buffer.C (makeDocBookFile): white space changes, add newline to
9690         command styles.
9691         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9692
9693         * tabular.C (docBook): fix typo.
9694
9695 2002-05-03  Juergen Vigna  <jug@sad.it>
9696
9697         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9698         change in LyXText as we can not be sure it was not freed.
9699         (drawOneRow): remove unused code.
9700
9701         * text.C (drawInset): redo the calculation of the need_break_row as
9702         it could have a row which was already freed.
9703         (draw): look at the return value of drawInset and return false if
9704         it also returned false.
9705         (paintRowText): look at the return value of draw and return false if
9706         it also returned false.
9707
9708         * lyxtext.h: added bool return type to drawInset() and draw() so that
9709         if we have a change in the row so that the rowbreak has to be redone
9710         we abort drawing as it will be called again.
9711
9712 2002-05-02  Juergen Vigna  <jug@sad.it>
9713
9714         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9715         a change in the maintext also if we're inside an inset.
9716         (Dispatch): set the cursor again after a break line and after the
9717         screen has been updated as it could be we're in a different row.
9718
9719         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9720         to set the cursor behind the pargraph with > size().
9721         (setCursor): check also for the same paragraph when checking where
9722         to put the cursor if we have a NFR inset.
9723
9724         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9725         parts of layout read further up as it still was in the wrong
9726         position.
9727
9728 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9729
9730         * screen.C (drawFromTo): change sine fullRebreak always return
9731         true.
9732
9733         * buffer.C (parseSingleLyXformat2Token): reindent some
9734
9735         * BufferView_pimpl.C (update): change since fullRebreak always
9736         return true.
9737         (Dispatch): git rid of the last hardcoded "Standard"s.
9738
9739 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9740
9741         * text2.[Ch] (fullRebreak): make it return void now that we always
9742         returned true.
9743
9744 2002-04-30  Juergen Vigna  <jug@sad.it>
9745
9746         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9747         ert compatibility check for "latex" layout.
9748
9749 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9750
9751         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9752         minipages: use col% instead of p%, and also use the current font.
9753         (makeLaTeXFile): Fix use babel condition.
9754         (parseSingleLyXformat2Token): Correct font when reading old floats.
9755
9756 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9757
9758         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9759         inserting list of floats.
9760
9761 2002-04-25  Herbert Voss  <voss@lyx.org>
9762
9763         * MenuBackend.C (expand): don't add the graphics extensions to the
9764         export menu
9765
9766 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9767
9768         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9769         non-existing layout, do not complain if it was the default layout
9770         of the original class (bug #342)
9771
9772 2002-04-24  Juergen Vigna  <jug@sad.it>
9773
9774         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9775         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9776
9777 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9778
9779         * buffer.C (getBibkeyList): If using \bibliography, return the
9780         option field with the reference itself. Enables us to provide natbib
9781         support when using \bibliography.
9782
9783 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9784
9785         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9786
9787         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9788         natbib is provided by the LaTeX class.
9789
9790 2002-04-23  Juergen Vigna  <jug@sad.it>
9791
9792         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9793         Wakeup functions.
9794
9795         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9796
9797 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9798
9799         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9800
9801         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9802         ensuremath around textordmasculine, textordfeminine and
9803         textdegree.
9804
9805 2002-04-19  Juergen Vigna  <jug@sad.it>
9806
9807         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9808         reinitializing the buffer otherwise row-dimensions may be wrong.
9809         (update): reset also the selection cursors if they do exits otherwise
9810         their x/y positions may be wrong.
9811
9812         * text2.C (cursorDown): don't enter the inset if we came from a row
9813         above and are one row over the inset.
9814
9815         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9816         really leaving an inset.
9817
9818 2002-04-18  Juergen Vigna  <jug@sad.it>
9819
9820         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9821         of the selected paragraph does not have the selected layout also if
9822         the last one had!
9823
9824         * text2.C (setLayout): fixed bug which did not change last selected
9825         paragraph.
9826
9827         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9828         changed the read and substituted \\end_float with \\end_inset!
9829
9830         * BufferView_pimpl.C (cursorPrevious):
9831         (cursorNext): fixed to make it work with rows heigher than the work
9832         area without moving the cursor only the draw of the row.
9833         (workAreaMotionNotify): fix jumping over high rows.
9834
9835 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9836
9837         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9838         Ressler.
9839
9840 2002-04-16  Juergen Vigna  <jug@sad.it>
9841
9842         * text2.C (setCursor): set also the irow().
9843         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9844         (cursorUp):
9845         (cursorDown): support for locking an inset if the x_fix value goes
9846         inside it. That way I can transverse insets too with cursor up/down.
9847
9848         * lyxrow.h: added irow helper function same as other (i) functions.
9849
9850         * BufferView_pimpl.C (cursorPrevious):
9851         (cursorNext): fixed for insets!
9852
9853 2002-04-15  Juergen Vigna  <jug@sad.it>
9854
9855         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9856         position otherwise it is wrong in some cases.
9857
9858         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9859         inside the inset before the call.
9860
9861 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9862
9863         * buffer.[Ch] (getBibkeyList): make it const.
9864
9865 2002-04-12  Juergen Vigna  <jug@sad.it>
9866
9867         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9868
9869         * text2.C (getCursorX): new helper function
9870         (setCursor): compute also ix_
9871         (setCursorFromCoordinates): set also ix.
9872
9873         * lyxcursor.h: added ix_ and helper functions.
9874
9875         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9876
9877         * buffer.C (insertStringAsLines): dont break paragraph if the this
9878         paragraph is inside an inset which does not permit it!
9879
9880         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9881         also with no chars on this paragraph.
9882         (paintRowText): only paint stuff if it's inside the workarea!
9883
9884         * paragraph.C (breakParagraph): honor keepempty flag and break the
9885         paragraph always below not above.
9886
9887         * BufferView2.C (unlockInset): update the paragraph layout on inset
9888         unlock as we changed paragraph in such a case.
9889
9890         * lyxfind.C (LyXFind): clear the former selection if not found!
9891
9892         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9893         again called in insertChar().
9894
9895         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9896         an inset which uses the whole row!
9897         (rightMargin): ditto.
9898         (insertChar): force a rebreak if we inserted an inset!
9899
9900 2002-03-28  Herbert Voss  <voss@lyx.org>
9901
9902         * lyxlength.[Ch]: add inBP() to get the right PS-point
9903         units (BigPoint). With inPixels we have rounding errors
9904
9905 2002-04-11  Juergen Vigna  <jug@sad.it>
9906
9907         * text2.C (setCursorFromCoordinates): set iy to the right value.
9908         (setCursor): add check if row->previous exists!
9909
9910         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9911         an old float_type as this was the case in the old code!
9912
9913         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9914
9915         * BufferView2.C (showLockedInsetCursor): use iy
9916         (fitLockedInsetCursor): ditto
9917
9918         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9919         locked insets as there we have the right value now.
9920
9921         * lyxcursor.C: added iy_ variable and iy functions to set to the
9922         baseline of cursor-y of the locked inset.
9923
9924         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9925         (setCursor): fixed for insets which need a full row.
9926
9927         * text.C (rowLastPrintable): don't ignore the last space when before
9928         an inset which needs a full row.
9929         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9930         as last character of a row when before a inset which needs a full row.
9931
9932 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9933
9934         * version.C.in: update date
9935
9936         * text2.C (fullRebreak): try to always return true and see what
9937         happens...
9938
9939 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9940
9941         * MenuBackend.C (expand): use Floating::listName
9942
9943         * FloatList.C (FloatList): add listName argument to the built-in
9944         floats
9945
9946         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9947         text associated with the float.
9948
9949 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9950
9951         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9952
9953 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9954
9955         * ShareContainer.h: add a couple of missing typenames.
9956
9957 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9958
9959         * lyxrc.C (getDescription): use _() correctly rather than N_().
9960
9961 2002-03-28  Herbert Voss  <voss@lyx.org>
9962
9963         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9964         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9965
9966 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9967
9968         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9969         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9970
9971 2002-03-29  Juergen Vigna  <jug@sad.it>
9972
9973         * lyxfunc.C (dispatch): add a missing fitCursor call.
9974
9975         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9976         it was scrolled by a cursor move, so return the bool status.
9977
9978         * BufferView.C (fitCursor): return the bool flag also to the outside
9979         world as this is needed.
9980
9981         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9982
9983         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9984         call the edit() as it is not needed (and wrong) IMO.
9985         (workAreaButtonPress): set the screen_first variable before evt.
9986         unlock the inset as this may change screen_first and then we have
9987         a wrong y position for the click!
9988
9989 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * MenuBackend.C (expand): another translation that I missed
9992
9993 2002-03-28  Juergen Vigna  <jug@sad.it>
9994
9995         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9996
9997         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9998
9999 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10000
10001         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10002
10003         * MenuBackend.C (expand): fix export/view/update when there is no
10004         document open.
10005
10006 2002-03-27  Herbert Voss  <voss@lyx.org>
10007
10008         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10009         and text%
10010
10011 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10012
10013         * bufferview_funcs.C (currentState): only show paragraph number
10014         for is DEVEL_VERSION is set.
10015
10016         * lyxfunc.C (dispatch): put warning in INFO channel
10017
10018         * MenuBackend.C (expand): translate the name of floats
10019
10020         * FloatList.C (FloatList): mark the float names for translation
10021
10022         * converter.C (convert): use LibScriptSearch
10023
10024 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10025
10026         * MenuBackend.C (defaults): fix default menu (we might as well get
10027         rid of it...)
10028
10029 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10030
10031         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10032         directory.
10033
10034 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * lyxvc.C: reorder includes.
10037
10038 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10041           properly
10042
10043 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * CutAndPaste.C: change layouts earlier on paste
10046           to avoid crashing when calling getFont()
10047
10048 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10049
10050         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10051         irritating #error.
10052
10053 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10054
10055         * WorkArea.C: remove 'Pending' debug message.
10056
10057         * most files: ws cleanup
10058
10059         * buffer.[Ch]: ws changes
10060
10061         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10062
10063 2002-03-21  Juergen Vigna  <jug@sad.it>
10064
10065         * tabular.C (SetMultiColumn): collapse also the contents of the
10066         cells and set the last border right. Added a Buffer const * param.
10067
10068 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10069
10070         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10071         linking or not.
10072
10073 2002-03-19  Juergen Vigna  <jug@sad.it>
10074
10075         * text2.C (clearSelection): reset also xsel_cache.
10076
10077         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10078         where it needs to be called (John tells us to do so too :)
10079         (selectionLost): reset sel_cache.
10080
10081         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10082
10083 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10084
10085         * text2.C (setCursorIntern): put debuging code in INSETS channel
10086
10087 2002-03-19  André Pönitz <poenitz@gmx.net>
10088
10089         * lyxfunc.C: tiny whitespace change
10090
10091 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10092
10093         * ToolbarDefaults.C (init):
10094         * LyXAction.C (init):
10095         * commandtags.h:
10096         * BufferView_pimpl.C (Dispatch):
10097         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10098
10099 2002-03-19  Allan Rae  <rae@lyx.org>
10100
10101         * exporter.C (Export): removeAutoInsets before doing anything else.
10102         While I've just introduced a dependency on BufferView this really is
10103         the best place to clean the buffer otherwise you need to cleanup in
10104         a dozen places before calling export or cleanup in a dozen functions
10105         that export calls.
10106
10107         * converter.C (runLaTeX):
10108         (scanLog): Better handling of removeAutoInsets and screen updates.
10109
10110         * lyxfunc.C (dispatch): small whitespace changes
10111
10112 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10113
10114         * WorkArea.C (C_WorkAreaEvent): return a value.
10115         (event_cb): return 1 if we handled the event, 0 otherwise.
10116
10117         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10118
10119 2002-03-18  Juergen Vigna  <jug@sad.it>
10120
10121         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10122         (GetAdditionalWidth): ditto.
10123         (RightLine): ditto.
10124         (LeftLine): ditto.
10125
10126         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10127         inset if we're there actually (probably not used right now but this
10128         is the direction to go for unifying code).
10129         (paste): disable code to clear the selection.
10130
10131         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10132         inside an InsetText and move the check further up as it is in the
10133         wrong place.
10134
10135         * text2.C (pasteSelection): set a selection over the pasted text.
10136
10137 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10138
10139         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10140         and libgraphics to build on Cygwin.
10141
10142 2002-03-15  Juergen Vigna  <jug@sad.it>
10143
10144         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10145         inserting an Inset into the paragraph. I know this is not the best
10146         fix but we already use current_view in CutAndPaste so we will remove
10147         all of it's using at the same time.
10148
10149         * buffer.C (sgmlError): deactivated function till it is rewritten in
10150         the right mode, now it can create problems.
10151
10152         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10153         before accessing it.
10154
10155 2002-03-14  Juergen Vigna  <jug@sad.it>
10156
10157         * undo_funcs.C (textHandleUndo): do the right thing when updating
10158         the inset after the undo/redo.
10159
10160         * text2.C (setCursor): just some testcode for #44 not ready yet.
10161
10162         * undo_funcs.C (textHandleUndo): set the next() and previous()
10163         pointers of the paragraph to 0 before deleting otherwise we have
10164         problems with the Paragraph::[destructor].
10165
10166         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10167         on a paragraph insertion.
10168
10169 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10170
10171         * buffer.C (asciiParagraph): use += operator for char append to
10172         string.
10173
10174         * paragraph.C (getFontSettings): compare >= not just >
10175         (highestFontInRange): ditto
10176         (setFont): ditto
10177
10178 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10179
10180         * paragraph.C: change several algorithm to be more appripriate for
10181         the problem domain. This is lookip in FontList and in the InsetList.
10182
10183 2002-03-13  André Pönitz <poenitz@gmx.net>
10184
10185         * commandtags.h:
10186         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10187
10188 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * commandtags.h:
10191         * LyXAction.C:
10192         * lyxfunc.C:
10193         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10194
10195 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10196
10197         * Painter.C (display): anon helper function, adjust code for this
10198         change.
10199         (pixmap): remove function.
10200
10201         * Painter.h: remove private display variable.
10202
10203         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10204
10205 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10206
10207         * WorkArea.[Ch]: remove figinset_canvas cruft.
10208
10209 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10210
10211         * lyxtextclass.C (operator): add one item cache optimization.
10212
10213         * bufferlist.h: doxy changes
10214
10215         * bufferlist.C: ws changes
10216
10217         * DepTable.[Ch] (ext_exist): place const in the right spot.
10218
10219         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10220         call resizeInsets.
10221         (workAreaExpose): call resizeInsets when the with BufferView changes.
10222         (Dispatch): adjust for protectedBlank removal
10223         (specialChar): call updateInset if the insert went ok.
10224
10225         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10226         specialChar instead.
10227
10228         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10229
10230         * BufferView.h: doxy change
10231
10232         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10233
10234         * lyxtextclass.C (operator[]): remove non-const version
10235         (defaultLayout): remove non-const version
10236
10237 2002-03-12  Juergen Vigna  <jug@sad.it>
10238
10239         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10240         did resize the LyXText too.
10241
10242         * buffer.C (readLyXformat2): set layout information on newly allocated
10243         paragraphs.
10244
10245         * tabular.C (OldFormatRead): set layout information on the paragraph.
10246
10247 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10248
10249         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10250
10251 2002-03-11  Juergen Vigna  <jug@sad.it>
10252
10253         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10254         plainly wrong.
10255         (resizeCurrentBuffer): force also the insets to resize themselfes.
10256         (moveCursorUpdate): fixed up for InsetText.
10257
10258 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10259
10260         * commandtags.h:
10261         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10262         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10263         value of Dialogs::tooltipsEnabled().
10264         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10265
10266 2002-03-08  Juergen Vigna  <jug@sad.it>
10267
10268         * BufferView_pimpl.C (updateInset): update inset inside inset also
10269         if it isn't inside theLockingInset().
10270
10271 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10272
10273         * buffer.C (asciiParagraph): redo some of the word and line length
10274         handling.
10275         (getLists): look for Caption instead of caption.
10276
10277 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * buffer.C (Buffer): initialize niceFile to true
10280         (makeLaTeXFile):
10281         (makeLinuxDocFile):
10282         (makeDocBookFile): make sure niceFile is true on exit
10283
10284 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10285
10286         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10287
10288 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10289
10290         * LyXSendto.C: remove.
10291         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10292         * lyx_gui.C: remove now-redundant comment.
10293         * ColorHandler.h: remove forward declaration of class WorkArea.
10294         * lyxfunc.C: remove #include "WorkArea.h".
10295
10296 2002-03-07  Juergen Vigna  <jug@sad.it>
10297
10298         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10299         got moved away with the DEPM and also set the inset_owner always
10300         right which before could have been omitted.
10301
10302 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10303
10304         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10305         wanted layout is not found.
10306
10307 2002-03-07  Juergen Vigna  <jug@sad.it>
10308
10309         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10310
10311 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10312
10313         * paragraph.C (breakParagraph): use default layout not layout of
10314         prev paragraph.
10315         (Paragraph): clear ParagraphParameters.
10316
10317 2002-03-06  Juergen Vigna  <jug@sad.it>
10318
10319         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10320         otherwise it would not be a valid lenght. Fixed a special case in
10321         the minipage compatibility read where we end the document with a
10322         minipage.
10323
10324         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10325         was set as it could be 0 for InsetTexts first entry.
10326
10327 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10328
10329         * paragraph.C (writeFile): if layout is empty write out
10330         defaultLayoutName().
10331
10332         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10333         file without named layout we set layout to defaultLayoutName().
10334
10335 2002-03-06  Juergen Vigna  <jug@sad.it>
10336
10337         * CutAndPaste.C (copySelection): set layout for new paragraph.
10338
10339         * text.C (prepareToPrint): leave ERT inset left aligned
10340         (leftMargin): don't indent paragraphs inside ERT insets
10341
10342 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * paragraph.C (breakParagraph): dont call clear do the work manually
10345
10346         * paragraph.[Ch] (clear): remove function
10347
10348 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10349
10350         * paragraph.C (Paragraph): dont call clear, the work has already
10351         been done.
10352
10353         * lyxtextclass.C (operator): assert if n is empty
10354
10355         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10356         work manually instead.
10357
10358 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * BufferView_pimpl.C: protect selectionLost against text == 0
10361
10362 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10363
10364         * text.C (breakParagraph): fix a setting layout to '0' problem.
10365
10366 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10367
10368         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10369         final location of file, for the included files, and graphics.
10370
10371 2002-03-05  Juergen Vigna  <jug@sad.it>
10372
10373         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10374
10375 2002-03-04  Juergen Vigna  <jug@sad.it>
10376
10377         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10378
10379         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10380         last column of multicolumn cells.
10381         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10382
10383 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10384
10385         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10386         file if it doesn't go to a temporary file.
10387
10388         * buffer.C (sgmlOpenTag):
10389         (sgmlCloseTag):  remove extra newline insertion.
10390
10391 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * text.C (getRowNearY): comment out debug msg
10394
10395 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * text2.C: first -> first_y
10398
10399         * text.C (getRowNearY): add some attemts at a possible
10400         optimization, not working.
10401
10402         * tabular.[Ch]: add BufferParams to several function so that newly
10403         created paragraph can be initialized to he default layotu for the
10404         buffers textclass.
10405
10406         * tabular-old.C (ReadOld): add buf->params to call of Init
10407
10408         * screen.C: rename text->first to text->first_y
10409
10410         * paragraph.C (breakParagraph): always set layout in the broken
10411         paragraph
10412
10413         * lyxtextclass.C (Read): remove lowercase
10414         (hasLayout): ditto
10415         (operator): ditto
10416         (delete_layout): ditto
10417
10418         * lyxtext.h: rename first -> first_y
10419
10420         * lyxlayout.C (Read): remove lowercase
10421         (name): ditto
10422         (setName): ditto
10423         (obsoleted_by): ditto
10424
10425         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10426
10427         * buffer.C (insertErtContents): add params are to InsetERT
10428         (parseSingleLyXformat2Token): add code to check if a paragraphs
10429         layout really exist.
10430         (parseSingleLyXformat2Token): add params to several inset
10431         constructors
10432         (asciiParagraph): remove lowercase, do the layout comparisons with
10433         no_case
10434
10435         * BufferView_pimpl.C (cursorNext): first -> first_y
10436         (resizeCurrentBuffer): first -> first_y
10437         (updateScrollbar): first -> first_y
10438         (scrollCB): first -> first_y
10439         (workAreaMotionNotify): first -> first_y
10440         (workAreaButtonPress): first -> first_y
10441         (checkInsetHit): first -> first_y
10442         (cursorPrevious): first -> first_y
10443         (cursorNext): first -> first_y
10444         (Dispatch): add buffer_->params to severl inset contructors
10445
10446 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10447
10448         * lyxlayout.C (Read): remove some debug info that I forgot.
10449
10450         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10451         clean up the code slightly.
10452         (makeLinuxDocFile): ditto
10453         (makeDocBookFile): ditto
10454
10455         * text2.C: layout as string
10456
10457         * text.C: layout as string
10458
10459         * paragraph_pimpl.C: layout as string
10460
10461         * paragraph.[Ch]: layout as string
10462
10463         * lyxtextclasslist.[Ch]: layout as string
10464
10465         * lyxtextclass.[Ch]: layout as string
10466
10467         * lyxtext.h: layout as string
10468
10469         * lyxlayout.[Ch]: layout as string
10470
10471         * lyx_cb.C: layout as string
10472
10473         * bufferview_funcs.C: layout as string
10474
10475         * bufferparams.C: layout as string
10476
10477         * buffer.C: layout as string
10478
10479         * LyXView.[Ch]: layout as string
10480
10481         * LaTeXFeatures.[Ch]: layout as string
10482
10483         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10484
10485         * BufferView_pimpl.C: change current_layout to string, remove
10486         lyx::layout_type.
10487         (Dispatch):
10488         (smartQuote):
10489         (insertInset):
10490         (workAreaButtonRelease): layout as string
10491
10492         * BufferView2.C (unlockInset): adjust
10493
10494         * vspace.C (asLatexCommand): use an explict temp variable.
10495
10496 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * Makefile.am: use FRONTEND_*
10499
10500 2002-03-01  Juergen Vigna  <jug@sad.it>
10501
10502         * tabular.C (SetWidthOfMulticolCell): changed to something better
10503         I hope but still work in progress.
10504         (recalculateMulticolumnsOfColumn): renamed function from
10505         recalculateMulticolCells as it is more appropriate now.
10506         (SetWidthOfCell): calculate multicols better.
10507
10508 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10509
10510         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10511
10512         * lyxfunc.C (processKeySym): print sequence also if it is
10513         `deleted' (complete)
10514
10515         * kbsequence.C (print): print sequence even if it is deleted
10516         (complete would be a better word, actually).
10517
10518         * lyxfunc.C (dispatch): print complete options after a prefix key
10519
10520         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10521
10522 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10523
10524         * text2.C (setCharFont): eliminate setCharFont code duplication.
10525
10526 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10527
10528         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10529         LFUN_TABULAR_FEATURE (bug #177)
10530
10531 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10532
10533         * Makefile.am: remove figure.h
10534
10535 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10536
10537         * Bufferview_pimpl.C:
10538         * CutAndPasteC:
10539         * LaTeX.C:
10540         * LyXSendto.C:
10541         * buffer.C:
10542         * bufferlist.C:
10543         * converter.C:
10544         * language.C:
10545         * lyxfunc.C:
10546         * lyxvc.C:
10547         * paragraph.C:
10548         * text.C:
10549         * text2.C: remove #include "lyx_gui_misc.h".
10550
10551         * LaTeX.C: added #include <cstdio>
10552
10553 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10554
10555         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10556         that the paragraph following this one can have.
10557
10558         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10559
10560         * vspace.C (asLatexCommand): fix bogus gcc warning
10561
10562         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10563
10564 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10565
10566         * text2.C (setLayout): get rid of redundant code
10567
10568 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10569
10570         * text2.C (incDepth): make sure depth cannot be increased beyond
10571         reasonable values.
10572
10573 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10574
10575         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10576         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10577
10578         * PainterBase.h (image):
10579         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10580         a LyXImage const *.
10581
10582 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10583
10584         * BufferView.C:
10585         * BufferView.h:
10586         * BufferView_pimpl.C:
10587         * BufferView_pimpl.h:
10588         * LaTeXFeatures.C:
10589         * LyXAction.C:
10590         * LyXView.C:
10591         * Makefile.am:
10592         * UpdateList.h:
10593         * UpdateList.C:
10594         * buffer.C:
10595         * figure.h:
10596         * figureForm.C:
10597         * figureForm.h:
10598         * figure_form.C:
10599         * figure_form.h:
10600         * lyx_cb.C:
10601         * lyx_gui.C:
10602         * lyx_gui_misc.C:
10603         * lyxfunc.C:
10604         * sp_base.h:
10605         * sp_ispell.h:
10606         * sp_pspell.h:
10607         * sp_spell.C: remove fig inset, and the crap house of
10608           cards that follows it
10609
10610 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10611
10612         * Makefile.am:
10613         * lyxserver.C:
10614         * os2_defines.h:
10615         * os2_errortable.h:
10616         * nt_defines.h: move .h into support/
10617
10618         * vms_defines.h: remove
10619
10620         * WorkArea.C: add space in debug output
10621
10622         * text2.C:
10623         * paragraph.C:
10624         * buffer.C: add WITH_WARNINGS
10625
10626         * vc-backend.h:
10627         * vc-backend.C:
10628         * bufferlist.C: s/retrive/retrieve/, add docs
10629
10630         * vspace.h:
10631         * vspace.C:
10632         * kbmap.h:
10633         * lyxlength.h:
10634         * lyxgluelength.h:
10635         * length_common.h:
10636         * chset.h:
10637         * chset.C: add docs
10638
10639         * lyxgui.C: add ID to X error handler
10640
10641         * lyxtestclass.c: fix typo
10642
10643 2002-02-26  Juergen Vigna  <jug@sad.it>
10644
10645         * tabular_funcs.C (write_attribute): changed so that some default
10646         attributes are not written at all.
10647         (getTokenValue): set default values before trying to read the
10648         value so we have the return value always set as default if we don't
10649         find the token we search for.
10650
10651         * tabular.C (Write): write bools as bools not as strings!
10652
10653 2002-02-22  Juergen Vigna  <jug@sad.it>
10654
10655         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10656         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10657
10658         * text.C (leftMargin): don't add an indent for paragraphs inside
10659         tabular cells (fix #208).
10660
10661 2002-02-21  José Matos  <jamatos@fep.up.pt>
10662
10663         * tabular.C (docBook): fixed support for long tables.
10664
10665 2002-02-20  Juergen Vigna  <jug@sad.it>
10666
10667         * text2.C (getFont): get the drawing font of the Inset if this
10668         paragraph is inside an inset (only important for InsetERT for now).
10669
10670         * buffer.C (insertErtContents): use new lanugage params in ERT
10671         constructor.
10672
10673         * CutAndPaste.C: commenting out seemingly uneeded code.
10674
10675 2002-02-19  Allan Rae  <rae@lyx.org>
10676
10677         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10678         Iterators might be simple to use but they also get invalidated.
10679         (removeAutoInsets): renamed saved cursor tracking variables and added
10680         some comments to clarify what everything does.
10681
10682 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10683
10684         * Chktex.C:
10685         * LaTeX.C:
10686         * LyXSendto.C:
10687         * converter.C:
10688         * lyx_cb.C:
10689         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10690         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10691
10692         * lyxfunc.C:
10693         * vc-backend.h: remove #include "support/syscall.h"
10694
10695         * LaTeX.C:
10696         * LyXSendto.C:
10697         * converter.C: rearrange #includes in Lars' approved fashion.
10698
10699         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10700         forward declare class Timeout in the header file.
10701
10702         * XFormsView.C: changes due to the above.
10703
10704         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10705         similar to LyXView.
10706
10707         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10708         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10709
10710 2002-02-18  José Matos  <jamatos@fep.up.pt>
10711
10712         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10713         insets contents.
10714
10715 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10716
10717         * a lot of small ws changes
10718         * add a lot of using std::XXX
10719         * use std construcs some places where approp.
10720         * use some exisint stuff from lyxfunctional where approp.
10721         * Make file changes to use partial linking (lets test this now...)
10722
10723 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10724
10725         * Chktex.C:
10726         * buffer.C:
10727         remove #include "support/syscontr.h" as it's redundant. Always has been.
10728
10729         * Chktex.C:
10730         * LaTeX.C:
10731         * LyXSendto.C:
10732         * converter.C:
10733         * lyx_cb.C:
10734         * vc-backend.C:
10735         change Systemcalls::System to Systemcalls::Wait and
10736         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10737         No change of functionality, just reflects the stripped down Systemcalls
10738         class.
10739
10740 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10741
10742         * debug.[Ch]: add a GRAPHICS type to the enum.
10743
10744 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10745
10746         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10747
10748         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10749         there is an inset.
10750
10751 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10752
10753         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10754         match the changes below.
10755
10756         * text2.C (toggleInset): if there is not editable inset at cursor
10757         position, try to see if cursor is _inside_ a collapsable inset
10758         and close it.
10759
10760 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10761
10762         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10763         document menu has a nice checkbox
10764
10765 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10766
10767         * lyxlength.C (asLatexString): change PW to output as percent of
10768         \textwidth.
10769
10770         * lengthcommon.C: change '%' to 't%'
10771
10772         * lyxfunc.C (dispatch): a few comments from Martin
10773
10774 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * WorkArea.h:
10777         * WorkArea.C:
10778         * BufferView_pimpl.h:
10779         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10780           the X selection.
10781
10782 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * vspace.C (inPixels): fix compiler warning
10785
10786 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * lyxfunc.C (getStatus): fix status message for disabled commands.
10789
10790 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * BufferView_pimpl.C: fix crash on close buffer
10793         during selection (#227)
10794
10795 2002-01-27  Herbert Voss  <voss@lyx.org>
10796
10797         * buffer.C: link old Figure to new graphic inset
10798
10799 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10800
10801         * FontLoader.C (getFontinfo): Change the latex font names in order
10802         to match the names of type1inst.
10803
10804 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10805
10806         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10807
10808         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10809         (extchanged): ditto
10810         (ext_exist): ditto
10811         (remove_files_with_extension): ditto
10812         (remove_file): ditto
10813         (write): ditto
10814
10815         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10816         document is smaller than the work area height. Do not initialize
10817         static variables to 0.
10818
10819 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10820
10821         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10822
10823         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10824         LFUN_LAYOUT_PARAGRAPHS.
10825
10826         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10827         tabular. It is possible to provide a possible cell, which will
10828         typically be the actcell from the corresponding insettabular
10829
10830         * lyxfunc.C (getStatus): small cleanup; disable
10831         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10832         true
10833
10834 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10835
10836         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10837
10838         * paragraph.C (startTeXParParams):
10839         (endTeXParParams): new methods. The LaTeX code to
10840         start/end paragraph formatting
10841         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10842         empty (fixes bug #200)
10843
10844         * vspace.C (inPixels): adapt to the change below
10845         (inPixels): [later] more cleanups (remove unused variables)
10846
10847         * lyxlength.C (inPixels): change to use a width and a height as
10848         parameter.
10849
10850 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10851
10852         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10853         Replaced with \paperwidth
10854
10855         * DepTable.C (insert): add std:: qualifier
10856
10857 2002-01-18  Allan Rae  <rae@lyx.org>
10858
10859         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10860         updated also?
10861
10862         * text.C (drawInset): Turned out I didn't know enough about how
10863         rebreaking worked.  This fixes most of the redraw problems.  I see
10864         an occasional cursor trail when a line is broken now and the cursor
10865         placement can seem out by a few pixels also after a rebreak.
10866
10867 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10868
10869         * buffer.C (parseSingleLyXformat2Token): update because minipage
10870         width is now a LyXLength
10871
10872         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10873
10874         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10875         math insets
10876
10877 2002-01-17  Juergen Vigna  <jug@sad.it>
10878
10879         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10880
10881         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10882         is set correctly and the inset is updated correctly.
10883
10884 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10885
10886         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10887         the beginning of the loop.
10888
10889 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10890
10891         * lyxrc.C: improve help for use_scalable_fonts
10892
10893 2002-01-17  Allan Rae  <rae@lyx.org>
10894
10895         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10896
10897 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10898
10899         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10900         make sure to set their inset_owner to the right value (bug #171)
10901
10902 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10903
10904         * DepTable.h
10905         * DepTable.C: Implement mtime checking to reduce time spent doing
10906         CRCs.
10907
10908 2002-01-16  Juergen Vigna  <jug@sad.it>
10909
10910         * tabular.C (GetAdditionalHeight): one of error fixed.
10911
10912         * lyxrc.C (output): small fix in writing use_pspell.
10913
10914 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10915
10916         * sp_base.h: #include LString.h
10917
10918 2002-01-16  Allan Rae  <rae@lyx.org>
10919
10920         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10921         Can someone check this please?
10922
10923         * text.C (drawInset): It was possible that p.row would be removed by
10924         breakAgainOneRow upsetting a few other settings.  There may be another
10925         small tweak possible by setting need_break_row = 0 when p.row has been
10926         removed but I don't know enough about the logic here.
10927
10928 2002-01-15  Allan Rae  <rae@lyx.org>
10929
10930         * text.C (insertChar): removed conditional truism.
10931
10932         * BufferView2.C (removeAutoInsets): More tweaks.
10933         cur_par_prev could be a stray pointer.  Check for trailing empty line
10934         in case last line was cur_par and only had an error inset on it.
10935
10936 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10937
10938         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10939         absolute
10940
10941         * vc-backend.C (most methods):
10942         * exporter.C (Export):
10943         * converter.C (convert):
10944         (runLaTeX):
10945         * LyXSendto.C (SendtoApplyCB):
10946         * lyxfunc.C (dispatch):
10947         (menuNew):
10948         (open):
10949         (doImport):
10950         * lyx_cb.C (AutoSave):
10951         (InsertAsciiFile):
10952         * BufferView_pimpl.C (MenuInsertLyXFile):
10953         * buffer.C (runChktex): use Buffer::filePath().
10954
10955         * buffer.h: rename filename to filename_; rename filepath to
10956         filepath_ and make it private
10957         (filePath): new method
10958
10959         * buffer.C (writeFile): use fileName()
10960         (getLatexName):
10961
10962         * lyx_main.C (init): fix starting  of LyX when the binary is a
10963         link from so,ewhere else.
10964
10965         * minibuffer.C: include <cctype> for isprint
10966
10967 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10968
10969         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10970         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10971         name clash with InsetCollapsable's width function.
10972
10973 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * lastfiles.C: include <iterator>
10976
10977 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10978
10979         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10980         std::count.
10981
10982         * buffer.C (makeLaTeXFile): ditto.
10983         Also make loop operation more transparent.
10984
10985 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10986
10987         * ToolbarDefaults.C: remove trailing comma closing namespace.
10988
10989         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10990
10991         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10992         as in WorkArea.
10993
10994         * trans.C (Load): comment out unused variable, allowed.
10995
10996 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10997
10998         * minibuffer.[Ch] (append_char): new method to recieve input from the
10999         drop-down completion browser. If a key was pressed, then recieve this
11000         char and append it to the existing string.
11001         (peek_event): modify the positioning data passed to the completion
11002         browser so that it can be placed above the minibuffer rather than below.
11003 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11004
11005         * LyXAction.C (init): alloe error-next for readonly documents.
11006
11007         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11008         count.
11009
11010 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11011
11012         * bufferlist.C (readFile): create the buffer _after_ checking that
11013         the file exists.
11014
11015         * lyxfunc.C (verboseDispatch): fix handling of arguments
11016
11017         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11018
11019         * lyxrc.C: use string::erase() instead of initializing to "".
11020
11021
11022 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11023
11024         * BufferView_pimpl.h:
11025         * BufferView_pimpl.C:
11026         * WorkArea.h:
11027         * WorkArea.C:
11028         * text2.C: tell X when we have made a selection for copying
11029
11030 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11031
11032         * BufferView_pimpl.C (MenuInsertLyXFile):
11033         * lyxfunc.C (menuNew):
11034         (open):
11035         (doImport): add shortcuts to directory buttons
11036
11037         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11038         open a float)
11039
11040         * lyxfunc.C (setStatusMessage):
11041         (getStatusMessage): new methods
11042         (getStatus):use setStatusMessage instead of setErrorMessage
11043         (dispatch): when function is disabled, set error message here
11044         [instead of in getStatus previously]
11045
11046         * BufferView_pimpl.C (workAreaButtonRelease): update
11047         toolbar/menubar here too.
11048
11049 2002-01-13  Allan Rae  <rae@lyx.org>
11050
11051         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11052         Now seems indestructible.  Remaining task is to audit all other
11053         code affected by deleteEmptyParagraphMechanism.  One small quirk
11054         left is that an empty document with an error in the preamble can
11055         be made to report an error but no error box appears.  I don't know
11056         where it goes.
11057         (removeAutoInsets): Improved comments.
11058
11059 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11060
11061         * Thesaurus.h:
11062         * Thesaurus.C: update for Aiksaurus 0.14
11063
11064 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * text2.C (firstParagraph): removed member function, all uses
11067         replaces with ownerParagraph
11068         (redoParagraphs): here
11069         (updateInset): here
11070         (toggleAppendix): here
11071         * BufferView2.C (insertErrors): here
11072         (setCursorFromRow): here
11073
11074 2002-01-13  Allan Rae  <rae@lyx.org>
11075
11076         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11077         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11078         There is still a way to segfault this although you may have to do this
11079         multiple times: Have an InsetERT with an unknown command in it.
11080         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11081         <down-arrow>, <Enter> again, View->DVI, BANG!
11082
11083         * text2.C (setCursor):
11084         (deleteEmptyParagraphMechanism):
11085         * lyxtext.h (setCursor):
11086         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11087         Making use of the return value may help fix other bugs.
11088
11089 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11090
11091         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11092
11093         * LyXView.C (updateMenubar): call MenuBar::update here
11094         (updateToolbar): but not here
11095         (showState): do not update toolbar/menubar
11096
11097         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11098         should need to care about that.
11099
11100         * lyxfunc.C (verboseDispatch): simplify a bit
11101         (getStatus): have a version which takes a pseudoaction, and
11102         another which requires a (kb_action,string).
11103
11104         * LyXAction.C (retrieveActionArg): make it work also when action
11105         is not a pseudo-action.
11106         (getActionName): simplify a bit
11107         (helpText):
11108
11109 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * lyxfunc.C (verboseDispatch): new families of methods with
11112         several ways to specify a command and a bool to indicate whether
11113         the command name and shortcut should be displayed in minibuffer
11114         (eventually, we could extend that to a finer bitmask like
11115         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11116         (dispatch): the pristine dispatch command which just, well,
11117         dispatchs! Note it still sets its result to minibuffer; I'm not
11118         sure we want that.
11119
11120         * lyxfunc.h: remove setHintMessage
11121
11122         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11123
11124 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11125
11126         * BufferView_pimpl.C (specialChar): delete new inset if we have
11127         not been able to insert it.
11128
11129         * kbmap.C: revert to using int instead of kb_action, since all we
11130         are dealing with is pseudo-actions.
11131
11132         * LyXAction.C (searchActionArg): change to return int instead of
11133         kb_action, since the result is a pseudoaction.
11134
11135 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11136
11137         * buffer.C (insertErtContents): Fix (partially) the font bug.
11138
11139 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11140
11141         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11142         as the other one is broken on my machine!
11143
11144 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11145
11146         * commandtags.h:
11147         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11148
11149 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11150
11151         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11152         reflect their actual use. Provide compatibility code for older lyxrc
11153         files.
11154
11155         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11156         FL_NORMAL_STYLE.
11157         change names of popup font variables in line with the changes to lyxrc.C
11158
11159 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11160
11161         * buffer.C (asciiParagraph): avoid outputing a word twice after
11162         an inset.
11163
11164         * lyxrc.C (getDescription): document that document_path and
11165         template_path can be empty.
11166
11167 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11168
11169         * LaTeXFeatures.C (getMacros):
11170         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11171
11172         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11173
11174         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11175         getPackages.
11176         (getPackages): rename feature "floats" to "float". Use an array to
11177         iterate over 'simple' features (i.e. just a \usepackage). Add
11178         handling of "amsmath" (renamed from "amsstyle").
11179
11180 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11181
11182         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11183         features list.
11184
11185 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11188         FuncStaus::FuncStatus & FuncStaus::some_method().
11189
11190 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11191
11192         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11193         of the func_satus stuff. Edited and massaged in various ways by
11194         JMarc.
11195
11196         * lyxfunc.C (getStatus): use FuncStatus
11197
11198 2002-01-08  Juergen Vigna  <jug@sad.it>
11199
11200         * text.C (nextBreakPoint): use function Inset::isChar().
11201
11202         * paragraph.C (TeXOnePar): use function
11203         Inset::forceDefaultParagraphs.
11204
11205         * buffer.C (latexParagraphs): use function
11206         Inset::forceDefaultParagraphs.
11207
11208 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11209
11210         * lyx_gui.C (init): set the style of the menu popups to
11211         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11212
11213 2002-01-07  Juergen Vigna  <jug@sad.it>
11214
11215         * text.C (setHeightOfRow): small fix
11216         (prepareToPrint): don't look at alignment if we don't have the place
11217         for doing it.
11218
11219 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11220
11221         * box.C: New file. Move the Box methods and functions out of box.h,
11222         following Lars' suggestion.
11223
11224 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11225
11226         * box.h: #include "support/LOstream.h", needed for inlined function.
11227
11228         * lyxtextclass.C:
11229         * lyxtextclasslist.C: added some using std declarations.
11230
11231 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * box.h: make signed dimensions to allow insets wider than
11234           the screen (bug #162)
11235
11236         * BufferView_pimpl.C: add some insetHit debug
11237
11238 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * vc-backend.C: add FIXME
11241
11242 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11243
11244         * lyxfunc.C (getStatus): enable code for showing math font status
11245         in toolbar/menu.
11246
11247 2002-01-07  Juergen Vigna  <jug@sad.it>
11248
11249         * text.C (nextBreakPoint): removed debug output not needed anymore.
11250
11251 2002-01-06  Juergen Vigna  <jug@sad.it>
11252
11253         * text.C (nextBreakPoint): fixed up this function we had this bug
11254         since ever but now hopefully we break row better.
11255         (insertChar): we have to check if an inset is the next char as it
11256         could now happen that a large inset is causing a break.
11257
11258 2002-01-05  Juergen Vigna  <jug@sad.it>
11259
11260         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11261         if it doesn't like to be drawed.
11262
11263 2002-01-04  Juergen Vigna  <jug@sad.it>
11264
11265         * BufferView2.C (lockInset): forgot to set a cursor.
11266
11267         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11268
11269 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11270
11271         * FormMathsPanel.C:
11272         * FormMathsPanel.h
11273         * MathsSymbols.C:
11274         * form_maths_panel.C:
11275         * form_maths_panel.h:
11276         * form_maths_panel.fd: implemented sub- and super- buttons in math
11277         panel.
11278
11279         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11280         (or ^ space) to be used as in TeX (req'd by André).
11281
11282         * lyxfunc.C: Allow ^ and _ again to be used both as
11283         super/subscript (mathed) and as themselves (in text).
11284
11285 2002-01-03  Allan Rae  <rae@lyx.org>
11286
11287         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11288         "LyX" or the filename of the current buffer if it has one.  This is a
11289         modified form of John Levon's patch.
11290
11291         * XFormsView.C (setWindowTitle): also set icon title.
11292
11293         * LyXView.h (setWindowTitle): signature changed.
11294         * XFormsView.h (setWindowTitle): ditto.
11295
11296 2002-01-02  Juergen Vigna  <jug@sad.it>
11297
11298         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11299
11300 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * screen.C (topCursorVisible): introduce a temp var for
11303         text->cursor.row(), handle the case where this row is null. (kindo
11304         hachish)
11305
11306         * text2.C (setCursor): add a couple of asserts.
11307
11308         * paragraph.h (inset_iterator): add -> operator
11309
11310         * paragraph.[Ch] (autoDeleteInsets): remove member function
11311
11312         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11313         cursor pos correctly and handle inset deletion by itself.
11314         (insertErrors): move iterator declaration out of for expression
11315
11316         * lyxtextclass.C: add <algorithm>
11317
11318         * Makefile.am: added the new files to sources, removed layout.C
11319
11320         * layout.C: removed file
11321
11322         * layout.h: remove LYX_DUMMY_LAYOUT
11323
11324         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11325         layout.
11326
11327         * lyxlayout.[Ch]:
11328         * lyxtextclass.[Ch]:
11329         * lyxtextclasslist.[Ch]: new files
11330
11331         * include order changes to a lot of files, also changes because of
11332         the six new files.
11333
11334 2001-12-27  Juergen Vigna  <jug@sad.it>
11335
11336         * buffer.C (asciiParagraph): more fixes.
11337
11338         * tabular.C (ascii): make ascii export support export of only the
11339         data separated by a column-delimiter.
11340         (ascii): better support for ascii export.
11341
11342         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11343
11344 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11345
11346         * tabular_funcs.C: use a "using std::getline" instead of the
11347         previous fix from Angus (necessary for cxx + lyxstring)
11348
11349 2001-12-24  Juergen Vigna  <jug@sad.it>
11350
11351         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11352
11353         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11354         problems. First check a minipage also if we have some ert-contents
11355         (not only on par->size(), second set the right depth of the paragraph
11356         on the relink to the root-paragraph-list!
11357
11358         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11359         which then did not anymore update the main paragraphs on undo/redo!
11360
11361 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11364         code. Support all font-changing funcs (even those which are not in
11365         menu currently). Support for reporting font settings in
11366         mathed (disabled until Andre provides a function on mathed's side).
11367
11368         * func_status.h (toggle): small helper function to set toggle
11369         state on a flag.
11370
11371 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11372
11373         * tabular_funcs.C: getline -> std::getline
11374
11375 2001-12-21  Juergen Vigna  <jug@sad.it>
11376
11377         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11378         accessed and could be 0 (I couldn't generate this but it seems
11379         Michael could!).
11380
11381 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11382
11383         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11384         * tabular_funcs.h: here and include iosfwd
11385
11386 2001-12-20  Juergen Vigna  <jug@sad.it>
11387
11388         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11389         inside inset but undo_par was.
11390
11391 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * Thesaurus.C: always include <config.h> in sources.
11394
11395         * Painter.h:
11396         * lyxlookup.h:
11397         * box.h: do not include <config.h> in header files
11398
11399         * text.C (paintLastRow): remove unused variable
11400
11401         * text.C (transformChar):
11402         (insertChar):
11403         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11404
11405         * Painter.C (text):
11406         * font.C (width): rewrite to use uppercase() instead of
11407         islower/toupper.
11408
11409         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11410
11411 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11412
11413         * lyxfind.C: clean up of find failure position change
11414
11415 2001-12-20  Juergen Vigna  <jug@sad.it>
11416
11417         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11418
11419         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11420         (TeXRow): added to LaTeX a single tabular row.
11421         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11422         (Latex): simplified and finally good LT-h/f support.
11423         (various_functions): just small adaptions for LT-h/f support.
11424
11425         * tabular_funcs.[hC]: added and moved here all not classfunctions
11426         of LyXTabular.
11427
11428 2001-12-19  Juergen Vigna  <jug@sad.it>
11429
11430         * tabular.[Ch]: better support for longtabular options (not finished
11431         yet!)
11432
11433 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11434
11435         * text.C (paintLastRow): use the label font instead of the font of
11436         the last character to compute the size of *_BOX. This makes more
11437         sense and avoids a crash with empty paragraphs.
11438         Use Painter::rectangle to draw EMPTY_BOX.
11439
11440 2001-12-19  Juergen Vigna  <jug@sad.it>
11441
11442         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11443         the paragraphs if the replaced paragraph is not the first one!
11444         Tried to delete not used paragraphs but does not work yet so for
11445         now it's inside #ifdef's and by default off!
11446
11447 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * MenuBackend.C: include "lyx_main.h" instead of declaring
11450         lastfiles (actually was declared as LastFiles* instead of a
11451         scoped_ptr).
11452
11453 2001-12-17  Juergen Vigna  <jug@sad.it>
11454
11455         * tabular.C (AppendColumn): applied John's fix
11456
11457 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11458
11459         * BufferView.h:
11460         * BufferView.C:
11461         * BufferView_pimpl.h:
11462         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11463
11464         * Makefile.am:
11465         * box.h: new start of class for above
11466
11467         * lyxfunc.C: ignore space-only minibuffer dispatches.
11468           Show the command name when it doesn't exist
11469
11470         * minibuffer.C: don't add empty lines to the history
11471
11472         * minibuffer.C: add a space on dropdown completion
11473
11474 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11475
11476         * text.C: fix line above/below drawing in insets
11477
11478 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11479
11480         * lyxlength.C (LyXLength): Initialize private variables.
11481
11482 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11483
11484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11485         when inserting error insets.
11486
11487 2001-12-13  Juergen Vigna  <jug@sad.it>
11488
11489         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11490         actually sometimes the before-paragraph.
11491         (setUndo): don't clear the redostack if we're not actually undoing!
11492
11493 2001-12-06  Juergen Vigna  <jug@sad.it>
11494
11495         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11496         and fixed redoing of main paragraph, so we can use it now ;)
11497
11498         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11499
11500 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11501
11502         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11503         Juergen's request
11504
11505 2001-12-13  André Pönitz <poenitz@gmx.net>
11506
11507         * undostack.[Ch]:
11508         * undo_func.C: minor cleanup
11509
11510 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11511
11512         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11513         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11514         font in urw-fonts package which is marked as -urw-fontspecific and
11515         does not work (incidentally, changing the encoding in the
11516         fonts.dir of this package to -adobe-fontspecific fixes the
11517         problem).
11518
11519         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11520         is a crash when undoing first paragraph (Juergen, please take a
11521         look). THis does not mean the undo fix is wrong, just that it
11522         uncovers problems.
11523
11524         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11525         the (Paragraph*) version when needed instead of duplicating the
11526         code.
11527
11528         * text.C (workWidth): use Inset::parOwner to find out where the
11529         inset has been inserted. This is a huge performance gain for large
11530         documents with lots of insets. If Inset::parOwner is not set, fall
11531         back on the brute force method
11532
11533         * paragraph_pimpl.C (insertInset):
11534         * paragraph.C (Paragraph):
11535         (cutIntoMinibuffer): set parOwner of insets when
11536         inserting/removing them
11537
11538         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11539
11540 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11541
11542         * commandtags.h:
11543         * LyXAction.C:
11544         * lyx_main.C:
11545         * lyxfunc.C:
11546         * mathed/formulabase.C:
11547         * mathed/math_cursor.[Ch]:
11548         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11549
11550
11551 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * lyxlength.[Ch] (operator!=): new function
11554
11555 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * text.C (workWidth): use Inset::parOwner to find out where the
11558         inset has been inserted. This is a huge performance gain for large
11559         documents with lots of insets. If Inset::parOwner is not set, fall
11560         back on the brute force method
11561
11562         * paragraph_pimpl.C (insertInset):
11563         * paragraph.C (Paragraph):
11564         (cutIntoMinibuffer): set parOwner of insets when
11565         inserting/removing them
11566
11567         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11568
11569 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11570
11571         * tabular-old.C (getTokenValue):
11572         * tabular.C (getTokenValue):
11573         (write_attribute): new versions for LyXLength
11574         (everywhere): adjust the use of widths
11575
11576         * tabular.h: change the type of widths from string to LyXLength
11577
11578 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11579
11580         * paragraph.C: fixed missing line number count when exporting
11581         Environments to LaTeX file
11582
11583         * buffer.C: added informational message for checking line numbers.
11584
11585 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11586
11587         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11588         paragraph, do the 'double space' part, but not the 'empty
11589         paragraph' one.
11590
11591         * text.C (workWidth): small optimization
11592         (getLengthMarkerHeight): use minimal size for negative lengths.
11593
11594 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11595
11596         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11597
11598         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11599
11600 2001-12-11  André Pönitz <poenitz@gmx.net>
11601
11602         * FontLoader.C:
11603         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11604
11605 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * text2.C: keep selection on a setFont()
11608
11609 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * lyx_cb.C: another bv->text misuse, from insert label
11612
11613 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11614
11615         * kbsequence.h:
11616         * kbsequence.C: re-instate nmodifier mask
11617
11618 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11619
11620         * lyx_main.h: make lyxGUI private.
11621
11622 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * lyxfind.C: place the cursor correctly on failed search
11625
11626 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11627
11628         * text.C (getLengthMarkerHeight): for small heights, the arrows
11629         are not always on top/bottom of the text
11630         (drawLengthMarker): smaller arrows; take the left margin in
11631         account; draw also vfills.
11632         (paintFirstRow):
11633         (paintLastRow): remove special code for vfill and standard spaces,
11634         since everything is handled in drawLengthMarker now.
11635
11636 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * buffer.C (insertErtContents): try to handle font and language
11639         interaction a bit better.g
11640
11641         * ColorHandler.C (updateColor): change the hash to cover the whole
11642         LColor enum, ws cleanup
11643         (getGCLinepars): ditto
11644         (getGCLinepars): only lookup in the linecache once.
11645
11646 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11647
11648         * iterators.C (operator++): Make the iterator more robust
11649
11650         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11651         (John's patch)
11652         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11653
11654 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * lyxtext.h:
11657         * text.C: better added space drawing
11658
11659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * LyXView.C:
11662         * BufferView2.C: fix layout combo update on inset unlock
11663
11664 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * Makefile.am: don't compile unused files
11667
11668 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * lyxfunc.C:
11671         * commandtags.h:
11672         * LyXAction.C: remove old LFUN_LAYOUTNO
11673
11674 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11675
11676         * paragraph_pimpl.h:
11677         * paragraph_pimpl.C: isTextAt() doesn't need font param
11678
11679 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * lyxlex.h:
11682         * lyxlex.C: little cleanup
11683
11684 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * BufferView_pimpl.C: fix insertAscii for insets
11687
11688 2001-12-05  Juergen Vigna  <jug@sad.it>
11689
11690         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11691         set the right font on the "multi" paragraph paste!
11692
11693 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11694
11695         * trans_decl.h:
11696         * trans_mgr.[Ch]:
11697         * trans.[Ch]:
11698         * lyxgluelength.C:
11699         * lyxlength.C: remove out-commented code.
11700
11701         * BufferView_pimpl:
11702         * CutAndPaste.C:
11703         * DepTable.C:
11704         * buffer.C:
11705         * chset.C:
11706         * lastfiles.C:
11707         * lyxlex.C:
11708         * lyxlex_pimpl.C:
11709         * lyxserver.C:
11710         * screen.C:
11711         * tabular-old.C:
11712         * tabular.C:
11713         * text.C:
11714         * trans_mgr.C:
11715         * vc-backend.C: change "while(" to "while ("
11716
11717         * lyxlength.[Ch]: add zero function to check if length is zero or
11718         not
11719         * lyxgluelength.C: use it
11720
11721 2001-12-05  Allan Rae  <rae@lyx.org>
11722
11723         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11724         Works for 2.95.3, from what I understand of Garst's reports this should
11725         work for other g++ versions.  We're screwed if the abs(int) definition
11726         changed between bugfix releases of gcc.
11727
11728 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * text.C: fix chapter label offset !
11731
11732 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * lyxtext.h:
11735         * text.C: fix hfill at end of line, clean up
11736
11737 2001-12-04  Juergen Vigna  <jug@sad.it>
11738
11739         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11740         that we force an update of the inset and it's owners if neccessary.
11741
11742 2001-12-03  Juergen Vigna  <jug@sad.it>
11743
11744         * text.C (rowLast): simplified code
11745
11746 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * lyxfunc.C: fix show options on timeout
11749
11750 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11751
11752         * screen.C (topCursorVisible): scroll half a page when the cursor
11753         reached top of bottom of screen
11754
11755 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * minibuffer.C: deactivate on loss of focus
11758
11759 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11760
11761         * vspace.[Ch] (operator!=): add operator.
11762
11763 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * BufferView_pimpl.C: refuse to open an inset when
11766         there's a selection.
11767
11768 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11769
11770         * BufferView_pimpl.C: allow to click on RHS of full row insets
11771
11772 2001-11-30  Juergen Vigna  <jug@sad.it>
11773
11774         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11775         insets for undo reasons.
11776
11777 2001-11-28  André Pönitz <poenitz@gmx.net>
11778
11779         * vspace.[Ch]: cosmetical changes
11780
11781 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11782
11783         * LyXAction.h:
11784         * LyXAction.C:
11785         * lyxfunc.h:
11786         * lyxfunc.C:
11787         * kbmap.h:
11788         * kbmap.C:
11789         * lyxrc.C:
11790         * kbsequence.h:
11791         * kbsequence.C: part re-write of old kb code
11792
11793         * Painter.C:
11794         * WorkArea.C: remove Lgb_bug_find_hack
11795
11796 2001-11-30  José Matos <jamatos@fep.up.pt>
11797
11798         * buffer.C (makeDocBookFile): add a comment to point a hack.
11799         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11800         Fixed a double write of labels.
11801
11802 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11803
11804         * LaTeX.C:
11805         * LaTeX.h Fixed bug in LaTeX class where it would not
11806         re-run latex if no depfiles were changed, but the .dvi was removed.
11807
11808 2001-11-28  André Pönitz <poenitz@gmx.net>
11809
11810         * all the files from the change on 2001/11/26:
11811         use lyx::layout_type instead of LyXTextClass::size_type
11812         use lyx::textclass_type instead of LyXTextClassList::size_type
11813
11814 2001-11-29  Juergen Vigna  <jug@sad.it>
11815
11816         * text.C: added support for paragraph::isFreeSpacing()
11817
11818         * buffer.C: same as above
11819
11820         * paragraph.h: inserted isFreeSpacing() function to enable
11821         FreeSpacing inside InsetERT.
11822
11823         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11824         of the paragraph's in the cut/copy buffer to 0!
11825
11826         * text2.C (removeRow): remove the assert as it can!
11827
11828         * lyxtext.h: added helper function firstRow returning firstrow and
11829         made firstrow private again.
11830
11831         * BufferView2.C (lockInset): don't relock if we're already locked!
11832
11833         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11834         the only paragraph.
11835         (removeRow): added Assert::(firstrow)
11836
11837         * debug.C: forgot to add INSETTEXT here.
11838
11839 2001-11-28  Juergen Vigna  <jug@sad.it>
11840
11841         * sp_spell.C (initialize): changed error text to more general
11842         spellchecker command use (not only ispell!)
11843
11844         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11845
11846         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11847
11848 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11849
11850         * vspace.C: initialise lyxgluelength on failure
11851
11852 2001-11-28  Allan Rae  <rae@lyx.org>
11853
11854         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11855         declaration & definition that looks like a function declaration.
11856
11857 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11858
11859         * BufferView2.C (copy):
11860         (copyEnvironment): do not clear the selection when doing a copy.
11861
11862         * text.C (paintFirstRow): compilation fix
11863
11864 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11865
11866         * tabular.C (Latex): correct line count when writing latex.
11867
11868 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * paragraph_pimpl.h:
11871         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11872           bug a bit
11873
11874 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * text.C:
11877         * LColor.h:
11878         * LColor.C: change vfillline->added_space
11879
11880         * text.C: add markers and text for added space
11881
11882         * vspace.C: fix comment
11883
11884 2001-11-28  André Pönitz <poenitz@gmx.net>
11885
11886         * paragraph.C: whitespace changes
11887         * all the other files from the change on 2001/11/26:
11888         change *::pos_type into lyx::pos_type
11889
11890 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11891
11892         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11893         language of the document when inserting error insets.
11894
11895 2001-11-26  André Pönitz <poenitz@gmx.net>
11896
11897         * BufferView_pimpl.[Ch]:
11898         *       CutAndPaste.C:
11899         * buffer.[Ch]:
11900         * lyxcursor.[Ch]:
11901         * lyxfind.C:
11902         * lyxfunc.C:
11903         * lyxrow.[Ch]:
11904         * paragraph.[Ch]:
11905         * paragraph_pimpl.[Ch]:
11906         * sp_spell.C:
11907         * text.C:
11908         * text2.C: reduce header dependencies, introduce type for positions
11909
11910 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11911
11912         * <various>: change to use Alert.h
11913
11914 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11915
11916         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11917         when encountering an unknown token.
11918         (readLyXformat2): Show an error message if there were unknown tokens.
11919
11920 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11921
11922         * BufferView2.C:
11923         * BufferView_pimpl.C:
11924         * buffer.C:
11925         * paragraph.h:
11926         * text.C:
11927         * text2.C: use par->isInset()
11928
11929 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * paragraph_pimpl.h:
11932         * paragraph_pimpl.C: cleanup
11933
11934 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11935
11936         * text2.C (removeRow):
11937         * text.C (setHeightOfRow): remove useless (and costly) call to
11938         getRow.
11939
11940 2001-11-20  Allan Rae  <rae@lyx.org>
11941
11942         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11943         Now need Inset*::checkInsertChar() to return true for appropriate
11944         cases so that the characters in the minibuffer will actually be
11945         inserted.
11946
11947 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11948
11949         * text.C: change the order of the includes.
11950         (workWidth): initialize it at once.
11951         (workWidth): make maxw unsigned
11952         (setHeightOfRow): remove unused variable (inset)
11953         (selectSelectedWord): remove unused variable (inset)
11954         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11955
11956 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11959         server is not running.
11960         (openConnection):
11961         (closeConnection): add debug info when server is disabled.
11962
11963         * ColorHandler.C (getGCForeground): send debug message to GUI
11964         channel.
11965
11966         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11967
11968         * kbmap.C (bind): modify because return conventions of
11969         kb_sequence::parse have changed.
11970
11971         * kbsequence.C (parse): only ignore spaces and not any stupid
11972         control character. This avoids tests like s[i] <= ' ', which are
11973         guaranteed to fail with 8bit characters and signed chars.
11974         Change return code to string::npos when there have been no error
11975         (0 was a bad idea when error is at first character)
11976
11977 2001-11-14  José Matos  <jamatos@fep.up.pt>
11978
11979         * buffer.h:
11980         * buffer.C (simpleDocBookOnePar): removed unused argument.
11981
11982 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11983
11984         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11985         insets which are part of a word. Paragraph::isLetter takes care of
11986         that now. Use Paragraph::isInset to identify insets.
11987         (selectSelectedWord): do not test for hyphenation break.
11988
11989         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11990         that protected spaces are considered as spaces.
11991
11992         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11993         Inset::isLetter.
11994
11995 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * lyxserver.h:
11998         * lyxserver.C: fix it. and small cleanup.
11999
12000 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * BufferView_pimpl.C: use inline helpers
12003
12004         * LaTeXFeatures.h:
12005         * LaTeXFeatures.C: fix typos
12006
12007         * Spacing.h:
12008         * Spacing.C: move spacing_string into class
12009
12010         * ToolbarDefaults.C: move stuff into namespace anon
12011
12012         * layout.h: update enum
12013
12014         * lyxfunc.C: use better debug
12015
12016         * minibuffer.h: fix typo
12017
12018         * debug.h:
12019         * debug.C:
12020         * WorkArea.C: add and use Debug::WORKAREA
12021
12022         * lyxtext.h:
12023         * text.C:
12024         * text2.C: code re-organisation, inline helpers
12025
12026 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12027
12028         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12029         std::vector.empty().
12030
12031 2001-11-09  Allan Rae  <rae@lyx.org>
12032
12033         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12034         '\n's after tables.  Tabular and ERT inset work now makes this no
12035         longer necessary.
12036
12037 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * minibuffer.h:
12040         * minibuffer.C: fix crash, improve drop-down completion
12041
12042 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * lyxserver.h:
12045         * lyxserver.C: invalidate fd's when doing endPipe()
12046
12047 2001-11-08  José Matos  <jamatos@fep.up.pt>
12048
12049         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12050         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12051
12052         * paragraph.h:
12053         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12054
12055 2001-11-07  José Matos  <jamatos@fep.up.pt>
12056
12057         * buffer.h:
12058         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12059         const qualifier.
12060
12061         * buffer.C (sgmlOpenTag):
12062         * buffer.C (sgmlCloseTag): removed debug info.
12063
12064         * buffer.h (sgmlOpenTag):
12065         * buffer.h (sgmlCloseTag): made public.
12066
12067 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12068
12069         * buffer.C (saveParamsAsDefaults):
12070         * lyx_cb.C (MenuLayoutSave): remove
12071
12072         * LyXAction.C (init):
12073         * commandtags.h:
12074         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12075
12076 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12077
12078         * buffer.C (setPaperStuff): removed from here...
12079
12080         * bufferparams.C (setPaperStuff): ... and moved there.
12081
12082 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * minibuffer.h:
12085         * minibuffer.C:
12086         * XFormsView.C: add support for drop-down completion
12087
12088 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12089
12090         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12091         commands.
12092
12093 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12096         disabled.
12097
12098 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * lyx_main.C: change ref to known bugs
12101
12102 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12103
12104         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12105         to work around older babel problems.
12106
12107 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12108
12109         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12110
12111 2001-10-24  Juergen Vigna  <jug@sad.it>
12112
12113         * tabular-old.C (ReadOld): below variable changes reflected.
12114
12115         * tabular.[Ch]: added ltType struct for longtable header/footer
12116         defines and changed all instances where they are used. Added
12117         future support for double top/bottom rows.
12118
12119 2001-10-24  José Matos  <jamatos@fep.up.pt>
12120
12121         * buffer.h (docbookHandleCaption):
12122         * buffer.C (docbookHandleCaption): removed unused function.
12123         (makeDocBookFile): moved docbook supported version to v4.1.
12124
12125 2001-10-24  José Matos  <jamatos@fep.up.pt>
12126
12127         * tabular.h:
12128         * tabular.C (docbookRow): new function to export docbook code of a row.
12129         (DocBook): now honors the longtable flags.
12130
12131 2001-10-23  José Matos  <jamatos@fep.up.pt>
12132
12133         * LaTeXFeatures.h:
12134         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12135         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12136
12137         * buffer.C (makeLinuxDocFile):
12138         (makeDocBookFile): reworked the preamble, more clean, and with
12139         support for lyx defined entities. Changed the document declaration
12140         to be more XML friendly.
12141
12142         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12143         if we need to output XML that should be done with a filter.
12144
12145 2001-10-22  Juergen Vigna  <jug@sad.it>
12146
12147         * sp_pspell.h (class PSpell): add alive function needed in the
12148         controller to see if the spellchecker could be started.
12149
12150 2001-10-22  Juergen Vigna  <jug@sad.it>
12151
12152         * buffer.C (insertStringAsLines): modify the font for inserting
12153         chars in certain conditions by calling checkInsertChar(font).
12154
12155 2001-10-19  Juergen Vigna  <jug@sad.it>
12156
12157         * text.C (workWidth): use getRow instead of wrong algorithm.
12158         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12159
12160 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * lyxserver.h:
12163         * lyxserver.C:
12164         * lyx_main.h:
12165         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12166
12167 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12168
12169         * text.C (workWidth): do not search for the exact row when
12170         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12171         optimization for big documents.
12172
12173 2001-10-18  Juergen Vigna  <jug@sad.it>
12174
12175         * text.C (workWidth): new function with added Inset * parameter.
12176
12177 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12178
12179         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12180
12181         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12182         change return type of getColumnNearX.
12183
12184
12185         * text.C (changeRegionCase): use uppercase/lowercase instead of
12186         toupper/tolower.
12187         (leftMargin):
12188         (rightMargin): simplify code by factoring out the uses of
12189         textclasslist.
12190         (labelFill):
12191         (numberOfHfills):
12192         (setHeightOfRow):
12193         (appendParagraph): use Paragraph::size_type
12194
12195 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12196
12197         * vspace.C (asLatexString): add a missing break
12198
12199 2001-10-15  Herbert Voss  <voss@perce.de>
12200
12201         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12202
12203 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12204
12205         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12206         is not available.
12207
12208 2001-10-10  André Pönitz <poenitz@gmx.net>
12209
12210         * lyxfunc.C: removed greek_kb_flag.
12211
12212 2001-10-10  Herbert Voss  <voss@perce.de>
12213
12214         * lyx_main.C: delete global string help_lyxdir.
12215
12216 2001-10-09  Herbert Voss  <voss@perce.de>
12217
12218         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12219
12220         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12221
12222         * lyx_main.C: added global string help_lyxdir.
12223
12224         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12225
12226 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12227
12228         * lyxrc.C (set_font_norm_type): support iso8859-4
12229
12230 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12231
12232         * LaTeX.C (deplog): add another regex for MikTeX
12233
12234 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12235
12236         * lyxrc.C (set_font_norm_type): support iso8859-3
12237
12238 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12239
12240         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12241
12242         * LaTeXFeatures.C: remove special case of french and index
12243
12244         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12245         before \begin{document}). This solves several incompatibilities.
12246
12247 2001-10-03  Garst Reese  <reese@isn.net>
12248
12249         * lyx_cb.C: change CheckTex error msg.
12250
12251 2001-10-03  José Matos  <jamatos@fep.up.pt>
12252
12253         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12254
12255 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12256
12257         * .cvsignore: update
12258
12259         * lyx_main.C (commandLineVersionInfo): use new style version info.
12260
12261         * buffer.C (writeFile):
12262         (makeLaTeXFile):
12263         (makeLinuxDocFile):
12264         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12265
12266         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12267
12268         * version.h: update to use stuff in version.C
12269
12270         * version.C.in: new file. Contains version information determined
12271         at compile time. This is a merging of version.h and
12272         version_info.h.in.
12273
12274 2001-10-03  Juergen Vigna  <jug@sad.it>
12275
12276         * BufferView_pimpl.C (update): don't change "dirty" status in
12277         updateInset call.
12278
12279 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12280
12281         * WorkArea.C (c-tor): re-position version string slightly.
12282
12283 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12284
12285         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12286         revert to previous code.
12287
12288         WorkArea.[Ch]: (show, destroySplash): methods removed.
12289
12290         WorkArea.C: rework code so that it's an amalgam of the codes before and
12291         after the splash screen was moved to WorkArea.
12292
12293 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12294
12295         * lyxrc.C (read):
12296         * vspace.C (inPixels):
12297         (lyx_advance):
12298         * kbmap.C (bind):
12299         * buffer.C (insertStringAsLines):
12300         (asciiParagraph): fix types to be large enough
12301
12302         * lyxlex_pimpl.h: change member status from short to int
12303
12304         * layout.h: fix type of endlabeltype
12305
12306         * kbmap.C (bind):
12307         * kbsequence.C (parse): change return type to string::size_type
12308
12309         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12310         variable
12311
12312         * Bullet.C (bulletSize):
12313         (bulletEntry): do not use short ints as parameters
12314
12315         * BufferView2.C (insertLyXFile): change a char to an int.
12316
12317         * WorkArea.C (WorkArea): remove unneeded floats in computation
12318
12319 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12320
12321         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12322
12323         * paragraph.C (asString): Do not ignore newline/hfill chars when
12324         copying to the clipboard.
12325
12326 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12327
12328         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12329         after a multi-line inset.
12330
12331 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * paragraph.C (validate): Set NeedLyXFootnoteCode
12334
12335 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12336
12337         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12338         and decrease-error to decrease.
12339
12340 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12341
12342         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12343         it more readable (should be equivalent)
12344
12345 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12346
12347         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12348
12349 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12350
12351         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12352         of a cursor (row, etc.) after a character has been deleted
12353         (deleteEmptyParagraphMechanism): call the method above on _all_
12354         cursors held by the LyXText when a double space has been
12355         detected/deleted.
12356
12357 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12358
12359         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12360         pixmap.
12361         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12362
12363         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12364         background. Use greyOut() and the new show() methods to toggle between
12365         the foreground and background. Add code to remove the splash after
12366         its initial showing.
12367
12368         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12369         (create_forms): no longer call Dialogs::showSplash.
12370
12371 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12372
12373         * .cvsignore: add version_info.h
12374
12375 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12376
12377         * version_info.h.in: new file
12378
12379         * Makefile.am: add version_info.h.in
12380
12381         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12382         version_info.h instead of VERSION_INFO
12383
12384 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12385
12386         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12387         The ERT inset now returns string().
12388
12389 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * lyxtext.h, text.C (selectNextWord): renamed as
12392         selectNextWordToSpellcheck.
12393
12394         * text.C (selectNextWordToSpellcheck): Modified to not select
12395         words inside an ERT inset.
12396
12397 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12398
12399         * lyx_cb.C (MenuLayoutSave): change a bit the question
12400
12401         * sp_base.h: include <sys/types.h>
12402
12403 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12404
12405         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12406
12407 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12408
12409         * several files: fix typos in user-visible strings
12410
12411 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12412
12413         * text2.C (pasteSelection): do not set the selection, since it
12414         will be cleared later. Actually, the intent was to fix the way the
12415         selection was set, but I figured rmoving the code was just as good.
12416
12417 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12418
12419         * FontLoader.C (available): Check if font is available without
12420         loading the font.
12421
12422 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12423
12424         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12425
12426 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12427
12428         * lyxrc.[Ch]: added display_graphics variable and associated code.
12429
12430 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12431
12432         * bufferparams.C (hasClassDefaults): new method. Returns true if
12433         the buffer parameters correspond to known class defaults
12434
12435 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12436
12437         * XFormsView.C (show): set minimum size to the main window.
12438
12439 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12440
12441         * text2.C (copySelection):
12442         (cutSelection):
12443         * lyxfind.C (LyXReplace):
12444         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12445         LyXText::selectionAsString.
12446
12447         * paragraph.C (asString): add "label" argument to the second form
12448
12449         * text2.C (selectionAsString): add "label" argument and pass it to
12450         Paragraph::asString.
12451
12452 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12453
12454         * lyx_main.C (commandLineHelp): remove version information
12455
12456 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12457
12458         * lyx_main.C: add -version commandline option
12459
12460 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12461
12462         * paragraph.h: make the optional constructor arg required instead.
12463         some modifications to other files because of this.
12464
12465         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12466
12467         * lyxserver.C (C_LyXComm_callback): make it static
12468
12469         * lyx_main.C (error_handler): make it static
12470
12471         * lyx_gui.C (LyX_XErrHandler): make it static
12472
12473         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12474
12475         * WorkArea.C: make the extern "C" methods static.
12476
12477         * Makefile.am (lyx_LDADD): simplify
12478
12479 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12480
12481         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12482         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12483
12484         * LyXAction.C (init):
12485         * lyxfunc.C (dispatch): associated code removal.
12486
12487 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12488
12489         * lyxfont.h (isSymbolFont): shut off warning
12490
12491         * text.C (setHeightOfRow):
12492         (getVisibleRow): fix crash with empty paragraphs which have a
12493         bottom line
12494
12495 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12496
12497         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12498         code.
12499
12500 2001-09-04  José Matos  <jamatos@fep.up.pt>
12501         * buffer.C
12502         * buffer.h
12503         * tabular.C (docbook): rename docBook method to docbook.
12504
12505 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12506
12507         * Makefile.am: add dependencies to main.o.
12508
12509 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12510
12511         * FontLoader.C (available): Return false if !lyxrc.use_gui
12512
12513 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12514
12515         * FontInfo.C (query):
12516         * converter.C (view):
12517         * importer.C (Import):
12518         * exporter.C (Export): Can not -> cannot.
12519
12520 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12521
12522         * BufferView_pimpl.C: allow to create index inset even if
12523           string is empty
12524
12525 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12526
12527         * buffer.C (getLists): replace boost::tie code with an explicit pair
12528         as boost::tie can break some compilers.
12529
12530         * iterators.h: Added a std:: declaration to the return type of
12531         ParIterator::size.
12532
12533 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12536           case.
12537
12538 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12539
12540         * iterators.[Ch]: New files. Provide paragraph iterators.
12541
12542         * buffer.C (changeLanguage): Use paragraph iterators.
12543         (isMultiLingual): ditto
12544
12545         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12546
12547 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12548
12549         * FontLoader.C: Support for cmr font.
12550
12551 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12552
12553         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12554         (available): New method.
12555
12556         * FontInfo.C (getFontname): Use scalable fonts even when
12557         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12558         found.
12559
12560 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12561
12562         * converter.C (Formats::view): reverted! Incorrect fix.
12563
12564 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12565
12566         * converter.C (Formats::view): only output the -paper option
12567         if the dvi viewer is xdvi, thereby fixing bug #233429.
12568
12569 2001-08-23  Herbert Voss  <voss@perce>
12570
12571         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12572
12573 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12574
12575         * Spacing.h (Spacing): Set space to Default on in the default
12576         constructor.
12577
12578 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12579
12580         * vc-backend.h (RCS::versionString): add RCS to version
12581         (CVS::versionString): add CVS to version
12582
12583         * vc-backend.C (scanMaster): do not add CVS to version.
12584         (scanMaster): do not add RCS to version
12585
12586         * lyxvc.C (versionString): new method
12587
12588         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12589
12590 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12591
12592         * Spacing.C (set): initialize fval
12593
12594 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12595
12596         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12597         " or \.
12598
12599 2001-08-16  Juergen Vigna  <jug@sad.it>
12600
12601         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12602
12603 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * BufferView_pimpl.C:
12606         * figureForm.C:
12607         * lyxtext.h:
12608         * text2.C: setParagraph takes linespacing now
12609
12610 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * LyxAction.C: add internal LFUN_CITATION_INSERT
12613
12614         * LyXView.C: actually apply fix
12615
12616         * bufferlist.C: fix open non-existent file
12617
12618         * lyxfind.C: fix indentation
12619
12620         * lyxfunc.C: remove unneeded assert, fix typo
12621
12622 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12623
12624         * MenuBackend.C: use "Floatname List"
12625
12626 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12627
12628         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12629         when converting LaTeX layout to insetERT.
12630         Generate a non-collapsed float when reading old float
12631
12632 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12633
12634         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12635         ERT insets.
12636
12637 2001-08-13  Juergen Vigna  <jug@sad.it>
12638
12639         * text.C (fill): return 0 instead of 20 as this seems to be the more
12640         correct value.
12641
12642 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12643
12644         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12645         lyxrc.font_norm.
12646
12647 2001-08-13  Juergen Vigna  <jug@sad.it>
12648
12649         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12650         casesensitive off.
12651         (SearchBackward): comment out the unlocking of the inset_owner this
12652         should not be needed!
12653
12654 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * Many files: Remove inherit_language, and add latex_language
12657
12658         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12659         collapsible insets.
12660
12661 2001-08-10  Juergen Vigna  <jug@sad.it>
12662
12663         * text.C (prepareToPrint): fixed hfill-width in draw!
12664
12665         * BufferView2.C (selectLastWord): save the selection cursor as this
12666         now is cleared in the function LyXText::clearSelection!
12667
12668 2001-08-08  Juergen Vigna  <jug@sad.it>
12669
12670         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12671         BACKSPACE type functions.
12672
12673         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12674         is only cutted from the document but not put in the cut-buffer, where
12675         still the old stuff should be.
12676
12677         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12678
12679         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12680
12681         * tabular.C (SetWidthOfCell): fixed special case where the width
12682         was not updated!
12683         (LeftLine): handle '|' in align_special.
12684         (RightLine): ditto
12685         (LeftAlreadyDrawed): ditto
12686         (SetWidthOfCell): ditto
12687
12688 2001-08-07  Juergen Vigna  <jug@sad.it>
12689
12690         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12691
12692 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12695         * lyxlex.[hC]: ditto
12696
12697 2001-08-06  Juergen Vigna  <jug@sad.it>
12698
12699         * text.C (getVisibleRow): fix up row clearing a bit.
12700
12701 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * minibuffer.C: make sure the X server sees the changes in the input.
12704
12705 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12706
12707         * paragraph.C (getFont): split into...
12708         (getLabelFont): this
12709         (getLayoutFont): and this
12710         * paragraph_pimpl.C (realizeFont): calling this
12711
12712         * text2.C (getFont): split into...
12713         (getLayoutFont): this
12714         (getLabelFont): and this
12715         (realizeFont): all three calling this
12716
12717         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12718         files where used.
12719
12720 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12721
12722         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12723
12724 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12725
12726         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12727         layouts from the Quote inset insertion.
12728
12729 2001-08-03  Juergen Vigna  <jug@sad.it>
12730
12731         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12732
12733         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12734         only if status not is already CHANGED_IN_DRAW (second level).
12735
12736         * text.C (draw): don't set the need_break_row when inside an
12737         InsetText LyXText.
12738
12739 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * buffer.C (parseSingleLyXformat2Token): handle more latex
12742         conversion cases.
12743
12744         * bufferview_funcs.[hC]: change function names to
12745         begin with small char, adjust other files.
12746
12747 2001-08-02  André Pönitz <poenitz@gmx.net>
12748
12749         * lyxfunc.C:
12750         BufferView_pimpl.C: remove broken special code for math-greek
12751
12752 2001-08-02  Juergen Vigna  <jug@sad.it>
12753
12754         * BufferView_pimpl.C (update): redone this function so that we
12755         update the text again if there was a CHANGE_IN_DRAW.
12756
12757         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12758         (drawFromTo): added a new internal bool which is used by draw() and
12759         redraw() function.
12760         (general): some cursor drawing problems fixed.
12761
12762 2001-08-01  Juergen Vigna  <jug@sad.it>
12763
12764         * lyxfind.C (LyXFind): fixed
12765         (SearchForward): ditto
12766         (SearchBackward): ditto
12767
12768         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12769         spurius drawing of the cursor in the main area.
12770
12771         * text2.C (status): small fix which could lead to a segfault!
12772         (clearSelection): remove unneeded BufferView param.
12773
12774 2001-08-01  André Pönitz <poenitz@gmx.net>
12775
12776         * lyxfunc.C: small change due to changed mathed interface
12777
12778 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12779
12780         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12781
12782 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * lyxfunc.c: fail gracefully if file doesn't exist
12785
12786         * LyXSendto.C:
12787         * buffer.C:
12788         * lyxfunc.C:
12789         * BufferView_pimpl.C: IsDirWriteable() proto changed
12790
12791         * LyXView.C: fix updateWindowTitle() to store the last title
12792
12793 2001-07-31  Juergen Vigna  <jug@sad.it>
12794
12795         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12796         the font (wrong since using of Paragraph::highestFontInRange).
12797
12798         * paragraph.C (highestFontInRange): added a default_size parameter.
12799
12800         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12801         (setHeightOfRow): reformat
12802
12803 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * converter.[hC] + affected files: move to (inital-char)lowercase
12806         function names.
12807
12808         * ParagraphParameters.C (ParagraphParameters): remove commented code
12809
12810         * PainterBase.[Ch]: remove commented code
12811
12812         * LaTeXFeatures.h: add "bool floats" for float.sty
12813
12814         * LaTeXFeatures.C (LaTeXFeatures): init floats
12815         (require): handle float
12816         (getPackages): do it with floats
12817
12818 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12819
12820         * BufferView_pimpl.C (Dispatch): improve handling of
12821         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12822
12823         * commandtags.h: #include lyxfont.h here temporarily to avoid
12824         keybinding bug.
12825
12826         * bufferlist.h: include LString.h here.
12827
12828 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12829
12830         * text2.C (getStringToIndex): new method.
12831
12832 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12833
12834         * *: Reduced header file dependencies all over.
12835
12836 2001-07-30  Baruch Even  <baruch@lyx.org>
12837
12838         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12839
12840 2001-07-29  Baruch Even  <baruch@lyx.org>
12841
12842         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12843
12844 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12845
12846         * ParameterStruct.h (endif): add a default constructor to make
12847         sure that all variables is initialized.
12848
12849         * ParagraphParameters.C (ParagraphParameters): adjust
12850
12851 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12852
12853         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12854         index; also, check that there is something to index, and that it
12855         does not span over several paragraphs.
12856         (doubleClick): use WHOLE_WORD_STRICT for double click.
12857
12858         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12859
12860         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12861         scheme.
12862
12863 2001-07-26  Baruch Even  <baruch@lyx.org>
12864
12865         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12866         an InsetFig figure, backwards compatible reading of old figure code.
12867
12868 2001-07-27  Juergen Vigna  <jug@sad.it>
12869
12870         * text2.C: font.realize function adaption.
12871
12872         * text.C (draw): add a warnings lyxerr text if needed.
12873
12874         * layout.C: font.realize function adaption.
12875
12876         * language.C: add inherit_language and implement it's handlings
12877
12878         * bufferview_funcs.C (StyleReset): remove language parameter from
12879         font creation (should be language_inherit now).
12880
12881         * bufferparams.C (writeFile): handle ignore_language.
12882
12883         * paragraph.C (getFontSettings): the language has to be resolved
12884         otherwise we have problems in LyXFont!
12885
12886         * lyxfont.C (lyxWriteChanges): added document_language parameter
12887         (update): removed unneeded language parameter
12888
12889         * paragraph.C (validate): fixed wrong output of color-package when
12890         using interface colors for certain fonts in certain environments,
12891         which should not seen as that on the final output.
12892
12893 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * BufferView_pimpl.C:
12896         * Thesaurus.h:
12897         * Thesaurus.C:
12898         * Makefile.am:
12899         * commandtags.h:
12900         * LyXAction.C: add thesaurus support
12901
12902         * lyxfind.h:
12903         * lyxfind.C: add "once" parameter, for thesaurus, to not
12904           move to the next match
12905
12906 2001-07-26  Juergen Vigna  <jug@sad.it>
12907
12908         * lyxfont.C (realize): honor ignore_language too!
12909         (resolved): ditto.
12910
12911         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12912
12913         * text.C (draw): one place more for ignore_language to not draw
12914         itself!
12915
12916 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12917
12918         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12919
12920 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12923         the minipage conversion problem.
12924
12925 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12926
12927         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12928         insert an inset.
12929
12930 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12931
12932         * BufferView.h: don't forward declare WorkArea
12933
12934         * BufferView.C: don't include WorkArea.h
12935
12936 2001-07-25  André Pönitz <poenitz@gmx.net>
12937
12938         * commandtags.h:
12939         * LyXAction.C:
12940         * lyxfunc.C:  new LFUN 'math-space'
12941
12942         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12943
12944 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * text2.C (toggleInset): call open/close
12947
12948 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * lyxfunc.C (dispatch): add debug for the disabled case
12951
12952         * font.C (buttonText): make similar to rectText
12953
12954         * buffer.C (readInset): comment out parsing of insetlist and
12955         insttheorem
12956
12957         * PainterBase.C (rectText): small correction
12958
12959         * BufferView_pimpl.C: comment out insettheorem and insetlist
12960         * LyXAction.C: ditto
12961         * commandtags.h: ditto
12962
12963 2001-07-24  Juergen Vigna  <jug@sad.it>
12964
12965         * text.C (draw): honor the ignore_language.
12966
12967         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12968
12969 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12970
12971         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12972         char inset.
12973
12974 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12975
12976         * lyxtext.h: remove unused (and unimplemented) methods
12977
12978 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12979
12980         * text.C (getVisibleRow): honor background color
12981
12982         * PainterBase.h:
12983         * Painter.h: remove default color argument for fillRectangle
12984
12985         * text.C (backgroundColor): new method
12986
12987 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * text.C (getVisibleRow): adjust
12990
12991         * font.[Ch] (rectText): new method, metrics
12992         (buttonText): new method, metrics
12993
12994         * PainterBase.[hC]: make rectText and buttonText always draw and take
12995         fewer paramteres.
12996
12997 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12998
12999         * ToolbarDefaults.C (read):
13000         * MenuBackend.C (read): allow escaping in all strings
13001
13002         * BufferView_pimpl.C (insertAndEditInset): new method.
13003         (Dispatch): use insertAndEditInset whenever appropriate.
13004
13005         * BufferView_pimpl.C (insertNote): removed
13006
13007         * BufferView_pimpl.C (smartQuote): new method, moved from
13008         BufferView; if an insetquote cannot be inserted, insert a '"'
13009         character instead.
13010
13011         * BufferView2.C: remove insertCorrectQuote();
13012
13013         * lyxfunc.C (getStatus): Add support for all remaingin
13014         inset-insert lfuns.
13015
13016         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13017
13018         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13019         command (necessary to pass " as parameter of self-insert.
13020
13021         * text.C (selectWordWhenUnderCursor):
13022         (selectWord): add word_location parameter
13023         (selectWordWhenUnderCursor): same + remove special code for word
13024         boundary.
13025         (selectNextWord): use kind() to guess type of insetspecialchar,
13026         not latex().
13027
13028         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13029         (insertErtContents): create ert insets as collapsed.
13030         (readInset): better compatibility code for Info inset.
13031
13032 2001-07-20  Juergen Vigna  <jug@sad.it>
13033
13034         * lyxfunc.C (dispatch): use always LyXFind now!
13035
13036         * text2.C (init): add a reinit flag so that the LyXText can be
13037         reinited instead of deleted and reallocated (used in InsetText).
13038
13039         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13040
13041         * text.C: ditto
13042
13043         * text2.C: ditto
13044
13045 2001-07-18  Juergen Vigna  <jug@sad.it>
13046
13047         * text.C (selectNextWord): handle insets inside inset by calling
13048         always the bv->text functions so that we can go up the_locking_inset!
13049
13050         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13051         in strange locations when inside an inset!
13052
13053         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13054         handling to include insets.
13055
13056         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13057
13058 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13059
13060         * LyXAction.C (init):
13061         * commandtags.h:
13062         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13063         LIGATURE_BREAK, since the name is so stupid.
13064
13065 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13068         InsetInfos.
13069
13070         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13071
13072         * sp_form.[Ch]: remove.
13073
13074         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13075
13076         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13077         InsetInfo.
13078
13079         * src/buffer.C (readInset): ditto.
13080
13081 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13082
13083         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13084         menuSeparator(), endOfSentenceDot(), ldots() and
13085         hyphenationPoint(), which are therefore removed.
13086         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13087
13088         * LyXAction.C (init):
13089         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13090
13091         * paragraph.C (getWord): removed.
13092
13093         * BufferView_pimpl.C (Dispatch): use last word or selection for
13094         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13095
13096         * lyx_main.C (queryUserLyXDir): do not ask before creating
13097         user_dir, except if it has been named explicitely.
13098
13099 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13100
13101         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13102         a document of zero size.
13103
13104 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13105
13106         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13107         approriately in the c-tor and in require().
13108         (getPackages): output the appropriate LaTeX for natbib support.
13109
13110         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13111         variables "use_natbib" and "use_numerical_citations" when reading the
13112         LyX file.
13113         (readInset): read the various natbib cite commands.
13114         (validate): white-space change.
13115
13116         * bufferparams.[Ch]: new variables "bool use_natbib" and
13117         "bool use_numerical_citations".
13118         (writeFile): output them in the LyX file.
13119
13120 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13121
13122         * lyxfunc.C (getStatus): add support for all the inset insertion
13123         commands.
13124
13125         * text2.C (insertInset):
13126         * paragraph.C (insetAllowed):
13127         * BufferView_pimpl.C (insertInset): update to take in account the
13128         renaming of insertInsetAllowed
13129
13130         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13131
13132         * text2.C (getInset): new method. returns inset at cursor position.
13133
13134         * BufferView_pimpl.C (Dispatch): changes because of this.
13135
13136         * LyXAction.C (init): rename open-stuff to inset-toggle.
13137
13138         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13139
13140         * text2.C (toggleInset): renamed from openStuff; use
13141         Inset::open().
13142
13143 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13144
13145         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13146
13147         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13148
13149 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13150
13151         * buffer.C (readLyXformat2): Add filename to the error dialog
13152
13153 2001-07-18  Juergen Vigna  <jug@sad.it>
13154
13155         * tabular.C (GetCellNumber): put an assert here instead of the check!
13156
13157 2001-07-17  Juergen Vigna  <jug@sad.it>
13158
13159         * BufferView_pimpl.C (toggleSelection): adapted too.
13160
13161         * text.C (selectNextWord): adapted for use with insets.
13162         (selectSelectedWord): ditto
13163
13164 2001-07-17  Juergen Vigna  <jug@sad.it>
13165
13166         * sp_spell.C (PSpell): fix initialitation order.
13167
13168 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * paragraph.C: spacing
13171
13172 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13173
13174         * sp_spell.C: repair language selection for pspell
13175
13176 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * lyxfunc.h: change more methods to begin with lower char.
13179
13180 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13181
13182         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13183         for unknown layouts.
13184
13185 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13186
13187         * buffer.C (readLyXformat2): Generate an error dialog if there are
13188         unknown layouts.
13189
13190 2001-07-16  Juergen Vigna  <jug@sad.it>
13191
13192         * sp_spell.C: always compile ISpell part.
13193
13194         * lyxrc.C: added use_pspell entry and it's handling.
13195
13196 2001-07-13  Juergen Vigna  <jug@sad.it>
13197
13198         * sp_spell.C: removed double includes.
13199
13200 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13201
13202         Consistent use of Lsstream.h:
13203         * Lsstream.h: added using std::stringstream for consistencies sake.
13204
13205         * buffer.C: removed using std::stringstream
13206
13207         * lyxfont.C (stateText):
13208         * paragraph.C (asString):
13209         * text.C (selectNextWord, selectSelectedWord):
13210         * text2.C (setCounter):
13211         * vspace.C (asString, asLatexString):
13212         std::ostringstream -> ostringstream.
13213
13214 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13215
13216         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13217         * commandtags.h: add LFUN_HELP_ABOUTLYX
13218         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13219
13220 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13221
13222         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13223         cursorToggle()
13224         * lyx_gui_misc.C: remove spellchecker
13225         * lyxfunc.C: showSpellchecker
13226         * sp_base.h: added
13227         * sp_ispell.h: added
13228         * sp_pspell.h: added
13229         * sp_spell.C: added
13230         * sp_form.[Ch]: removed
13231         * spellchecker.[Ch]: removed
13232
13233 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13234
13235         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13236         is set.
13237         (simpleTeXSpecialChars): Simply print the input character without
13238         any special translation if pass_thru is set.
13239
13240         * layout.h: Added bool pass_thru to layout class for being able to
13241         implement pass through of a paragraph for Literate Programming.
13242
13243         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13244         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13245         * layout.C (Read): add "passthru" to list of layout tags and add
13246         code to set the pass_thru boolean when it is read.
13247
13248 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * trans_decl.h: remove allowed from KmodInfo
13251
13252         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13253         remove allowed code
13254         (Load): adjust
13255
13256         * paragraph_pimpl.C (erase): use boost::prior
13257
13258         * Painter.C (text): use data() instead of c_str() when length is
13259         also provided.
13260         * WorkArea.C (putClipboard): ditto
13261         * font.h (width): ditto
13262
13263         * BufferView2.C: use it-> instead of (*it). for iterators
13264         * texrow.C: ditto
13265         * paragraph_pimpl.C: ditto
13266         * paragraph.C: ditto
13267         * minibuffer.C: ditto
13268         * language.C: ditto
13269         * kbmap.C: ditto
13270         * encoding.C: ditto
13271         * counters.C: ditto
13272         * converter.C: ditto
13273         * chset.C: ditto
13274         * Variables.C: ditto
13275         * TextCache.C: ditto
13276         * MenuBackend.C: ditto
13277         * LyXAction.C: ditto
13278         * LColor.C: ditto
13279         * FloatList.C: ditto
13280         * DepTable.C: ditto
13281         * ColorHandler.C (LyXColorHandler): ditto
13282
13283 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13284
13285         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13286
13287         * text2.C (openStuff): reintroduce this method (which had been
13288         nuked in NEW_INSETS frenzy).
13289
13290         * lyxfunc.C (Dispatch): when an action has not been handled, use
13291         its name in the error message, not its number.
13292
13293         * paragraph.C (inInset): change method name to begin with lowercase.
13294
13295         * undo_funcs.C:
13296         * text2.C: updates because of this.
13297
13298 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * ToolbarDefaults.C (add): add spaces in error message
13301
13302 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13305         (readLyXformat2): rename return_par to first_par, use lyxlex's
13306         pushToken and remove the manual push handling.
13307         (parseSingleLyXformat2Token): add another ert comp. variable:
13308         in_tabular, rename return_par to first_par. handle newlines better
13309
13310 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13311
13312         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13313
13314 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13315
13316         * text2.C (getParFromID): removed
13317
13318         * buffer.C (getParFromID): new method moved form lyxtext.
13319         * BufferView2.C (insertErrors): adjust
13320         (setCursorFromRow): adjust
13321         * BufferView_pimpl.C (restorePosition): adjust
13322         * lyxfunc.C (Dispatch): adjust
13323         * undo_funcs.C (textUndo): adjust
13324         (textRedo): adjust
13325         (textHandleUndo): adjust
13326         (textHandleUndo): adjust
13327
13328 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13329
13330         * buffer.C: up' the LYX_FORMAT
13331
13332         * lyxfont.h: turn NO_LATEX on as default
13333
13334         * buffer.C (insertErtContents): new methods of tex style compability.
13335         (parseSingleLyXformat2Token): use it several places.
13336         * tabular.C (OldFormatRead): and here
13337
13338 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13339
13340         * text2.C: remove some commented code.
13341         reindent file.
13342
13343         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13344         * trans.C: changes because of the above.
13345
13346 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13347
13348         * text2.C (setCounter): Fix counters bug with bibliography layout.
13349
13350 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13351
13352         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13353         own member functions
13354         (simpleTeXSpecialChars): ditto
13355
13356 2001-07-06  Juergen Vigna  <jug@sad.it>
13357
13358         * a lot of files: changed the access to LyXText::status and the
13359         call of undo-functions.
13360
13361         * undo.[Ch]: added a inset_id to the undo informations.
13362
13363         * undo_funcs.[Ch]: added and moved here all undo functions.
13364
13365         * lyxtext.h: give the status enum a weight, made status_ a private
13366         variable and made accessor functions for it, removed the whole bunch
13367         of undo-functions as they are now in their own file, make some
13368         functions publically available. Added function ownerParagraph with
13369         int parameter.
13370
13371         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13372         made InInset() a const function, added getParFromID() function.
13373
13374         * buffer.[Ch]: added const version for inset_iterator functions,
13375         added getInsetFromID() function.
13376
13377         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13378         changed undo functions for new version.
13379
13380 2001-07-05  Juergen Vigna  <jug@sad.it>
13381
13382         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13383         unknow mechanism does not call the proper constructor but only this
13384         one also if I request the other!?
13385
13386 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13389
13390         * text2.C (LyXText): use initialization lists.
13391
13392         * lyxtext.h (Selection): initialize set_ and mark_
13393         (init): remove method
13394
13395 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13396
13397         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13398
13399 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13400
13401         * screen.[Ch]: change method names to begin with lowercase
13402
13403         * BufferView_pimpl.C (updateScrollbar): simplify further and
13404         hopefully make it a bit faster.
13405
13406 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13407
13408         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13409         calling directly xforms functions.
13410
13411         * Painter.C (Painter):
13412         * lyx_cb.C (MenuWrite):
13413         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13414         fl_display.
13415
13416         * lyx_gui.C: remove bogus guiruntime extern declaration.
13417
13418 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13419
13420         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13421         in NEW_INSETS
13422         (redoDrawingOfParagraph): ditto
13423         (redoParagraphs): ditto
13424         (cutSelection): don't create a object for CutAndPaste use the
13425         static method directly
13426         (pasteSelection): ditto
13427
13428         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13429         LyXview (+ rename)
13430
13431 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13432
13433         * modifications to some other files because of this.
13434
13435         * Makefile.am (lyx_SOURCES): add XFormsView
13436
13437         * XFormsView.[Ch]: new files
13438
13439         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13440         the main window. Move the gui dependent stuff to XFormsView
13441
13442 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * tabular.C (GetCellInset): update cur_cell also in the row/col
13445         version of this function.
13446
13447         * lyxfunc.C: no need to include figure_form.h here.
13448
13449         * FontLoader.h:
13450         * lyxfunc.h:
13451         * lyxscreen.h:
13452         * text2.C:
13453         * lyxvc.C: no need to include forms.h here.
13454
13455 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13458
13459         * lyxfunc.C (Dispatch):
13460         * Spacing.C (set):
13461         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13462         constructor argument.
13463
13464 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13465
13466         * paragraph.C (Paragraph): dont't clear, and just set layout.
13467         (makeSameLayout): use params's copy contructor.
13468
13469         * ParagraphParameters.[Ch] (makeSame): delete method
13470
13471 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13472
13473         * Variables.[Ch]: fix indentation, rename set to isSet
13474
13475 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * lyxfunc.C (Dispatch): fix typo
13478
13479 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13480
13481         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13482         upper_bound.
13483
13484         * bufferlist.C: include assert.h for emergencyWrite().
13485
13486 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13487
13488         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13489           give up at last (bug #425202) !
13490
13491 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13492
13493         * lyx_gui_misc.C:
13494         * sp_form.h:
13495         * sp_form.C:
13496         * spellchecker.h:
13497         * spellchecker.C: strip spellchecker options and bring up
13498           preferences tab instead
13499
13500 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13501
13502         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13503         the istringstream constructor
13504
13505 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * paragraph.C (getLayout): fix return value
13508
13509         * paragraph.h: do not declare getLayout as inline.
13510
13511         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13512
13513 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13514
13515         * lyxcursor.h (operator<): new func
13516         (operator>): new func
13517         (operator>=): new func
13518         (operator<=): new func
13519
13520         * text.C (changeCase): use selection.start and selection.end
13521         (changeRegionCase): require from to be <= to. Require par to be a
13522         valid paragraph.
13523
13524         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13525
13526 2001-06-27  Juergen Vigna  <jug@sad.it>
13527
13528         * text.C (cursorLeftOneWord): changed to return the cursor and added
13529         overlay with BufferView * parameter which calls this one.
13530         (getWord): added
13531         (selectWord): use new getWord function.
13532         (changeCase): renamed from changeWordCase as and extended to work
13533         also on selections.
13534
13535         * lyxtext.h: added enum word_location
13536
13537         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13538         changeCase as this operates now also on selections.
13539
13540 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13541
13542         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13543
13544         * many files: send debug output to Debug::INFO instead of
13545         Debug::ANY.
13546
13547         * converter.C (View):
13548         (Convert):
13549         (Move): send debug output to Debug::FILES instead of console.
13550
13551 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13552
13553         * lyxfunc.C (getStatus): use func_status
13554
13555         * func_status.h: new header, describing the results of
13556         LyXFunc::getStatus;
13557
13558         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13559         LFUN_MATH_HALIGN.
13560
13561 2001-06-25  The LyX Project  <jug@sad.it>
13562
13563         * buffer.C (sgmlOpenTag):
13564         (sgmlCloseTag):
13565         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13566
13567 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * text2.C: remove some dead code
13570
13571         * tabular.C (GetCellInset): store the last cell checked (gotten)
13572
13573         * tabular.h: add the helper for the speedup
13574
13575         * lyxtext.h: remove some dead code
13576
13577 2001-06-26  The LyX Project  <Asger>
13578
13579         * paragraph.C: Change export to LaTeX of alignment to
13580         \begin{center} and family for better roundtrip work with reLyX.
13581
13582         * Tune the math drawing a bit.
13583
13584 2001-06-25  The LyX Project  <Asger>
13585
13586         * LColor.C (LColor): New color for math background. New color
13587         for buttons.
13588
13589 2001-06-25  The LyX Project  <jug@sad.it>
13590
13591         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13592
13593         * lyxfunc.C (Open):
13594         * bufferlist.C (newFile): do not restrict to files ending with
13595         .lyx
13596
13597         * BufferView_pimpl.C (MenuInsertLyXFile):
13598
13599 2001-06-24  The LyX Project  <jug@sad.it>
13600
13601         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13602         of compare_no_case
13603
13604 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13605
13606         * lyxtext.h: rename most methods to begin with a small char.
13607         Lots of changes because of this.
13608
13609         * paragraph.C (Paragraph): do not call fitToSize
13610         (erase): call Pimpl::erase
13611         (insertChar): call Pimpl::insertChar
13612         (insertInset): call Pipl::insertInset
13613         (breakParagraph): do not call fitToSize
13614         (breakParagraphConservative): do not call fitToSize
13615         (fitToSize): remove method
13616
13617         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13618
13619 2001-06-24  The LyX Project  <Asger>
13620
13621         * Fix Qt compilation^2
13622
13623 2001-06-24  The LyX Project  <jug@sad.it>
13624
13625         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13626         depthHook(getDepth()-1).
13627
13628         * paragraph.h:
13629         * ParagraphParameters.h:
13630         * ParameterStruct.h: change type of depth to unsigned int ==
13631         depth_type. Many adaptations to other files before of that.
13632
13633 2001-06-24  The LyX Project  <Asger>
13634
13635         * Fix Qt compilation.
13636
13637 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13638
13639         * paragraph.h: renamed several methods to begin with small letter.
13640         several changes to many parts of the code because of this.
13641
13642 2001-06-23  The LyX Project  <jug@sad.it>
13643
13644         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13645         rewritten to discard all double spaces when KeepEmpty is off
13646         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13647         to only handle newlines but not fiddle with spaces and friends.
13648
13649         * lyxfunc.C (MenuNew): when doing 'new from template', use
13650         template_path as default directory
13651
13652 2001-06-23  The LyX Project  <Asger>
13653
13654         * Clean-up of header file includes all over
13655         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13656
13657 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * paragraph.h: renamed from lyxparagraph.h
13660
13661 2001-06-23  Asger  <lyx@violet.home.sad.it>
13662
13663         * Buffer.h: Removed Buffer::resize
13664         * BufferList.h: Removed BufferList::resize
13665         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13666         the document lazily when we change the width, or the font settings.
13667
13668 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13669
13670         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13671
13672 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13673
13674         * buffer.h: remove out of date comment
13675
13676 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13677
13678         * lyxscreen.h:
13679         * screen.C: fix "theoretical" GC leak
13680
13681 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13682
13683         * LaTeX.C (scanAuxFile):
13684         (deplog): remove trailing \r when reading stream (useful under
13685         win32)
13686
13687 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13688
13689         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13690         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13691         and BufferView::theLockingInset(Inset*), so should use them and not
13692         access bv_->text->the_locking_inset directly.
13693
13694         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13695
13696 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13697
13698         * Makefile.am:
13699         * tex-defs.h: remove old unused file
13700
13701 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * BufferView_pimpl.C: fix typo, remove minibuffer message
13704           when buffer has loaded
13705
13706 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13707
13708         * lyxfunc.C (Dispatch): use stringstream
13709         (MenuNew): use stringstream
13710         (Open): use stringstream
13711
13712         * importer.C (Import): use stringstream
13713
13714         * bufferview_funcs.C (CurrentState): use stringstream
13715
13716         * LaTeX.C (run): use stringstream
13717
13718         * BufferView_pimpl.C (savePosition): use stringstream
13719         (restorePosition): use stringstream
13720         (MenuInsertLyXFile): use stringstream
13721
13722 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * BufferView.C:
13725         * Bullet.C:
13726         * ColorHandler.C:
13727         * FontInfo.C:
13728         * FontLoader.C:
13729         * LColor.C:
13730         * LaTeXFeatures.C:
13731         * Painter.C:
13732         * gettext.C:
13733         * lyx_gui_misc.C:
13734         * lyxserver.C:
13735         * vspace.C: removed // -*- C++ -*- as first line.
13736
13737         * lyxfind.h:
13738         * version.h: added // -*- C++ -*- as first line.
13739
13740 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13741
13742         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13743
13744         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13745         of string
13746
13747 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13750         of floats.
13751
13752 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13753
13754         * gettext.C: include LString.h even when --disable-nls is on.
13755
13756 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * converter.h (Get): changed argument type from int to
13759         FormatList::size_type to avoid unnecessary conversion.
13760
13761         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13762         before using it.
13763
13764 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13765
13766         * gettext.h: include LString.h even when --disable-nls is on.
13767
13768 2001-06-07  Juergen Vigna  <jug@sad.it>
13769
13770         * text.C (BreakAgain): subst spaces with tabs.
13771
13772         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13773         (resizeInsetsLyXText): set force on resizeLyXText.
13774
13775 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13776
13777         * gettext.h (gettext_init):
13778         (locale_init): use a real definition instead of a macro
13779
13780 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13781
13782         * Bufferview_pimpl.C:
13783         * LColor.h:
13784         * LColor.C: further lcolor tidies
13785
13786 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * BufferView_pimpl.C (updateScrollbar): simplify.
13789
13790         * BufferView2.C: don't include insets/insetinfo.h, change
13791         prototype for insertInset and call the Pimpl version. let
13792         updateInset call Pimpl version.
13793
13794         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13795         gotoInset to BufferView::Pimpl
13796
13797 2001-06-01  Juergen Vigna  <jug@sad.it>
13798
13799         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13800         inside a LockingInset (is the update needed at all?).
13801
13802 2001-05-31  Juergen Vigna  <jug@sad.it>
13803
13804         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13805         here not the old one otherwise how should we compare it afterwards
13806         if it's the same!
13807
13808 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13809
13810         * lyxfont.C:
13811         * tabular.C:
13812         * tabular-old.C:
13813         * FontInfo.C: bring C functions into global namespace when
13814         necessary
13815
13816 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13817
13818         * LString.h: make sure config.h has been loaded before LString.h.
13819
13820         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13821         (one for each char read by EatLine!).
13822
13823         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13824         variables.
13825
13826 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13827
13828         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13829         to the same as the par we break from
13830
13831 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13832
13833         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13834
13835         * MenuBackend.C (expand): also create menu entries for wide
13836         versions of the floats.
13837
13838         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13839
13840         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13841
13842         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13843         frontends/Makefile.am
13844
13845         * text2.C: adjust
13846         * text.C: adjust
13847
13848
13849         * tabular.C (getTokenValue): add std::
13850
13851         * tabular-old.C (getTokenValue): add std::
13852         (getTokenValue): ditto
13853         (getTokenValue): ditto
13854
13855         * screen.C (ToggleSelection): adjust
13856
13857         * lyxtext.h: put selection cursors inside a Selection struct.
13858
13859         * lyxfunc.C (moveCursorUpdate): adjust
13860
13861         * lyxfont.C (latexWriteStartChanges): add std::
13862
13863         * lyxfind.C: adjust
13864
13865         * font.h: delete with(char const *, LyXFont const &)
13866
13867         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13868
13869         * FontInfo.C (getFontname): add std::
13870
13871         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13872         (workAreaButtonPress): adjust
13873         (tripleClick): adjust
13874         (update): adjust
13875         (moveCursorUpdate): adjust
13876         (Dispatch): adjust
13877
13878         * BufferView2.C (gotoInset): adjust
13879
13880 2001-05-30  Juergen Vigna  <jug@sad.it>
13881
13882         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13883         to check pspell I add this as default as I now have new pspell
13884         libraries and they seem to use this.
13885
13886 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13887
13888         * text2.C (CutSelection): make the cursor valid before the call to
13889         ClearSelection.
13890
13891 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13892
13893         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13894         relied on 0 terminated strings and other horrors. Bug found due to
13895         the new assert in lyxstring!
13896
13897         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13898         KP_ keys.
13899
13900 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13903         to latinkeys.bind.
13904
13905         * lyxfunc.C (processKeySym): change method of getting to the
13906         self-insert char.
13907
13908         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13909         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13910         * BufferView_pimpl.[Ch]: here as private methods.
13911
13912 2001-05-28  Juergen Vigna  <jug@sad.it>
13913
13914         * text.C (SetHeightOfRow): added the update() call again as it is
13915         needed to initialize inset dimensions!
13916
13917 2001-05-16  Juergen Vigna  <jug@sad.it>
13918
13919         * text2.C (SetCharFont): Add new function with BufferView * and
13920         bool toggleall parameters for setting insets internal fonts.
13921         (SetFont): Freeze the undo as we may change fonts in Insets and
13922         all this change should be inside only one Undo!
13923
13924         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13925         setting font's in insets as for them we have the SetFont function!
13926
13927 2001-05-15  Juergen Vigna  <jug@sad.it>
13928
13929         * text2.C (ClearSelection): to be sure we REALLY don't have any
13930         selection anymore!
13931
13932         * tabular.C (TeXCellPreamble): fixed the left border problem for
13933         multicolumn cells.
13934
13935 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13936
13937         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13938         dependancy file
13939
13940 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13941
13942         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13943         LFUN_BREAKPARAGRAPH.
13944
13945         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13946         help test to "internal only", similar for LFUN_INSERT_URL
13947
13948         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13949         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13950         auto_region_delete and deadkeys.
13951
13952 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13953
13954         * LColor.h:
13955         * LColor.C: remove some dead entries, tidy a little
13956
13957 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13958
13959         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13960         commented code.
13961         (Dispatch): implement LFUN_ESCAPE
13962
13963         * commandtags.h: add LFUN_ESCAPE
13964
13965         * LyXAction.C (init): add entry for LFUN_ESCAPE
13966
13967         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13968         Remove commented code.
13969         (insertNote): moved here
13970         (open_new_inset): moved here
13971
13972         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13973         BufferView_pimpl
13974
13975 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13976
13977         * kbmap.C (findbinding): clean it up and make it work correctly.
13978
13979         * lyx_main.C (init): do not pass argc and argv as parameters
13980
13981 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13982
13983         * buffer.C: fix path for OS/2 & Win32
13984
13985         * lyx_gui.C:
13986         * lyx_main:
13987         * lyx_main.C: Added os:: class.
13988
13989         * os2_defines.h: update
13990
13991 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13994         better by trying again with reduced state.
13995
13996 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13997
13998         * lyxrc.C (read): print error about invalid key sequence only when
13999         debugging (because not all latinX keysyms are known to some X
14000         servers)
14001
14002         * kbsequence.C (getiso): add a few std:: qualifiers
14003         (getiso): comment out extra return statement.
14004
14005 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14006
14007         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14008         handling.
14009         (Dispatch): enhance the accent inset a bit. (not perfect)
14010
14011 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14014
14015 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14016
14017         * bufferlist.C (emergencyWrite): fix assert() call
14018
14019 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14020
14021         * text.C (InsertChar): Added trivial patch to only send the "you
14022         can not do multiple spaces this way" message once during a
14023         session.
14024
14025 2001-05-08  Baruch Even  <baruch@lyx.org>
14026
14027         * Makefile.am: Changed order of libraries to get LyX to link properly
14028         with the gnome frontend.
14029
14030 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * LaTeXFeatures.h: add a std:: qualifier
14033
14034 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * paragraph.C (String): use stringstream
14037
14038 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * paragraph.C (writeFile): remove footflag arg
14041
14042         * buffer.C (makeLaTeXFile): use stringstream
14043         (latexParagraphs): remove footnot gurba
14044
14045         * LaTeXFeatures.C (getPackages): use stringstream
14046         (getMacros): likewise
14047         (getTClassPreamble): likewise
14048         (getFloatDefinitions): new method
14049
14050         * paragraph.C (writeFile): reindent
14051         (Erase): reindent
14052
14053         * WorkArea.h: revert the xpos + etc changes.
14054
14055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14056
14057         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14058
14059         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14060         (pasteSelection): likewise
14061         * text2.C (CreateUndo): likewise
14062
14063 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14064
14065         * minibuffer.C (peek_event): temporarily reduce the functionality
14066         of the minibuffer (to allow args on lfuns)
14067
14068         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14069         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14070
14071         * buffer.C (readInset): add compability reading of old float
14072         lists, add reading of new style float list.
14073         (readInset): avoid reevaluation of inscmd.getCmdName()
14074         (getLists): reindent
14075
14076         * MenuBackend.C (MenuItem): implement parsing of
14077         md_floatlistinsert and md_floatinsert.
14078         (expand::LastFiles): move initalizaton of iterators out of loop,
14079         avoid reevaluation.
14080         (expand::Documents): introduce typdedef vector<string> Strings,
14081         and use it.
14082         (expand::ExportFormats): introduce typedef vector<Format const *>
14083         Formats, and use it.
14084         (expand): implement FloatListInsert and FloatInsert.
14085
14086         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14087         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14088         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14089
14090         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14091         handling.
14092         (Dispatch::LFUN_FLOAT_LIST): implement
14093
14094 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14095
14096         * LaTeX.C (run): Fix problem with --export code.
14097
14098 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * BufferView.[Ch] (workarea): removed.
14101         (getClipboard) new method; wrapper for workarea()->getClipboard()
14102
14103         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14104         bug.
14105
14106         * WorkArea.h (width, height, xpos, ypos): These methods all
14107         returned the dimensions of the work_area sub-area of WorkArea,
14108         resulting in a position error if the WorkArea were resized. Now
14109         return the dimensions of the entire WorkArea.
14110
14111         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14112
14113 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * LaTeX.C (deplog): correct the syntax of regex reg1
14116
14117 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14118
14119         * undo.C: remove !NEW_INSETS cruft
14120
14121 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14122
14123         * text2.C: remove !NEW_INSETS cruft
14124
14125         * text.C: remove !NEW_INSETS cruft
14126
14127         * tabular.C: remove !NEW_INSETS cruft
14128
14129         * spellchecker.C: remove !NEW_INSETS cruft
14130
14131         * lyxtext.h: remove !NEW_INSETS cruft
14132
14133         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14134
14135         * lyxfunc.C: remove !NEW_INSETS cruft
14136
14137         * lyxfind.C: remove !NEW_INSETS cruft
14138
14139         * lyx_cb.C: remove !NEW_INSETS cruft
14140
14141         * figureForm.C: remove  !NEW_INSETS cruft
14142
14143         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14144
14145         * buffer.[Ch]: remove !NEW_INSETS cruft
14146
14147         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14148
14149         * CutAndPaste.C: remove !NEW_INSETS cruft
14150
14151         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14152
14153         * BufferView2.C: remove !NEW_INSETS cruft
14154
14155         * BufferView.h: remove !NEW_INSETS cruft
14156
14157 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14158
14159         * Lsstream.h: include LString.h before the sstream headers to
14160         fix problem with gcc 2.95.3 and lyxstring
14161
14162 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14163
14164         * lyx_main.C: add using directives when needed for C functions
14165         declared in std:: namespace.
14166
14167 2001-04-27  Juergen Vigna  <jug@sad.it>
14168
14169         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14170         (SetHeightOfRow): comment out the update call should not be needed!
14171
14172 2001-04-13  Juergen Vigna  <jug@sad.it>
14173
14174         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14175         (LyXTabular): tried to minimize operator= operations (and realized
14176         hopfully Lars wish).
14177
14178 2001-04-27  Juergen Vigna  <jug@sad.it>
14179
14180         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14181
14182 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14183
14184         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14185
14186         * buffer.C (readInset): hack to make listof algorithm work
14187
14188         * BufferView_pimpl.C: hack to make listof algorithm work
14189
14190 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14191
14192         * LyXAction.C: removed all !NEW_INSETS cruft
14193         (init): moved lfun_item in method
14194
14195         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14196
14197 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14198
14199         * BufferView2.C (theLockingInset): white space.
14200
14201 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * minibuffer.C: include <iostream>
14204
14205         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14206
14207         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14208
14209         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14210
14211         * text.[Ch] (TransposeChars): new method
14212
14213 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14214
14215         * call message directly through LyXView instead of through LyXFunc
14216         * BufferView2.C: adjust
14217         * BufferView_pimpl.C: adjust
14218         * FontLoader.C: adjust
14219         * buffer.C: adjust
14220         * bufferview_funcs.C: adjust
14221         * converter.C: adjust
14222         * figureForm.C: adjust
14223         * importer.C: adjust
14224         * lyx_cb.C: adjust
14225         * lyx_gui_misc.C: adjust
14226         * lyxfunc.C: adjust
14227         * lyxvc.C: adjust
14228         * text2.C: adjust
14229         + more files in subdirs
14230
14231         * lyxparagraph.h (size): move up int file
14232         (GetLayout): ditto
14233
14234         * adjust all uses of Assert to lyx::Assert.
14235
14236         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14237         lyxfunctional in namespace lyx
14238         * layout.C (hasLayout): ditto
14239         (GetLayout): ditto
14240         (GetLayout): ditto
14241         (delete_layout): ditto
14242         (NumberOfClass): ditto
14243         * converter.C (GetFormat): ditto
14244         (GetNumber): ditto
14245         (Add): ditto
14246         (Delete): ditto
14247         (SetViewer): ditto
14248         * bufferlist.C (getFileNames): ditto
14249         (emergencyWriteAll): ditto
14250         (exists): ditto
14251         (getBuffer): ditto
14252         * MenuBackend.C (hasSubmenu): ditto
14253         (hasMenu): ditto
14254         (getMenu): ditto
14255         * BufferView_pimpl.C (getInsetByCode): ditto
14256
14257 2001-04-18  Juergen Vigna  <jug@sad.it>
14258
14259         * vspace.C (asLatexString): fixed the 100% problem.
14260
14261 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14262
14263         * lyxfunc.C (Dispatch):
14264         * minibuffer.C:
14265         * minibuffer.h: add a few std:: qualifiers
14266
14267 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14268
14269         * minibuffer.[Ch]: reimplement so that commands is initiated and
14270         run from lyxfunc, simplified som handling, and made the completion
14271         and history code for complete. wip.
14272
14273         * lyxfunc.C (processKeySym): call message
14274         (miniDispatch): new temporary method
14275         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14276         (LFUN_MESSAGE): implement
14277         (LFUN_MESSAGE_PUSH): implement
14278         (LFUN_MESSAGE_POP): implement
14279         (initMiniBuffer): the initial/defualt minibuffer message.
14280
14281         * lyxfont.[Ch]: inline some more getters
14282
14283         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14284
14285         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14286
14287         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14288         (AutoSave): use LFUN_MESSAGE
14289         (Reconfigure): ditto
14290
14291         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14292
14293         * figureForm.C: use LFUN_MESSAGE
14294
14295         * converter.C (runLaTeX): use LFUN_MESSAGE
14296
14297         * bufferview_funcs.C: use LFUN_MESSAGE
14298         (Melt): ditto
14299         (changeDepth): ditto
14300
14301         * bufferparams.h: use boost::
14302
14303         * bufferlist.h: inherit privately from noncopyable
14304
14305         * bufferlist.C (loadLyXFile): remove some commented code.
14306
14307         * buffer.C (runChktex): use LFUN_MESSAGE
14308
14309         * ShareContainer.h: inherit privately from noncopyable
14310
14311         * ParagraphParameters.[hC] (depth): inline it.
14312
14313         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14314         methods.
14315         (message): new method
14316         (messagePush): ditto
14317         (messagePop): ditto
14318         (show): init minibuffer
14319         (showState): direct call
14320
14321         * LaTeX.[Ch]: inherit privately from noncopyable
14322         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14323         instead of WriteStatus.
14324
14325         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14326
14327         * BufferView_pimpl.C (buffer): don't init minibuffer
14328         (workAreaButtonPress): use LFUN_MESSAGE
14329         (workAreaButtonRelease): ditto
14330         (savePosition): ditto
14331         (restorePosition): ditto
14332         (MenuInsertLyXFile): ditto
14333         (workAreaExpose): don't init minibuffer
14334         (update): remove commented code, simplify
14335
14336         * BufferView2.C (openStuff): use LFUN_MESSAGE
14337         (toggleFloat): ditto
14338         (menuUndo): ditto
14339         (menuRedo): ditto
14340         (copyEnvironment): ditto
14341         (pasteEnvironment): ditto
14342         (copy): ditto
14343         (cut): ditto
14344         (paste): ditto
14345         (gotoInset): ditto
14346         (updateInset): remove some commented code
14347
14348         * lastfiles.h: inherit privately from noncopyable
14349         * layout.h: ditto
14350         * lyx_gui.h: ditto
14351         * lyx_main.h: ditto
14352         * lyxlex.h: ditto
14353         * lyxlex_pimpl.h: ditto
14354
14355         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14356         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14357         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14358
14359         * LyXAction.h: inherit privately from noncopyable, add methods
14360         func_begin, func_end, returning iterators to the func map.
14361
14362         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14363         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14364         (func_begin): new method
14365         (func_end): new method
14366
14367         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14368         and not)
14369         (copySelection): ditto
14370         (pasteSelection): ditto
14371
14372         * BufferView.C: whitespace change
14373         * BufferView.h: inherit privately from noncopyable
14374
14375 2001-04-16  Allan Rae  <rae@lyx.org>
14376
14377         * tabular-old.C (l_getline):
14378         * spellchecker.C (sc_check_word):
14379         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14380         an unrecognised preprocessor directive.  So ensure they're wrapped.
14381
14382 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14383
14384         * src/exporter.C (Export): Give an error message when path to file
14385         contains spaces.
14386
14387 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14388
14389         * LaTeX.C (deplog): Always check that foundfile exists.
14390
14391 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14392
14393         * lyx_main.h:
14394         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14395
14396 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14397
14398         * tabular.[Ch] (getLabelList): implement new method
14399
14400         * minibuffer.h: comment ouf setTiimer
14401
14402         * minibuffer.C (ExecutingCB): constify res
14403         (peek_event): constify s
14404         (Set): constify ntext
14405         (Init): constify nicename
14406
14407         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14408
14409         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14410         (savePosition): use two params to Minibuffer::Set
14411         (restorePosition): ditto
14412
14413 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14414
14415         * lyx_main.C: include language.h
14416
14417         * Makefile.am (lyx_main.o): add language.h
14418
14419 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * exporter.C:
14422         * paragraph.C:
14423         * screen.C:
14424         * tabular.C:
14425         * CutAndPaste.C: include gettext.h
14426
14427         * lyxfont.h: remove old hack with ON and OFF.
14428
14429         * lyxparagraph.h:
14430         * lyxfont.h: do not include language.h...
14431
14432         * BufferView2.C:
14433         * LaTeXFeatures.C:
14434         * Painter.C:
14435         * bufferview_funcs.C:
14436         * font.C:
14437         * lyxfont.C:
14438         * text.C:
14439         * text2.C:
14440         * trans_mgr.C:
14441         * paragraph.C: ... but do it here instead
14442
14443 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14444
14445         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14446
14447         * tabular.C: small reformat
14448
14449         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14450         NEW_INSETS version
14451         (GetChar): ditto
14452         (BreakParagraph): ditto
14453         (SetOnlyLayout): ditto
14454         (SetLayout): ditto
14455
14456         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14457         with one arg less.
14458
14459         * lastfiles.C: removed most using decl, add std:: where needed
14460
14461         * buffer.C: ws changes
14462
14463         * MenuBackend.C (class compare_format): put into anon namespace
14464         (expand): constify label, names, action, action2
14465         (expand):
14466
14467         * text.C (SingleWidth): constify font
14468         (IsBoundary): constify rtl2
14469         (GetVisibleRow): constify ww
14470
14471         * LaTeX.C (deplog): constify logfile
14472
14473         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14474         start_x, end_x
14475         (workAreaExpose): constify widthChange, heightChange
14476
14477         * lyxrow.C (par): moved
14478         (height): moved
14479         (next): moved
14480         * lyxrow.h: as inlines here
14481
14482         * lyxfont.h (shape): moved from lyxfont.C
14483         (emph): moved from lyxfont.C
14484
14485         * lyxfont.C (LyXFont): use initialization list for all
14486         constructors
14487         (shape): move to lyxfont.h as inline
14488         (emph): move to lyxfont.h as inline
14489
14490
14491 2001-04-04  Juergen Vigna  <jug@sad.it>
14492
14493         * vspace.C: had to include stdio.h for use of sscanf
14494
14495 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14496
14497         * BufferView.h:
14498         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14499         independent of xforms.
14500
14501 2001-04-02  Juergen Vigna  <jug@sad.it>
14502
14503         * spellchecker.C: fixed namespace placing!
14504
14505 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14506
14507         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14508         the LyXParagraph * is 0.
14509
14510 2001-03-29  Juergen Vigna  <jug@sad.it>
14511
14512         * vspace.C: added support for %, c%, p%, l%.
14513         (stringFromUnit): added helper function.
14514         (asLatexString): changed to give right results for the %-values.
14515
14516         * buffer.C: convert the widthp in a width%.
14517
14518 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14519
14520         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14521         figureForm.[Ch].
14522
14523         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14524         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14525
14526         * lyx_cb.[Ch]: see above.
14527
14528         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14529         form1.[Ch].
14530
14531         * form1.[Ch]:
14532         * lyx.[Ch]: replaced by figure_form.[Ch].
14533
14534         * lyx_gui.C:
14535         * lyx_gui_misc.C:
14536         * lyxfunc.C: changed headers associated with above changes.
14537
14538 2001-03-27  Juergen Vigna  <jug@sad.it>
14539
14540         * BufferView_pimpl.C: set the temporary cursor right!
14541
14542 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14543
14544         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14545
14546 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14547
14548         * LString.h: removed "using std::getline"!
14549
14550         * BufferView_pimpl.C (Dispatch): changes due to changes in
14551         InsetInclude::Params.
14552
14553         * buffer.C (tag_name): removed redundant break statements as they were
14554         producing lots of warnings with my compiler.
14555
14556 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14557
14558         * LString.h: add "using std::getline" when using the real <string>.
14559
14560 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14561
14562         * buffer.C: removed bitset usage.
14563         PAR_TAG moved to an anonymous name space.
14564         (tag_name): new funtion, also in the anonymous namespace.
14565         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14566         (makeDocBookFile): clean code. Completed transition from string arrays
14567         to string vectors.
14568         (SimpleDocBookOnePar): code clean.
14569
14570 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14571
14572         * tabular.C: add some comments.
14573
14574 2001-03-22  Juergen Vigna  <jug@sad.it>
14575
14576         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14577         compatibility read a bit and fixed bug with minipage in different
14578         depth.
14579
14580 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14581
14582         * buffer.C (pop_tag): removed.
14583         (push_tag): removed.
14584         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14585         array replaced with vector. Added support for CDATA sections.
14586         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14587         at any nest level.
14588         (makeDocBookFile): XML conformant declaration of CDATA section,
14589         fixed bug related to <emphasis> in the first paragraph char.
14590         (sgmlOpenTag): exclude empty tags.
14591         (sgmlCloseTag): ditto.
14592
14593         * buffer.h (pop_tag): removed.
14594         (push_tag): removed.
14595
14596 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14597
14598         * language.h (Languages): added size_type and size().
14599
14600 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14601
14602         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14603         response on compability reading of minipages. One probliem is that
14604         the old usage of minipages was «flertydig»
14605
14606         * several files here and in subdirs: don't use static at file
14607         scope use anon namespaces instead.
14608
14609 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14610
14611         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14612         LaTeX output. This is necessary for Literate document
14613         processing.
14614
14615 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14616
14617         * buffer.C: insert hfill when needed.
14618
14619         * tabular.C (l_getline): use string::erase, small whitespace change.
14620
14621         * BufferView_pimpl.C: try the anon namespace.
14622         * WorkArea.C: ditto
14623
14624 2001-03-16  Juergen Vigna  <jug@sad.it>
14625
14626         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14627         otherwise it won't open options-dialogs.
14628
14629         * buffer.C: honor pextraWidth(p) on converting minipages.
14630
14631         * tabular.C (l_getline): changed the functions to strip trailing \r.
14632
14633 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14634
14635         * BufferView_pimpl.C:
14636         * minibuffer..C: added "using SigC::slot" declaration.
14637
14638 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14639
14640         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14641
14642         * text2.C: ditto
14643
14644         * text.C: ditto
14645
14646         * paragraph.C: ditto
14647
14648         * lyxtext.h: NO_PEXTRA
14649
14650         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14651
14652         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14653         * ParameterStruct.h: ditto
14654         * ParagraphParameters.h: ditto
14655         * lyxparagraph.h: ditto
14656
14657 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14658
14659         * buffer.C: add compability for minipage alignment.
14660         (latexParagraphs): remove unwanted pextra check.
14661
14662         * several files: remove CXX_WORKING_NAMESPACES
14663
14664         * buffer.C (pop_tag): tie is in namespace boost
14665
14666         * BufferView.h: noncopyable is in namespace boost
14667         * lyxlex.h: ditto
14668         * lyx_main.h: ditto
14669         * lyx_gui.h: ditto
14670         * layout.h: ditto
14671         * lastfiles.h: ditto
14672         * bufferlist.h: ditto
14673         * ShareContainer.h: ditto
14674         * LyXView.h: ditto
14675         * LyXAction.h: ditto
14676         * LaTeX.h: ditto
14677
14678 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14679
14680         * Merging changes from BRANCH_MVC back into HEAD.
14681
14682         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14683
14684 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * BufferView_pimpl.C: change from intl.C
14687
14688         * combox.h:
14689         * combox.C:
14690         * Makefile.am: move combox.*
14691
14692         * form1.h:
14693         * form1.C:
14694         * lyx_gui.C:
14695         * intl.h:
14696         * intl.C: remove dialog (covered by prefs)
14697
14698 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14699
14700         * lyxfunc.C (Dispatch): removed redundant break statement.
14701
14702 2001-03-14  Juergen Vigna  <jug@sad.it>
14703
14704         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14705
14706 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14707
14708         * buffer.C: add hack to fix compability reading of minipages.
14709
14710 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14711
14712         * buffer.C (getLists): Cleanup.
14713
14714 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14715
14716         * lyxfont.C (update): don't honor toggleall on font size.
14717
14718 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * bmtable.c:
14721         * bmtable.h:
14722         * Makefile.am: moved to frontends/xforms/
14723
14724         * lyx_gui_misc.C:
14725         * lyxfunc.C:
14726         * BufferView_pimpl.C: changes for moved mathpanel
14727
14728 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14729
14730         * gettext.h: fix gettext_init() in --disable-nls
14731
14732 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14735
14736 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14737
14738         * lyx.C:
14739         * lyx.h: strip external form
14740
14741 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14742
14743         * BufferView_pimpl.C: add comment, destroySplash()
14744
14745 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14746
14747         * BufferView_pimpl.C:
14748         * LyXAction.C:
14749         * buffer.C:
14750         * commandtags.h:
14751         * lyxfunc.C: use re-worked insetinclude
14752
14753 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14754
14755         * buffer.C: add using std::stringstream.
14756
14757         * lyx_cb.C: readd using std::ios.
14758
14759         * buffer.C: add using std::map.
14760
14761         * BufferView_pimpl.C: add using std::vector.
14762
14763         * ShareContainer.h: add std:: to swap.
14764
14765         * buffer.h: add some typedefs
14766         * buffer.C (getLists): use them
14767         (getLists): renamed from getTocList.
14768         add a counter for the different float types and use it in the
14769         generated string.
14770         (getLists): use the same counter for the NEW_INSETS and the "non"
14771         NEW_INSETS
14772
14773         * lyx_cb.h: remove unused items, includes, using etc.
14774
14775         * ShareContainer.h: remove some commented code, add more comments
14776         and "documentation".
14777
14778 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14779
14780         * buffer.C (getTocList): make the list also when NEW_INSETS is
14781         defined.
14782
14783         * buffer.h: remove TocType
14784
14785         * buffer.C (getTocList): change to return a map<string,
14786         vector<TocItem> >, implement for dynamic number of list.
14787
14788         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14789         * text2.C (PasteSelection): adjust
14790         * CutAndPaste.C (pasteSelection): adjust
14791
14792         * FloatList.C (FloatList): update from the new_insets branch.
14793         * Floating.[Ch]: ditto
14794         * LaTeXFeatures.C: ditto
14795         * buffer.C: ditto
14796         * lyxlex_pimpl.C: ditto
14797
14798         * paragraph.C (Last): remove when NEW_INSETS is defined.
14799
14800         * other file: changes because of the above.
14801
14802 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14803
14804         * lyxparagraph.h: rename next to next_, previous to previous_,
14805         make them private for NEW_INSETS. Rename Next() to next(),
14806         Previous() to previous().
14807
14808         * other files: changes because of the above.
14809
14810 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14811
14812         * BufferView.h:
14813         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14814         problem.
14815
14816 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * main.C (main): pass lyx_localedir to gettext_init().
14819
14820         * gettext.h: remove locale_init and gettext_init macros
14821
14822         * gettext.C (locale_init): new function
14823         (gettext_init): new function
14824
14825         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14826         setlocale().
14827
14828 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14829
14830         * Moved credits to frontends:
14831         * credits.[Ch]: removed
14832         * credits_form.[Ch]: removed
14833         * lyx_gui_misc.C: remove credits stuff
14834         * Makefile.am:
14835
14836 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14837
14838         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14839
14840         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14841         unneeded destructor.
14842
14843         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14844         a standalone pointer again.
14845
14846         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14847
14848 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14849
14850         * Makefile.am:
14851         * filedlg.h:
14852         * filedlg.C:
14853         * LyXAction.C:
14854         * ToolbarDefaults.C:
14855         * bufferlist.C:
14856         * commandtags.h:
14857         * form1.C:
14858         * form1.h:
14859         * lyx_cb.C:
14860         * lyx_cb.h:
14861         * lyxfunc.h:
14862         * lyxfunc.C:
14863         * BufferView_pimpl.C: use new file dialog in GUII
14864
14865         * lyx_cb.h:
14866         * lyx_cb.C: remove LayoutsCB to Toolbar
14867
14868 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14869
14870         * ShareContainer.h (get): add std:: qualifier
14871
14872 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14873
14874         * ShareContainer.h: define a proper ShareContainer::value_type
14875         type (and use typename to please compaq cxx)
14876
14877 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14878
14879         * lyxparagraph.h: move serveral local vars to
14880         ParameterStruct/ParagraphParameters., use ShareContainer in
14881         FontTable., make vars in FontTable private and add getter and
14882         setter.
14883
14884         * paragraph.C: changes because of the above.
14885
14886         * lyxfont.h: remove copy constructor and copy assignment. (the
14887         default ones is ok), move number inside FontBits. move inlines to
14888         lyxfont.C
14889
14890         * lyxfont.C: add number to initializaton of statics, move several
14891         inlines here. constify several local vars. some whitespace
14892         cleanup. Dont hide outerscope variables.
14893
14894         * Spacing.h: add two new constructors to match the set methods.
14895
14896         * ShareContainer.h: new file, will perhaps be moved to support
14897
14898         * ParameterStruct.h: new file
14899
14900         * ParagraphParameters.h: new file
14901
14902         * ParagraphParameters.C: new file
14903
14904         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14905         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14906
14907         * BufferView_pimpl.C: ParagraphParameter changes.
14908         * buffer.C: Likewise.
14909         * bufferview_funcs.C: Likewise.
14910         * text.C: Likewise.
14911         * text2.C: Likewise.
14912
14913 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14914
14915         * lyxfind.C (LyXReplace): do not redefine default argument in
14916         implementation.
14917         (IsStringInText): ditto
14918         (SearchForward): ditto
14919         (SearchBackward): ditto
14920
14921 2001-03-06  Juergen Vigna  <jug@sad.it>
14922
14923         * lyxfind.C (IsStringInText): put parentes around expressions.
14924
14925 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14926
14927         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14928
14929 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14930
14931         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14932
14933         * stl_string_fwd.h: add comment
14934
14935         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14936
14937         * tabular.h:
14938         * tabular.C: remove unused DocBook methods
14939
14940         * intl.C:
14941         * language.C:
14942         * paragraph.C:
14943         * buffer.C:
14944         killed DO_USE_DEFAULT_LANGUAGE
14945
14946 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14947
14948         * lyx_gui.C: do not include language.h.
14949
14950         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14951         arguments in function implementation.
14952
14953 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14954
14955         * BufferView_pimpl.C: add <ctime>
14956
14957 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14958
14959         * BufferView_pimpl.C: add using std::find_if
14960
14961 2001-02-27  José Matos  <jamatos@fep.up.pt>
14962
14963         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14964         by OnlyPath.
14965
14966 2001-02-11  José Matos  <jamatos@fep.up.pt>
14967
14968         * buffer.C (makeDocBookFile): command styles now have a parameter as
14969         "title" by default.
14970
14971 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14972
14973         * layout_forms.[Ch]: removed
14974         * lyx_cb.[Ch]: out character
14975         * lyx_gui.C: out character
14976         * lyx_gui_misc.C: out character
14977         * bufferview_funcs.C: : out character,
14978         added toggleall as parameter in ToggleAndShow
14979
14980 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14981
14982         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14983
14984         * text2.C (SetCurrentFont): Disable number property at boundary.
14985
14986 2001-02-26  Juergen Vigna  <jug@sad.it>
14987
14988         * lyxfunc.C (getStatus): added a string argument override function so
14989         that this is correctly called from LyXFunc::Dispatch if it contains a
14990         do_not_use_argument which is used!
14991         (Dispatch): added check for "custom" export and call appropriate func.
14992
14993 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14994
14995         * lyxrc.C: Add language_command_local, language_use_babel and
14996         language_global_options.
14997
14998         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14999
15000         * buffer.C (makeLaTeXFile): Use language_use_babel and
15001         language_global_options.
15002
15003 2001-02-23  Juergen Vigna  <jug@sad.it>
15004
15005         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15006         which works with LyXText and putted it inside BufferView. Here now we
15007         only call for that part the BufferView::Dispatch() function.
15008
15009         * BufferView.C (Dispatch): added.
15010
15011         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15012         functions which needs to use a LyXText over from LyXFunc.
15013         (MenuInsertLyXFile): added
15014         (getInsetByCode): added
15015         (moveCursorUpdate): added
15016         (static TEXT): added
15017
15018 2001-02-22  Juergen Vigna  <jug@sad.it>
15019
15020         * BufferView_pimpl.C (update): call a status update to see if LyXText
15021         needs it.
15022
15023 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15024
15025         * vc-backend.C (revert): implement for CVS
15026         (getLog): implement for CVS
15027
15028 2001-02-20  Juergen Vigna  <jug@sad.it>
15029
15030         * text2.C (ClearSelection): added BufferView param for inset_owner call
15031
15032         * lyxfunc.C (TEXT): added this function and use it instead of
15033         directly owner->view()-text of getLyXText().
15034
15035 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15036
15037         * src/layout_forms.C: out preamble
15038         * src/layout_forms.h: out preamble
15039         * src/lyx_cb.C: out preamble
15040         * src/lyx_cb.h: out preamble
15041         * src/lyx_gui.C: out preamble
15042         * src/lyx_gui_misc.C: out preamble
15043         * src/lyxfunc.C: connect with guii preamble
15044
15045 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15046
15047         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15048
15049 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15050
15051         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15052         whether to run bibtex.
15053
15054 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15055
15056         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15057
15058 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15059
15060         * Makefile.am (lyx_SOURCES): removed bibforms.h
15061
15062         * vspace.h: doxygen
15063
15064         * text.C (GetVisibleRow): make several local vars const
15065
15066         * tabular.C: small cleanup.
15067
15068         * lyxserver.C (callback): use compare instead of strncmp
15069
15070         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15071         inlines to after class or to paragraph.C
15072
15073         * lyxfont.h: remove friend operator!=
15074
15075         * converter.h: move friend bool operator< to non friend and after
15076         class def.
15077
15078         * combox.h: small cleanup
15079
15080         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15081         to inlines after class def.
15082
15083         * buffer.C (pop_tag): use string operations instead of strcmp
15084
15085         * bmtable.c: doxygen, small cleanup
15086
15087         * LaTeX.h: remove friend operator==
15088
15089 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15090
15091         * screen.C:
15092         * lyxrc.[Ch]:
15093         * lyxfunc.C:
15094         * lyxfont.[Ch]:
15095         * lyx_cb.C:
15096         * intl.[Ch]:
15097         * commandtags.h:
15098         * buffer.C:
15099         * WorkArea.[Ch]:
15100         * LyXAction.C:
15101         * BufferView_pimpl.C:
15102         * BufferView.[Ch]: remove cruft
15103
15104 2001-02-14  Juergen Vigna  <jug@sad.it>
15105
15106         * lyxfunc.C: removed #if 0 unused code
15107
15108         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15109
15110         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15111
15112         * text2.C (SetSelection): added a BufferView * parameter
15113
15114 2001-02-13  Juergen Vigna  <jug@sad.it>
15115
15116         * lyxfunc.C (Dispatch): fixed protected blank problem.
15117         * BufferView2.C (protectedBlank): added LyxText * parameter.
15118
15119         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15120         (AppendColumn): same as above for column_info.
15121
15122         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15123         (moveCursorUpdate): use a LyXText param for support of InsetText.
15124
15125         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15126         (tripleClick): ditto
15127
15128         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15129
15130         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15131
15132         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15133
15134         * text2.C (SetSelection): set correct update status if inset_owner
15135         (ToggleFree): ditto
15136
15137 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15138
15139         * tabular.C: remove some commented code.
15140
15141 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * BufferView_pimpl.C: call hideSplash()
15144
15145         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15146
15147         * include_form.h:
15148         * bibforms.h: remove
15149
15150         * lyxfunc.C:
15151         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15152           add LFUN_CHILD_CREATE
15153
15154         * counters.h: fix tiny typo
15155
15156         * lyx_cb.C:
15157         * lyx.h:
15158         * lyx_gui.C:
15159         * lyx.C: move splash to frontends/xforms/
15160
15161         * lyx_gui_misc.C: move Include and Bibform to frontends
15162
15163         * lyxvc.h: clarify comment
15164
15165         * vspace.C: tiny housekeeping
15166
15167 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15168
15169         * text.C (PrepareToPrint): RTL Fix.
15170
15171         * paragraph.C (GetUChar): New method.
15172         (String):  Use GetUChar.
15173
15174         * buffer.C (asciiParagraph): Use GetUChar.
15175
15176 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15177
15178         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15179
15180 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15181
15182         * buffer.h:
15183         * buffer.C: rename to getLogName(), handle
15184           build log / latex log nicely
15185
15186 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * MenuBackend.C:
15189         * MenuBackend.h: remove support for reference menuitem type.
15190
15191 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15192
15193         * BufferView_pimpl.C: housekeeping
15194         * BufferView_pimpl.h:
15195         * LyXView.h:
15196         * Makefile.am:
15197         * Timeout.C:
15198         * Timeout.h:
15199         * minibuffer.h: move Timeout GUI-I
15200
15201 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15202
15203         * lyxrc.C (read): Update converters data-structures.
15204
15205 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15206
15207         * LaTeX.h (operator!=): add operator != for Aux_Info
15208
15209 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15212
15213         * LaTeXLog.C: deleted, useful code moved to Buffer
15214
15215         * buffer.h:
15216         * buffer.C: new function getLatexLogName()
15217
15218         * lyx_gui_misc.C:
15219         * lyx_gui.C:
15220         * lyxvc.C:
15221         * lyxvc.h:
15222         * lyxfunc.C: use frontends for LaTeX and VC logs
15223
15224 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * LaTeX.h: yet another std:: that Allan forgot.
15227
15228         * Variables.C (set): renamed from isset(), because this clashes
15229         with some HP-UX macros (grr).
15230
15231 2001-02-06  Allan Rae  <rae@lyx.org>
15232
15233         * LaTeX.h: Another bug fix.  Missing std:: this time.
15234
15235 2001-02-04  Allan Rae  <rae@lyx.org>
15236
15237         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15238         floats problem. I've left it commented out because it's not quite
15239         correct.  It should also test that the current object is a table or
15240         figure inset.  But I haven't gotten around to figuring out how to do
15241         that.  I *think* it'll be something like: "table" == inset.type()
15242
15243         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15244         bool.
15245
15246 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15247
15248         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15249         all the citation/databases/styles in the auxilary file.
15250         (run): Rerun latex if there was a babel language error.
15251
15252 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15253
15254         * text.C (Backspace): Preserve the font when changing newline char
15255         with a space.
15256         (BreakParagraph): If the cursor is before a space, delete the space.
15257
15258         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15259
15260 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15261
15262         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15263         new argument (code).
15264         (ChangeCitationsIfUnique): New method.
15265
15266         * paragraph.C (GetPositionOfInset): Handle bibkey.
15267
15268 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15269
15270         * BufferView_pimpl.h: change type of Position::par_pos to
15271         LyXParagraph::size_type.
15272
15273 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15274
15275         * BufferView_pimpl.C (savePosition, restorePosition): Write
15276         messages to minibuffer.
15277
15278 2001-01-28  José Matos  <jamatos@fep.up.pt>
15279
15280         * buffer.C (makeDocBookFile): adds support for document language.
15281         A silly restriction on the name of LatexCommand types where removed.
15282         Added support for CDATA sections, allows to chars unescaped, used
15283         among others in code, to avoid escape < and >.
15284
15285 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15286
15287         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15288         saved positions instrad of a stack. Furthermore, a position is
15289         stored using paragraph id/paragraph position.
15290
15291         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15292         Remove LFUN_REF_BACK.
15293
15294 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15295
15296         * converter.C (dvipdfm_options): New method.
15297
15298 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15299
15300         * vspace.C (isValidLength): Fix for empty input string.
15301
15302 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * LyXAction.C (init): change description of LFUN_FIGURE to
15305         "Insert Graphics"
15306
15307 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15308
15309         * LaTeX.C: add using directive
15310
15311 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15312
15313         * MenuBackend.C (expand): Fix the sorting of the formats.
15314
15315 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15316
15317         * lyx_main.C: tiny error message fix
15318
15319 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15320
15321         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15322         calling fl_initialize(). This fixes the problem with ',' as
15323         decimal separator in text files.
15324
15325 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15326
15327         * trans.C (process): Fix the keymap bug.
15328
15329 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15330
15331         * LaTeX.C (scanAuxFiles): New method. Provides support for
15332         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15333         (scanLogFile) Scan for "run BibTeX" messages.
15334
15335         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15336         OT1 font encoding. Also, load the aecompl package if the ae
15337         package is loaded.
15338
15339         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15340
15341 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15342
15343         * texrow.C (increasePos): turn two error messages into debug
15344         messages.
15345
15346 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15347
15348         * LaTeX.C (scanAux): Handle the \@input macro.
15349         (runBibTeX): Use scanAux().
15350
15351         * language.C (latex_options_): New field.
15352
15353         * LaTeXFeatures.C (getMacros): Add language macros.
15354
15355         * buffer.C (makeLaTeXFile): Small fix.
15356
15357 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15358
15359         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15360
15361         * text2.C: add a using directive.
15362
15363 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15364
15365         * BufferView2.C:
15366         * lyx_gui_misc.h:
15367         * lyxfr1.C:
15368         * lyxfunc.C: kill LyXBell.
15369
15370 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15371
15372         * text.C (IsBoundary): Remove the error message
15373
15374         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15375
15376         * lyxrc.C (setDefaults): Correct initialization value for
15377         font_norm_type.
15378
15379 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15380
15381         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15382         gotoError().
15383
15384         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15385         and GotoNextNote().
15386
15387         * src/LyXAction.C: Added reference-next.
15388
15389         * text.C (InsertChar): Use contains instead of strchr.
15390
15391         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15392
15393 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15394
15395         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15396         alignment commands (when needed).
15397
15398         * text.C (InsertChar): Add ':' to number separator chars.