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