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