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