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