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