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