]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
38447aae55cb78b1073d321c7be9c8a424a2c673
[lyx.git] / src / ChangeLog
1 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2
3         * buffer.C (openFileWrite): factorize some code 
4
5 2003-07-26  Angus Leeming  <leeming@lyx.org>
6
7         * lyx_cb.C:
8         * lyx_main.[Ch]: replace occurances of system_tempdir with
9         os::getTmpDir().
10
11 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
12
13         * rename Inset to InsetOld
14
15 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
16
17         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
18         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
19         which I think is a bit clearer. EDIT is gone, since it was
20         premature optimisation, and broken for mathed anyway.
21         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
22         with cursor positioning in insets as well (math insets still do not
23         work, but that's a different story anyway.) It mysteriously
24         crashes sometimes with undo in the first paragraph, but I'm fairly
25         confident that this is a compiler bug.
26
27 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
28
29         * paragraph.C (Paragraph): adjust for new clone return type
30         (operator==): ditto
31         (copyIntoMinibuffer): ditto
32
33 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
34
35         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
36         by not having a special case, and always doing a full rebreak of
37         the document after undo.
38
39 2003-07-23  Angus Leeming  <leeming@lyx.org>
40
41         * factory.C (createInset): InsetExternal::setParams now takes a
42         Buffer const * arg.
43
44 2003-07-23  Angus Leeming  <leeming@lyx.org>
45
46         * factory.C (createInset): changed interface to the external and
47         graphics mailers' string2params functions.
48
49 2003-07-23  Angus Leeming  <leeming@lyx.org>
50
51         * factory.C (createInset): pass a
52         Buffer const * parameter to InsetExternalMailer's string2params.
53
54 2003-07-22  John Levon  <levon@movementarian.org>
55
56         * Thesaurus.h: include the right aiksaurus header
57
58 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * MenuBackend.C (expand): check menu shortcuts unconditionally
61
62 2003-07-21  Angus Leeming  <leeming@lyx.org>
63
64         * factory.C (createInset): pass a
65         buffer_path parameter to InsetGraphicsMailer's string2params.
66
67 2003-07-21  Angus Leeming  <leeming@lyx.org>
68
69         * BufferView_pimpl.C (buffer):
70         * buffer.C (d-tor):
71         * lyx_main.C (LyX):
72         * lyxfunc.C (dispatch):
73         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
74         rather than the grfx shortcut.
75
76 2003-07-21  André Pönitz  <poenitz@gmx.net>
77
78         * rowpainter.C: remove unused variables
79
80         * tabular_funcs.C:
81         * tabular_funcs.h: move to tabular.C
82         * Makefile.am: adjust
83
84         * tabular.[Ch]: basic optical cleaning
85
86         * author.h: pass references, not values
87
88 2003-07-18  André Pönitz  <poenitz@gmx.net>
89
90         * lyxtext.h:
91         * metricsinfo.C:
92         * metricsinfo.h:
93         * rowpainter.C:
94         * text.C:
95         * text2.C:
96         * text3.C: two-phase drawing for InsetText and InsetTabular
97         some float -> int changes.
98
99 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
100
101         * lyx_main.C: fix the fix
102
103 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
104
105         * lyx_main.C: fix a crash in batch mode if no files specified
106         * converter.C: ws
107
108 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
109
110         * format.[Ch] (papersize): moved to BufferParams
111         * converter.[Ch] (dvips_options): moved to BufferParams
112         (dvipdfm_options): moved to anon namespace
113         * bufferparams.[Ch]: added above functions.
114
115 2003-07-17  André Pönitz  <poenitz@gmx.net>
116
117         * lyxtext.h:
118         * rowpainter.C:
119         * text2.C: don't call inset->update() anymore
120
121         * metricsinfo.[Ch]: add convenience constructor
122
123 2003-07-16  André Pönitz  <poenitz@gmx.net>
124
125         * lyxcursor.[Ch]:
126         * lyxfunc.[Ch]:
127         * text.C:
128         * text2.C: replace the LyXCursor::irow_ member with
129          on-demand computation of the value
130
131 2003-07-16  John Levon  <levon@movementarian.org>
132
133         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
134
135 2003-07-15  André Pönitz  <poenitz@gmx.net>
136
137         * text.C:
138         * text2.C: remove no more needed refresh_row
139
140 2003-07-15  André Pönitz  <poenitz@gmx.net>
141
142         * lyxtext.h:
143         * rowpainter.C:
144         * text2.C:
145         * text3.C: refresh_status tristate -> need_update bool
146
147 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
148
149         * lyxtext.h (init): remove reinit argument (act as if always true)
150         * text2.C: adjust to that
151
152 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
153
154         * bufferview_funcs.[Ch]: introduce function replaceSelection()
155         * text3.C: use it to delete selections in some cases
156         (bugs 441, 673, 702, 954).
157
158 2003-07-14  André Pönitz  <poenitz@gmx.net>
159
160         * rowpainter.[Ch]: reduce interface
161
162 2003-07-14  André Pönitz  <poenitz@gmx.net>
163
164         * BufferView_pimpl.C:
165         * text2.C: adjust after removing unused BufferView * argument
166
167 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
168
169         * text2.C (init): fix a crash fired on resize
170
171 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
172
173         * buffer.[Ch]: added new closing signal
174         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
175         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
176         BufferView::Pimpl via the closing the signal
177
178 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
179
180         * buffer.[Ch]: take out all bv-related from buffer
181         * BufferView.C:
182         * BufferView_pimpl.[Ch]: connect to new signals
183         * CutAndPaste.C: removed useless asserts
184         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
185         * lyxvc.[Ch]:
186         * vc-backend.[Ch]:
187         * lyxfunc.C: moved view-related funciontality from vc here
188         * paragraph.C: removed outdated comments
189         * text.C: ws
190
191 2003-07-10  André Pönitz  <poenitz@gmx.net>
192
193         * BufferView_pimpl.C:
194         * tabular.h:
195         * tabular_funcs.C:
196         * text.C:
197         * text2.C: remove InsetText::InnerCache, clean up consequences
198
199 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
200
201         * ispell.C: fix two typos in error messages
202
203 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
204
205         * Extend Note inset to other forms of annotation like Comment
206         and Greyedout. Right button click gives dialog.
207
208         Files modified or added (+):
209
210         * insetnote.[Ch]
211         * FormNote.[Ch]      +
212         * ControlNote.[Ch]   +
213         * form_note.fd       +
214         * Makefile.am in frontends/xforms, frontends/xforms/forms,
215         frontends/controllers
216         * xforms/Dialogs.C
217         * factory.C
218
219 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
220
221         * aspell.C: add missing namespace lyx::support
222
223 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
224
225         * BufferView.[Ch] (newFile): Add
226         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
227         * LaTeX.[Ch] (message): added this signal and use it
228         * buffer.[Ch] (busy, message): added these signals and use them
229         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
230         * converter.C:
231         * exporter.C:
232         * format.C:
233         * importer.C: use buffer signals instead of direct bv calling
234         * lyx_cb.[Ch] (ShowMessage): removed
235         * lyx_main.C:
236         * lyxfunc.C:
237         * paragraph_funcs.C:
238         * text2.C: use buffer signals
239
240 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
241
242         * introduce namespace lyx::graphics
243
244 2003-07-02  André Pönitz  <poenitz@gmx.net>
245
246         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
247
248 2003-07-01  André Pönitz  <poenitz@gmx.net>
249
250         * text.C:
251         * text2.C:
252         * text3.C:
253         * text_funcs.[Ch]:
254         * textcursor.h:
255         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
256           text*.C to text_func.C
257
258 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
259
260         * introduce namespace lyx::support
261
262 2003-06-30  André Pönitz  <poenitz@gmx.net>
263
264         * Chktex.C:
265         * funcrequest.C:
266         * lyxtext.h:
267         * text.C: re-enable --with-included-string
268
269 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
270
271         * textcursor.C: add <config.h>
272
273         * text.C (getWord): remove const from word_location arg
274
275         * lyxvc.C (getLogFile): fix const type order
276
277         * lyxtext.h: remove const from word_location arg, add arg name
278
279         * lyxlayout.h: currect type on labeltype.
280
281         * importer.C: correct \file
282
283         * converter.C (intToFormat): use std:: on ret val, ws changes
284
285         * bufferlist.h: correct \file
286
287         * buffer.C (makeLinuxDocFile): fix const type order
288         (makeDocBookFile): ditto
289         (fillWithBibKeys): use std:: on stdlib args.
290
291         * CutAndPaste.C: fix authors.
292         (availableSelections): use std:: on return vector
293
294 2003-06-27  André Pönitz  <poenitz@gmx.net>
295
296         * BufferView_pimpl.C:
297         * bufferview_funcs.C:
298         * lyxcursor.C:
299         * lyxcursor.h:
300         * lyxfunc.C:
301         * lyxtext.h:
302         * rowpainter.C:
303         * text.C:
304         * text2.C:
305         * text3.C: remove LyXCursor::row_ member
306
307         * lyxtext.h:
308         * text.C: rename fullRebreak() to partialRebreak() and implement
309           a fullRebreak() that really bereks fully
310
311         * textcursor.h: new struct for cursor-related data
312
313 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
314
315         * lyx_main.C (LyX): get full path of document loaded on the
316         command line
317
318 2003-06-26  André Pönitz  <poenitz@gmx.net>
319
320         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
321           remove unused/broken operator>,<,>=.
322
323         *       text.C: remove only use of broken operator<= in an Assert().
324
325 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
326
327         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
328         moved errorlist_.clear to showErrorList
329
330 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
331
332         * converter.C (scanLog, runLaTeX):
333         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
334         move the bv->showErrorList call to the callers
335         * lyxfunc.C: i.e. here...
336         * text2.C: and here
337         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
338         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
339         namespace, the second to...
340         * buffer_funcs (BufferFormat, parseErrors): added
341         * errorlist.C (ErrorList(TeXErrors const &)): removed
342
343 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * ToolbarBackend.C (getIcon): complain when icon cannot be found
346
347 2003-06-24  "Garst R. Reese" <reese@isn.net>
348
349         * debug.C: fix typo
350
351 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
354
355         * version.C.in: change docversion to 1.4
356
357 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
358
359         * buffer.C: fix a bug just introduced
360
361 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
362
363         * buffer.[Ch]: added the parseError signal and use it, removed
364         sgmlError
365         * BufferView.[Ch] (addError): moved to ...
366         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
367         to the Buffer::parseError signal to catch (guess what) parse errors
368         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
369
370 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
371
372         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
373         ability to create a buffer and to return an existing one from
374         the list. Moved these functions to...
375         * buffer_funcs.[Ch]: added
376         * BufferView.[Ch] (loadLyXFile): added
377         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
378         job removed from bufferlist::loadLyXFile.
379         * buffer.C (setReadOnly): make it work without view
380         (i.e added an if (users))
381
382 2003-06-19  Angus Leeming  <leeming@lyx.org>
383
384         * lfuns.h:
385         * LyXAction.C (init):
386         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
387         with LFUN_DIALOG_SHOW <name> <data>.
388
389 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * CutAndPaste.C (availableSelections): small compilation fix for
392         ancient (gcc 2.9x) compilers
393
394 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
395
396         * text3.C (cursorNext): add tmp var
397
398         * text2.C (updateCounters): for function calling out of for clause
399         (replaceSelectionWithString): ditto
400         (insertStringAsParagraphs): ditto
401         (getColumnNearX): add tmp var
402         (setCursorFromCoordinates): add tmp var
403         (cursorDownParagraph): add tmp var
404         (deleteEmptyParagraphMechanism): add tmp var
405
406         * text.C (insertChar): add tmp var
407
408         * rowpainter.C (paintDepthBar): add tmp var
409
410         * CutAndPaste.C (availableSelections): potentially check all
411         paragraphs in a cut to fill the shown strings.
412
413 2003-06-18  André Pönitz  <poenitz@gmx.net>
414
415         * kbmap.[Ch]: use vector<> instead of list<>
416
417 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
418
419         * text3.C (dispatch): handle arg to LFUN_PASTE, call
420         pasteSelection with index
421
422         * text2.C (pasteSelection): modify, call pasteSelection with index
423
424         * paragraph.C (asString): reimplement version with no interval to
425         call the one with interval.
426
427         * lyxtext.h: add index arg to pasteSelection
428
429         * MenuBackend.C (MenuItem): handle PasteRecent
430         (Menu::read::Menutags): add md_pasterecent
431         (read): handle it
432         (expandPasteRecent): new function
433         (expand): use it
434
435         * MenuBackend.h: add PasteRecent to MenuItem::Kind
436
437         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
438         the limited stack
439         (availableSelections): new function
440
441 2003-06-17  Angus Leeming  <leeming@lyx.org>
442
443         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
444
445 2003-06-17  Angus Leeming  <leeming@lyx.org>
446
447         * lfuns.h:
448         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
449
450         * lyxfunc.C (dispatch): invoke it.
451
452 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * iterators.C (operator++, ParPosition): reintroduce some
455         const_cast for the benefit of older compilers.
456
457 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * text3.C (dispatch): do not modify clipboard when doing
460         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
461         LFUN_DELETE_SKIP on a selection selection
462
463 2003-06-16  André Pönitz  <poenitz@gmx.net>
464
465         * BufferView.C:
466         * buffer.C:
467         * buffer.h:
468         * paragraph.C:
469         * tabular.[Ch]: IU of clone() and getLabelList();
470
471 2003-06-13  André Pönitz  <poenitz@gmx.net>
472
473         * tabular.h: compactification
474
475 2003-06-12  André Pönitz  <poenitz@gmx.net>
476
477         * tabular.C:
478         * tabular.h:
479         * tabular_funcs.h: some renaming plus whitespace
480
481 2003-06-12  André Pönitz  <poenitz@gmx.net>
482
483         * BufferView.C:
484         * BufferView_pimpl.C:
485         * CutAndPaste.C:
486         * buffer.C:
487         * iterators.[Ch]:
488         * lyxfunc.C:
489         * text.C:
490         * toc.C: Return a Paragraph & for ParIterator::operator*()
491
492 2003-06-11  John Levon  <levon@movementarian.org>
493
494         * lyx_main.C:
495         * ToolbarBackend.h:
496         * ToolbarBackend.C: add "Toolbars" section and
497         put the flags there
498
499 2003-06-10  Angus Leeming  <leeming@lyx.org>
500
501         * lfuns.h:
502         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
503
504         * lyxfunc.C (dispatch): invoke it.
505
506 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
507
508         * main.C: protect <ios> with HAVE_IOS
509         (main): protect sync_with_stdio with HAVE_IOS
510
511 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
512
513         * text2.C (cutSelection): adjust
514         (pasteSelection): adjust
515
516         * messages.C: handle get of empty string
517
518         * main.C (main): use sync_with_stdio(false)
519
520         * lyxfunc.C (dispatch): adjust
521
522         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
523         (WriteAs): remove unneeded BufferView arg.
524
525         * bufferparams.h: use correct types on papersize, papersize2 and
526         paperpackage.
527
528         * bufferparams.C (readToken): adjust for type
529         (writeLaTeX): add missing cases to switch.
530
531         * bufferlist.C (quitWriteBuffer): adjust
532         (close): adjust
533
534         * buffer.C (asciiParagraph): remove some commented code.
535
536         * CutAndPaste.C: remove current_view extern variable.
537         (cutSelection): add BufferParams arg.
538         (eraseSelection): add BufferParams arg.
539         (pasteSelection): add Buffer const & arg
540
541 2003-06-07  John Levon  <levon@movementarian.org>
542
543         * buffer.C:
544         * paragraph_funcs.C:
545         * paragraph_pimpl.C:
546         * text.C:
547         * text2.C:
548         * paragraph.h:
549         * paragraph.C: allow InsetERT to freely space lines,
550         and some consolidation of code
551
552 2003-06-06  José Matos  <jamatos@fep.up.pt>
553
554         * buffer.C (makeDocBookFile): fix bug #821
555
556 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
557
558         * BufferView_pimpl.C (dispatch): use Dialogs::visible
559
560 2003-06-04  Angus Leeming  <leeming@lyx.org>
561
562         * buffer.C: bump format to 224.
563
564 2003-06-05  André Pönitz  <poenitz@gmx.net>
565
566         * text2.C (redoParagraphs): remove two const_cast<>
567
568 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
569
570         * ParagraphList.h: remove last remnants of NO_STD_LIST
571
572 2003-06-03  Angus Leeming  <leeming@lyx.org>
573
574         * factory.C (createInset): small change to the way InsetExternal's params
575         are set.
576
577 2003-06-04  André Pönitz  <poenitz@gmx.net>
578
579         * buffer.h: use Undo directly instead of shared_ptr<Undo>
580
581         * paragraph_pimpl.h:
582         * paragraph.[Ch]: some Inset -> UpdatableInset changes
583
584         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
585
586         * undo_funcs.C: make some simple cases of undo work again
587
588 2003-06-03  John Levon  <levon@movementarian.org>
589
590         * ispell.C: HPUX doesn't have sys/select.h
591         (from Albert Chin)
592
593 2003-06-03  John Levon  <levon@movementarian.org>
594
595         * CutAndPaste.C: update tabular and include inset
596         buffer references
597
598         * buffer.h:
599         * paragraph.h:
600         * paragraph.C: remove owningBuffer(), don't pass Buffer
601         to clone()
602
603         * factory.C: insetGraphicsParams changed
604
605 2003-06-02  John Levon  <levon@movementarian.org>
606
607         * LyXAction.C:
608         * factory.C:
609         * lfuns.h:
610         * lyxfunc.C:
611         * text3.C: remove insetparent
612
613 2003-06-02  John Levon  <levon@movementarian.org>
614
615         * buffer.h:
616         * buffer.C: fix inset_iterator.end(), move out of line
617         (bug 1149)
618
619 2003-06-01  John Levon  <levon@movementarian.org>
620
621         * text3.C: use a proper cut/paste when doing inset
622         insert (from Jürgen Spitzmüller)
623
624 2003-06-01  John Levon  <levon@movementarian.org>
625
626         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
627
628 2003-05-30  André Pönitz  <poenitz@gmx.net>
629
630         * rowpainter.C: unify second drawing phase
631
632 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
633
634         * trans_mgr.C: remove one case of current_view
635
636         * text2.C (cursorBottom): delete NO_STD_LIST stuff
637
638         * paragraph_funcs.h: remove paragraph.h include
639
640         * paragraph.h: delete NO_STD_LIST stuff
641
642         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
643
644         * buffer.h: remove paragraph.h include
645
646         * ParagraphList.C: delete file
647
648         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
649
650         * toc.C (getTocList): adjust
651
652         * paragraph_pimpl.C (validate): adjust
653
654         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
655
656         * paragraph.C (Paragraph): adjust
657         (getPositionOfInset): use const_iterator, adjust
658         (bibitem): use const_iterator, adjust
659         (setInsetOwner): adjust
660
661         * iterators.C (operator++): adjust
662
663         * InsetList.[Ch]: Replace selfmade iterator with standard
664         vector::iterator also introduce const_iterator. Remove getPos,
665         getInset and setInset from InsetTable. Adjust accordingly.
666
667         * BufferView.C (lockInset): adjust
668         (ChangeInsets): adjust
669
670         * tabular.[Ch]: delete commented same_id functions
671
672 2003-05-28  John Levon  <levon@movementarian.org>
673
674         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
675
676 2003-05-28  André Pönitz  <poenitz@gmx.net>
677
678         * metricsinfo.[Ch]: remove 'fullredraw' member
679
680 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
681
682         * lyxtextclass.C (operator): remove caching.
683
684 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
685
686         * text3.C: adjust
687
688         * text2.C (cursorBottom): adjust
689         (setCounter): use ParagraphList::find, adjust
690
691         * text.C (workWidth): use ParagraphList::find, adjust
692
693         * lyxcursor.C (LyXCursor): adjust
694
695         * buffer.C (inset_iterator): adjust
696
697         * ParagraphList.h: make iterator(value_type) private, make
698         ParagraphList a friend of iterator.
699
700         * ParagraphList.C (find): new function
701
702         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
703
704 2003-05-27  André Pönitz  <poenitz@gmx.net>
705
706         * dimension.[Ch]: a -> asc, d -> des, w -> wid
707
708 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
709
710         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
711
712 2003-05-26  John Levon  <levon@movementarian.org>
713
714         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
715
716 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
717
718         * remove same_id from function signatures, adjust.
719
720 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
721
722         * undo_funcs.C (createUndo): use the id functions directly, adjust.
723
724         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
725
726         * paragraph.C (Paragraph): get rid of same_ids parameter
727
728         * ParagraphList.C (insert): adjust
729         (push_back): adjust
730
731 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
732
733         * paragraph_funcs.C (breakParagraph): adjust
734         (breakParagraphConservative): adjust
735
736         * buffer.C (readParagraph): adjust
737
738         * ParagraphList.C (insert): take a reference instead of a pointer
739         (insert): adjust
740
741         * paragraph.[Ch] (id): new function
742
743         * bufferlist.C (newFile): adjust
744
745         * ParagraphList.C (ParagraphList): adjust
746         (assign): adjust
747         (push_back): take a reference instead of a pointer.
748
749         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
750
751         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
752         instead.
753
754         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
755         set else use old code.
756
757         * ParagraphList.C: remove all NO_NEXT code and only compile this
758         code of NO_STD_LIST is set.
759
760 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
761
762         * BufferView_pimpl.C:
763         * TextCache.C:
764         * TextCache.h:
765         * bufferlist.C:
766         * errorlist.h:
767         * format.C:
768         * format.h:
769         * graph.C:
770         * lyxfunc.C:
771         * lyxrc.C:
772         * graphics/GraphicsConverter.C:
773         * graphics/PreviewLoader.C: header adjustment
774
775 2003-05-23  Angus Leeming  <leeming@lyx.org>
776
777         * LaTeXFeatures.[Ch] (useBabel): new method.
778         * bufferparams.C (writeLaTeX): use it.
779
780 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
781
782         * ParagraphList.h (set): remove unused function.
783
784 2003-05-23  André Pönitz  <poenitz@gmx.net>
785
786         * BufferView.C:
787         * BufferView_pimpl.C:
788         * buffer.C:
789         * buffer.h:
790         * lyxfunc.C:
791         * undo_funcs.C: setUndo reworked
792
793         * iterators.[Ch]: add access to topmost ParagraphList
794
795         * lyxtext.[Ch] (workWidth): add a const
796
797 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
798
799         * texrow.[Ch] (increasePos): remove function
800         * exporter.C (export): removed unused var and outdated comment
801
802 2003-05-23  Angus Leeming  <leeming@lyx.org>
803
804         * latexrunparams.h: rename fragile as moving_arg.
805         * paragraph.C (simpleTeXOnePar): ditto.
806         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
807
808 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
809
810         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
811         (createUndo): ditto
812         (textUndoOrRedo): comment out a currently unused var.
813
814         * paragraph.h (NO_NEXT): enable NO_NEXT
815
816         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
817
818         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
819
820         * exporter.C (Export): adjust for removeAutoInsets removal.
821
822         * buffer.C (runChktex): adjust for removeAutoInsets removal.
823
824         * LyXAction.C (init): remove LFUN_REMOVEERRORS
825
826         * BufferView.[Ch] (removeAutoInsets): delete function
827
828 2003-05-22  Angus Leeming  <leeming@lyx.org>
829
830         * latexrunparams.h: add a free_spacing variable.
831
832         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
833         to pass moving_arg, as the data is stored in runparams.fragile.
834
835         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
836         to Inset::latexOptional or to simpleTeXOnePar.
837
838         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
839         free_spacing arg to Inset::latexOptional.
840
841         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
842         free_spacing arg.
843
844 2003-05-22  Angus Leeming  <leeming@lyx.org>
845
846         * latexrunparams.h: add fragile and use_babel variables.
847
848         * bufferparams.[Ch] (writeLaTeX): return use_babel.
849         * buffer.C (makeLaTeXFile): store this returned value in
850         runparams.use_babel, thus passing it to the inset::latex methods.
851
852         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
853         simpleTeXSpecialChars as it is now stored in runparams.fragile.
854
855         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
856         longer has a fragile arg, as it is stored in runparams.fragile.
857
858         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
859         moving_arg parameter as the data is stored in runparams.fragile.
860
861         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
862         a fragile parameter as the data is stored in runparams.fragile.
863
864 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
865
866         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
867
868 2003-05-22  Angus Leeming  <leeming@lyx.org>
869
870         * latexrunparams.h: add a 'bool nice' which defaults to false.
871
872         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
873         now encapsulated within runparams.
874
875         * bufferlist.C (updateIncludedTeXfiles):
876         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
877
878 2003-05-22  Angus Leeming  <leeming@lyx.org>
879
880         * latexrunparams.h: new file containing struct LatexRunParams.
881         * Makefile.am: add new file.
882
883         * LaTeX.[Ch] (c-tor, run):
884         * buffer.[Ch] (makeLaTeXFile):
885         * bufferlist.[Ch] (updateIncludedTeXfiles):
886         * converter.C (convert, scanLog):
887         * converter.[Ch] (runLaTeX):
888         * exporter.C (Export):
889         * paragraph.[Ch] (simpleTeXOnePar):
890         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
891         * paragraph_funcs.[Ch] (latexParagraphs):
892         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
893         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
894         pass around a LatexRunParams parameter.
895
896 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
897
898         * paragraph.[Ch]: remove unused constructor
899
900         * ParagraphList.C (erase): new function, taking two iterators
901
902 2003-05-22  André Pönitz  <poenitz@gmx.net>
903
904         * undo_funcs.C: remove duplicated code
905
906         * iterator.[Ch]: operator=
907
908 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
909
910         * tabular.C (SetMultiColumn): ws changes
911
912         * rowpainter.C (paintFirst): get rid of a ->previous
913
914         * lyx_cb.C (getPossibleLabel): parlist simplification
915
916         * BufferView.C (ChangeInsets): simplify slightly.
917
918 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
919
920         * LyXAction.C: new lfun space-insert, kill protected-space-insert
921         * lfuns.h: new LFUN_SPACE
922         * lyxfunc.C: protected space has a new lfun
923         * paragraph_funcs.C: read new space insets
924         * text3.C:
925         * factory.C: handle new space insets
926
927 2003-05-22  André Pönitz  <poenitz@gmx.net>
928
929         * BufferView.C:
930         * BufferView_pimpl.C:
931         * buffer.[Ch]:
932         * lyxfunc.C:
933         * undo_funcs.C: return a ParIterator from getParFromID.
934
935         * iterators.[Ch]: add two const's
936
937 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
938
939         * toc.C (getTocList): adjust
940
941         * iterators.[Ch]: rework for parlist
942
943         * buffer.C (par_iterator_begin): adjust
944         (par_iterator_end): adjust
945
946         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
947
948         * BufferView.C (removeAutoInsets): adjust
949         (ChangeInsets): adjust
950
951 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
952
953         * text.C (top_y): fix bug 1110
954
955 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
956
957         * errorlist.[Ch]: added
958         * buffer.C:
959         * BufferView.[Ch]:
960         * BufferView_pimpl.C:
961         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
962         instead
963
964 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
965
966         * Makefile.am: ensure that lyx is relinked upon changes to the
967         various "convenience" libs.
968
969 2003-05-20  Angus Leeming  <leeming@lyx.org>
970
971         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
972         files are compiled in alphabetical order again.
973
974         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
975
976 2003-05-19  Angus Leeming  <leeming@lyx.org>
977
978         * gettext.[Ch]: remove "char const * _(char const *)".
979
980 2003-05-19  André Pönitz  <poenitz@gmx.net>
981
982         * dimension.[Ch]: promote from mathed/dimension.[Ch]
983
984         * Makefile.am:
985         * BufferView.C:
986         * DepTable.h:
987         * LaTeXFeatures.C:
988         * buffer.C:
989         * lyxfont.C:
990         * lyxlex.h:
991         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
992
993 2003-05-19  André Pönitz  <poenitz@gmx.net>
994
995         * buffer.C:
996         * lyxlayout.[Ch]:
997         * lyxtextclass.[Ch]:
998         * paragraph.C:
999         * paragraph_funcs.[Ch]:
1000         * text2.C:
1001         * text3.C: more insetenv work
1002
1003 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
1004
1005         * ParagraphParameters.C (params2string): small bug fixed
1006
1007 2003-05-16  André Pönitz  <poenitz@gmx.net>
1008
1009         * debug.C:
1010         * bufferview_funcs.C: patch from Kornel Benko to prevent
1011           crash when _(...) is called twice in a statement
1012
1013 2003-05-16  André Pönitz  <poenitz@gmx.net>
1014
1015         * BufferView.C:
1016         * lyxfunc.C:
1017         * text.C:
1018         * text2.C:
1019         * text3.C:
1020         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1021
1022 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
1023
1024         * lyx_main.C (init): remove spurious static_cast
1025
1026 2003-05-14  André Pönitz  <poenitz@gmx.net>
1027
1028         * BufferView.C: fix format string
1029
1030 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
1031
1032         * BufferView.[Ch] (insertErrors): removed
1033         * BufferView.[Ch] (showErrorList): added
1034         * buffer.C (runChkTeX):
1035         * converter.C (scanLog): call showErrorList instead of inserterrors
1036
1037 2003-05-13  André Pönitz  <poenitz@gmx.net>
1038
1039         * BufferView_pimpl.C:
1040         * buffer.C:
1041         * bufferview_func.C:
1042         * MenuBackend.C:
1043         * lyxfunc.C:
1044         * lyxrc.C:
1045         * tex-accent.C:
1046         * text3.C:
1047         * toc.C:
1048         * tabular_funcs.h: tostr() from its own header
1049
1050         * ParagraphParameters.C:
1051         * ToolbarBackend.C:
1052         * bufferparams.C:
1053         * format.C:
1054         * lyxlex_pimpl.C:
1055         * text3.C: STRCONV()
1056
1057 2003-05-12  André Pönitz  <poenitz@gmx.net>
1058
1059         * BufferView.C:
1060         * BufferView_pimpl.C:
1061         * CutAndPaste.C:
1062         * LaTeX.C:
1063         * LaTeXFeatures.C:
1064         * ParagraphParameters.C:
1065         * buffer.C:
1066         * bufferlist.C:
1067         * bufferparams.C:
1068         * bufferview_funcs.C:
1069         * converter.C:
1070         * counters.C:
1071         * debug.C:
1072         * exporter.C:
1073         * format.C:
1074         * importer.C:
1075         * lyx_cb.C:
1076         * lyx_main.C:
1077         * lyxfont.C:
1078         * lyxfunc.C:
1079         * lyxvc.C:
1080         * paragraph.C:
1081         * paragraph_funcs.C:
1082         * tabular.C:
1083         * tabular_funcs.C:
1084         * text2.C:
1085         * text3.C:  boost::format -> bformat  all over the place
1086
1087
1088 2003-05-09  André Pönitz  <poenitz@gmx.net>
1089
1090         * LColor.[Ch]: Pimpl the #include <map> away
1091
1092 2003-05-09  John Levon  <levon@movementarian.org>
1093
1094         * bufferlist.C: never remove emergency saves
1095
1096 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1097
1098         * Makefile.am: better lib building
1099
1100 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1101
1102         * texrow.[Ch]: remove dependency on Paragraph and just store a id
1103         instead.
1104         * paragraph_pimpl.C (simpleTeXBlanks): adjust
1105         (simpleTeXSpecialChars): adjust
1106         (simpleTeXSpecialChars): adjust
1107         * paragraph.C (simpleTeXOnePar): adjust
1108         * buffer.C (makeLaTeXFile): adjust
1109
1110         * Makefile.am (BOOST_LIBS): allow boost as system lib.
1111
1112         * text2.C (changeDepth): parlist cleanup
1113         (getColumnNearX): ditto
1114
1115         * rowpainter.C (getLabelFont): parlist cleanup
1116
1117         * bufferlist.C (newFile): parlist cleanup
1118
1119         * CutAndPaste.C (eraseSelection): parlist cleanup
1120
1121         * BufferView_pimpl.C (trackChanges): parlist cleanup
1122         (dispatch): ditto
1123
1124         * BufferView.C (lockInset): parlist cleanup.
1125         (ChangeInsets): ditto
1126
1127 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1128
1129         * CutAndPaste.h: Update file header.
1130
1131         * CutAndPaste.C: Update file header.
1132         Store the parts cut out of the Document in a limited_stack.
1133         (copySelection): adjust
1134         (pasteSelection): new function, takes the index in the limited stack.
1135         (nrOfParagraphs): adjust
1136         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1137         simplify error inset insertion.
1138         (checkPastePossible): adjust
1139
1140 2003-05-06  John Levon  <levon@movementarian.org>
1141
1142         * text2.C: don't cast wrap inset to float
1143
1144 2003-05-05  André Pönitz  <poenitz@gmx.net>
1145
1146         * iterator.C:
1147         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1148
1149         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1150           few naked Paragraph *.
1151
1152 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
1153
1154         * bufferparams.C: Output warning if a document with missing
1155         TeX document class is loaded
1156         * exporter.C: Disable TeX exports if the document class is missing
1157         * lyxtextclass.C:
1158         * lyxtextclass.h:
1159         * lyxtextclasslist.C: Handle new textclass.lst format; new method
1160         isTeXClassAvailable()
1161
1162 2003-05-03  John Levon  <levon@movementarian.org>
1163
1164         * BufferView.h:
1165         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1166         explicit cursor show/hide
1167
1168         * BufferView_pimpl.h:
1169         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1170         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1171
1172         * lyxfunc.C: hide cursor before dispatching.
1173
1174         * lyx_cb.C:
1175         * lyxfind.C:
1176         * text.C:
1177         * text3.C: remove explicit cursor hides
1178
1179 2003-05-02  André Pönitz  <poenitz@gmx.net>
1180
1181         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1182
1183         * undo_funcs.C:
1184         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1185           linked lists
1186
1187         * text2.C: tiny whitespace
1188
1189 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1190
1191         * undo_funcs.C: almost only ws changes.
1192
1193         * ParagraphList.C (splice): just return if pl is empty.
1194
1195 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1196
1197         * ParagraphList.C (splice): new function.
1198
1199         * CutAndPaste.C (pasteSelection): use it
1200
1201 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1202
1203         * CutAndPaste.C (pasteSelection): remove the last next and
1204         previous from this file.
1205
1206 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1207
1208         * CutAndPaste.C (pasteSelection): more clean up, user proper
1209         ParagraphList functions for pasteing.
1210
1211         * ParagraphList.C (insert): new function, three arg insert
1212
1213 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1214
1215         * ParagraphList.C (insert): new function, three arg insert
1216
1217         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1218         not on paragraphs.
1219
1220 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1221
1222         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1223
1224 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1225
1226         * CutAndPaste.C (pasteSelection): remove some unneeded code.
1227
1228 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1229
1230         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1231         (copySelection): clean up a bit.
1232         (pasteSelection): use make_pair
1233
1234         * ParagraphList.C (ParagraphList): implement copy constructor
1235         (operator=): implement, base on copy constructor.
1236         (assign): new func
1237
1238         * paragraph.C (erase): return a bool
1239
1240         * paragraph_pimpl.C (erasePos): remove function, move contents...
1241         (erase): ... here. Return a bool.
1242         (erase): call erase instead of erasePos.
1243
1244 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
1245
1246         * ParagraphList.h: define PitPosPair
1247         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1248         ParagraphList, fix a bug on pasting multiple pars
1249         * text2.C: change interface to C&P
1250
1251 2003-04-30  André Pönitz  <poenitz@gmx.net>
1252
1253         * undo_func.C: revert part of yesterday's patch 2
1254
1255 2003-04-30  John Levon  <levon@movementarian.org>
1256
1257         * LColor.C: s/tabular/table/
1258
1259 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1260
1261         * text3.C (dispatch): do not convert iterator -> pointer
1262         * undo_funcs.C (setCursorParUndo): ditto
1263         * text_funcs.C (transposeChars): ditto
1264
1265         * text2.C (setLayout): ws changes only
1266
1267         * text.C (breakParagraph): do not convert iterator -> pointer
1268         (insertChar): ditto
1269         (acceptChange): ditto
1270         (rejectChange): ditto
1271         (changeCase): ditto
1272         (Delete): ditto
1273         (backspace): ditto
1274
1275         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1276         pointer
1277
1278 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1279
1280         * text3.C (gotoInset): YABG (yet another bad getChar)
1281
1282 2003-04-29  André Pönitz  <poenitz@gmx.net>
1283
1284         * paragraph.h: make operator= private unimplemented as long as
1285           it is unusable
1286
1287         * ParagraphList.C: whitespace
1288
1289         * paragraph.[Ch]:
1290         * paragraph_pimpl.[Ch]:
1291         * paragraph_funcs.C:
1292         * CutAndPaste.C:
1293         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
1294
1295         * text2.C:
1296           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1297
1298 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
1299
1300         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1301         * paragraph.[Ch] (erase):
1302         * paragraph_pimpl.[Ch] (erase): change return type and value
1303         * text2.C (cutSelection): some rework
1304
1305 2003-04-28  John Levon  <levon@movementarian.org>
1306
1307         * bufferlist.C: changes for unsaved changes dialog
1308
1309 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1310
1311         * bufferlist.C (newFile): set language (messages_) for new
1312         documents also.
1313
1314         * buffer.C (readFile): ws changes only.
1315
1316 2003-04-28  André Pönitz  <poenitz@gmx.net>
1317
1318         * undo_funcs.C:
1319         * lyxfunc.C:
1320         * buffer.[Ch]:
1321         * BufferView_pimpl.C:
1322         * BufferView.C: getParFromID related ParagraphList::iterator changes
1323
1324 2003-04-28  André Pönitz  <poenitz@gmx.net>
1325
1326         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1327           Changes
1328
1329 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1330
1331         * messages.C: remove one more localedir class variable.
1332
1333 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1334
1335         * messages.C (getLocaleDir): singleton generation function
1336         (Pimpl): use it.
1337         (Messages): add a default constructor.
1338
1339         * main.C (main): do not setup localedir here, do not call
1340         gettext_init.
1341
1342         * gettext.C (_): use it.
1343         (gettext_init): delete funciton
1344
1345 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1346
1347         * gettext.C (getLyXMessages): new singleton generating function.
1348
1349         * buffer.C (updateDocLang): adjust
1350
1351         * Makefile.am (messages.o): add target
1352         (main.o): remove target
1353
1354 2003-04-27  John Levon  <levon@movementarian.org>
1355
1356         * bufferlist.C:
1357         * lyx_cb.C:
1358         * lyxfunc.C:
1359         * lyxvc.C: specify cancel button in Alert::prompt
1360
1361 2003-04-26  John Levon  <levon@movementarian.org>
1362
1363         * text3.C:
1364         * lyxfunc.C:
1365         * lfuns.h:
1366         * LyXAction.C: add LFUN_INSET_SETTINGS
1367
1368         * lyxfunc.C: don't enable tabular-feature when there's
1369         just any locking inset
1370
1371 2003-04-26  John Levon  <levon@movementarian.org>
1372
1373         * bufferlist.C: re-add Cancel to buffer close question
1374
1375         * lyxfunc.C: fix import UI a bit
1376
1377 2003-04-25  John Levon  <levon@movementarian.org>
1378
1379         * gettext.C: remove the broken asserts for now
1380
1381 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1382
1383         * messages.C: make case where setlocale cannot comply work better.
1384
1385         * buffer.C (updateDocLang): new function
1386         (changeLanguage): use it
1387         (readFile): use it
1388
1389         * text2.C (setCounter): use B_ a bit.
1390
1391         * lyxlayout.C (Read): be sure to trim the label strings.
1392
1393         * messages.C (Messages): fix typo in comment
1394
1395         * buffer.C (readFile): set message_ after file is loaded.
1396         (makeDocBookFile): remove double return
1397         (changeLanguage): reset message_ upon language change.
1398         (B_): new func, use this to get translated buffer strings.
1399
1400         * main.C: add myself and Jean Marc as authors.
1401
1402 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1403
1404         * messages.[hC]: pimplify Messages, and three different pimpls to be
1405         used in different circumstances.
1406
1407         * gettext.[Ch]: change for use with new message code.
1408
1409 2003-04-24 André Pönitz <poenitz@gmx.net>
1410
1411         * factory.C: support for eqref
1412
1413 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1414
1415         * messages.[Ch]: add missing char
1416
1417         * Makefile.am (lyx_SOURCES): add messages.[Ch]
1418
1419         * messages.[Ch]: New files
1420
1421 2003-04-18  John Levon  <levon@movementarian.org>
1422
1423         * BufferView.h:
1424         * BufferView.C:
1425         * BufferView_pimpl.C:
1426         * lfuns.h:
1427         * LyXAction.C:
1428         * lyxtext.h:
1429         * text2.C: remove layout-copy/paste (bug 778)
1430
1431 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1432
1433         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1434
1435 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1436
1437         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1438         if they succeed. Act accordingly.
1439
1440 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1441
1442         * text2.C (setCharFont): adjust
1443         (setCounter): adjust
1444         (insertStringAsLines): adjust
1445
1446         * text.C (leftMargin): adjust
1447         (setHeightOfRow): adjust
1448
1449         * rowpainter.C (paintFirst): adjust
1450         (paintLast): adjust
1451
1452         * paragraph_funcs.C (depthHook): ParagraphList::iterators
1453         (outerHook): ditto
1454         (isFirstInSequence): ditto
1455         (getEndLabel): ditto
1456         (outerFont): adjust
1457
1458         * paragraph.C (getParLanguage): comment out some hard stuff.
1459
1460         * buffer.C (insertStringAsLines): take a ParagraphList as arg
1461         (sgmlError): ditto
1462         (simpleDocBookOnePar): ditto
1463         (makeDocBookFile): use ParagraphList::iterator
1464
1465         * CutAndPaste.C (pasteSelection): adjust
1466
1467 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1468
1469         * text2.C (getFont): adjust
1470         (getLayoutFont): adjust
1471         (getLabelFont): adjust
1472
1473         * paragraph_funcs.C (TeXOnePar): adjust
1474
1475         * buffer.C (simpleLinuxDocOnePar): adjust
1476         (simpleDocBookOnePar): adjust
1477
1478         * CutAndPaste.C (pasteSelection): adjust
1479
1480         * BufferView.C (getEncoding): adjust
1481
1482         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1483
1484 2003-04-16  John Levon  <levon@movementarian.org>
1485
1486         * lyxfind.C: use parlist stuff for search/changes
1487
1488 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1489
1490         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1491
1492         * text2.C (deleteEmptyParagraphMechanism): adjust
1493
1494         * text2.[Ch] (ownerParagraph): delete func (both of them
1495
1496 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1497
1498         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1499
1500 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1501
1502         * ParagraphList.C: prepare for NO_NEXT
1503
1504 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1505
1506         * text2.C (getFont): adjust
1507         (getLayoutFont): adjust
1508         (getLabelFont): adjust
1509
1510         * paragraph.C (getFont): adjust
1511         (getLabelFont): adjust
1512         (getLayoutFont): adjust
1513
1514         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1515
1516 2003-04-15  John Levon  <levon@movementarian.org>
1517
1518         From Angus Leeming
1519
1520         * lyx_main.C: handle Include in .ui files
1521
1522 2003-04-15  John Levon  <levon@movementarian.org>
1523
1524         * MenuBackend.C: make the doc files length shorter
1525
1526         * ToolbarBackend.h:
1527         * ToolbarBackend.C: handle toolbar placement flags,
1528         Minibuffer
1529
1530 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1533         adjust
1534
1535         * paragraph_funcs.C (TeXOnePar): adjust
1536
1537         * paragraph.C (getLabelFont): add outerfont arg, adjust
1538         (getLayoutFont): ditto
1539         (simpleTeXOnePar): adjust
1540
1541         * paragraph_pimpl.C (realizeFont): delete func
1542
1543 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
1544
1545         * text2.C (beforeFullRowInset): added a bad getchar check, removed
1546         row argument, constify cur argument.
1547
1548 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1549
1550         * text2.C (getFont): adjust
1551         (getLayoutFont): adjust
1552         (getLabelFont): adjust
1553
1554         * paragraph_funcs.C (TeXOnePar): adjust
1555         (outerFont): new func...
1556         (realizeFont): ...moved out from here, changed this to facilitate
1557         transition
1558
1559         * paragraph.C (getFont): take outerfont as arg, adjust
1560         (simpleTeXOnePar): add outerfont arg, adjust
1561
1562         * buffer.C (simpleLinuxDocOnePar): adjust
1563         (simpleDocBookOnePar): adjust
1564
1565         * CutAndPaste.C (pasteSelection): adjust
1566
1567         * BufferView.C (getEncoding): adjust
1568
1569 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1570
1571         * text2.C (setCharFont): adjust
1572         (setCounter): adjust
1573
1574         * text.C (leftMargin): adjust
1575         (setHeightOfRow): adjust
1576
1577         * rowpainter.C (paintFirst): adjust
1578         (paintLast): adjust
1579
1580         * paragraph_pimpl.C (realizeFont): adjust
1581
1582         * paragraph.C (isFirstInSequence): move from here...
1583         * paragraph_funcs.C (isFirstInSequence): ...to here
1584
1585         * paragraph.C (outerHook): move from here...
1586         * paragraph_funcs.C (outerHook): ...to here
1587
1588         * paragraph.C (depthHook): move from here...
1589         * paragraph_funcs.C (depthHook): ...to here
1590
1591         * paragraph.C (getEndLabel): move from here...
1592         * paragraph_funcs.C (getEndLabel): ...to here
1593
1594         * text2.C (realizeFont): move from here...
1595         * paragraph_funcs.C (realizeFont): ...to here
1596
1597 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1598
1599         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1600
1601 2003-04-14  Angus Leeming  <leeming@lyx.org>
1602
1603         * LColor.[Ch]: scrap LColor mathcursor.
1604
1605 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1606
1607         * lyxlex.[Ch] (text): delete function
1608         * trans.C (Load): adjust
1609         * paragraph_funcs.C (readParToken): adjust
1610
1611 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1612
1613         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1614         vector<char> instead of a char[].
1615
1616         * lyxlex_pimpl.C (getString): adjust
1617         (next): adjust
1618         (lex): use getString
1619         (eatLine): adjust
1620         (nextToken): adjust
1621
1622         * lyxlex.C (text): use pimpl_->getString()
1623         (getBool): ditto
1624         (findToken): ditto
1625
1626 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1627
1628         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1629         (makeFontEntriesLayoutSpecific): temp var for par.size()
1630         (setLayout): temp var for ownerParagraphs().end()
1631         (fullRebreak): temp var for rows().end()
1632         (selectionAsString): temp var for boost::next(startpit), realize
1633         that the while really is a regular for loop.
1634         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1635         setCursor in one place.
1636         (setParagraph): temp vr for ownerParagraphs().end()
1637         (updateCounters): make the while loop a for loop
1638         (cutSelection): temp var for ownerParagraphs().end()
1639         (updateInset): make the do {} while() a regular for loop
1640         (getCursorX): use temp vars
1641         (setCurrentFont): use temp vars
1642         (getColumnNearX): use temp vars
1643
1644 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1645
1646         * text.C (transformChar): use temp var for getChar
1647         (computeBidiTables): use temp var for row->par()
1648         (fill): move temp vars for row->par() and pit->layout() earlier in
1649         the function.
1650         (labelFill): use temp var for row->par()
1651         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1652         asc and desc, realize that pit never changes and that firstpit is
1653         just a duplicate and not needed. Exchange rit->par() with pit in a
1654         lot of places.
1655         (breakAgain): use a temp var for boost::next(rit)
1656         (breakAgainOneRow): ditto
1657         (breakParagraph): use a temp var for rows().begin()
1658         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1659         (cursorRightOneWord): use temp var for cursor.par() and
1660         cursor.pos(), remove usage of tmpcursor.
1661         (cursorLeftOneWord): use temp var for cursor.par() and
1662         cursor.pos() only set cur at end of function.
1663
1664 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * text.C, text2.C: exchange all usage of Paragraph::next with
1667         boost::next(ParagraphList::iterator)
1668
1669         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1670
1671         * text2.C (cursorTop): simplify implementation
1672         (cursorBottom): ditto
1673         (setParagraph): use ParagraphList::iterator
1674         (setCurrentFont): adjust
1675         (getColumnNearX): adjust
1676         (cursorRight): adjust
1677         (cursorLeft): remove usage of Paragraph::previous
1678         (cursorUpParagraph): ditto
1679         (deleteEmptyParagraphMechanism): slight cleanup
1680
1681         * text.C (isBoundary): take a Paragraph const & instead of a
1682         pointer as arg.
1683         (addressBreakPoint): ditto
1684         (leftMargin): remove usage of Paragraph::previous.
1685         (setHeightOfRow): ditto
1686         (cursorLeftOneWord): ditto
1687         (selectNextWordToSpellcheck): ditto
1688         (Delete): ditto
1689         (backspace): ditto
1690         (breakParagraph): remove one usage of Paragraph::next
1691         (redoParagraph): ditto
1692         (acceptChange): ditto
1693         (insertChar): adjust
1694         (rowBreakPoint): adjust
1695
1696         * bufferview_funcs.C (toggleAndShow): adjust
1697
1698 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
1699
1700         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1701         methods to access it.
1702         * lyxtext.h:
1703         * text.C: Added updateRowPositions to compute all row positions.
1704         Make top_y and getRowNearY() to use the cached y position
1705
1706 2003-04-11  John Levon  <levon@movementarian.org>
1707
1708         * text.C (rowBreakPoint): reintroduce the labelEnd
1709         checks, code copied from the row fill stuff. Deep voodoo.
1710
1711         * text.C (fill): add a comment and debugging for the
1712         next poor soul.
1713
1714 2003-04-11  John Levon  <levon@movementarian.org>
1715
1716         * text.C: make sure fullrow insets get wrapped to the next line,
1717         even when they're in a manual label
1718
1719 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * text2.C (insertParagraph): make it take ParagraphList::iterator
1722         as arg.
1723         (setLayout): make it return ParagraphList::iterator
1724         (redoParagraphs): ditto
1725         (setCounter): ditto
1726         (checkParagraph): ditto
1727
1728         * text.C (getRow): make getrow take ParagraphList::iterator as arg
1729
1730         * text2.C: adjust several funcs.
1731         (realizeFont): take a ParagraphList::iterator as arg.
1732         (getLayoutFont): ditto
1733         (getLabelFont): ditto
1734         (setCharFont): ditto
1735
1736         * text.C: adjust several funcs.
1737
1738 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1739
1740         * text.C (selectNextWordToSpellcheck): don't accidentally
1741         skip insets
1742
1743 2003-04-10  John Levon  <levon@movementarian.org>
1744
1745         * ToolbarBackend.C (getIcon): special handling for
1746         LFUN_MATH_DELIM
1747
1748 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1749
1750         * text2.C (cursorRight): a getChar assert fixed
1751
1752 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1753
1754         * text2.C (getFont): change to take a ParagraphList::iterator
1755         instead of Paragraph*
1756         Adjust several functions.
1757
1758         * text.C (transformChar): change to take a ParagraphList::iterator
1759         instead of Paragraph*
1760         (singleWidth): ditto
1761         Adjust several functions.
1762
1763         * rowpainter.C: adjust several functions
1764         * rowpainter.h:store a ParagraphList::iterator and not a
1765         Paragraph&.
1766
1767
1768 2003-04-09  John Levon  <levon@movementarian.org>
1769
1770         * lyxfunc.C:
1771         * lfuns.h:
1772         * LyXAction.h:
1773         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1774         and the "help" bits as well
1775
1776 2003-04-09  John Levon  <levon@movementarian.org>
1777
1778         * ToolbarBackend.h:
1779         * ToolbarBackend.C: allow multiple toolbars
1780
1781 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1782
1783         * undo_funcs.C (setCursorParUndo): adjust
1784
1785         * text_funcs.C (transposeChars): adjust
1786
1787         * text3.C (gotoNextInset): adjust
1788         (dispatch): adjust
1789
1790         * text2.C (setLayout): adjust
1791         (changeDepth): adjust
1792         (setFont): adjust
1793         (redoParagraphs): adjust
1794         (selectionAsString): adjust
1795         (setParagraph): adjust
1796         (insertInset): adjust
1797         (cutSelection): adjust
1798         (copySelection): adjust
1799         (pasteSelection): adjust
1800         (insertStringAsLines): adjust
1801         (updateInset): adjust
1802         (setCursor): change to take a ParagraphList::iterator parameter
1803         (setCursorIntern): change to take a ParagraphList::iterator parameter
1804         (setCurrentFont): adjust
1805         (cursorLeft): adjust
1806         (cursorRight): adjust
1807         (deleteEmptyParagraphMechanism): adjust
1808
1809         * text.C (breakParagraph): adjust
1810         (insertChar): adjust
1811         (acceptChange): adjust
1812         (rejectChange): adjust
1813         (selectNextWordToSpellcheck): adjust
1814         (changeCase): adjust
1815         (Delete): adjust
1816         (backspace): adjust
1817
1818         * lyxfind.C (SearchForward): adjust
1819         (SearchBackward): adjust
1820         (nextChange): adjust
1821
1822         * lyxcursor.C (par): adjust
1823
1824         * lyxcursor.h: store a ParagraphList::iterator instead of a
1825         Paragraph*
1826
1827         * lyx_cb.C (getPossibleLabel): adjust
1828
1829         * bufferview_funcs.C (toggleAndShow): adjust
1830
1831         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1832         (dispatch): adjust
1833
1834         * BufferView.C (removeAutoInsets): adjust
1835         (lockedInsetStoreUndo): adjust
1836
1837 2003-04-09  John Levon  <levon@movementarian.org>
1838
1839         * ToolbarBackend.C: try icon without argument
1840         if with argument fails
1841
1842 2003-04-08  John Levon  <levon@movementarian.org>
1843
1844         * ToolbarBackend.h:
1845         * ToolbarBackend.C: add getIcon(), handle tooltip,
1846         and change from "Icon" to "Item".
1847
1848 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1849
1850         * BufferView.C (lockInset): another bad getchar crunched
1851
1852 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1853
1854         * text2.C (changeDepth): do not setUndo on test_only (make undo work
1855         again)
1856
1857 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
1858
1859         * lyxfind.C (searchForward, searchBackwards): bug 782
1860
1861 2003-04-07  John Levon  <levon@movementarian.org>
1862
1863         * paragraph.C: remove dead comment
1864
1865         * text.C: remove troublesome depth-fiddling code
1866         in leftMargin() and rightMargin() (bug 1017)
1867
1868         * text.C: fix breaking of rows in nested lists
1869         (bug 1004)
1870
1871         * text2.C (updateCounters): fix up depth values
1872         (bug 1013)
1873
1874 2003-04-07  John Levon  <levon@movementarian.org>
1875
1876         * BufferView_pimpl.C: clear message when doc finishes resizing,
1877         and after a mouse event
1878
1879         * lyxfunc.C: clear message after exiting inset
1880
1881 2003-04-07  John Levon  <levon@movementarian.org>
1882
1883         * bufferview_funcs.C: show math status not outside
1884         status in the statusbar
1885
1886 2003-04-07  John Levon  <levon@movementarian.org>
1887
1888         * lyxfunc.C: note status changed after a depth change
1889
1890 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
1891
1892         * LaTeX.h: move AuxInfo operator==, != out of line.
1893         Remove LaTeX virtual destructor; nothing derives from it.
1894         Move operator()() out of public area and rename it startscript().
1895         Change protected for private.
1896
1897 2003-04-04  Angus Leeming  <leeming@lyx.org>
1898
1899         * lyxfunc.C:
1900         * text2.C: remove unneeded #includes.
1901
1902 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1903
1904         * text2.C (dEPM): fix the heigth of the next row
1905
1906 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1907
1908         * text.C: squashed an invalid getChar requester + some ws changes
1909
1910 2003-04-03  John Levon  <levon@movementarian.org>
1911
1912         * bufferview_funcs.h:
1913         * bufferview_funcs.C:
1914         * lyxfunc.C:
1915         * lyxtext.h:
1916         * text2.C: make getStatus work for the env depth lfuns
1917
1918 2003-04-03  John Levon  <levon@movementarian.org>
1919
1920         * bufferview_funcs.h:
1921         * bufferview_funcs.C:
1922         * lyxfunc.C:
1923         * lyxtext.h:
1924         * text2.C: parlistize decDepth(), by merging it with incDepth()
1925
1926 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1927
1928         * lyxrow.h: store a ParagraphList::iterator instead of a
1929         Paragraph* and adjust other class functions to suit.
1930
1931         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1932         above.
1933
1934 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
1935
1936         * text2.C (setCursor): do not anchor to cursor row for the time being
1937
1938 2003-04-02  John Levon  <levon@movementarian.org>
1939
1940         * LyXAction.C:
1941         * lfuns.h:
1942         * lyx_main.C:
1943         * lyxtext.h:
1944         * text.C:
1945         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1946
1947 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1948
1949         * paragraph.h: make ParagraphList and ParagraphList::iterator
1950         friends of Paragraph.
1951
1952         * buffer.C (makeLinuxDocFile): move towards ParagraphList
1953
1954         * ParagraphList.C: Use the private next_ and previous_ from
1955         Paragraph.
1956
1957 2003-04-01  John Levon  <levon@movementarian.org>
1958
1959         * ToolbarBackend.h:
1960         * ToolbarBackend.C:
1961         * Makefile.am: rename, remove defaults gunk
1962
1963         * MenuBackend.h:
1964         * MenuBackend.C: remove defaults gunk
1965
1966         * Languages.h:
1967         * Languages.C: remove defaults gunk
1968
1969         * lyx_main.h:
1970         * lyx_main.C: error out if files couldn't be found.
1971
1972 2003-04-02  John Levon  <levon@movementarian.org>
1973
1974         * text2.C: make incDepth() use parlist
1975
1976 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1977
1978         * undo_funcs.C (firstUndoParagraph): adjust
1979
1980         * text3.C (gotoInset): adjust
1981         (dispatch): adjust, and rewrite loop.
1982
1983         * text2.C (init): adjust, and rewrite loop.
1984         (redoParagraphs): adjust
1985         (updateInset): adjust, and rewrite loop.
1986         (deleteEmptyParagraphMechanism): adjust
1987
1988         * tabular.C (LyXTabular): adjust
1989         (SetMultiColumn): adjust
1990         (TeXRow): adjust
1991
1992         * lyxtext.[Ch] (ownerParagraph): delete function
1993         (ownerParagraphs): new function returns a ParagraphList.
1994
1995         * BufferView.C (removeAutoInsets): adjust
1996         (insertErrors): adjust
1997         (setCursorFromRow): adjust
1998
1999 2003-04-01  Angus Leeming  <leeming@lyx.org>
2000
2001         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2002         in the frontends.
2003
2004 2003-04-02  John Levon  <levon@movementarian.org>
2005
2006         * lyxtext.h:
2007         * text.C:
2008         * Makefile.am:
2009         * text_funcs.h:
2010         * text_funcs.C: make transposeChars a free function
2011
2012         * lyxrow_funcs.C: remove wrong comment
2013
2014 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2015
2016         * lyxtext.h: adjust
2017         * rowpainter.C: adjust
2018         * text.C: adjust
2019         * text2.C: adjust
2020         * text3.C: adjust
2021
2022         * lyxrow_funcs. [Ch]: new files
2023
2024         * lyxrow.[Ch]: remove next and previous pointers
2025         (next,previous): remove accessor functions
2026         (isParEnd): move to lyxrow_funcs
2027         (lastPos): move to lyxrow_funcs
2028         (nextRowIsAllInset): move to lyxrow_funcs
2029         (lastPrintablePos): move to lyxrow_funcs
2030         (numberOfSeparators): move to lyxrow_funcs
2031         (numberOfHfills): move to lyxrow_funcs
2032         (numberOfLabelHfills): move to lyxrow_funcs
2033         (hfillExpansion): move to lyxrow_funcs
2034
2035         * lyxfunc.C: adjust
2036
2037         * bufferview_funcs.C (toggleAndShow): adjust
2038
2039         * RowList.h: Remove class RowList from file leave just a
2040         std::list<Row>.
2041
2042         * RowList.C: delete file
2043
2044         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2045         and lyxrow_funcs.h
2046
2047 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2048
2049         * text3.C (cursorPrevious): adjust
2050         (cursorNext): adjust
2051         (dispatch): adjust
2052
2053         * text2.C (redoHeightOfParagraph): adjust
2054         (redoDrawingOfParagraph): adjust
2055         (setCursor): adjust
2056
2057         * text.C (breakParagraph): adjust
2058         (insertChar): adjust
2059         (backspace): adjust
2060
2061         * rowpainter.C (RowPainter): adjust
2062         (leftMargin): simplify and adjust
2063         (most rowpainter functions): adjust.
2064
2065         * rowpainter.h: store the row as RowList::iterator not as Row*
2066
2067         * lyxcursor.C (row): taka RowList::iterator as arg
2068         (irow): ditto
2069
2070         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2071         of Row*.
2072
2073 2003-04-01  Angus Leeming  <leeming@lyx.org>
2074
2075         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2076         stuff like bool Bool.
2077
2078 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2079
2080         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2081         rewrite a loop
2082
2083 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2086         RowList::iterator.
2087
2088         * lyxtext.h (rows): drop one version and leve a const variant that
2089         returns a RowList::iterator.
2090
2091 2003-03-31  Angus Leeming  <leeming@lyx.org>
2092
2093         * text.C (fill): ensure that the signature is the same as that in the
2094         header file.
2095
2096 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * text2.C (redoParagraphs): adjust
2099         (updateCounters): adjust
2100         (checkParagraph): adjust
2101         (getColumnNearX): adjust and reformat a bit.
2102
2103         * text.C (top_y): adjust
2104         (workWidth): adjust
2105         (leftMargin): adjust
2106         (prepareToPrint): adjust
2107         (getRow): adjust
2108         (getRowNearY): adjust
2109
2110         * lyxtext.h: make rowlist_ mutable.
2111
2112         * RowList.h: add const_iterator
2113         * RowList.C: adjust for RowList::const_iterator.
2114
2115         * text2.C (getCursorX): make it take a RowList::iterator as arg,
2116         adjust.
2117
2118 2003-03-31  John Levon  <levon@movementarian.org>
2119
2120         * lyxrc.h:
2121         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2122
2123         * lyx_main.C: set default fonts from using lyx_gui funcs
2124
2125         * exporter.C: pdf_mode moved from lyxrc
2126
2127         * lyx_cb.C:
2128         * lyxfunc.C: changes from above
2129
2130 2003-03-31  John Levon  <levon@movementarian.org>
2131
2132         * lyx_main.C: fix to the last fix
2133
2134 2003-03-31  John Levon  <levon@movementarian.org>
2135
2136         * bufferlist.C: "Load original" -> "Load Original"
2137
2138         * converter.C:
2139         * exporter.C:
2140         * importer.C:
2141         * lyx_main.C:
2142         * format.C: more Alert cleanups
2143
2144 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2145
2146         * text2.C (removeParagraph): make it take a RowList::iterator as
2147         arg, adjust.
2148         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2149         (postRowPaint): make it take a RowList::iterator as arg, adjust.
2150
2151         * text.C (anchor_row): make it take a RowList::iterator as arg,
2152         adjust.
2153         (computeBidiTables): make it take a const reference to Row instead
2154         of Row pointer, adjust.
2155         (leftMargin): make it take a RowList::iterator as arg, adjust.
2156         (rowBreakPoint): adjust
2157         (breakAgainOneRow): make it take a RowList::iterator as arg,
2158         adjust.
2159         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2160
2161         * bufferview_funcs.C (toggleAndShow): adjust
2162
2163 2003-03-30  John Levon  <levon@movementarian.org>
2164
2165         * Makefile.am:
2166         * BoostFormat.h:
2167         * boost-inst.C: moved to support
2168
2169         * several files: changes as a result
2170
2171 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2172
2173         * text2.C (LyXText): adjust.
2174         (init): adjust
2175         (removeRow): make it take a RowList::iterator as arg, adjust.
2176         (fullRebreak): adjust
2177         (deleteEmptyParagraphMechanism): adjust
2178         (clearPaint): adjust
2179         (postPaint): adjust
2180
2181         * text.C (top_y): adjust
2182         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2183         (breakAgain): make it take a RowList::iterator as arg, adjust.
2184         (breakParagraph): adjust
2185         (insertChar): adjust
2186         (backspace): adjust
2187
2188         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2189         need_break_row, and refresh_row.
2190
2191         * text3.C (dispatch): adjust
2192
2193         * text2.C (checkParagraph): adjust
2194         (setCursor): adjust
2195         (setCursorFromCoordinates): adjust
2196
2197         * text.C (top_y): adjust
2198         (workWidth): adjust
2199         (getRow): make it return a RowList::iterator, adjust
2200         (getRowNearY): make it return a RowList::iterator, adjust
2201
2202         * text2.C (init): adjust
2203         (insertRow): remove function
2204         (insertParagraph): adjust
2205         (redoParagraphs): adjust
2206         (fullRebreak): adjust
2207         (updateCounters): adjust
2208
2209         * text.C (top_y): rewrite to use RowList iterators.
2210         (top_y): adjust
2211         (setHeightOfRow): rewrite to sue RowList iterators.
2212         (appendParagraph): adjust
2213         (breakAgain): adjust
2214         (breakAgainOneRow): adjust
2215         (breakParagraph): adjust
2216         (getRow): adjust
2217         (getRowNearY): adjust, and remove commented code.
2218
2219         * lyxtext.h (firstRow): delete function
2220         (lastRow): delete function
2221         (rows): new function (const and non-const versions.)
2222         (insertRow): delete function
2223
2224         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2225
2226 2003-03-29  John Levon  <levon@movementarian.org>
2227
2228         * BufferView_pimpl.C: always update scrollbar top
2229         because pasting text when we're anchored could mean we
2230         miss an update altogether
2231
2232 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2233
2234         * text2.C (init): use rowlist_.end() and not 0.
2235         (insertRow): change to take a RowList::iterator as arg, adjust
2236         for this.
2237         (insertParagraph): change to take a RowList::iterator as arg,
2238         adjust for this.
2239         (redoParagraphs): remove some debug msgs.
2240
2241         * text.C (appendParagraph): change to take a RowList::iterator
2242         arg, adjust for this.
2243         (breakAgain): add an assert
2244         (breakAgainOneRow): ditto
2245
2246 2003-03-29  John Levon  <levon@movementarian.org>
2247
2248         * text2.C: do not clear selection after inc/decDepth
2249         (bug 550)
2250
2251 2003-03-29  John Levon  <levon@movementarian.org>
2252
2253         * BufferView.C:
2254         * buffer.C: fix broken strerrors according to Lars
2255
2256 2003-03-29  John Levon  <levon@movementarian.org>
2257
2258         * converters.C: more Alert cleanups
2259
2260 2003-03-29  John Levon  <levon@movementarian.org>
2261
2262         * bufferview_funcs.C: remove pointless Alert
2263
2264         * buffer.C: fix confusing error message when
2265         a template is chmoded 000
2266
2267 2003-03-29  John Levon  <levon@movementarian.org>
2268
2269         * BufferView.C:
2270         * BufferView.h:
2271         * BufferView_pimpl.C: Alert fixes
2272
2273         * Makefile.am:
2274         * tabular.C:
2275         * tabular-old.C: remove unused table compat reading
2276
2277 2003-03-29  John Levon  <levon@movementarian.org>
2278
2279         * BufferView.C:
2280         * buffer.C:
2281         * lyx_cb.h:
2282         * lyx_cb.C: more Alert cleanups
2283
2284         * lyxfunc.C: don't allow chktex if not latex document
2285
2286 2003-03-29  John Levon  <levon@movementarian.org>
2287
2288         * lyx_cb.C:
2289         * BufferView.C:
2290         * buffer.C: warnings pushed down from support/,
2291         kill err_alert
2292
2293 2003-03-29  John Levon  <levon@movementarian.org>
2294
2295         * lyxfunc.C: safety check for C-r (revert)
2296
2297 2003-03-29  John Levon  <levon@movementarian.org>
2298
2299         * bufferlist.h:
2300         * bufferlist.C: several UI fixes using Alert::prompt.
2301         Fix the pointless looping quit code. Fix stupid revert
2302         behaviour (bug 938)
2303
2304         * lyxvc.h:
2305         * lyxvc.C:
2306         * lyx_cb.C: use Alert::prompt
2307
2308         * lyx_main.C: remove a silly question
2309
2310         * lyxfunc.C: remove a couple of silly questions,
2311         use Alert::prompt
2312
2313 2003-03-28  John Levon  <levon@movementarian.org>
2314
2315         * text2.C: fix bug 974 (End on empty par)
2316
2317 2003-03-28  John Levon  <levon@movementarian.org>
2318
2319         * BufferView_pimpl.C:
2320         * LyXAction.C:
2321         * lfuns.h: remove do-nothing math greek lfuns
2322
2323 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2324
2325         * lyxgluelength.h (isValidGlueLength): add default arg on
2326         parameter 2. Remove default arg from friend in class.
2327
2328         * lyxlength.h (isValidLength): add default arg on parameter 2.
2329         Remove default arg from friend in class.
2330
2331         * text2.C (LyXText): adjust, initialize refresh_row.
2332         (init): adjust
2333         (removeRow): adjust
2334         (insertRow): adjust
2335         (insertParagraph): adjst
2336         (redoParagraphs): adjust
2337         (fullRebreak): adjust
2338         (updateCounters): adjust
2339         (deleteEmptyParagraphMechanism): first attempt at fixing a
2340         crashing bug.
2341
2342         * text.C (top_y): adjust
2343         (setHeightOfRow): adjust
2344         (getRow): adjust
2345         (getRowNearY): adjust
2346
2347         * lyxtext.h: include RowList.h
2348         (~LyXText): not needed anymore, deleted.
2349         (firstRow): modify for RowList
2350         (lastRow): new function
2351         Delete firstrow and lastrow class variables, add a Rowlist
2352         rowlist_ class variable.
2353
2354         * lyxrow.C (lastPos): use empty() and not !size() to check if a
2355         paragraph is empty.
2356
2357         * RowList.C (insert): fix case where it == begin().
2358
2359 2003-03-26  Angus Leeming  <leeming@lyx.org>
2360
2361         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2362         the thesaurus dialog.
2363
2364 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2367
2368         * RowList.[Ch]: new files
2369
2370         * ParagraphList.C (erase): handle the case where it == begin
2371         correctly.
2372
2373 2003-03-25  John Levon  <levon@movementarian.org>
2374
2375         * Makefile.am:
2376         * aspell_local.h:
2377         * aspell.C: add new aspell support
2378
2379         * lyxrc.h:
2380         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2381         have it accessible.
2382
2383 2003-03-25  Angus Leeming  <leeming@lyx.org>
2384
2385         * lfuns.h:
2386         * LyXAction.C (init): new LFUN_INSET_INSERT.
2387
2388         * BufferView_pimpl.C (dispatch): split out part of the
2389         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2390
2391         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2392         LFUN_INSET_APPLY.
2393
2394 2003-03-25  Angus Leeming  <leeming@lyx.org>
2395
2396         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2397
2398 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2399
2400         * text2.C:
2401         * text3.C: remove useless row->height(0)
2402
2403 2003-03-25  John Levon  <levon@movementarian.org>
2404
2405         * lyxtext.h:
2406         * text2.C:
2407         * text3.C: rename the refreshing stuff to better names
2408
2409 2003-03-24  John Levon  <levon@movementarian.org>
2410
2411         * BufferView_pimpl.h:
2412         * BufferView_pimpl.C: update layout choice on a mouse
2413         press/release
2414
2415 2003-03-23  John Levon  <levon@movementarian.org>
2416
2417         * Makefile.am: fix commandtags.h reference
2418
2419 2003-03-22  John Levon  <levon@movementarian.org>
2420
2421         * BufferView_pimpl.C:
2422         * lyxtext.h:
2423         * rowpainter.C:
2424         * rowpainter.h:
2425         * text.C:
2426         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2427
2428 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
2429
2430         * lyxtext.h:
2431         * text.C: take the rtl methods out of line
2432
2433 2003-03-21 André Pönitz <poenitz@gmx.net>
2434
2435         * metricsinfo.[Ch]: new files containing structures to be passed around
2436         during the two-phase-drawing...
2437
2438 2003-03-21 André Pönitz <poenitz@gmx.net>
2439
2440         * lyxtextclass.C: read 'environment' tag.
2441
2442 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * text2.C (removeRow): fix bug 964
2445
2446 2003-03-20  John Levon  <levon@movementarian.org>
2447
2448         * rowpainter.C:
2449         * text.C:
2450         * text2.C: paint cleanups. Inset::update() dropped font
2451         parameter
2452
2453 2003-03-19  John Levon  <levon@movementarian.org>
2454
2455         * lyxfunc.C: only fitcursor/markDirty if available()
2456
2457 2003-03-19  John Levon  <levon@movementarian.org>
2458
2459         * commandtags.h: rename to ...
2460
2461         * lfuns.h: ... this, and renumber / cleanup
2462
2463 2003-03-19  John Levon  <levon@movementarian.org>
2464
2465         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2466         fit the cursor after an lfun
2467
2468         * BufferView.h:
2469         * BufferView.C:
2470         * BufferView_pimpl.h:
2471         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2472
2473         * LyXAction.C: layout-character should have ReadOnly
2474
2475         * ParagraphParameters.C:
2476         * buffer.C:
2477         * bufferview_funcs.C:
2478         * lyx_cb.C:
2479         * lyxfind.C:
2480         * lyxtext.h:
2481         * text.C:
2482         * text2.C:
2483         * text3.C:
2484         * undo_funcs.C: changes from above
2485
2486 2003-03-18  John Levon  <levon@movementarian.org>
2487
2488         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2489         remove it from update()
2490
2491         * lyxfunc.C: update layout choice after an lfun
2492
2493         * text3.C: remove extra updateLayoutChoice()s
2494
2495 2003-03-18  John Levon  <levon@movementarian.org>
2496
2497         * text.C: top_y change means full repaint, fix
2498         a drawing bug with cursor movement
2499
2500 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2501
2502         * lyxtext.h:
2503         * text.C:
2504         * text2.C: anchor row on setCursor
2505
2506 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2507
2508         * lyxtext.h: remove almost all mutable keywords
2509         * text.C:
2510         * text2.C:
2511         * text3.C: remove const keywords accordingly
2512
2513 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2514
2515         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2516         anon namespace
2517         (TeXEnvironment): ditto
2518         (TeXOnePar): ditto
2519
2520 2003-03-17  John Levon  <levon@movementarian.org>
2521
2522         * text.C (rowBreakPoint): remove attempt to fix displayed
2523         math insets inside a manual label
2524
2525 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * lyxtext.h: remove BufferView* as first arg from almost all class
2528         functions.
2529         * other files: adjust.
2530
2531 2003-03-17  John Levon  <levon@movementarian.org>
2532
2533         * lyxtext.h:
2534         * undo_funcs.C:
2535         * text2.C: more paint cleanups
2536
2537         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2538
2539         * rowpainter.h:
2540         * rowpainter.C: remove "smart" background painting code
2541
2542 2003-03-16  John Levon  <levon@movementarian.org>
2543
2544         * lyxtext.h:
2545         * text.C:
2546         * text2.C:
2547         * text3.C: add helper functions for setting refresh_row/y
2548
2549 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
2550
2551         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2552         newline inset which *can* get inserted in the pass_thru layouts.
2553         This is primarily for literate documents.
2554
2555 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
2556
2557         * buffer.C: increment LYX_FORMAT to 223
2558
2559 2003-03-14 André Pönitz <poenitz@gmx.net>
2560
2561         * textclass.h: prepare for environment handling, ws changes
2562         * lyxlayout.C: read latexheader and latexfooter tags
2563
2564 2003-03-14  John Levon  <levon@movementarian.org>
2565
2566         * text2.C: rewrite ::status() a bit
2567
2568 2003-03-13  John Levon  <levon@movementarian.org>
2569
2570         * lyxtext.h: add some docs
2571
2572 2003-03-13  John Levon  <levon@movementarian.org>
2573
2574         * lyxtext.h:
2575         * text.C:
2576         * text2.C:
2577         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2578
2579 2003-03-13  John Levon  <levon@movementarian.org>
2580
2581         * text3.C: fix appendix redrawing
2582
2583 2003-03-13  John Levon  <levon@movementarian.org>
2584
2585         * text.C (setHeightOfRow):
2586         * rowpainter.h:
2587         * rowpainter.C: make appendix mark have the text
2588           "Appendix" so the user knows what it is
2589
2590         * LColor.h:
2591         * LColor.C: s/appendixline/appendix/ from above
2592
2593 2003-03-13  John Levon  <levon@movementarian.org>
2594
2595         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2596
2597         * text.C: fix a getChar(pos) bug properly
2598
2599 2003-03-13  Angus Leeming  <leeming@lyx.org>
2600
2601         * commandtags.h:
2602         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2603         Probably only temporary. Let's see how things pan out.
2604
2605         * BufferView.C (unlockInset):
2606         * BufferView_pimpl.C (fitCursor):
2607         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2608
2609         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2610         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2611
2612         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2613         new functions that convert ParagraphParameters to and from a string.
2614
2615         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2616         BufferView::Pimpl's dispatch.
2617         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2618
2619 2003-03-13 André Pönitz <poenitz@gmx.net>
2620
2621         * lyxfunc.C:
2622         * text3.C:
2623         * factory.C: make it aware of InsetEnv
2624
2625 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * text2.C (setCursor): never ask for one past last
2628         (setCursor): add some debugging messages.
2629
2630         * text.C (singleWidth): never ask for one past last
2631         (singleWidth): ditto
2632         (leftMargin): ditto
2633         (rightMargin): ditto
2634         (rowBreakPoint): ditto
2635         (setHeightOfRow): ditto
2636         (prepareToPrint): ditto
2637
2638         * rowpainter.C (paintBackground): never ask for one past last
2639         (paintText): never ask for one past last
2640
2641         * paragraph_pimpl.C (getChar): make the assert stricter, never
2642         allow the one past last pos to be taken
2643
2644         * paragraph.C (getChar): ws changes only
2645
2646         * lyxrow.C (nextRowIsAllInset): never ask for one past last
2647         (numberOfSeparators): ditto
2648         (numberOfHfills): ditto
2649
2650 2003-03-12  John Levon  <levon@movementarian.org>
2651
2652         * author.h:
2653         * author.C:
2654         * bufferparams.h:
2655         * bufferparams.C:
2656         * paragraph_funcs.C: fix per-buffer authorlists
2657
2658 2003-03-12  John Levon  <levon@movementarian.org>
2659
2660         * text.C: fix newline in right address
2661
2662 2003-03-12  Angus Leeming  <leeming@lyx.org>
2663
2664         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2665         duplicate those in LyXFunc::dispatch.
2666
2667         * commandtags.h:
2668         * LyXAction.C:
2669         * ToolbarDefaults.C:
2670         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2671         Add LFUN_FONTFREE_UPDATE.
2672
2673         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2674         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2675
2676         * bufferview_func.[Ch]: several new functions to facilliate
2677         transfer of data to and from the character dialog.
2678
2679 2003-03-12  John Levon  <levon@movementarian.org>
2680
2681         * buffer.C:
2682         * paragraph.h:
2683         * paragraph.C:
2684         * paragraph_funcs.C:
2685         * paragraph_pimpl.C:
2686         * sgml.C:
2687         * tabular.C:
2688         * text.C:
2689         * text3.C: remove META_NEWLINE in favour of an inset
2690
2691         * rowpainter.h:
2692         * rowpainter.C: remove paintNewline (done by inset)
2693
2694 2003-03-12  John Levon  <levon@movementarian.org>
2695
2696         * paragraph_pimpl.C: complain about bad getChar()s
2697         for a while at least
2698
2699 2003-03-12  John Levon  <levon@movementarian.org>
2700
2701         * buffer.h:
2702         * buffer.C: move paragraph read into a separate function,
2703         a little renaming to reflect that.
2704
2705         * bufferparams.h:
2706         * bufferparams.C: remove the author_ids map, not necessary now
2707
2708         * factory.h:
2709         * factory.C: moved Buffer::readInset to here
2710
2711         * paragraph_funcs.h:
2712         * paragraph_funcs.C: readParagraph free function moved from
2713         buffer.C
2714
2715         * tabular.C: name change
2716
2717 2003-03-12  John Levon  <levon@movementarian.org>
2718
2719         * buffer.C:
2720         * ParagraphParameters.C: move par params input to
2721         a read() method
2722
2723         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2724         behave like a normal read from the stream wrt reading
2725         a line vs. a \\token
2726
2727 2003-03-12  John Levon  <levon@movementarian.org>
2728
2729         * paragraph.C:
2730         * ParagraphParameters.h:
2731         * ParagraphParameters.C: move output code to a
2732         ::write() method
2733
2734 2003-03-12  John Levon  <levon@movementarian.org>
2735
2736         * BufferView.C (insertLyXFile):
2737         * buffer.h:
2738         * buffer.C:
2739         * tabular.C: use a parlist iterator for creating the
2740           document.
2741
2742 2003-03-12  John Levon  <levon@movementarian.org>
2743
2744         * buffer.C: make current_change static local not
2745           static file-scope
2746
2747 2003-03-12  John Levon  <levon@movementarian.org>
2748
2749         * buffer.C: fix insertStringAsLines for change tracking
2750
2751 2003-03-12  John Levon  <levon@movementarian.org>
2752
2753         * BufferView.C:
2754         * tabular.C:
2755         * buffer.h:
2756         * buffer.C:
2757         * bufferparams.h:
2758         * bufferparams.C: move author list into params. Rename some
2759           functions. Move the header reading into a separate token
2760           loop. Move the header token reading into BufferParams.
2761
2762 2003-03-12  John Levon  <levon@movementarian.org>
2763
2764         * changes.C: put debug inside lyxerr.debugging() checks
2765
2766 2003-03-11 André Pönitz <poenitz@gmx.net>
2767
2768         * factory.C: make it aware of InsetHFill
2769
2770 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2771
2772         * buffer.C (latexParagraphs): move function from here...
2773         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2774         args.
2775
2776 2003-03-10  Angus Leeming  <leeming@lyx.org>
2777
2778         * LyXAction.C (init): fix bug in poplating array with multiple entries
2779         with the same LFUN (spotted by JMarc).
2780
2781 2003-03-10  John Levon  <levon@movementarian.org>
2782
2783         * text.C:
2784         * text2.C: move getColumnNearX() near its
2785         only call site
2786
2787 2003-03-10  John Levon  <levon@movementarian.org>
2788
2789         * text.C: fix break before a minipage
2790
2791 2003-03-10  John Levon  <levon@movementarian.org>
2792
2793         * text.C: fix the last commit
2794
2795 2003-03-09  John Levon  <levon@movementarian.org>
2796
2797         * lyxtext.h:
2798         * text.C:
2799         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2800         bug 365 (don't break before insets unless needed). Don't
2801         return a value > last under any circumstances.
2802
2803 2003-03-09  Angus Leeming  <leeming@lyx.org>
2804
2805         * BufferView_pimpl.C (trackChanges, dispatch): call
2806         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2807
2808 2003-03-09  Angus Leeming  <leeming@lyx.org>
2809
2810         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2811         than Dialogs::showAboutlyx().
2812
2813 2003-03-09  Angus Leeming  <leeming@lyx.org>
2814
2815         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2816         than Dialogs::showTabularCreate().
2817
2818 2003-03-09  John Levon  <levon@movementarian.org>
2819
2820         * lyxtext.h:
2821         * text.C:
2822         * text2.C: 3rd arg to nextBreakPoint was always the same.
2823           Use references.
2824
2825 2003-03-08  John Levon  <levon@movementarian.org>
2826
2827         * lyxrow.C:
2828         * paragraph.C:
2829         * paragraph.h:
2830         * rowpainter.C:
2831         * text.C:
2832         * text2.C: Remove the "main" bit from the "main body"
2833           notion.
2834
2835 2003-03-08  John Levon  <levon@movementarian.org>
2836
2837         * text.C (leftMargin): The left margin of an empty
2838         manual label paragraph should not include the label width
2839         string length.
2840
2841         * text.C (prepareToPrint): don't attempt to measure hfills
2842         for empty manual label paragraphs - the answer should be 0
2843
2844 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2845
2846         * CutAndPaste.C: remove commented code and reindent.
2847
2848 2003-03-08  John Levon  <levon@movementarian.org>
2849
2850         * lyxfunc.h:
2851         * lyxfunc.C: move reloadBuffer()
2852
2853         * BufferView.h:
2854         * BufferView.C: to here
2855
2856         * lyxvc.C: add comment
2857
2858         * vc-backend.h:
2859         * vc-backend.C: call bv->reload() to avoid
2860           getStatus() check on MENURELOAD
2861
2862 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
2863
2864         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2865         to an old format .dep file.
2866
2867 2003-03-07  Angus Leeming  <leeming@lyx.org>
2868
2869         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2870         when the LFUN_MOUSE_RELEASE should have been handled by
2871         inset->localDispatch.
2872
2873 2003-03-07  Angus Leeming  <leeming@lyx.org>
2874
2875         * BufferView_pimpl.C (dispatch):
2876         * LyXAction.C (init):
2877         * ToolbarDefaults.C (init):
2878         * commandtags.h:
2879         * lyxfunc.C (getStatus):
2880         remove LFUN_INSET_GRAPHICS.
2881
2882         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2883
2884 2003-03-07  Angus Leeming  <leeming@lyx.org>
2885
2886         * commandtags.h:
2887         * LyXAction.C (init):
2888         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2889
2890         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2891
2892         * commandtags.h:
2893         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2894
2895         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2896         localDispatch method LFUN_INSET_DIALOG_UPDATE.
2897
2898 2003-03-07  Angus Leeming  <leeming@lyx.org>
2899
2900         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2901         remove "ert".
2902
2903 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2904
2905         * ParagraphList.C (front): new function
2906         (back): implement
2907
2908 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
2909
2910         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2911         and top_row_offset_. removed var first_y.
2912         * text.C (top_y):
2913         * text2.C (LyXText, removeRow):
2914         * text3.C:
2915         * BufferView_pimpl.C:
2916         use these methods instead of using first_y
2917
2918 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2919
2920         * text2.C (pasteSelection): adjust for checkPastePossible
2921
2922         * CutAndPaste.C: remove Paragraph * buf and replace with
2923         ParagraphList paragraphs.
2924         (DeleteBuffer): delete
2925         (cutSelection): change the tc type to textclass_type
2926         (copySelection): change the tc type to textclass_type
2927         (copySelection): adjust for ParagraphList
2928         (pasteSelection): change the tc type to textclass_type
2929         (pasteSelection): adjust for Paragraphlist
2930         (nrOfParagraphs): simplify for ParagraphList
2931         (checkPastePossible): simplify for ParagraphList
2932         (checkPastePossible): remove unused arg
2933
2934         * ParagraphList.C (insert): handle the case where there are no
2935         paragraphs yet.
2936
2937         * CutAndPaste.h: make CutAndPaste a namespace.
2938
2939         * text3.C (dispatch): adjust
2940
2941         * text.C (breakParagraph): add a ParagraphList as arg
2942
2943         * paragraph_funcs.C (breakParagraph): change to take a
2944         BufferParams and a ParagraphList as args.
2945         (breakParagraphConservative): ditto
2946         (mergeParagraph): ditto
2947         (TeXDeeper): add a ParagraphList arg
2948         (TeXEnvironment): ditto
2949         (TeXOnePar): ditto
2950
2951         * buffer.C (readLyXformat2): adjust
2952         (insertStringAsLines): adjust
2953         (latexParagraphs): adjust
2954
2955         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2956         (cutSelection): adjust
2957         (pasteSelection): adjust
2958
2959         * BufferView_pimpl.C (insertInset): adjust
2960
2961 2003-03-05  Angus Leeming  <leeming@lyx.org>
2962
2963         * commandtags.h:
2964         * LyXAction.C (init):
2965         * BufferView_pimpl.C (dispatch):
2966         * lyxfunc.C (getStatus):
2967         remove LFUN_CHILD_INSERT.
2968
2969         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2970
2971 2003-03-05  Angus Leeming  <leeming@lyx.org>
2972
2973         * commandtags.h:
2974         * LyXAction.C (init):
2975         * src/factory.C (createInset):
2976         * lyxfunc.C (getStatus):
2977         * text3.C (dispatch):
2978         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2979
2980         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2981
2982 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * ParagraphList.C (insert): handle insert right before end()
2985         (erase): fix cases where it can be first or last paragraph.
2986
2987 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * paragraph_funcs.C (TeXEnvironment): remove all usage of
2990         Paragraph::next and Paragraph::previous
2991         (TeXOnePar): ditto
2992
2993         * text.C (breakParagraph): adjust
2994
2995         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2996         BufferParams& as arg.
2997         (breakParagraph): use ParagraphList::insert
2998         (breakParagraphConservative): take a Buffer* instead of a
2999         BufferParams& as arg.
3000         (breakParagraphConservative): use ParagraphList::insert.
3001
3002         * buffer.C (insertStringAsLines): un-const it
3003         (insertStringAsLines): adjust
3004
3005         * ParagraphList.C (insert): new function
3006
3007         * CutAndPaste.C (pasteSelection): adjust
3008
3009         * text.C (backspace): adjust
3010
3011         * tabular.C (SetMultiColumn): adjust
3012
3013         * CutAndPaste.C (cutSelection): adjust
3014         (pasteSelection): adjust
3015
3016         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3017         Buffer const * as arg
3018
3019         * ParagraphList.C (erase): new function
3020         * paragraph_funcs.C (mergeParagraph): use it
3021         (mergeParagraph): make it take a Buffer* instead of a
3022         BufferParams* as arg
3023
3024         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3025         as arg
3026         (breakParagraphConservative): ditto
3027
3028         * paragraph.h: remove the breakParagraph friend
3029
3030         * paragraph.C (eraseIntern): new function
3031         (setChange): new function
3032
3033         * paragraph_funcs.C (mergeParagraph): make it take a
3034         ParagraphList::iterator instead of a Paragraph *, adjust
3035         accordingly.
3036
3037         * paragraph.h: move an #endif so that the change tracking stuff
3038         also works in the NO_NEXT case.
3039
3040 2003-03-04  Angus Leeming  <leeming@lyx.org>
3041
3042         * commandtags.h:
3043         * LyXAction.C: new LFUN_INSET_MODIFY.
3044
3045         * BufferView_pimpl.C (dispatch): if an inset is found to be open
3046         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3047
3048 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * several files: ws changes only
3051
3052         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3053         (TeXEnvironment): ditto
3054         (TeXDeeper): ditto
3055
3056         * buffer.C (makeLaTeXFile): adjust
3057         (latexParagraphs): make it take ParagraphList::iterator as args
3058
3059 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3060
3061         * buffer.C (latexParagraphs): adjust
3062
3063         * paragraph.C (TeXOnePar): move function...
3064         (optArgInset): move function...
3065         (TeXEnvironment): move function...
3066         * paragraph_pimpl.C (TeXDeeper): move function...
3067         * paragraph_funcs.C: ...here
3068
3069         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3070
3071 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * buffer.C (readInset): remove compability code for old Figure and
3074         InsetInfo insets
3075
3076 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3077
3078         * buffer.C: ws changes
3079         (readInset):
3080
3081         * BufferView_pimpl.C: ditto
3082         * author.C: ditto
3083         * buffer.h: ditto
3084         * bufferlist.h: ditto
3085         * changes.h: ditto
3086         * lyxfunc.C: ditto
3087
3088 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
3089
3090         * converter.[Ch]: split into itself +
3091         * graph.[Ch]
3092         * format.[Ch]
3093         * Makefile.am: += graph.[Ch] + format.[Ch]
3094         * MenuBackend.C
3095         * buffer.C
3096         * exporter.C
3097         * importer.C
3098         * lyx_main.C
3099         * lyxfunc.C
3100         * lyxrc.C: added #include "format.h"
3101
3102 2003-02-27  Angus Leeming  <leeming@lyx.org>
3103
3104         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3105           a label.
3106
3107         * factory.C (createInset): add "label" to the factory.
3108
3109         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3110           string and do no more.
3111
3112 2003-02-27  Angus Leeming  <leeming@lyx.org>
3113
3114         * commandtags.h:
3115         * LyXAction.C (init):
3116         * factory.C (createInset):
3117         * BufferView_pimpl.C (dispatch):
3118           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3119
3120         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3121
3122         * lyxfunc.C (dispatch):
3123         * text3.C (dispatch): pass name to params2string.
3124
3125 2003-02-26  Angus Leeming  <leeming@lyx.org>
3126
3127         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3128           blocks together.
3129           Rearrange the ~includes. Strip out the unnecessary ones.
3130
3131         * factory.C (createInset): reformat.
3132           create new insets for the various LFUN_XYZ_APPLY lfuns.
3133
3134 2003-02-26  John Levon  <levon@movementarian.org>
3135
3136         * lyxrow.h:
3137         * lyxrow.C: add isParStart,isParEnd helpers
3138
3139         * paragraph.h: make isInserted/DeletedText take refs
3140
3141         * paragraph_funcs.h:
3142         * paragraph_funcs.C: remove #if 0'd code
3143
3144         * lyxtext.h:
3145         * text3.C:
3146         * text2.C:
3147         * text.C: use lyxrow helpers above.
3148           Move draw and paint routines to RowPainter.
3149           Make several methods use refs not pointers.
3150           Make backgroundColor() const.
3151           Add markChangeInDraw(), isInInset().
3152           Merge changeRegionCase into changeCase.
3153           Make workWidth() shouldn't-happen code into an Assert.
3154
3155         * rowpainter.h:
3156         * rowpainter.C: new class for painting a row.
3157
3158         * vspace.h:
3159         * vspace.C: make inPixels take a ref
3160
3161 2003-02-26  Angus Leeming  <leeming@lyx.org>
3162
3163         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3164         LFUN_REF_APPLY.
3165
3166 2003-02-25  John Levon  <levon@movementarian.org>
3167
3168         * ispell.C: give the forked command a more accurate name
3169
3170 2003-02-22  John Levon  <levon@movementarian.org>
3171
3172         * toc.h:
3173         * toc.C: make TocItem store an id not a Paragraph *
3174           (bug #913)
3175
3176 2003-02-21  Angus Leeming  <leeming@lyx.org>
3177
3178         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3179           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3180           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3181           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3182           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3183           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3184
3185         * BufferView_pimpl.C (dispatch):
3186         * LyXAction.C (init):
3187         * factory.C (createInset):
3188         * lyxfunc.C (getStatus, dispatch):
3189         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3190
3191 2003-02-21  Angus Leeming  <leeming@lyx.org>
3192
3193         * BufferView_pimpl.C (MenuInsertLyXFile):
3194         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3195         * lyxfunc.C (menuNew, open, doImport):
3196           no longer pass a LyXView & to fileDlg.
3197
3198 2003-02-21  Angus Leeming  <leeming@lyx.org>
3199
3200         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3201         * LyXAction.C: change, BIBKEY to BIBITEM.
3202         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3203         Change InsetBibKey to InsetBibitem.
3204         Change BIBKEY_CODE to BIBITEM_CODE.
3205         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3206         * factory.C: replace insetbib.h with insetbibitem.h.
3207         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3208         * paragraph.C: replace insetbib.h with insetbibitem.h.
3209         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3210         Change bibkey() to bibitem().
3211         * text.C: remove insetbib.h.
3212         * text2.C: replace insetbib.h with insetbibitem.h.
3213         change bibkey() to bibitem().
3214         * text3.C: remove insetbib.h.
3215         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3216
3217 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3218
3219         * lyxrc.C (output): enclose user email in quotes (in case there are
3220         several words)
3221
3222 2003-02-18  John Levon  <levon@movementarian.org>
3223
3224         * buffer.h: add std::
3225
3226 2003-02-17  John Levon  <levon@movementarian.org>
3227
3228         * SpellBase.h:
3229         * ispell.h:
3230         * ispell.C:
3231         * pspell.h:
3232         * pspell.C: reworking. Especially in ispell, a large
3233           number of clean ups and bug fixes.
3234
3235         * lyxfunc.C: fix revert to behave sensibly
3236
3237 2003-02-17 André Pönitz <poenitz@gmx.net>
3238
3239         * LyXAction.C:
3240         * commandtags.h: new LFUN_INSERT_BIBKEY
3241
3242         * layout.h:
3243         * lyxlayout.C:
3244         * buffer.C:
3245         * factory.C:
3246         * text.C:
3247         * text2.C:
3248         * text3.C:
3249         * paragraph.[Ch]:
3250         * paragraph_func.C: remove special bibkey handling
3251
3252 2003-02-17  John Levon  <levon@movementarian.org>
3253
3254         * text.C (Delete): fix case where delete at the end of
3255           the very first paragraph would not merge the pars
3256
3257 2003-02-17  John Levon  <levon@movementarian.org>
3258
3259         * lyxrow.C: fix lastPrintablePos()
3260
3261 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3262
3263         * bufferparams.C (writeLaTeX): add a std:here
3264
3265         * buffer.C: and remove a using directive there
3266
3267 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3268
3269         * buffer.C (makeLaTeXFile): move the code that generates the
3270           preamble...
3271
3272         * bufferparams.C (writeLaTeX): ... in this new method
3273
3274         * LaTeXFeatures.C (getEncodingSet): make const
3275           (getLanguages): make const
3276
3277         * MenuBackend.C (binding): returns the binding associated to this
3278           action
3279           (add): sets the status of each item by calling getStatus. Adds
3280           some intelligence.
3281           (read): add support for OptSubMenu
3282           (expand): remove extra separator at the end of expanded menu
3283
3284 2003-02-15  John Levon  <levon@movementarian.org>
3285
3286         * BufferView.C:
3287         * BufferView_pimpl.C:
3288         * bufferlist.h:
3289         * bufferlist.C: remove pointless BufferStorage bloat. Remove
3290           inset code that had no actual effect. Remove unneeded status
3291           code.
3292
3293 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3294
3295         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3296           in preamble
3297
3298 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
3299
3300         * text.C (drawLengthMarker): also draw an arrow marker for
3301           symbolic lengths (medskip...)
3302
3303 2003-02-14  John Levon  <levon@movementarian.org>
3304
3305         * tabular.h:
3306         * tabular.C: better method names
3307
3308 2003-02-14  John Levon  <levon@movementarian.org>
3309
3310         * BufferView_pimpl.C:
3311         * bufferlist.C:
3312         * buffer.C:
3313         * converter.C:
3314         * lyx_cb.C:
3315         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3316           it's a more accurate name. Remove some pointless uses.
3317
3318 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3319
3320         * text2.C (LyXText): change order of initilizers to shut off
3321           warnings
3322
3323 2003-02-14  John Levon  <levon@movementarian.org>
3324
3325         * buffer.C: use ParIterator for getParFromID()
3326
3327         * paragraph.h:
3328         * paragraph.C:
3329         * paragraph_pimpl.h:
3330         * paragraph_pimpl.C: remove unused getParFromID()
3331
3332 2003-02-14  John Levon  <levon@movementarian.org>
3333
3334         * buffer.C: remove some very old #if 0'd parse code
3335
3336 2003-02-13  John Levon  <levon@movementarian.org>
3337
3338         * text.h:
3339         * text.C:
3340         * text2.C: move hfillExpansion(), numberOfSeparators(),
3341           rowLast(), rowLastPrintable(), numberofHfills(),
3342           numberOfLabelHfills() ...
3343
3344         * lyxrow.h:
3345         * lyxrow.C: ... to member functions here.
3346
3347         * paragraph.h:
3348         * paragraph.C:
3349         * lyxtext.h:
3350         * text.C: remove LyXText::beginningOfMainBody(), and call
3351           p->beginningOfMainBody() directly. Move the check for
3352           LABEL_MANUAL into the latter.
3353
3354         * text.h:
3355         * text.C:
3356         * text2.C:
3357         * vspace.C:
3358         * BufferView.h:
3359         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3360
3361         * text.h:
3362         * text.C:
3363         * text2.C:
3364         * text3.C:
3365         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3366           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3367
3368 2003-02-13  John Levon  <levon@movementarian.org>
3369
3370         * CutAndPaste.C: remove debug
3371
3372 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3373
3374         * paragraph.C (asString): remove two unused variables
3375
3376         * lyxtextclass.C (readTitleType):
3377           (Read):
3378           (LyXTextClass): handle new members titletype_ and titlename_
3379
3380         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3381
3382 2003-02-09  John Levon  <levon@movementarian.org>
3383
3384         * buffer.h:
3385         * buffer.C: replace hand-coded list with a map for the dep clean
3386
3387 2003-02-08  John Levon  <levon@movementarian.org>
3388
3389         * LaTeX.C: consolidate code into showRunMessage() helper
3390
3391 2003-02-08  John Levon  <levon@movementarian.org>
3392
3393         * lyxfind.C:
3394         * lyxtext.h:
3395         * text2.C:
3396         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3397           and pass the size in explicitly
3398
3399         * BufferView_pimpl.h:
3400         * BufferView_pimpl.C:
3401         * BufferView.h:
3402         * BufferView.C: add getCurrentChange()
3403
3404         * BufferView_pimpl.h:
3405         * BufferView_pimpl.C: handle change lfuns
3406
3407         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3408           for changes. Mark pasted paragraphs as new.
3409
3410         * support/lyxtime.h:
3411         * support/lyxtime.C:
3412         * DepTable.C: abstract time_t as lyx::time_type
3413
3414         * LColor.h:
3415         * LColor.C: add colours for new text, deleted text, changebars
3416
3417         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3418           package use "usenames" option.
3419
3420         * commandtags.h:
3421         * lyxfunc.C:
3422         * LyXAction.C: add change lfuns
3423
3424         * Makefile.am:
3425         * author.h:
3426         * author.C: author handling
3427
3428         * buffer.h:
3429         * buffer.C: add a per-buffer author list, with first entry as
3430           current author. Handle new .lyx tokens for change tracking. Output
3431           author list to .lyx file. Output dvipost stuff to .tex preamble.
3432           Bump lyx format to 222.
3433
3434         * bufferlist.h:
3435         * bufferlist.C: add setCurrentAuthor() to reset current author details
3436           in all buffers.
3437
3438         * bufferparams.h:
3439         * bufferparams.C: add param for tracking
3440
3441         * bufferview_funcs.C: output change info in minibuffer
3442
3443         * Makefile.am:
3444         * changes.h:
3445         * changes.C: add change-tracking structure
3446
3447         * debug.h:
3448         * debug.C: add CHANGES debug flag
3449
3450         * lyxfind.h:
3451         * lyxfind.C: add code for finding the next change piece
3452
3453         * lyxrc.h:
3454         * lyxrc.C: add user_name and user_email
3455
3456         * lyxrow.h:
3457         * lyxrow.C: add a metric for the top of the text line
3458
3459         * lyxtext.h:
3460         * text.C: implement accept/rejectChange()
3461
3462         * lyxtext.h:
3463         * text.C: paint changebars. Paint new/deleted text in the chosen
3464         colours. Strike through deleted text.
3465
3466         * paragraph.h:
3467         * paragraph.C:
3468         * paragraph_pimpl.h:
3469         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3470           in the current change to the insert functions. Rework erase to
3471           mark text as deleted, adding an eraseIntern() and a range-based
3472           erase(). Implement per-paragraph change lookup and
3473           accept/reject.
3474
3475         * paragraph_funcs.C: Fixup paste for change tracking.
3476
3477         * tabular.C: mark added row/columns as new.
3478
3479         * text.C: fix rowLast() to never return -1. Don't allow
3480           spellchecking of deleted text. Track transpose changes. Don't
3481           allow paragraph break or merge where appropriate.
3482
3483         * text2.C: leave cursor at end of selection after a cut.
3484
3485 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3486
3487         * text.C (getLengthMarkerHeight):
3488         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3489         visible on screen too.
3490
3491 2003-02-07  John Levon  <levon@movementarian.org>
3492
3493         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3494
3495 2003-02-05  Angus Leeming  <leeming@lyx.org>
3496
3497         * lyxserver.C (read_ready): revert my patch of 11 September last year
3498         as it sends PC cpu through the roof. Presumably this means that
3499         the lyxserver will no longer run on an Alpha...
3500
3501 2003-01-30  Angus Leeming  <leeming@lyx.org>
3502
3503         * factory.C (createInset): create an InsetCommandParam of type "index"
3504         and use it to 'do the right thing'.
3505
3506         * text2.C (getStringToIndex): ensure that cursor position is always
3507         reset to the reset_cursor position.
3508
3509 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3510
3511         * lyxfunc.C (getStatus): "buffer-export custom" should never be
3512         disabled.
3513
3514 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3515
3516         * bufferview.C:
3517         * lyxcb.C:
3518         * lyxfunc.C: Output messages with identical spelling, punctuation,
3519         and spaces
3520
3521 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
3522
3523         * MenuBackend.C (expandFormats): List only viewable export formats
3524         in "View" menu
3525
3526         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3527         message
3528
3529         * lyxfunc.C (getStatus): Make sure that formats other than
3530         "fax" can also be disabled
3531
3532 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3533
3534         * text3.C (dispatch): put the lfuns that insert insets in 3
3535         groups, and call doInsertInset with appropriate arguments.
3536         (doInsertInset): new function, that creates an inset and inserts
3537         it according to some boolean parameters.
3538
3539 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * buffer.C (readFile): remember to pass on 'par' when calling
3542         readFile recursively.
3543
3544 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3545
3546         * MenuBackend.C (expandFormats): add "..." to import formats.
3547
3548 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3549
3550         * paragraph.C (asString): Remove XForms RTL hacks.
3551
3552 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
3553         * buffer.C: fix typo
3554
3555 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3556
3557         * Makefile.am (LIBS): delete var
3558         (lyx_LDADD): add @LIBS@ here instead.
3559
3560 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
3561
3562         * Clarify the meaning of "wheel mouse jump"
3563
3564 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3565
3566         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3567         tabular in a float
3568
3569 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3570
3571         * importer.C (Loaders): do not preallocate 3 elements in the
3572         vector, since one ends up with 6 elements otherwise
3573
3574 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3575
3576         * DepTable.C (write): write the file name as last element of the
3577         .dep file (because it may contain spaces)
3578         (read): read info in the right order
3579
3580 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3581
3582         * paragraph_pimpl.C (simpleTeXBlanks):
3583         (simpleTeXSpecialChars):
3584         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3585
3586         * tabular.C (latex): add some missing case statements. Reindent.
3587
3588         * MenuBackend.C (expandToc): remove unused variable.
3589
3590 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3591
3592         * LColor.C:
3593         * LaTeX.C:
3594         * LyXAction.C:
3595         * MenuBackend.C:
3596         * buffer.C:
3597         * exporter.C:
3598         * lyxfunc.C:
3599         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3600         and the like.
3601
3602 2003-01-05  John Levon  <levon@movementarian.org>
3603
3604         * BufferView.h:
3605         * BufferView.C: add getEncoding()
3606
3607         * kbsequence.h:
3608         * kbsequence.C: do not store last keypress
3609
3610         * lyxfunc.h:
3611         * lyxfunc.C: store last keypress here instead. Pass encoding
3612           to getISOEncoded()
3613
3614 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3615
3616         * lyx_main.C (init): remove annoying error message when following
3617         symbolic links (bug #780)
3618
3619 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3620
3621         * text.C (insertChar):
3622         * lyxrc.C (getDescription): remove extra spaces
3623
3624 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3625
3626         * lyxrc.C (getDescription): remove extra spaces
3627
3628 2002-12-20  John Levon  <levon@movementarian.org>
3629
3630         * text3.C: hack fix for page up/down across tall rows
3631
3632 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3633
3634         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3635         not been invoked
3636
3637 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3638
3639         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3640         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3641         thesaurus is not compiled in
3642
3643 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3644
3645         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
3646
3647 2002-12-16  Angus Leeming  <leeming@lyx.org>
3648
3649         * lyxrc.[Ch]:
3650         * lyx_main.C (init): remove override_x_deadkeys stuff.
3651
3652 2002-12-12  John Levon  <levon@movementarian.org>
3653
3654         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3655           insert. Only remove shift modifier under strict
3656           circumstances.
3657
3658 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * MenuBackend.C (expandToc): fix crash.
3661
3662 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3663
3664         * MenuBackend.C (expandToc): gettext on float names.
3665
3666 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3667
3668         * lyxlength.[Ch]: set default unit to UNIT_NONE,
3669         implement bool empty() [bug 490]
3670
3671 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3672
3673         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3674
3675 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * several files: ws changes
3678
3679 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * text2.C (setCounter): clean up a bit, use boost.format.
3682         (updateCounters): initialize par upon declaration.
3683
3684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3685         if the layout exists. We do not just store the layout any more.
3686         (SwitchLayoutsBetweenClasses): use boost.format
3687
3688 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3689
3690         * converter.C (convert): if from and to files are the same, use a
3691         temporary files as intermediary
3692
3693 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3694
3695         * commandtags.h:
3696         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3697
3698 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3699
3700         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3701
3702 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3703
3704         * tabular.C (asciiPrintCell): use string(size, char) instead of
3705         explicit loop.
3706
3707         * sgml.C (openTag): fix order of arguments to string constructor
3708         (closeTag): ditto
3709
3710         * lyxfunc.C (dispatch): use boost.format
3711
3712         * lots of files: change "c" -> 'c'
3713
3714 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3715
3716         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3717
3718 2002-11-25  Angus Leeming  <leeming@lyx.org>
3719
3720         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3721
3722         * lyx_main.C (init): compile fix.
3723
3724 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3725
3726         * lyx_cb.C (start): boost.formatify
3727         do not include <iostream>
3728
3729         * lengthcommon.C: ws only
3730
3731         * boost-inst.C,BoostFormat.h: add more explict instantations
3732
3733 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3734
3735         * lots of files: handle USE_BOOST_FORMAT
3736
3737 2002-11-21  John Levon  <levon@movementarian.org>
3738
3739         * pspell.C: fix compile
3740
3741 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3742
3743         * lyxfunc.C (dispatch): use boost::format
3744         (open): ditto
3745         (doImport): ditto
3746
3747         * lyxfont.C (stateText): use boost::format
3748
3749         * lyx_main.C (LyX): use boost::format
3750         (init): ditto
3751         (queryUserLyXDir): ditto
3752         (readRcFile): ditto
3753         (parse_dbg): ditto
3754         (typedef boost::function): use the recommened syntax.
3755
3756         * importer.C (Import): use boost::format
3757
3758         * debug.C (showLevel): use boost::format
3759
3760         * converter.C (view): use boost::format
3761         (convert): ditto
3762         (move): ditto
3763         (scanLog): ditto
3764
3765         * bufferview_funcs.C (currentState): use boost::format
3766
3767         * bufferlist.C (emergencyWrite): use boost::format
3768
3769         * buffer.C (readLyXformat2): use boost::format
3770         (parseSingleLyXformat2Token): ditto
3771
3772         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3773
3774         * LaTeX.C (run): use boost::format
3775
3776         * Chktex.C (scanLogFile): use boost::format
3777
3778         * BufferView_pimpl.C (savePosition): use boost::format
3779         (restorePosition): ditto
3780         (MenuInsertLyXFile): ditto
3781
3782         * BoostFormat.h: help file for explicit instation.
3783
3784 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
3785
3786         * tabular.C (latex): Support for block alignment in fixed width
3787         columns.
3788
3789 2002-11-17  John Levon  <levon@movementarian.org>
3790
3791         * BufferView_pimpl.C:
3792         * lyx_cb.C:
3793         * lyxfunc.C: split filedialog into open/save
3794
3795 2002-11-08  Juergen Vigna  <jug@sad.it>
3796
3797         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3798         by my last patch (hopefully).
3799
3800 2002-11-08  John Levon  <levon@movementarian.org>
3801
3802         * iterators.h:
3803         * iterators.C:
3804         * buffer.h:
3805         * buffer.C:
3806         * paragraph.h:
3807         * paragraph.C:
3808         * toc.h:
3809         * toc.C: ParConstIterator, and use it (from Lars)
3810
3811 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
3812
3813         * lyxtextclass.[Ch]: revise and add doxygen comments
3814
3815 2002-11-07  John Levon  <levon@movementarian.org>
3816
3817         * text.C: fix progress value for spellchecker
3818
3819         * toc.C: fix navigate menu for insetwrap inside minipage
3820
3821         * paragraph_funcs.C: added FIXME for suspect code
3822
3823 2002-11-07  John Levon  <levon@movementarian.org>
3824
3825         * BufferView_pimpl.C: fix redrawing of insets
3826           on buffer switch
3827
3828 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3829
3830         * text2.C (updateCounters): fix bug 668
3831
3832 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
3833
3834         * text3.C (dispatch): Do not make the buffer dirty when moving the
3835         cursor.
3836
3837 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3838
3839         * vc-backend.C: STRCONV
3840         (scanMaster): ditto
3841
3842         * text2.C (setCounter): STRCONV
3843
3844         * paragraph.C (asString): STRCONV
3845
3846         * lyxlength.C (asString): STRCONV
3847         (asLatexString): ditto
3848
3849         * lyxgluelength.C (asString): STRCONV
3850         (asLatexString): ditto
3851
3852         * lyxfunc.C (dispatch): STRCONV
3853         (open): ditto
3854
3855         * lyxfont.C (stateText): STRCONV
3856
3857         * importer.C (Import): STRCONV
3858
3859         * counters.C (labelItem): STRCONV
3860         (numberLabel): ditto
3861         (numberLabel): remove unused ostringstream o
3862
3863         * chset.C: STRCONV
3864         (loadFile): ditto
3865
3866         * bufferview_funcs.C (currentState): STRCONV
3867
3868         * buffer.C (readFile): STRCONV
3869         (asciiParagraph): ditto
3870         (makeLaTeXFile): ditto
3871
3872         * Spacing.C (writeEnvirBegin): STRCONV
3873
3874         * LaTeXFeatures.C (getLanguages): STRCONV
3875         (getPackages): ditto
3876         (getMacros): ditto
3877         (getBabelOptions): ditto
3878         (getTClassPreamble): ditto
3879         (getLyXSGMLEntities): ditto
3880         (getIncludedFiles): ditto
3881
3882         * LaTeX.C: STRCONV
3883         (run): ditto
3884         (scanAuxFile): ditto
3885         (deplog): ditto
3886
3887         * LString.h: add the STRCONV macros
3888
3889         * BufferView_pimpl.C (savePosition): STRCONV
3890         (restorePosition): ditto
3891         (MenuInsertLyXFile): ditto
3892
3893         * vc-backend.C (scanMaster): change from submatch[...] to
3894         submatch.str(...)
3895
3896         * funcrequest.C: include config.h
3897
3898         * factory.C: include config.h
3899
3900         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3901
3902         * box.C: include config.h
3903
3904         * LaTeX.C (scanAuxFile): change from submatch[...] to
3905         submatch.str(...)
3906         (deplog): ditto
3907
3908 2002-10-25  Angus Leeming  <leeming@lyx.org>
3909
3910         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3911
3912         * ispell.[Ch] (setError): new method.
3913         * ispell.C (c-tor): move out child process into new class LaunchIspell.
3914         Use setError() insetead of goto END.
3915
3916         * lyx_cb.C (AutoSave): move out child process into new class
3917         AutoSaveBuffer.
3918
3919 2002-10-30  John Levon  <levon@movementarian.org>
3920
3921         * text3.C: make start appendix undoable
3922
3923 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
3924
3925         * lyxlength.C (inPixels): Fix returned value.
3926
3927         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3928         environment.
3929
3930 2002-10-24  Angus Leeming  <leeming@lyx.org>
3931
3932         * lyxgluelength.h: no need to forward declare BufferParams
3933         or BufferView, so don't.
3934
3935 2002-10-21  John Levon  <levon@movementarian.org>
3936
3937         * BufferView.C: menuUndo ->undo, redo
3938
3939         * BufferView.h: document, remove dead, make some methods private
3940
3941         * paragraph_funcs.h:
3942         * paragraph_funcs.C:
3943         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3944
3945         * buffer.h:
3946         * buffer.C:
3947         * sgml.h:
3948         * sgml.C: move sgml open/close tag into sgml.C
3949
3950         * bufferview_funcs.h: unused prototype
3951
3952         * lyxfunc.h:
3953         * lyxfunc.C: remove unused
3954
3955         * lyxtext.h:
3956         * text.C: remove unused
3957
3958 2002-10-21  John Levon  <levon@movementarian.org>
3959
3960         * BufferView.h:
3961         * BufferView.C:
3962         * BufferView_pimpl.h:
3963         * BufferView_pimpl.C: fix mouse wheel handling based on
3964           patch from Darren Freeman
3965
3966 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
3967
3968         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3969
3970 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
3971
3972         * lyxlength.C (inPixels): Fix hanfling of negative length.
3973         Fix LyXLength::MU case.
3974
3975 2002-10-16  John Levon  <levon@movementarian.org>
3976
3977         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3978
3979 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3980
3981         * converter.C (view): add support for $$i (file name) and $$p
3982         (file path) for the viewer command. If $$i is not specified, then
3983         it is appended to the command (for compatibility with old syntax)
3984
3985 2002-10-14  Juergen Vigna  <jug@sad.it>
3986
3987         * undo_funcs.C (textHandleUndo): alter the order in which the
3988         new undopar is added to the LyXText, as we have to set first
3989         the right prev/next and then add it as otherwise the rebuild of
3990         LyXText is not correct. Also reset the cursor to the right paragraph,
3991         with this IMO we could remove the hack in "redoParagraphs()".
3992
3993 2002-10-09  Angus Leeming  <leeming@lyx.org>
3994
3995         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3996         to turn off an optimisation if a new inset is to be inserted.
3997
3998 2002-10-11 André Pönitz <poenitz@gmx.net>
3999
4000         * lyxtext.h: make some functions public to allow access
4001         from inset/lyxtext for handling LFUN_PRIOR/NEXT
4002
4003 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4004
4005         * text3.C (dispatch): when changing layout, avoid an infinite loop
4006         [bug #652]
4007
4008 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4009
4010         * lyxrc.C (read): treat a viewer or converter command of "none" as
4011         if it were empty.
4012
4013         * MenuBackend.C (expandFormats): for an update, also allow the
4014         formats that are not viewable
4015
4016         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4017         script if it is newer than the lyxrc.defaults in user directory
4018
4019 2002-10-07 André Pönitz <poenitz@gmx.net>
4020
4021         * text.C: Vitaly Lipatov's small i18n fix
4022
4023 2002-09-25  Angus Leeming  <leeming@lyx.org>
4024
4025         * ispell.h: doxygen fix.
4026
4027 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
4028
4029         * buffer.h (readFile): Add a new argument to the method, to allow
4030         reading of old-format templates.
4031
4032 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
4033
4034         * toc.C (getTocList): Get TOC from InsetWrap.
4035
4036 2002-09-16  John Levon  <levon@movementarian.org>
4037
4038         * lyxfunc.C: check tabular for cut/copy too
4039
4040 2002-09-12  John Levon  <levon@movementarian.org>
4041
4042         * LyXAction.C: tidy
4043
4044         * factory.h:
4045         * factory.C: add header
4046
4047         * paragraph_funcs.h:
4048         * paragraph_funcs.C: cleanup
4049
4050 2002-09-11  John Levon  <levon@movementarian.org>
4051
4052         * PrinterParams.h: odd/even default to true
4053
4054 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
4055
4056         * PrinterParams.h: update printer parameters for new xforms dialog
4057
4058 2002-09-11  Angus Leeming  <leeming@lyx.org>
4059
4060         * lyxserver.C (read_ready): re-write to make it more transparent
4061         and to make it work in coherent fashion under Tru64 Unix.
4062
4063 2002-09-11  André Pönitz <poenitz@gmx.net>
4064
4065         * commandtags.h:
4066         * LyXAction.C:
4067         * text3.C: implement LFUN_WORDSEL
4068
4069 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4072         make floatlist_ a boost::shared_ptr<FloatList>
4073
4074         * lyxtextclass.C: include FloatList.h
4075         (LyXTextClass): initialize floatlist_
4076         (TextClassTags): add TC_NOFLOAT
4077         (Read): match "nofloat" to TC_NOFLOAT and use it.
4078         (readFloat): modify call to floatlist_
4079         (floats): ditto
4080         (floats): ditto
4081
4082         * FloatList.[Ch] (FloatList): remove commented out float
4083         initialization.
4084         (erase): new function
4085
4086 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4087
4088         * MenuBackend.C (expandToc): fix crash when there is no document
4089         open
4090
4091 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
4092
4093         * many files: Add insetwrap.
4094
4095 2002-09-09  John Levon  <levon@movementarian.org>
4096
4097         * text2.C: remove confusing and awkward depth wraparound
4098
4099 2002-09-09  John Levon  <levon@movementarian.org>
4100
4101         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4102
4103         * buffer.h:
4104         * buffer.C: remove getIncludeonlyList()
4105
4106         * paragraph.C:
4107         * lyxfunc.C: remove headers
4108
4109 2002-09-09  Juergen Vigna  <jug@sad.it>
4110
4111         * text.C (getColumnNearX): fix form Michael this is most
4112         probably a cut&paste bug.
4113
4114 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4117
4118         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4119         references, ws changes.
4120
4121         * text2.C (init): update counters after init
4122         (insertParagraph): no need to set counter on idividual paragraphs.
4123         (setCounter): access the counters object in the textclass object
4124         on in the buffer object.
4125         (updateCounters): ditto
4126
4127         * lyxtextclass.C: include counters.h, add variable ctrs_ as
4128         shared_ptr<Counters> to avoid loading counters.h in all
4129         compilation units.
4130         (LyXTextClass): initialize ctrs_
4131         (TextClassTags): add TC_COUNTER, and ...
4132         (Read): use it here.
4133         (CounterTags): new tags
4134         (readCounter): new function
4135         (counters): new funtion
4136         (defaultLayoutName): return a const reference
4137
4138         * counters.C (Counters): remove contructor
4139         (newCounter): remove a couple of unneeded statements.
4140         (newCounter): simplify a bit.
4141         (numberLabel): some small formatting changes.
4142
4143         * buffer.[Ch]: remove all traces of counters, move the Counters
4144         object to the LyXTextClass.
4145
4146 2002-09-06  Alain Castera  <castera@in2p3.fr>
4147
4148         * tabular.C: uses \tabularnewline; uses >{...} construct from array
4149         package to set the horizontal alignment on fixed width columns.
4150
4151         * lyx_sty.C:
4152         * lyx_sty.h: added tabularnewline macro def.
4153
4154         * LaTeXFeatures.C: added NeedTabularnewline macro feature
4155
4156 2002-09-06  John Levon  <levon@movementarian.org>
4157
4158         * LyXAction.C: tooltips for sub/superscript
4159
4160         * MenuBackend.C: a bit more verbose
4161
4162         * lyxfunc.C: tiny clean
4163
4164         * undo_funcs.C: document undo_frozen
4165
4166 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4167
4168         * counters.C (Counters): add missing algorithm counter.
4169
4170         * text2.C (setCounter): lookup the counter with layouts latexname
4171         instead of by section number.
4172         (setCounter): use a hackish way to lookup the correct enum
4173         counter.
4174         a float name->type change
4175         reset enum couners with counter name directly instead of depth value.
4176
4177         * counters.C (Counters): remove the push_backs, change to use the
4178         float type not the float name.
4179         (labelItem): remove unused string, float name->type change
4180
4181         * counters.h: don't include vector, loose the enums and sects vectors
4182
4183 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * lyxtextclass.C (TextClassTags): add TC_FLOAT
4186         (Read): add float->TC_FLOAT to textclassTags
4187         (Read): and handle it in the switch
4188         (readFloat): new function
4189
4190         * FloatList.C (FloatList): comment out the hardcoded float
4191         definitions.
4192
4193         * lyxlayout.h: ws change.
4194
4195 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
4196
4197         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4198
4199 2002-09-03  Angus Leeming  <leeming@lyx.org>
4200
4201         * BufferView_pimpl.h: qualified name is not allowed in member
4202         declaration: WorkArea & Pimpl::workarea() const;
4203
4204         * factory.C: added using std::endl directive.
4205
4206         * text3.C: added using std::find and std::vector directives.
4207
4208 2002-08-29  André Pönitz <poenitz@gmx.net>
4209
4210         * lyxtext.h:
4211         * text2.C: remove unused member number_of_rows
4212
4213         * Makefile.am:
4214         * BufferView2.C: remove file, move contents to...
4215         * BufferView.C: ... here
4216
4217         * BufferView_pimpl.C:
4218         * factory.C: move more inset creation to factory
4219
4220         * vspace.C: avoid direct usage of LyXText, ws changes
4221
4222         * BufferView.[Ch]:
4223                 don't provide direct access to WorkArea, use two simple
4224                 acessors haveSelction() and workHeight() instead
4225
4226
4227 2002-08-29  John Levon  <levon@movementarian.org>
4228
4229         * BufferView_pimpl.C (dispatch): do not continue when
4230           no buffer
4231
4232 2002-08-28  André Pönitz <poenitz@gmx.net>
4233
4234         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4235
4236         * BufferView.h:
4237         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4238
4239 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
4240
4241         * buffer.C: increment LYX_FORMAT to 221
4242
4243         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4244         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4245
4246         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4247
4248         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4249
4250 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4251
4252         * factory.C (createInset): use LyXTextClass::floats
4253
4254         * MenuBackend.C (expandFloatListInsert):
4255         (expandFloatInsert):
4256         (expandToc):
4257
4258         * text2.C (setCounter):
4259
4260         * LaTeXFeatures.C (useFloat):
4261         (getFloatDefinitions):
4262
4263         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4264
4265         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4266         floatlist_, with accessor floats().
4267
4268         * FloatList.h: remove global FloatList
4269
4270 2002-08-26  André Pönitz <poenitz@gmx.net>
4271
4272         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4273
4274         * BufferView.h:
4275         * BufferView2.C:
4276         * BufferView_pimpl.C:
4277         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4278
4279 2002-08-25  John Levon  <levon@movementarian.org>
4280
4281         * LyXAction.C: fix margin note description
4282
4283 2002-08-24  John Levon  <levon@movementarian.org>
4284
4285         * buffer.C:
4286         * bufferlist.C:
4287         * bufferview_funcs.C:
4288         * lyxfont.C:
4289         * undo_funcs.C: cleanups
4290
4291         * lyxfunc.C: disable CUT/COPY when no selection
4292
4293 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
4294
4295         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4296         in "enum UNIT"; e.g. PTW for Percent of TextWidth
4297
4298         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4299         Add backward compatibility to "mono", "gray" and "no".
4300
4301 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
4302
4303         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4304         (and file_format >= 200).
4305
4306 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4307
4308         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4309
4310 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4311
4312         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4313
4314 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
4315
4316         * BufferView_pimpl.C:
4317         * LyXAction.C:
4318         * buffer.C:
4319         * commandtags.h:
4320         * lyxfunc.C:
4321         * paragraph.[Ch]:
4322         * text2.C:
4323         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4324         inset and code to make it  work with the paragraph code. The inset
4325         can be anywhere in the paragraph, but will only do the expected
4326         thing in LaTeX if the layout file contains the parameter line
4327                         OptionalArgs    1
4328         (or more generally, a nonzero value) for that layout.
4329
4330 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4331
4332         * paragraph.h: remove the declaration of undefined counters class
4333         function.
4334
4335 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
4336
4337         * text2.C (setCounter):  fixed enumeration mis-count as reported by
4338         Dr. Richard Hawkins.
4339
4340 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4341
4342         * paragraph_funcs.h: remove some unneeded includes
4343
4344         * text.C (backspace): pasteParagraph now in global scipe
4345
4346         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4347         (pasteSelection): ditto
4348
4349         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4350         * paragraph_funcs.C (pasteParagraph): ... here
4351
4352 2002-08-20  André Pönitz <poenitz@gmx.net>
4353
4354         * commandtags.h: new LFUNs for swapping/copying table row/colums
4355
4356         * LyXAction.C:
4357         * lyxfunc.C: support for new lfuns
4358
4359 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * tabular.C:
4362         * buffer.[Ch]: remove NO_COMPABILITY stuff
4363
4364 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * boost.C (throw_exception): new file, with helper function for
4367         boost compiled without exceptions.
4368
4369         * paragraph.h:
4370         * lyxlength.C:
4371         * buffer.C:
4372         * ParameterStruct.h:
4373         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4374
4375         * bufferlist.C (emergencyWriteAll): use boost bind
4376
4377         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4378
4379         * text.C: include paragraph_funcs.h
4380         (breakParagraph): breakParagraph is now in global scope
4381
4382         * paragraph_funcs.[Ch]: new files
4383
4384         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4385         global scope
4386
4387         * buffer.C: include paragraph_funcs.h
4388         (insertStringAsLines): breakParagraph is now in global scope
4389
4390         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4391         paragraph_funcs.C
4392
4393         * CutAndPaste.C: include paragraph_funcs.h
4394         (cutSelection): breakParagraphConservative is now in global scope
4395         (pasteSelection): ditto
4396
4397         * buffer.h: declare oprator== and operator!= for
4398         Buffer::inset_iterator
4399
4400         * bufferlist.C (emergencyWrite): don't use fmt(...)
4401
4402         * text3.C: add using std::endl
4403
4404         * BufferView.C (moveCursorUpdate): remove default arg
4405
4406 2002-08-20  André Pönitz <poenitz@gmx.net>
4407
4408         * buffer.[Ch]: move inline functions to .C
4409
4410         * BufferView2.C:
4411         * BufferView_pimpl.C:
4412         * text.C:
4413         * buffer.[Ch]: use improved inset_iterator
4414
4415         * buffer.C:
4416         * paragraph.[Ch]: write one paragraph at a time
4417
4418 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4419
4420         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4421         style if style is not specified.
4422
4423 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4424
4425         * text2.C (setCounter): when searching for right label for a
4426         caption, make sure to recurse to parent insets (so that a caption
4427         in a minipage in a figure float works) (bug #568)
4428
4429 2002-08-20  André Pönitz <poenitz@gmx.net>
4430
4431         * text3.C: new file for LyXText::dispatch() and helpers
4432
4433         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4434
4435         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4436
4437 2002-08-19  André Pönitz <poenitz@gmx.net>
4438
4439         * lyxtext.h:
4440         * text.C: new LyXText::dispatch()
4441
4442         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4443
4444 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4445
4446         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4447
4448         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4449         Hebrew text.
4450
4451 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4452
4453         * Makefile.am: use $(variables) instead of @substitutions@
4454
4455 2002-08-15  André Pönitz <poenitz@gmx.net>
4456
4457         * lyxfunc.C:
4458         * BufferView_pimpl.C: streamlining mathed <-> outer world
4459         interaction
4460
4461         * commandtags.h:
4462         * LyXAction.C: remove unused LFUN_MATH
4463
4464 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * paragraph.[Ch]: add some NO_NEXT ifdefs.
4467
4468 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * paragraph.C (Paragraph): reformat a bit
4471         (cutIntoMinibuffer): use builtin InsetList function instad of
4472         doing it manually.
4473         (getInset): ditto
4474
4475         * buffer.C: include boost/bind.hpp, add using std::for_each
4476         (writeFileAscii): use ParagraphList iterators
4477         (validate): use for_each for validate traversal of paragraphs
4478         (getBibkeyList): use ParagraphList iterators
4479         (resizeInsets): use for_each to resizeInsetsLyXText for all
4480         paragraphs.
4481         (getParFromID): use ParagraphList iterators
4482
4483         * BufferView2.C (lockInset): use paragraph list and iterators
4484
4485 2002-08-14  John Levon  <levon@movementarian.org>
4486
4487         * lyxserver.C: remove spurious xforms include
4488
4489 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4490
4491         * lyxfunc.C (getStatus): disable math-extern outside of math mode
4492
4493 2002-08-13  André Pönitz <poenitz@gmx.net>
4494
4495         * LyXAction.[Ch]:
4496         * lyxfunc.C: further cleaning
4497
4498 2002-08-13  André Pönitz <poenitz@gmx.net>
4499
4500         * funcrequest.h: new constructor
4501
4502         * funcrequest.C: move stuff here from .h
4503
4504         * Makefile.am:
4505         * BufferView_pimpl.C:
4506         * LyXAction.C:
4507         * toc.C:
4508         * lyxfunc.C: subsequent changes
4509
4510         * lyxfunc.h: new view() member function
4511
4512         * lyxfunc.C: subsequent changes
4513
4514 2002-08-13  Angus Leeming  <leeming@lyx.org>
4515
4516         * BufferView2.C:
4517         * BufferView_pimpl.C:
4518         * buffer.C:
4519         * converter.C:
4520         * importer.C:
4521         * lyxfunc.C:
4522         * lyxvc.C:
4523         * toc.C:
4524         * vc-backend.C:
4525         changes due to the changed LyXView interface that now returns references
4526         to member variables not pointers.
4527
4528 2002-08-13  Angus Leeming  <leeming@lyx.org>
4529
4530         * WordLangTuple (word, lang_code): return references to strings,
4531         not strings.
4532
4533         * BufferView.h:
4534         * SpellBase.h:
4535         * lyxtext.h: forward-declare WordLangTuple.
4536
4537         * BufferView2.C:
4538         * ispell.C:
4539         * pspell.C:
4540         * text.C: #include "WordLangTuple.h".
4541
4542         * lyxtext.h:
4543         * text.C: (selectNextWordToSpellcheck): constify return type.
4544
4545 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
4546
4547         * buffer.C:
4548         * buffer.h:
4549         * lyxtext.h:
4550         * paragraph.C:
4551         * paragraph_pimpl.h:
4552         * text.C:
4553         * text2.C:
4554         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4555         suggested by Angus.
4556         Made updateCounter always count from start of buffer, and removed
4557         second argument (par).
4558         Reverted floats number display to '#'. Perhaps I'll try again when the
4559         code base is sanitized a bit.
4560
4561 2002-08-12  Angus Leeming  <leeming@lyx.org>
4562
4563         * buffer.[Ch] (getLabelList): constify.
4564
4565 2002-08-07  André Pönitz <poenitz@gmx.net>
4566
4567         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4568
4569         * funcrequest.h: extension to keep mouse (x,y) position
4570
4571 2002-08-12  Juergen Vigna  <jug@sad.it>
4572
4573         * BufferView2.C (insertErrors): forbid undo when inserting error
4574         insets.
4575
4576         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4577
4578 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4579
4580         * ParagraphList.[Ch]: new files
4581
4582         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4583
4584         * BufferView2.C (lockInset): ParagraphList changes
4585         * toc.C: ditto
4586         * text2.C: ditto
4587         * bufferlist.C: ditto
4588         * buffer.h: ditto
4589         * buffer.C: ditto
4590
4591 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4592
4593         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4594         unused class variable counter_,
4595
4596         * paragraph.[Ch] (getFirstCounter): delete unused function
4597
4598         * counters.C: include LAssert.h
4599         (reset): add a new function with no arg, change other version to
4600         not have def. arg and to not allow empty arg.
4601
4602         * text2.C (setCounter): remove empty arg from call to Counters::reset
4603
4604 2002-08-11  John Levon  <levon@movementarian.org>
4605
4606         * Makefile.am: add WordLangTuple.h
4607
4608 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4611         lyxfunc.C lyxlex_pimpl.C: ws changes only.
4612
4613         * insets/insettext.C: InsetList changes
4614
4615         * graphics/GraphicsSupport.C (operator()): InsetList changes
4616
4617         * toc.C (getTocList): InsetList changes
4618
4619         * paragraph_pimpl.[Ch]: InsetList changes
4620
4621         * paragraph.[Ch]: InsetList changes
4622
4623         * buffer.C (inset_iterator): InsetList changes
4624         (setParagraph): ditto
4625         * buffer.h (inset_iterator): ditto
4626         * iterators.C (operator++): ditto
4627         * iterators.h: ditto
4628
4629         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4630
4631         * InsetList.[Ch]: new files, most InsetList handling moved out of
4632         paragraph.C.
4633
4634         * BufferView2.C (removeAutoInsets): InsetList changes
4635         (lockInset): ditto
4636         (ChangeInsets): ditto
4637
4638 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4639
4640         * paragraph_pimpl.h (empty): new function
4641
4642         * paragraph.[Ch] (empty): new function
4643
4644         * other files: use the new Paragraph::empty function
4645
4646 2002-08-09  John Levon  <levon@movementarian.org>
4647
4648         * lyxtext.h: remove unused refresh_height
4649
4650 2002-08-09  John Levon  <levon@movementarian.org>
4651
4652         * Makefile.am:
4653         * sgml.h:
4654         * sgml.C:
4655         * buffer.C:
4656         * paragraph.h:
4657         * paragraph.C: move sgml char escaping out of paragraph
4658
4659         * paragraph.h:
4660         * paragraph.C: remove id setter
4661
4662         * buffer.C:
4663         * paragraph.C:
4664         * paragraph_pimpl.C: remove dead tex_code_break_column
4665
4666         * bufferview_funcs.C: small cleanup
4667
4668         * lyxfunc.C: remove dead proto
4669
4670         * lyxtext.h: make some stuff private. Remove some dead stuff.
4671
4672         * lyxgluelength.C: make as[LyX]String() readable
4673
4674 2002-08-08  John Levon  <levon@movementarian.org>
4675
4676         * LyXAction.h:
4677         * LyXAction.C:
4678         * MenuBackend.C:
4679         * ToolbarDefaults.C:
4680         * lyxfunc.C:
4681         * lyxrc.C:
4682         * toc.C: lyxaction cleanup
4683
4684 2002-08-08  John Levon  <levon@movementarian.org>
4685
4686         * BufferView2.C: small cleanup
4687
4688         * lyxfind.h:
4689         * lyxfind.C: move unnecessary header into the .C
4690
4691 2002-08-08  John Levon  <levon@movementarian.org>
4692
4693         * funcrequest.h: just tedious nonsense
4694
4695         * lyx_main.h:
4696         * lyx_main.C: cleanups
4697
4698         * buffer.C:
4699         * vspace.C: remove dead header lyx_main.h
4700
4701 2002-08-07  Angus Leeming  <leeming@lyx.org>
4702
4703         * Paragraph.[Ch]:
4704         * paragraph_pimpl.h:
4705         Forward declare class Counters in paragraph.h by moving the ctrs member
4706         variable into Paragraph::Pimpl.
4707         (counters): new method, returning a reference to pimpl_->ctrs.
4708
4709         * text2.C: ensuing changes.
4710
4711 2002-08-07  John Levon  <levon@movementarian.org>
4712
4713         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4714
4715         * BufferView_pimpl.C: announce X selection on double/triple
4716           click
4717
4718         * lyx_main.C: use correct bool in batch dispatch
4719
4720         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4721
4722 2002-08-07  André Pönitz <poenitz@gmx.net>
4723
4724         * funcrequest.h: new class to wrap a kb_action and its argument
4725
4726         * BufferView.[Ch]:
4727         * BufferView_pimpl[Ch]:
4728         * LaTeX.C:
4729         * LyXAction.[Ch]:
4730         * lyxfunc.[Ch]:
4731         * lyxrc.C: subsequent changes
4732
4733
4734 2002-08-07  John Levon  <levon@movementarian.org>
4735
4736         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4737           document options change.
4738
4739 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
4740
4741         * counters.[Ch]
4742         * text2.C
4743         * paragraph.[Ch]
4744         * makefile.am: move counters functionality over from
4745         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4746
4747 2002-08-06  John Levon  <levon@movementarian.org>
4748
4749         * WordLangTuple.h: new file for word + language code tuple
4750
4751         * SpellBase.h:
4752         * pspell.h:
4753         * pspell.C:
4754         * ispell.h:
4755         * ispell.C:
4756         * lyxtext.h:
4757         * text.C:
4758         * text2.C:
4759         * BufferView.h:
4760         * BufferView2.C: use WordLangTuple
4761
4762         * layout.h:
4763         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4764
4765 2002-08-06  John Levon  <levon@movementarian.org>
4766
4767         * lyx_main.C: fix cmdline batch handling
4768
4769 2002-08-06  André Pönitz <poenitz@gmx.net>
4770
4771         * lyxrc.C: set default for show_banner to true
4772
4773 2002-08-06  John Levon  <levon@movementarian.org>
4774
4775         * pspell.C: fix a crash, and allow new aspell to work
4776
4777 2002-08-06  John Levon  <levon@movementarian.org>
4778
4779         * lyxfunc.C:
4780         * kbmap.C: small cleanup
4781
4782         * vspace.h:
4783         * vspace.C: add const
4784
4785 2002-08-05  John Levon  <levon@movementarian.org>
4786
4787         * LyXAction.C: back to tabular-insert
4788
4789 2002-08-04  John Levon  <levon@movementarian.org>
4790
4791         * BufferView.h:
4792         * BufferView.C: cosmetic change
4793
4794         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4795
4796         * bufferlist.C:
4797         * buffer.h:
4798         * buffer.C:
4799         * lyxcb.h:
4800         * lyxcb.C:
4801         * lyxserver.C:
4802         * lyxvc.C:
4803         * vc-backend.C:
4804         * BufferView2.C: purge all "Lyx" not "LyX" strings
4805
4806         * lyxcursor.h:
4807         * lyxcursor.C: attempt to add some documentation
4808
4809         * lyxfunc.C:
4810         * commandtags.h:
4811         * LyXAction.C:
4812         * ToolbarDefaults.C:
4813         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4814           merge with LFUN_TABULAR_INSERT
4815
4816         * Makefile.am:
4817         * SpellBase.h:
4818         * ispell.h:
4819         * ispell.C:
4820         * pspell.h:
4821         * pspell.C: split up i/pspell implementations into separate
4822           files, many cleanups
4823
4824         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4825
4826         * text2.C: some cleanup
4827
4828         * lyxfunc.C: don't check for isp_command == "none" any more, it
4829           didn't make any sense
4830
4831 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
4832
4833         * counters.[Ch]
4834         * text2.C
4835         * paragraph.[Ch]
4836         * makefile.am: move counters functionality over
4837         from text2.C/paragraph.[Ch] to counters.[Ch], and
4838         make proper C++.
4839 2002-08-02  John Levon  <levon@movementarian.org>
4840
4841         * buffer.C: s/lyxconvert/lyx2lyx/
4842
4843 2002-08-02  Angus Leeming  <leeming@lyx.org>
4844
4845         * lyxlex.C: revert John's change as it breaks reading of the user
4846         preamble.
4847
4848 2002-08-02  Angus Leeming  <leeming@lyx.org>
4849
4850         * importer.C (Import):
4851         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4852         changes due to LyXView::view() now returning a boost::shared_ptr.
4853
4854 2002-08-02  John Levon  <levon@movementarian.org>
4855
4856         * lyxlex.C: small cleanup
4857
4858 2002-08-02  John Levon  <levon@movementarian.org>
4859
4860         * text2.C (status): small cleanup, no logic change
4861
4862 2002-08-01  John Levon  <levon@movementarian.org>
4863
4864         * buffer.h:
4865         * buffer.C (writeFile): don't output alerts, caller
4866           handles this
4867
4868         * bufferlist.C:
4869         * lyx_cb.C: from above
4870
4871         * lyxfunc.C: allow to open non-existent files
4872
4873 2002-07-31  John Levon  <levon@movementarian.org>
4874
4875         * lyxserver.C: don't let incidental errors get
4876           in the way (errno)
4877
4878 2002-07-30  John Levon  <levon@movementarian.org>
4879
4880         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4881
4882 2002-07-30  John Levon  <levon@movementarian.org>
4883
4884         * lyxserver.h:
4885         * lyxserver.C: remove I/O callback too
4886
4887 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4888
4889         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4890         log.
4891
4892 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * many files: strip,frontStrip -> trim,ltrim,rtrim
4895
4896 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * PrinterParams.h: remove extern containsOnly, and include
4899         support/lstrings.h instead.
4900
4901         * LaTeX.C (scanAuxFile): modify because of strip changes
4902         (deplog): ditto
4903         * buffer.C (makeLaTeXFile): ditto
4904         * bufferparams.C (writeFile): ditt
4905         * lyxfont.C (stateText): ditto
4906         * lyxserver.C (read_ready): ditto
4907         * vc-backend.C (scanMaster): ditto
4908
4909         * BufferView_pimpl.h: ws changes
4910
4911         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4912
4913 2002-07-26  André Pönitz <poenitz@gmx.net>
4914
4915         * kb_sequence.C: remove unnedred usings
4916
4917 2002-07-26  Juergen Vigna  <jug@sad.it>
4918
4919         * lyxfind.C (LyXReplace): we have to check better if the returned
4920         text is not of theLockingInset()->getLockingInset().
4921
4922 2002-07-25  Juergen Vigna  <jug@sad.it>
4923
4924         * lyxfind.C (LyXReplace): don't replace if we don't get the
4925         right LyXText.
4926
4927         * undo_funcs.C (createUndo): remove debugging code.
4928
4929 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
4930
4931         * buffer.C (parseSingleLyXformat2Token): Use default placement
4932         when reading old floats.
4933
4934         * FloatList.C (FloatList): Change the default placement of figure
4935         and tables to "tbp".
4936
4937 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
4938
4939         * MenuBackend.C: using std::max
4940
4941 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4942
4943         * MenuBackend.C (expandToc):
4944         (expandToc2): code moved from xforms menu frontend. It is now
4945         generic and TOCs are transparent to menu frontends.
4946
4947 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4948
4949         * toc.C (getTocList): protect against buf=0
4950
4951         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4952         Menu as first parameter. Now, this calls itself recursively to
4953         expand a whole tree (this will be useful for TOC handling)
4954         (expandFloatInsert): remove 'wide' version of floats
4955
4956         * MenuBackend.h (submenuname): returns the name of the submenu.
4957         (submenu): returns the submenu itself, provided it has been
4958         created by MenuBackend::expand
4959
4960 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4961
4962         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4963         insets which have noFontChange == true. (bug #172)
4964
4965 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4966
4967         * BufferView_pimpl.C: add connection objects and use them...
4968         (Pimpl): here.
4969
4970 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4971
4972         * MenuBackend.C (expandLastfiles):
4973         (expandDocuments):
4974         (expandFormats):
4975         (expandFloatListInsert):
4976         (expandFloatInsert):
4977         (expand): split expand in parts
4978
4979 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4980
4981         * lyx_gui.C: use lyx_gui::exit()
4982
4983 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4984
4985         * LyXAction.C: show the failing pseudo action
4986
4987 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
4988
4989         * buffer.C (readFile): Run the lyxconvert script in order to read
4990         old files.
4991
4992 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4993
4994         * LyXAction.C:
4995         * commandtags.h:
4996         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4997
4998 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4999
5000         * LyXAction.C:
5001         * commandtags.h:
5002         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5003
5004 2002-07-22  Herbert Voss  <voss@lyx.org>
5005
5006         * lengthcommon.C:
5007         * lyxlength.[Ch]: add support for the vertical lengths
5008
5009 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
5010
5011         * toc.[Ch]: std:: fixes
5012
5013 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5014
5015         * lyxrc.C: do not include lyx_main.h
5016
5017         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5018         for layouts
5019
5020         * lyxrc.C:
5021         * encoding.C:
5022         * bufferlist.C:
5023         * BufferView2.C: include "lyxlex.h"
5024
5025         * tabular.h:
5026         * bufferparams.h: do not #include "lyxlex.h"
5027
5028         * lyxtextclasslist.C (Add): remove method
5029         (classlist): renamed to classlist_
5030
5031         * paragraph_pimpl.C:
5032         * paragraph.C:
5033         * text2.C:
5034         * CutAndPaste.C:
5035         * bufferview_funcs.C:
5036         * bufferlist.C:
5037         * text.C:
5038         * LaTeXFeatures.C:
5039         * buffer.C:
5040         * toc.C (getTocList): use BufferParams::getLyXTextClass
5041
5042         * toc.C (getTocList): use InsetFloat::addToToc
5043
5044         * toc.[Ch]: new files, containing helper functions to handle table
5045         of contents
5046
5047         * lyxfunc.C (dispatch): no need to remove spaces around command
5048         given as a string
5049         (getStatus): handle LFUN_SEQUENCE by returning the status of the
5050         first command of the sequence; it is not very clever, but I do not
5051         have a better idea, actually
5052
5053         * LyXAction.C (LookupFunc): make sure to remove space at the
5054         beginning and end of the command
5055
5056 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5057
5058         * MenuBackend.C (getMenubar): new method: return the menubar of
5059         this menu set
5060         (read): treat differently reading of menu and menubar (in
5061         particular, the menubar has no name now)
5062         (Menu::menubar): remove
5063
5064         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5065         saving is finished
5066
5067 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5068
5069         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5070         a bibitem inset in a RTL paragraph.
5071
5072 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
5073
5074         * paragraph_pimpl.C: constify
5075
5076         * BufferView_pimpl.C:
5077         * LaTeX.C:
5078         * lyxfunc.C: fix dispatch in a nicer way
5079
5080 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5081
5082         * lyxfunc.C (dispatch):
5083         * BufferView_pimpl.C:
5084         * BufferView_pimpl.h:
5085         * BufferView.C:
5086         * BufferView.h: rename Dispatch() to dispatch()
5087
5088         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5089
5090         * lyxlayout.C (Read): honor DependsOn tag
5091
5092         * lyxlayout.[Ch] (depends_on): new method
5093
5094         * version.C.in: update lyx_docversion
5095
5096         * LaTeXFeatures.C (getMacros): only define \LyX when needed
5097
5098         * paragraph.C (validate): remove from here...
5099         * paragraph_pimpl.C (validate): ... and move here
5100         (isTextAt): make it const
5101
5102         * buffer.C (getLists): ws cleanup
5103
5104 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
5105
5106         * language.C (read): Use iso8859-1 encoding in latex_lang
5107         (this prevents LyX from crashing when using iso10646-1 encoding).
5108
5109 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5110
5111         * text2.C (toggleInset): if cursor is inside an inset, close the
5112         inset and leave cursor _after_ it
5113
5114 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5115
5116         * lyxfunc.C: move minibuffer completion handling out of here
5117
5118 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
5119
5120         * BufferView_pimpl.C:
5121         * LaTeX.C: fix dispatch calls
5122
5123 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
5124
5125         * text.C (drawChars): Fix Arabic text rendering.
5126
5127 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
5128
5129         * LyXAction.C:
5130         * commandtags.h:
5131         * lyxfunc.C: remove message-push/pop
5132
5133         * lyxserver.C:
5134         * lyxfunc.h:
5135         * lyxfunc.C: rationalise some code by removing verboseDispatch
5136           in favour of a bool argument to dispatch()
5137
5138 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5139
5140         * lyx_main.C (init): make sure to read symlinks as absolute paths
5141
5142 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5143
5144         * lyxfunc.h:
5145         * lyxfunc.C: no need for commandshortcut to be a member
5146
5147 2002-07-15  André Pönitz <poenitz@gmx.net>
5148
5149         * converter.C: add support for $$s (scripts from lib/scripts dir)
5150         * lyx_main.C: white space
5151
5152 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5153
5154         * bufferlist.C:
5155         * lyxrc.h:
5156         * lyxrc.C: remove second exit confirmation
5157
5158 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
5159
5160         * BufferView.h:
5161         * BufferView.C:
5162         * BufferView2.C:
5163         * BufferView_pimpl.h:
5164         * BufferView_pimpl.C:
5165         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5166
5167 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5168
5169         * MenuBackend.C (expand): add numeric shortcuts to document menu
5170
5171         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5172
5173 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5174
5175         * lyxfont.C (setLyXFamily):
5176         (setLyXSeries):
5177         (setLyXShape):
5178         (setLyXSize):
5179         (setLyXMisc):
5180         (lyxRead):
5181         * debug.C (value):
5182         * buffer.C (asciiParagraph): use ascii_lowercase
5183
5184 2002-07-15  Mike Fabian  <mfabian@suse.de>
5185
5186         * lyxlex_pimpl.C (search_kw):
5187         * lyxlex.C (getLongString):
5188         * converter.h (operator<):
5189         * converter.C (operator<):
5190         * buffer.C (parseSingleLyXformat2Token):
5191         (asciiParagraph):
5192         * ToolbarDefaults.C (read):
5193         * MenuBackend.C (checkShortcuts):
5194         (read):
5195         * LColor.C (getFromGUIName):
5196         (getFromLyXName): use the compare_ascii_no_case instead of
5197         compare_no_case, because in turkish, 'i' is not the lowercase
5198         version of 'I', and thus turkish locale breaks parsing of tags.
5199
5200 2002-07-16  Angus Leeming  <leeming@lyx.org>
5201
5202         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5203         now takes a Buffer const & argument.
5204
5205 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
5206
5207         * BufferView.C (resize): check there's a buffer to resize
5208
5209 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
5210
5211         * lyxfunc.C: remove dead code
5212
5213         * lyxserver.h:
5214         * lyxserver.C: use lyx_guii::set_read_callback
5215
5216 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
5217
5218         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5219         an inset in a RTL paragraph.
5220
5221 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5222
5223         * lyxfunc.C: repaint after a font size update
5224
5225 2002-07-15  André Pönitz <poenitz@gmx.net>
5226
5227         * lyxlength.C: inBP should be able to return negative values
5228
5229 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5230
5231         * lyxfunc.C: use lyx_gui::update_fonts()
5232
5233 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
5234
5235         * lyxfunc.C: use lyx_gui::update_color()
5236
5237 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5238
5239         * bufferlist.C:
5240         * lyxfunc.h:
5241         * lyxfunc.C:
5242         * lyxrc.h:
5243         * lyxrc.C: remove file->new asks for name option, and let
5244           buffer-new take an argument
5245
5246 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
5247
5248         * BufferView_pimpl.C: remove unneeded extra repaint()
5249
5250 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
5251
5252         * LyXAction.C: allow command-sequence with NoBuffer
5253
5254         * lyxfunc.C: don't insist on trailing ';' for command-sequence
5255
5256 2002-07-10  Angus Leeming  <leeming@lyx.org>
5257
5258         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5259
5260 2002-07-09  Angus Leeming  <leeming@lyx.org>
5261
5262         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5263
5264 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5265
5266         * lengthcommon.h: whitespace
5267
5268         * lyxfunc.C: update scrollbar after goto paragraph
5269
5270         * lyxtext.h: factor out page break drawing, and fix it so
5271           page break/added space paints as selected nicely
5272
5273 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
5274
5275         * BufferView_pimpl.C: add FIXMEs, clean up a little
5276
5277 2002-07-09  André Pönitz <poenitz@gmx.net>
5278
5279         * lyxfont.[Ch]: support for wasy symbols
5280
5281 2002-07-08  André Pönitz <poenitz@gmx.net>
5282
5283         * BufferView_pimpl.C: apply John's patch for #93.
5284
5285 2002-07-05  Angus Leeming  <leeming@lyx.org>
5286
5287         * BufferView_pimpl.C (buffer): generate previews if desired.
5288
5289         * LColor.h: add "preview" to the color enum.
5290
5291         * LColor.C (LColor): add a corresponding entry to the items array.
5292
5293         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5294         with this buffer.
5295
5296 2002-07-05  Angus Leeming  <leeming@lyx.org>
5297
5298         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5299         The body of the code is now in the method that is passed an ostream &
5300         rather than a file name.
5301         Pass an additional only_preamble parameter, useful for the forthcoming
5302         preview stuff.
5303
5304 2002-07-03  André Pönitz <poenitz@gmx.net>
5305
5306         * lyxfunc.C: simplify getStatus() a bit for math stuff
5307
5308 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5309
5310         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5311
5312 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5313
5314         * text.C (changeRegionCase): do not change case of all the
5315         document when region ends at paragraph end (bug #461)
5316
5317 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5318
5319         * paragraph.C (startTeXParParams):
5320         (endTeXParParams): add \protect when necessary
5321
5322 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5323
5324         * BufferView_pimpl.C (workAreaExpose): remove warning
5325
5326 2002-06-27  Angus Leeming  <leeming@lyx.org>
5327
5328         * Makefile.am: add lyxlayout_ptr_fwd.h.
5329
5330 2002-06-26  André Pönitz <poenitz@gmx.net>
5331
5332         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5333
5334 2002-06-25  Angus Leeming  <leeming@lyx.org>
5335
5336         * lyxfunc.C (dispatch): Comment out the call to
5337         grfx::GCache::changeDisplay. The method no longer exists now that the
5338         pixmap generation part of the graphics loader has been moved into
5339         InsetGraphics.
5340
5341 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5342
5343         * text2.C: layout as layout
5344
5345         * text.C: layout as layout
5346
5347         * tabular.C (OldFormatRead): layout as layout
5348
5349         * paragraph_pimpl.C (TeXDeeper): layout as layout
5350         (realizeFont): layout as layout
5351
5352         * paragraph.C (writeFile): layout as layout
5353         (validate): layout as layout
5354         (getFont): layout as layout
5355         (getLabelFont): layout as layout
5356         (getLayoutFont): layout as layout
5357         (breakParagraph): layout as layout
5358         (stripLeadingSpaces): layout as layout
5359         (getEndLabel): layout as layout
5360         (getMaxDepthAfter): layout as layout
5361         (applyLayout): layout as layout
5362         (TeXOnePar): layout as layout
5363         (simpleTeXOnePar): layout as layout
5364         (TeXEnvironment): layout as layout
5365         (layout): layout as layout
5366         (layout): layout as layout
5367
5368         * lyxtextclass.C (compare_name): new functor to work with
5369         shared_ptr, layout as layout
5370         (Read): layout as layout
5371         (hasLayout): layout as layout
5372         (operator): layout as layout
5373         (delete_layout): layout as layout
5374         (defaultLayout): layout as layout
5375
5376         * lyxlayout_ptr_fwd.h: new file
5377
5378         * lyxlayout.C (Read): layout as layout
5379
5380         * lyx_cb.C (MenuInsertLabel): layout as layout
5381
5382         * bufferlist.C (newFile): layout as layout
5383
5384         * buffer.C (readLyXformat2): layout as layout
5385         (parseSingleLyXformat2Token): layout as layout
5386         (insertStringAsLines): layout as layout
5387         (asciiParagraph): layout as layout
5388         (latexParagraphs): layout as layout
5389         (makeLinuxDocFile): layout as layout
5390         (simpleLinuxDocOnePar): layout as layout
5391         (makeDocBookFile): layout as layout
5392         (simpleDocBookOnePar): layout as layout
5393         (getLists): layout as layout
5394
5395         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5396
5397         * CutAndPaste.C (cutSelection): layout as layout
5398         (pasteSelection): layout as layout
5399         (SwitchLayoutsBetweenClasses): layout as layout
5400
5401         * BufferView_pimpl.C (Dispatch): layout as layout
5402         (smartQuote): layout as layout
5403
5404         * BufferView2.C (unlockInset): layout as layout
5405
5406 2002-06-24  André Pönitz <poenitz@gmx.net>
5407
5408         * lyxfunc.C: fix #487
5409
5410 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5411
5412         * lyxrc.h:
5413         * lyxrc.C:
5414         * lyxfunc.C: remove display_shortcuts, show_banner
5415
5416 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5417
5418         * Buffer_pimpl.C: oops, update on resize
5419
5420 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5421
5422         * buffer.C:
5423         * converter.C:
5424         * exporter.C:
5425         * lyxfunc.C:
5426         * BufferView.h:
5427         * BufferView.C: use repaint()
5428
5429         * BufferView_pimpl.h:
5430         * BufferView_pimpl.C: s/updateScreen()/repaint()/
5431           as it's a clearer description. Remove superfluous
5432           redraws.
5433
5434 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5435
5436         * text.C: fix bug 488. Not ideal, but getting
5437           getWord() to work properly for the insets that
5438           matter is more difficult ...
5439
5440 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5441
5442         * BufferView_pimpl.C:
5443         * LyXAction.C:
5444         * commandtags.h:
5445         * lyxfunc.C: remove the six million index lyxfuncs to just
5446           one, and DTRT (bug 458)
5447
5448 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5449
5450         * BufferView.h:
5451         * BufferView.C:
5452         * BufferView_pimpl.h:
5453         * BufferView_pimpl.C: clean up resize() stuff,
5454           and unnecessary updateScreen()s
5455
5456 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5457
5458         * BufferView.h:
5459         * BufferView.C:
5460         * BufferView_pimpl.h:
5461         * BufferView_pimpl.C:
5462         * lyxfind.h:
5463         * lyxfind.C:
5464         * minibuffer.C: remove focus management of workarea,
5465           not needed. Use screen's greyOut()
5466
5467 2002-06-17  Herbert Voss  <voss@lyx.org>
5468
5469         * converter.C: (convert) do not post a message, when converting
5470         fails, let the calling function decide what to do in this case
5471
5472 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
5473
5474         * lyxfunc.C: tidy up a little
5475
5476 2002-06-16    <alstrup@diku.dk>
5477
5478         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5479         Got rid of FORMS_H_LOCATION include. Now we are
5480         GUII.
5481
5482 2002-06-15  LyX Development team  <lyx@rilke>
5483
5484         * buffer.[Ch] (sgmlOpenTag):
5485         (sgmlCloseTag): Added support for avoiding pernicious mixed
5486         content. Return number of lines written.
5487
5488         (makeLinuxDocFile):
5489         (makeDocBookFile): Fixed calls to sgml*Tag.
5490         Simple white space clean.
5491
5492         (simpleDocBookOnePar): Simple white space clean.
5493
5494         * tabular.[Ch] (docBook): Renamed to docbook and got another
5495         argument to related with the pernicious mixed content.
5496
5497         (docbookRow): Fixed calls for docbook inset method.
5498
5499 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
5500
5501         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5502         so it's X11 independent.
5503
5504         * kb*.[Ch]: ditto.
5505
5506         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5507
5508 2002-06-15  Lyx Development team  <lyx@electronia>
5509
5510         * intl.h: Renamed getTrans to getTransManager.
5511
5512 2002-06-14  Angus Leeming  <leeming@lyx.org>
5513
5514         * Makefile.am: nuke forgotten stl_string_fwd.h.
5515
5516 2002-06-12  Angus Leeming  <leeming@lyx.org>
5517
5518         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5519
5520 2002-06-13  Angus Leeming  <leeming@lyx.org>
5521
5522         * LaTeX.C:
5523         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5524
5525 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
5526
5527         * kbmap.C (getiso): add support for cyrillic and greek
5528
5529 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5530
5531         * BufferView.h:
5532         * BufferView.C:
5533         * BufferView_pimpl.h:
5534         * BufferView_pimpl.C: move bogus scrolling logic
5535           to xforms
5536
5537 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5538
5539         * lyxfunc.C:
5540         * BufferView_pimpl.C: view->resize() change
5541
5542 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5543
5544         * BufferView_pimpl.C: topCursorVisible
5545           prototype change
5546
5547 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5548
5549         * Makefile.am:
5550         * lyx_gui.h:
5551         * lyx_gui.C: move to frontends/
5552
5553         * main.C:
5554         * lyx_main.h:
5555         * lyx_main.C: changes from above
5556
5557 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5558
5559         * intl.C:
5560         * intl.h:
5561         * kbmap.C:
5562         * kbsequence.C:
5563         * lyx_cb.C:
5564         * lyx_main.C: minor tidy
5565
5566 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5567
5568         * BufferView_pimpl.h:
5569         * BufferView_pimpl.C:
5570         * BufferView.h:
5571         * BufferView.C: make painter() const,
5572           remove dead code
5573
5574         * BufferView2.C: use screen() accessor
5575
5576         * lyx_main.h:
5577         * lyx_main.C: some minor cleanup
5578
5579 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5580
5581         * BufferView_pimpl.h:
5582         * BufferView_pimpl.C: remove enter/leaveView,
5583           use workHeight()
5584
5585 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5586
5587         * BufferView.h:
5588         * BufferView.C:
5589         * BufferView2.C:
5590         * BufferView_pimpl.h:
5591         * BufferView_pimpl.C: only construct screen once,
5592           rename
5593
5594         * lyxrc.C: remove pointless comment
5595
5596 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5597
5598         * BufferView.h:
5599         * BufferView.C: remove active() and belowMouse()
5600
5601         * BufferView_pimpl.h:
5602         * BufferView_pimpl.C: use workarea() not workarea_,
5603           and make it use a scoped_ptr instead
5604
5605 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5606
5607         * lyx_gui.C: add debug message on BadWindow
5608
5609 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5610
5611         * sp_spell.C: fdopen is not part of the C++ standard.
5612
5613         * paragraph.C (InsetIterator): use >= instead of ==
5614
5615 2002-06-07  Angus Leeming  <leeming@lyx.org>
5616
5617         Fixes needed to compile with Compaq cxx 6.5.
5618         * BufferView_pimpl.C:
5619         * DepTable.C:
5620         * buffer.C:
5621         * converter.C:
5622         * encoding.C:
5623         * lyx_gui.C:
5624         * lyx_main.C:
5625         * lyxtextclasslist.C:
5626         * minibuffer.C:
5627         * sp_spell.C:
5628         * tabular_funcs.C:
5629         * vc-backend.C:
5630         all c-library variables have been moved into namespace std. Wrap
5631         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5632
5633         * lyxlength.C:
5634         * tabular-old.C:
5635         * tabular.C:
5636         Add a using std::abs declaration.
5637
5638         * kbmap.h (modifier_pair):
5639         * paragraph.h (InsetTable, InsetList):
5640         * lyxfont.h (FontBits):
5641         type definition made public.
5642
5643         * bufferlist.C (emergencyWriteAll): the compiler complains that
5644         there is more than one possible lyx::class_fun template to choose from.
5645         I re-named the void specialisation as lyx::void_class_fun.
5646
5647         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5648
5649         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5650         the compiler is is unable to find tostr in write_attribute.
5651
5652 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5653
5654         * buffer.C (sgmlError): hide #warning
5655
5656 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5657
5658         * xtl/*: get rid of xtl, which is not in use anyway
5659
5660         * LyXAction.C (init):
5661         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5662         were unimplemented xtl experimentation
5663
5664 2002-06-04  André Pönitz <poenitz@gmx.net>
5665
5666         * lyxfunc.C: disable array operation on simple formulae
5667
5668 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
5669
5670         * converter.C: constify a bit
5671
5672 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
5673
5674         * lyx_gui.C: check xforms version correctly
5675
5676 2002-04-30  Herbert Voss  <voss@lyx.org>
5677
5678         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5679         "keep" option
5680
5681 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
5682
5683         * lyxvc.C: fix bug 416 (make sure buffer is saved before
5684           attempt to register it with a VCS)
5685
5686 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5687
5688         * lyx_main.C (init): honor variables LYX_DIR_13x and
5689         LYX_USERDIR_13x
5690
5691 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5692
5693         * buffer.h:
5694         * buffer.C:
5695         * lyx_main.C: fix a crash on bad command line,
5696           and give a useful exit status on error
5697
5698         * lyxfunc.C (doImport): allow -i lyx to work
5699
5700 2002-03-30  André Pönitz <poenitz@gmx.net>
5701
5702         * lyxfunc.C: mathed font changes
5703
5704 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5705
5706         * LaTeX.C:
5707         * importer.h:
5708         * importer.C:
5709         * lyx_sty.h:
5710         * lyx_sty.C:
5711         * lyxlex.C:
5712         * lyxrow.h:
5713         * lyxtext.h:
5714         * paragraph.h:
5715         * paragraph.C:
5716         * texrow.h:
5717         * texrow.C:
5718         * text.C:
5719         * trans_mgr.h: srcdocs, and some minor cleanups
5720
5721 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5722
5723         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5724         call getFont all the time)
5725
5726 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5727
5728         * switch from SigC signals to boost::signals
5729
5730 2002-05-29  André Pönitz <poenitz@gmx.net>
5731
5732         * paragraph_pimpl.C (getChar): don't call size() too often...
5733
5734 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5735
5736         * paragraph_pimpl.C (insertChar): do not try to update tables when
5737         appending (pos == size())
5738
5739         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5740         in order to reduce drastically the number of comparisons needed to
5741         parse a large document
5742
5743 2002-05-29  André Pönitz <poenitz@gmx.net>
5744
5745         * text.C:
5746         * text2.C:
5747         * lyxtextclass.C:
5748         * sp_pspell.h:
5749         * textclasslist.[Ch]:
5750         * sp_ispell.h: whitespace change
5751
5752 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5753
5754         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5755         lyxaction directly now.
5756
5757 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
5758
5759         * trans.C:
5760         * lyxfont.C:
5761         * lyxvc.C: remove unused headers
5762
5763 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5764
5765         * Makefile.am:
5766         * buffer.h:
5767         * undostack.h:
5768         * undostack.C:
5769         * undo_funcs.h:
5770         * undo_funcs.C: some cleanups. Use shared_ptr
5771           and a template for the undo stacks.
5772
5773 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5774
5775         * BufferView_pimpl.h:
5776         * BufferView_pimpl.C:
5777         * kbmap.h:
5778         * kbmap.C:
5779         * kbsequence.h:
5780         * kbsequence.C:
5781         * lyxfunc.h:
5782         * lyxfunc.C:
5783         * text2.C: use key_state/mouse_state
5784
5785 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5786
5787         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5788         and LSubstring
5789
5790         * chset.C: change include order
5791         (loadFile): use boost regex and get rid of LRegex and LSubstring
5792
5793         * Makefile.am (BOOST_LIBS): new variable
5794         (lyx_LDADD): use it
5795
5796         * LaTeX.C: change include order.
5797         (scanAuxFile): use boost regex and get rid of LRegex and
5798         LSubstring
5799         (deplog): ditto
5800
5801 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5802
5803         * ColorHandler.h:
5804         * ColorHandler.C:
5805         * FontInfo.h:
5806         * FontInfo.C: moved to frontends/xforms/
5807
5808         * FontLoader.h:
5809         * FontLoader.C: moved into frontends for GUIIzation
5810
5811         * Makefile.am:
5812         * lyx_gui.C:
5813         * lyxfont.C:
5814         * lyxfunc.C: changes from above
5815
5816 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5817
5818         * LColor.C: remove spurious X include
5819
5820         * BufferView_pimpl.C:
5821         * Makefile.am:
5822         * font.h:
5823         * font.C:
5824         * text.C:
5825         * text2.C: move font metrics to frontends/
5826
5827 2002-05-24  Juergen Vigna  <jug@sad.it>
5828
5829         * undo_funcs.C (textHandleUndo): fix the cursor selection after
5830         setting the undo_cursor.
5831
5832         * ParagraphParameters.h: include local includes first.
5833
5834 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5835
5836         * BufferView_pimpl.C:
5837         * BufferView_pimpl.h:
5838         * Makefile.am:
5839         * WorkArea.h:
5840         * WorkArea.C:
5841         * screen.C: move WorkArea into frontends/
5842
5843         * lyxscreen.h:
5844         * screen.C:
5845         * text.C:
5846         * BufferView.C:
5847         * BufferView2.C: move LyXScreen into frontends/
5848
5849         * lyxlookup.h:
5850         * lyxlookup.C:
5851         * lyx_gui.C: move lyxlookup into frontends/xforms/
5852
5853 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5854
5855         * BufferView2.C:
5856         * BufferView_pimpl.C:
5857         * FontLoader.C:
5858         * LyXView.h:
5859         * LyXView.C:
5860         * Makefile.am:
5861         * WorkArea.C:
5862         * XFormsView.h:
5863         * XFormsView.C:
5864         * buffer.C:
5865         * bufferlist.C:
5866         * bufferview_funcs.C:
5867         * converter.C:
5868         * importer.C:
5869         * lyx_cb.C:
5870         * lyx_gui.C:
5871         * lyx_main.C:
5872         * lyx_find.C:
5873         * lyxfunc.C:
5874         * lyxvc.C:
5875         * minibuffer.C:
5876         * text.C:
5877         * text2.C:
5878         * trans.C:
5879         * vc-backend.C: move LyX/XFormsView into frontends/
5880
5881 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5882
5883         * Makefile.am:
5884         * PainterBase.C:
5885         * PainterBase.h:
5886         * Painter.C:
5887         * Painter.h:
5888         * WorkArea.C:
5889         * WorkArea.h:
5890         * screen.C:
5891         * tabular.C:
5892         * text.C:
5893         * text2.C: move Painter to frontends/
5894
5895 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5896
5897         * buffer.C: comment out some some code that depend upon lyx_format
5898         < 220
5899
5900         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5901         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5902
5903         * buffer.h (NO_COMPABILITY): turn off compability
5904
5905         * ColorHandler.C: include scoped_array.hpp
5906
5907         * font.C: Use more specific smart_ptr header.
5908         * Painter.C: ditto
5909         * gettext.C: ditto
5910         * ShareContainer.h: ditto
5911         * lyx_main.h: ditto
5912         * kbmap.h: ditto
5913         * FontInfo.h: ditto
5914         * BufferView_pimpl.h: ditto
5915         * ColorHandler.h: ditto
5916
5917         * kbmap.C (defkey): change call to shared_ptr::reset
5918
5919 2002-05-21  Juergen Vigna  <jug@sad.it>
5920
5921         * buffer.C (insertErtContents): fix to insert ert asis if it is
5922         non empty. Skip it completely if it contains only whitespaces.
5923
5924 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
5925
5926         * BufferView_pimpl.C:
5927         * BufferView2.C: clear selection on paste (bug 393)
5928
5929 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5930
5931         * DepTable.C: include ctime
5932
5933 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
5934
5935         * buffer.C (latexParagraphs): Add new argument (moving_arg).
5936
5937 2002-05-14  Juergen Vigna  <jug@sad.it>
5938
5939         * text.C (breakParagraph): fixed function to honor the keepempty
5940         layout in the right maner and also to permit the right breaking
5941         algorithm on empty or non empyt keepempty paragraphs.
5942
5943         * paragraph.C (breakParagraph): we have to check also if the par
5944         is really empty (!size()) for isempty otherwise we do the wrong
5945         paragraph break.
5946
5947 2002-05-10  Juergen Vigna  <jug@sad.it>
5948
5949         * buffer.[Ch] : The following are only changes to the ert
5950         compatibility read reading old LaTeX layout and font stuff and
5951         convert it to ERTInsets.
5952
5953         * buffer.h: added isErtInset().
5954
5955         * buffer.C (struct ErtComp): add a fromlayout bool to check
5956         if we're inside a LaTeX layout.
5957         (isErtInset): new helper function.
5958         (insertErtContents): look for other ert insets before this one
5959         and insert the contents there, so that we don't have subsequent
5960         ERT insets with nothing between them. This way we create only one
5961         inset with multiple paragraphs. Also check if we don't insert only
5962         spaces ' ' as they are ignored anyway afterwards in the .tex file
5963         so if we have only spaces we will ignore this latex part in the
5964         new file.
5965         (parseSingleLyXformat2Token \\layout): better compatibility when
5966         reading layout-latex stuff.
5967         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5968         language tag.
5969         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5970         stuff after reading the inset only get the information back from
5971         the stack.
5972
5973 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
5974
5975         * buffer.C (makeLaTeXFile): Put language options after loading babel.
5976
5977         * LaTeXFeatures.C (getBabelOptions): New method.
5978
5979 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5980
5981         * BufferView_pimpl.C (Dispatch): work around missing argument for
5982         'layout'
5983
5984 2002-05-08  Juergen Vigna  <jug@sad.it>
5985
5986         * text.C (leftMargin): handle paragraph leftindent.
5987
5988         * paragraph.C (writeFile): write the new \\leftindent tag.
5989         (validate): handle leftindent code.
5990         (TeXEnvironment): handle paragraphleftindent code again.
5991
5992         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5993
5994         * buffer.C (parseSingleLyXformat2Token): added compatibility code
5995         for paragrap_extra indent code and new token \\leftindent.
5996         (latexParagraphs): handle the leftindent as environment.
5997
5998         * ParameterStruct.h: added leftindent support.
5999
6000         * ParagraphParameters.C (leftIndent): added support functions for
6001         the paragraph left indent.
6002
6003         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6004         more appropriate.
6005
6006 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
6007
6008         * paragraph.C (isRightToLeftPar): Return false for a paragraph
6009         inside insetERT.
6010
6011         * text.C (computeBidiTables): No bidi in insetERT.
6012
6013         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6014         in RTL documents.
6015
6016 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6017
6018         * version.C.in: pre 5
6019
6020 2002-05-02  José Matos  <jamatos@fep.up.pt>
6021         * buffer.C (makeDocBookFile): white space changes, add newline to
6022         command styles.
6023         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6024
6025         * tabular.C (docBook): fix typo.
6026
6027 2002-05-03  Juergen Vigna  <jug@sad.it>
6028
6029         * screen.C (drawFromTo): recalculate the rowpointer if we had a
6030         change in LyXText as we can not be sure it was not freed.
6031         (drawOneRow): remove unused code.
6032
6033         * text.C (drawInset): redo the calculation of the need_break_row as
6034         it could have a row which was already freed.
6035         (draw): look at the return value of drawInset and return false if
6036         it also returned false.
6037         (paintRowText): look at the return value of draw and return false if
6038         it also returned false.
6039
6040         * lyxtext.h: added bool return type to drawInset() and draw() so that
6041         if we have a change in the row so that the rowbreak has to be redone
6042         we abort drawing as it will be called again.
6043
6044 2002-05-02  Juergen Vigna  <jug@sad.it>
6045
6046         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6047         a change in the maintext also if we're inside an inset.
6048         (Dispatch): set the cursor again after a break line and after the
6049         screen has been updated as it could be we're in a different row.
6050
6051         * text2.C (fixCursorAfterDelete): check to make sure we don't request
6052         to set the cursor behind the pargraph with > size().
6053         (setCursor): check also for the same paragraph when checking where
6054         to put the cursor if we have a NFR inset.
6055
6056         * buffer.C (parseSingleLyXformat2Token): move the compatibility
6057         parts of layout read further up as it still was in the wrong
6058         position.
6059
6060 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6061
6062         * screen.C (drawFromTo): change sine fullRebreak always return
6063         true.
6064
6065         * buffer.C (parseSingleLyXformat2Token): reindent some
6066
6067         * BufferView_pimpl.C (update): change since fullRebreak always
6068         return true.
6069         (Dispatch): git rid of the last hardcoded "Standard"s.
6070
6071 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6072
6073         * text2.[Ch] (fullRebreak): make it return void now that we always
6074         returned true.
6075
6076 2002-04-30  Juergen Vigna  <jug@sad.it>
6077
6078         * buffer.C (parseSingleLyXformat2Token): reset the font before the
6079         ert compatibility check for "latex" layout.
6080
6081 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
6082
6083         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6084         minipages: use col% instead of p%, and also use the current font.
6085         (makeLaTeXFile): Fix use babel condition.
6086         (parseSingleLyXformat2Token): Correct font when reading old floats.
6087
6088 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
6089
6090         * BufferView_pimpl.C (Dispatch): Check that float type exists when
6091         inserting list of floats.
6092
6093 2002-04-25  Herbert Voss  <voss@lyx.org>
6094
6095         * MenuBackend.C (expand): don't add the graphics extensions to the
6096         export menu
6097
6098 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6099
6100         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6101         non-existing layout, do not complain if it was the default layout
6102         of the original class (bug #342)
6103
6104 2002-04-24  Juergen Vigna  <jug@sad.it>
6105
6106         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6107         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6108
6109 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
6110
6111         * buffer.C (getBibkeyList): If using \bibliography, return the
6112         option field with the reference itself. Enables us to provide natbib
6113         support when using \bibliography.
6114
6115 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
6116
6117         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6118
6119         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6120         natbib is provided by the LaTeX class.
6121
6122 2002-04-23  Juergen Vigna  <jug@sad.it>
6123
6124         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6125         Wakeup functions.
6126
6127         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6128
6129 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6130
6131         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6132
6133         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6134         ensuremath around textordmasculine, textordfeminine and
6135         textdegree.
6136
6137 2002-04-19  Juergen Vigna  <jug@sad.it>
6138
6139         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6140         reinitializing the buffer otherwise row-dimensions may be wrong.
6141         (update): reset also the selection cursors if they do exits otherwise
6142         their x/y positions may be wrong.
6143
6144         * text2.C (cursorDown): don't enter the inset if we came from a row
6145         above and are one row over the inset.
6146
6147         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6148         really leaving an inset.
6149
6150 2002-04-18  Juergen Vigna  <jug@sad.it>
6151
6152         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6153         of the selected paragraph does not have the selected layout also if
6154         the last one had!
6155
6156         * text2.C (setLayout): fixed bug which did not change last selected
6157         paragraph.
6158
6159         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6160         changed the read and substituted \\end_float with \\end_inset!
6161
6162         * BufferView_pimpl.C (cursorPrevious):
6163         (cursorNext): fixed to make it work with rows heigher than the work
6164         area without moving the cursor only the draw of the row.
6165         (workAreaMotionNotify): fix jumping over high rows.
6166
6167 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6168
6169         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6170         Ressler.
6171
6172 2002-04-16  Juergen Vigna  <jug@sad.it>
6173
6174         * text2.C (setCursor): set also the irow().
6175         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6176         (cursorUp):
6177         (cursorDown): support for locking an inset if the x_fix value goes
6178         inside it. That way I can transverse insets too with cursor up/down.
6179
6180         * lyxrow.h: added irow helper function same as other (i) functions.
6181
6182         * BufferView_pimpl.C (cursorPrevious):
6183         (cursorNext): fixed for insets!
6184
6185 2002-04-15  Juergen Vigna  <jug@sad.it>
6186
6187         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6188         position otherwise it is wrong in some cases.
6189
6190         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6191         inside the inset before the call.
6192
6193 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
6194
6195         * buffer.[Ch] (getBibkeyList): make it const.
6196
6197 2002-04-12  Juergen Vigna  <jug@sad.it>
6198
6199         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6200
6201         * text2.C (getCursorX): new helper function
6202         (setCursor): compute also ix_
6203         (setCursorFromCoordinates): set also ix.
6204
6205         * lyxcursor.h: added ix_ and helper functions.
6206
6207         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6208
6209         * buffer.C (insertStringAsLines): dont break paragraph if the this
6210         paragraph is inside an inset which does not permit it!
6211
6212         * text.C (breakParagraph): honor keepempty flag and break the paragraph
6213         also with no chars on this paragraph.
6214         (paintRowText): only paint stuff if it's inside the workarea!
6215
6216         * paragraph.C (breakParagraph): honor keepempty flag and break the
6217         paragraph always below not above.
6218
6219         * BufferView2.C (unlockInset): update the paragraph layout on inset
6220         unlock as we changed paragraph in such a case.
6221
6222         * lyxfind.C (LyXFind): clear the former selection if not found!
6223
6224         * text2.C (insertInset): freeze Undo after setUndo so that it is not
6225         again called in insertChar().
6226
6227         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6228         an inset which uses the whole row!
6229         (rightMargin): ditto.
6230         (insertChar): force a rebreak if we inserted an inset!
6231
6232 2002-03-28  Herbert Voss  <voss@lyx.org>
6233
6234         * lyxlength.[Ch]: add inBP() to get the right PS-point
6235         units (BigPoint). With inPixels we have rounding errors
6236
6237 2002-04-11  Juergen Vigna  <jug@sad.it>
6238
6239         * text2.C (setCursorFromCoordinates): set iy to the right value.
6240         (setCursor): add check if row->previous exists!
6241
6242         * buffer.C (parseSingleLyXformat2Token): reset font after read of
6243         an old float_type as this was the case in the old code!
6244
6245         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6246
6247         * BufferView2.C (showLockedInsetCursor): use iy
6248         (fitLockedInsetCursor): ditto
6249
6250         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6251         locked insets as there we have the right value now.
6252
6253         * lyxcursor.C: added iy_ variable and iy functions to set to the
6254         baseline of cursor-y of the locked inset.
6255
6256         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6257         (setCursor): fixed for insets which need a full row.
6258
6259         * text.C (rowLastPrintable): don't ignore the last space when before
6260         an inset which needs a full row.
6261         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6262         as last character of a row when before a inset which needs a full row.
6263
6264 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6265
6266         * version.C.in: update date
6267
6268         * text2.C (fullRebreak): try to always return true and see what
6269         happens...
6270
6271 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6272
6273         * MenuBackend.C (expand): use Floating::listName
6274
6275         * FloatList.C (FloatList): add listName argument to the built-in
6276         floats
6277
6278         * Floating.[Ch]: add listName member, which is the 'List of XXX'
6279         text associated with the float.
6280
6281 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6282
6283         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6284
6285 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6286
6287         * ShareContainer.h: add a couple of missing typenames.
6288
6289 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
6290
6291         * lyxrc.C (getDescription): use _() correctly rather than N_().
6292
6293 2002-03-28  Herbert Voss  <voss@lyx.org>
6294
6295         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6296         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6297
6298 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6299
6300         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6301         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6302
6303 2002-03-29  Juergen Vigna  <jug@sad.it>
6304
6305         * lyxfunc.C (dispatch): add a missing fitCursor call.
6306
6307         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6308         it was scrolled by a cursor move, so return the bool status.
6309
6310         * BufferView.C (fitCursor): return the bool flag also to the outside
6311         world as this is needed.
6312
6313         * screen.C (toggleToggle): don't subtract the offset if it's positive.
6314
6315         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6316         call the edit() as it is not needed (and wrong) IMO.
6317         (workAreaButtonPress): set the screen_first variable before evt.
6318         unlock the inset as this may change screen_first and then we have
6319         a wrong y position for the click!
6320
6321 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6322
6323         * MenuBackend.C (expand): another translation that I missed
6324
6325 2002-03-28  Juergen Vigna  <jug@sad.it>
6326
6327         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6328
6329         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6330
6331 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6332
6333         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6334
6335         * MenuBackend.C (expand): fix export/view/update when there is no
6336         document open.
6337
6338 2002-03-27  Herbert Voss  <voss@lyx.org>
6339
6340         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6341         and text%
6342
6343 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6344
6345         * bufferview_funcs.C (currentState): only show paragraph number
6346         for is DEVEL_VERSION is set.
6347
6348         * lyxfunc.C (dispatch): put warning in INFO channel
6349
6350         * MenuBackend.C (expand): translate the name of floats
6351
6352         * FloatList.C (FloatList): mark the float names for translation
6353
6354         * converter.C (convert): use LibScriptSearch
6355
6356 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6357
6358         * MenuBackend.C (defaults): fix default menu (we might as well get
6359         rid of it...)
6360
6361 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6362
6363         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6364         directory.
6365
6366 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6367
6368         * lyxvc.C: reorder includes.
6369
6370 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6371
6372         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6373           properly
6374
6375 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6376
6377         * CutAndPaste.C: change layouts earlier on paste
6378           to avoid crashing when calling getFont()
6379
6380 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6381
6382         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6383         irritating #error.
6384
6385 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6386
6387         * WorkArea.C: remove 'Pending' debug message.
6388
6389         * most files: ws cleanup
6390
6391         * buffer.[Ch]: ws changes
6392
6393         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6394
6395 2002-03-21  Juergen Vigna  <jug@sad.it>
6396
6397         * tabular.C (SetMultiColumn): collapse also the contents of the
6398         cells and set the last border right. Added a Buffer const * param.
6399
6400 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6401
6402         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6403         linking or not.
6404
6405 2002-03-19  Juergen Vigna  <jug@sad.it>
6406
6407         * text2.C (clearSelection): reset also xsel_cache.
6408
6409         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6410         where it needs to be called (John tells us to do so too :)
6411         (selectionLost): reset sel_cache.
6412
6413         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6414
6415 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6416
6417         * text2.C (setCursorIntern): put debuging code in INSETS channel
6418
6419 2002-03-19  André Pönitz <poenitz@gmx.net>
6420
6421         * lyxfunc.C: tiny whitespace change
6422
6423 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6424
6425         * ToolbarDefaults.C (init):
6426         * LyXAction.C (init):
6427         * commandtags.h:
6428         * BufferView_pimpl.C (Dispatch):
6429         * lyxfunc.C (dispatch): remove LFUN_DEPTH
6430
6431 2002-03-19  Allan Rae  <rae@lyx.org>
6432
6433         * exporter.C (Export): removeAutoInsets before doing anything else.
6434         While I've just introduced a dependency on BufferView this really is
6435         the best place to clean the buffer otherwise you need to cleanup in
6436         a dozen places before calling export or cleanup in a dozen functions
6437         that export calls.
6438
6439         * converter.C (runLaTeX):
6440         (scanLog): Better handling of removeAutoInsets and screen updates.
6441
6442         * lyxfunc.C (dispatch): small whitespace changes
6443
6444 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6445
6446         * WorkArea.C (C_WorkAreaEvent): return a value.
6447         (event_cb): return 1 if we handled the event, 0 otherwise.
6448
6449         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6450
6451 2002-03-18  Juergen Vigna  <jug@sad.it>
6452
6453         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6454         (GetAdditionalWidth): ditto.
6455         (RightLine): ditto.
6456         (LeftLine): ditto.
6457
6458         * BufferView2.C (copy): use getLyXText() so that we do it inside an
6459         inset if we're there actually (probably not used right now but this
6460         is the direction to go for unifying code).
6461         (paste): disable code to clear the selection.
6462
6463         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6464         inside an InsetText and move the check further up as it is in the
6465         wrong place.
6466
6467         * text2.C (pasteSelection): set a selection over the pasted text.
6468
6469 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
6470
6471         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6472         and libgraphics to build on Cygwin.
6473
6474 2002-03-15  Juergen Vigna  <jug@sad.it>
6475
6476         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6477         inserting an Inset into the paragraph. I know this is not the best
6478         fix but we already use current_view in CutAndPaste so we will remove
6479         all of it's using at the same time.
6480
6481         * buffer.C (sgmlError): deactivated function till it is rewritten in
6482         the right mode, now it can create problems.
6483
6484         * paragraph.C (isLineSeparator): check if getInset returns != 0,
6485         before accessing it.
6486
6487 2002-03-14  Juergen Vigna  <jug@sad.it>
6488
6489         * undo_funcs.C (textHandleUndo): do the right thing when updating
6490         the inset after the undo/redo.
6491
6492         * text2.C (setCursor): just some testcode for #44 not ready yet.
6493
6494         * undo_funcs.C (textHandleUndo): set the next() and previous()
6495         pointers of the paragraph to 0 before deleting otherwise we have
6496         problems with the Paragraph::[destructor].
6497
6498         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6499         on a paragraph insertion.
6500
6501 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6502
6503         * buffer.C (asciiParagraph): use += operator for char append to
6504         string.
6505
6506         * paragraph.C (getFontSettings): compare >= not just >
6507         (highestFontInRange): ditto
6508         (setFont): ditto
6509
6510 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6511
6512         * paragraph.C: change several algorithm to be more appripriate for
6513         the problem domain. This is lookip in FontList and in the InsetList.
6514
6515 2002-03-13  André Pönitz <poenitz@gmx.net>
6516
6517         * commandtags.h:
6518         * LyXAction.C: remove unused LFUN_MATH_MACROARG
6519
6520 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
6521
6522         * commandtags.h:
6523         * LyXAction.C:
6524         * lyxfunc.C:
6525         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6526
6527 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6528
6529         * Painter.C (display): anon helper function, adjust code for this
6530         change.
6531         (pixmap): remove function.
6532
6533         * Painter.h: remove private display variable.
6534
6535         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6536
6537 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
6538
6539         * WorkArea.[Ch]: remove figinset_canvas cruft.
6540
6541 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6542
6543         * lyxtextclass.C (operator): add one item cache optimization.
6544
6545         * bufferlist.h: doxy changes
6546
6547         * bufferlist.C: ws changes
6548
6549         * DepTable.[Ch] (ext_exist): place const in the right spot.
6550
6551         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6552         call resizeInsets.
6553         (workAreaExpose): call resizeInsets when the with BufferView changes.
6554         (Dispatch): adjust for protectedBlank removal
6555         (specialChar): call updateInset if the insert went ok.
6556
6557         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6558         specialChar instead.
6559
6560         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6561
6562         * BufferView.h: doxy change
6563
6564         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6565
6566         * lyxtextclass.C (operator[]): remove non-const version
6567         (defaultLayout): remove non-const version
6568
6569 2002-03-12  Juergen Vigna  <jug@sad.it>
6570
6571         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6572         did resize the LyXText too.
6573
6574         * buffer.C (readLyXformat2): set layout information on newly allocated
6575         paragraphs.
6576
6577         * tabular.C (OldFormatRead): set layout information on the paragraph.
6578
6579 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6580
6581         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6582
6583 2002-03-11  Juergen Vigna  <jug@sad.it>
6584
6585         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6586         plainly wrong.
6587         (resizeCurrentBuffer): force also the insets to resize themselfes.
6588         (moveCursorUpdate): fixed up for InsetText.
6589
6590 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
6591
6592         * commandtags.h:
6593         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6594         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6595         value of Dialogs::tooltipsEnabled().
6596         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6597
6598 2002-03-08  Juergen Vigna  <jug@sad.it>
6599
6600         * BufferView_pimpl.C (updateInset): update inset inside inset also
6601         if it isn't inside theLockingInset().
6602
6603 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6604
6605         * buffer.C (asciiParagraph): redo some of the word and line length
6606         handling.
6607         (getLists): look for Caption instead of caption.
6608
6609 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6610
6611         * buffer.C (Buffer): initialize niceFile to true
6612         (makeLaTeXFile):
6613         (makeLinuxDocFile):
6614         (makeDocBookFile): make sure niceFile is true on exit
6615
6616 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6617
6618         * buffer.C (makeLaTeXFile): escape ~ in \input@path
6619
6620 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
6621
6622         * LyXSendto.C: remove.
6623         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6624         * lyx_gui.C: remove now-redundant comment.
6625         * ColorHandler.h: remove forward declaration of class WorkArea.
6626         * lyxfunc.C: remove #include "WorkArea.h".
6627
6628 2002-03-07  Juergen Vigna  <jug@sad.it>
6629
6630         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6631         got moved away with the DEPM and also set the inset_owner always
6632         right which before could have been omitted.
6633
6634 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6635
6636         * buffer.C (parseSingleLyXformat2Token): use default layout is the
6637         wanted layout is not found.
6638
6639 2002-03-07  Juergen Vigna  <jug@sad.it>
6640
6641         * CutAndPaste.C (cutSelection): another layout settings forgotten.
6642
6643 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6644
6645         * paragraph.C (breakParagraph): use default layout not layout of
6646         prev paragraph.
6647         (Paragraph): clear ParagraphParameters.
6648
6649 2002-03-06  Juergen Vigna  <jug@sad.it>
6650
6651         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6652         otherwise it would not be a valid lenght. Fixed a special case in
6653         the minipage compatibility read where we end the document with a
6654         minipage.
6655
6656         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6657         was set as it could be 0 for InsetTexts first entry.
6658
6659 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6660
6661         * paragraph.C (writeFile): if layout is empty write out
6662         defaultLayoutName().
6663
6664         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6665         file without named layout we set layout to defaultLayoutName().
6666
6667 2002-03-06  Juergen Vigna  <jug@sad.it>
6668
6669         * CutAndPaste.C (copySelection): set layout for new paragraph.
6670
6671         * text.C (prepareToPrint): leave ERT inset left aligned
6672         (leftMargin): don't indent paragraphs inside ERT insets
6673
6674 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6675
6676         * paragraph.C (breakParagraph): dont call clear do the work manually
6677
6678         * paragraph.[Ch] (clear): remove function
6679
6680 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6681
6682         * paragraph.C (Paragraph): dont call clear, the work has already
6683         been done.
6684
6685         * lyxtextclass.C (operator): assert if n is empty
6686
6687         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6688         work manually instead.
6689
6690 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6691
6692         * BufferView_pimpl.C: protect selectionLost against text == 0
6693
6694 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6695
6696         * text.C (breakParagraph): fix a setting layout to '0' problem.
6697
6698 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6699
6700         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6701         final location of file, for the included files, and graphics.
6702
6703 2002-03-05  Juergen Vigna  <jug@sad.it>
6704
6705         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6706
6707 2002-03-04  Juergen Vigna  <jug@sad.it>
6708
6709         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6710
6711         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6712         last column of multicolumn cells.
6713         (SetWidthOfMulticolCell): recalculate NMC and real columns.
6714
6715 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6716
6717         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6718         file if it doesn't go to a temporary file.
6719
6720         * buffer.C (sgmlOpenTag):
6721         (sgmlCloseTag):  remove extra newline insertion.
6722
6723 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6724
6725         * text.C (getRowNearY): comment out debug msg
6726
6727 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6728
6729         * text2.C: first -> first_y
6730
6731         * text.C (getRowNearY): add some attemts at a possible
6732         optimization, not working.
6733
6734         * tabular.[Ch]: add BufferParams to several function so that newly
6735         created paragraph can be initialized to he default layotu for the
6736         buffers textclass.
6737
6738         * tabular-old.C (ReadOld): add buf->params to call of Init
6739
6740         * screen.C: rename text->first to text->first_y
6741
6742         * paragraph.C (breakParagraph): always set layout in the broken
6743         paragraph
6744
6745         * lyxtextclass.C (Read): remove lowercase
6746         (hasLayout): ditto
6747         (operator): ditto
6748         (delete_layout): ditto
6749
6750         * lyxtext.h: rename first -> first_y
6751
6752         * lyxlayout.C (Read): remove lowercase
6753         (name): ditto
6754         (setName): ditto
6755         (obsoleted_by): ditto
6756
6757         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6758
6759         * buffer.C (insertErtContents): add params are to InsetERT
6760         (parseSingleLyXformat2Token): add code to check if a paragraphs
6761         layout really exist.
6762         (parseSingleLyXformat2Token): add params to several inset
6763         constructors
6764         (asciiParagraph): remove lowercase, do the layout comparisons with
6765         no_case
6766
6767         * BufferView_pimpl.C (cursorNext): first -> first_y
6768         (resizeCurrentBuffer): first -> first_y
6769         (updateScrollbar): first -> first_y
6770         (scrollCB): first -> first_y
6771         (workAreaMotionNotify): first -> first_y
6772         (workAreaButtonPress): first -> first_y
6773         (checkInsetHit): first -> first_y
6774         (cursorPrevious): first -> first_y
6775         (cursorNext): first -> first_y
6776         (Dispatch): add buffer_->params to severl inset contructors
6777
6778 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6779
6780         * lyxlayout.C (Read): remove some debug info that I forgot.
6781
6782         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6783         clean up the code slightly.
6784         (makeLinuxDocFile): ditto
6785         (makeDocBookFile): ditto
6786
6787         * text2.C: layout as string
6788
6789         * text.C: layout as string
6790
6791         * paragraph_pimpl.C: layout as string
6792
6793         * paragraph.[Ch]: layout as string
6794
6795         * lyxtextclasslist.[Ch]: layout as string
6796
6797         * lyxtextclass.[Ch]: layout as string
6798
6799         * lyxtext.h: layout as string
6800
6801         * lyxlayout.[Ch]: layout as string
6802
6803         * lyx_cb.C: layout as string
6804
6805         * bufferview_funcs.C: layout as string
6806
6807         * bufferparams.C: layout as string
6808
6809         * buffer.C: layout as string
6810
6811         * LyXView.[Ch]: layout as string
6812
6813         * LaTeXFeatures.[Ch]: layout as string
6814
6815         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6816
6817         * BufferView_pimpl.C: change current_layout to string, remove
6818         lyx::layout_type.
6819         (Dispatch):
6820         (smartQuote):
6821         (insertInset):
6822         (workAreaButtonRelease): layout as string
6823
6824         * BufferView2.C (unlockInset): adjust
6825
6826         * vspace.C (asLatexCommand): use an explict temp variable.
6827
6828 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6829
6830         * Makefile.am: use FRONTEND_*
6831
6832 2002-03-01  Juergen Vigna  <jug@sad.it>
6833
6834         * tabular.C (SetWidthOfMulticolCell): changed to something better
6835         I hope but still work in progress.
6836         (recalculateMulticolumnsOfColumn): renamed function from
6837         recalculateMulticolCells as it is more appropriate now.
6838         (SetWidthOfCell): calculate multicols better.
6839
6840 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6841
6842         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6843
6844         * lyxfunc.C (processKeySym): print sequence also if it is
6845         `deleted' (complete)
6846
6847         * kbsequence.C (print): print sequence even if it is deleted
6848         (complete would be a better word, actually).
6849
6850         * lyxfunc.C (dispatch): print complete options after a prefix key
6851
6852         * vspace.C (asLatexCommand): rewrite in a slightly different form.
6853
6854 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
6855
6856         * text2.C (setCharFont): eliminate setCharFont code duplication.
6857
6858 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6859
6860         * BufferView_pimpl.C (Dispatch): remove bogus handling of
6861         LFUN_TABULAR_FEATURE (bug #177)
6862
6863 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
6864
6865         * Makefile.am: remove figure.h
6866
6867 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
6868
6869         * Bufferview_pimpl.C:
6870         * CutAndPasteC:
6871         * LaTeX.C:
6872         * LyXSendto.C:
6873         * buffer.C:
6874         * bufferlist.C:
6875         * converter.C:
6876         * language.C:
6877         * lyxfunc.C:
6878         * lyxvc.C:
6879         * paragraph.C:
6880         * text.C:
6881         * text2.C: remove #include "lyx_gui_misc.h".
6882
6883         * LaTeX.C: added #include <cstdio>
6884
6885 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6886
6887         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6888         that the paragraph following this one can have.
6889
6890         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6891
6892         * vspace.C (asLatexCommand): fix bogus gcc warning
6893
6894         * Makefile.am (lyx_SOURCES): remove vms_defines.h
6895
6896 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
6897
6898         * text2.C (setLayout): get rid of redundant code
6899
6900 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
6901
6902         * text2.C (incDepth): make sure depth cannot be increased beyond
6903         reasonable values.
6904
6905 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
6906
6907         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6908         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6909
6910         * PainterBase.h (image):
6911         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6912         a LyXImage const *.
6913
6914 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
6915
6916         * BufferView.C:
6917         * BufferView.h:
6918         * BufferView_pimpl.C:
6919         * BufferView_pimpl.h:
6920         * LaTeXFeatures.C:
6921         * LyXAction.C:
6922         * LyXView.C:
6923         * Makefile.am:
6924         * UpdateList.h:
6925         * UpdateList.C:
6926         * buffer.C:
6927         * figure.h:
6928         * figureForm.C:
6929         * figureForm.h:
6930         * figure_form.C:
6931         * figure_form.h:
6932         * lyx_cb.C:
6933         * lyx_gui.C:
6934         * lyx_gui_misc.C:
6935         * lyxfunc.C:
6936         * sp_base.h:
6937         * sp_ispell.h:
6938         * sp_pspell.h:
6939         * sp_spell.C: remove fig inset, and the crap house of
6940           cards that follows it
6941
6942 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
6943
6944         * Makefile.am:
6945         * lyxserver.C:
6946         * os2_defines.h:
6947         * os2_errortable.h:
6948         * nt_defines.h: move .h into support/
6949
6950         * vms_defines.h: remove
6951
6952         * WorkArea.C: add space in debug output
6953
6954         * text2.C:
6955         * paragraph.C:
6956         * buffer.C: add WITH_WARNINGS
6957
6958         * vc-backend.h:
6959         * vc-backend.C:
6960         * bufferlist.C: s/retrive/retrieve/, add docs
6961
6962         * vspace.h:
6963         * vspace.C:
6964         * kbmap.h:
6965         * lyxlength.h:
6966         * lyxgluelength.h:
6967         * length_common.h:
6968         * chset.h:
6969         * chset.C: add docs
6970
6971         * lyxgui.C: add ID to X error handler
6972
6973         * lyxtestclass.c: fix typo
6974
6975 2002-02-26  Juergen Vigna  <jug@sad.it>
6976
6977         * tabular_funcs.C (write_attribute): changed so that some default
6978         attributes are not written at all.
6979         (getTokenValue): set default values before trying to read the
6980         value so we have the return value always set as default if we don't
6981         find the token we search for.
6982
6983         * tabular.C (Write): write bools as bools not as strings!
6984
6985 2002-02-22  Juergen Vigna  <jug@sad.it>
6986
6987         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6988         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6989
6990         * text.C (leftMargin): don't add an indent for paragraphs inside
6991         tabular cells (fix #208).
6992
6993 2002-02-21  José Matos  <jamatos@fep.up.pt>
6994
6995         * tabular.C (docBook): fixed support for long tables.
6996
6997 2002-02-20  Juergen Vigna  <jug@sad.it>
6998
6999         * text2.C (getFont): get the drawing font of the Inset if this
7000         paragraph is inside an inset (only important for InsetERT for now).
7001
7002         * buffer.C (insertErtContents): use new lanugage params in ERT
7003         constructor.
7004
7005         * CutAndPaste.C: commenting out seemingly uneeded code.
7006
7007 2002-02-19  Allan Rae  <rae@lyx.org>
7008
7009         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7010         Iterators might be simple to use but they also get invalidated.
7011         (removeAutoInsets): renamed saved cursor tracking variables and added
7012         some comments to clarify what everything does.
7013
7014 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
7015
7016         * Chktex.C:
7017         * LaTeX.C:
7018         * LyXSendto.C:
7019         * converter.C:
7020         * lyx_cb.C:
7021         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7022         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7023
7024         * lyxfunc.C:
7025         * vc-backend.h: remove #include "support/syscall.h"
7026
7027         * LaTeX.C:
7028         * LyXSendto.C:
7029         * converter.C: rearrange #includes in Lars' approved fashion.
7030
7031         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7032         forward declare class Timeout in the header file.
7033
7034         * XFormsView.C: changes due to the above.
7035
7036         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7037         similar to LyXView.
7038
7039         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7040         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7041
7042 2002-02-18  José Matos  <jamatos@fep.up.pt>
7043
7044         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7045         insets contents.
7046
7047 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
7048
7049         * a lot of small ws changes
7050         * add a lot of using std::XXX
7051         * use std construcs some places where approp.
7052         * use some exisint stuff from lyxfunctional where approp.
7053         * Make file changes to use partial linking (lets test this now...)
7054
7055 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7056
7057         * Chktex.C:
7058         * buffer.C:
7059         remove #include "support/syscontr.h" as it's redundant. Always has been.
7060
7061         * Chktex.C:
7062         * LaTeX.C:
7063         * LyXSendto.C:
7064         * converter.C:
7065         * lyx_cb.C:
7066         * vc-backend.C:
7067         change Systemcalls::System to Systemcalls::Wait and
7068         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7069         No change of functionality, just reflects the stripped down Systemcalls
7070         class.
7071
7072 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
7073
7074         * debug.[Ch]: add a GRAPHICS type to the enum.
7075
7076 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7077
7078         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7079
7080         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7081         there is an inset.
7082
7083 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7084
7085         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7086         match the changes below.
7087
7088         * text2.C (toggleInset): if there is not editable inset at cursor
7089         position, try to see if cursor is _inside_ a collapsable inset
7090         and close it.
7091
7092 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7093
7094         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7095         document menu has a nice checkbox
7096
7097 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7098
7099         * lyxlength.C (asLatexString): change PW to output as percent of
7100         \textwidth.
7101
7102         * lengthcommon.C: change '%' to 't%'
7103
7104         * lyxfunc.C (dispatch): a few comments from Martin
7105
7106 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
7107
7108         * WorkArea.h:
7109         * WorkArea.C:
7110         * BufferView_pimpl.h:
7111         * BufferView_pimpl.C: clear our selection when X tells us we've lost
7112           the X selection.
7113
7114 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7115
7116         * vspace.C (inPixels): fix compiler warning
7117
7118 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7119
7120         * lyxfunc.C (getStatus): fix status message for disabled commands.
7121
7122 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
7123
7124         * BufferView_pimpl.C: fix crash on close buffer
7125         during selection (#227)
7126
7127 2002-01-27  Herbert Voss  <voss@lyx.org>
7128
7129         * buffer.C: link old Figure to new graphic inset
7130
7131 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
7132
7133         * FontLoader.C (getFontinfo): Change the latex font names in order
7134         to match the names of type1inst.
7135
7136 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7137
7138         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7139
7140         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7141         (extchanged): ditto
7142         (ext_exist): ditto
7143         (remove_files_with_extension): ditto
7144         (remove_file): ditto
7145         (write): ditto
7146
7147         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7148         document is smaller than the work area height. Do not initialize
7149         static variables to 0.
7150
7151 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7152
7153         * lyx_gui.C (init): give the toolbar tooltips a normal font.
7154
7155         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7156         LFUN_LAYOUT_PARAGRAPHS.
7157
7158         * tabular.C (GetCellFromInset): new method. Finds an inset in a
7159         tabular. It is possible to provide a possible cell, which will
7160         typically be the actcell from the corresponding insettabular
7161
7162         * lyxfunc.C (getStatus): small cleanup; disable
7163         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7164         true
7165
7166 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7167
7168         * tabular.C (Validate): remove broken optimization (fixes bug #201)
7169
7170         * paragraph.C (startTeXParParams):
7171         (endTeXParParams): new methods. The LaTeX code to
7172         start/end paragraph formatting
7173         (simpleTeXOnePar): call startTeXParParams also when paragraph is
7174         empty (fixes bug #200)
7175
7176         * vspace.C (inPixels): adapt to the change below
7177         (inPixels): [later] more cleanups (remove unused variables)
7178
7179         * lyxlength.C (inPixels): change to use a width and a height as
7180         parameter.
7181
7182 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7183
7184         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7185         Replaced with \paperwidth
7186
7187         * DepTable.C (insert): add std:: qualifier
7188
7189 2002-01-18  Allan Rae  <rae@lyx.org>
7190
7191         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
7192         updated also?
7193
7194         * text.C (drawInset): Turned out I didn't know enough about how
7195         rebreaking worked.  This fixes most of the redraw problems.  I see
7196         an occasional cursor trail when a line is broken now and the cursor
7197         placement can seem out by a few pixels also after a rebreak.
7198
7199 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7200
7201         * buffer.C (parseSingleLyXformat2Token): update because minipage
7202         width is now a LyXLength
7203
7204         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7205
7206         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7207         math insets
7208
7209 2002-01-17  Juergen Vigna  <jug@sad.it>
7210
7211         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7212
7213         * BufferView2.C (lockInset): call edit() so that theLockingInset()
7214         is set correctly and the inset is updated correctly.
7215
7216 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7217
7218         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7219         the beginning of the loop.
7220
7221 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * lyxrc.C: improve help for use_scalable_fonts
7224
7225 2002-01-17  Allan Rae  <rae@lyx.org>
7226
7227         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7228
7229 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7230
7231         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7232         make sure to set their inset_owner to the right value (bug #171)
7233
7234 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
7235
7236         * DepTable.h
7237         * DepTable.C: Implement mtime checking to reduce time spent doing
7238         CRCs.
7239
7240 2002-01-16  Juergen Vigna  <jug@sad.it>
7241
7242         * tabular.C (GetAdditionalHeight): one of error fixed.
7243
7244         * lyxrc.C (output): small fix in writing use_pspell.
7245
7246 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
7247
7248         * sp_base.h: #include LString.h
7249
7250 2002-01-16  Allan Rae  <rae@lyx.org>
7251
7252         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
7253         Can someone check this please?
7254
7255         * text.C (drawInset): It was possible that p.row would be removed by
7256         breakAgainOneRow upsetting a few other settings.  There may be another
7257         small tweak possible by setting need_break_row = 0 when p.row has been
7258         removed but I don't know enough about the logic here.
7259
7260 2002-01-15  Allan Rae  <rae@lyx.org>
7261
7262         * text.C (insertChar): removed conditional truism.
7263
7264         * BufferView2.C (removeAutoInsets): More tweaks.
7265         cur_par_prev could be a stray pointer.  Check for trailing empty line
7266         in case last line was cur_par and only had an error inset on it.
7267
7268 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7269
7270         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7271         absolute
7272
7273         * vc-backend.C (most methods):
7274         * exporter.C (Export):
7275         * converter.C (convert):
7276         (runLaTeX):
7277         * LyXSendto.C (SendtoApplyCB):
7278         * lyxfunc.C (dispatch):
7279         (menuNew):
7280         (open):
7281         (doImport):
7282         * lyx_cb.C (AutoSave):
7283         (InsertAsciiFile):
7284         * BufferView_pimpl.C (MenuInsertLyXFile):
7285         * buffer.C (runChktex): use Buffer::filePath().
7286
7287         * buffer.h: rename filename to filename_; rename filepath to
7288         filepath_ and make it private
7289         (filePath): new method
7290
7291         * buffer.C (writeFile): use fileName()
7292         (getLatexName):
7293
7294         * lyx_main.C (init): fix starting  of LyX when the binary is a
7295         link from so,ewhere else.
7296
7297         * minibuffer.C: include <cctype> for isprint
7298
7299 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7300
7301         * buffer.C (parseSingleLyXformat2Token): changes associated with the
7302         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7303         name clash with InsetCollapsable's width function.
7304
7305 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7306
7307         * lastfiles.C: include <iterator>
7308
7309 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7310
7311         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7312         std::count.
7313
7314         * buffer.C (makeLaTeXFile): ditto.
7315         Also make loop operation more transparent.
7316
7317 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
7318
7319         * ToolbarDefaults.C: remove trailing comma closing namespace.
7320
7321         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7322
7323         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7324         as in WorkArea.
7325
7326         * trans.C (Load): comment out unused variable, allowed.
7327
7328 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7329
7330         * minibuffer.[Ch] (append_char): new method to recieve input from the
7331         drop-down completion browser. If a key was pressed, then recieve this
7332         char and append it to the existing string.
7333         (peek_event): modify the positioning data passed to the completion
7334         browser so that it can be placed above the minibuffer rather than below.
7335 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7336
7337         * LyXAction.C (init): alloe error-next for readonly documents.
7338
7339         * BufferView2.C (ChangeRefsIfUnique): use standard version of
7340         count.
7341
7342 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7343
7344         * bufferlist.C (readFile): create the buffer _after_ checking that
7345         the file exists.
7346
7347         * lyxfunc.C (verboseDispatch): fix handling of arguments
7348
7349         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7350
7351         * lyxrc.C: use string::erase() instead of initializing to "".
7352
7353
7354 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7355
7356         * BufferView_pimpl.h:
7357         * BufferView_pimpl.C:
7358         * WorkArea.h:
7359         * WorkArea.C:
7360         * text2.C: tell X when we have made a selection for copying
7361
7362 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7363
7364         * BufferView_pimpl.C (MenuInsertLyXFile):
7365         * lyxfunc.C (menuNew):
7366         (open):
7367         (doImport): add shortcuts to directory buttons
7368
7369         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7370         open a float)
7371
7372         * lyxfunc.C (setStatusMessage):
7373         (getStatusMessage): new methods
7374         (getStatus):use setStatusMessage instead of setErrorMessage
7375         (dispatch): when function is disabled, set error message here
7376         [instead of in getStatus previously]
7377
7378         * BufferView_pimpl.C (workAreaButtonRelease): update
7379         toolbar/menubar here too.
7380
7381 2002-01-13  Allan Rae  <rae@lyx.org>
7382
7383         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7384         Now seems indestructible.  Remaining task is to audit all other
7385         code affected by deleteEmptyParagraphMechanism.  One small quirk
7386         left is that an empty document with an error in the preamble can
7387         be made to report an error but no error box appears.  I don't know
7388         where it goes.
7389         (removeAutoInsets): Improved comments.
7390
7391 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7392
7393         * Thesaurus.h:
7394         * Thesaurus.C: update for Aiksaurus 0.14
7395
7396 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7397
7398         * text2.C (firstParagraph): removed member function, all uses
7399         replaces with ownerParagraph
7400         (redoParagraphs): here
7401         (updateInset): here
7402         (toggleAppendix): here
7403         * BufferView2.C (insertErrors): here
7404         (setCursorFromRow): here
7405
7406 2002-01-13  Allan Rae  <rae@lyx.org>
7407
7408         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7409         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7410         There is still a way to segfault this although you may have to do this
7411         multiple times: Have an InsetERT with an unknown command in it.
7412         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7413         <down-arrow>, <Enter> again, View->DVI, BANG!
7414
7415         * text2.C (setCursor):
7416         (deleteEmptyParagraphMechanism):
7417         * lyxtext.h (setCursor):
7418         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7419         Making use of the return value may help fix other bugs.
7420
7421 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7422
7423         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7424
7425         * LyXView.C (updateMenubar): call MenuBar::update here
7426         (updateToolbar): but not here
7427         (showState): do not update toolbar/menubar
7428
7429         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7430         should need to care about that.
7431
7432         * lyxfunc.C (verboseDispatch): simplify a bit
7433         (getStatus): have a version which takes a pseudoaction, and
7434         another which requires a (kb_action,string).
7435
7436         * LyXAction.C (retrieveActionArg): make it work also when action
7437         is not a pseudo-action.
7438         (getActionName): simplify a bit
7439         (helpText):
7440
7441 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7442
7443         * lyxfunc.C (verboseDispatch): new families of methods with
7444         several ways to specify a command and a bool to indicate whether
7445         the command name and shortcut should be displayed in minibuffer
7446         (eventually, we could extend that to a finer bitmask like
7447         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7448         (dispatch): the pristine dispatch command which just, well,
7449         dispatchs! Note it still sets its result to minibuffer; I'm not
7450         sure we want that.
7451
7452         * lyxfunc.h: remove setHintMessage
7453
7454         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7455
7456 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7457
7458         * BufferView_pimpl.C (specialChar): delete new inset if we have
7459         not been able to insert it.
7460
7461         * kbmap.C: revert to using int instead of kb_action, since all we
7462         are dealing with is pseudo-actions.
7463
7464         * LyXAction.C (searchActionArg): change to return int instead of
7465         kb_action, since the result is a pseudoaction.
7466
7467 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
7468
7469         * buffer.C (insertErtContents): Fix (partially) the font bug.
7470
7471 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7472
7473         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7474         as the other one is broken on my machine!
7475
7476 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
7477
7478         * commandtags.h:
7479         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7480
7481 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
7482
7483         * lyxrc.[Ch]: change names and descriptions of popup font variables to
7484         reflect their actual use. Provide compatibility code for older lyxrc
7485         files.
7486
7487         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7488         FL_NORMAL_STYLE.
7489         change names of popup font variables in line with the changes to lyxrc.C
7490
7491 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7492
7493         * buffer.C (asciiParagraph): avoid outputing a word twice after
7494         an inset.
7495
7496         * lyxrc.C (getDescription): document that document_path and
7497         template_path can be empty.
7498
7499 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7500
7501         * LaTeXFeatures.C (getMacros):
7502         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7503
7504         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7505
7506         * LaTeXFeatures.C (useFloat): require "float" here instead of in
7507         getPackages.
7508         (getPackages): rename feature "floats" to "float". Use an array to
7509         iterate over 'simple' features (i.e. just a \usepackage). Add
7510         handling of "amsmath" (renamed from "amsstyle").
7511
7512 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
7513
7514         * LaTeXFeatures.C (require): Prevent duplicate entries in the
7515         features list.
7516
7517 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
7518
7519         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7520         FuncStaus::FuncStatus & FuncStaus::some_method().
7521
7522 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
7523
7524         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7525         of the func_satus stuff. Edited and massaged in various ways by
7526         JMarc.
7527
7528         * lyxfunc.C (getStatus): use FuncStatus
7529
7530 2002-01-08  Juergen Vigna  <jug@sad.it>
7531
7532         * text.C (nextBreakPoint): use function Inset::isChar().
7533
7534         * paragraph.C (TeXOnePar): use function
7535         Inset::forceDefaultParagraphs.
7536
7537         * buffer.C (latexParagraphs): use function
7538         Inset::forceDefaultParagraphs.
7539
7540 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7541
7542         * lyx_gui.C (init): set the style of the menu popups to
7543         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7544
7545 2002-01-07  Juergen Vigna  <jug@sad.it>
7546
7547         * text.C (setHeightOfRow): small fix
7548         (prepareToPrint): don't look at alignment if we don't have the place
7549         for doing it.
7550
7551 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7552
7553         * box.C: New file. Move the Box methods and functions out of box.h,
7554         following Lars' suggestion.
7555
7556 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7557
7558         * box.h: #include "support/LOstream.h", needed for inlined function.
7559
7560         * lyxtextclass.C:
7561         * lyxtextclasslist.C: added some using std declarations.
7562
7563 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
7564
7565         * box.h: make signed dimensions to allow insets wider than
7566           the screen (bug #162)
7567
7568         * BufferView_pimpl.C: add some insetHit debug
7569
7570 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
7571
7572         * vc-backend.C: add FIXME
7573
7574 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7575
7576         * lyxfunc.C (getStatus): enable code for showing math font status
7577         in toolbar/menu.
7578
7579 2002-01-07  Juergen Vigna  <jug@sad.it>
7580
7581         * text.C (nextBreakPoint): removed debug output not needed anymore.
7582
7583 2002-01-06  Juergen Vigna  <jug@sad.it>
7584
7585         * text.C (nextBreakPoint): fixed up this function we had this bug
7586         since ever but now hopefully we break row better.
7587         (insertChar): we have to check if an inset is the next char as it
7588         could now happen that a large inset is causing a break.
7589
7590 2002-01-05  Juergen Vigna  <jug@sad.it>
7591
7592         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7593         if it doesn't like to be drawed.
7594
7595 2002-01-04  Juergen Vigna  <jug@sad.it>
7596
7597         * BufferView2.C (lockInset): forgot to set a cursor.
7598
7599         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7600
7601 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
7602
7603         * FormMathsPanel.C:
7604         * FormMathsPanel.h
7605         * MathsSymbols.C:
7606         * form_maths_panel.C:
7607         * form_maths_panel.h:
7608         * form_maths_panel.fd: implemented sub- and super- buttons in math
7609         panel.
7610
7611         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7612         (or ^ space) to be used as in TeX (req'd by André).
7613
7614         * lyxfunc.C: Allow ^ and _ again to be used both as
7615         super/subscript (mathed) and as themselves (in text).
7616
7617 2002-01-03  Allan Rae  <rae@lyx.org>
7618
7619         * LyXView.C (updateWindowTitle): Setup a short icon title of either
7620         "LyX" or the filename of the current buffer if it has one.  This is a
7621         modified form of John Levon's patch.
7622
7623         * XFormsView.C (setWindowTitle): also set icon title.
7624
7625         * LyXView.h (setWindowTitle): signature changed.
7626         * XFormsView.h (setWindowTitle): ditto.
7627
7628 2002-01-02  Juergen Vigna  <jug@sad.it>
7629
7630         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7631
7632 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7633
7634         * screen.C (topCursorVisible): introduce a temp var for
7635         text->cursor.row(), handle the case where this row is null. (kindo
7636         hachish)
7637
7638         * text2.C (setCursor): add a couple of asserts.
7639
7640         * paragraph.h (inset_iterator): add -> operator
7641
7642         * paragraph.[Ch] (autoDeleteInsets): remove member function
7643
7644         * BufferView2.C (removeAutoInsets): rewrite to handle the old
7645         cursor pos correctly and handle inset deletion by itself.
7646         (insertErrors): move iterator declaration out of for expression
7647
7648         * lyxtextclass.C: add <algorithm>
7649
7650         * Makefile.am: added the new files to sources, removed layout.C
7651
7652         * layout.C: removed file
7653
7654         * layout.h: remove LYX_DUMMY_LAYOUT
7655
7656         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7657         layout.
7658
7659         * lyxlayout.[Ch]:
7660         * lyxtextclass.[Ch]:
7661         * lyxtextclasslist.[Ch]: new files
7662
7663         * include order changes to a lot of files, also changes because of
7664         the six new files.
7665
7666 2001-12-27  Juergen Vigna  <jug@sad.it>
7667
7668         * buffer.C (asciiParagraph): more fixes.
7669
7670         * tabular.C (ascii): make ascii export support export of only the
7671         data separated by a column-delimiter.
7672         (ascii): better support for ascii export.
7673
7674         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7675
7676 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7677
7678         * tabular_funcs.C: use a "using std::getline" instead of the
7679         previous fix from Angus (necessary for cxx + lyxstring)
7680
7681 2001-12-24  Juergen Vigna  <jug@sad.it>
7682
7683         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7684
7685         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7686         problems. First check a minipage also if we have some ert-contents
7687         (not only on par->size(), second set the right depth of the paragraph
7688         on the relink to the root-paragraph-list!
7689
7690         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7691         which then did not anymore update the main paragraphs on undo/redo!
7692
7693 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7694
7695         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7696         code. Support all font-changing funcs (even those which are not in
7697         menu currently). Support for reporting font settings in
7698         mathed (disabled until Andre provides a function on mathed's side).
7699
7700         * func_status.h (toggle): small helper function to set toggle
7701         state on a flag.
7702
7703 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
7704
7705         * tabular_funcs.C: getline -> std::getline
7706
7707 2001-12-21  Juergen Vigna  <jug@sad.it>
7708
7709         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7710         accessed and could be 0 (I couldn't generate this but it seems
7711         Michael could!).
7712
7713 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7714
7715         * tabular_funcs.C: add LIstream.h, move write_attribute to..
7716         * tabular_funcs.h: here and include iosfwd
7717
7718 2001-12-20  Juergen Vigna  <jug@sad.it>
7719
7720         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7721         inside inset but undo_par was.
7722
7723 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7724
7725         * Thesaurus.C: always include <config.h> in sources.
7726
7727         * Painter.h:
7728         * lyxlookup.h:
7729         * box.h: do not include <config.h> in header files
7730
7731         * text.C (paintLastRow): remove unused variable
7732
7733         * text.C (transformChar):
7734         (insertChar):
7735         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7736
7737         * Painter.C (text):
7738         * font.C (width): rewrite to use uppercase() instead of
7739         islower/toupper.
7740
7741         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7742
7743 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
7744
7745         * lyxfind.C: clean up of find failure position change
7746
7747 2001-12-20  Juergen Vigna  <jug@sad.it>
7748
7749         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7750
7751         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7752         (TeXRow): added to LaTeX a single tabular row.
7753         (TeXLongtableHeaderFooter): added to output LT-h/f data.
7754         (Latex): simplified and finally good LT-h/f support.
7755         (various_functions): just small adaptions for LT-h/f support.
7756
7757         * tabular_funcs.[hC]: added and moved here all not classfunctions
7758         of LyXTabular.
7759
7760 2001-12-19  Juergen Vigna  <jug@sad.it>
7761
7762         * tabular.[Ch]: better support for longtabular options (not finished
7763         yet!)
7764
7765 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7766
7767         * text.C (paintLastRow): use the label font instead of the font of
7768         the last character to compute the size of *_BOX. This makes more
7769         sense and avoids a crash with empty paragraphs.
7770         Use Painter::rectangle to draw EMPTY_BOX.
7771
7772 2001-12-19  Juergen Vigna  <jug@sad.it>
7773
7774         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7775         the paragraphs if the replaced paragraph is not the first one!
7776         Tried to delete not used paragraphs but does not work yet so for
7777         now it's inside #ifdef's and by default off!
7778
7779 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7780
7781         * MenuBackend.C: include "lyx_main.h" instead of declaring
7782         lastfiles (actually was declared as LastFiles* instead of a
7783         scoped_ptr).
7784
7785 2001-12-17  Juergen Vigna  <jug@sad.it>
7786
7787         * tabular.C (AppendColumn): applied John's fix
7788
7789 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
7790
7791         * BufferView.h:
7792         * BufferView.C:
7793         * BufferView_pimpl.h:
7794         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7795
7796         * Makefile.am:
7797         * box.h: new start of class for above
7798
7799         * lyxfunc.C: ignore space-only minibuffer dispatches.
7800           Show the command name when it doesn't exist
7801
7802         * minibuffer.C: don't add empty lines to the history
7803
7804         * minibuffer.C: add a space on dropdown completion
7805
7806 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
7807
7808         * text.C: fix line above/below drawing in insets
7809
7810 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7811
7812         * lyxlength.C (LyXLength): Initialize private variables.
7813
7814 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
7815
7816         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7817         when inserting error insets.
7818
7819 2001-12-13  Juergen Vigna  <jug@sad.it>
7820
7821         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7822         actually sometimes the before-paragraph.
7823         (setUndo): don't clear the redostack if we're not actually undoing!
7824
7825 2001-12-06  Juergen Vigna  <jug@sad.it>
7826
7827         * undo_funcs.C (textHandleUndo): well after John's hint I got here
7828         and fixed redoing of main paragraph, so we can use it now ;)
7829
7830         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7831
7832 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7833
7834         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7835         Juergen's request
7836
7837 2001-12-13  André Pönitz <poenitz@gmx.net>
7838
7839         * undostack.[Ch]:
7840         * undo_func.C: minor cleanup
7841
7842 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7843
7844         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7845         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7846         font in urw-fonts package which is marked as -urw-fontspecific and
7847         does not work (incidentally, changing the encoding in the
7848         fonts.dir of this package to -adobe-fontspecific fixes the
7849         problem).
7850
7851         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7852         is a crash when undoing first paragraph (Juergen, please take a
7853         look). THis does not mean the undo fix is wrong, just that it
7854         uncovers problems.
7855
7856         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7857         the (Paragraph*) version when needed instead of duplicating the
7858         code.
7859
7860         * text.C (workWidth): use Inset::parOwner to find out where the
7861         inset has been inserted. This is a huge performance gain for large
7862         documents with lots of insets. If Inset::parOwner is not set, fall
7863         back on the brute force method
7864
7865         * paragraph_pimpl.C (insertInset):
7866         * paragraph.C (Paragraph):
7867         (cutIntoMinibuffer): set parOwner of insets when
7868         inserting/removing them
7869
7870         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7871
7872 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
7873
7874         * commandtags.h:
7875         * LyXAction.C:
7876         * lyx_main.C:
7877         * lyxfunc.C:
7878         * mathed/formulabase.C:
7879         * mathed/math_cursor.[Ch]:
7880         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7881
7882
7883 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7884
7885         * lyxlength.[Ch] (operator!=): new function
7886
7887 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7888
7889         * text.C (workWidth): use Inset::parOwner to find out where the
7890         inset has been inserted. This is a huge performance gain for large
7891         documents with lots of insets. If Inset::parOwner is not set, fall
7892         back on the brute force method
7893
7894         * paragraph_pimpl.C (insertInset):
7895         * paragraph.C (Paragraph):
7896         (cutIntoMinibuffer): set parOwner of insets when
7897         inserting/removing them
7898
7899         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7900
7901 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7902
7903         * tabular-old.C (getTokenValue):
7904         * tabular.C (getTokenValue):
7905         (write_attribute): new versions for LyXLength
7906         (everywhere): adjust the use of widths
7907
7908         * tabular.h: change the type of widths from string to LyXLength
7909
7910 2001-12-11  Ben Stanley <bds02@uow.edu.au>
7911
7912         * paragraph.C: fixed missing line number count when exporting
7913         Environments to LaTeX file
7914
7915         * buffer.C: added informational message for checking line numbers.
7916
7917 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7918
7919         * text2.C (deleteEmptyParagraphMechanism): if there is only one
7920         paragraph, do the 'double space' part, but not the 'empty
7921         paragraph' one.
7922
7923         * text.C (workWidth): small optimization
7924         (getLengthMarkerHeight): use minimal size for negative lengths.
7925
7926 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
7927
7928         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7929
7930         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7931
7932 2001-12-11  André Pönitz <poenitz@gmx.net>
7933
7934         * FontLoader.C:
7935         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7936
7937 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7938
7939         * text2.C: keep selection on a setFont()
7940
7941 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7942
7943         * lyx_cb.C: another bv->text misuse, from insert label
7944
7945 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
7946
7947         * kbsequence.h:
7948         * kbsequence.C: re-instate nmodifier mask
7949
7950 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
7951
7952         * lyx_main.h: make lyxGUI private.
7953
7954 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7955
7956         * lyxfind.C: place the cursor correctly on failed search
7957
7958 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7959
7960         * text.C (getLengthMarkerHeight): for small heights, the arrows
7961         are not always on top/bottom of the text
7962         (drawLengthMarker): smaller arrows; take the left margin in
7963         account; draw also vfills.
7964         (paintFirstRow):
7965         (paintLastRow): remove special code for vfill and standard spaces,
7966         since everything is handled in drawLengthMarker now.
7967
7968 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7969
7970         * buffer.C (insertErtContents): try to handle font and language
7971         interaction a bit better.g
7972
7973         * ColorHandler.C (updateColor): change the hash to cover the whole
7974         LColor enum, ws cleanup
7975         (getGCLinepars): ditto
7976         (getGCLinepars): only lookup in the linecache once.
7977
7978 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
7979
7980         * iterators.C (operator++): Make the iterator more robust
7981
7982         * BufferView2.C (removeAutoInsets): Use paragraph iterators
7983         (John's patch)
7984         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7985
7986 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7987
7988         * lyxtext.h:
7989         * text.C: better added space drawing
7990
7991 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7992
7993         * LyXView.C:
7994         * BufferView2.C: fix layout combo update on inset unlock
7995
7996 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7997
7998         * Makefile.am: don't compile unused files
7999
8000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8001
8002         * lyxfunc.C:
8003         * commandtags.h:
8004         * LyXAction.C: remove old LFUN_LAYOUTNO
8005
8006 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8007
8008         * paragraph_pimpl.h:
8009         * paragraph_pimpl.C: isTextAt() doesn't need font param
8010
8011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8012
8013         * lyxlex.h:
8014         * lyxlex.C: little cleanup
8015
8016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8017
8018         * BufferView_pimpl.C: fix insertAscii for insets
8019
8020 2001-12-05  Juergen Vigna  <jug@sad.it>
8021
8022         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8023         set the right font on the "multi" paragraph paste!
8024
8025 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8026
8027         * trans_decl.h:
8028         * trans_mgr.[Ch]:
8029         * trans.[Ch]:
8030         * lyxgluelength.C:
8031         * lyxlength.C: remove out-commented code.
8032
8033         * BufferView_pimpl:
8034         * CutAndPaste.C:
8035         * DepTable.C:
8036         * buffer.C:
8037         * chset.C:
8038         * lastfiles.C:
8039         * lyxlex.C:
8040         * lyxlex_pimpl.C:
8041         * lyxserver.C:
8042         * screen.C:
8043         * tabular-old.C:
8044         * tabular.C:
8045         * text.C:
8046         * trans_mgr.C:
8047         * vc-backend.C: change "while(" to "while ("
8048
8049         * lyxlength.[Ch]: add zero function to check if length is zero or
8050         not
8051         * lyxgluelength.C: use it
8052
8053 2001-12-05  Allan Rae  <rae@lyx.org>
8054
8055         * lyxlength.C: Attempted a fix for the abs(int) header selection.
8056         Works for 2.95.3, from what I understand of Garst's reports this should
8057         work for other g++ versions.  We're screwed if the abs(int) definition
8058         changed between bugfix releases of gcc.
8059
8060 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * text.C: fix chapter label offset !
8063
8064 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
8065
8066         * lyxtext.h:
8067         * text.C: fix hfill at end of line, clean up
8068
8069 2001-12-04  Juergen Vigna  <jug@sad.it>
8070
8071         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8072         that we force an update of the inset and it's owners if neccessary.
8073
8074 2001-12-03  Juergen Vigna  <jug@sad.it>
8075
8076         * text.C (rowLast): simplified code
8077
8078 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8079
8080         * lyxfunc.C: fix show options on timeout
8081
8082 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8083
8084         * screen.C (topCursorVisible): scroll half a page when the cursor
8085         reached top of bottom of screen
8086
8087 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
8088
8089         * minibuffer.C: deactivate on loss of focus
8090
8091 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8092
8093         * vspace.[Ch] (operator!=): add operator.
8094
8095 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
8096
8097         * BufferView_pimpl.C: refuse to open an inset when
8098         there's a selection.
8099
8100 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
8101
8102         * BufferView_pimpl.C: allow to click on RHS of full row insets
8103
8104 2001-11-30  Juergen Vigna  <jug@sad.it>
8105
8106         * tabular.C (LyXTabular): add a same_id to set the same id's in the
8107         insets for undo reasons.
8108
8109 2001-11-28  André Pönitz <poenitz@gmx.net>
8110
8111         * vspace.[Ch]: cosmetical changes
8112
8113 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8114
8115         * LyXAction.h:
8116         * LyXAction.C:
8117         * lyxfunc.h:
8118         * lyxfunc.C:
8119         * kbmap.h:
8120         * kbmap.C:
8121         * lyxrc.C:
8122         * kbsequence.h:
8123         * kbsequence.C: part re-write of old kb code
8124
8125         * Painter.C:
8126         * WorkArea.C: remove Lgb_bug_find_hack
8127
8128 2001-11-30  José Matos <jamatos@fep.up.pt>
8129
8130         * buffer.C (makeDocBookFile): add a comment to point a hack.
8131         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8132         Fixed a double write of labels.
8133
8134 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8135
8136         * LaTeX.C:
8137         * LaTeX.h Fixed bug in LaTeX class where it would not
8138         re-run latex if no depfiles were changed, but the .dvi was removed.
8139
8140 2001-11-28  André Pönitz <poenitz@gmx.net>
8141
8142         * all the files from the change on 2001/11/26:
8143         use lyx::layout_type instead of LyXTextClass::size_type
8144         use lyx::textclass_type instead of LyXTextClassList::size_type
8145
8146 2001-11-29  Juergen Vigna  <jug@sad.it>
8147
8148         * text.C: added support for paragraph::isFreeSpacing()
8149
8150         * buffer.C: same as above
8151
8152         * paragraph.h: inserted isFreeSpacing() function to enable
8153         FreeSpacing inside InsetERT.
8154
8155         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8156         of the paragraph's in the cut/copy buffer to 0!
8157
8158         * text2.C (removeRow): remove the assert as it can!
8159
8160         * lyxtext.h: added helper function firstRow returning firstrow and
8161         made firstrow private again.
8162
8163         * BufferView2.C (lockInset): don't relock if we're already locked!
8164
8165         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8166         the only paragraph.
8167         (removeRow): added Assert::(firstrow)
8168
8169         * debug.C: forgot to add INSETTEXT here.
8170
8171 2001-11-28  Juergen Vigna  <jug@sad.it>
8172
8173         * sp_spell.C (initialize): changed error text to more general
8174         spellchecker command use (not only ispell!)
8175
8176         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8177
8178         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8179
8180 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * vspace.C: initialise lyxgluelength on failure
8183
8184 2001-11-28  Allan Rae  <rae@lyx.org>
8185
8186         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8187         declaration & definition that looks like a function declaration.
8188
8189 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8190
8191         * BufferView2.C (copy):
8192         (copyEnvironment): do not clear the selection when doing a copy.
8193
8194         * text.C (paintFirstRow): compilation fix
8195
8196 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
8197
8198         * tabular.C (Latex): correct line count when writing latex.
8199
8200 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
8201
8202         * paragraph_pimpl.h:
8203         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8204           bug a bit
8205
8206 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8207
8208         * text.C:
8209         * LColor.h:
8210         * LColor.C: change vfillline->added_space
8211
8212         * text.C: add markers and text for added space
8213
8214         * vspace.C: fix comment
8215
8216 2001-11-28  André Pönitz <poenitz@gmx.net>
8217
8218         * paragraph.C: whitespace changes
8219         * all the other files from the change on 2001/11/26:
8220         change *::pos_type into lyx::pos_type
8221
8222 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8223
8224         * buffer.C (parseSingleLyXformat2Token): Set the language to the
8225         language of the document when inserting error insets.
8226
8227 2001-11-26  André Pönitz <poenitz@gmx.net>
8228
8229         * BufferView_pimpl.[Ch]:
8230         *       CutAndPaste.C:
8231         * buffer.[Ch]:
8232         * lyxcursor.[Ch]:
8233         * lyxfind.C:
8234         * lyxfunc.C:
8235         * lyxrow.[Ch]:
8236         * paragraph.[Ch]:
8237         * paragraph_pimpl.[Ch]:
8238         * sp_spell.C:
8239         * text.C:
8240         * text2.C: reduce header dependencies, introduce type for positions
8241
8242 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8243
8244         * <various>: change to use Alert.h
8245
8246 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8247
8248         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8249         when encountering an unknown token.
8250         (readLyXformat2): Show an error message if there were unknown tokens.
8251
8252 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
8253
8254         * BufferView2.C:
8255         * BufferView_pimpl.C:
8256         * buffer.C:
8257         * paragraph.h:
8258         * text.C:
8259         * text2.C: use par->isInset()
8260
8261 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
8262
8263         * paragraph_pimpl.h:
8264         * paragraph_pimpl.C: cleanup
8265
8266 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8267
8268         * text2.C (removeRow):
8269         * text.C (setHeightOfRow): remove useless (and costly) call to
8270         getRow.
8271
8272 2001-11-20  Allan Rae  <rae@lyx.org>
8273
8274         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8275         Now need Inset*::checkInsertChar() to return true for appropriate
8276         cases so that the characters in the minibuffer will actually be
8277         inserted.
8278
8279 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * text.C: change the order of the includes.
8282         (workWidth): initialize it at once.
8283         (workWidth): make maxw unsigned
8284         (setHeightOfRow): remove unused variable (inset)
8285         (selectSelectedWord): remove unused variable (inset)
8286         (paintRowText): fix drawing of hfill characters, and clean up a bit.
8287
8288 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8289
8290         * lyxserver.C (emergencyCleanup): do not try to close pipes if
8291         server is not running.
8292         (openConnection):
8293         (closeConnection): add debug info when server is disabled.
8294
8295         * ColorHandler.C (getGCForeground): send debug message to GUI
8296         channel.
8297
8298         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8299
8300         * kbmap.C (bind): modify because return conventions of
8301         kb_sequence::parse have changed.
8302
8303         * kbsequence.C (parse): only ignore spaces and not any stupid
8304         control character. This avoids tests like s[i] <= ' ', which are
8305         guaranteed to fail with 8bit characters and signed chars.
8306         Change return code to string::npos when there have been no error
8307         (0 was a bad idea when error is at first character)
8308
8309 2001-11-14  José Matos  <jamatos@fep.up.pt>
8310
8311         * buffer.h:
8312         * buffer.C (simpleDocBookOnePar): removed unused argument.
8313
8314 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8315
8316         * text.C (selectNextWordToSpellcheck): do not test explicitely for
8317         insets which are part of a word. Paragraph::isLetter takes care of
8318         that now. Use Paragraph::isInset to identify insets.
8319         (selectSelectedWord): do not test for hyphenation break.
8320
8321         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8322         that protected spaces are considered as spaces.
8323
8324         * paragraph.C (isLetter): cleanup the code for ispell extras; use
8325         Inset::isLetter.
8326
8327 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
8328
8329         * lyxserver.h:
8330         * lyxserver.C: fix it. and small cleanup.
8331
8332 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8333
8334         * BufferView_pimpl.C: use inline helpers
8335
8336         * LaTeXFeatures.h:
8337         * LaTeXFeatures.C: fix typos
8338
8339         * Spacing.h:
8340         * Spacing.C: move spacing_string into class
8341
8342         * ToolbarDefaults.C: move stuff into namespace anon
8343
8344         * layout.h: update enum
8345
8346         * lyxfunc.C: use better debug
8347
8348         * minibuffer.h: fix typo
8349
8350         * debug.h:
8351         * debug.C:
8352         * WorkArea.C: add and use Debug::WORKAREA
8353
8354         * lyxtext.h:
8355         * text.C:
8356         * text2.C: code re-organisation, inline helpers
8357
8358 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8359
8360         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8361         std::vector.empty().
8362
8363 2001-11-09  Allan Rae  <rae@lyx.org>
8364
8365         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8366         '\n's after tables.  Tabular and ERT inset work now makes this no
8367         longer necessary.
8368
8369 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8370
8371         * minibuffer.h:
8372         * minibuffer.C: fix crash, improve drop-down completion
8373
8374 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8375
8376         * lyxserver.h:
8377         * lyxserver.C: invalidate fd's when doing endPipe()
8378
8379 2001-11-08  José Matos  <jamatos@fep.up.pt>
8380
8381         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8382         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8383
8384         * paragraph.h:
8385         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8386
8387 2001-11-07  José Matos  <jamatos@fep.up.pt>
8388
8389         * buffer.h:
8390         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8391         const qualifier.
8392
8393         * buffer.C (sgmlOpenTag):
8394         * buffer.C (sgmlCloseTag): removed debug info.
8395
8396         * buffer.h (sgmlOpenTag):
8397         * buffer.h (sgmlCloseTag): made public.
8398
8399 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8400
8401         * buffer.C (saveParamsAsDefaults):
8402         * lyx_cb.C (MenuLayoutSave): remove
8403
8404         * LyXAction.C (init):
8405         * commandtags.h:
8406         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8407
8408 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8409
8410         * buffer.C (setPaperStuff): removed from here...
8411
8412         * bufferparams.C (setPaperStuff): ... and moved there.
8413
8414 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
8415
8416         * minibuffer.h:
8417         * minibuffer.C:
8418         * XFormsView.C: add support for drop-down completion
8419
8420 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
8421
8422         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8423         commands.
8424
8425 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8426
8427         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8428         disabled.
8429
8430 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
8431
8432         * lyx_main.C: change ref to known bugs
8433
8434 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
8435
8436         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8437         to work around older babel problems.
8438
8439 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8440
8441         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8442
8443 2001-10-24  Juergen Vigna  <jug@sad.it>
8444
8445         * tabular-old.C (ReadOld): below variable changes reflected.
8446
8447         * tabular.[Ch]: added ltType struct for longtable header/footer
8448         defines and changed all instances where they are used. Added
8449         future support for double top/bottom rows.
8450
8451 2001-10-24  José Matos  <jamatos@fep.up.pt>
8452
8453         * buffer.h (docbookHandleCaption):
8454         * buffer.C (docbookHandleCaption): removed unused function.
8455         (makeDocBookFile): moved docbook supported version to v4.1.
8456
8457 2001-10-24  José Matos  <jamatos@fep.up.pt>
8458
8459         * tabular.h:
8460         * tabular.C (docbookRow): new function to export docbook code of a row.
8461         (DocBook): now honors the longtable flags.
8462
8463 2001-10-23  José Matos  <jamatos@fep.up.pt>
8464
8465         * LaTeXFeatures.h:
8466         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8467         of the lyx defined sgml entities used in a docbook/linuxdoc document.
8468
8469         * buffer.C (makeLinuxDocFile):
8470         (makeDocBookFile): reworked the preamble, more clean, and with
8471         support for lyx defined entities. Changed the document declaration
8472         to be more XML friendly.
8473
8474         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8475         if we need to output XML that should be done with a filter.
8476
8477 2001-10-22  Juergen Vigna  <jug@sad.it>
8478
8479         * sp_pspell.h (class PSpell): add alive function needed in the
8480         controller to see if the spellchecker could be started.
8481
8482 2001-10-22  Juergen Vigna  <jug@sad.it>
8483
8484         * buffer.C (insertStringAsLines): modify the font for inserting
8485         chars in certain conditions by calling checkInsertChar(font).
8486
8487 2001-10-19  Juergen Vigna  <jug@sad.it>
8488
8489         * text.C (workWidth): use getRow instead of wrong algorithm.
8490         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8491
8492 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
8493
8494         * lyxserver.h:
8495         * lyxserver.C:
8496         * lyx_main.h:
8497         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8498
8499 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8500
8501         * text.C (workWidth): do not search for the exact row when
8502         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8503         optimization for big documents.
8504
8505 2001-10-18  Juergen Vigna  <jug@sad.it>
8506
8507         * text.C (workWidth): new function with added Inset * parameter.
8508
8509 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8510
8511         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8512
8513         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8514         change return type of getColumnNearX.
8515
8516
8517         * text.C (changeRegionCase): use uppercase/lowercase instead of
8518         toupper/tolower.
8519         (leftMargin):
8520         (rightMargin): simplify code by factoring out the uses of
8521         textclasslist.
8522         (labelFill):
8523         (numberOfHfills):
8524         (setHeightOfRow):
8525         (appendParagraph): use Paragraph::size_type
8526
8527 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8528
8529         * vspace.C (asLatexString): add a missing break
8530
8531 2001-10-15  Herbert Voss  <voss@perce.de>
8532
8533         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8534
8535 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8536
8537         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8538         is not available.
8539
8540 2001-10-10  André Pönitz <poenitz@gmx.net>
8541
8542         * lyxfunc.C: removed greek_kb_flag.
8543
8544 2001-10-10  Herbert Voss  <voss@perce.de>
8545
8546         * lyx_main.C: delete global string help_lyxdir.
8547
8548 2001-10-09  Herbert Voss  <voss@perce.de>
8549
8550         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8551
8552         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8553
8554         * lyx_main.C: added global string help_lyxdir.
8555
8556         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8557
8558 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8559
8560         * lyxrc.C (set_font_norm_type): support iso8859-4
8561
8562 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
8563
8564         * LaTeX.C (deplog): add another regex for MikTeX
8565
8566 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8567
8568         * lyxrc.C (set_font_norm_type): support iso8859-3
8569
8570 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8571
8572         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8573
8574         * LaTeXFeatures.C: remove special case of french and index
8575
8576         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8577         before \begin{document}). This solves several incompatibilities.
8578
8579 2001-10-03  Garst Reese  <reese@isn.net>
8580
8581         * lyx_cb.C: change CheckTex error msg.
8582
8583 2001-10-03  José Matos  <jamatos@fep.up.pt>
8584
8585         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8586
8587 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8588
8589         * .cvsignore: update
8590
8591         * lyx_main.C (commandLineVersionInfo): use new style version info.
8592
8593         * buffer.C (writeFile):
8594         (makeLaTeXFile):
8595         (makeLinuxDocFile):
8596         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8597
8598         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8599
8600         * version.h: update to use stuff in version.C
8601
8602         * version.C.in: new file. Contains version information determined
8603         at compile time. This is a merging of version.h and
8604         version_info.h.in.
8605
8606 2001-10-03  Juergen Vigna  <jug@sad.it>
8607
8608         * BufferView_pimpl.C (update): don't change "dirty" status in
8609         updateInset call.
8610
8611 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
8612
8613         * WorkArea.C (c-tor): re-position version string slightly.
8614
8615 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
8616
8617         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8618         revert to previous code.
8619
8620         WorkArea.[Ch]: (show, destroySplash): methods removed.
8621
8622         WorkArea.C: rework code so that it's an amalgam of the codes before and
8623         after the splash screen was moved to WorkArea.
8624
8625 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8626
8627         * lyxrc.C (read):
8628         * vspace.C (inPixels):
8629         (lyx_advance):
8630         * kbmap.C (bind):
8631         * buffer.C (insertStringAsLines):
8632         (asciiParagraph): fix types to be large enough
8633
8634         * lyxlex_pimpl.h: change member status from short to int
8635
8636         * layout.h: fix type of endlabeltype
8637
8638         * kbmap.C (bind):
8639         * kbsequence.C (parse): change return type to string::size_type
8640
8641         * LaTeX.C (updateBibtexDependencies): comment out unneeded
8642         variable
8643
8644         * Bullet.C (bulletSize):
8645         (bulletEntry): do not use short ints as parameters
8646
8647         * BufferView2.C (insertLyXFile): change a char to an int.
8648
8649         * WorkArea.C (WorkArea): remove unneeded floats in computation
8650
8651 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * buffer.C (asciiParagraph): Treat '\\' as other chars.
8654
8655         * paragraph.C (asString): Do not ignore newline/hfill chars when
8656         copying to the clipboard.
8657
8658 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
8659
8660         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8661         after a multi-line inset.
8662
8663 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
8664
8665         * paragraph.C (validate): Set NeedLyXFootnoteCode
8666
8667 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8668
8669         * lyxfont.C (LyXSizeNames): changed increase-error to increase
8670         and decrease-error to decrease.
8671
8672 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8673
8674         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8675         it more readable (should be equivalent)
8676
8677 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8678
8679         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8680
8681 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8682
8683         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8684         of a cursor (row, etc.) after a character has been deleted
8685         (deleteEmptyParagraphMechanism): call the method above on _all_
8686         cursors held by the LyXText when a double space has been
8687         detected/deleted.
8688
8689 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8690
8691         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8692         pixmap.
8693         (resizeCurrentBuff): remove code to destroy the old splash dialog.
8694
8695         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8696         background. Use greyOut() and the new show() methods to toggle between
8697         the foreground and background. Add code to remove the splash after
8698         its initial showing.
8699
8700         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8701         (create_forms): no longer call Dialogs::showSplash.
8702
8703 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8704
8705         * .cvsignore: add version_info.h
8706
8707 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8708
8709         * version_info.h.in: new file
8710
8711         * Makefile.am: add version_info.h.in
8712
8713         * lyx_main.C (commandLineVersionInfo): use version_info defined in
8714         version_info.h instead of VERSION_INFO
8715
8716 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
8717
8718         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8719         The ERT inset now returns string().
8720
8721 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
8722
8723         * lyxtext.h, text.C (selectNextWord): renamed as
8724         selectNextWordToSpellcheck.
8725
8726         * text.C (selectNextWordToSpellcheck): Modified to not select
8727         words inside an ERT inset.
8728
8729 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8730
8731         * lyx_cb.C (MenuLayoutSave): change a bit the question
8732
8733         * sp_base.h: include <sys/types.h>
8734
8735 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
8736
8737         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8738
8739 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
8740
8741         * several files: fix typos in user-visible strings
8742
8743 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8744
8745         * text2.C (pasteSelection): do not set the selection, since it
8746         will be cleared later. Actually, the intent was to fix the way the
8747         selection was set, but I figured rmoving the code was just as good.
8748
8749 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
8750
8751         * FontLoader.C (available): Check if font is available without
8752         loading the font.
8753
8754 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8755
8756         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8757
8758 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
8759
8760         * lyxrc.[Ch]: added display_graphics variable and associated code.
8761
8762 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8763
8764         * bufferparams.C (hasClassDefaults): new method. Returns true if
8765         the buffer parameters correspond to known class defaults
8766
8767 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
8768
8769         * XFormsView.C (show): set minimum size to the main window.
8770
8771 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8772
8773         * text2.C (copySelection):
8774         (cutSelection):
8775         * lyxfind.C (LyXReplace):
8776         * BufferView_pimpl.C (Dispatch): pass the correct flag to
8777         LyXText::selectionAsString.
8778
8779         * paragraph.C (asString): add "label" argument to the second form
8780
8781         * text2.C (selectionAsString): add "label" argument and pass it to
8782         Paragraph::asString.
8783
8784 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8785
8786         * lyx_main.C (commandLineHelp): remove version information
8787
8788 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
8789
8790         * lyx_main.C: add -version commandline option
8791
8792 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8793
8794         * paragraph.h: make the optional constructor arg required instead.
8795         some modifications to other files because of this.
8796
8797         * minibuffer.C (C_MiniBuffer_peek_event): make it static
8798
8799         * lyxserver.C (C_LyXComm_callback): make it static
8800
8801         * lyx_main.C (error_handler): make it static
8802
8803         * lyx_gui.C (LyX_XErrHandler): make it static
8804
8805         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8806
8807         * WorkArea.C: make the extern "C" methods static.
8808
8809         * Makefile.am (lyx_LDADD): simplify
8810
8811 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8812
8813         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8814         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8815
8816         * LyXAction.C (init):
8817         * lyxfunc.C (dispatch): associated code removal.
8818
8819 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8820
8821         * lyxfont.h (isSymbolFont): shut off warning
8822
8823         * text.C (setHeightOfRow):
8824         (getVisibleRow): fix crash with empty paragraphs which have a
8825         bottom line
8826
8827 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
8828
8829         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8830         code.
8831
8832 2001-09-04  José Matos  <jamatos@fep.up.pt>
8833         * buffer.C
8834         * buffer.h
8835         * tabular.C (docbook): rename docBook method to docbook.
8836
8837 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8838
8839         * Makefile.am: add dependencies to main.o.
8840
8841 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
8842
8843         * FontLoader.C (available): Return false if !lyxrc.use_gui
8844
8845 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
8846
8847         * FontInfo.C (query):
8848         * converter.C (view):
8849         * importer.C (Import):
8850         * exporter.C (Export): Can not -> cannot.
8851
8852 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
8853
8854         * BufferView_pimpl.C: allow to create index inset even if
8855           string is empty
8856
8857 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8858
8859         * buffer.C (getLists): replace boost::tie code with an explicit pair
8860         as boost::tie can break some compilers.
8861
8862         * iterators.h: Added a std:: declaration to the return type of
8863         ParIterator::size.
8864
8865 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
8866
8867         * lyxrc.C: add help for view_dvi_paper_option, default to safe
8868           case.
8869
8870 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
8871
8872         * iterators.[Ch]: New files. Provide paragraph iterators.
8873
8874         * buffer.C (changeLanguage): Use paragraph iterators.
8875         (isMultiLingual): ditto
8876
8877         * BufferView2.C (ChangeInsets): Use paragraph iterators.
8878
8879 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
8880
8881         * FontLoader.C: Support for cmr font.
8882
8883 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
8884
8885         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8886         (available): New method.
8887
8888         * FontInfo.C (getFontname): Use scalable fonts even when
8889         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8890         found.
8891
8892 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8893
8894         * converter.C (Formats::view): reverted! Incorrect fix.
8895
8896 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8897
8898         * converter.C (Formats::view): only output the -paper option
8899         if the dvi viewer is xdvi, thereby fixing bug #233429.
8900
8901 2001-08-23  Herbert Voss  <voss@perce>
8902
8903         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8904
8905 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8906
8907         * Spacing.h (Spacing): Set space to Default on in the default
8908         constructor.
8909
8910 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8911
8912         * vc-backend.h (RCS::versionString): add RCS to version
8913         (CVS::versionString): add CVS to version
8914
8915         * vc-backend.C (scanMaster): do not add CVS to version.
8916         (scanMaster): do not add RCS to version
8917
8918         * lyxvc.C (versionString): new method
8919
8920         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8921
8922 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8923
8924         * Spacing.C (set): initialize fval
8925
8926 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
8927
8928         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8929         " or \.
8930
8931 2001-08-16  Juergen Vigna  <jug@sad.it>
8932
8933         * lyxfunc.C (dispatch): implemented the new FINISHED states.
8934
8935 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
8936
8937         * BufferView_pimpl.C:
8938         * figureForm.C:
8939         * lyxtext.h:
8940         * text2.C: setParagraph takes linespacing now
8941
8942 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
8943
8944         * LyxAction.C: add internal LFUN_CITATION_INSERT
8945
8946         * LyXView.C: actually apply fix
8947
8948         * bufferlist.C: fix open non-existent file
8949
8950         * lyxfind.C: fix indentation
8951
8952         * lyxfunc.C: remove unneeded assert, fix typo
8953
8954 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
8955
8956         * MenuBackend.C: use "Floatname List"
8957
8958 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
8959
8960         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8961         when converting LaTeX layout to insetERT.
8962         Generate a non-collapsed float when reading old float
8963
8964 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
8965
8966         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8967         ERT insets.
8968
8969 2001-08-13  Juergen Vigna  <jug@sad.it>
8970
8971         * text.C (fill): return 0 instead of 20 as this seems to be the more
8972         correct value.
8973
8974 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
8975
8976         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8977         lyxrc.font_norm.
8978
8979 2001-08-13  Juergen Vigna  <jug@sad.it>
8980
8981         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8982         casesensitive off.
8983         (SearchBackward): comment out the unlocking of the inset_owner this
8984         should not be needed!
8985
8986 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
8987
8988         * Many files: Remove inherit_language, and add latex_language
8989
8990         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8991         collapsible insets.
8992
8993 2001-08-10  Juergen Vigna  <jug@sad.it>
8994
8995         * text.C (prepareToPrint): fixed hfill-width in draw!
8996
8997         * BufferView2.C (selectLastWord): save the selection cursor as this
8998         now is cleared in the function LyXText::clearSelection!
8999
9000 2001-08-08  Juergen Vigna  <jug@sad.it>
9001
9002         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9003         BACKSPACE type functions.
9004
9005         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9006         is only cutted from the document but not put in the cut-buffer, where
9007         still the old stuff should be.
9008
9009         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9010
9011         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9012
9013         * tabular.C (SetWidthOfCell): fixed special case where the width
9014         was not updated!
9015         (LeftLine): handle '|' in align_special.
9016         (RightLine): ditto
9017         (LeftAlreadyDrawed): ditto
9018         (SetWidthOfCell): ditto
9019
9020 2001-08-07  Juergen Vigna  <jug@sad.it>
9021
9022         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9023
9024 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9025
9026         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9027         * lyxlex.[hC]: ditto
9028
9029 2001-08-06  Juergen Vigna  <jug@sad.it>
9030
9031         * text.C (getVisibleRow): fix up row clearing a bit.
9032
9033 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9034
9035         * minibuffer.C: make sure the X server sees the changes in the input.
9036
9037 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9038
9039         * paragraph.C (getFont): split into...
9040         (getLabelFont): this
9041         (getLayoutFont): and this
9042         * paragraph_pimpl.C (realizeFont): calling this
9043
9044         * text2.C (getFont): split into...
9045         (getLayoutFont): this
9046         (getLabelFont): and this
9047         (realizeFont): all three calling this
9048
9049         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9050         files where used.
9051
9052 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9053
9054         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9055
9056 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
9057
9058         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9059         layouts from the Quote inset insertion.
9060
9061 2001-08-03  Juergen Vigna  <jug@sad.it>
9062
9063         * BufferView_pimpl.C (update): do the fitCursor only at the end!
9064
9065         * screen.C (drawFromTo): don't call fitcursor here and do the loop
9066         only if status not is already CHANGED_IN_DRAW (second level).
9067
9068         * text.C (draw): don't set the need_break_row when inside an
9069         InsetText LyXText.
9070
9071 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9072
9073         * buffer.C (parseSingleLyXformat2Token): handle more latex
9074         conversion cases.
9075
9076         * bufferview_funcs.[hC]: change function names to
9077         begin with small char, adjust other files.
9078
9079 2001-08-02  André Pönitz <poenitz@gmx.net>
9080
9081         * lyxfunc.C:
9082         BufferView_pimpl.C: remove broken special code for math-greek
9083
9084 2001-08-02  Juergen Vigna  <jug@sad.it>
9085
9086         * BufferView_pimpl.C (update): redone this function so that we
9087         update the text again if there was a CHANGE_IN_DRAW.
9088
9089         * screen.C (cursorToggle): removed LyXText parameter and recoded.
9090         (drawFromTo): added a new internal bool which is used by draw() and
9091         redraw() function.
9092         (general): some cursor drawing problems fixed.
9093
9094 2001-08-01  Juergen Vigna  <jug@sad.it>
9095
9096         * lyxfind.C (LyXFind): fixed
9097         (SearchForward): ditto
9098         (SearchBackward): ditto
9099
9100         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9101         spurius drawing of the cursor in the main area.
9102
9103         * text2.C (status): small fix which could lead to a segfault!
9104         (clearSelection): remove unneeded BufferView param.
9105
9106 2001-08-01  André Pönitz <poenitz@gmx.net>
9107
9108         * lyxfunc.C: small change due to changed mathed interface
9109
9110 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9111
9112         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9113
9114 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
9115
9116         * lyxfunc.c: fail gracefully if file doesn't exist
9117
9118         * LyXSendto.C:
9119         * buffer.C:
9120         * lyxfunc.C:
9121         * BufferView_pimpl.C: IsDirWriteable() proto changed
9122
9123         * LyXView.C: fix updateWindowTitle() to store the last title
9124
9125 2001-07-31  Juergen Vigna  <jug@sad.it>
9126
9127         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9128         the font (wrong since using of Paragraph::highestFontInRange).
9129
9130         * paragraph.C (highestFontInRange): added a default_size parameter.
9131
9132         * text.C (getVisibleRow): minor clear row changes (still not perfect).
9133         (setHeightOfRow): reformat
9134
9135 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9136
9137         * converter.[hC] + affected files: move to (inital-char)lowercase
9138         function names.
9139
9140         * ParagraphParameters.C (ParagraphParameters): remove commented code
9141
9142         * PainterBase.[Ch]: remove commented code
9143
9144         * LaTeXFeatures.h: add "bool floats" for float.sty
9145
9146         * LaTeXFeatures.C (LaTeXFeatures): init floats
9147         (require): handle float
9148         (getPackages): do it with floats
9149
9150 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9151
9152         * BufferView_pimpl.C (Dispatch): improve handling of
9153         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9154
9155         * commandtags.h: #include lyxfont.h here temporarily to avoid
9156         keybinding bug.
9157
9158         * bufferlist.h: include LString.h here.
9159
9160 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9161
9162         * text2.C (getStringToIndex): new method.
9163
9164 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
9165
9166         * *: Reduced header file dependencies all over.
9167
9168 2001-07-30  Baruch Even  <baruch@lyx.org>
9169
9170         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9171
9172 2001-07-29  Baruch Even  <baruch@lyx.org>
9173
9174         * buffer.C (readInset): Changed GRAPHICS to Graphics.
9175
9176 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9177
9178         * ParameterStruct.h (endif): add a default constructor to make
9179         sure that all variables is initialized.
9180
9181         * ParagraphParameters.C (ParagraphParameters): adjust
9182
9183 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9184
9185         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9186         index; also, check that there is something to index, and that it
9187         does not span over several paragraphs.
9188         (doubleClick): use WHOLE_WORD_STRICT for double click.
9189
9190         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9191
9192         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9193         scheme.
9194
9195 2001-07-26  Baruch Even  <baruch@lyx.org>
9196
9197         * buffer.C (readInset): Changed to call up InsetGraphics when reading
9198         an InsetFig figure, backwards compatible reading of old figure code.
9199
9200 2001-07-27  Juergen Vigna  <jug@sad.it>
9201
9202         * text2.C: font.realize function adaption.
9203
9204         * text.C (draw): add a warnings lyxerr text if needed.
9205
9206         * layout.C: font.realize function adaption.
9207
9208         * language.C: add inherit_language and implement it's handlings
9209
9210         * bufferview_funcs.C (StyleReset): remove language parameter from
9211         font creation (should be language_inherit now).
9212
9213         * bufferparams.C (writeFile): handle ignore_language.
9214
9215         * paragraph.C (getFontSettings): the language has to be resolved
9216         otherwise we have problems in LyXFont!
9217
9218         * lyxfont.C (lyxWriteChanges): added document_language parameter
9219         (update): removed unneeded language parameter
9220
9221         * paragraph.C (validate): fixed wrong output of color-package when
9222         using interface colors for certain fonts in certain environments,
9223         which should not seen as that on the final output.
9224
9225 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * BufferView_pimpl.C:
9228         * Thesaurus.h:
9229         * Thesaurus.C:
9230         * Makefile.am:
9231         * commandtags.h:
9232         * LyXAction.C: add thesaurus support
9233
9234         * lyxfind.h:
9235         * lyxfind.C: add "once" parameter, for thesaurus, to not
9236           move to the next match
9237
9238 2001-07-26  Juergen Vigna  <jug@sad.it>
9239
9240         * lyxfont.C (realize): honor ignore_language too!
9241         (resolved): ditto.
9242
9243         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9244
9245         * text.C (draw): one place more for ignore_language to not draw
9246         itself!
9247
9248 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
9249
9250         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9251
9252 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9253
9254         * buffer.C (parseSingleLyXformat2Token): a more general fix for
9255         the minipage conversion problem.
9256
9257 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9258
9259         * buffer.C (parseSingleLyXformat2Token): check minipage if we
9260         insert an inset.
9261
9262 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9263
9264         * BufferView.h: don't forward declare WorkArea
9265
9266         * BufferView.C: don't include WorkArea.h
9267
9268 2001-07-25  André Pönitz <poenitz@gmx.net>
9269
9270         * commandtags.h:
9271         * LyXAction.C:
9272         * lyxfunc.C:  new LFUN 'math-space'
9273
9274         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9275
9276 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9277
9278         * text2.C (toggleInset): call open/close
9279
9280 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9281
9282         * lyxfunc.C (dispatch): add debug for the disabled case
9283
9284         * font.C (buttonText): make similar to rectText
9285
9286         * buffer.C (readInset): comment out parsing of insetlist and
9287         insttheorem
9288
9289         * PainterBase.C (rectText): small correction
9290
9291         * BufferView_pimpl.C: comment out insettheorem and insetlist
9292         * LyXAction.C: ditto
9293         * commandtags.h: ditto
9294
9295 2001-07-24  Juergen Vigna  <jug@sad.it>
9296
9297         * text.C (draw): honor the ignore_language.
9298
9299         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9300
9301 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9302
9303         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9304         char inset.
9305
9306 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9307
9308         * lyxtext.h: remove unused (and unimplemented) methods
9309
9310 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9311
9312         * text.C (getVisibleRow): honor background color
9313
9314         * PainterBase.h:
9315         * Painter.h: remove default color argument for fillRectangle
9316
9317         * text.C (backgroundColor): new method
9318
9319 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9320
9321         * text.C (getVisibleRow): adjust
9322
9323         * font.[Ch] (rectText): new method, metrics
9324         (buttonText): new method, metrics
9325
9326         * PainterBase.[hC]: make rectText and buttonText always draw and take
9327         fewer paramteres.
9328
9329 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9330
9331         * ToolbarDefaults.C (read):
9332         * MenuBackend.C (read): allow escaping in all strings
9333
9334         * BufferView_pimpl.C (insertAndEditInset): new method.
9335         (Dispatch): use insertAndEditInset whenever appropriate.
9336
9337         * BufferView_pimpl.C (insertNote): removed
9338
9339         * BufferView_pimpl.C (smartQuote): new method, moved from
9340         BufferView; if an insetquote cannot be inserted, insert a '"'
9341         character instead.
9342
9343         * BufferView2.C: remove insertCorrectQuote();
9344
9345         * lyxfunc.C (getStatus): Add support for all remaingin
9346         inset-insert lfuns.
9347
9348         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9349
9350         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9351         command (necessary to pass " as parameter of self-insert.
9352
9353         * text.C (selectWordWhenUnderCursor):
9354         (selectWord): add word_location parameter
9355         (selectWordWhenUnderCursor): same + remove special code for word
9356         boundary.
9357         (selectNextWord): use kind() to guess type of insetspecialchar,
9358         not latex().
9359
9360         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9361         (insertErtContents): create ert insets as collapsed.
9362         (readInset): better compatibility code for Info inset.
9363
9364 2001-07-20  Juergen Vigna  <jug@sad.it>
9365
9366         * lyxfunc.C (dispatch): use always LyXFind now!
9367
9368         * text2.C (init): add a reinit flag so that the LyXText can be
9369         reinited instead of deleted and reallocated (used in InsetText).
9370
9371         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9372
9373         * text.C: ditto
9374
9375         * text2.C: ditto
9376
9377 2001-07-18  Juergen Vigna  <jug@sad.it>
9378
9379         * text.C (selectNextWord): handle insets inside inset by calling
9380         always the bv->text functions so that we can go up the_locking_inset!
9381
9382         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9383         in strange locations when inside an inset!
9384
9385         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9386         handling to include insets.
9387
9388         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9389
9390 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9391
9392         * LyXAction.C (init):
9393         * commandtags.h:
9394         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9395         LIGATURE_BREAK, since the name is so stupid.
9396
9397 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9398
9399         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9400         InsetInfos.
9401
9402         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9403
9404         * sp_form.[Ch]: remove.
9405
9406         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9407
9408         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9409         InsetInfo.
9410
9411         * src/buffer.C (readInset): ditto.
9412
9413 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9414
9415         * BufferView_pimpl.C (specialChar): new method. Obsoletes
9416         menuSeparator(), endOfSentenceDot(), ldots() and
9417         hyphenationPoint(), which are therefore removed.
9418         (Dispatch): handle LFUN_HYPHENATION_BREAK.
9419
9420         * LyXAction.C (init):
9421         * commandtags.h: add LFUN_HYPHENATION_BREAK.
9422
9423         * paragraph.C (getWord): removed.
9424
9425         * BufferView_pimpl.C (Dispatch): use last word or selection for
9426         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9427
9428         * lyx_main.C (queryUserLyXDir): do not ask before creating
9429         user_dir, except if it has been named explicitely.
9430
9431 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9432
9433         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9434         a document of zero size.
9435
9436 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
9437
9438         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9439         approriately in the c-tor and in require().
9440         (getPackages): output the appropriate LaTeX for natbib support.
9441
9442         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9443         variables "use_natbib" and "use_numerical_citations" when reading the
9444         LyX file.
9445         (readInset): read the various natbib cite commands.
9446         (validate): white-space change.
9447
9448         * bufferparams.[Ch]: new variables "bool use_natbib" and
9449         "bool use_numerical_citations".
9450         (writeFile): output them in the LyX file.
9451
9452 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9453
9454         * lyxfunc.C (getStatus): add support for all the inset insertion
9455         commands.
9456
9457         * text2.C (insertInset):
9458         * paragraph.C (insetAllowed):
9459         * BufferView_pimpl.C (insertInset): update to take in account the
9460         renaming of insertInsetAllowed
9461
9462         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9463
9464         * text2.C (getInset): new method. returns inset at cursor position.
9465
9466         * BufferView_pimpl.C (Dispatch): changes because of this.
9467
9468         * LyXAction.C (init): rename open-stuff to inset-toggle.
9469
9470         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9471
9472         * text2.C (toggleInset): renamed from openStuff; use
9473         Inset::open().
9474
9475 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
9476
9477         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9478
9479         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9480
9481 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
9482
9483         * buffer.C (readLyXformat2): Add filename to the error dialog
9484
9485 2001-07-18  Juergen Vigna  <jug@sad.it>
9486
9487         * tabular.C (GetCellNumber): put an assert here instead of the check!
9488
9489 2001-07-17  Juergen Vigna  <jug@sad.it>
9490
9491         * BufferView_pimpl.C (toggleSelection): adapted too.
9492
9493         * text.C (selectNextWord): adapted for use with insets.
9494         (selectSelectedWord): ditto
9495
9496 2001-07-17  Juergen Vigna  <jug@sad.it>
9497
9498         * sp_spell.C (PSpell): fix initialitation order.
9499
9500 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9501
9502         * paragraph.C: spacing
9503
9504 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
9505
9506         * sp_spell.C: repair language selection for pspell
9507
9508 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9509
9510         * lyxfunc.h: change more methods to begin with lower char.
9511
9512 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
9513
9514         * buffer.C (parseSingleLyXformat2Token): Generate error insets
9515         for unknown layouts.
9516
9517 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * buffer.C (readLyXformat2): Generate an error dialog if there are
9520         unknown layouts.
9521
9522 2001-07-16  Juergen Vigna  <jug@sad.it>
9523
9524         * sp_spell.C: always compile ISpell part.
9525
9526         * lyxrc.C: added use_pspell entry and it's handling.
9527
9528 2001-07-13  Juergen Vigna  <jug@sad.it>
9529
9530         * sp_spell.C: removed double includes.
9531
9532 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
9533
9534         Consistent use of Lsstream.h:
9535         * Lsstream.h: added using std::stringstream for consistencies sake.
9536
9537         * buffer.C: removed using std::stringstream
9538
9539         * lyxfont.C (stateText):
9540         * paragraph.C (asString):
9541         * text.C (selectNextWord, selectSelectedWord):
9542         * text2.C (setCounter):
9543         * vspace.C (asString, asLatexString):
9544         std::ostringstream -> ostringstream.
9545
9546 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9547
9548         * LyXAction.C: add LFUN_HELP_ABOUTLYX
9549         * commandtags.h: add LFUN_HELP_ABOUTLYX
9550         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9551
9552 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9553
9554         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9555         cursorToggle()
9556         * lyx_gui_misc.C: remove spellchecker
9557         * lyxfunc.C: showSpellchecker
9558         * sp_base.h: added
9559         * sp_ispell.h: added
9560         * sp_pspell.h: added
9561         * sp_spell.C: added
9562         * sp_form.[Ch]: removed
9563         * spellchecker.[Ch]: removed
9564
9565 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
9566
9567         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9568         is set.
9569         (simpleTeXSpecialChars): Simply print the input character without
9570         any special translation if pass_thru is set.
9571
9572         * layout.h: Added bool pass_thru to layout class for being able to
9573         implement pass through of a paragraph for Literate Programming.
9574
9575         * layout.C: add LT_PASS_THRU to LayoutTags enum.
9576         * layout.C (LyXLayout): set pass_thru to flase in constructor.
9577         * layout.C (Read): add "passthru" to list of layout tags and add
9578         code to set the pass_thru boolean when it is read.
9579
9580 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9581
9582         * trans_decl.h: remove allowed from KmodInfo
9583
9584         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9585         remove allowed code
9586         (Load): adjust
9587
9588         * paragraph_pimpl.C (erase): use boost::prior
9589
9590         * Painter.C (text): use data() instead of c_str() when length is
9591         also provided.
9592         * WorkArea.C (putClipboard): ditto
9593         * font.h (width): ditto
9594
9595         * BufferView2.C: use it-> instead of (*it). for iterators
9596         * texrow.C: ditto
9597         * paragraph_pimpl.C: ditto
9598         * paragraph.C: ditto
9599         * minibuffer.C: ditto
9600         * language.C: ditto
9601         * kbmap.C: ditto
9602         * encoding.C: ditto
9603         * counters.C: ditto
9604         * converter.C: ditto
9605         * chset.C: ditto
9606         * Variables.C: ditto
9607         * TextCache.C: ditto
9608         * MenuBackend.C: ditto
9609         * LyXAction.C: ditto
9610         * LColor.C: ditto
9611         * FloatList.C: ditto
9612         * DepTable.C: ditto
9613         * ColorHandler.C (LyXColorHandler): ditto
9614
9615 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9616
9617         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9618
9619         * text2.C (openStuff): reintroduce this method (which had been
9620         nuked in NEW_INSETS frenzy).
9621
9622         * lyxfunc.C (Dispatch): when an action has not been handled, use
9623         its name in the error message, not its number.
9624
9625         * paragraph.C (inInset): change method name to begin with lowercase.
9626
9627         * undo_funcs.C:
9628         * text2.C: updates because of this.
9629
9630 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9631
9632         * ToolbarDefaults.C (add): add spaces in error message
9633
9634 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9635
9636         * buffer.C (readLyXformat2): initialize the ert comp. variables.
9637         (readLyXformat2): rename return_par to first_par, use lyxlex's
9638         pushToken and remove the manual push handling.
9639         (parseSingleLyXformat2Token): add another ert comp. variable:
9640         in_tabular, rename return_par to first_par. handle newlines better
9641
9642 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9643
9644         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9645
9646 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9647
9648         * text2.C (getParFromID): removed
9649
9650         * buffer.C (getParFromID): new method moved form lyxtext.
9651         * BufferView2.C (insertErrors): adjust
9652         (setCursorFromRow): adjust
9653         * BufferView_pimpl.C (restorePosition): adjust
9654         * lyxfunc.C (Dispatch): adjust
9655         * undo_funcs.C (textUndo): adjust
9656         (textRedo): adjust
9657         (textHandleUndo): adjust
9658         (textHandleUndo): adjust
9659
9660 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9661
9662         * buffer.C: up' the LYX_FORMAT
9663
9664         * lyxfont.h: turn NO_LATEX on as default
9665
9666         * buffer.C (insertErtContents): new methods of tex style compability.
9667         (parseSingleLyXformat2Token): use it several places.
9668         * tabular.C (OldFormatRead): and here
9669
9670 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9671
9672         * text2.C: remove some commented code.
9673         reindent file.
9674
9675         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9676         * trans.C: changes because of the above.
9677
9678 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
9679
9680         * text2.C (setCounter): Fix counters bug with bibliography layout.
9681
9682 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9683
9684         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9685         own member functions
9686         (simpleTeXSpecialChars): ditto
9687
9688 2001-07-06  Juergen Vigna  <jug@sad.it>
9689
9690         * a lot of files: changed the access to LyXText::status and the
9691         call of undo-functions.
9692
9693         * undo.[Ch]: added a inset_id to the undo informations.
9694
9695         * undo_funcs.[Ch]: added and moved here all undo functions.
9696
9697         * lyxtext.h: give the status enum a weight, made status_ a private
9698         variable and made accessor functions for it, removed the whole bunch
9699         of undo-functions as they are now in their own file, make some
9700         functions publically available. Added function ownerParagraph with
9701         int parameter.
9702
9703         * paragraph.[Ch]: added "bool same_ids" to the constructor,
9704         made InInset() a const function, added getParFromID() function.
9705
9706         * buffer.[Ch]: added const version for inset_iterator functions,
9707         added getInsetFromID() function.
9708
9709         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9710         changed undo functions for new version.
9711
9712 2001-07-05  Juergen Vigna  <jug@sad.it>
9713
9714         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9715         unknow mechanism does not call the proper constructor but only this
9716         one also if I request the other!?
9717
9718 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9719
9720         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9721
9722         * text2.C (LyXText): use initialization lists.
9723
9724         * lyxtext.h (Selection): initialize set_ and mark_
9725         (init): remove method
9726
9727 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
9728
9729         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9730
9731 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9732
9733         * screen.[Ch]: change method names to begin with lowercase
9734
9735         * BufferView_pimpl.C (updateScrollbar): simplify further and
9736         hopefully make it a bit faster.
9737
9738 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9739
9740         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9741         calling directly xforms functions.
9742
9743         * Painter.C (Painter):
9744         * lyx_cb.C (MenuWrite):
9745         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9746         fl_display.
9747
9748         * lyx_gui.C: remove bogus guiruntime extern declaration.
9749
9750 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9751
9752         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9753         in NEW_INSETS
9754         (redoDrawingOfParagraph): ditto
9755         (redoParagraphs): ditto
9756         (cutSelection): don't create a object for CutAndPaste use the
9757         static method directly
9758         (pasteSelection): ditto
9759
9760         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9761         LyXview (+ rename)
9762
9763 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9764
9765         * modifications to some other files because of this.
9766
9767         * Makefile.am (lyx_SOURCES): add XFormsView
9768
9769         * XFormsView.[Ch]: new files
9770
9771         * LyXView.[Ch]: make LyXView a base class for the gui handling for
9772         the main window. Move the gui dependent stuff to XFormsView
9773
9774 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9775
9776         * tabular.C (GetCellInset): update cur_cell also in the row/col
9777         version of this function.
9778
9779         * lyxfunc.C: no need to include figure_form.h here.
9780
9781         * FontLoader.h:
9782         * lyxfunc.h:
9783         * lyxscreen.h:
9784         * text2.C:
9785         * lyxvc.C: no need to include forms.h here.
9786
9787 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9788
9789         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9790
9791         * lyxfunc.C (Dispatch):
9792         * Spacing.C (set):
9793         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9794         constructor argument.
9795
9796 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9797
9798         * paragraph.C (Paragraph): dont't clear, and just set layout.
9799         (makeSameLayout): use params's copy contructor.
9800
9801         * ParagraphParameters.[Ch] (makeSame): delete method
9802
9803 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * Variables.[Ch]: fix indentation, rename set to isSet
9806
9807 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9808
9809         * lyxfunc.C (Dispatch): fix typo
9810
9811 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9812
9813         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9814         upper_bound.
9815
9816         * bufferlist.C: include assert.h for emergencyWrite().
9817
9818 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9821           give up at last (bug #425202) !
9822
9823 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * lyx_gui_misc.C:
9826         * sp_form.h:
9827         * sp_form.C:
9828         * spellchecker.h:
9829         * spellchecker.C: strip spellchecker options and bring up
9830           preferences tab instead
9831
9832 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9833
9834         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9835         the istringstream constructor
9836
9837 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9838
9839         * paragraph.C (getLayout): fix return value
9840
9841         * paragraph.h: do not declare getLayout as inline.
9842
9843         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9844
9845 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9846
9847         * lyxcursor.h (operator<): new func
9848         (operator>): new func
9849         (operator>=): new func
9850         (operator<=): new func
9851
9852         * text.C (changeCase): use selection.start and selection.end
9853         (changeRegionCase): require from to be <= to. Require par to be a
9854         valid paragraph.
9855
9856         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9857
9858 2001-06-27  Juergen Vigna  <jug@sad.it>
9859
9860         * text.C (cursorLeftOneWord): changed to return the cursor and added
9861         overlay with BufferView * parameter which calls this one.
9862         (getWord): added
9863         (selectWord): use new getWord function.
9864         (changeCase): renamed from changeWordCase as and extended to work
9865         also on selections.
9866
9867         * lyxtext.h: added enum word_location
9868
9869         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9870         changeCase as this operates now also on selections.
9871
9872 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
9873
9874         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9875
9876         * many files: send debug output to Debug::INFO instead of
9877         Debug::ANY.
9878
9879         * converter.C (View):
9880         (Convert):
9881         (Move): send debug output to Debug::FILES instead of console.
9882
9883 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
9884
9885         * lyxfunc.C (getStatus): use func_status
9886
9887         * func_status.h: new header, describing the results of
9888         LyXFunc::getStatus;
9889
9890         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9891         LFUN_MATH_HALIGN.
9892
9893 2001-06-25  The LyX Project  <jug@sad.it>
9894
9895         * buffer.C (sgmlOpenTag):
9896         (sgmlCloseTag):
9897         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
9898
9899 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9900
9901         * text2.C: remove some dead code
9902
9903         * tabular.C (GetCellInset): store the last cell checked (gotten)
9904
9905         * tabular.h: add the helper for the speedup
9906
9907         * lyxtext.h: remove some dead code
9908
9909 2001-06-26  The LyX Project  <Asger>
9910
9911         * paragraph.C: Change export to LaTeX of alignment to
9912         \begin{center} and family for better roundtrip work with reLyX.
9913
9914         * Tune the math drawing a bit.
9915
9916 2001-06-25  The LyX Project  <Asger>
9917
9918         * LColor.C (LColor): New color for math background. New color
9919         for buttons.
9920
9921 2001-06-25  The LyX Project  <jug@sad.it>
9922
9923         * lyxfunc.C (MenuNew): remove extra check for .lyx file
9924
9925         * lyxfunc.C (Open):
9926         * bufferlist.C (newFile): do not restrict to files ending with
9927         .lyx
9928
9929         * BufferView_pimpl.C (MenuInsertLyXFile):
9930
9931 2001-06-24  The LyX Project  <jug@sad.it>
9932
9933         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9934         of compare_no_case
9935
9936 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9937
9938         * lyxtext.h: rename most methods to begin with a small char.
9939         Lots of changes because of this.
9940
9941         * paragraph.C (Paragraph): do not call fitToSize
9942         (erase): call Pimpl::erase
9943         (insertChar): call Pimpl::insertChar
9944         (insertInset): call Pipl::insertInset
9945         (breakParagraph): do not call fitToSize
9946         (breakParagraphConservative): do not call fitToSize
9947         (fitToSize): remove method
9948
9949         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9950
9951 2001-06-24  The LyX Project  <Asger>
9952
9953         * Fix Qt compilation^2
9954
9955 2001-06-24  The LyX Project  <jug@sad.it>
9956
9957         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9958         depthHook(getDepth()-1).
9959
9960         * paragraph.h:
9961         * ParagraphParameters.h:
9962         * ParameterStruct.h: change type of depth to unsigned int ==
9963         depth_type. Many adaptations to other files before of that.
9964
9965 2001-06-24  The LyX Project  <Asger>
9966
9967         * Fix Qt compilation.
9968
9969 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * paragraph.h: renamed several methods to begin with small letter.
9972         several changes to many parts of the code because of this.
9973
9974 2001-06-23  The LyX Project  <jug@sad.it>
9975
9976         * text2.C (InsertStringAsLines): renamed from InsertStringA;
9977         rewritten to discard all double spaces when KeepEmpty is off
9978         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9979         to only handle newlines but not fiddle with spaces and friends.
9980
9981         * lyxfunc.C (MenuNew): when doing 'new from template', use
9982         template_path as default directory
9983
9984 2001-06-23  The LyX Project  <Asger>
9985
9986         * Clean-up of header file includes all over
9987         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9988
9989 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9990
9991         * paragraph.h: renamed from lyxparagraph.h
9992
9993 2001-06-23  Asger  <lyx@violet.home.sad.it>
9994
9995         * Buffer.h: Removed Buffer::resize
9996         * BufferList.h: Removed BufferList::resize
9997         * LyXView.h: Added LyXView::resize. This way, we will only reflow
9998         the document lazily when we change the width, or the font settings.
9999
10000 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10003
10004 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10005
10006         * buffer.h: remove out of date comment
10007
10008 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * lyxscreen.h:
10011         * screen.C: fix "theoretical" GC leak
10012
10013 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10014
10015         * LaTeX.C (scanAuxFile):
10016         (deplog): remove trailing \r when reading stream (useful under
10017         win32)
10018
10019 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
10020
10021         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10022         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10023         and BufferView::theLockingInset(Inset*), so should use them and not
10024         access bv_->text->the_locking_inset directly.
10025
10026         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10027
10028 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10029
10030         * Makefile.am:
10031         * tex-defs.h: remove old unused file
10032
10033 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
10034
10035         * BufferView_pimpl.C: fix typo, remove minibuffer message
10036           when buffer has loaded
10037
10038 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10039
10040         * lyxfunc.C (Dispatch): use stringstream
10041         (MenuNew): use stringstream
10042         (Open): use stringstream
10043
10044         * importer.C (Import): use stringstream
10045
10046         * bufferview_funcs.C (CurrentState): use stringstream
10047
10048         * LaTeX.C (run): use stringstream
10049
10050         * BufferView_pimpl.C (savePosition): use stringstream
10051         (restorePosition): use stringstream
10052         (MenuInsertLyXFile): use stringstream
10053
10054 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
10055
10056         * BufferView.C:
10057         * Bullet.C:
10058         * ColorHandler.C:
10059         * FontInfo.C:
10060         * FontLoader.C:
10061         * LColor.C:
10062         * LaTeXFeatures.C:
10063         * Painter.C:
10064         * gettext.C:
10065         * lyx_gui_misc.C:
10066         * lyxserver.C:
10067         * vspace.C: removed // -*- C++ -*- as first line.
10068
10069         * lyxfind.h:
10070         * version.h: added // -*- C++ -*- as first line.
10071
10072 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10073
10074         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10075
10076         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10077         of string
10078
10079 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10080
10081         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10082         of floats.
10083
10084 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10085
10086         * gettext.C: include LString.h even when --disable-nls is on.
10087
10088 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
10089
10090         * converter.h (Get): changed argument type from int to
10091         FormatList::size_type to avoid unnecessary conversion.
10092
10093         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10094         before using it.
10095
10096 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10097
10098         * gettext.h: include LString.h even when --disable-nls is on.
10099
10100 2001-06-07  Juergen Vigna  <jug@sad.it>
10101
10102         * text.C (BreakAgain): subst spaces with tabs.
10103
10104         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10105         (resizeInsetsLyXText): set force on resizeLyXText.
10106
10107 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10108
10109         * gettext.h (gettext_init):
10110         (locale_init): use a real definition instead of a macro
10111
10112 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
10113
10114         * Bufferview_pimpl.C:
10115         * LColor.h:
10116         * LColor.C: further lcolor tidies
10117
10118 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10119
10120         * BufferView_pimpl.C (updateScrollbar): simplify.
10121
10122         * BufferView2.C: don't include insets/insetinfo.h, change
10123         prototype for insertInset and call the Pimpl version. let
10124         updateInset call Pimpl version.
10125
10126         * BufferView.h: move inset_slept to BufferView::Pimpl, move
10127         gotoInset to BufferView::Pimpl
10128
10129 2001-06-01  Juergen Vigna  <jug@sad.it>
10130
10131         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10132         inside a LockingInset (is the update needed at all?).
10133
10134 2001-05-31  Juergen Vigna  <jug@sad.it>
10135
10136         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10137         here not the old one otherwise how should we compare it afterwards
10138         if it's the same!
10139
10140 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10141
10142         * lyxfont.C:
10143         * tabular.C:
10144         * tabular-old.C:
10145         * FontInfo.C: bring C functions into global namespace when
10146         necessary
10147
10148 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10149
10150         * LString.h: make sure config.h has been loaded before LString.h.
10151
10152         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10153         (one for each char read by EatLine!).
10154
10155         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10156         variables.
10157
10158 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10159
10160         * paragraph.C (BreakParagraph): set the inset_owner in the new par
10161         to the same as the par we break from
10162
10163 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10164
10165         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10166
10167         * MenuBackend.C (expand): also create menu entries for wide
10168         versions of the floats.
10169
10170         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10171
10172         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10173
10174         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10175         frontends/Makefile.am
10176
10177         * text2.C: adjust
10178         * text.C: adjust
10179
10180
10181         * tabular.C (getTokenValue): add std::
10182
10183         * tabular-old.C (getTokenValue): add std::
10184         (getTokenValue): ditto
10185         (getTokenValue): ditto
10186
10187         * screen.C (ToggleSelection): adjust
10188
10189         * lyxtext.h: put selection cursors inside a Selection struct.
10190
10191         * lyxfunc.C (moveCursorUpdate): adjust
10192
10193         * lyxfont.C (latexWriteStartChanges): add std::
10194
10195         * lyxfind.C: adjust
10196
10197         * font.h: delete with(char const *, LyXFont const &)
10198
10199         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10200
10201         * FontInfo.C (getFontname): add std::
10202
10203         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10204         (workAreaButtonPress): adjust
10205         (tripleClick): adjust
10206         (update): adjust
10207         (moveCursorUpdate): adjust
10208         (Dispatch): adjust
10209
10210         * BufferView2.C (gotoInset): adjust
10211
10212 2001-05-30  Juergen Vigna  <jug@sad.it>
10213
10214         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10215         to check pspell I add this as default as I now have new pspell
10216         libraries and they seem to use this.
10217
10218 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10219
10220         * text2.C (CutSelection): make the cursor valid before the call to
10221         ClearSelection.
10222
10223 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10224
10225         * kbsequence.C (parse): de-uglify a bit the parsing code, which
10226         relied on 0 terminated strings and other horrors. Bug found due to
10227         the new assert in lyxstring!
10228
10229         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10230         KP_ keys.
10231
10232 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10233
10234         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10235         to latinkeys.bind.
10236
10237         * lyxfunc.C (processKeySym): change method of getting to the
10238         self-insert char.
10239
10240         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10241         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10242         * BufferView_pimpl.[Ch]: here as private methods.
10243
10244 2001-05-28  Juergen Vigna  <jug@sad.it>
10245
10246         * text.C (SetHeightOfRow): added the update() call again as it is
10247         needed to initialize inset dimensions!
10248
10249 2001-05-16  Juergen Vigna  <jug@sad.it>
10250
10251         * text2.C (SetCharFont): Add new function with BufferView * and
10252         bool toggleall parameters for setting insets internal fonts.
10253         (SetFont): Freeze the undo as we may change fonts in Insets and
10254         all this change should be inside only one Undo!
10255
10256         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10257         setting font's in insets as for them we have the SetFont function!
10258
10259 2001-05-15  Juergen Vigna  <jug@sad.it>
10260
10261         * text2.C (ClearSelection): to be sure we REALLY don't have any
10262         selection anymore!
10263
10264         * tabular.C (TeXCellPreamble): fixed the left border problem for
10265         multicolumn cells.
10266
10267 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * LaTeX.C (deplog): Make sure that the main .tex file is in the
10270         dependancy file
10271
10272 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10273
10274         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10275         LFUN_BREAKPARAGRAPH.
10276
10277         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10278         help test to "internal only", similar for LFUN_INSERT_URL
10279
10280         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10281         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10282         auto_region_delete and deadkeys.
10283
10284 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * LColor.h:
10287         * LColor.C: remove some dead entries, tidy a little
10288
10289 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10290
10291         * lyxfunc.C (processKeySym): comment the Escape handling, remove
10292         commented code.
10293         (Dispatch): implement LFUN_ESCAPE
10294
10295         * commandtags.h: add LFUN_ESCAPE
10296
10297         * LyXAction.C (init): add entry for LFUN_ESCAPE
10298
10299         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10300         Remove commented code.
10301         (insertNote): moved here
10302         (open_new_inset): moved here
10303
10304         * BufferView[2].[Ch]: move insertNote and open_new_inset to
10305         BufferView_pimpl
10306
10307 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10308
10309         * kbmap.C (findbinding): clean it up and make it work correctly.
10310
10311         * lyx_main.C (init): do not pass argc and argv as parameters
10312
10313 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
10314
10315         * buffer.C: fix path for OS/2 & Win32
10316
10317         * lyx_gui.C:
10318         * lyx_main:
10319         * lyx_main.C: Added os:: class.
10320
10321         * os2_defines.h: update
10322
10323 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10324
10325         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10326         better by trying again with reduced state.
10327
10328 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10329
10330         * lyxrc.C (read): print error about invalid key sequence only when
10331         debugging (because not all latinX keysyms are known to some X
10332         servers)
10333
10334         * kbsequence.C (getiso): add a few std:: qualifiers
10335         (getiso): comment out extra return statement.
10336
10337 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10338
10339         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10340         handling.
10341         (Dispatch): enhance the accent inset a bit. (not perfect)
10342
10343 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10344
10345         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10346
10347 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10348
10349         * bufferlist.C (emergencyWrite): fix assert() call
10350
10351 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
10352
10353         * text.C (InsertChar): Added trivial patch to only send the "you
10354         can not do multiple spaces this way" message once during a
10355         session.
10356
10357 2001-05-08  Baruch Even  <baruch@lyx.org>
10358
10359         * Makefile.am: Changed order of libraries to get LyX to link properly
10360         with the gnome frontend.
10361
10362 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10363
10364         * LaTeXFeatures.h: add a std:: qualifier
10365
10366 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10367
10368         * paragraph.C (String): use stringstream
10369
10370 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371
10372         * paragraph.C (writeFile): remove footflag arg
10373
10374         * buffer.C (makeLaTeXFile): use stringstream
10375         (latexParagraphs): remove footnot gurba
10376
10377         * LaTeXFeatures.C (getPackages): use stringstream
10378         (getMacros): likewise
10379         (getTClassPreamble): likewise
10380         (getFloatDefinitions): new method
10381
10382         * paragraph.C (writeFile): reindent
10383         (Erase): reindent
10384
10385         * WorkArea.h: revert the xpos + etc changes.
10386
10387         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10388
10389         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10390
10391         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10392         (pasteSelection): likewise
10393         * text2.C (CreateUndo): likewise
10394
10395 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * minibuffer.C (peek_event): temporarily reduce the functionality
10398         of the minibuffer (to allow args on lfuns)
10399
10400         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10401         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10402
10403         * buffer.C (readInset): add compability reading of old float
10404         lists, add reading of new style float list.
10405         (readInset): avoid reevaluation of inscmd.getCmdName()
10406         (getLists): reindent
10407
10408         * MenuBackend.C (MenuItem): implement parsing of
10409         md_floatlistinsert and md_floatinsert.
10410         (expand::LastFiles): move initalizaton of iterators out of loop,
10411         avoid reevaluation.
10412         (expand::Documents): introduce typdedef vector<string> Strings,
10413         and use it.
10414         (expand::ExportFormats): introduce typedef vector<Format const *>
10415         Formats, and use it.
10416         (expand): implement FloatListInsert and FloatInsert.
10417
10418         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10419         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10420         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10421
10422         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10423         handling.
10424         (Dispatch::LFUN_FLOAT_LIST): implement
10425
10426 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10427
10428         * LaTeX.C (run): Fix problem with --export code.
10429
10430 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10431
10432         * BufferView.[Ch] (workarea): removed.
10433         (getClipboard) new method; wrapper for workarea()->getClipboard()
10434
10435         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10436         bug.
10437
10438         * WorkArea.h (width, height, xpos, ypos): These methods all
10439         returned the dimensions of the work_area sub-area of WorkArea,
10440         resulting in a position error if the WorkArea were resized. Now
10441         return the dimensions of the entire WorkArea.
10442
10443         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10444
10445 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10446
10447         * LaTeX.C (deplog): correct the syntax of regex reg1
10448
10449 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10450
10451         * undo.C: remove !NEW_INSETS cruft
10452
10453 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10454
10455         * text2.C: remove !NEW_INSETS cruft
10456
10457         * text.C: remove !NEW_INSETS cruft
10458
10459         * tabular.C: remove !NEW_INSETS cruft
10460
10461         * spellchecker.C: remove !NEW_INSETS cruft
10462
10463         * lyxtext.h: remove !NEW_INSETS cruft
10464
10465         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10466
10467         * lyxfunc.C: remove !NEW_INSETS cruft
10468
10469         * lyxfind.C: remove !NEW_INSETS cruft
10470
10471         * lyx_cb.C: remove !NEW_INSETS cruft
10472
10473         * figureForm.C: remove  !NEW_INSETS cruft
10474
10475         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10476
10477         * buffer.[Ch]: remove !NEW_INSETS cruft
10478
10479         * ToolbarDefaults.C: remove !NEW_INSETS cruft
10480
10481         * CutAndPaste.C: remove !NEW_INSETS cruft
10482
10483         * BufferView_pimpl.C: remove !NEW_INSETS cruft
10484
10485         * BufferView2.C: remove !NEW_INSETS cruft
10486
10487         * BufferView.h: remove !NEW_INSETS cruft
10488
10489 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10490
10491         * Lsstream.h: include LString.h before the sstream headers to
10492         fix problem with gcc 2.95.3 and lyxstring
10493
10494 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10495
10496         * lyx_main.C: add using directives when needed for C functions
10497         declared in std:: namespace.
10498
10499 2001-04-27  Juergen Vigna  <jug@sad.it>
10500
10501         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10502         (SetHeightOfRow): comment out the update call should not be needed!
10503
10504 2001-04-13  Juergen Vigna  <jug@sad.it>
10505
10506         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10507         (LyXTabular): tried to minimize operator= operations (and realized
10508         hopfully Lars wish).
10509
10510 2001-04-27  Juergen Vigna  <jug@sad.it>
10511
10512         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10513
10514 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10515
10516         * lyxfunc.C (Dispatch): hack to make listof algorithm work
10517
10518         * buffer.C (readInset): hack to make listof algorithm work
10519
10520         * BufferView_pimpl.C: hack to make listof algorithm work
10521
10522 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10523
10524         * LyXAction.C: removed all !NEW_INSETS cruft
10525         (init): moved lfun_item in method
10526
10527         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10528
10529 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10530
10531         * BufferView2.C (theLockingInset): white space.
10532
10533 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10534
10535         * minibuffer.C: include <iostream>
10536
10537         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10538
10539         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10540
10541         * commandtags.h: add LFUN_TRANSPOSE_CHARS
10542
10543         * text.[Ch] (TransposeChars): new method
10544
10545 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10546
10547         * call message directly through LyXView instead of through LyXFunc
10548         * BufferView2.C: adjust
10549         * BufferView_pimpl.C: adjust
10550         * FontLoader.C: adjust
10551         * buffer.C: adjust
10552         * bufferview_funcs.C: adjust
10553         * converter.C: adjust
10554         * figureForm.C: adjust
10555         * importer.C: adjust
10556         * lyx_cb.C: adjust
10557         * lyx_gui_misc.C: adjust
10558         * lyxfunc.C: adjust
10559         * lyxvc.C: adjust
10560         * text2.C: adjust
10561         + more files in subdirs
10562
10563         * lyxparagraph.h (size): move up int file
10564         (GetLayout): ditto
10565
10566         * adjust all uses of Assert to lyx::Assert.
10567
10568         * BufferView2.C (ChangeCitationsIfUnique): adjust for
10569         lyxfunctional in namespace lyx
10570         * layout.C (hasLayout): ditto
10571         (GetLayout): ditto
10572         (GetLayout): ditto
10573         (delete_layout): ditto
10574         (NumberOfClass): ditto
10575         * converter.C (GetFormat): ditto
10576         (GetNumber): ditto
10577         (Add): ditto
10578         (Delete): ditto
10579         (SetViewer): ditto
10580         * bufferlist.C (getFileNames): ditto
10581         (emergencyWriteAll): ditto
10582         (exists): ditto
10583         (getBuffer): ditto
10584         * MenuBackend.C (hasSubmenu): ditto
10585         (hasMenu): ditto
10586         (getMenu): ditto
10587         * BufferView_pimpl.C (getInsetByCode): ditto
10588
10589 2001-04-18  Juergen Vigna  <jug@sad.it>
10590
10591         * vspace.C (asLatexString): fixed the 100% problem.
10592
10593 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10594
10595         * lyxfunc.C (Dispatch):
10596         * minibuffer.C:
10597         * minibuffer.h: add a few std:: qualifiers
10598
10599 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10600
10601         * minibuffer.[Ch]: reimplement so that commands is initiated and
10602         run from lyxfunc, simplified som handling, and made the completion
10603         and history code for complete. wip.
10604
10605         * lyxfunc.C (processKeySym): call message
10606         (miniDispatch): new temporary method
10607         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10608         (LFUN_MESSAGE): implement
10609         (LFUN_MESSAGE_PUSH): implement
10610         (LFUN_MESSAGE_POP): implement
10611         (initMiniBuffer): the initial/defualt minibuffer message.
10612
10613         * lyxfont.[Ch]: inline some more getters
10614
10615         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10616
10617         * lyx_gui_misc.[Ch] (WriteStatus): remove method
10618
10619         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10620         (AutoSave): use LFUN_MESSAGE
10621         (Reconfigure): ditto
10622
10623         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10624
10625         * figureForm.C: use LFUN_MESSAGE
10626
10627         * converter.C (runLaTeX): use LFUN_MESSAGE
10628
10629         * bufferview_funcs.C: use LFUN_MESSAGE
10630         (Melt): ditto
10631         (changeDepth): ditto
10632
10633         * bufferparams.h: use boost::
10634
10635         * bufferlist.h: inherit privately from noncopyable
10636
10637         * bufferlist.C (loadLyXFile): remove some commented code.
10638
10639         * buffer.C (runChktex): use LFUN_MESSAGE
10640
10641         * ShareContainer.h: inherit privately from noncopyable
10642
10643         * ParagraphParameters.[hC] (depth): inline it.
10644
10645         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10646         methods.
10647         (message): new method
10648         (messagePush): ditto
10649         (messagePop): ditto
10650         (show): init minibuffer
10651         (showState): direct call
10652
10653         * LaTeX.[Ch]: inherit privately from noncopyable
10654         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10655         instead of WriteStatus.
10656
10657         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10658
10659         * BufferView_pimpl.C (buffer): don't init minibuffer
10660         (workAreaButtonPress): use LFUN_MESSAGE
10661         (workAreaButtonRelease): ditto
10662         (savePosition): ditto
10663         (restorePosition): ditto
10664         (MenuInsertLyXFile): ditto
10665         (workAreaExpose): don't init minibuffer
10666         (update): remove commented code, simplify
10667
10668         * BufferView2.C (openStuff): use LFUN_MESSAGE
10669         (toggleFloat): ditto
10670         (menuUndo): ditto
10671         (menuRedo): ditto
10672         (copyEnvironment): ditto
10673         (pasteEnvironment): ditto
10674         (copy): ditto
10675         (cut): ditto
10676         (paste): ditto
10677         (gotoInset): ditto
10678         (updateInset): remove some commented code
10679
10680         * lastfiles.h: inherit privately from noncopyable
10681         * layout.h: ditto
10682         * lyx_gui.h: ditto
10683         * lyx_main.h: ditto
10684         * lyxlex.h: ditto
10685         * lyxlex_pimpl.h: ditto
10686
10687         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10688         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10689         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10690
10691         * LyXAction.h: inherit privately from noncopyable, add methods
10692         func_begin, func_end, returning iterators to the func map.
10693
10694         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10695         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10696         (func_begin): new method
10697         (func_end): new method
10698
10699         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10700         and not)
10701         (copySelection): ditto
10702         (pasteSelection): ditto
10703
10704         * BufferView.C: whitespace change
10705         * BufferView.h: inherit privately from noncopyable
10706
10707 2001-04-16  Allan Rae  <rae@lyx.org>
10708
10709         * tabular-old.C (l_getline):
10710         * spellchecker.C (sc_check_word):
10711         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10712         an unrecognised preprocessor directive.  So ensure they're wrapped.
10713
10714 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
10715
10716         * src/exporter.C (Export): Give an error message when path to file
10717         contains spaces.
10718
10719 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
10720
10721         * LaTeX.C (deplog): Always check that foundfile exists.
10722
10723 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10724
10725         * lyx_main.h:
10726         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10727
10728 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10729
10730         * tabular.[Ch] (getLabelList): implement new method
10731
10732         * minibuffer.h: comment ouf setTiimer
10733
10734         * minibuffer.C (ExecutingCB): constify res
10735         (peek_event): constify s
10736         (Set): constify ntext
10737         (Init): constify nicename
10738
10739         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10740
10741         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10742         (savePosition): use two params to Minibuffer::Set
10743         (restorePosition): ditto
10744
10745 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10746
10747         * lyx_main.C: include language.h
10748
10749         * Makefile.am (lyx_main.o): add language.h
10750
10751 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10752
10753         * exporter.C:
10754         * paragraph.C:
10755         * screen.C:
10756         * tabular.C:
10757         * CutAndPaste.C: include gettext.h
10758
10759         * lyxfont.h: remove old hack with ON and OFF.
10760
10761         * lyxparagraph.h:
10762         * lyxfont.h: do not include language.h...
10763
10764         * BufferView2.C:
10765         * LaTeXFeatures.C:
10766         * Painter.C:
10767         * bufferview_funcs.C:
10768         * font.C:
10769         * lyxfont.C:
10770         * text.C:
10771         * text2.C:
10772         * trans_mgr.C:
10773         * paragraph.C: ... but do it here instead
10774
10775 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10776
10777         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10778
10779         * tabular.C: small reformat
10780
10781         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10782         NEW_INSETS version
10783         (GetChar): ditto
10784         (BreakParagraph): ditto
10785         (SetOnlyLayout): ditto
10786         (SetLayout): ditto
10787
10788         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10789         with one arg less.
10790
10791         * lastfiles.C: removed most using decl, add std:: where needed
10792
10793         * buffer.C: ws changes
10794
10795         * MenuBackend.C (class compare_format): put into anon namespace
10796         (expand): constify label, names, action, action2
10797         (expand):
10798
10799         * text.C (SingleWidth): constify font
10800         (IsBoundary): constify rtl2
10801         (GetVisibleRow): constify ww
10802
10803         * LaTeX.C (deplog): constify logfile
10804
10805         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10806         start_x, end_x
10807         (workAreaExpose): constify widthChange, heightChange
10808
10809         * lyxrow.C (par): moved
10810         (height): moved
10811         (next): moved
10812         * lyxrow.h: as inlines here
10813
10814         * lyxfont.h (shape): moved from lyxfont.C
10815         (emph): moved from lyxfont.C
10816
10817         * lyxfont.C (LyXFont): use initialization list for all
10818         constructors
10819         (shape): move to lyxfont.h as inline
10820         (emph): move to lyxfont.h as inline
10821
10822
10823 2001-04-04  Juergen Vigna  <jug@sad.it>
10824
10825         * vspace.C: had to include stdio.h for use of sscanf
10826
10827 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
10828
10829         * BufferView.h:
10830         * BufferView_pimpl.h: remove xforms cruft. Both classes are
10831         independent of xforms.
10832
10833 2001-04-02  Juergen Vigna  <jug@sad.it>
10834
10835         * spellchecker.C: fixed namespace placing!
10836
10837 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
10838
10839         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10840         the LyXParagraph * is 0.
10841
10842 2001-03-29  Juergen Vigna  <jug@sad.it>
10843
10844         * vspace.C: added support for %, c%, p%, l%.
10845         (stringFromUnit): added helper function.
10846         (asLatexString): changed to give right results for the %-values.
10847
10848         * buffer.C: convert the widthp in a width%.
10849
10850 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
10851
10852         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10853         figureForm.[Ch].
10854
10855         * figureForm.[Ch]: stripped the FD_from_figure manipulation
10856         code out of lux_cb.[Ch], ready for its (imminent?) removal.
10857
10858         * lyx_cb.[Ch]: see above.
10859
10860         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10861         form1.[Ch].
10862
10863         * form1.[Ch]:
10864         * lyx.[Ch]: replaced by figure_form.[Ch].
10865
10866         * lyx_gui.C:
10867         * lyx_gui_misc.C:
10868         * lyxfunc.C: changed headers associated with above changes.
10869
10870 2001-03-27  Juergen Vigna  <jug@sad.it>
10871
10872         * BufferView_pimpl.C: set the temporary cursor right!
10873
10874 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
10875
10876         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10877
10878 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
10879
10880         * LString.h: removed "using std::getline"!
10881
10882         * BufferView_pimpl.C (Dispatch): changes due to changes in
10883         InsetInclude::Params.
10884
10885         * buffer.C (tag_name): removed redundant break statements as they were
10886         producing lots of warnings with my compiler.
10887
10888 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10889
10890         * LString.h: add "using std::getline" when using the real <string>.
10891
10892 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
10893
10894         * buffer.C: removed bitset usage.
10895         PAR_TAG moved to an anonymous name space.
10896         (tag_name): new funtion, also in the anonymous namespace.
10897         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10898         (makeDocBookFile): clean code. Completed transition from string arrays
10899         to string vectors.
10900         (SimpleDocBookOnePar): code clean.
10901
10902 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10903
10904         * tabular.C: add some comments.
10905
10906 2001-03-22  Juergen Vigna  <jug@sad.it>
10907
10908         * buffer.C (parseSingleLyXformat2Token): redone the minipage
10909         compatibility read a bit and fixed bug with minipage in different
10910         depth.
10911
10912 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
10913
10914         * buffer.C (pop_tag): removed.
10915         (push_tag): removed.
10916         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10917         array replaced with vector. Added support for CDATA sections.
10918         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10919         at any nest level.
10920         (makeDocBookFile): XML conformant declaration of CDATA section,
10921         fixed bug related to <emphasis> in the first paragraph char.
10922         (sgmlOpenTag): exclude empty tags.
10923         (sgmlCloseTag): ditto.
10924
10925         * buffer.h (pop_tag): removed.
10926         (push_tag): removed.
10927
10928 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
10929
10930         * language.h (Languages): added size_type and size().
10931
10932 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10933
10934         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10935         response on compability reading of minipages. One probliem is that
10936         the old usage of minipages was «flertydig»
10937
10938         * several files here and in subdirs: don't use static at file
10939         scope use anon namespaces instead.
10940
10941 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
10942
10943         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10944         LaTeX output. This is necessary for Literate document
10945         processing.
10946
10947 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10948
10949         * buffer.C: insert hfill when needed.
10950
10951         * tabular.C (l_getline): use string::erase, small whitespace change.
10952
10953         * BufferView_pimpl.C: try the anon namespace.
10954         * WorkArea.C: ditto
10955
10956 2001-03-16  Juergen Vigna  <jug@sad.it>
10957
10958         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10959         otherwise it won't open options-dialogs.
10960
10961         * buffer.C: honor pextraWidth(p) on converting minipages.
10962
10963         * tabular.C (l_getline): changed the functions to strip trailing \r.
10964
10965 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
10966
10967         * BufferView_pimpl.C:
10968         * minibuffer..C: added "using SigC::slot" declaration.
10969
10970 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10971
10972         * lyxlex_pimpl.h: noncopyable is in namespace boost.
10973
10974         * text2.C: ditto
10975
10976         * text.C: ditto
10977
10978         * paragraph.C: ditto
10979
10980         * lyxtext.h: NO_PEXTRA
10981
10982         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10983
10984         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10985         * ParameterStruct.h: ditto
10986         * ParagraphParameters.h: ditto
10987         * lyxparagraph.h: ditto
10988
10989 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10990
10991         * buffer.C: add compability for minipage alignment.
10992         (latexParagraphs): remove unwanted pextra check.
10993
10994         * several files: remove CXX_WORKING_NAMESPACES
10995
10996         * buffer.C (pop_tag): tie is in namespace boost
10997
10998         * BufferView.h: noncopyable is in namespace boost
10999         * lyxlex.h: ditto
11000         * lyx_main.h: ditto
11001         * lyx_gui.h: ditto
11002         * layout.h: ditto
11003         * lastfiles.h: ditto
11004         * bufferlist.h: ditto
11005         * ShareContainer.h: ditto
11006         * LyXView.h: ditto
11007         * LyXAction.h: ditto
11008         * LaTeX.h: ditto
11009
11010 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11011
11012         * Merging changes from BRANCH_MVC back into HEAD.
11013
11014         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11015
11016 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
11017
11018         * BufferView_pimpl.C: change from intl.C
11019
11020         * combox.h:
11021         * combox.C:
11022         * Makefile.am: move combox.*
11023
11024         * form1.h:
11025         * form1.C:
11026         * lyx_gui.C:
11027         * intl.h:
11028         * intl.C: remove dialog (covered by prefs)
11029
11030 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
11031
11032         * lyxfunc.C (Dispatch): removed redundant break statement.
11033
11034 2001-03-14  Juergen Vigna  <jug@sad.it>
11035
11036         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11037
11038 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11039
11040         * buffer.C: add hack to fix compability reading of minipages.
11041
11042 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
11043
11044         * buffer.C (getLists): Cleanup.
11045
11046 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11047
11048         * lyxfont.C (update): don't honor toggleall on font size.
11049
11050 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
11051
11052         * bmtable.c:
11053         * bmtable.h:
11054         * Makefile.am: moved to frontends/xforms/
11055
11056         * lyx_gui_misc.C:
11057         * lyxfunc.C:
11058         * BufferView_pimpl.C: changes for moved mathpanel
11059
11060 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11061
11062         * gettext.h: fix gettext_init() in --disable-nls
11063
11064 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11065
11066         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11067
11068 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * lyx.C:
11071         * lyx.h: strip external form
11072
11073 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * BufferView_pimpl.C: add comment, destroySplash()
11076
11077 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * BufferView_pimpl.C:
11080         * LyXAction.C:
11081         * buffer.C:
11082         * commandtags.h:
11083         * lyxfunc.C: use re-worked insetinclude
11084
11085 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11086
11087         * buffer.C: add using std::stringstream.
11088
11089         * lyx_cb.C: readd using std::ios.
11090
11091         * buffer.C: add using std::map.
11092
11093         * BufferView_pimpl.C: add using std::vector.
11094
11095         * ShareContainer.h: add std:: to swap.
11096
11097         * buffer.h: add some typedefs
11098         * buffer.C (getLists): use them
11099         (getLists): renamed from getTocList.
11100         add a counter for the different float types and use it in the
11101         generated string.
11102         (getLists): use the same counter for the NEW_INSETS and the "non"
11103         NEW_INSETS
11104
11105         * lyx_cb.h: remove unused items, includes, using etc.
11106
11107         * ShareContainer.h: remove some commented code, add more comments
11108         and "documentation".
11109
11110 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11111
11112         * buffer.C (getTocList): make the list also when NEW_INSETS is
11113         defined.
11114
11115         * buffer.h: remove TocType
11116
11117         * buffer.C (getTocList): change to return a map<string,
11118         vector<TocItem> >, implement for dynamic number of list.
11119
11120         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11121         * text2.C (PasteSelection): adjust
11122         * CutAndPaste.C (pasteSelection): adjust
11123
11124         * FloatList.C (FloatList): update from the new_insets branch.
11125         * Floating.[Ch]: ditto
11126         * LaTeXFeatures.C: ditto
11127         * buffer.C: ditto
11128         * lyxlex_pimpl.C: ditto
11129
11130         * paragraph.C (Last): remove when NEW_INSETS is defined.
11131
11132         * other file: changes because of the above.
11133
11134 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11135
11136         * lyxparagraph.h: rename next to next_, previous to previous_,
11137         make them private for NEW_INSETS. Rename Next() to next(),
11138         Previous() to previous().
11139
11140         * other files: changes because of the above.
11141
11142 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
11143
11144         * BufferView.h:
11145         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11146         problem.
11147
11148 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11149
11150         * main.C (main): pass lyx_localedir to gettext_init().
11151
11152         * gettext.h: remove locale_init and gettext_init macros
11153
11154         * gettext.C (locale_init): new function
11155         (gettext_init): new function
11156
11157         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11158         setlocale().
11159
11160 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
11161
11162         * Moved credits to frontends:
11163         * credits.[Ch]: removed
11164         * credits_form.[Ch]: removed
11165         * lyx_gui_misc.C: remove credits stuff
11166         * Makefile.am:
11167
11168 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11169
11170         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11171
11172         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11173         unneeded destructor.
11174
11175         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11176         a standalone pointer again.
11177
11178         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11179
11180 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
11181
11182         * Makefile.am:
11183         * filedlg.h:
11184         * filedlg.C:
11185         * LyXAction.C:
11186         * ToolbarDefaults.C:
11187         * bufferlist.C:
11188         * commandtags.h:
11189         * form1.C:
11190         * form1.h:
11191         * lyx_cb.C:
11192         * lyx_cb.h:
11193         * lyxfunc.h:
11194         * lyxfunc.C:
11195         * BufferView_pimpl.C: use new file dialog in GUII
11196
11197         * lyx_cb.h:
11198         * lyx_cb.C: remove LayoutsCB to Toolbar
11199
11200 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * ShareContainer.h (get): add std:: qualifier
11203
11204 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * ShareContainer.h: define a proper ShareContainer::value_type
11207         type (and use typename to please compaq cxx)
11208
11209 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11210
11211         * lyxparagraph.h: move serveral local vars to
11212         ParameterStruct/ParagraphParameters., use ShareContainer in
11213         FontTable., make vars in FontTable private and add getter and
11214         setter.
11215
11216         * paragraph.C: changes because of the above.
11217
11218         * lyxfont.h: remove copy constructor and copy assignment. (the
11219         default ones is ok), move number inside FontBits. move inlines to
11220         lyxfont.C
11221
11222         * lyxfont.C: add number to initializaton of statics, move several
11223         inlines here. constify several local vars. some whitespace
11224         cleanup. Dont hide outerscope variables.
11225
11226         * Spacing.h: add two new constructors to match the set methods.
11227
11228         * ShareContainer.h: new file, will perhaps be moved to support
11229
11230         * ParameterStruct.h: new file
11231
11232         * ParagraphParameters.h: new file
11233
11234         * ParagraphParameters.C: new file
11235
11236         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11237         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11238
11239         * BufferView_pimpl.C: ParagraphParameter changes.
11240         * buffer.C: Likewise.
11241         * bufferview_funcs.C: Likewise.
11242         * text.C: Likewise.
11243         * text2.C: Likewise.
11244
11245 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11246
11247         * lyxfind.C (LyXReplace): do not redefine default argument in
11248         implementation.
11249         (IsStringInText): ditto
11250         (SearchForward): ditto
11251         (SearchBackward): ditto
11252
11253 2001-03-06  Juergen Vigna  <jug@sad.it>
11254
11255         * lyxfind.C (IsStringInText): put parentes around expressions.
11256
11257 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
11258
11259         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11260
11261 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
11262
11263         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11264
11265         * stl_string_fwd.h: add comment
11266
11267         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11268
11269         * tabular.h:
11270         * tabular.C: remove unused DocBook methods
11271
11272         * intl.C:
11273         * language.C:
11274         * paragraph.C:
11275         * buffer.C:
11276         killed DO_USE_DEFAULT_LANGUAGE
11277
11278 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11279
11280         * lyx_gui.C: do not include language.h.
11281
11282         * bufferview_funcs.C (ToggleAndShow): do not provide optional
11283         arguments in function implementation.
11284
11285 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11286
11287         * BufferView_pimpl.C: add <ctime>
11288
11289 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11290
11291         * BufferView_pimpl.C: add using std::find_if
11292
11293 2001-02-27  José Matos  <jamatos@fep.up.pt>
11294
11295         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11296         by OnlyPath.
11297
11298 2001-02-11  José Matos  <jamatos@fep.up.pt>
11299
11300         * buffer.C (makeDocBookFile): command styles now have a parameter as
11301         "title" by default.
11302
11303 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
11304
11305         * layout_forms.[Ch]: removed
11306         * lyx_cb.[Ch]: out character
11307         * lyx_gui.C: out character
11308         * lyx_gui_misc.C: out character
11309         * bufferview_funcs.C: : out character,
11310         added toggleall as parameter in ToggleAndShow
11311
11312 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
11313
11314         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11315
11316         * text2.C (SetCurrentFont): Disable number property at boundary.
11317
11318 2001-02-26  Juergen Vigna  <jug@sad.it>
11319
11320         * lyxfunc.C (getStatus): added a string argument override function so
11321         that this is correctly called from LyXFunc::Dispatch if it contains a
11322         do_not_use_argument which is used!
11323         (Dispatch): added check for "custom" export and call appropriate func.
11324
11325 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
11326
11327         * lyxrc.C: Add language_command_local, language_use_babel and
11328         language_global_options.
11329
11330         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11331
11332         * buffer.C (makeLaTeXFile): Use language_use_babel and
11333         language_global_options.
11334
11335 2001-02-23  Juergen Vigna  <jug@sad.it>
11336
11337         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11338         which works with LyXText and putted it inside BufferView. Here now we
11339         only call for that part the BufferView::Dispatch() function.
11340
11341         * BufferView.C (Dispatch): added.
11342
11343         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11344         functions which needs to use a LyXText over from LyXFunc.
11345         (MenuInsertLyXFile): added
11346         (getInsetByCode): added
11347         (moveCursorUpdate): added
11348         (static TEXT): added
11349
11350 2001-02-22  Juergen Vigna  <jug@sad.it>
11351
11352         * BufferView_pimpl.C (update): call a status update to see if LyXText
11353         needs it.
11354
11355 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11356
11357         * vc-backend.C (revert): implement for CVS
11358         (getLog): implement for CVS
11359
11360 2001-02-20  Juergen Vigna  <jug@sad.it>
11361
11362         * text2.C (ClearSelection): added BufferView param for inset_owner call
11363
11364         * lyxfunc.C (TEXT): added this function and use it instead of
11365         directly owner->view()-text of getLyXText().
11366
11367 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11368
11369         * src/layout_forms.C: out preamble
11370         * src/layout_forms.h: out preamble
11371         * src/lyx_cb.C: out preamble
11372         * src/lyx_cb.h: out preamble
11373         * src/lyx_gui.C: out preamble
11374         * src/lyx_gui_misc.C: out preamble
11375         * src/lyxfunc.C: connect with guii preamble
11376
11377 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11378
11379         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11380
11381 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11382
11383         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11384         whether to run bibtex.
11385
11386 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11387
11388         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11389
11390 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11391
11392         * Makefile.am (lyx_SOURCES): removed bibforms.h
11393
11394         * vspace.h: doxygen
11395
11396         * text.C (GetVisibleRow): make several local vars const
11397
11398         * tabular.C: small cleanup.
11399
11400         * lyxserver.C (callback): use compare instead of strncmp
11401
11402         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11403         inlines to after class or to paragraph.C
11404
11405         * lyxfont.h: remove friend operator!=
11406
11407         * converter.h: move friend bool operator< to non friend and after
11408         class def.
11409
11410         * combox.h: small cleanup
11411
11412         * buffer.h: doxygen, remove unused constructor, move inclas inlies
11413         to inlines after class def.
11414
11415         * buffer.C (pop_tag): use string operations instead of strcmp
11416
11417         * bmtable.c: doxygen, small cleanup
11418
11419         * LaTeX.h: remove friend operator==
11420
11421 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
11422
11423         * screen.C:
11424         * lyxrc.[Ch]:
11425         * lyxfunc.C:
11426         * lyxfont.[Ch]:
11427         * lyx_cb.C:
11428         * intl.[Ch]:
11429         * commandtags.h:
11430         * buffer.C:
11431         * WorkArea.[Ch]:
11432         * LyXAction.C:
11433         * BufferView_pimpl.C:
11434         * BufferView.[Ch]: remove cruft
11435
11436 2001-02-14  Juergen Vigna  <jug@sad.it>
11437
11438         * lyxfunc.C: removed #if 0 unused code
11439
11440         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11441
11442         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11443
11444         * text2.C (SetSelection): added a BufferView * parameter
11445
11446 2001-02-13  Juergen Vigna  <jug@sad.it>
11447
11448         * lyxfunc.C (Dispatch): fixed protected blank problem.
11449         * BufferView2.C (protectedBlank): added LyxText * parameter.
11450
11451         * tabular.C (AppendRow): forgot to set row_info of newly added row.
11452         (AppendColumn): same as above for column_info.
11453
11454         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11455         (moveCursorUpdate): use a LyXText param for support of InsetText.
11456
11457         * BufferView_pimpl.C (doubleClick): added support for InsetText.
11458         (tripleClick): ditto
11459
11460         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11461
11462         * BufferView_pimpl.C (update): added LyXText param to honor insets.
11463
11464         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11465
11466         * text2.C (SetSelection): set correct update status if inset_owner
11467         (ToggleFree): ditto
11468
11469 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11470
11471         * tabular.C: remove some commented code.
11472
11473 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * BufferView_pimpl.C: call hideSplash()
11476
11477         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11478
11479         * include_form.h:
11480         * bibforms.h: remove
11481
11482         * lyxfunc.C:
11483         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11484           add LFUN_CHILD_CREATE
11485
11486         * counters.h: fix tiny typo
11487
11488         * lyx_cb.C:
11489         * lyx.h:
11490         * lyx_gui.C:
11491         * lyx.C: move splash to frontends/xforms/
11492
11493         * lyx_gui_misc.C: move Include and Bibform to frontends
11494
11495         * lyxvc.h: clarify comment
11496
11497         * vspace.C: tiny housekeeping
11498
11499 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
11500
11501         * text.C (PrepareToPrint): RTL Fix.
11502
11503         * paragraph.C (GetUChar): New method.
11504         (String):  Use GetUChar.
11505
11506         * buffer.C (asciiParagraph): Use GetUChar.
11507
11508 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
11509
11510         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11511
11512 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * buffer.h:
11515         * buffer.C: rename to getLogName(), handle
11516           build log / latex log nicely
11517
11518 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11519
11520         * MenuBackend.C:
11521         * MenuBackend.h: remove support for reference menuitem type.
11522
11523 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
11524
11525         * BufferView_pimpl.C: housekeeping
11526         * BufferView_pimpl.h:
11527         * LyXView.h:
11528         * Makefile.am:
11529         * Timeout.C:
11530         * Timeout.h:
11531         * minibuffer.h: move Timeout GUI-I
11532
11533 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
11534
11535         * lyxrc.C (read): Update converters data-structures.
11536
11537 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11538
11539         * LaTeX.h (operator!=): add operator != for Aux_Info
11540
11541 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
11542
11543         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11544
11545         * LaTeXLog.C: deleted, useful code moved to Buffer
11546
11547         * buffer.h:
11548         * buffer.C: new function getLatexLogName()
11549
11550         * lyx_gui_misc.C:
11551         * lyx_gui.C:
11552         * lyxvc.C:
11553         * lyxvc.h:
11554         * lyxfunc.C: use frontends for LaTeX and VC logs
11555
11556 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11557
11558         * LaTeX.h: yet another std:: that Allan forgot.
11559
11560         * Variables.C (set): renamed from isset(), because this clashes
11561         with some HP-UX macros (grr).
11562
11563 2001-02-06  Allan Rae  <rae@lyx.org>
11564
11565         * LaTeX.h: Another bug fix.  Missing std:: this time.
11566
11567 2001-02-04  Allan Rae  <rae@lyx.org>
11568
11569         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11570         floats problem. I've left it commented out because it's not quite
11571         correct.  It should also test that the current object is a table or
11572         figure inset.  But I haven't gotten around to figuring out how to do
11573         that.  I *think* it'll be something like: "table" == inset.type()
11574
11575         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11576         bool.
11577
11578 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
11579
11580         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11581         all the citation/databases/styles in the auxilary file.
11582         (run): Rerun latex if there was a babel language error.
11583
11584 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
11585
11586         * text.C (Backspace): Preserve the font when changing newline char
11587         with a space.
11588         (BreakParagraph): If the cursor is before a space, delete the space.
11589
11590         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11591
11592 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
11593
11594         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11595         new argument (code).
11596         (ChangeCitationsIfUnique): New method.
11597
11598         * paragraph.C (GetPositionOfInset): Handle bibkey.
11599
11600 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11601
11602         * BufferView_pimpl.h: change type of Position::par_pos to
11603         LyXParagraph::size_type.
11604
11605 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
11606
11607         * BufferView_pimpl.C (savePosition, restorePosition): Write
11608         messages to minibuffer.
11609
11610 2001-01-28  José Matos  <jamatos@fep.up.pt>
11611
11612         * buffer.C (makeDocBookFile): adds support for document language.
11613         A silly restriction on the name of LatexCommand types where removed.
11614         Added support for CDATA sections, allows to chars unescaped, used
11615         among others in code, to avoid escape < and >.
11616
11617 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11618
11619         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11620         saved positions instrad of a stack. Furthermore, a position is
11621         stored using paragraph id/paragraph position.
11622
11623         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11624         Remove LFUN_REF_BACK.
11625
11626 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * converter.C (dvipdfm_options): New method.
11629
11630 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11631
11632         * vspace.C (isValidLength): Fix for empty input string.
11633
11634 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11635
11636         * LyXAction.C (init): change description of LFUN_FIGURE to
11637         "Insert Graphics"
11638
11639 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11640
11641         * LaTeX.C: add using directive
11642
11643 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11644
11645         * MenuBackend.C (expand): Fix the sorting of the formats.
11646
11647 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * lyx_main.C: tiny error message fix
11650
11651 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11652
11653         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11654         calling fl_initialize(). This fixes the problem with ',' as
11655         decimal separator in text files.
11656
11657 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11658
11659         * trans.C (process): Fix the keymap bug.
11660
11661 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
11662
11663         * LaTeX.C (scanAuxFiles): New method. Provides support for
11664         multiple bibliographies (when using the bibtopic/bibunits pacakges).
11665         (scanLogFile) Scan for "run BibTeX" messages.
11666
11667         * buffer.C (makeLaTeXFile): Do not load the ae package when using
11668         OT1 font encoding. Also, load the aecompl package if the ae
11669         package is loaded.
11670
11671         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11672
11673 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11674
11675         * texrow.C (increasePos): turn two error messages into debug
11676         messages.
11677
11678 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
11679
11680         * LaTeX.C (scanAux): Handle the \@input macro.
11681         (runBibTeX): Use scanAux().
11682
11683         * language.C (latex_options_): New field.
11684
11685         * LaTeXFeatures.C (getMacros): Add language macros.
11686
11687         * buffer.C (makeLaTeXFile): Small fix.
11688
11689 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11690
11691         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11692
11693         * text2.C: add a using directive.
11694
11695 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
11696
11697         * BufferView2.C:
11698         * lyx_gui_misc.h:
11699         * lyxfr1.C:
11700         * lyxfunc.C: kill LyXBell.
11701
11702 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
11703
11704         * text.C (IsBoundary): Remove the error message
11705
11706         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11707
11708         * lyxrc.C (setDefaults): Correct initialization value for
11709         font_norm_type.
11710
11711 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
11712
11713         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11714         gotoError().
11715
11716         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11717         and GotoNextNote().
11718
11719         * src/LyXAction.C: Added reference-next.
11720
11721         * text.C (InsertChar): Use contains instead of strchr.
11722
11723         * lyx_cb.C (MenuInsertLabel): Enable default value code.
11724
11725 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
11726
11727         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11728         alignment commands (when needed).
11729
11730         * text.C (InsertChar): Add ':' to number separator chars.