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