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