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