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