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