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