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