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