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