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