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