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