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