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