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