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