1 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * text2.C (insertParagraph): make it take ParagraphList::iterator
5 (setLayout): make it return ParagraphList::iterator
6 (redoParagraphs): ditto
8 (checkParagraph): ditto
10 * text.C (getRow): make getrow take ParagraphList::iterator as arg
12 * text2.C: adjust several funcs.
13 (realizeFont): take a ParagraphList::iterator as arg.
14 (getLayoutFont): ditto
18 * text.C: adjust several funcs.
20 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
22 * text.C (selectNextWordToSpellcheck): don't accidentally
25 2003-04-10 John Levon <levon@movementarian.org>
27 * ToolbarBackend.C (getIcon): special handling for
30 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
32 * text2.C (cursorRight): a getChar assert fixed
34 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
36 * text2.C (getFont): change to take a ParagraphList::iterator
38 Adjust several functions.
40 * text.C (transformChar): change to take a ParagraphList::iterator
43 Adjust several functions.
45 * rowpainter.C: adjust several functions
46 * rowpainter.h:store a ParagraphList::iterator and not a
50 2003-04-09 John Levon <levon@movementarian.org>
55 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
56 and the "help" bits as well
58 2003-04-09 John Levon <levon@movementarian.org>
61 * ToolbarBackend.C: allow multiple toolbars
63 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
65 * undo_funcs.C (setCursorParUndo): adjust
67 * text_funcs.C (transposeChars): adjust
69 * text3.C (gotoNextInset): adjust
72 * text2.C (setLayout): adjust
75 (redoParagraphs): adjust
76 (selectionAsString): adjust
77 (setParagraph): adjust
79 (cutSelection): adjust
80 (copySelection): adjust
81 (pasteSelection): adjust
82 (insertStringAsLines): adjust
84 (setCursor): change to take a ParagraphList::iterator parameter
85 (setCursorIntern): change to take a ParagraphList::iterator parameter
86 (setCurrentFont): adjust
89 (deleteEmptyParagraphMechanism): adjust
91 * text.C (breakParagraph): adjust
93 (acceptChange): adjust
94 (rejectChange): adjust
95 (selectNextWordToSpellcheck): adjust
100 * lyxfind.C (SearchForward): adjust
101 (SearchBackward): adjust
104 * lyxcursor.C (par): adjust
106 * lyxcursor.h: store a ParagraphList::iterator instead of a
109 * lyx_cb.C (getPossibleLabel): adjust
111 * bufferview_funcs.C (toggleAndShow): adjust
113 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
116 * BufferView.C (removeAutoInsets): adjust
117 (lockedInsetStoreUndo): adjust
119 2003-04-09 John Levon <levon@movementarian.org>
121 * ToolbarBackend.C: try icon without argument
122 if with argument fails
124 2003-04-08 John Levon <levon@movementarian.org>
127 * ToolbarBackend.C: add getIcon(), handle tooltip,
128 and change from "Icon" to "Item".
130 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
132 * BufferView.C (lockInset): another bad getchar crunched
134 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
136 * text2.C (changeDepth): do not setUndo on test_only (make undo work
139 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
141 * lyxfind.C (searchForward, searchBackwards): bug 782
143 2003-04-07 John Levon <levon@movementarian.org>
145 * paragraph.C: remove dead comment
147 * text.C: remove troublesome depth-fiddling code
148 in leftMargin() and rightMargin() (bug 1017)
150 * text.C: fix breaking of rows in nested lists
153 * text2.C (updateCounters): fix up depth values
156 2003-04-07 John Levon <levon@movementarian.org>
158 * BufferView_pimpl.C: clear message when doc finishes resizing,
159 and after a mouse event
161 * lyxfunc.C: clear message after exiting inset
163 2003-04-07 John Levon <levon@movementarian.org>
165 * bufferview_funcs.C: show math status not outside
166 status in the statusbar
168 2003-04-07 John Levon <levon@movementarian.org>
170 * lyxfunc.C: note status changed after a depth change
172 2003-04-04 Angus Leeming <angus@localhost.localdomain>
174 * LaTeX.h: move AuxInfo operator==, != out of line.
175 Remove LaTeX virtual destructor; nothing derives from it.
176 Move operator()() out of public area and rename it startscript().
177 Change protected for private.
179 2003-04-04 Angus Leeming <leeming@lyx.org>
182 * text2.C: remove unneeded #includes.
184 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
186 * text2.C (dEPM): fix the heigth of the next row
188 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
190 * text.C: squashed an invalid getChar requester + some ws changes
192 2003-04-03 John Levon <levon@movementarian.org>
194 * bufferview_funcs.h:
195 * bufferview_funcs.C:
198 * text2.C: make getStatus work for the env depth lfuns
200 2003-04-03 John Levon <levon@movementarian.org>
202 * bufferview_funcs.h:
203 * bufferview_funcs.C:
206 * text2.C: parlistize decDepth(), by merging it with incDepth()
208 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
210 * lyxrow.h: store a ParagraphList::iterator instead of a
211 Paragraph* and adjust other class functions to suit.
213 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
216 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
218 * text2.C (setCursor): do not anchor to cursor row for the time being
220 2003-04-02 John Levon <levon@movementarian.org>
227 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
229 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
231 * paragraph.h: make ParagraphList and ParagraphList::iterator
232 friends of Paragraph.
234 * buffer.C (makeLinuxDocFile): move towards ParagraphList
236 * ParagraphList.C: Use the private next_ and previous_ from
239 2003-04-01 John Levon <levon@movementarian.org>
243 * Makefile.am: rename, remove defaults gunk
246 * MenuBackend.C: remove defaults gunk
249 * Languages.C: remove defaults gunk
252 * lyx_main.C: error out if files couldn't be found.
254 2003-04-02 John Levon <levon@movementarian.org>
256 * text2.C: make incDepth() use parlist
258 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * undo_funcs.C (firstUndoParagraph): adjust
262 * text3.C (gotoInset): adjust
263 (dispatch): adjust, and rewrite loop.
265 * text2.C (init): adjust, and rewrite loop.
266 (redoParagraphs): adjust
267 (updateInset): adjust, and rewrite loop.
268 (deleteEmptyParagraphMechanism): adjust
270 * tabular.C (LyXTabular): adjust
271 (SetMultiColumn): adjust
274 * lyxtext.[Ch] (ownerParagraph): delete function
275 (ownerParagraphs): new function returns a ParagraphList.
277 * BufferView.C (removeAutoInsets): adjust
278 (insertErrors): adjust
279 (setCursorFromRow): adjust
281 2003-04-01 Angus Leeming <leeming@lyx.org>
283 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
286 2003-04-02 John Levon <levon@movementarian.org>
292 * text_funcs.C: make transposeChars a free function
294 * lyxrow_funcs.C: remove wrong comment
296 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
299 * rowpainter.C: adjust
304 * lyxrow_funcs. [Ch]: new files
306 * lyxrow.[Ch]: remove next and previous pointers
307 (next,previous): remove accessor functions
308 (isParEnd): move to lyxrow_funcs
309 (lastPos): move to lyxrow_funcs
310 (nextRowIsAllInset): move to lyxrow_funcs
311 (lastPrintablePos): move to lyxrow_funcs
312 (numberOfSeparators): move to lyxrow_funcs
313 (numberOfHfills): move to lyxrow_funcs
314 (numberOfLabelHfills): move to lyxrow_funcs
315 (hfillExpansion): move to lyxrow_funcs
319 * bufferview_funcs.C (toggleAndShow): adjust
321 * RowList.h: Remove class RowList from file leave just a
324 * RowList.C: delete file
326 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
329 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * text3.C (cursorPrevious): adjust
335 * text2.C (redoHeightOfParagraph): adjust
336 (redoDrawingOfParagraph): adjust
339 * text.C (breakParagraph): adjust
343 * rowpainter.C (RowPainter): adjust
344 (leftMargin): simplify and adjust
345 (most rowpainter functions): adjust.
347 * rowpainter.h: store the row as RowList::iterator not as Row*
349 * lyxcursor.C (row): taka RowList::iterator as arg
352 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
355 2003-04-01 Angus Leeming <leeming@lyx.org>
357 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
358 stuff like bool Bool.
360 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
362 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
365 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
367 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
370 * lyxtext.h (rows): drop one version and leve a const variant that
371 returns a RowList::iterator.
373 2003-03-31 Angus Leeming <leeming@lyx.org>
375 * text.C (fill): ensure that the signature is the same as that in the
378 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
380 * text2.C (redoParagraphs): adjust
381 (updateCounters): adjust
382 (checkParagraph): adjust
383 (getColumnNearX): adjust and reformat a bit.
385 * text.C (top_y): adjust
388 (prepareToPrint): adjust
390 (getRowNearY): adjust
392 * lyxtext.h: make rowlist_ mutable.
394 * RowList.h: add const_iterator
395 * RowList.C: adjust for RowList::const_iterator.
397 * text2.C (getCursorX): make it take a RowList::iterator as arg,
400 2003-03-31 John Levon <levon@movementarian.org>
403 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
405 * lyx_main.C: set default fonts from using lyx_gui funcs
407 * exporter.C: pdf_mode moved from lyxrc
410 * lyxfunc.C: changes from above
412 2003-03-31 John Levon <levon@movementarian.org>
414 * lyx_main.C: fix to the last fix
416 2003-03-31 John Levon <levon@movementarian.org>
418 * bufferlist.C: "Load original" -> "Load Original"
424 * format.C: more Alert cleanups
426 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
428 * text2.C (removeParagraph): make it take a RowList::iterator as
430 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
431 (postRowPaint): make it take a RowList::iterator as arg, adjust.
433 * text.C (anchor_row): make it take a RowList::iterator as arg,
435 (computeBidiTables): make it take a const reference to Row instead
436 of Row pointer, adjust.
437 (leftMargin): make it take a RowList::iterator as arg, adjust.
438 (rowBreakPoint): adjust
439 (breakAgainOneRow): make it take a RowList::iterator as arg,
441 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
443 * bufferview_funcs.C (toggleAndShow): adjust
445 2003-03-30 John Levon <levon@movementarian.org>
449 * boost-inst.C: moved to support
451 * several files: changes as a result
453 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
455 * text2.C (LyXText): adjust.
457 (removeRow): make it take a RowList::iterator as arg, adjust.
458 (fullRebreak): adjust
459 (deleteEmptyParagraphMechanism): adjust
463 * text.C (top_y): adjust
464 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
465 (breakAgain): make it take a RowList::iterator as arg, adjust.
466 (breakParagraph): adjust
470 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
471 need_break_row, and refresh_row.
473 * text3.C (dispatch): adjust
475 * text2.C (checkParagraph): adjust
477 (setCursorFromCoordinates): adjust
479 * text.C (top_y): adjust
481 (getRow): make it return a RowList::iterator, adjust
482 (getRowNearY): make it return a RowList::iterator, adjust
484 * text2.C (init): adjust
485 (insertRow): remove function
486 (insertParagraph): adjust
487 (redoParagraphs): adjust
488 (fullRebreak): adjust
489 (updateCounters): adjust
491 * text.C (top_y): rewrite to use RowList iterators.
493 (setHeightOfRow): rewrite to sue RowList iterators.
494 (appendParagraph): adjust
496 (breakAgainOneRow): adjust
497 (breakParagraph): adjust
499 (getRowNearY): adjust, and remove commented code.
501 * lyxtext.h (firstRow): delete function
502 (lastRow): delete function
503 (rows): new function (const and non-const versions.)
504 (insertRow): delete function
506 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
508 2003-03-29 John Levon <levon@movementarian.org>
510 * BufferView_pimpl.C: always update scrollbar top
511 because pasting text when we're anchored could mean we
512 miss an update altogether
514 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * text2.C (init): use rowlist_.end() and not 0.
517 (insertRow): change to take a RowList::iterator as arg, adjust
519 (insertParagraph): change to take a RowList::iterator as arg,
521 (redoParagraphs): remove some debug msgs.
523 * text.C (appendParagraph): change to take a RowList::iterator
524 arg, adjust for this.
525 (breakAgain): add an assert
526 (breakAgainOneRow): ditto
528 2003-03-29 John Levon <levon@movementarian.org>
530 * text2.C: do not clear selection after inc/decDepth
533 2003-03-29 John Levon <levon@movementarian.org>
536 * buffer.C: fix broken strerrors according to Lars
538 2003-03-29 John Levon <levon@movementarian.org>
540 * converters.C: more Alert cleanups
542 2003-03-29 John Levon <levon@movementarian.org>
544 * bufferview_funcs.C: remove pointless Alert
546 * buffer.C: fix confusing error message when
547 a template is chmoded 000
549 2003-03-29 John Levon <levon@movementarian.org>
553 * BufferView_pimpl.C: Alert fixes
557 * tabular-old.C: remove unused table compat reading
559 2003-03-29 John Levon <levon@movementarian.org>
564 * lyx_cb.C: more Alert cleanups
566 * lyxfunc.C: don't allow chktex if not latex document
568 2003-03-29 John Levon <levon@movementarian.org>
572 * buffer.C: warnings pushed down from support/,
575 2003-03-29 John Levon <levon@movementarian.org>
577 * lyxfunc.C: safety check for C-r (revert)
579 2003-03-29 John Levon <levon@movementarian.org>
582 * bufferlist.C: several UI fixes using Alert::prompt.
583 Fix the pointless looping quit code. Fix stupid revert
588 * lyx_cb.C: use Alert::prompt
590 * lyx_main.C: remove a silly question
592 * lyxfunc.C: remove a couple of silly questions,
595 2003-03-28 John Levon <levon@movementarian.org>
597 * text2.C: fix bug 974 (End on empty par)
599 2003-03-28 John Levon <levon@movementarian.org>
601 * BufferView_pimpl.C:
603 * lfuns.h: remove do-nothing math greek lfuns
605 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * lyxgluelength.h (isValidGlueLength): add default arg on
608 parameter 2. Remove default arg from friend in class.
610 * lyxlength.h (isValidLength): add default arg on parameter 2.
611 Remove default arg from friend in class.
613 * text2.C (LyXText): adjust, initialize refresh_row.
617 (insertParagraph): adjst
618 (redoParagraphs): adjust
619 (fullRebreak): adjust
620 (updateCounters): adjust
621 (deleteEmptyParagraphMechanism): first attempt at fixing a
624 * text.C (top_y): adjust
625 (setHeightOfRow): adjust
627 (getRowNearY): adjust
629 * lyxtext.h: include RowList.h
630 (~LyXText): not needed anymore, deleted.
631 (firstRow): modify for RowList
632 (lastRow): new function
633 Delete firstrow and lastrow class variables, add a Rowlist
634 rowlist_ class variable.
636 * lyxrow.C (lastPos): use empty() and not !size() to check if a
639 * RowList.C (insert): fix case where it == begin().
641 2003-03-26 Angus Leeming <leeming@lyx.org>
643 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
644 the thesaurus dialog.
646 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
648 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
650 * RowList.[Ch]: new files
652 * ParagraphList.C (erase): handle the case where it == begin
655 2003-03-25 John Levon <levon@movementarian.org>
659 * aspell.C: add new aspell support
662 * lyxrc.C: Make use_pspell be use_spell_lib. Always
665 2003-03-25 Angus Leeming <leeming@lyx.org>
668 * LyXAction.C (init): new LFUN_INSET_INSERT.
670 * BufferView_pimpl.C (dispatch): split out part of the
671 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
673 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
676 2003-03-25 Angus Leeming <leeming@lyx.org>
678 * lyxfunc.C (dispatch): changes to the Dialogs interface.
680 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
683 * text3.C: remove useless row->height(0)
685 2003-03-25 John Levon <levon@movementarian.org>
689 * text3.C: rename the refreshing stuff to better names
691 2003-03-24 John Levon <levon@movementarian.org>
693 * BufferView_pimpl.h:
694 * BufferView_pimpl.C: update layout choice on a mouse
697 2003-03-23 John Levon <levon@movementarian.org>
699 * Makefile.am: fix commandtags.h reference
701 2003-03-22 John Levon <levon@movementarian.org>
703 * BufferView_pimpl.C:
708 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
710 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
713 * text.C: take the rtl methods out of line
715 2003-03-21 André Pönitz <poenitz@gmx.net>
717 * metricsinfo.[Ch]: new files containing structures to be passed around
718 during the two-phase-drawing...
720 2003-03-21 André Pönitz <poenitz@gmx.net>
722 * lyxtextclass.C: read 'environment' tag.
724 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
726 * text2.C (removeRow): fix bug 964
728 2003-03-20 John Levon <levon@movementarian.org>
732 * text2.C: paint cleanups. Inset::update() dropped font
735 2003-03-19 John Levon <levon@movementarian.org>
737 * lyxfunc.C: only fitcursor/markDirty if available()
739 2003-03-19 John Levon <levon@movementarian.org>
741 * commandtags.h: rename to ...
743 * lfuns.h: ... this, and renumber / cleanup
745 2003-03-19 John Levon <levon@movementarian.org>
747 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
748 fit the cursor after an lfun
752 * BufferView_pimpl.h:
753 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
755 * LyXAction.C: layout-character should have ReadOnly
757 * ParagraphParameters.C:
759 * bufferview_funcs.C:
766 * undo_funcs.C: changes from above
768 2003-03-18 John Levon <levon@movementarian.org>
770 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
771 remove it from update()
773 * lyxfunc.C: update layout choice after an lfun
775 * text3.C: remove extra updateLayoutChoice()s
777 2003-03-18 John Levon <levon@movementarian.org>
779 * text.C: top_y change means full repaint, fix
780 a drawing bug with cursor movement
782 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
786 * text2.C: anchor row on setCursor
788 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
790 * lyxtext.h: remove almost all mutable keywords
793 * text3.C: remove const keywords accordingly
795 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
799 (TeXEnvironment): ditto
802 2003-03-17 John Levon <levon@movementarian.org>
804 * text.C (rowBreakPoint): remove attempt to fix displayed
805 math insets inside a manual label
807 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
809 * lyxtext.h: remove BufferView* as first arg from almost all class
811 * other files: adjust.
813 2003-03-17 John Levon <levon@movementarian.org>
817 * text2.C: more paint cleanups
819 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
822 * rowpainter.C: remove "smart" background painting code
824 2003-03-16 John Levon <levon@movementarian.org>
829 * text3.C: add helper functions for setting refresh_row/y
831 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
833 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
834 newline inset which *can* get inserted in the pass_thru layouts.
835 This is primarily for literate documents.
837 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
839 * buffer.C: increment LYX_FORMAT to 223
841 2003-03-14 André Pönitz <poenitz@gmx.net>
843 * textclass.h: prepare for environment handling, ws changes
844 * lyxlayout.C: read latexheader and latexfooter tags
846 2003-03-14 John Levon <levon@movementarian.org>
848 * text2.C: rewrite ::status() a bit
850 2003-03-13 John Levon <levon@movementarian.org>
852 * lyxtext.h: add some docs
854 2003-03-13 John Levon <levon@movementarian.org>
859 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
861 2003-03-13 John Levon <levon@movementarian.org>
863 * text3.C: fix appendix redrawing
865 2003-03-13 John Levon <levon@movementarian.org>
867 * text.C (setHeightOfRow):
869 * rowpainter.C: make appendix mark have the text
870 "Appendix" so the user knows what it is
873 * LColor.C: s/appendixline/appendix/ from above
875 2003-03-13 John Levon <levon@movementarian.org>
877 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
879 * text.C: fix a getChar(pos) bug properly
881 2003-03-13 Angus Leeming <leeming@lyx.org>
884 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
885 Probably only temporary. Let's see how things pan out.
887 * BufferView.C (unlockInset):
888 * BufferView_pimpl.C (fitCursor):
889 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
891 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
892 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
894 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
895 new functions that convert ParagraphParameters to and from a string.
897 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
898 BufferView::Pimpl's dispatch.
899 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
901 2003-03-13 André Pönitz <poenitz@gmx.net>
905 * factory.C: make it aware of InsetEnv
907 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
909 * text2.C (setCursor): never ask for one past last
910 (setCursor): add some debugging messages.
912 * text.C (singleWidth): never ask for one past last
916 (rowBreakPoint): ditto
917 (setHeightOfRow): ditto
918 (prepareToPrint): ditto
920 * rowpainter.C (paintBackground): never ask for one past last
921 (paintText): never ask for one past last
923 * paragraph_pimpl.C (getChar): make the assert stricter, never
924 allow the one past last pos to be taken
926 * paragraph.C (getChar): ws changes only
928 * lyxrow.C (nextRowIsAllInset): never ask for one past last
929 (numberOfSeparators): ditto
930 (numberOfHfills): ditto
932 2003-03-12 John Levon <levon@movementarian.org>
938 * paragraph_funcs.C: fix per-buffer authorlists
940 2003-03-12 John Levon <levon@movementarian.org>
942 * text.C: fix newline in right address
944 2003-03-12 Angus Leeming <leeming@lyx.org>
946 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
947 duplicate those in LyXFunc::dispatch.
952 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
953 Add LFUN_FONTFREE_UPDATE.
955 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
956 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
958 * bufferview_func.[Ch]: several new functions to facilliate
959 transfer of data to and from the character dialog.
961 2003-03-12 John Levon <levon@movementarian.org>
971 * text3.C: remove META_NEWLINE in favour of an inset
974 * rowpainter.C: remove paintNewline (done by inset)
976 2003-03-12 John Levon <levon@movementarian.org>
978 * paragraph_pimpl.C: complain about bad getChar()s
981 2003-03-12 John Levon <levon@movementarian.org>
984 * buffer.C: move paragraph read into a separate function,
985 a little renaming to reflect that.
988 * bufferparams.C: remove the author_ids map, not necessary now
991 * factory.C: moved Buffer::readInset to here
994 * paragraph_funcs.C: readParagraph free function moved from
997 * tabular.C: name change
999 2003-03-12 John Levon <levon@movementarian.org>
1002 * ParagraphParameters.C: move par params input to
1005 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
1006 behave like a normal read from the stream wrt reading
1007 a line vs. a \\token
1009 2003-03-12 John Levon <levon@movementarian.org>
1012 * ParagraphParameters.h:
1013 * ParagraphParameters.C: move output code to a
1016 2003-03-12 John Levon <levon@movementarian.org>
1018 * BufferView.C (insertLyXFile):
1021 * tabular.C: use a parlist iterator for creating the
1024 2003-03-12 John Levon <levon@movementarian.org>
1026 * buffer.C: make current_change static local not
1029 2003-03-12 John Levon <levon@movementarian.org>
1031 * buffer.C: fix insertStringAsLines for change tracking
1033 2003-03-12 John Levon <levon@movementarian.org>
1040 * bufferparams.C: move author list into params. Rename some
1041 functions. Move the header reading into a separate token
1042 loop. Move the header token reading into BufferParams.
1044 2003-03-12 John Levon <levon@movementarian.org>
1046 * changes.C: put debug inside lyxerr.debugging() checks
1048 2003-03-11 André Pönitz <poenitz@gmx.net>
1050 * factory.C: make it aware of InsetHFill
1052 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1054 * buffer.C (latexParagraphs): move function from here...
1055 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
1058 2003-03-10 Angus Leeming <leeming@lyx.org>
1060 * LyXAction.C (init): fix bug in poplating array with multiple entries
1061 with the same LFUN (spotted by JMarc).
1063 2003-03-10 John Levon <levon@movementarian.org>
1066 * text2.C: move getColumnNearX() near its
1069 2003-03-10 John Levon <levon@movementarian.org>
1071 * text.C: fix break before a minipage
1073 2003-03-10 John Levon <levon@movementarian.org>
1075 * text.C: fix the last commit
1077 2003-03-09 John Levon <levon@movementarian.org>
1081 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
1082 bug 365 (don't break before insets unless needed). Don't
1083 return a value > last under any circumstances.
1085 2003-03-09 Angus Leeming <leeming@lyx.org>
1087 * BufferView_pimpl.C (trackChanges, dispatch): call
1088 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
1090 2003-03-09 Angus Leeming <leeming@lyx.org>
1092 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
1093 than Dialogs::showAboutlyx().
1095 2003-03-09 Angus Leeming <leeming@lyx.org>
1097 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
1098 than Dialogs::showTabularCreate().
1100 2003-03-09 John Levon <levon@movementarian.org>
1104 * text2.C: 3rd arg to nextBreakPoint was always the same.
1107 2003-03-08 John Levon <levon@movementarian.org>
1114 * text2.C: Remove the "main" bit from the "main body"
1117 2003-03-08 John Levon <levon@movementarian.org>
1119 * text.C (leftMargin): The left margin of an empty
1120 manual label paragraph should not include the label width
1123 * text.C (prepareToPrint): don't attempt to measure hfills
1124 for empty manual label paragraphs - the answer should be 0
1126 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * CutAndPaste.C: remove commented code and reindent.
1130 2003-03-08 John Levon <levon@movementarian.org>
1133 * lyxfunc.C: move reloadBuffer()
1136 * BufferView.C: to here
1138 * lyxvc.C: add comment
1141 * vc-backend.C: call bv->reload() to avoid
1142 getStatus() check on MENURELOAD
1144 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1146 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1147 to an old format .dep file.
1149 2003-03-07 Angus Leeming <leeming@lyx.org>
1151 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1152 when the LFUN_MOUSE_RELEASE should have been handled by
1153 inset->localDispatch.
1155 2003-03-07 Angus Leeming <leeming@lyx.org>
1157 * BufferView_pimpl.C (dispatch):
1158 * LyXAction.C (init):
1159 * ToolbarDefaults.C (init):
1161 * lyxfunc.C (getStatus):
1162 remove LFUN_INSET_GRAPHICS.
1164 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1166 2003-03-07 Angus Leeming <leeming@lyx.org>
1169 * LyXAction.C (init):
1170 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1172 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1175 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1177 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1178 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1180 2003-03-07 Angus Leeming <leeming@lyx.org>
1182 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1185 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * ParagraphList.C (front): new function
1190 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1192 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1193 and top_row_offset_. removed var first_y.
1195 * text2.C (LyXText, removeRow):
1197 * BufferView_pimpl.C:
1198 use these methods instead of using first_y
1200 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * text2.C (pasteSelection): adjust for checkPastePossible
1204 * CutAndPaste.C: remove Paragraph * buf and replace with
1205 ParagraphList paragraphs.
1206 (DeleteBuffer): delete
1207 (cutSelection): change the tc type to textclass_type
1208 (copySelection): change the tc type to textclass_type
1209 (copySelection): adjust for ParagraphList
1210 (pasteSelection): change the tc type to textclass_type
1211 (pasteSelection): adjust for Paragraphlist
1212 (nrOfParagraphs): simplify for ParagraphList
1213 (checkPastePossible): simplify for ParagraphList
1214 (checkPastePossible): remove unused arg
1216 * ParagraphList.C (insert): handle the case where there are no
1219 * CutAndPaste.h: make CutAndPaste a namespace.
1221 * text3.C (dispatch): adjust
1223 * text.C (breakParagraph): add a ParagraphList as arg
1225 * paragraph_funcs.C (breakParagraph): change to take a
1226 BufferParams and a ParagraphList as args.
1227 (breakParagraphConservative): ditto
1228 (mergeParagraph): ditto
1229 (TeXDeeper): add a ParagraphList arg
1230 (TeXEnvironment): ditto
1233 * buffer.C (readLyXformat2): adjust
1234 (insertStringAsLines): adjust
1235 (latexParagraphs): adjust
1237 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1238 (cutSelection): adjust
1239 (pasteSelection): adjust
1241 * BufferView_pimpl.C (insertInset): adjust
1243 2003-03-05 Angus Leeming <leeming@lyx.org>
1246 * LyXAction.C (init):
1247 * BufferView_pimpl.C (dispatch):
1248 * lyxfunc.C (getStatus):
1249 remove LFUN_CHILD_INSERT.
1251 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1253 2003-03-05 Angus Leeming <leeming@lyx.org>
1256 * LyXAction.C (init):
1257 * src/factory.C (createInset):
1258 * lyxfunc.C (getStatus):
1259 * text3.C (dispatch):
1260 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1262 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1264 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1266 * ParagraphList.C (insert): handle insert right before end()
1267 (erase): fix cases where it can be first or last paragraph.
1269 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1272 Paragraph::next and Paragraph::previous
1275 * text.C (breakParagraph): adjust
1277 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1278 BufferParams& as arg.
1279 (breakParagraph): use ParagraphList::insert
1280 (breakParagraphConservative): take a Buffer* instead of a
1281 BufferParams& as arg.
1282 (breakParagraphConservative): use ParagraphList::insert.
1284 * buffer.C (insertStringAsLines): un-const it
1285 (insertStringAsLines): adjust
1287 * ParagraphList.C (insert): new function
1289 * CutAndPaste.C (pasteSelection): adjust
1291 * text.C (backspace): adjust
1293 * tabular.C (SetMultiColumn): adjust
1295 * CutAndPaste.C (cutSelection): adjust
1296 (pasteSelection): adjust
1298 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1299 Buffer const * as arg
1301 * ParagraphList.C (erase): new function
1302 * paragraph_funcs.C (mergeParagraph): use it
1303 (mergeParagraph): make it take a Buffer* instead of a
1304 BufferParams* as arg
1306 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1308 (breakParagraphConservative): ditto
1310 * paragraph.h: remove the breakParagraph friend
1312 * paragraph.C (eraseIntern): new function
1313 (setChange): new function
1315 * paragraph_funcs.C (mergeParagraph): make it take a
1316 ParagraphList::iterator instead of a Paragraph *, adjust
1319 * paragraph.h: move an #endif so that the change tracking stuff
1320 also works in the NO_NEXT case.
1322 2003-03-04 Angus Leeming <leeming@lyx.org>
1325 * LyXAction.C: new LFUN_INSET_MODIFY.
1327 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1328 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1330 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1332 * several files: ws changes only
1334 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1335 (TeXEnvironment): ditto
1338 * buffer.C (makeLaTeXFile): adjust
1339 (latexParagraphs): make it take ParagraphList::iterator as args
1341 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * buffer.C (latexParagraphs): adjust
1345 * paragraph.C (TeXOnePar): move function...
1346 (optArgInset): move function...
1347 (TeXEnvironment): move function...
1348 * paragraph_pimpl.C (TeXDeeper): move function...
1349 * paragraph_funcs.C: ...here
1351 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1353 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * buffer.C (readInset): remove compability code for old Figure and
1358 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * buffer.C: ws changes
1363 * BufferView_pimpl.C: ditto
1366 * bufferlist.h: ditto
1370 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1372 * converter.[Ch]: split into itself +
1375 * Makefile.am: += graph.[Ch] + format.[Ch]
1382 * lyxrc.C: added #include "format.h"
1384 2003-02-27 Angus Leeming <leeming@lyx.org>
1386 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1389 * factory.C (createInset): add "label" to the factory.
1391 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1392 string and do no more.
1394 2003-02-27 Angus Leeming <leeming@lyx.org>
1397 * LyXAction.C (init):
1398 * factory.C (createInset):
1399 * BufferView_pimpl.C (dispatch):
1400 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1402 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1404 * lyxfunc.C (dispatch):
1405 * text3.C (dispatch): pass name to params2string.
1407 2003-02-26 Angus Leeming <leeming@lyx.org>
1409 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1411 Rearrange the ~includes. Strip out the unnecessary ones.
1413 * factory.C (createInset): reformat.
1414 create new insets for the various LFUN_XYZ_APPLY lfuns.
1416 2003-02-26 John Levon <levon@movementarian.org>
1419 * lyxrow.C: add isParStart,isParEnd helpers
1421 * paragraph.h: make isInserted/DeletedText take refs
1423 * paragraph_funcs.h:
1424 * paragraph_funcs.C: remove #if 0'd code
1429 * text.C: use lyxrow helpers above.
1430 Move draw and paint routines to RowPainter.
1431 Make several methods use refs not pointers.
1432 Make backgroundColor() const.
1433 Add markChangeInDraw(), isInInset().
1434 Merge changeRegionCase into changeCase.
1435 Make workWidth() shouldn't-happen code into an Assert.
1438 * rowpainter.C: new class for painting a row.
1441 * vspace.C: make inPixels take a ref
1443 2003-02-26 Angus Leeming <leeming@lyx.org>
1445 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1448 2003-02-25 John Levon <levon@movementarian.org>
1450 * ispell.C: give the forked command a more accurate name
1452 2003-02-22 John Levon <levon@movementarian.org>
1455 * toc.C: make TocItem store an id not a Paragraph *
1458 2003-02-21 Angus Leeming <leeming@lyx.org>
1460 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1461 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1462 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1463 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1464 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1465 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1467 * BufferView_pimpl.C (dispatch):
1468 * LyXAction.C (init):
1469 * factory.C (createInset):
1470 * lyxfunc.C (getStatus, dispatch):
1471 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1473 2003-02-21 Angus Leeming <leeming@lyx.org>
1475 * BufferView_pimpl.C (MenuInsertLyXFile):
1476 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1477 * lyxfunc.C (menuNew, open, doImport):
1478 no longer pass a LyXView & to fileDlg.
1480 2003-02-21 Angus Leeming <leeming@lyx.org>
1482 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1483 * LyXAction.C: change, BIBKEY to BIBITEM.
1484 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1485 Change InsetBibKey to InsetBibitem.
1486 Change BIBKEY_CODE to BIBITEM_CODE.
1487 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1488 * factory.C: replace insetbib.h with insetbibitem.h.
1489 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1490 * paragraph.C: replace insetbib.h with insetbibitem.h.
1491 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1492 Change bibkey() to bibitem().
1493 * text.C: remove insetbib.h.
1494 * text2.C: replace insetbib.h with insetbibitem.h.
1495 change bibkey() to bibitem().
1496 * text3.C: remove insetbib.h.
1497 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1499 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1501 * lyxrc.C (output): enclose user email in quotes (in case there are
1504 2003-02-18 John Levon <levon@movementarian.org>
1506 * buffer.h: add std::
1508 2003-02-17 John Levon <levon@movementarian.org>
1514 * pspell.C: reworking. Especially in ispell, a large
1515 number of clean ups and bug fixes.
1517 * lyxfunc.C: fix revert to behave sensibly
1519 2003-02-17 André Pönitz <poenitz@gmx.net>
1522 * commandtags.h: new LFUN_INSERT_BIBKEY
1532 * paragraph_func.C: remove special bibkey handling
1534 2003-02-17 John Levon <levon@movementarian.org>
1536 * text.C (Delete): fix case where delete at the end of
1537 the very first paragraph would not merge the pars
1539 2003-02-17 John Levon <levon@movementarian.org>
1541 * lyxrow.C: fix lastPrintablePos()
1543 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1545 * bufferparams.C (writeLaTeX): add a std:here
1547 * buffer.C: and remove a using directive there
1549 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1551 * buffer.C (makeLaTeXFile): move the code that generates the
1554 * bufferparams.C (writeLaTeX): ... in this new method
1556 * LaTeXFeatures.C (getEncodingSet): make const
1557 (getLanguages): make const
1559 * MenuBackend.C (binding): returns the binding associated to this
1561 (add): sets the status of each item by calling getStatus. Adds
1563 (read): add support for OptSubMenu
1564 (expand): remove extra separator at the end of expanded menu
1566 2003-02-15 John Levon <levon@movementarian.org>
1569 * BufferView_pimpl.C:
1571 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1572 inset code that had no actual effect. Remove unneeded status
1575 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1577 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1580 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1582 * text.C (drawLengthMarker): also draw an arrow marker for
1583 symbolic lengths (medskip...)
1585 2003-02-14 John Levon <levon@movementarian.org>
1588 * tabular.C: better method names
1590 2003-02-14 John Levon <levon@movementarian.org>
1592 * BufferView_pimpl.C:
1597 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1598 it's a more accurate name. Remove some pointless uses.
1600 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1602 * text2.C (LyXText): change order of initilizers to shut off
1605 2003-02-14 John Levon <levon@movementarian.org>
1607 * buffer.C: use ParIterator for getParFromID()
1611 * paragraph_pimpl.h:
1612 * paragraph_pimpl.C: remove unused getParFromID()
1614 2003-02-14 John Levon <levon@movementarian.org>
1616 * buffer.C: remove some very old #if 0'd parse code
1618 2003-02-13 John Levon <levon@movementarian.org>
1622 * text2.C: move hfillExpansion(), numberOfSeparators(),
1623 rowLast(), rowLastPrintable(), numberofHfills(),
1624 numberOfLabelHfills() ...
1627 * lyxrow.C: ... to member functions here.
1632 * text.C: remove LyXText::beginningOfMainBody(), and call
1633 p->beginningOfMainBody() directly. Move the check for
1634 LABEL_MANUAL into the latter.
1641 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1647 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1648 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1650 2003-02-13 John Levon <levon@movementarian.org>
1652 * CutAndPaste.C: remove debug
1654 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1656 * paragraph.C (asString): remove two unused variables
1658 * lyxtextclass.C (readTitleType):
1660 (LyXTextClass): handle new members titletype_ and titlename_
1662 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1664 2003-02-09 John Levon <levon@movementarian.org>
1667 * buffer.C: replace hand-coded list with a map for the dep clean
1669 2003-02-08 John Levon <levon@movementarian.org>
1671 * LaTeX.C: consolidate code into showRunMessage() helper
1673 2003-02-08 John Levon <levon@movementarian.org>
1678 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1679 and pass the size in explicitly
1681 * BufferView_pimpl.h:
1682 * BufferView_pimpl.C:
1684 * BufferView.C: add getCurrentChange()
1686 * BufferView_pimpl.h:
1687 * BufferView_pimpl.C: handle change lfuns
1689 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1690 for changes. Mark pasted paragraphs as new.
1692 * support/lyxtime.h:
1693 * support/lyxtime.C:
1694 * DepTable.C: abstract time_t as lyx::time_type
1697 * LColor.C: add colours for new text, deleted text, changebars
1699 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1700 package use "usenames" option.
1704 * LyXAction.C: add change lfuns
1708 * author.C: author handling
1711 * buffer.C: add a per-buffer author list, with first entry as
1712 current author. Handle new .lyx tokens for change tracking. Output
1713 author list to .lyx file. Output dvipost stuff to .tex preamble.
1714 Bump lyx format to 222.
1717 * bufferlist.C: add setCurrentAuthor() to reset current author details
1721 * bufferparams.C: add param for tracking
1723 * bufferview_funcs.C: output change info in minibuffer
1727 * changes.C: add change-tracking structure
1730 * debug.C: add CHANGES debug flag
1733 * lyxfind.C: add code for finding the next change piece
1736 * lyxrc.C: add user_name and user_email
1739 * lyxrow.C: add a metric for the top of the text line
1742 * text.C: implement accept/rejectChange()
1745 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1746 Strike through deleted text.
1750 * paragraph_pimpl.h:
1751 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1752 to the insert functions. Rework erase to mark text as deleted, adding
1753 an eraseIntern() and a range-based erase(). Implement
1754 per-paragraph change lookup and accept/reject.
1756 * paragraph_funcs.C: Fixup paste for change tracking.
1758 * tabular.C: mark added row/columns as new.
1760 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1761 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1763 * text2.C: leave cursor at end of selection after a cut.
1765 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1767 * text.C (getLengthMarkerHeight):
1768 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1769 visible on screen too.
1771 2003-02-07 John Levon <levon@movementarian.org>
1773 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1775 2003-02-05 Angus Leeming <leeming@lyx.org>
1777 * lyxserver.C (read_ready): revert my patch of 11 September last year
1778 as it sends PC cpu through the roof. Presumably this means that
1779 the lyxserver will no longer run on an Alpha...
1781 2003-01-30 Angus Leeming <leeming@lyx.org>
1783 * factory.C (createInset): create an InsetCommandParam of type "index"
1784 and use it to 'do the right thing'.
1786 * text2.C (getStringToIndex): ensure that cursor position is always
1787 reset to the reset_cursor position.
1789 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1791 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1794 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1798 * lyxfunc.C: Output messages with identical spelling, punctuation,
1801 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1803 * MenuBackend.C (expandFormats): List only viewable export formats
1806 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1809 * lyxfunc.C (getStatus): Make sure that formats other than
1810 "fax" can also be disabled
1812 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1814 * text3.C (dispatch): put the lfuns that insert insets in 3
1815 groups, and call doInsertInset with appropriate arguments.
1816 (doInsertInset): new function, that creates an inset and inserts
1817 it according to some boolean parameters.
1819 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1821 * buffer.C (readFile): remember to pass on 'par' when calling
1822 readFile recursively.
1824 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1826 * MenuBackend.C (expandFormats): add "..." to import formats.
1828 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1830 * paragraph.C (asString): Remove XForms RTL hacks.
1832 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1833 * buffer.C: fix typo
1835 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1837 * Makefile.am (LIBS): delete var
1838 (lyx_LDADD): add @LIBS@ here instead.
1840 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1842 * Clarify the meaning of "wheel mouse jump"
1844 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1846 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1849 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1851 * importer.C (Loaders): do not preallocate 3 elements in the
1852 vector, since one ends up with 6 elements otherwise
1854 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1856 * DepTable.C (write): write the file name as last element of the
1857 .dep file (because it may contain spaces)
1858 (read): read info in the right order
1860 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1862 * paragraph_pimpl.C (simpleTeXBlanks):
1863 (simpleTeXSpecialChars):
1864 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1866 * tabular.C (latex): add some missing case statements. Reindent.
1868 * MenuBackend.C (expandToc): remove unused variable.
1870 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1879 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1882 2003-01-05 John Levon <levon@movementarian.org>
1885 * BufferView.C: add getEncoding()
1888 * kbsequence.C: do not store last keypress
1891 * lyxfunc.C: store last keypress here instead. Pass encoding
1894 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1896 * lyx_main.C (init): remove annoying error message when following
1897 symbolic links (bug #780)
1899 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1901 * text.C (insertChar):
1902 * lyxrc.C (getDescription): remove extra spaces
1904 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1906 * lyxrc.C (getDescription): remove extra spaces
1908 2002-12-20 John Levon <levon@movementarian.org>
1910 * text3.C: hack fix for page up/down across tall rows
1912 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1914 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1917 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1919 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1920 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1921 thesaurus is not compiled in
1923 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1925 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1927 2002-12-16 Angus Leeming <leeming@lyx.org>
1930 * lyx_main.C (init): remove override_x_deadkeys stuff.
1932 2002-12-12 John Levon <levon@movementarian.org>
1934 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1935 insert. Only remove shift modifier under strict
1938 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * MenuBackend.C (expandToc): fix crash.
1942 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1944 * MenuBackend.C (expandToc): gettext on float names.
1946 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1948 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1949 implement bool empty() [bug 490]
1951 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1953 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1955 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1957 * several files: ws changes
1959 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * text2.C (setCounter): clean up a bit, use boost.format.
1962 (updateCounters): initialize par upon declaration.
1964 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1965 if the layout exists. We do not just store the layout any more.
1966 (SwitchLayoutsBetweenClasses): use boost.format
1968 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1970 * converter.C (convert): if from and to files are the same, use a
1971 temporary files as intermediary
1973 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1976 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1978 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1980 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1982 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1984 * tabular.C (asciiPrintCell): use string(size, char) instead of
1987 * sgml.C (openTag): fix order of arguments to string constructor
1990 * lyxfunc.C (dispatch): use boost.format
1992 * lots of files: change "c" -> 'c'
1994 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1996 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1998 2002-11-25 Angus Leeming <leeming@lyx.org>
2000 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
2002 * lyx_main.C (init): compile fix.
2004 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * lyx_cb.C (start): boost.formatify
2007 do not include <iostream>
2009 * lengthcommon.C: ws only
2011 * boost-inst.C,BoostFormat.h: add more explict instantations
2013 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2015 * lots of files: handle USE_BOOST_FORMAT
2017 2002-11-21 John Levon <levon@movementarian.org>
2019 * pspell.C: fix compile
2021 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2023 * lyxfunc.C (dispatch): use boost::format
2027 * lyxfont.C (stateText): use boost::format
2029 * lyx_main.C (LyX): use boost::format
2031 (queryUserLyXDir): ditto
2034 (typedef boost::function): use the recommened syntax.
2036 * importer.C (Import): use boost::format
2038 * debug.C (showLevel): use boost::format
2040 * converter.C (view): use boost::format
2045 * bufferview_funcs.C (currentState): use boost::format
2047 * bufferlist.C (emergencyWrite): use boost::format
2049 * buffer.C (readLyXformat2): use boost::format
2050 (parseSingleLyXformat2Token): ditto
2052 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
2054 * LaTeX.C (run): use boost::format
2056 * Chktex.C (scanLogFile): use boost::format
2058 * BufferView_pimpl.C (savePosition): use boost::format
2059 (restorePosition): ditto
2060 (MenuInsertLyXFile): ditto
2062 * BoostFormat.h: help file for explicit instation.
2064 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2066 * tabular.C (latex): Support for block alignment in fixed width
2069 2002-11-17 John Levon <levon@movementarian.org>
2071 * BufferView_pimpl.C:
2073 * lyxfunc.C: split filedialog into open/save
2075 2002-11-08 Juergen Vigna <jug@sad.it>
2077 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
2078 by my last patch (hopefully).
2080 2002-11-08 John Levon <levon@movementarian.org>
2089 * toc.C: ParConstIterator, and use it (from Lars)
2091 2002-11-07 Ben Stanley <bds02@uow.edu.au>
2093 * lyxtextclass.[Ch]: revise and add doxygen comments
2095 2002-11-07 John Levon <levon@movementarian.org>
2097 * text.C: fix progress value for spellchecker
2099 * toc.C: fix navigate menu for insetwrap inside minipage
2101 * paragraph_funcs.C: added FIXME for suspect code
2103 2002-11-07 John Levon <levon@movementarian.org>
2105 * BufferView_pimpl.C: fix redrawing of insets
2108 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2110 * text2.C (updateCounters): fix bug 668
2112 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
2114 * text3.C (dispatch): Do not make the buffer dirty when moving the
2117 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2119 * vc-backend.C: STRCONV
2122 * text2.C (setCounter): STRCONV
2124 * paragraph.C (asString): STRCONV
2126 * lyxlength.C (asString): STRCONV
2127 (asLatexString): ditto
2129 * lyxgluelength.C (asString): STRCONV
2130 (asLatexString): ditto
2132 * lyxfunc.C (dispatch): STRCONV
2135 * lyxfont.C (stateText): STRCONV
2137 * importer.C (Import): STRCONV
2139 * counters.C (labelItem): STRCONV
2140 (numberLabel): ditto
2141 (numberLabel): remove unused ostringstream o
2146 * bufferview_funcs.C (currentState): STRCONV
2148 * buffer.C (readFile): STRCONV
2149 (asciiParagraph): ditto
2150 (makeLaTeXFile): ditto
2152 * Spacing.C (writeEnvirBegin): STRCONV
2154 * LaTeXFeatures.C (getLanguages): STRCONV
2155 (getPackages): ditto
2157 (getBabelOptions): ditto
2158 (getTClassPreamble): ditto
2159 (getLyXSGMLEntities): ditto
2160 (getIncludedFiles): ditto
2164 (scanAuxFile): ditto
2167 * LString.h: add the STRCONV macros
2169 * BufferView_pimpl.C (savePosition): STRCONV
2170 (restorePosition): ditto
2171 (MenuInsertLyXFile): ditto
2173 * vc-backend.C (scanMaster): change from submatch[...] to
2176 * funcrequest.C: include config.h
2178 * factory.C: include config.h
2180 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2182 * box.C: include config.h
2184 * LaTeX.C (scanAuxFile): change from submatch[...] to
2188 2002-10-25 Angus Leeming <leeming@lyx.org>
2190 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2192 * ispell.[Ch] (setError): new method.
2193 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2194 Use setError() insetead of goto END.
2196 * lyx_cb.C (AutoSave): move out child process into new class
2199 2002-10-30 John Levon <levon@movementarian.org>
2201 * text3.C: make start appendix undoable
2203 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2205 * lyxlength.C (inPixels): Fix returned value.
2207 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2210 2002-10-24 Angus Leeming <leeming@lyx.org>
2212 * lyxgluelength.h: no need to forward declare BufferParams
2213 or BufferView, so don't.
2215 2002-10-21 John Levon <levon@movementarian.org>
2217 * BufferView.C: menuUndo ->undo, redo
2219 * BufferView.h: document, remove dead, make some methods private
2221 * paragraph_funcs.h:
2222 * paragraph_funcs.C:
2223 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2228 * sgml.C: move sgml open/close tag into sgml.C
2230 * bufferview_funcs.h: unused prototype
2233 * lyxfunc.C: remove unused
2236 * text.C: remove unused
2238 2002-10-21 John Levon <levon@movementarian.org>
2242 * BufferView_pimpl.h:
2243 * BufferView_pimpl.C: fix mouse wheel handling based on
2244 patch from Darren Freeman
2246 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2248 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2250 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2252 * lyxlength.C (inPixels): Fix hanfling of negative length.
2253 Fix LyXLength::MU case.
2255 2002-10-16 John Levon <levon@movementarian.org>
2257 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2259 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2261 * converter.C (view): add support for $$i (file name) and $$p
2262 (file path) for the viewer command. If $$i is not specified, then
2263 it is appended to the command (for compatibility with old syntax)
2265 2002-10-14 Juergen Vigna <jug@sad.it>
2267 * undo_funcs.C (textHandleUndo): alter the order in which the
2268 new undopar is added to the LyXText, as we have to set first
2269 the right prev/next and then add it as otherwise the rebuild of
2270 LyXText is not correct. Also reset the cursor to the right paragraph,
2271 with this IMO we could remove the hack in "redoParagraphs()".
2273 2002-10-09 Angus Leeming <leeming@lyx.org>
2275 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2276 to turn off an optimisation if a new inset is to be inserted.
2278 2002-10-11 André Pönitz <poenitz@gmx.net>
2280 * lyxtext.h: make some functions public to allow access
2281 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2283 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2285 * text3.C (dispatch): when changing layout, avoid an infinite loop
2288 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2290 * lyxrc.C (read): treat a viewer or converter command of "none" as
2293 * MenuBackend.C (expandFormats): for an update, also allow the
2294 formats that are not viewable
2296 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2297 script if it is newer than the lyxrc.defaults in user directory
2299 2002-10-07 André Pönitz <poenitz@gmx.net>
2301 * text.C: Vitaly Lipatov's small i18n fix
2303 2002-09-25 Angus Leeming <leeming@lyx.org>
2305 * ispell.h: doxygen fix.
2307 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2309 * buffer.h (readFile): Add a new argument to the method, to allow
2310 reading of old-format templates.
2312 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2314 * toc.C (getTocList): Get TOC from InsetWrap.
2316 2002-09-16 John Levon <levon@movementarian.org>
2318 * lyxfunc.C: check tabular for cut/copy too
2320 2002-09-12 John Levon <levon@movementarian.org>
2325 * factory.C: add header
2327 * paragraph_funcs.h:
2328 * paragraph_funcs.C: cleanup
2330 2002-09-11 John Levon <levon@movementarian.org>
2332 * PrinterParams.h: odd/even default to true
2334 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2336 * PrinterParams.h: update printer parameters for new xforms dialog
2338 2002-09-11 Angus Leeming <leeming@lyx.org>
2340 * lyxserver.C (read_ready): re-write to make it more transparent
2341 and to make it work in coherent fashion under Tru64 Unix.
2343 2002-09-11 André Pönitz <poenitz@gmx.net>
2347 * text3.C: implement LFUN_WORDSEL
2349 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2352 make floatlist_ a boost::shared_ptr<FloatList>
2354 * lyxtextclass.C: include FloatList.h
2355 (LyXTextClass): initialize floatlist_
2356 (TextClassTags): add TC_NOFLOAT
2357 (Read): match "nofloat" to TC_NOFLOAT and use it.
2358 (readFloat): modify call to floatlist_
2362 * FloatList.[Ch] (FloatList): remove commented out float
2364 (erase): new function
2366 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2368 * MenuBackend.C (expandToc): fix crash when there is no document
2371 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2373 * many files: Add insetwrap.
2375 2002-09-09 John Levon <levon@movementarian.org>
2377 * text2.C: remove confusing and awkward depth wraparound
2379 2002-09-09 John Levon <levon@movementarian.org>
2381 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2384 * buffer.C: remove getIncludeonlyList()
2387 * lyxfunc.C: remove headers
2389 2002-09-09 Juergen Vigna <jug@sad.it>
2391 * text.C (getColumnNearX): fix form Michael this is most
2392 probably a cut&paste bug.
2394 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2396 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2398 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2399 references, ws changes.
2401 * text2.C (init): update counters after init
2402 (insertParagraph): no need to set counter on idividual paragraphs.
2403 (setCounter): access the counters object in the textclass object
2404 on in the buffer object.
2405 (updateCounters): ditto
2407 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2408 shared_ptr<Counters> to avoid loading counters.h in all
2410 (LyXTextClass): initialize ctrs_
2411 (TextClassTags): add TC_COUNTER, and ...
2412 (Read): use it here.
2413 (CounterTags): new tags
2414 (readCounter): new function
2415 (counters): new funtion
2416 (defaultLayoutName): return a const reference
2418 * counters.C (Counters): remove contructor
2419 (newCounter): remove a couple of unneeded statements.
2420 (newCounter): simplify a bit.
2421 (numberLabel): some small formatting changes.
2423 * buffer.[Ch]: remove all traces of counters, move the Counters
2424 object to the LyXTextClass.
2426 2002-09-06 Alain Castera <castera@in2p3.fr>
2428 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2429 package to set the horizontal alignment on fixed width columns.
2432 * lyx_sty.h: added tabularnewline macro def.
2434 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2436 2002-09-06 John Levon <levon@movementarian.org>
2438 * LyXAction.C: tooltips for sub/superscript
2440 * MenuBackend.C: a bit more verbose
2442 * lyxfunc.C: tiny clean
2444 * undo_funcs.C: document undo_frozen
2446 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * counters.C (Counters): add missing algorithm counter.
2450 * text2.C (setCounter): lookup the counter with layouts latexname
2451 instead of by section number.
2452 (setCounter): use a hackish way to lookup the correct enum
2454 a float name->type change
2455 reset enum couners with counter name directly instead of depth value.
2457 * counters.C (Counters): remove the push_backs, change to use the
2458 float type not the float name.
2459 (labelItem): remove unused string, float name->type change
2461 * counters.h: don't include vector, loose the enums and sects vectors
2463 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2466 (Read): add float->TC_FLOAT to textclassTags
2467 (Read): and handle it in the switch
2468 (readFloat): new function
2470 * FloatList.C (FloatList): comment out the hardcoded float
2473 * lyxlayout.h: ws change.
2475 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2477 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2479 2002-09-03 Angus Leeming <leeming@lyx.org>
2481 * BufferView_pimpl.h: qualified name is not allowed in member
2482 declaration: WorkArea & Pimpl::workarea() const;
2484 * factory.C: added using std::endl directive.
2486 * text3.C: added using std::find and std::vector directives.
2488 2002-08-29 André Pönitz <poenitz@gmx.net>
2491 * text2.C: remove unused member number_of_rows
2494 * BufferView2.C: remove file, move contents to...
2495 * BufferView.C: ... here
2497 * BufferView_pimpl.C:
2498 * factory.C: move more inset creation to factory
2500 * vspace.C: avoid direct usage of LyXText, ws changes
2503 don't provide direct access to WorkArea, use two simple
2504 acessors haveSelction() and workHeight() instead
2507 2002-08-29 John Levon <levon@movementarian.org>
2509 * BufferView_pimpl.C (dispatch): do not continue when
2512 2002-08-28 André Pönitz <poenitz@gmx.net>
2514 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2517 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2519 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2521 * buffer.C: increment LYX_FORMAT to 221
2523 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2524 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2526 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2528 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2530 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2532 * factory.C (createInset): use LyXTextClass::floats
2534 * MenuBackend.C (expandFloatListInsert):
2535 (expandFloatInsert):
2538 * text2.C (setCounter):
2540 * LaTeXFeatures.C (useFloat):
2541 (getFloatDefinitions):
2543 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2545 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2546 floatlist_, with accessor floats().
2548 * FloatList.h: remove global FloatList
2550 2002-08-26 André Pönitz <poenitz@gmx.net>
2552 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2556 * BufferView_pimpl.C:
2557 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2559 2002-08-25 John Levon <levon@movementarian.org>
2561 * LyXAction.C: fix margin note description
2563 2002-08-24 John Levon <levon@movementarian.org>
2567 * bufferview_funcs.C:
2569 * undo_funcs.C: cleanups
2571 * lyxfunc.C: disable CUT/COPY when no selection
2573 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2575 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2576 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2578 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2579 Add backward compatibility to "mono", "gray" and "no".
2581 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2583 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2584 (and file_format >= 200).
2586 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2588 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2590 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2592 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2594 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2596 * BufferView_pimpl.C:
2603 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2604 inset and code to make it work with the paragraph code. The inset
2605 can be anywhere in the paragraph, but will only do the expected
2606 thing in LaTeX if the layout file contains the parameter line
2608 (or more generally, a nonzero value) for that layout.
2610 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * paragraph.h: remove the declaration of undefined counters class
2615 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2617 * text2.C (setCounter): fixed enumeration mis-count as reported by
2618 Dr. Richard Hawkins.
2620 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2622 * paragraph_funcs.h: remove some unneeded includes
2624 * text.C (backspace): pasteParagraph now in global scipe
2626 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2627 (pasteSelection): ditto
2629 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2630 * paragraph_funcs.C (pasteParagraph): ... here
2632 2002-08-20 André Pönitz <poenitz@gmx.net>
2634 * commandtags.h: new LFUNs for swapping/copying table row/colums
2637 * lyxfunc.C: support for new lfuns
2639 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2642 * buffer.[Ch]: remove NO_COMPABILITY stuff
2644 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2646 * boost.C (throw_exception): new file, with helper function for
2647 boost compiled without exceptions.
2652 * ParameterStruct.h:
2653 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2655 * bufferlist.C (emergencyWriteAll): use boost bind
2657 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2659 * text.C: include paragraph_funcs.h
2660 (breakParagraph): breakParagraph is now in global scope
2662 * paragraph_funcs.[Ch]: new files
2664 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2667 * buffer.C: include paragraph_funcs.h
2668 (insertStringAsLines): breakParagraph is now in global scope
2670 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2673 * CutAndPaste.C: include paragraph_funcs.h
2674 (cutSelection): breakParagraphConservative is now in global scope
2675 (pasteSelection): ditto
2677 * buffer.h: declare oprator== and operator!= for
2678 Buffer::inset_iterator
2680 * bufferlist.C (emergencyWrite): don't use fmt(...)
2682 * text3.C: add using std::endl
2684 * BufferView.C (moveCursorUpdate): remove default arg
2686 2002-08-20 André Pönitz <poenitz@gmx.net>
2688 * buffer.[Ch]: move inline functions to .C
2691 * BufferView_pimpl.C:
2693 * buffer.[Ch]: use improved inset_iterator
2696 * paragraph.[Ch]: write one paragraph at a time
2698 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2700 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2701 style if style is not specified.
2703 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2705 * text2.C (setCounter): when searching for right label for a
2706 caption, make sure to recurse to parent insets (so that a caption
2707 in a minipage in a figure float works) (bug #568)
2709 2002-08-20 André Pönitz <poenitz@gmx.net>
2711 * text3.C: new file for LyXText::dispatch() and helpers
2713 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2715 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2717 2002-08-19 André Pönitz <poenitz@gmx.net>
2720 * text.C: new LyXText::dispatch()
2722 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2724 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2726 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2728 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2731 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2733 * Makefile.am: use $(variables) instead of @substitutions@
2735 2002-08-15 André Pönitz <poenitz@gmx.net>
2738 * BufferView_pimpl.C: streamlining mathed <-> outer world
2742 * LyXAction.C: remove unused LFUN_MATH
2744 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2748 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * paragraph.C (Paragraph): reformat a bit
2751 (cutIntoMinibuffer): use builtin InsetList function instad of
2755 * buffer.C: include boost/bind.hpp, add using std::for_each
2756 (writeFileAscii): use ParagraphList iterators
2757 (validate): use for_each for validate traversal of paragraphs
2758 (getBibkeyList): use ParagraphList iterators
2759 (resizeInsets): use for_each to resizeInsetsLyXText for all
2761 (getParFromID): use ParagraphList iterators
2763 * BufferView2.C (lockInset): use paragraph list and iterators
2765 2002-08-14 John Levon <levon@movementarian.org>
2767 * lyxserver.C: remove spurious xforms include
2769 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2771 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2773 2002-08-13 André Pönitz <poenitz@gmx.net>
2776 * lyxfunc.C: further cleaning
2778 2002-08-13 André Pönitz <poenitz@gmx.net>
2780 * funcrequest.h: new constructor
2782 * funcrequest.C: move stuff here from .h
2785 * BufferView_pimpl.C:
2788 * lyxfunc.C: subsequent changes
2790 * lyxfunc.h: new view() member function
2792 * lyxfunc.C: subsequent changes
2794 2002-08-13 Angus Leeming <leeming@lyx.org>
2797 * BufferView_pimpl.C:
2805 changes due to the changed LyXView interface that now returns references
2806 to member variables not pointers.
2808 2002-08-13 Angus Leeming <leeming@lyx.org>
2810 * WordLangTuple (word, lang_code): return references to strings,
2815 * lyxtext.h: forward-declare WordLangTuple.
2820 * text.C: #include "WordLangTuple.h".
2823 * text.C: (selectNextWordToSpellcheck): constify return type.
2825 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2831 * paragraph_pimpl.h:
2834 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2836 Made updateCounter always count from start of buffer, and removed
2837 second argument (par).
2838 Reverted floats number display to '#'. Perhaps I'll try again when the
2839 code base is sanitized a bit.
2841 2002-08-12 Angus Leeming <leeming@lyx.org>
2843 * buffer.[Ch] (getLabelList): constify.
2845 2002-08-07 André Pönitz <poenitz@gmx.net>
2847 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2849 * funcrequest.h: extension to keep mouse (x,y) position
2851 2002-08-12 Juergen Vigna <jug@sad.it>
2853 * BufferView2.C (insertErrors): forbid undo when inserting error
2856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2858 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * ParagraphList.[Ch]: new files
2862 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2864 * BufferView2.C (lockInset): ParagraphList changes
2867 * bufferlist.C: ditto
2871 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2873 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2874 unused class variable counter_,
2876 * paragraph.[Ch] (getFirstCounter): delete unused function
2878 * counters.C: include LAssert.h
2879 (reset): add a new function with no arg, change other version to
2880 not have def. arg and to not allow empty arg.
2882 * text2.C (setCounter): remove empty arg from call to Counters::reset
2884 2002-08-11 John Levon <levon@movementarian.org>
2886 * Makefile.am: add WordLangTuple.h
2888 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2891 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2893 * insets/insettext.C: InsetList changes
2895 * graphics/GraphicsSupport.C (operator()): InsetList changes
2897 * toc.C (getTocList): InsetList changes
2899 * paragraph_pimpl.[Ch]: InsetList changes
2901 * paragraph.[Ch]: InsetList changes
2903 * buffer.C (inset_iterator): InsetList changes
2904 (setParagraph): ditto
2905 * buffer.h (inset_iterator): ditto
2906 * iterators.C (operator++): ditto
2907 * iterators.h: ditto
2909 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2911 * InsetList.[Ch]: new files, most InsetList handling moved out of
2914 * BufferView2.C (removeAutoInsets): InsetList changes
2916 (ChangeInsets): ditto
2918 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * paragraph_pimpl.h (empty): new function
2922 * paragraph.[Ch] (empty): new function
2924 * other files: use the new Paragraph::empty function
2926 2002-08-09 John Levon <levon@movementarian.org>
2928 * lyxtext.h: remove unused refresh_height
2930 2002-08-09 John Levon <levon@movementarian.org>
2937 * paragraph.C: move sgml char escaping out of paragraph
2940 * paragraph.C: remove id setter
2944 * paragraph_pimpl.C: remove dead tex_code_break_column
2946 * bufferview_funcs.C: small cleanup
2948 * lyxfunc.C: remove dead proto
2950 * lyxtext.h: make some stuff private. Remove some dead stuff.
2952 * lyxgluelength.C: make as[LyX]String() readable
2954 2002-08-08 John Levon <levon@movementarian.org>
2959 * ToolbarDefaults.C:
2962 * toc.C: lyxaction cleanup
2964 2002-08-08 John Levon <levon@movementarian.org>
2966 * BufferView2.C: small cleanup
2969 * lyxfind.C: move unnecessary header into the .C
2971 2002-08-08 John Levon <levon@movementarian.org>
2973 * funcrequest.h: just tedious nonsense
2976 * lyx_main.C: cleanups
2979 * vspace.C: remove dead header lyx_main.h
2981 2002-08-07 Angus Leeming <leeming@lyx.org>
2984 * paragraph_pimpl.h:
2985 Forward declare class Counters in paragraph.h by moving the ctrs member
2986 variable into Paragraph::Pimpl.
2987 (counters): new method, returning a reference to pimpl_->ctrs.
2989 * text2.C: ensuing changes.
2991 2002-08-07 John Levon <levon@movementarian.org>
2993 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2995 * BufferView_pimpl.C: announce X selection on double/triple
2998 * lyx_main.C: use correct bool in batch dispatch
3000 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
3002 2002-08-07 André Pönitz <poenitz@gmx.net>
3004 * funcrequest.h: new class to wrap a kb_action and its argument
3007 * BufferView_pimpl[Ch]:
3011 * lyxrc.C: subsequent changes
3014 2002-08-07 John Levon <levon@movementarian.org>
3016 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
3017 document options change.
3019 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3024 * makefile.am: move counters functionality over from
3025 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
3027 2002-08-06 John Levon <levon@movementarian.org>
3029 * WordLangTuple.h: new file for word + language code tuple
3040 * BufferView2.C: use WordLangTuple
3043 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
3045 2002-08-06 John Levon <levon@movementarian.org>
3047 * lyx_main.C: fix cmdline batch handling
3049 2002-08-06 André Pönitz <poenitz@gmx.net>
3051 * lyxrc.C: set default for show_banner to true
3053 2002-08-06 John Levon <levon@movementarian.org>
3055 * pspell.C: fix a crash, and allow new aspell to work
3057 2002-08-06 John Levon <levon@movementarian.org>
3060 * kbmap.C: small cleanup
3063 * vspace.C: add const
3065 2002-08-05 John Levon <levon@movementarian.org>
3067 * LyXAction.C: back to tabular-insert
3069 2002-08-04 John Levon <levon@movementarian.org>
3072 * BufferView.C: cosmetic change
3074 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
3084 * BufferView2.C: purge all "Lyx" not "LyX" strings
3087 * lyxcursor.C: attempt to add some documentation
3092 * ToolbarDefaults.C:
3093 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
3094 merge with LFUN_TABULAR_INSERT
3101 * pspell.C: split up i/pspell implementations into separate
3102 files, many cleanups
3104 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
3106 * text2.C: some cleanup
3108 * lyxfunc.C: don't check for isp_command == "none" any more, it
3109 didn't make any sense
3111 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
3116 * makefile.am: move counters functionality over
3117 from text2.C/paragraph.[Ch] to counters.[Ch], and
3119 2002-08-02 John Levon <levon@movementarian.org>
3121 * buffer.C: s/lyxconvert/lyx2lyx/
3123 2002-08-02 Angus Leeming <leeming@lyx.org>
3125 * lyxlex.C: revert John's change as it breaks reading of the user
3128 2002-08-02 Angus Leeming <leeming@lyx.org>
3130 * importer.C (Import):
3131 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
3132 changes due to LyXView::view() now returning a boost::shared_ptr.
3134 2002-08-02 John Levon <levon@movementarian.org>
3136 * lyxlex.C: small cleanup
3138 2002-08-02 John Levon <levon@movementarian.org>
3140 * text2.C (status): small cleanup, no logic change
3142 2002-08-01 John Levon <levon@movementarian.org>
3145 * buffer.C (writeFile): don't output alerts, caller
3149 * lyx_cb.C: from above
3151 * lyxfunc.C: allow to open non-existent files
3153 2002-07-31 John Levon <levon@movementarian.org>
3155 * lyxserver.C: don't let incidental errors get
3158 2002-07-30 John Levon <levon@movementarian.org>
3160 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3162 2002-07-30 John Levon <levon@movementarian.org>
3165 * lyxserver.C: remove I/O callback too
3167 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3169 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3172 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * many files: strip,frontStrip -> trim,ltrim,rtrim
3176 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * PrinterParams.h: remove extern containsOnly, and include
3179 support/lstrings.h instead.
3181 * LaTeX.C (scanAuxFile): modify because of strip changes
3183 * buffer.C (makeLaTeXFile): ditto
3184 * bufferparams.C (writeFile): ditt
3185 * lyxfont.C (stateText): ditto
3186 * lyxserver.C (read_ready): ditto
3187 * vc-backend.C (scanMaster): ditto
3189 * BufferView_pimpl.h: ws changes
3191 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3193 2002-07-26 André Pönitz <poenitz@gmx.net>
3195 * kb_sequence.C: remove unnedred usings
3197 2002-07-26 Juergen Vigna <jug@sad.it>
3199 * lyxfind.C (LyXReplace): we have to check better if the returned
3200 text is not of theLockingInset()->getLockingInset().
3202 2002-07-25 Juergen Vigna <jug@sad.it>
3204 * lyxfind.C (LyXReplace): don't replace if we don't get the
3207 * undo_funcs.C (createUndo): remove debugging code.
3209 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3211 * buffer.C (parseSingleLyXformat2Token): Use default placement
3212 when reading old floats.
3214 * FloatList.C (FloatList): Change the default placement of figure
3215 and tables to "tbp".
3217 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3219 * MenuBackend.C: using std::max
3221 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3223 * MenuBackend.C (expandToc):
3224 (expandToc2): code moved from xforms menu frontend. It is now
3225 generic and TOCs are transparent to menu frontends.
3227 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3229 * toc.C (getTocList): protect against buf=0
3231 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3232 Menu as first parameter. Now, this calls itself recursively to
3233 expand a whole tree (this will be useful for TOC handling)
3234 (expandFloatInsert): remove 'wide' version of floats
3236 * MenuBackend.h (submenuname): returns the name of the submenu.
3237 (submenu): returns the submenu itself, provided it has been
3238 created by MenuBackend::expand
3240 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3242 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3243 insets which have noFontChange == true. (bug #172)
3245 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3247 * BufferView_pimpl.C: add connection objects and use them...
3250 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3252 * MenuBackend.C (expandLastfiles):
3255 (expandFloatListInsert):
3256 (expandFloatInsert):
3257 (expand): split expand in parts
3259 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3261 * lyx_gui.C: use lyx_gui::exit()
3263 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3265 * LyXAction.C: show the failing pseudo action
3267 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3269 * buffer.C (readFile): Run the lyxconvert script in order to read
3272 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3276 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3278 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3282 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3284 2002-07-22 Herbert Voss <voss@lyx.org>
3287 * lyxlength.[Ch]: add support for the vertical lengths
3289 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3291 * toc.[Ch]: std:: fixes
3293 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3295 * lyxrc.C: do not include lyx_main.h
3297 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3303 * BufferView2.C: include "lyxlex.h"
3306 * bufferparams.h: do not #include "lyxlex.h"
3308 * lyxtextclasslist.C (Add): remove method
3309 (classlist): renamed to classlist_
3311 * paragraph_pimpl.C:
3315 * bufferview_funcs.C:
3320 * toc.C (getTocList): use BufferParams::getLyXTextClass
3322 * toc.C (getTocList): use InsetFloat::addToToc
3324 * toc.[Ch]: new files, containing helper functions to handle table
3327 * lyxfunc.C (dispatch): no need to remove spaces around command
3329 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3330 first command of the sequence; it is not very clever, but I do not
3331 have a better idea, actually
3333 * LyXAction.C (LookupFunc): make sure to remove space at the
3334 beginning and end of the command
3336 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3338 * MenuBackend.C (getMenubar): new method: return the menubar of
3340 (read): treat differently reading of menu and menubar (in
3341 particular, the menubar has no name now)
3342 (Menu::menubar): remove
3344 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3347 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3349 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3350 a bibitem inset in a RTL paragraph.
3352 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3354 * paragraph_pimpl.C: constify
3356 * BufferView_pimpl.C:
3358 * lyxfunc.C: fix dispatch in a nicer way
3360 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3362 * lyxfunc.C (dispatch):
3363 * BufferView_pimpl.C:
3364 * BufferView_pimpl.h:
3366 * BufferView.h: rename Dispatch() to dispatch()
3368 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3370 * lyxlayout.C (Read): honor DependsOn tag
3372 * lyxlayout.[Ch] (depends_on): new method
3374 * version.C.in: update lyx_docversion
3376 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3378 * paragraph.C (validate): remove from here...
3379 * paragraph_pimpl.C (validate): ... and move here
3380 (isTextAt): make it const
3382 * buffer.C (getLists): ws cleanup
3384 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3386 * language.C (read): Use iso8859-1 encoding in latex_lang
3387 (this prevents LyX from crashing when using iso10646-1 encoding).
3389 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3391 * text2.C (toggleInset): if cursor is inside an inset, close the
3392 inset and leave cursor _after_ it
3394 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3396 * lyxfunc.C: move minibuffer completion handling out of here
3398 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3400 * BufferView_pimpl.C:
3401 * LaTeX.C: fix dispatch calls
3403 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3405 * text.C (drawChars): Fix Arabic text rendering.
3407 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3411 * lyxfunc.C: remove message-push/pop
3415 * lyxfunc.C: rationalise some code by removing verboseDispatch
3416 in favour of a bool argument to dispatch()
3418 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3420 * lyx_main.C (init): make sure to read symlinks as absolute paths
3422 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3425 * lyxfunc.C: no need for commandshortcut to be a member
3427 2002-07-15 André Pönitz <poenitz@gmx.net>
3429 * converter.C: add support for $$s (scripts from lib/scripts dir)
3430 * lyx_main.C: white space
3432 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3436 * lyxrc.C: remove second exit confirmation
3438 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3443 * BufferView_pimpl.h:
3444 * BufferView_pimpl.C:
3445 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3447 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3449 * MenuBackend.C (expand): add numeric shortcuts to document menu
3451 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3453 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3455 * lyxfont.C (setLyXFamily):
3462 * buffer.C (asciiParagraph): use ascii_lowercase
3464 2002-07-15 Mike Fabian <mfabian@suse.de>
3466 * lyxlex_pimpl.C (search_kw):
3467 * lyxlex.C (getLongString):
3468 * converter.h (operator<):
3469 * converter.C (operator<):
3470 * buffer.C (parseSingleLyXformat2Token):
3472 * ToolbarDefaults.C (read):
3473 * MenuBackend.C (checkShortcuts):
3475 * LColor.C (getFromGUIName):
3476 (getFromLyXName): use the compare_ascii_no_case instead of
3477 compare_no_case, because in turkish, 'i' is not the lowercase
3478 version of 'I', and thus turkish locale breaks parsing of tags.
3480 2002-07-16 Angus Leeming <leeming@lyx.org>
3482 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3483 now takes a Buffer const & argument.
3485 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3487 * BufferView.C (resize): check there's a buffer to resize
3489 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3491 * lyxfunc.C: remove dead code
3494 * lyxserver.C: use lyx_guii::set_read_callback
3496 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3498 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3499 an inset in a RTL paragraph.
3501 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3503 * lyxfunc.C: repaint after a font size update
3505 2002-07-15 André Pönitz <poenitz@gmx.net>
3507 * lyxlength.C: inBP should be able to return negative values
3509 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3511 * lyxfunc.C: use lyx_gui::update_fonts()
3513 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3515 * lyxfunc.C: use lyx_gui::update_color()
3517 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3523 * lyxrc.C: remove file->new asks for name option, and let
3524 buffer-new take an argument
3526 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3528 * BufferView_pimpl.C: remove unneeded extra repaint()
3530 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3532 * LyXAction.C: allow command-sequence with NoBuffer
3534 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3536 2002-07-10 Angus Leeming <leeming@lyx.org>
3538 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3540 2002-07-09 Angus Leeming <leeming@lyx.org>
3542 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3544 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3546 * lengthcommon.h: whitespace
3548 * lyxfunc.C: update scrollbar after goto paragraph
3550 * lyxtext.h: factor out page break drawing, and fix it so
3551 page break/added space paints as selected nicely
3553 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3555 * BufferView_pimpl.C: add FIXMEs, clean up a little
3557 2002-07-09 André Pönitz <poenitz@gmx.net>
3559 * lyxfont.[Ch]: support for wasy symbols
3561 2002-07-08 André Pönitz <poenitz@gmx.net>
3563 * BufferView_pimpl.C: apply John's patch for #93.
3565 2002-07-05 Angus Leeming <leeming@lyx.org>
3567 * BufferView_pimpl.C (buffer): generate previews if desired.
3569 * LColor.h: add "preview" to the color enum.
3571 * LColor.C (LColor): add a corresponding entry to the items array.
3573 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3576 2002-07-05 Angus Leeming <leeming@lyx.org>
3578 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3579 The body of the code is now in the method that is passed an ostream &
3580 rather than a file name.
3581 Pass an additional only_preamble parameter, useful for the forthcoming
3584 2002-07-03 André Pönitz <poenitz@gmx.net>
3586 * lyxfunc.C: simplify getStatus() a bit for math stuff
3588 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3590 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3592 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3594 * text.C (changeRegionCase): do not change case of all the
3595 document when region ends at paragraph end (bug #461)
3597 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3599 * paragraph.C (startTeXParParams):
3600 (endTeXParParams): add \protect when necessary
3602 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3604 * BufferView_pimpl.C (workAreaExpose): remove warning
3606 2002-06-27 Angus Leeming <leeming@lyx.org>
3608 * Makefile.am: add lyxlayout_ptr_fwd.h.
3610 2002-06-26 André Pönitz <poenitz@gmx.net>
3612 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3614 2002-06-25 Angus Leeming <leeming@lyx.org>
3616 * lyxfunc.C (dispatch): Comment out the call to
3617 grfx::GCache::changeDisplay. The method no longer exists now that the
3618 pixmap generation part of the graphics loader has been moved into
3621 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3623 * text2.C: layout as layout
3625 * text.C: layout as layout
3627 * tabular.C (OldFormatRead): layout as layout
3629 * paragraph_pimpl.C (TeXDeeper): layout as layout
3630 (realizeFont): layout as layout
3632 * paragraph.C (writeFile): layout as layout
3633 (validate): layout as layout
3634 (getFont): layout as layout
3635 (getLabelFont): layout as layout
3636 (getLayoutFont): layout as layout
3637 (breakParagraph): layout as layout
3638 (stripLeadingSpaces): layout as layout
3639 (getEndLabel): layout as layout
3640 (getMaxDepthAfter): layout as layout
3641 (applyLayout): layout as layout
3642 (TeXOnePar): layout as layout
3643 (simpleTeXOnePar): layout as layout
3644 (TeXEnvironment): layout as layout
3645 (layout): layout as layout
3646 (layout): layout as layout
3648 * lyxtextclass.C (compare_name): new functor to work with
3649 shared_ptr, layout as layout
3650 (Read): layout as layout
3651 (hasLayout): layout as layout
3652 (operator): layout as layout
3653 (delete_layout): layout as layout
3654 (defaultLayout): layout as layout
3656 * lyxlayout_ptr_fwd.h: new file
3658 * lyxlayout.C (Read): layout as layout
3660 * lyx_cb.C (MenuInsertLabel): layout as layout
3662 * bufferlist.C (newFile): layout as layout
3664 * buffer.C (readLyXformat2): layout as layout
3665 (parseSingleLyXformat2Token): layout as layout
3666 (insertStringAsLines): layout as layout
3667 (asciiParagraph): layout as layout
3668 (latexParagraphs): layout as layout
3669 (makeLinuxDocFile): layout as layout
3670 (simpleLinuxDocOnePar): layout as layout
3671 (makeDocBookFile): layout as layout
3672 (simpleDocBookOnePar): layout as layout
3673 (getLists): layout as layout
3675 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3677 * CutAndPaste.C (cutSelection): layout as layout
3678 (pasteSelection): layout as layout
3679 (SwitchLayoutsBetweenClasses): layout as layout
3681 * BufferView_pimpl.C (Dispatch): layout as layout
3682 (smartQuote): layout as layout
3684 * BufferView2.C (unlockInset): layout as layout
3686 2002-06-24 André Pönitz <poenitz@gmx.net>
3688 * lyxfunc.C: fix #487
3690 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3694 * lyxfunc.C: remove display_shortcuts, show_banner
3696 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3698 * Buffer_pimpl.C: oops, update on resize
3700 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3707 * BufferView.C: use repaint()
3709 * BufferView_pimpl.h:
3710 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3711 as it's a clearer description. Remove superfluous
3714 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3716 * text.C: fix bug 488. Not ideal, but getting
3717 getWord() to work properly for the insets that
3718 matter is more difficult ...
3720 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3722 * BufferView_pimpl.C:
3725 * lyxfunc.C: remove the six million index lyxfuncs to just
3726 one, and DTRT (bug 458)
3728 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3732 * BufferView_pimpl.h:
3733 * BufferView_pimpl.C: clean up resize() stuff,
3734 and unnecessary updateScreen()s
3736 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3740 * BufferView_pimpl.h:
3741 * BufferView_pimpl.C:
3744 * minibuffer.C: remove focus management of workarea,
3745 not needed. Use screen's greyOut()
3747 2002-06-17 Herbert Voss <voss@lyx.org>
3749 * converter.C: (convert) do not post a message, when converting
3750 fails, let the calling function decide what to do in this case
3752 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3754 * lyxfunc.C: tidy up a little
3756 2002-06-16 <alstrup@diku.dk>
3758 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3759 Got rid of FORMS_H_LOCATION include. Now we are
3762 2002-06-15 LyX Development team <lyx@rilke>
3764 * buffer.[Ch] (sgmlOpenTag):
3765 (sgmlCloseTag): Added support for avoiding pernicious mixed
3766 content. Return number of lines written.
3769 (makeDocBookFile): Fixed calls to sgml*Tag.
3770 Simple white space clean.
3772 (simpleDocBookOnePar): Simple white space clean.
3774 * tabular.[Ch] (docBook): Renamed to docbook and got another
3775 argument to related with the pernicious mixed content.
3777 (docbookRow): Fixed calls for docbook inset method.
3779 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3781 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3782 so it's X11 independent.
3786 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3788 2002-06-15 Lyx Development team <lyx@electronia>
3790 * intl.h: Renamed getTrans to getTransManager.
3792 2002-06-14 Angus Leeming <leeming@lyx.org>
3794 * Makefile.am: nuke forgotten stl_string_fwd.h.
3796 2002-06-12 Angus Leeming <leeming@lyx.org>
3798 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3800 2002-06-13 Angus Leeming <leeming@lyx.org>
3803 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3805 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3807 * kbmap.C (getiso): add support for cyrillic and greek
3809 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3813 * BufferView_pimpl.h:
3814 * BufferView_pimpl.C: move bogus scrolling logic
3817 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3820 * BufferView_pimpl.C: view->resize() change
3822 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3824 * BufferView_pimpl.C: topCursorVisible
3827 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3831 * lyx_gui.C: move to frontends/
3835 * lyx_main.C: changes from above
3837 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3844 * lyx_main.C: minor tidy
3846 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3848 * BufferView_pimpl.h:
3849 * BufferView_pimpl.C:
3851 * BufferView.C: make painter() const,
3854 * BufferView2.C: use screen() accessor
3857 * lyx_main.C: some minor cleanup
3859 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3861 * BufferView_pimpl.h:
3862 * BufferView_pimpl.C: remove enter/leaveView,
3865 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3870 * BufferView_pimpl.h:
3871 * BufferView_pimpl.C: only construct screen once,
3874 * lyxrc.C: remove pointless comment
3876 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3879 * BufferView.C: remove active() and belowMouse()
3881 * BufferView_pimpl.h:
3882 * BufferView_pimpl.C: use workarea() not workarea_,
3883 and make it use a scoped_ptr instead
3885 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3887 * lyx_gui.C: add debug message on BadWindow
3889 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3891 * sp_spell.C: fdopen is not part of the C++ standard.
3893 * paragraph.C (InsetIterator): use >= instead of ==
3895 2002-06-07 Angus Leeming <leeming@lyx.org>
3897 Fixes needed to compile with Compaq cxx 6.5.
3898 * BufferView_pimpl.C:
3905 * lyxtextclasslist.C:
3910 all c-library variables have been moved into namespace std. Wrap
3911 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3916 Add a using std::abs declaration.
3918 * kbmap.h (modifier_pair):
3919 * paragraph.h (InsetTable, InsetList):
3920 * lyxfont.h (FontBits):
3921 type definition made public.
3923 * bufferlist.C (emergencyWriteAll): the compiler complains that
3924 there is more than one possible lyx::class_fun template to choose from.
3925 I re-named the void specialisation as lyx::void_class_fun.
3927 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3929 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3930 the compiler is is unable to find tostr in write_attribute.
3932 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3934 * buffer.C (sgmlError): hide #warning
3936 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3938 * xtl/*: get rid of xtl, which is not in use anyway
3940 * LyXAction.C (init):
3941 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3942 were unimplemented xtl experimentation
3944 2002-06-04 André Pönitz <poenitz@gmx.net>
3946 * lyxfunc.C: disable array operation on simple formulae
3948 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3950 * converter.C: constify a bit
3952 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3954 * lyx_gui.C: check xforms version correctly
3956 2002-04-30 Herbert Voss <voss@lyx.org>
3958 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3961 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3963 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3964 attempt to register it with a VCS)
3966 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3968 * lyx_main.C (init): honor variables LYX_DIR_13x and
3971 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3975 * lyx_main.C: fix a crash on bad command line,
3976 and give a useful exit status on error
3978 * lyxfunc.C (doImport): allow -i lyx to work
3980 2002-03-30 André Pönitz <poenitz@gmx.net>
3982 * lyxfunc.C: mathed font changes
3984 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3999 * trans_mgr.h: srcdocs, and some minor cleanups
4001 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4003 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
4004 call getFont all the time)
4006 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4008 * switch from SigC signals to boost::signals
4010 2002-05-29 André Pönitz <poenitz@gmx.net>
4012 * paragraph_pimpl.C (getChar): don't call size() too often...
4014 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4016 * paragraph_pimpl.C (insertChar): do not try to update tables when
4017 appending (pos == size())
4019 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
4020 in order to reduce drastically the number of comparisons needed to
4021 parse a large document
4023 2002-05-29 André Pönitz <poenitz@gmx.net>
4029 * textclasslist.[Ch]:
4030 * sp_ispell.h: whitespace change
4032 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4034 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
4035 lyxaction directly now.
4037 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
4041 * lyxvc.C: remove unused headers
4043 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4050 * undo_funcs.C: some cleanups. Use shared_ptr
4051 and a template for the undo stacks.
4053 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4055 * BufferView_pimpl.h:
4056 * BufferView_pimpl.C:
4063 * text2.C: use key_state/mouse_state
4065 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4067 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
4070 * chset.C: change include order
4071 (loadFile): use boost regex and get rid of LRegex and LSubstring
4073 * Makefile.am (BOOST_LIBS): new variable
4076 * LaTeX.C: change include order.
4077 (scanAuxFile): use boost regex and get rid of LRegex and
4081 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4086 * FontInfo.C: moved to frontends/xforms/
4089 * FontLoader.C: moved into frontends for GUIIzation
4094 * lyxfunc.C: changes from above
4096 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4098 * LColor.C: remove spurious X include
4100 * BufferView_pimpl.C:
4105 * text2.C: move font metrics to frontends/
4107 2002-05-24 Juergen Vigna <jug@sad.it>
4109 * undo_funcs.C (textHandleUndo): fix the cursor selection after
4110 setting the undo_cursor.
4112 * ParagraphParameters.h: include local includes first.
4114 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4116 * BufferView_pimpl.C:
4117 * BufferView_pimpl.h:
4121 * screen.C: move WorkArea into frontends/
4127 * BufferView2.C: move LyXScreen into frontends/
4131 * lyx_gui.C: move lyxlookup into frontends/xforms/
4133 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4136 * BufferView_pimpl.C:
4146 * bufferview_funcs.C:
4159 * vc-backend.C: move LyX/XFormsView into frontends/
4161 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4173 * text2.C: move Painter to frontends/
4175 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4177 * buffer.C: comment out some some code that depend upon lyx_format
4180 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4181 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4183 * buffer.h (NO_COMPABILITY): turn off compability
4185 * ColorHandler.C: include scoped_array.hpp
4187 * font.C: Use more specific smart_ptr header.
4190 * ShareContainer.h: ditto
4194 * BufferView_pimpl.h: ditto
4195 * ColorHandler.h: ditto
4197 * kbmap.C (defkey): change call to shared_ptr::reset
4199 2002-05-21 Juergen Vigna <jug@sad.it>
4201 * buffer.C (insertErtContents): fix to insert ert asis if it is
4202 non empty. Skip it completely if it contains only whitespaces.
4204 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4206 * BufferView_pimpl.C:
4207 * BufferView2.C: clear selection on paste (bug 393)
4209 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4211 * DepTable.C: include ctime
4213 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4215 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4217 2002-05-14 Juergen Vigna <jug@sad.it>
4219 * text.C (breakParagraph): fixed function to honor the keepempty
4220 layout in the right maner and also to permit the right breaking
4221 algorithm on empty or non empyt keepempty paragraphs.
4223 * paragraph.C (breakParagraph): we have to check also if the par
4224 is really empty (!size()) for isempty otherwise we do the wrong
4227 2002-05-10 Juergen Vigna <jug@sad.it>
4229 * buffer.[Ch] : The following are only changes to the ert
4230 compatibility read reading old LaTeX layout and font stuff and
4231 convert it to ERTInsets.
4233 * buffer.h: added isErtInset().
4235 * buffer.C (struct ErtComp): add a fromlayout bool to check
4236 if we're inside a LaTeX layout.
4237 (isErtInset): new helper function.
4238 (insertErtContents): look for other ert insets before this one
4239 and insert the contents there, so that we don't have subsequent
4240 ERT insets with nothing between them. This way we create only one
4241 inset with multiple paragraphs. Also check if we don't insert only
4242 spaces ' ' as they are ignored anyway afterwards in the .tex file
4243 so if we have only spaces we will ignore this latex part in the
4245 (parseSingleLyXformat2Token \\layout): better compatibility when
4246 reading layout-latex stuff.
4247 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4249 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4250 stuff after reading the inset only get the information back from
4253 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4255 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4257 * LaTeXFeatures.C (getBabelOptions): New method.
4259 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4261 * BufferView_pimpl.C (Dispatch): work around missing argument for
4264 2002-05-08 Juergen Vigna <jug@sad.it>
4266 * text.C (leftMargin): handle paragraph leftindent.
4268 * paragraph.C (writeFile): write the new \\leftindent tag.
4269 (validate): handle leftindent code.
4270 (TeXEnvironment): handle paragraphleftindent code again.
4272 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4274 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4275 for paragrap_extra indent code and new token \\leftindent.
4276 (latexParagraphs): handle the leftindent as environment.
4278 * ParameterStruct.h: added leftindent support.
4280 * ParagraphParameters.C (leftIndent): added support functions for
4281 the paragraph left indent.
4283 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4286 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4288 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4291 * text.C (computeBidiTables): No bidi in insetERT.
4293 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4296 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4298 * version.C.in: pre 5
4300 2002-05-02 José Matos <jamatos@fep.up.pt>
4301 * buffer.C (makeDocBookFile): white space changes, add newline to
4303 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4305 * tabular.C (docBook): fix typo.
4307 2002-05-03 Juergen Vigna <jug@sad.it>
4309 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4310 change in LyXText as we can not be sure it was not freed.
4311 (drawOneRow): remove unused code.
4313 * text.C (drawInset): redo the calculation of the need_break_row as
4314 it could have a row which was already freed.
4315 (draw): look at the return value of drawInset and return false if
4316 it also returned false.
4317 (paintRowText): look at the return value of draw and return false if
4318 it also returned false.
4320 * lyxtext.h: added bool return type to drawInset() and draw() so that
4321 if we have a change in the row so that the rowbreak has to be redone
4322 we abort drawing as it will be called again.
4324 2002-05-02 Juergen Vigna <jug@sad.it>
4326 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4327 a change in the maintext also if we're inside an inset.
4328 (Dispatch): set the cursor again after a break line and after the
4329 screen has been updated as it could be we're in a different row.
4331 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4332 to set the cursor behind the pargraph with > size().
4333 (setCursor): check also for the same paragraph when checking where
4334 to put the cursor if we have a NFR inset.
4336 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4337 parts of layout read further up as it still was in the wrong
4340 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4342 * screen.C (drawFromTo): change sine fullRebreak always return
4345 * buffer.C (parseSingleLyXformat2Token): reindent some
4347 * BufferView_pimpl.C (update): change since fullRebreak always
4349 (Dispatch): git rid of the last hardcoded "Standard"s.
4351 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4353 * text2.[Ch] (fullRebreak): make it return void now that we always
4356 2002-04-30 Juergen Vigna <jug@sad.it>
4358 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4359 ert compatibility check for "latex" layout.
4361 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4363 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4364 minipages: use col% instead of p%, and also use the current font.
4365 (makeLaTeXFile): Fix use babel condition.
4366 (parseSingleLyXformat2Token): Correct font when reading old floats.
4368 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4370 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4371 inserting list of floats.
4373 2002-04-25 Herbert Voss <voss@lyx.org>
4375 * MenuBackend.C (expand): don't add the graphics extensions to the
4378 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4380 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4381 non-existing layout, do not complain if it was the default layout
4382 of the original class (bug #342)
4384 2002-04-24 Juergen Vigna <jug@sad.it>
4386 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4387 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4389 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4391 * buffer.C (getBibkeyList): If using \bibliography, return the
4392 option field with the reference itself. Enables us to provide natbib
4393 support when using \bibliography.
4395 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4397 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4399 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4400 natbib is provided by the LaTeX class.
4402 2002-04-23 Juergen Vigna <jug@sad.it>
4404 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4407 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4409 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4411 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4413 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4414 ensuremath around textordmasculine, textordfeminine and
4417 2002-04-19 Juergen Vigna <jug@sad.it>
4419 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4420 reinitializing the buffer otherwise row-dimensions may be wrong.
4421 (update): reset also the selection cursors if they do exits otherwise
4422 their x/y positions may be wrong.
4424 * text2.C (cursorDown): don't enter the inset if we came from a row
4425 above and are one row over the inset.
4427 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4428 really leaving an inset.
4430 2002-04-18 Juergen Vigna <jug@sad.it>
4432 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4433 of the selected paragraph does not have the selected layout also if
4436 * text2.C (setLayout): fixed bug which did not change last selected
4439 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4440 changed the read and substituted \\end_float with \\end_inset!
4442 * BufferView_pimpl.C (cursorPrevious):
4443 (cursorNext): fixed to make it work with rows heigher than the work
4444 area without moving the cursor only the draw of the row.
4445 (workAreaMotionNotify): fix jumping over high rows.
4447 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4449 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4452 2002-04-16 Juergen Vigna <jug@sad.it>
4454 * text2.C (setCursor): set also the irow().
4455 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4457 (cursorDown): support for locking an inset if the x_fix value goes
4458 inside it. That way I can transverse insets too with cursor up/down.
4460 * lyxrow.h: added irow helper function same as other (i) functions.
4462 * BufferView_pimpl.C (cursorPrevious):
4463 (cursorNext): fixed for insets!
4465 2002-04-15 Juergen Vigna <jug@sad.it>
4467 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4468 position otherwise it is wrong in some cases.
4470 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4471 inside the inset before the call.
4473 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4475 * buffer.[Ch] (getBibkeyList): make it const.
4477 2002-04-12 Juergen Vigna <jug@sad.it>
4479 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4481 * text2.C (getCursorX): new helper function
4482 (setCursor): compute also ix_
4483 (setCursorFromCoordinates): set also ix.
4485 * lyxcursor.h: added ix_ and helper functions.
4487 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4489 * buffer.C (insertStringAsLines): dont break paragraph if the this
4490 paragraph is inside an inset which does not permit it!
4492 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4493 also with no chars on this paragraph.
4494 (paintRowText): only paint stuff if it's inside the workarea!
4496 * paragraph.C (breakParagraph): honor keepempty flag and break the
4497 paragraph always below not above.
4499 * BufferView2.C (unlockInset): update the paragraph layout on inset
4500 unlock as we changed paragraph in such a case.
4502 * lyxfind.C (LyXFind): clear the former selection if not found!
4504 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4505 again called in insertChar().
4507 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4508 an inset which uses the whole row!
4509 (rightMargin): ditto.
4510 (insertChar): force a rebreak if we inserted an inset!
4512 2002-03-28 Herbert Voss <voss@lyx.org>
4514 * lyxlength.[Ch]: add inBP() to get the right PS-point
4515 units (BigPoint). With inPixels we have rounding errors
4517 2002-04-11 Juergen Vigna <jug@sad.it>
4519 * text2.C (setCursorFromCoordinates): set iy to the right value.
4520 (setCursor): add check if row->previous exists!
4522 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4523 an old float_type as this was the case in the old code!
4525 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4527 * BufferView2.C (showLockedInsetCursor): use iy
4528 (fitLockedInsetCursor): ditto
4530 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4531 locked insets as there we have the right value now.
4533 * lyxcursor.C: added iy_ variable and iy functions to set to the
4534 baseline of cursor-y of the locked inset.
4536 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4537 (setCursor): fixed for insets which need a full row.
4539 * text.C (rowLastPrintable): don't ignore the last space when before
4540 an inset which needs a full row.
4541 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4542 as last character of a row when before a inset which needs a full row.
4544 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4546 * version.C.in: update date
4548 * text2.C (fullRebreak): try to always return true and see what
4551 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4553 * MenuBackend.C (expand): use Floating::listName
4555 * FloatList.C (FloatList): add listName argument to the built-in
4558 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4559 text associated with the float.
4561 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4563 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4565 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4567 * ShareContainer.h: add a couple of missing typenames.
4569 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4571 * lyxrc.C (getDescription): use _() correctly rather than N_().
4573 2002-03-28 Herbert Voss <voss@lyx.org>
4575 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4576 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4578 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4580 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4581 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4583 2002-03-29 Juergen Vigna <jug@sad.it>
4585 * lyxfunc.C (dispatch): add a missing fitCursor call.
4587 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4588 it was scrolled by a cursor move, so return the bool status.
4590 * BufferView.C (fitCursor): return the bool flag also to the outside
4591 world as this is needed.
4593 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4595 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4596 call the edit() as it is not needed (and wrong) IMO.
4597 (workAreaButtonPress): set the screen_first variable before evt.
4598 unlock the inset as this may change screen_first and then we have
4599 a wrong y position for the click!
4601 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4603 * MenuBackend.C (expand): another translation that I missed
4605 2002-03-28 Juergen Vigna <jug@sad.it>
4607 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4609 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4611 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4613 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4615 * MenuBackend.C (expand): fix export/view/update when there is no
4618 2002-03-27 Herbert Voss <voss@lyx.org>
4620 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4623 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4625 * bufferview_funcs.C (currentState): only show paragraph number
4626 for is DEVEL_VERSION is set.
4628 * lyxfunc.C (dispatch): put warning in INFO channel
4630 * MenuBackend.C (expand): translate the name of floats
4632 * FloatList.C (FloatList): mark the float names for translation
4634 * converter.C (convert): use LibScriptSearch
4636 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4638 * MenuBackend.C (defaults): fix default menu (we might as well get
4641 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4643 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4646 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4648 * lyxvc.C: reorder includes.
4650 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4652 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4655 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4657 * CutAndPaste.C: change layouts earlier on paste
4658 to avoid crashing when calling getFont()
4660 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4662 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4665 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4667 * WorkArea.C: remove 'Pending' debug message.
4669 * most files: ws cleanup
4671 * buffer.[Ch]: ws changes
4673 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4675 2002-03-21 Juergen Vigna <jug@sad.it>
4677 * tabular.C (SetMultiColumn): collapse also the contents of the
4678 cells and set the last border right. Added a Buffer const * param.
4680 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4682 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4685 2002-03-19 Juergen Vigna <jug@sad.it>
4687 * text2.C (clearSelection): reset also xsel_cache.
4689 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4690 where it needs to be called (John tells us to do so too :)
4691 (selectionLost): reset sel_cache.
4693 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4695 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4697 * text2.C (setCursorIntern): put debuging code in INSETS channel
4699 2002-03-19 André Pönitz <poenitz@gmx.net>
4701 * lyxfunc.C: tiny whitespace change
4703 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4705 * ToolbarDefaults.C (init):
4706 * LyXAction.C (init):
4708 * BufferView_pimpl.C (Dispatch):
4709 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4711 2002-03-19 Allan Rae <rae@lyx.org>
4713 * exporter.C (Export): removeAutoInsets before doing anything else.
4714 While I've just introduced a dependency on BufferView this really is
4715 the best place to clean the buffer otherwise you need to cleanup in
4716 a dozen places before calling export or cleanup in a dozen functions
4719 * converter.C (runLaTeX):
4720 (scanLog): Better handling of removeAutoInsets and screen updates.
4722 * lyxfunc.C (dispatch): small whitespace changes
4724 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4726 * WorkArea.C (C_WorkAreaEvent): return a value.
4727 (event_cb): return 1 if we handled the event, 0 otherwise.
4729 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4731 2002-03-18 Juergen Vigna <jug@sad.it>
4733 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4734 (GetAdditionalWidth): ditto.
4738 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4739 inset if we're there actually (probably not used right now but this
4740 is the direction to go for unifying code).
4741 (paste): disable code to clear the selection.
4743 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4744 inside an InsetText and move the check further up as it is in the
4747 * text2.C (pasteSelection): set a selection over the pasted text.
4749 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4751 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4752 and libgraphics to build on Cygwin.
4754 2002-03-15 Juergen Vigna <jug@sad.it>
4756 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4757 inserting an Inset into the paragraph. I know this is not the best
4758 fix but we already use current_view in CutAndPaste so we will remove
4759 all of it's using at the same time.
4761 * buffer.C (sgmlError): deactivated function till it is rewritten in
4762 the right mode, now it can create problems.
4764 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4765 before accessing it.
4767 2002-03-14 Juergen Vigna <jug@sad.it>
4769 * undo_funcs.C (textHandleUndo): do the right thing when updating
4770 the inset after the undo/redo.
4772 * text2.C (setCursor): just some testcode for #44 not ready yet.
4774 * undo_funcs.C (textHandleUndo): set the next() and previous()
4775 pointers of the paragraph to 0 before deleting otherwise we have
4776 problems with the Paragraph::[destructor].
4778 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4779 on a paragraph insertion.
4781 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4783 * buffer.C (asciiParagraph): use += operator for char append to
4786 * paragraph.C (getFontSettings): compare >= not just >
4787 (highestFontInRange): ditto
4790 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4792 * paragraph.C: change several algorithm to be more appripriate for
4793 the problem domain. This is lookip in FontList and in the InsetList.
4795 2002-03-13 André Pönitz <poenitz@gmx.net>
4798 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4800 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4805 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4807 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4809 * Painter.C (display): anon helper function, adjust code for this
4811 (pixmap): remove function.
4813 * Painter.h: remove private display variable.
4815 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4817 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4819 * WorkArea.[Ch]: remove figinset_canvas cruft.
4821 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4823 * lyxtextclass.C (operator): add one item cache optimization.
4825 * bufferlist.h: doxy changes
4827 * bufferlist.C: ws changes
4829 * DepTable.[Ch] (ext_exist): place const in the right spot.
4831 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4833 (workAreaExpose): call resizeInsets when the with BufferView changes.
4834 (Dispatch): adjust for protectedBlank removal
4835 (specialChar): call updateInset if the insert went ok.
4837 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4838 specialChar instead.
4840 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4842 * BufferView.h: doxy change
4844 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4846 * lyxtextclass.C (operator[]): remove non-const version
4847 (defaultLayout): remove non-const version
4849 2002-03-12 Juergen Vigna <jug@sad.it>
4851 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4852 did resize the LyXText too.
4854 * buffer.C (readLyXformat2): set layout information on newly allocated
4857 * tabular.C (OldFormatRead): set layout information on the paragraph.
4859 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4861 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4863 2002-03-11 Juergen Vigna <jug@sad.it>
4865 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4867 (resizeCurrentBuffer): force also the insets to resize themselfes.
4868 (moveCursorUpdate): fixed up for InsetText.
4870 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4873 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4874 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4875 value of Dialogs::tooltipsEnabled().
4876 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4878 2002-03-08 Juergen Vigna <jug@sad.it>
4880 * BufferView_pimpl.C (updateInset): update inset inside inset also
4881 if it isn't inside theLockingInset().
4883 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4885 * buffer.C (asciiParagraph): redo some of the word and line length
4887 (getLists): look for Caption instead of caption.
4889 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4891 * buffer.C (Buffer): initialize niceFile to true
4894 (makeDocBookFile): make sure niceFile is true on exit
4896 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4898 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4900 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4902 * LyXSendto.C: remove.
4903 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4904 * lyx_gui.C: remove now-redundant comment.
4905 * ColorHandler.h: remove forward declaration of class WorkArea.
4906 * lyxfunc.C: remove #include "WorkArea.h".
4908 2002-03-07 Juergen Vigna <jug@sad.it>
4910 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4911 got moved away with the DEPM and also set the inset_owner always
4912 right which before could have been omitted.
4914 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4916 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4917 wanted layout is not found.
4919 2002-03-07 Juergen Vigna <jug@sad.it>
4921 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4923 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4925 * paragraph.C (breakParagraph): use default layout not layout of
4927 (Paragraph): clear ParagraphParameters.
4929 2002-03-06 Juergen Vigna <jug@sad.it>
4931 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4932 otherwise it would not be a valid lenght. Fixed a special case in
4933 the minipage compatibility read where we end the document with a
4936 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4937 was set as it could be 0 for InsetTexts first entry.
4939 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4941 * paragraph.C (writeFile): if layout is empty write out
4942 defaultLayoutName().
4944 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4945 file without named layout we set layout to defaultLayoutName().
4947 2002-03-06 Juergen Vigna <jug@sad.it>
4949 * CutAndPaste.C (copySelection): set layout for new paragraph.
4951 * text.C (prepareToPrint): leave ERT inset left aligned
4952 (leftMargin): don't indent paragraphs inside ERT insets
4954 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4956 * paragraph.C (breakParagraph): dont call clear do the work manually
4958 * paragraph.[Ch] (clear): remove function
4960 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4962 * paragraph.C (Paragraph): dont call clear, the work has already
4965 * lyxtextclass.C (operator): assert if n is empty
4967 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4968 work manually instead.
4970 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4972 * BufferView_pimpl.C: protect selectionLost against text == 0
4974 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4976 * text.C (breakParagraph): fix a setting layout to '0' problem.
4978 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4980 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4981 final location of file, for the included files, and graphics.
4983 2002-03-05 Juergen Vigna <jug@sad.it>
4985 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4987 2002-03-04 Juergen Vigna <jug@sad.it>
4989 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4991 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4992 last column of multicolumn cells.
4993 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4995 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4997 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4998 file if it doesn't go to a temporary file.
5000 * buffer.C (sgmlOpenTag):
5001 (sgmlCloseTag): remove extra newline insertion.
5003 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5005 * text.C (getRowNearY): comment out debug msg
5007 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5009 * text2.C: first -> first_y
5011 * text.C (getRowNearY): add some attemts at a possible
5012 optimization, not working.
5014 * tabular.[Ch]: add BufferParams to several function so that newly
5015 created paragraph can be initialized to he default layotu for the
5018 * tabular-old.C (ReadOld): add buf->params to call of Init
5020 * screen.C: rename text->first to text->first_y
5022 * paragraph.C (breakParagraph): always set layout in the broken
5025 * lyxtextclass.C (Read): remove lowercase
5028 (delete_layout): ditto
5030 * lyxtext.h: rename first -> first_y
5032 * lyxlayout.C (Read): remove lowercase
5035 (obsoleted_by): ditto
5037 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
5039 * buffer.C (insertErtContents): add params are to InsetERT
5040 (parseSingleLyXformat2Token): add code to check if a paragraphs
5041 layout really exist.
5042 (parseSingleLyXformat2Token): add params to several inset
5044 (asciiParagraph): remove lowercase, do the layout comparisons with
5047 * BufferView_pimpl.C (cursorNext): first -> first_y
5048 (resizeCurrentBuffer): first -> first_y
5049 (updateScrollbar): first -> first_y
5050 (scrollCB): first -> first_y
5051 (workAreaMotionNotify): first -> first_y
5052 (workAreaButtonPress): first -> first_y
5053 (checkInsetHit): first -> first_y
5054 (cursorPrevious): first -> first_y
5055 (cursorNext): first -> first_y
5056 (Dispatch): add buffer_->params to severl inset contructors
5058 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5060 * lyxlayout.C (Read): remove some debug info that I forgot.
5062 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
5063 clean up the code slightly.
5064 (makeLinuxDocFile): ditto
5065 (makeDocBookFile): ditto
5067 * text2.C: layout as string
5069 * text.C: layout as string
5071 * paragraph_pimpl.C: layout as string
5073 * paragraph.[Ch]: layout as string
5075 * lyxtextclasslist.[Ch]: layout as string
5077 * lyxtextclass.[Ch]: layout as string
5079 * lyxtext.h: layout as string
5081 * lyxlayout.[Ch]: layout as string
5083 * lyx_cb.C: layout as string
5085 * bufferview_funcs.C: layout as string
5087 * bufferparams.C: layout as string
5089 * buffer.C: layout as string
5091 * LyXView.[Ch]: layout as string
5093 * LaTeXFeatures.[Ch]: layout as string
5095 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
5097 * BufferView_pimpl.C: change current_layout to string, remove
5102 (workAreaButtonRelease): layout as string
5104 * BufferView2.C (unlockInset): adjust
5106 * vspace.C (asLatexCommand): use an explict temp variable.
5108 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
5110 * Makefile.am: use FRONTEND_*
5112 2002-03-01 Juergen Vigna <jug@sad.it>
5114 * tabular.C (SetWidthOfMulticolCell): changed to something better
5115 I hope but still work in progress.
5116 (recalculateMulticolumnsOfColumn): renamed function from
5117 recalculateMulticolCells as it is more appropriate now.
5118 (SetWidthOfCell): calculate multicols better.
5120 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5122 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
5124 * lyxfunc.C (processKeySym): print sequence also if it is
5125 `deleted' (complete)
5127 * kbsequence.C (print): print sequence even if it is deleted
5128 (complete would be a better word, actually).
5130 * lyxfunc.C (dispatch): print complete options after a prefix key
5132 * vspace.C (asLatexCommand): rewrite in a slightly different form.
5134 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
5136 * text2.C (setCharFont): eliminate setCharFont code duplication.
5138 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5140 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5141 LFUN_TABULAR_FEATURE (bug #177)
5143 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5145 * Makefile.am: remove figure.h
5147 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5149 * Bufferview_pimpl.C:
5161 * text2.C: remove #include "lyx_gui_misc.h".
5163 * LaTeX.C: added #include <cstdio>
5165 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5167 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5168 that the paragraph following this one can have.
5170 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5172 * vspace.C (asLatexCommand): fix bogus gcc warning
5174 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5176 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5178 * text2.C (setLayout): get rid of redundant code
5180 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5182 * text2.C (incDepth): make sure depth cannot be increased beyond
5185 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5187 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5188 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5190 * PainterBase.h (image):
5191 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5194 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5198 * BufferView_pimpl.C:
5199 * BufferView_pimpl.h:
5219 * sp_spell.C: remove fig inset, and the crap house of
5220 cards that follows it
5222 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5228 * nt_defines.h: move .h into support/
5230 * vms_defines.h: remove
5232 * WorkArea.C: add space in debug output
5236 * buffer.C: add WITH_WARNINGS
5240 * bufferlist.C: s/retrive/retrieve/, add docs
5251 * lyxgui.C: add ID to X error handler
5253 * lyxtestclass.c: fix typo
5255 2002-02-26 Juergen Vigna <jug@sad.it>
5257 * tabular_funcs.C (write_attribute): changed so that some default
5258 attributes are not written at all.
5259 (getTokenValue): set default values before trying to read the
5260 value so we have the return value always set as default if we don't
5261 find the token we search for.
5263 * tabular.C (Write): write bools as bools not as strings!
5265 2002-02-22 Juergen Vigna <jug@sad.it>
5267 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5268 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5270 * text.C (leftMargin): don't add an indent for paragraphs inside
5271 tabular cells (fix #208).
5273 2002-02-21 José Matos <jamatos@fep.up.pt>
5275 * tabular.C (docBook): fixed support for long tables.
5277 2002-02-20 Juergen Vigna <jug@sad.it>
5279 * text2.C (getFont): get the drawing font of the Inset if this
5280 paragraph is inside an inset (only important for InsetERT for now).
5282 * buffer.C (insertErtContents): use new lanugage params in ERT
5285 * CutAndPaste.C: commenting out seemingly uneeded code.
5287 2002-02-19 Allan Rae <rae@lyx.org>
5289 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5290 Iterators might be simple to use but they also get invalidated.
5291 (removeAutoInsets): renamed saved cursor tracking variables and added
5292 some comments to clarify what everything does.
5294 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5301 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5302 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5305 * vc-backend.h: remove #include "support/syscall.h"
5309 * converter.C: rearrange #includes in Lars' approved fashion.
5311 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5312 forward declare class Timeout in the header file.
5314 * XFormsView.C: changes due to the above.
5316 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5319 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5320 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5322 2002-02-18 José Matos <jamatos@fep.up.pt>
5324 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5327 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5329 * a lot of small ws changes
5330 * add a lot of using std::XXX
5331 * use std construcs some places where approp.
5332 * use some exisint stuff from lyxfunctional where approp.
5333 * Make file changes to use partial linking (lets test this now...)
5335 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5339 remove #include "support/syscontr.h" as it's redundant. Always has been.
5347 change Systemcalls::System to Systemcalls::Wait and
5348 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5349 No change of functionality, just reflects the stripped down Systemcalls
5352 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5354 * debug.[Ch]: add a GRAPHICS type to the enum.
5356 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5358 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5360 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5363 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5365 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5366 match the changes below.
5368 * text2.C (toggleInset): if there is not editable inset at cursor
5369 position, try to see if cursor is _inside_ a collapsable inset
5372 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5374 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5375 document menu has a nice checkbox
5377 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5379 * lyxlength.C (asLatexString): change PW to output as percent of
5382 * lengthcommon.C: change '%' to 't%'
5384 * lyxfunc.C (dispatch): a few comments from Martin
5386 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5390 * BufferView_pimpl.h:
5391 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5394 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5396 * vspace.C (inPixels): fix compiler warning
5398 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5400 * lyxfunc.C (getStatus): fix status message for disabled commands.
5402 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5404 * BufferView_pimpl.C: fix crash on close buffer
5405 during selection (#227)
5407 2002-01-27 Herbert Voss <voss@lyx.org>
5409 * buffer.C: link old Figure to new graphic inset
5411 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5413 * FontLoader.C (getFontinfo): Change the latex font names in order
5414 to match the names of type1inst.
5416 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5418 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5420 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5423 (remove_files_with_extension): ditto
5424 (remove_file): ditto
5427 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5428 document is smaller than the work area height. Do not initialize
5429 static variables to 0.
5431 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5433 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5435 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5436 LFUN_LAYOUT_PARAGRAPHS.
5438 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5439 tabular. It is possible to provide a possible cell, which will
5440 typically be the actcell from the corresponding insettabular
5442 * lyxfunc.C (getStatus): small cleanup; disable
5443 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5446 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5448 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5450 * paragraph.C (startTeXParParams):
5451 (endTeXParParams): new methods. The LaTeX code to
5452 start/end paragraph formatting
5453 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5454 empty (fixes bug #200)
5456 * vspace.C (inPixels): adapt to the change below
5457 (inPixels): [later] more cleanups (remove unused variables)
5459 * lyxlength.C (inPixels): change to use a width and a height as
5462 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5464 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5465 Replaced with \paperwidth
5467 * DepTable.C (insert): add std:: qualifier
5469 2002-01-18 Allan Rae <rae@lyx.org>
5471 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5474 * text.C (drawInset): Turned out I didn't know enough about how
5475 rebreaking worked. This fixes most of the redraw problems. I see
5476 an occasional cursor trail when a line is broken now and the cursor
5477 placement can seem out by a few pixels also after a rebreak.
5479 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5481 * buffer.C (parseSingleLyXformat2Token): update because minipage
5482 width is now a LyXLength
5484 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5486 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5489 2002-01-17 Juergen Vigna <jug@sad.it>
5491 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5493 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5494 is set correctly and the inset is updated correctly.
5496 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5498 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5499 the beginning of the loop.
5501 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5503 * lyxrc.C: improve help for use_scalable_fonts
5505 2002-01-17 Allan Rae <rae@lyx.org>
5507 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5509 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5511 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5512 make sure to set their inset_owner to the right value (bug #171)
5514 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5517 * DepTable.C: Implement mtime checking to reduce time spent doing
5520 2002-01-16 Juergen Vigna <jug@sad.it>
5522 * tabular.C (GetAdditionalHeight): one of error fixed.
5524 * lyxrc.C (output): small fix in writing use_pspell.
5526 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5528 * sp_base.h: #include LString.h
5530 2002-01-16 Allan Rae <rae@lyx.org>
5532 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5533 Can someone check this please?
5535 * text.C (drawInset): It was possible that p.row would be removed by
5536 breakAgainOneRow upsetting a few other settings. There may be another
5537 small tweak possible by setting need_break_row = 0 when p.row has been
5538 removed but I don't know enough about the logic here.
5540 2002-01-15 Allan Rae <rae@lyx.org>
5542 * text.C (insertChar): removed conditional truism.
5544 * BufferView2.C (removeAutoInsets): More tweaks.
5545 cur_par_prev could be a stray pointer. Check for trailing empty line
5546 in case last line was cur_par and only had an error inset on it.
5548 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5550 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5553 * vc-backend.C (most methods):
5554 * exporter.C (Export):
5555 * converter.C (convert):
5557 * LyXSendto.C (SendtoApplyCB):
5558 * lyxfunc.C (dispatch):
5562 * lyx_cb.C (AutoSave):
5564 * BufferView_pimpl.C (MenuInsertLyXFile):
5565 * buffer.C (runChktex): use Buffer::filePath().
5567 * buffer.h: rename filename to filename_; rename filepath to
5568 filepath_ and make it private
5569 (filePath): new method
5571 * buffer.C (writeFile): use fileName()
5574 * lyx_main.C (init): fix starting of LyX when the binary is a
5575 link from so,ewhere else.
5577 * minibuffer.C: include <cctype> for isprint
5579 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5581 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5582 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5583 name clash with InsetCollapsable's width function.
5585 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5587 * lastfiles.C: include <iterator>
5589 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5591 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5594 * buffer.C (makeLaTeXFile): ditto.
5595 Also make loop operation more transparent.
5597 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5599 * ToolbarDefaults.C: remove trailing comma closing namespace.
5601 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5603 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5606 * trans.C (Load): comment out unused variable, allowed.
5608 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5610 * minibuffer.[Ch] (append_char): new method to recieve input from the
5611 drop-down completion browser. If a key was pressed, then recieve this
5612 char and append it to the existing string.
5613 (peek_event): modify the positioning data passed to the completion
5614 browser so that it can be placed above the minibuffer rather than below.
5615 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5617 * LyXAction.C (init): alloe error-next for readonly documents.
5619 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5622 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5624 * bufferlist.C (readFile): create the buffer _after_ checking that
5627 * lyxfunc.C (verboseDispatch): fix handling of arguments
5629 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5631 * lyxrc.C: use string::erase() instead of initializing to "".
5634 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5636 * BufferView_pimpl.h:
5637 * BufferView_pimpl.C:
5640 * text2.C: tell X when we have made a selection for copying
5642 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5644 * BufferView_pimpl.C (MenuInsertLyXFile):
5645 * lyxfunc.C (menuNew):
5647 (doImport): add shortcuts to directory buttons
5649 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5652 * lyxfunc.C (setStatusMessage):
5653 (getStatusMessage): new methods
5654 (getStatus):use setStatusMessage instead of setErrorMessage
5655 (dispatch): when function is disabled, set error message here
5656 [instead of in getStatus previously]
5658 * BufferView_pimpl.C (workAreaButtonRelease): update
5659 toolbar/menubar here too.
5661 2002-01-13 Allan Rae <rae@lyx.org>
5663 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5664 Now seems indestructible. Remaining task is to audit all other
5665 code affected by deleteEmptyParagraphMechanism. One small quirk
5666 left is that an empty document with an error in the preamble can
5667 be made to report an error but no error box appears. I don't know
5669 (removeAutoInsets): Improved comments.
5671 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5674 * Thesaurus.C: update for Aiksaurus 0.14
5676 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5678 * text2.C (firstParagraph): removed member function, all uses
5679 replaces with ownerParagraph
5680 (redoParagraphs): here
5682 (toggleAppendix): here
5683 * BufferView2.C (insertErrors): here
5684 (setCursorFromRow): here
5686 2002-01-13 Allan Rae <rae@lyx.org>
5688 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5689 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5690 There is still a way to segfault this although you may have to do this
5691 multiple times: Have an InsetERT with an unknown command in it.
5692 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5693 <down-arrow>, <Enter> again, View->DVI, BANG!
5695 * text2.C (setCursor):
5696 (deleteEmptyParagraphMechanism):
5697 * lyxtext.h (setCursor):
5698 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5699 Making use of the return value may help fix other bugs.
5701 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5703 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5705 * LyXView.C (updateMenubar): call MenuBar::update here
5706 (updateToolbar): but not here
5707 (showState): do not update toolbar/menubar
5709 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5710 should need to care about that.
5712 * lyxfunc.C (verboseDispatch): simplify a bit
5713 (getStatus): have a version which takes a pseudoaction, and
5714 another which requires a (kb_action,string).
5716 * LyXAction.C (retrieveActionArg): make it work also when action
5717 is not a pseudo-action.
5718 (getActionName): simplify a bit
5721 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5723 * lyxfunc.C (verboseDispatch): new families of methods with
5724 several ways to specify a command and a bool to indicate whether
5725 the command name and shortcut should be displayed in minibuffer
5726 (eventually, we could extend that to a finer bitmask like
5727 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5728 (dispatch): the pristine dispatch command which just, well,
5729 dispatchs! Note it still sets its result to minibuffer; I'm not
5732 * lyxfunc.h: remove setHintMessage
5734 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5736 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5738 * BufferView_pimpl.C (specialChar): delete new inset if we have
5739 not been able to insert it.
5741 * kbmap.C: revert to using int instead of kb_action, since all we
5742 are dealing with is pseudo-actions.
5744 * LyXAction.C (searchActionArg): change to return int instead of
5745 kb_action, since the result is a pseudoaction.
5747 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5749 * buffer.C (insertErtContents): Fix (partially) the font bug.
5751 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5753 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5754 as the other one is broken on my machine!
5756 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5759 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5761 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5763 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5764 reflect their actual use. Provide compatibility code for older lyxrc
5767 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5769 change names of popup font variables in line with the changes to lyxrc.C
5771 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5773 * buffer.C (asciiParagraph): avoid outputing a word twice after
5776 * lyxrc.C (getDescription): document that document_path and
5777 template_path can be empty.
5779 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5781 * LaTeXFeatures.C (getMacros):
5782 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5784 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5786 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5788 (getPackages): rename feature "floats" to "float". Use an array to
5789 iterate over 'simple' features (i.e. just a \usepackage). Add
5790 handling of "amsmath" (renamed from "amsstyle").
5792 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5794 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5797 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5799 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5800 FuncStaus::FuncStatus & FuncStaus::some_method().
5802 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5804 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5805 of the func_satus stuff. Edited and massaged in various ways by
5808 * lyxfunc.C (getStatus): use FuncStatus
5810 2002-01-08 Juergen Vigna <jug@sad.it>
5812 * text.C (nextBreakPoint): use function Inset::isChar().
5814 * paragraph.C (TeXOnePar): use function
5815 Inset::forceDefaultParagraphs.
5817 * buffer.C (latexParagraphs): use function
5818 Inset::forceDefaultParagraphs.
5820 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5822 * lyx_gui.C (init): set the style of the menu popups to
5823 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5825 2002-01-07 Juergen Vigna <jug@sad.it>
5827 * text.C (setHeightOfRow): small fix
5828 (prepareToPrint): don't look at alignment if we don't have the place
5831 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5833 * box.C: New file. Move the Box methods and functions out of box.h,
5834 following Lars' suggestion.
5836 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5838 * box.h: #include "support/LOstream.h", needed for inlined function.
5841 * lyxtextclasslist.C: added some using std declarations.
5843 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5845 * box.h: make signed dimensions to allow insets wider than
5846 the screen (bug #162)
5848 * BufferView_pimpl.C: add some insetHit debug
5850 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5852 * vc-backend.C: add FIXME
5854 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5856 * lyxfunc.C (getStatus): enable code for showing math font status
5859 2002-01-07 Juergen Vigna <jug@sad.it>
5861 * text.C (nextBreakPoint): removed debug output not needed anymore.
5863 2002-01-06 Juergen Vigna <jug@sad.it>
5865 * text.C (nextBreakPoint): fixed up this function we had this bug
5866 since ever but now hopefully we break row better.
5867 (insertChar): we have to check if an inset is the next char as it
5868 could now happen that a large inset is causing a break.
5870 2002-01-05 Juergen Vigna <jug@sad.it>
5872 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5873 if it doesn't like to be drawed.
5875 2002-01-04 Juergen Vigna <jug@sad.it>
5877 * BufferView2.C (lockInset): forgot to set a cursor.
5879 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5881 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5886 * form_maths_panel.C:
5887 * form_maths_panel.h:
5888 * form_maths_panel.fd: implemented sub- and super- buttons in math
5891 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5892 (or ^ space) to be used as in TeX (req'd by André).
5894 * lyxfunc.C: Allow ^ and _ again to be used both as
5895 super/subscript (mathed) and as themselves (in text).
5897 2002-01-03 Allan Rae <rae@lyx.org>
5899 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5900 "LyX" or the filename of the current buffer if it has one. This is a
5901 modified form of John Levon's patch.
5903 * XFormsView.C (setWindowTitle): also set icon title.
5905 * LyXView.h (setWindowTitle): signature changed.
5906 * XFormsView.h (setWindowTitle): ditto.
5908 2002-01-02 Juergen Vigna <jug@sad.it>
5910 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5912 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5914 * screen.C (topCursorVisible): introduce a temp var for
5915 text->cursor.row(), handle the case where this row is null. (kindo
5918 * text2.C (setCursor): add a couple of asserts.
5920 * paragraph.h (inset_iterator): add -> operator
5922 * paragraph.[Ch] (autoDeleteInsets): remove member function
5924 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5925 cursor pos correctly and handle inset deletion by itself.
5926 (insertErrors): move iterator declaration out of for expression
5928 * lyxtextclass.C: add <algorithm>
5930 * Makefile.am: added the new files to sources, removed layout.C
5932 * layout.C: removed file
5934 * layout.h: remove LYX_DUMMY_LAYOUT
5936 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5940 * lyxtextclass.[Ch]:
5941 * lyxtextclasslist.[Ch]: new files
5943 * include order changes to a lot of files, also changes because of
5946 2001-12-27 Juergen Vigna <jug@sad.it>
5948 * buffer.C (asciiParagraph): more fixes.
5950 * tabular.C (ascii): make ascii export support export of only the
5951 data separated by a column-delimiter.
5952 (ascii): better support for ascii export.
5954 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5956 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5958 * tabular_funcs.C: use a "using std::getline" instead of the
5959 previous fix from Angus (necessary for cxx + lyxstring)
5961 2001-12-24 Juergen Vigna <jug@sad.it>
5963 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5965 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5966 problems. First check a minipage also if we have some ert-contents
5967 (not only on par->size(), second set the right depth of the paragraph
5968 on the relink to the root-paragraph-list!
5970 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5971 which then did not anymore update the main paragraphs on undo/redo!
5973 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5975 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5976 code. Support all font-changing funcs (even those which are not in
5977 menu currently). Support for reporting font settings in
5978 mathed (disabled until Andre provides a function on mathed's side).
5980 * func_status.h (toggle): small helper function to set toggle
5983 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5985 * tabular_funcs.C: getline -> std::getline
5987 2001-12-21 Juergen Vigna <jug@sad.it>
5989 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5990 accessed and could be 0 (I couldn't generate this but it seems
5993 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5995 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5996 * tabular_funcs.h: here and include iosfwd
5998 2001-12-20 Juergen Vigna <jug@sad.it>
6000 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
6001 inside inset but undo_par was.
6003 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6005 * Thesaurus.C: always include <config.h> in sources.
6009 * box.h: do not include <config.h> in header files
6011 * text.C (paintLastRow): remove unused variable
6013 * text.C (transformChar):
6015 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
6018 * font.C (width): rewrite to use uppercase() instead of
6021 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
6023 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
6025 * lyxfind.C: clean up of find failure position change
6027 2001-12-20 Juergen Vigna <jug@sad.it>
6029 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
6031 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
6032 (TeXRow): added to LaTeX a single tabular row.
6033 (TeXLongtableHeaderFooter): added to output LT-h/f data.
6034 (Latex): simplified and finally good LT-h/f support.
6035 (various_functions): just small adaptions for LT-h/f support.
6037 * tabular_funcs.[hC]: added and moved here all not classfunctions
6040 2001-12-19 Juergen Vigna <jug@sad.it>
6042 * tabular.[Ch]: better support for longtabular options (not finished
6045 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6047 * text.C (paintLastRow): use the label font instead of the font of
6048 the last character to compute the size of *_BOX. This makes more
6049 sense and avoids a crash with empty paragraphs.
6050 Use Painter::rectangle to draw EMPTY_BOX.
6052 2001-12-19 Juergen Vigna <jug@sad.it>
6054 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
6055 the paragraphs if the replaced paragraph is not the first one!
6056 Tried to delete not used paragraphs but does not work yet so for
6057 now it's inside #ifdef's and by default off!
6059 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6061 * MenuBackend.C: include "lyx_main.h" instead of declaring
6062 lastfiles (actually was declared as LastFiles* instead of a
6065 2001-12-17 Juergen Vigna <jug@sad.it>
6067 * tabular.C (AppendColumn): applied John's fix
6069 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
6073 * BufferView_pimpl.h:
6074 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
6077 * box.h: new start of class for above
6079 * lyxfunc.C: ignore space-only minibuffer dispatches.
6080 Show the command name when it doesn't exist
6082 * minibuffer.C: don't add empty lines to the history
6084 * minibuffer.C: add a space on dropdown completion
6086 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
6088 * text.C: fix line above/below drawing in insets
6090 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6092 * lyxlength.C (LyXLength): Initialize private variables.
6094 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
6096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
6097 when inserting error insets.
6099 2001-12-13 Juergen Vigna <jug@sad.it>
6101 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
6102 actually sometimes the before-paragraph.
6103 (setUndo): don't clear the redostack if we're not actually undoing!
6105 2001-12-06 Juergen Vigna <jug@sad.it>
6107 * undo_funcs.C (textHandleUndo): well after John's hint I got here
6108 and fixed redoing of main paragraph, so we can use it now ;)
6110 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
6112 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6114 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
6117 2001-12-13 André Pönitz <poenitz@gmx.net>
6120 * undo_func.C: minor cleanup
6122 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6124 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
6125 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
6126 font in urw-fonts package which is marked as -urw-fontspecific and
6127 does not work (incidentally, changing the encoding in the
6128 fonts.dir of this package to -adobe-fontspecific fixes the
6131 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
6132 is a crash when undoing first paragraph (Juergen, please take a
6133 look). THis does not mean the undo fix is wrong, just that it
6136 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
6137 the (Paragraph*) version when needed instead of duplicating the
6140 * text.C (workWidth): use Inset::parOwner to find out where the
6141 inset has been inserted. This is a huge performance gain for large
6142 documents with lots of insets. If Inset::parOwner is not set, fall
6143 back on the brute force method
6145 * paragraph_pimpl.C (insertInset):
6146 * paragraph.C (Paragraph):
6147 (cutIntoMinibuffer): set parOwner of insets when
6148 inserting/removing them
6150 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6152 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6158 * mathed/formulabase.C:
6159 * mathed/math_cursor.[Ch]:
6160 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6163 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6165 * lyxlength.[Ch] (operator!=): new function
6167 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6169 * text.C (workWidth): use Inset::parOwner to find out where the
6170 inset has been inserted. This is a huge performance gain for large
6171 documents with lots of insets. If Inset::parOwner is not set, fall
6172 back on the brute force method
6174 * paragraph_pimpl.C (insertInset):
6175 * paragraph.C (Paragraph):
6176 (cutIntoMinibuffer): set parOwner of insets when
6177 inserting/removing them
6179 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6181 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6183 * tabular-old.C (getTokenValue):
6184 * tabular.C (getTokenValue):
6185 (write_attribute): new versions for LyXLength
6186 (everywhere): adjust the use of widths
6188 * tabular.h: change the type of widths from string to LyXLength
6190 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6192 * paragraph.C: fixed missing line number count when exporting
6193 Environments to LaTeX file
6195 * buffer.C: added informational message for checking line numbers.
6197 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6199 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6200 paragraph, do the 'double space' part, but not the 'empty
6203 * text.C (workWidth): small optimization
6204 (getLengthMarkerHeight): use minimal size for negative lengths.
6206 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6208 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6210 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6212 2001-12-11 André Pönitz <poenitz@gmx.net>
6215 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6217 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6219 * text2.C: keep selection on a setFont()
6221 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6223 * lyx_cb.C: another bv->text misuse, from insert label
6225 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6228 * kbsequence.C: re-instate nmodifier mask
6230 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6232 * lyx_main.h: make lyxGUI private.
6234 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6236 * lyxfind.C: place the cursor correctly on failed search
6238 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6240 * text.C (getLengthMarkerHeight): for small heights, the arrows
6241 are not always on top/bottom of the text
6242 (drawLengthMarker): smaller arrows; take the left margin in
6243 account; draw also vfills.
6245 (paintLastRow): remove special code for vfill and standard spaces,
6246 since everything is handled in drawLengthMarker now.
6248 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6250 * buffer.C (insertErtContents): try to handle font and language
6251 interaction a bit better.g
6253 * ColorHandler.C (updateColor): change the hash to cover the whole
6254 LColor enum, ws cleanup
6255 (getGCLinepars): ditto
6256 (getGCLinepars): only lookup in the linecache once.
6258 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6260 * iterators.C (operator++): Make the iterator more robust
6262 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6264 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6266 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6269 * text.C: better added space drawing
6271 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6274 * BufferView2.C: fix layout combo update on inset unlock
6276 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6278 * Makefile.am: don't compile unused files
6280 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6284 * LyXAction.C: remove old LFUN_LAYOUTNO
6286 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6288 * paragraph_pimpl.h:
6289 * paragraph_pimpl.C: isTextAt() doesn't need font param
6291 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6294 * lyxlex.C: little cleanup
6296 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6298 * BufferView_pimpl.C: fix insertAscii for insets
6300 2001-12-05 Juergen Vigna <jug@sad.it>
6302 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6303 set the right font on the "multi" paragraph paste!
6305 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6311 * lyxlength.C: remove out-commented code.
6327 * vc-backend.C: change "while(" to "while ("
6329 * lyxlength.[Ch]: add zero function to check if length is zero or
6331 * lyxgluelength.C: use it
6333 2001-12-05 Allan Rae <rae@lyx.org>
6335 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6336 Works for 2.95.3, from what I understand of Garst's reports this should
6337 work for other g++ versions. We're screwed if the abs(int) definition
6338 changed between bugfix releases of gcc.
6340 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6342 * text.C: fix chapter label offset !
6344 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6347 * text.C: fix hfill at end of line, clean up
6349 2001-12-04 Juergen Vigna <jug@sad.it>
6351 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6352 that we force an update of the inset and it's owners if neccessary.
6354 2001-12-03 Juergen Vigna <jug@sad.it>
6356 * text.C (rowLast): simplified code
6358 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6360 * lyxfunc.C: fix show options on timeout
6362 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6364 * screen.C (topCursorVisible): scroll half a page when the cursor
6365 reached top of bottom of screen
6367 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6369 * minibuffer.C: deactivate on loss of focus
6371 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6373 * vspace.[Ch] (operator!=): add operator.
6375 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6377 * BufferView_pimpl.C: refuse to open an inset when
6378 there's a selection.
6380 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6382 * BufferView_pimpl.C: allow to click on RHS of full row insets
6384 2001-11-30 Juergen Vigna <jug@sad.it>
6386 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6387 insets for undo reasons.
6389 2001-11-28 André Pönitz <poenitz@gmx.net>
6391 * vspace.[Ch]: cosmetical changes
6393 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6403 * kbsequence.C: part re-write of old kb code
6406 * WorkArea.C: remove Lgb_bug_find_hack
6408 2001-11-30 José Matos <jamatos@fep.up.pt>
6410 * buffer.C (makeDocBookFile): add a comment to point a hack.
6411 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6412 Fixed a double write of labels.
6414 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6417 * LaTeX.h Fixed bug in LaTeX class where it would not
6418 re-run latex if no depfiles were changed, but the .dvi was removed.
6420 2001-11-28 André Pönitz <poenitz@gmx.net>
6422 * all the files from the change on 2001/11/26:
6423 use lyx::layout_type instead of LyXTextClass::size_type
6424 use lyx::textclass_type instead of LyXTextClassList::size_type
6426 2001-11-29 Juergen Vigna <jug@sad.it>
6428 * text.C: added support for paragraph::isFreeSpacing()
6430 * buffer.C: same as above
6432 * paragraph.h: inserted isFreeSpacing() function to enable
6433 FreeSpacing inside InsetERT.
6435 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6436 of the paragraph's in the cut/copy buffer to 0!
6438 * text2.C (removeRow): remove the assert as it can!
6440 * lyxtext.h: added helper function firstRow returning firstrow and
6441 made firstrow private again.
6443 * BufferView2.C (lockInset): don't relock if we're already locked!
6445 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6447 (removeRow): added Assert::(firstrow)
6449 * debug.C: forgot to add INSETTEXT here.
6451 2001-11-28 Juergen Vigna <jug@sad.it>
6453 * sp_spell.C (initialize): changed error text to more general
6454 spellchecker command use (not only ispell!)
6456 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6458 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6460 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6462 * vspace.C: initialise lyxgluelength on failure
6464 2001-11-28 Allan Rae <rae@lyx.org>
6466 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6467 declaration & definition that looks like a function declaration.
6469 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6471 * BufferView2.C (copy):
6472 (copyEnvironment): do not clear the selection when doing a copy.
6474 * text.C (paintFirstRow): compilation fix
6476 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6478 * tabular.C (Latex): correct line count when writing latex.
6480 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6482 * paragraph_pimpl.h:
6483 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6486 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6490 * LColor.C: change vfillline->added_space
6492 * text.C: add markers and text for added space
6494 * vspace.C: fix comment
6496 2001-11-28 André Pönitz <poenitz@gmx.net>
6498 * paragraph.C: whitespace changes
6499 * all the other files from the change on 2001/11/26:
6500 change *::pos_type into lyx::pos_type
6502 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6504 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6505 language of the document when inserting error insets.
6507 2001-11-26 André Pönitz <poenitz@gmx.net>
6509 * BufferView_pimpl.[Ch]:
6517 * paragraph_pimpl.[Ch]:
6520 * text2.C: reduce header dependencies, introduce type for positions
6522 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6524 * <various>: change to use Alert.h
6526 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6528 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6529 when encountering an unknown token.
6530 (readLyXformat2): Show an error message if there were unknown tokens.
6532 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6535 * BufferView_pimpl.C:
6539 * text2.C: use par->isInset()
6541 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6543 * paragraph_pimpl.h:
6544 * paragraph_pimpl.C: cleanup
6546 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6548 * text2.C (removeRow):
6549 * text.C (setHeightOfRow): remove useless (and costly) call to
6552 2001-11-20 Allan Rae <rae@lyx.org>
6554 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6555 Now need Inset*::checkInsertChar() to return true for appropriate
6556 cases so that the characters in the minibuffer will actually be
6559 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6561 * text.C: change the order of the includes.
6562 (workWidth): initialize it at once.
6563 (workWidth): make maxw unsigned
6564 (setHeightOfRow): remove unused variable (inset)
6565 (selectSelectedWord): remove unused variable (inset)
6566 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6568 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6570 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6571 server is not running.
6573 (closeConnection): add debug info when server is disabled.
6575 * ColorHandler.C (getGCForeground): send debug message to GUI
6578 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6580 * kbmap.C (bind): modify because return conventions of
6581 kb_sequence::parse have changed.
6583 * kbsequence.C (parse): only ignore spaces and not any stupid
6584 control character. This avoids tests like s[i] <= ' ', which are
6585 guaranteed to fail with 8bit characters and signed chars.
6586 Change return code to string::npos when there have been no error
6587 (0 was a bad idea when error is at first character)
6589 2001-11-14 José Matos <jamatos@fep.up.pt>
6592 * buffer.C (simpleDocBookOnePar): removed unused argument.
6594 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6596 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6597 insets which are part of a word. Paragraph::isLetter takes care of
6598 that now. Use Paragraph::isInset to identify insets.
6599 (selectSelectedWord): do not test for hyphenation break.
6601 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6602 that protected spaces are considered as spaces.
6604 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6607 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6610 * lyxserver.C: fix it. and small cleanup.
6612 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6614 * BufferView_pimpl.C: use inline helpers
6617 * LaTeXFeatures.C: fix typos
6620 * Spacing.C: move spacing_string into class
6622 * ToolbarDefaults.C: move stuff into namespace anon
6624 * layout.h: update enum
6626 * lyxfunc.C: use better debug
6628 * minibuffer.h: fix typo
6632 * WorkArea.C: add and use Debug::WORKAREA
6636 * text2.C: code re-organisation, inline helpers
6638 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6640 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6641 std::vector.empty().
6643 2001-11-09 Allan Rae <rae@lyx.org>
6645 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6646 '\n's after tables. Tabular and ERT inset work now makes this no
6649 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6652 * minibuffer.C: fix crash, improve drop-down completion
6654 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6657 * lyxserver.C: invalidate fd's when doing endPipe()
6659 2001-11-08 José Matos <jamatos@fep.up.pt>
6661 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6662 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6665 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6667 2001-11-07 José Matos <jamatos@fep.up.pt>
6670 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6673 * buffer.C (sgmlOpenTag):
6674 * buffer.C (sgmlCloseTag): removed debug info.
6676 * buffer.h (sgmlOpenTag):
6677 * buffer.h (sgmlCloseTag): made public.
6679 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6681 * buffer.C (saveParamsAsDefaults):
6682 * lyx_cb.C (MenuLayoutSave): remove
6684 * LyXAction.C (init):
6686 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6688 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6690 * buffer.C (setPaperStuff): removed from here...
6692 * bufferparams.C (setPaperStuff): ... and moved there.
6694 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6698 * XFormsView.C: add support for drop-down completion
6700 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6702 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6705 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6707 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6710 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6712 * lyx_main.C: change ref to known bugs
6714 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6716 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6717 to work around older babel problems.
6719 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6721 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6723 2001-10-24 Juergen Vigna <jug@sad.it>
6725 * tabular-old.C (ReadOld): below variable changes reflected.
6727 * tabular.[Ch]: added ltType struct for longtable header/footer
6728 defines and changed all instances where they are used. Added
6729 future support for double top/bottom rows.
6731 2001-10-24 José Matos <jamatos@fep.up.pt>
6733 * buffer.h (docbookHandleCaption):
6734 * buffer.C (docbookHandleCaption): removed unused function.
6735 (makeDocBookFile): moved docbook supported version to v4.1.
6737 2001-10-24 José Matos <jamatos@fep.up.pt>
6740 * tabular.C (docbookRow): new function to export docbook code of a row.
6741 (DocBook): now honors the longtable flags.
6743 2001-10-23 José Matos <jamatos@fep.up.pt>
6746 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6747 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6749 * buffer.C (makeLinuxDocFile):
6750 (makeDocBookFile): reworked the preamble, more clean, and with
6751 support for lyx defined entities. Changed the document declaration
6752 to be more XML friendly.
6754 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6755 if we need to output XML that should be done with a filter.
6757 2001-10-22 Juergen Vigna <jug@sad.it>
6759 * sp_pspell.h (class PSpell): add alive function needed in the
6760 controller to see if the spellchecker could be started.
6762 2001-10-22 Juergen Vigna <jug@sad.it>
6764 * buffer.C (insertStringAsLines): modify the font for inserting
6765 chars in certain conditions by calling checkInsertChar(font).
6767 2001-10-19 Juergen Vigna <jug@sad.it>
6769 * text.C (workWidth): use getRow instead of wrong algorithm.
6770 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6772 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6777 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6779 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6781 * text.C (workWidth): do not search for the exact row when
6782 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6783 optimization for big documents.
6785 2001-10-18 Juergen Vigna <jug@sad.it>
6787 * text.C (workWidth): new function with added Inset * parameter.
6789 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6791 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6793 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6794 change return type of getColumnNearX.
6797 * text.C (changeRegionCase): use uppercase/lowercase instead of
6800 (rightMargin): simplify code by factoring out the uses of
6805 (appendParagraph): use Paragraph::size_type
6807 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6809 * vspace.C (asLatexString): add a missing break
6811 2001-10-15 Herbert Voss <voss@perce.de>
6813 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6815 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6817 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6820 2001-10-10 André Pönitz <poenitz@gmx.net>
6822 * lyxfunc.C: removed greek_kb_flag.
6824 2001-10-10 Herbert Voss <voss@perce.de>
6826 * lyx_main.C: delete global string help_lyxdir.
6828 2001-10-09 Herbert Voss <voss@perce.de>
6830 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6832 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6834 * lyx_main.C: added global string help_lyxdir.
6836 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6838 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6840 * lyxrc.C (set_font_norm_type): support iso8859-4
6842 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6844 * LaTeX.C (deplog): add another regex for MikTeX
6846 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6848 * lyxrc.C (set_font_norm_type): support iso8859-3
6850 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6852 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6854 * LaTeXFeatures.C: remove special case of french and index
6856 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6857 before \begin{document}). This solves several incompatibilities.
6859 2001-10-03 Garst Reese <reese@isn.net>
6861 * lyx_cb.C: change CheckTex error msg.
6863 2001-10-03 José Matos <jamatos@fep.up.pt>
6865 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6867 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6869 * .cvsignore: update
6871 * lyx_main.C (commandLineVersionInfo): use new style version info.
6873 * buffer.C (writeFile):
6876 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6878 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6880 * version.h: update to use stuff in version.C
6882 * version.C.in: new file. Contains version information determined
6883 at compile time. This is a merging of version.h and
6886 2001-10-03 Juergen Vigna <jug@sad.it>
6888 * BufferView_pimpl.C (update): don't change "dirty" status in
6891 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6893 * WorkArea.C (c-tor): re-position version string slightly.
6895 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6897 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6898 revert to previous code.
6900 WorkArea.[Ch]: (show, destroySplash): methods removed.
6902 WorkArea.C: rework code so that it's an amalgam of the codes before and
6903 after the splash screen was moved to WorkArea.
6905 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6908 * vspace.C (inPixels):
6911 * buffer.C (insertStringAsLines):
6912 (asciiParagraph): fix types to be large enough
6914 * lyxlex_pimpl.h: change member status from short to int
6916 * layout.h: fix type of endlabeltype
6919 * kbsequence.C (parse): change return type to string::size_type
6921 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6924 * Bullet.C (bulletSize):
6925 (bulletEntry): do not use short ints as parameters
6927 * BufferView2.C (insertLyXFile): change a char to an int.
6929 * WorkArea.C (WorkArea): remove unneeded floats in computation
6931 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6933 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6935 * paragraph.C (asString): Do not ignore newline/hfill chars when
6936 copying to the clipboard.
6938 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6940 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6941 after a multi-line inset.
6943 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6945 * paragraph.C (validate): Set NeedLyXFootnoteCode
6947 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6949 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6950 and decrease-error to decrease.
6952 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6954 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6955 it more readable (should be equivalent)
6957 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6959 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6961 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6963 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6964 of a cursor (row, etc.) after a character has been deleted
6965 (deleteEmptyParagraphMechanism): call the method above on _all_
6966 cursors held by the LyXText when a double space has been
6969 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6971 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6973 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6975 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6976 background. Use greyOut() and the new show() methods to toggle between
6977 the foreground and background. Add code to remove the splash after
6978 its initial showing.
6980 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6981 (create_forms): no longer call Dialogs::showSplash.
6983 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6985 * .cvsignore: add version_info.h
6987 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6989 * version_info.h.in: new file
6991 * Makefile.am: add version_info.h.in
6993 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6994 version_info.h instead of VERSION_INFO
6996 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6998 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6999 The ERT inset now returns string().
7001 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
7003 * lyxtext.h, text.C (selectNextWord): renamed as
7004 selectNextWordToSpellcheck.
7006 * text.C (selectNextWordToSpellcheck): Modified to not select
7007 words inside an ERT inset.
7009 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7011 * lyx_cb.C (MenuLayoutSave): change a bit the question
7013 * sp_base.h: include <sys/types.h>
7015 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
7017 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
7019 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
7021 * several files: fix typos in user-visible strings
7023 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * text2.C (pasteSelection): do not set the selection, since it
7026 will be cleared later. Actually, the intent was to fix the way the
7027 selection was set, but I figured rmoving the code was just as good.
7029 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
7031 * FontLoader.C (available): Check if font is available without
7034 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7036 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
7038 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
7040 * lyxrc.[Ch]: added display_graphics variable and associated code.
7042 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7044 * bufferparams.C (hasClassDefaults): new method. Returns true if
7045 the buffer parameters correspond to known class defaults
7047 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
7049 * XFormsView.C (show): set minimum size to the main window.
7051 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7053 * text2.C (copySelection):
7055 * lyxfind.C (LyXReplace):
7056 * BufferView_pimpl.C (Dispatch): pass the correct flag to
7057 LyXText::selectionAsString.
7059 * paragraph.C (asString): add "label" argument to the second form
7061 * text2.C (selectionAsString): add "label" argument and pass it to
7062 Paragraph::asString.
7064 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7066 * lyx_main.C (commandLineHelp): remove version information
7068 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
7070 * lyx_main.C: add -version commandline option
7072 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * paragraph.h: make the optional constructor arg required instead.
7075 some modifications to other files because of this.
7077 * minibuffer.C (C_MiniBuffer_peek_event): make it static
7079 * lyxserver.C (C_LyXComm_callback): make it static
7081 * lyx_main.C (error_handler): make it static
7083 * lyx_gui.C (LyX_XErrHandler): make it static
7085 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
7087 * WorkArea.C: make the extern "C" methods static.
7089 * Makefile.am (lyx_LDADD): simplify
7091 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7093 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
7094 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
7096 * LyXAction.C (init):
7097 * lyxfunc.C (dispatch): associated code removal.
7099 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7101 * lyxfont.h (isSymbolFont): shut off warning
7103 * text.C (setHeightOfRow):
7104 (getVisibleRow): fix crash with empty paragraphs which have a
7107 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
7109 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
7112 2001-09-04 José Matos <jamatos@fep.up.pt>
7115 * tabular.C (docbook): rename docBook method to docbook.
7117 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7119 * Makefile.am: add dependencies to main.o.
7121 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
7123 * FontLoader.C (available): Return false if !lyxrc.use_gui
7125 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
7127 * FontInfo.C (query):
7128 * converter.C (view):
7129 * importer.C (Import):
7130 * exporter.C (Export): Can not -> cannot.
7132 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
7134 * BufferView_pimpl.C: allow to create index inset even if
7137 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7139 * buffer.C (getLists): replace boost::tie code with an explicit pair
7140 as boost::tie can break some compilers.
7142 * iterators.h: Added a std:: declaration to the return type of
7145 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7147 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7150 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7152 * iterators.[Ch]: New files. Provide paragraph iterators.
7154 * buffer.C (changeLanguage): Use paragraph iterators.
7155 (isMultiLingual): ditto
7157 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7159 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7161 * FontLoader.C: Support for cmr font.
7163 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7165 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7166 (available): New method.
7168 * FontInfo.C (getFontname): Use scalable fonts even when
7169 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7172 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7174 * converter.C (Formats::view): reverted! Incorrect fix.
7176 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7178 * converter.C (Formats::view): only output the -paper option
7179 if the dvi viewer is xdvi, thereby fixing bug #233429.
7181 2001-08-23 Herbert Voss <voss@perce>
7183 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7185 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7187 * Spacing.h (Spacing): Set space to Default on in the default
7190 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7192 * vc-backend.h (RCS::versionString): add RCS to version
7193 (CVS::versionString): add CVS to version
7195 * vc-backend.C (scanMaster): do not add CVS to version.
7196 (scanMaster): do not add RCS to version
7198 * lyxvc.C (versionString): new method
7200 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7202 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7204 * Spacing.C (set): initialize fval
7206 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7208 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7211 2001-08-16 Juergen Vigna <jug@sad.it>
7213 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7215 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7217 * BufferView_pimpl.C:
7220 * text2.C: setParagraph takes linespacing now
7222 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7224 * LyxAction.C: add internal LFUN_CITATION_INSERT
7226 * LyXView.C: actually apply fix
7228 * bufferlist.C: fix open non-existent file
7230 * lyxfind.C: fix indentation
7232 * lyxfunc.C: remove unneeded assert, fix typo
7234 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7236 * MenuBackend.C: use "Floatname List"
7238 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7240 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7241 when converting LaTeX layout to insetERT.
7242 Generate a non-collapsed float when reading old float
7244 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7246 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7249 2001-08-13 Juergen Vigna <jug@sad.it>
7251 * text.C (fill): return 0 instead of 20 as this seems to be the more
7254 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7256 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7259 2001-08-13 Juergen Vigna <jug@sad.it>
7261 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7263 (SearchBackward): comment out the unlocking of the inset_owner this
7264 should not be needed!
7266 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7268 * Many files: Remove inherit_language, and add latex_language
7270 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7273 2001-08-10 Juergen Vigna <jug@sad.it>
7275 * text.C (prepareToPrint): fixed hfill-width in draw!
7277 * BufferView2.C (selectLastWord): save the selection cursor as this
7278 now is cleared in the function LyXText::clearSelection!
7280 2001-08-08 Juergen Vigna <jug@sad.it>
7282 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7283 BACKSPACE type functions.
7285 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7286 is only cutted from the document but not put in the cut-buffer, where
7287 still the old stuff should be.
7289 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7291 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7293 * tabular.C (SetWidthOfCell): fixed special case where the width
7295 (LeftLine): handle '|' in align_special.
7297 (LeftAlreadyDrawed): ditto
7298 (SetWidthOfCell): ditto
7300 2001-08-07 Juergen Vigna <jug@sad.it>
7302 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7304 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7307 * lyxlex.[hC]: ditto
7309 2001-08-06 Juergen Vigna <jug@sad.it>
7311 * text.C (getVisibleRow): fix up row clearing a bit.
7313 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7315 * minibuffer.C: make sure the X server sees the changes in the input.
7317 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7319 * paragraph.C (getFont): split into...
7320 (getLabelFont): this
7321 (getLayoutFont): and this
7322 * paragraph_pimpl.C (realizeFont): calling this
7324 * text2.C (getFont): split into...
7325 (getLayoutFont): this
7326 (getLabelFont): and this
7327 (realizeFont): all three calling this
7329 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7332 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7334 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7336 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7338 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7339 layouts from the Quote inset insertion.
7341 2001-08-03 Juergen Vigna <jug@sad.it>
7343 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7345 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7346 only if status not is already CHANGED_IN_DRAW (second level).
7348 * text.C (draw): don't set the need_break_row when inside an
7351 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7353 * buffer.C (parseSingleLyXformat2Token): handle more latex
7356 * bufferview_funcs.[hC]: change function names to
7357 begin with small char, adjust other files.
7359 2001-08-02 André Pönitz <poenitz@gmx.net>
7362 BufferView_pimpl.C: remove broken special code for math-greek
7364 2001-08-02 Juergen Vigna <jug@sad.it>
7366 * BufferView_pimpl.C (update): redone this function so that we
7367 update the text again if there was a CHANGE_IN_DRAW.
7369 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7370 (drawFromTo): added a new internal bool which is used by draw() and
7372 (general): some cursor drawing problems fixed.
7374 2001-08-01 Juergen Vigna <jug@sad.it>
7376 * lyxfind.C (LyXFind): fixed
7377 (SearchForward): ditto
7378 (SearchBackward): ditto
7380 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7381 spurius drawing of the cursor in the main area.
7383 * text2.C (status): small fix which could lead to a segfault!
7384 (clearSelection): remove unneeded BufferView param.
7386 2001-08-01 André Pönitz <poenitz@gmx.net>
7388 * lyxfunc.C: small change due to changed mathed interface
7390 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7392 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7394 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7396 * lyxfunc.c: fail gracefully if file doesn't exist
7401 * BufferView_pimpl.C: IsDirWriteable() proto changed
7403 * LyXView.C: fix updateWindowTitle() to store the last title
7405 2001-07-31 Juergen Vigna <jug@sad.it>
7407 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7408 the font (wrong since using of Paragraph::highestFontInRange).
7410 * paragraph.C (highestFontInRange): added a default_size parameter.
7412 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7413 (setHeightOfRow): reformat
7415 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7417 * converter.[hC] + affected files: move to (inital-char)lowercase
7420 * ParagraphParameters.C (ParagraphParameters): remove commented code
7422 * PainterBase.[Ch]: remove commented code
7424 * LaTeXFeatures.h: add "bool floats" for float.sty
7426 * LaTeXFeatures.C (LaTeXFeatures): init floats
7427 (require): handle float
7428 (getPackages): do it with floats
7430 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7432 * BufferView_pimpl.C (Dispatch): improve handling of
7433 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7435 * commandtags.h: #include lyxfont.h here temporarily to avoid
7438 * bufferlist.h: include LString.h here.
7440 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7442 * text2.C (getStringToIndex): new method.
7444 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7446 * *: Reduced header file dependencies all over.
7448 2001-07-30 Baruch Even <baruch@lyx.org>
7450 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7452 2001-07-29 Baruch Even <baruch@lyx.org>
7454 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7456 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7458 * ParameterStruct.h (endif): add a default constructor to make
7459 sure that all variables is initialized.
7461 * ParagraphParameters.C (ParagraphParameters): adjust
7463 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7465 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7466 index; also, check that there is something to index, and that it
7467 does not span over several paragraphs.
7468 (doubleClick): use WHOLE_WORD_STRICT for double click.
7470 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7472 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7475 2001-07-26 Baruch Even <baruch@lyx.org>
7477 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7478 an InsetFig figure, backwards compatible reading of old figure code.
7480 2001-07-27 Juergen Vigna <jug@sad.it>
7482 * text2.C: font.realize function adaption.
7484 * text.C (draw): add a warnings lyxerr text if needed.
7486 * layout.C: font.realize function adaption.
7488 * language.C: add inherit_language and implement it's handlings
7490 * bufferview_funcs.C (StyleReset): remove language parameter from
7491 font creation (should be language_inherit now).
7493 * bufferparams.C (writeFile): handle ignore_language.
7495 * paragraph.C (getFontSettings): the language has to be resolved
7496 otherwise we have problems in LyXFont!
7498 * lyxfont.C (lyxWriteChanges): added document_language parameter
7499 (update): removed unneeded language parameter
7501 * paragraph.C (validate): fixed wrong output of color-package when
7502 using interface colors for certain fonts in certain environments,
7503 which should not seen as that on the final output.
7505 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7507 * BufferView_pimpl.C:
7512 * LyXAction.C: add thesaurus support
7515 * lyxfind.C: add "once" parameter, for thesaurus, to not
7516 move to the next match
7518 2001-07-26 Juergen Vigna <jug@sad.it>
7520 * lyxfont.C (realize): honor ignore_language too!
7523 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7525 * text.C (draw): one place more for ignore_language to not draw
7528 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7530 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7532 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7534 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7535 the minipage conversion problem.
7537 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7539 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7542 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7544 * BufferView.h: don't forward declare WorkArea
7546 * BufferView.C: don't include WorkArea.h
7548 2001-07-25 André Pönitz <poenitz@gmx.net>
7552 * lyxfunc.C: new LFUN 'math-space'
7554 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7556 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7558 * text2.C (toggleInset): call open/close
7560 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7562 * lyxfunc.C (dispatch): add debug for the disabled case
7564 * font.C (buttonText): make similar to rectText
7566 * buffer.C (readInset): comment out parsing of insetlist and
7569 * PainterBase.C (rectText): small correction
7571 * BufferView_pimpl.C: comment out insettheorem and insetlist
7572 * LyXAction.C: ditto
7573 * commandtags.h: ditto
7575 2001-07-24 Juergen Vigna <jug@sad.it>
7577 * text.C (draw): honor the ignore_language.
7579 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7581 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7583 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7586 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7588 * lyxtext.h: remove unused (and unimplemented) methods
7590 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7592 * text.C (getVisibleRow): honor background color
7595 * Painter.h: remove default color argument for fillRectangle
7597 * text.C (backgroundColor): new method
7599 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7601 * text.C (getVisibleRow): adjust
7603 * font.[Ch] (rectText): new method, metrics
7604 (buttonText): new method, metrics
7606 * PainterBase.[hC]: make rectText and buttonText always draw and take
7609 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7611 * ToolbarDefaults.C (read):
7612 * MenuBackend.C (read): allow escaping in all strings
7614 * BufferView_pimpl.C (insertAndEditInset): new method.
7615 (Dispatch): use insertAndEditInset whenever appropriate.
7617 * BufferView_pimpl.C (insertNote): removed
7619 * BufferView_pimpl.C (smartQuote): new method, moved from
7620 BufferView; if an insetquote cannot be inserted, insert a '"'
7623 * BufferView2.C: remove insertCorrectQuote();
7625 * lyxfunc.C (getStatus): Add support for all remaingin
7628 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7630 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7631 command (necessary to pass " as parameter of self-insert.
7633 * text.C (selectWordWhenUnderCursor):
7634 (selectWord): add word_location parameter
7635 (selectWordWhenUnderCursor): same + remove special code for word
7637 (selectNextWord): use kind() to guess type of insetspecialchar,
7640 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7641 (insertErtContents): create ert insets as collapsed.
7642 (readInset): better compatibility code for Info inset.
7644 2001-07-20 Juergen Vigna <jug@sad.it>
7646 * lyxfunc.C (dispatch): use always LyXFind now!
7648 * text2.C (init): add a reinit flag so that the LyXText can be
7649 reinited instead of deleted and reallocated (used in InsetText).
7651 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7657 2001-07-18 Juergen Vigna <jug@sad.it>
7659 * text.C (selectNextWord): handle insets inside inset by calling
7660 always the bv->text functions so that we can go up the_locking_inset!
7662 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7663 in strange locations when inside an inset!
7665 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7666 handling to include insets.
7668 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7670 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7672 * LyXAction.C (init):
7674 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7675 LIGATURE_BREAK, since the name is so stupid.
7677 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7679 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7682 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7684 * sp_form.[Ch]: remove.
7686 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7688 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7691 * src/buffer.C (readInset): ditto.
7693 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7695 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7696 menuSeparator(), endOfSentenceDot(), ldots() and
7697 hyphenationPoint(), which are therefore removed.
7698 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7700 * LyXAction.C (init):
7701 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7703 * paragraph.C (getWord): removed.
7705 * BufferView_pimpl.C (Dispatch): use last word or selection for
7706 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7708 * lyx_main.C (queryUserLyXDir): do not ask before creating
7709 user_dir, except if it has been named explicitely.
7711 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7713 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7714 a document of zero size.
7716 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7718 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7719 approriately in the c-tor and in require().
7720 (getPackages): output the appropriate LaTeX for natbib support.
7722 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7723 variables "use_natbib" and "use_numerical_citations" when reading the
7725 (readInset): read the various natbib cite commands.
7726 (validate): white-space change.
7728 * bufferparams.[Ch]: new variables "bool use_natbib" and
7729 "bool use_numerical_citations".
7730 (writeFile): output them in the LyX file.
7732 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7734 * lyxfunc.C (getStatus): add support for all the inset insertion
7737 * text2.C (insertInset):
7738 * paragraph.C (insetAllowed):
7739 * BufferView_pimpl.C (insertInset): update to take in account the
7740 renaming of insertInsetAllowed
7742 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7744 * text2.C (getInset): new method. returns inset at cursor position.
7746 * BufferView_pimpl.C (Dispatch): changes because of this.
7748 * LyXAction.C (init): rename open-stuff to inset-toggle.
7750 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7752 * text2.C (toggleInset): renamed from openStuff; use
7755 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7757 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7759 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7761 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7763 * buffer.C (readLyXformat2): Add filename to the error dialog
7765 2001-07-18 Juergen Vigna <jug@sad.it>
7767 * tabular.C (GetCellNumber): put an assert here instead of the check!
7769 2001-07-17 Juergen Vigna <jug@sad.it>
7771 * BufferView_pimpl.C (toggleSelection): adapted too.
7773 * text.C (selectNextWord): adapted for use with insets.
7774 (selectSelectedWord): ditto
7776 2001-07-17 Juergen Vigna <jug@sad.it>
7778 * sp_spell.C (PSpell): fix initialitation order.
7780 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7782 * paragraph.C: spacing
7784 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7786 * sp_spell.C: repair language selection for pspell
7788 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7790 * lyxfunc.h: change more methods to begin with lower char.
7792 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7794 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7795 for unknown layouts.
7797 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7799 * buffer.C (readLyXformat2): Generate an error dialog if there are
7802 2001-07-16 Juergen Vigna <jug@sad.it>
7804 * sp_spell.C: always compile ISpell part.
7806 * lyxrc.C: added use_pspell entry and it's handling.
7808 2001-07-13 Juergen Vigna <jug@sad.it>
7810 * sp_spell.C: removed double includes.
7812 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7814 Consistent use of Lsstream.h:
7815 * Lsstream.h: added using std::stringstream for consistencies sake.
7817 * buffer.C: removed using std::stringstream
7819 * lyxfont.C (stateText):
7820 * paragraph.C (asString):
7821 * text.C (selectNextWord, selectSelectedWord):
7822 * text2.C (setCounter):
7823 * vspace.C (asString, asLatexString):
7824 std::ostringstream -> ostringstream.
7826 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7828 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7829 * commandtags.h: add LFUN_HELP_ABOUTLYX
7830 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7832 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7834 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7836 * lyx_gui_misc.C: remove spellchecker
7837 * lyxfunc.C: showSpellchecker
7839 * sp_ispell.h: added
7840 * sp_pspell.h: added
7842 * sp_form.[Ch]: removed
7843 * spellchecker.[Ch]: removed
7845 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7847 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7849 (simpleTeXSpecialChars): Simply print the input character without
7850 any special translation if pass_thru is set.
7852 * layout.h: Added bool pass_thru to layout class for being able to
7853 implement pass through of a paragraph for Literate Programming.
7855 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7856 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7857 * layout.C (Read): add "passthru" to list of layout tags and add
7858 code to set the pass_thru boolean when it is read.
7860 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * trans_decl.h: remove allowed from KmodInfo
7864 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7868 * paragraph_pimpl.C (erase): use boost::prior
7870 * Painter.C (text): use data() instead of c_str() when length is
7872 * WorkArea.C (putClipboard): ditto
7873 * font.h (width): ditto
7875 * BufferView2.C: use it-> instead of (*it). for iterators
7877 * paragraph_pimpl.C: ditto
7878 * paragraph.C: ditto
7879 * minibuffer.C: ditto
7884 * converter.C: ditto
7886 * Variables.C: ditto
7887 * TextCache.C: ditto
7888 * MenuBackend.C: ditto
7889 * LyXAction.C: ditto
7891 * FloatList.C: ditto
7893 * ColorHandler.C (LyXColorHandler): ditto
7895 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7897 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7899 * text2.C (openStuff): reintroduce this method (which had been
7900 nuked in NEW_INSETS frenzy).
7902 * lyxfunc.C (Dispatch): when an action has not been handled, use
7903 its name in the error message, not its number.
7905 * paragraph.C (inInset): change method name to begin with lowercase.
7908 * text2.C: updates because of this.
7910 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7912 * ToolbarDefaults.C (add): add spaces in error message
7914 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7916 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7917 (readLyXformat2): rename return_par to first_par, use lyxlex's
7918 pushToken and remove the manual push handling.
7919 (parseSingleLyXformat2Token): add another ert comp. variable:
7920 in_tabular, rename return_par to first_par. handle newlines better
7922 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7924 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7926 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7928 * text2.C (getParFromID): removed
7930 * buffer.C (getParFromID): new method moved form lyxtext.
7931 * BufferView2.C (insertErrors): adjust
7932 (setCursorFromRow): adjust
7933 * BufferView_pimpl.C (restorePosition): adjust
7934 * lyxfunc.C (Dispatch): adjust
7935 * undo_funcs.C (textUndo): adjust
7937 (textHandleUndo): adjust
7938 (textHandleUndo): adjust
7940 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7942 * buffer.C: up' the LYX_FORMAT
7944 * lyxfont.h: turn NO_LATEX on as default
7946 * buffer.C (insertErtContents): new methods of tex style compability.
7947 (parseSingleLyXformat2Token): use it several places.
7948 * tabular.C (OldFormatRead): and here
7950 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7952 * text2.C: remove some commented code.
7955 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7956 * trans.C: changes because of the above.
7958 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7960 * text2.C (setCounter): Fix counters bug with bibliography layout.
7962 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7964 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7965 own member functions
7966 (simpleTeXSpecialChars): ditto
7968 2001-07-06 Juergen Vigna <jug@sad.it>
7970 * a lot of files: changed the access to LyXText::status and the
7971 call of undo-functions.
7973 * undo.[Ch]: added a inset_id to the undo informations.
7975 * undo_funcs.[Ch]: added and moved here all undo functions.
7977 * lyxtext.h: give the status enum a weight, made status_ a private
7978 variable and made accessor functions for it, removed the whole bunch
7979 of undo-functions as they are now in their own file, make some
7980 functions publically available. Added function ownerParagraph with
7983 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7984 made InInset() a const function, added getParFromID() function.
7986 * buffer.[Ch]: added const version for inset_iterator functions,
7987 added getInsetFromID() function.
7989 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7990 changed undo functions for new version.
7992 2001-07-05 Juergen Vigna <jug@sad.it>
7994 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7995 unknow mechanism does not call the proper constructor but only this
7996 one also if I request the other!?
7998 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8000 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
8002 * text2.C (LyXText): use initialization lists.
8004 * lyxtext.h (Selection): initialize set_ and mark_
8005 (init): remove method
8007 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
8009 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
8011 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8013 * screen.[Ch]: change method names to begin with lowercase
8015 * BufferView_pimpl.C (updateScrollbar): simplify further and
8016 hopefully make it a bit faster.
8018 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8020 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
8021 calling directly xforms functions.
8023 * Painter.C (Painter):
8024 * lyx_cb.C (MenuWrite):
8025 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
8028 * lyx_gui.C: remove bogus guiruntime extern declaration.
8030 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8032 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
8034 (redoDrawingOfParagraph): ditto
8035 (redoParagraphs): ditto
8036 (cutSelection): don't create a object for CutAndPaste use the
8037 static method directly
8038 (pasteSelection): ditto
8040 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
8043 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8045 * modifications to some other files because of this.
8047 * Makefile.am (lyx_SOURCES): add XFormsView
8049 * XFormsView.[Ch]: new files
8051 * LyXView.[Ch]: make LyXView a base class for the gui handling for
8052 the main window. Move the gui dependent stuff to XFormsView
8054 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8056 * tabular.C (GetCellInset): update cur_cell also in the row/col
8057 version of this function.
8059 * lyxfunc.C: no need to include figure_form.h here.
8065 * lyxvc.C: no need to include forms.h here.
8067 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8069 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
8071 * lyxfunc.C (Dispatch):
8073 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
8074 constructor argument.
8076 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8078 * paragraph.C (Paragraph): dont't clear, and just set layout.
8079 (makeSameLayout): use params's copy contructor.
8081 * ParagraphParameters.[Ch] (makeSame): delete method
8083 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
8085 * Variables.[Ch]: fix indentation, rename set to isSet
8087 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8089 * lyxfunc.C (Dispatch): fix typo
8091 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8093 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
8096 * bufferlist.C: include assert.h for emergencyWrite().
8098 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8100 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
8101 give up at last (bug #425202) !
8103 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
8109 * spellchecker.C: strip spellchecker options and bring up
8110 preferences tab instead
8112 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8114 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
8115 the istringstream constructor
8117 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8119 * paragraph.C (getLayout): fix return value
8121 * paragraph.h: do not declare getLayout as inline.
8123 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
8125 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8127 * lyxcursor.h (operator<): new func
8128 (operator>): new func
8129 (operator>=): new func
8130 (operator<=): new func
8132 * text.C (changeCase): use selection.start and selection.end
8133 (changeRegionCase): require from to be <= to. Require par to be a
8136 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8138 2001-06-27 Juergen Vigna <jug@sad.it>
8140 * text.C (cursorLeftOneWord): changed to return the cursor and added
8141 overlay with BufferView * parameter which calls this one.
8143 (selectWord): use new getWord function.
8144 (changeCase): renamed from changeWordCase as and extended to work
8147 * lyxtext.h: added enum word_location
8149 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8150 changeCase as this operates now also on selections.
8152 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8154 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8156 * many files: send debug output to Debug::INFO instead of
8159 * converter.C (View):
8161 (Move): send debug output to Debug::FILES instead of console.
8163 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8165 * lyxfunc.C (getStatus): use func_status
8167 * func_status.h: new header, describing the results of
8170 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8173 2001-06-25 The LyX Project <jug@sad.it>
8175 * buffer.C (sgmlOpenTag):
8177 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8179 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8181 * text2.C: remove some dead code
8183 * tabular.C (GetCellInset): store the last cell checked (gotten)
8185 * tabular.h: add the helper for the speedup
8187 * lyxtext.h: remove some dead code
8189 2001-06-26 The LyX Project <Asger>
8191 * paragraph.C: Change export to LaTeX of alignment to
8192 \begin{center} and family for better roundtrip work with reLyX.
8194 * Tune the math drawing a bit.
8196 2001-06-25 The LyX Project <Asger>
8198 * LColor.C (LColor): New color for math background. New color
8201 2001-06-25 The LyX Project <jug@sad.it>
8203 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8206 * bufferlist.C (newFile): do not restrict to files ending with
8209 * BufferView_pimpl.C (MenuInsertLyXFile):
8211 2001-06-24 The LyX Project <jug@sad.it>
8213 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8216 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8218 * lyxtext.h: rename most methods to begin with a small char.
8219 Lots of changes because of this.
8221 * paragraph.C (Paragraph): do not call fitToSize
8222 (erase): call Pimpl::erase
8223 (insertChar): call Pimpl::insertChar
8224 (insertInset): call Pipl::insertInset
8225 (breakParagraph): do not call fitToSize
8226 (breakParagraphConservative): do not call fitToSize
8227 (fitToSize): remove method
8229 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8231 2001-06-24 The LyX Project <Asger>
8233 * Fix Qt compilation^2
8235 2001-06-24 The LyX Project <jug@sad.it>
8237 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8238 depthHook(getDepth()-1).
8241 * ParagraphParameters.h:
8242 * ParameterStruct.h: change type of depth to unsigned int ==
8243 depth_type. Many adaptations to other files before of that.
8245 2001-06-24 The LyX Project <Asger>
8247 * Fix Qt compilation.
8249 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8251 * paragraph.h: renamed several methods to begin with small letter.
8252 several changes to many parts of the code because of this.
8254 2001-06-23 The LyX Project <jug@sad.it>
8256 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8257 rewritten to discard all double spaces when KeepEmpty is off
8258 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8259 to only handle newlines but not fiddle with spaces and friends.
8261 * lyxfunc.C (MenuNew): when doing 'new from template', use
8262 template_path as default directory
8264 2001-06-23 The LyX Project <Asger>
8266 * Clean-up of header file includes all over
8267 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8269 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8271 * paragraph.h: renamed from lyxparagraph.h
8273 2001-06-23 Asger <lyx@violet.home.sad.it>
8275 * Buffer.h: Removed Buffer::resize
8276 * BufferList.h: Removed BufferList::resize
8277 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8278 the document lazily when we change the width, or the font settings.
8280 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8282 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8284 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8286 * buffer.h: remove out of date comment
8288 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8291 * screen.C: fix "theoretical" GC leak
8293 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8295 * LaTeX.C (scanAuxFile):
8296 (deplog): remove trailing \r when reading stream (useful under
8299 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8301 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8302 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8303 and BufferView::theLockingInset(Inset*), so should use them and not
8304 access bv_->text->the_locking_inset directly.
8306 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8308 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8311 * tex-defs.h: remove old unused file
8313 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8315 * BufferView_pimpl.C: fix typo, remove minibuffer message
8316 when buffer has loaded
8318 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8320 * lyxfunc.C (Dispatch): use stringstream
8321 (MenuNew): use stringstream
8322 (Open): use stringstream
8324 * importer.C (Import): use stringstream
8326 * bufferview_funcs.C (CurrentState): use stringstream
8328 * LaTeX.C (run): use stringstream
8330 * BufferView_pimpl.C (savePosition): use stringstream
8331 (restorePosition): use stringstream
8332 (MenuInsertLyXFile): use stringstream
8334 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8347 * vspace.C: removed // -*- C++ -*- as first line.
8350 * version.h: added // -*- C++ -*- as first line.
8352 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8354 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8356 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8359 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8361 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8364 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8366 * gettext.C: include LString.h even when --disable-nls is on.
8368 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8370 * converter.h (Get): changed argument type from int to
8371 FormatList::size_type to avoid unnecessary conversion.
8373 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8376 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8378 * gettext.h: include LString.h even when --disable-nls is on.
8380 2001-06-07 Juergen Vigna <jug@sad.it>
8382 * text.C (BreakAgain): subst spaces with tabs.
8384 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8385 (resizeInsetsLyXText): set force on resizeLyXText.
8387 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8389 * gettext.h (gettext_init):
8390 (locale_init): use a real definition instead of a macro
8392 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8394 * Bufferview_pimpl.C:
8396 * LColor.C: further lcolor tidies
8398 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8400 * BufferView_pimpl.C (updateScrollbar): simplify.
8402 * BufferView2.C: don't include insets/insetinfo.h, change
8403 prototype for insertInset and call the Pimpl version. let
8404 updateInset call Pimpl version.
8406 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8407 gotoInset to BufferView::Pimpl
8409 2001-06-01 Juergen Vigna <jug@sad.it>
8411 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8412 inside a LockingInset (is the update needed at all?).
8414 2001-05-31 Juergen Vigna <jug@sad.it>
8416 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8417 here not the old one otherwise how should we compare it afterwards
8420 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8425 * FontInfo.C: bring C functions into global namespace when
8428 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8430 * LString.h: make sure config.h has been loaded before LString.h.
8432 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8433 (one for each char read by EatLine!).
8435 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8438 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8440 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8441 to the same as the par we break from
8443 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8445 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8447 * MenuBackend.C (expand): also create menu entries for wide
8448 versions of the floats.
8450 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8452 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8454 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8455 frontends/Makefile.am
8461 * tabular.C (getTokenValue): add std::
8463 * tabular-old.C (getTokenValue): add std::
8464 (getTokenValue): ditto
8465 (getTokenValue): ditto
8467 * screen.C (ToggleSelection): adjust
8469 * lyxtext.h: put selection cursors inside a Selection struct.
8471 * lyxfunc.C (moveCursorUpdate): adjust
8473 * lyxfont.C (latexWriteStartChanges): add std::
8477 * font.h: delete with(char const *, LyXFont const &)
8479 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8481 * FontInfo.C (getFontname): add std::
8483 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8484 (workAreaButtonPress): adjust
8485 (tripleClick): adjust
8487 (moveCursorUpdate): adjust
8490 * BufferView2.C (gotoInset): adjust
8492 2001-05-30 Juergen Vigna <jug@sad.it>
8494 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8495 to check pspell I add this as default as I now have new pspell
8496 libraries and they seem to use this.
8498 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8500 * text2.C (CutSelection): make the cursor valid before the call to
8503 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8505 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8506 relied on 0 terminated strings and other horrors. Bug found due to
8507 the new assert in lyxstring!
8509 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8512 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8517 * lyxfunc.C (processKeySym): change method of getting to the
8520 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8521 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8522 * BufferView_pimpl.[Ch]: here as private methods.
8524 2001-05-28 Juergen Vigna <jug@sad.it>
8526 * text.C (SetHeightOfRow): added the update() call again as it is
8527 needed to initialize inset dimensions!
8529 2001-05-16 Juergen Vigna <jug@sad.it>
8531 * text2.C (SetCharFont): Add new function with BufferView * and
8532 bool toggleall parameters for setting insets internal fonts.
8533 (SetFont): Freeze the undo as we may change fonts in Insets and
8534 all this change should be inside only one Undo!
8536 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8537 setting font's in insets as for them we have the SetFont function!
8539 2001-05-15 Juergen Vigna <jug@sad.it>
8541 * text2.C (ClearSelection): to be sure we REALLY don't have any
8544 * tabular.C (TeXCellPreamble): fixed the left border problem for
8547 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8549 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8552 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8554 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8555 LFUN_BREAKPARAGRAPH.
8557 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8558 help test to "internal only", similar for LFUN_INSERT_URL
8560 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8561 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8562 auto_region_delete and deadkeys.
8564 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8567 * LColor.C: remove some dead entries, tidy a little
8569 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8571 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8573 (Dispatch): implement LFUN_ESCAPE
8575 * commandtags.h: add LFUN_ESCAPE
8577 * LyXAction.C (init): add entry for LFUN_ESCAPE
8579 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8580 Remove commented code.
8581 (insertNote): moved here
8582 (open_new_inset): moved here
8584 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8587 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8589 * kbmap.C (findbinding): clean it up and make it work correctly.
8591 * lyx_main.C (init): do not pass argc and argv as parameters
8593 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8595 * buffer.C: fix path for OS/2 & Win32
8599 * lyx_main.C: Added os:: class.
8601 * os2_defines.h: update
8603 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8605 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8606 better by trying again with reduced state.
8608 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8610 * lyxrc.C (read): print error about invalid key sequence only when
8611 debugging (because not all latinX keysyms are known to some X
8614 * kbsequence.C (getiso): add a few std:: qualifiers
8615 (getiso): comment out extra return statement.
8617 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8619 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8621 (Dispatch): enhance the accent inset a bit. (not perfect)
8623 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8625 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8627 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8629 * bufferlist.C (emergencyWrite): fix assert() call
8631 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8633 * text.C (InsertChar): Added trivial patch to only send the "you
8634 can not do multiple spaces this way" message once during a
8637 2001-05-08 Baruch Even <baruch@lyx.org>
8639 * Makefile.am: Changed order of libraries to get LyX to link properly
8640 with the gnome frontend.
8642 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8644 * LaTeXFeatures.h: add a std:: qualifier
8646 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8648 * paragraph.C (String): use stringstream
8650 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8652 * paragraph.C (writeFile): remove footflag arg
8654 * buffer.C (makeLaTeXFile): use stringstream
8655 (latexParagraphs): remove footnot gurba
8657 * LaTeXFeatures.C (getPackages): use stringstream
8658 (getMacros): likewise
8659 (getTClassPreamble): likewise
8660 (getFloatDefinitions): new method
8662 * paragraph.C (writeFile): reindent
8665 * WorkArea.h: revert the xpos + etc changes.
8667 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8669 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8671 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8672 (pasteSelection): likewise
8673 * text2.C (CreateUndo): likewise
8675 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8677 * minibuffer.C (peek_event): temporarily reduce the functionality
8678 of the minibuffer (to allow args on lfuns)
8680 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8681 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8683 * buffer.C (readInset): add compability reading of old float
8684 lists, add reading of new style float list.
8685 (readInset): avoid reevaluation of inscmd.getCmdName()
8686 (getLists): reindent
8688 * MenuBackend.C (MenuItem): implement parsing of
8689 md_floatlistinsert and md_floatinsert.
8690 (expand::LastFiles): move initalizaton of iterators out of loop,
8692 (expand::Documents): introduce typdedef vector<string> Strings,
8694 (expand::ExportFormats): introduce typedef vector<Format const *>
8695 Formats, and use it.
8696 (expand): implement FloatListInsert and FloatInsert.
8698 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8699 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8700 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8702 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8704 (Dispatch::LFUN_FLOAT_LIST): implement
8706 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8708 * LaTeX.C (run): Fix problem with --export code.
8710 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8712 * BufferView.[Ch] (workarea): removed.
8713 (getClipboard) new method; wrapper for workarea()->getClipboard()
8715 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8718 * WorkArea.h (width, height, xpos, ypos): These methods all
8719 returned the dimensions of the work_area sub-area of WorkArea,
8720 resulting in a position error if the WorkArea were resized. Now
8721 return the dimensions of the entire WorkArea.
8723 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8725 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8727 * LaTeX.C (deplog): correct the syntax of regex reg1
8729 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8731 * undo.C: remove !NEW_INSETS cruft
8733 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8735 * text2.C: remove !NEW_INSETS cruft
8737 * text.C: remove !NEW_INSETS cruft
8739 * tabular.C: remove !NEW_INSETS cruft
8741 * spellchecker.C: remove !NEW_INSETS cruft
8743 * lyxtext.h: remove !NEW_INSETS cruft
8745 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8747 * lyxfunc.C: remove !NEW_INSETS cruft
8749 * lyxfind.C: remove !NEW_INSETS cruft
8751 * lyx_cb.C: remove !NEW_INSETS cruft
8753 * figureForm.C: remove !NEW_INSETS cruft
8755 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8757 * buffer.[Ch]: remove !NEW_INSETS cruft
8759 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8761 * CutAndPaste.C: remove !NEW_INSETS cruft
8763 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8765 * BufferView2.C: remove !NEW_INSETS cruft
8767 * BufferView.h: remove !NEW_INSETS cruft
8769 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8771 * Lsstream.h: include LString.h before the sstream headers to
8772 fix problem with gcc 2.95.3 and lyxstring
8774 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8776 * lyx_main.C: add using directives when needed for C functions
8777 declared in std:: namespace.
8779 2001-04-27 Juergen Vigna <jug@sad.it>
8781 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8782 (SetHeightOfRow): comment out the update call should not be needed!
8784 2001-04-13 Juergen Vigna <jug@sad.it>
8786 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8787 (LyXTabular): tried to minimize operator= operations (and realized
8788 hopfully Lars wish).
8790 2001-04-27 Juergen Vigna <jug@sad.it>
8792 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8794 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8796 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8798 * buffer.C (readInset): hack to make listof algorithm work
8800 * BufferView_pimpl.C: hack to make listof algorithm work
8802 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8804 * LyXAction.C: removed all !NEW_INSETS cruft
8805 (init): moved lfun_item in method
8807 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8809 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8811 * BufferView2.C (theLockingInset): white space.
8813 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8815 * minibuffer.C: include <iostream>
8817 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8819 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8821 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8823 * text.[Ch] (TransposeChars): new method
8825 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8827 * call message directly through LyXView instead of through LyXFunc
8828 * BufferView2.C: adjust
8829 * BufferView_pimpl.C: adjust
8830 * FontLoader.C: adjust
8832 * bufferview_funcs.C: adjust
8833 * converter.C: adjust
8834 * figureForm.C: adjust
8835 * importer.C: adjust
8837 * lyx_gui_misc.C: adjust
8841 + more files in subdirs
8843 * lyxparagraph.h (size): move up int file
8846 * adjust all uses of Assert to lyx::Assert.
8848 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8849 lyxfunctional in namespace lyx
8850 * layout.C (hasLayout): ditto
8853 (delete_layout): ditto
8854 (NumberOfClass): ditto
8855 * converter.C (GetFormat): ditto
8860 * bufferlist.C (getFileNames): ditto
8861 (emergencyWriteAll): ditto
8864 * MenuBackend.C (hasSubmenu): ditto
8867 * BufferView_pimpl.C (getInsetByCode): ditto
8869 2001-04-18 Juergen Vigna <jug@sad.it>
8871 * vspace.C (asLatexString): fixed the 100% problem.
8873 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8875 * lyxfunc.C (Dispatch):
8877 * minibuffer.h: add a few std:: qualifiers
8879 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8881 * minibuffer.[Ch]: reimplement so that commands is initiated and
8882 run from lyxfunc, simplified som handling, and made the completion
8883 and history code for complete. wip.
8885 * lyxfunc.C (processKeySym): call message
8886 (miniDispatch): new temporary method
8887 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8888 (LFUN_MESSAGE): implement
8889 (LFUN_MESSAGE_PUSH): implement
8890 (LFUN_MESSAGE_POP): implement
8891 (initMiniBuffer): the initial/defualt minibuffer message.
8893 * lyxfont.[Ch]: inline some more getters
8895 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8897 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8899 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8900 (AutoSave): use LFUN_MESSAGE
8901 (Reconfigure): ditto
8903 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8905 * figureForm.C: use LFUN_MESSAGE
8907 * converter.C (runLaTeX): use LFUN_MESSAGE
8909 * bufferview_funcs.C: use LFUN_MESSAGE
8911 (changeDepth): ditto
8913 * bufferparams.h: use boost::
8915 * bufferlist.h: inherit privately from noncopyable
8917 * bufferlist.C (loadLyXFile): remove some commented code.
8919 * buffer.C (runChktex): use LFUN_MESSAGE
8921 * ShareContainer.h: inherit privately from noncopyable
8923 * ParagraphParameters.[hC] (depth): inline it.
8925 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8927 (message): new method
8928 (messagePush): ditto
8930 (show): init minibuffer
8931 (showState): direct call
8933 * LaTeX.[Ch]: inherit privately from noncopyable
8934 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8935 instead of WriteStatus.
8937 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8939 * BufferView_pimpl.C (buffer): don't init minibuffer
8940 (workAreaButtonPress): use LFUN_MESSAGE
8941 (workAreaButtonRelease): ditto
8942 (savePosition): ditto
8943 (restorePosition): ditto
8944 (MenuInsertLyXFile): ditto
8945 (workAreaExpose): don't init minibuffer
8946 (update): remove commented code, simplify
8948 * BufferView2.C (openStuff): use LFUN_MESSAGE
8949 (toggleFloat): ditto
8952 (copyEnvironment): ditto
8953 (pasteEnvironment): ditto
8958 (updateInset): remove some commented code
8960 * lastfiles.h: inherit privately from noncopyable
8965 * lyxlex_pimpl.h: ditto
8967 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8968 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8969 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8971 * LyXAction.h: inherit privately from noncopyable, add methods
8972 func_begin, func_end, returning iterators to the func map.
8974 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8975 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8976 (func_begin): new method
8977 (func_end): new method
8979 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8981 (copySelection): ditto
8982 (pasteSelection): ditto
8984 * BufferView.C: whitespace change
8985 * BufferView.h: inherit privately from noncopyable
8987 2001-04-16 Allan Rae <rae@lyx.org>
8989 * tabular-old.C (l_getline):
8990 * spellchecker.C (sc_check_word):
8991 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8992 an unrecognised preprocessor directive. So ensure they're wrapped.
8994 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8996 * src/exporter.C (Export): Give an error message when path to file
8999 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
9001 * LaTeX.C (deplog): Always check that foundfile exists.
9003 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9006 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
9008 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9010 * tabular.[Ch] (getLabelList): implement new method
9012 * minibuffer.h: comment ouf setTiimer
9014 * minibuffer.C (ExecutingCB): constify res
9015 (peek_event): constify s
9016 (Set): constify ntext
9017 (Init): constify nicename
9019 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
9021 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
9022 (savePosition): use two params to Minibuffer::Set
9023 (restorePosition): ditto
9025 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9027 * lyx_main.C: include language.h
9029 * Makefile.am (lyx_main.o): add language.h
9031 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9037 * CutAndPaste.C: include gettext.h
9039 * lyxfont.h: remove old hack with ON and OFF.
9042 * lyxfont.h: do not include language.h...
9047 * bufferview_funcs.C:
9053 * paragraph.C: ... but do it here instead
9055 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9057 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
9059 * tabular.C: small reformat
9061 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
9064 (BreakParagraph): ditto
9065 (SetOnlyLayout): ditto
9068 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
9071 * lastfiles.C: removed most using decl, add std:: where needed
9073 * buffer.C: ws changes
9075 * MenuBackend.C (class compare_format): put into anon namespace
9076 (expand): constify label, names, action, action2
9079 * text.C (SingleWidth): constify font
9080 (IsBoundary): constify rtl2
9081 (GetVisibleRow): constify ww
9083 * LaTeX.C (deplog): constify logfile
9085 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
9087 (workAreaExpose): constify widthChange, heightChange
9089 * lyxrow.C (par): moved
9092 * lyxrow.h: as inlines here
9094 * lyxfont.h (shape): moved from lyxfont.C
9095 (emph): moved from lyxfont.C
9097 * lyxfont.C (LyXFont): use initialization list for all
9099 (shape): move to lyxfont.h as inline
9100 (emph): move to lyxfont.h as inline
9103 2001-04-04 Juergen Vigna <jug@sad.it>
9105 * vspace.C: had to include stdio.h for use of sscanf
9107 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
9110 * BufferView_pimpl.h: remove xforms cruft. Both classes are
9111 independent of xforms.
9113 2001-04-02 Juergen Vigna <jug@sad.it>
9115 * spellchecker.C: fixed namespace placing!
9117 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
9119 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
9120 the LyXParagraph * is 0.
9122 2001-03-29 Juergen Vigna <jug@sad.it>
9124 * vspace.C: added support for %, c%, p%, l%.
9125 (stringFromUnit): added helper function.
9126 (asLatexString): changed to give right results for the %-values.
9128 * buffer.C: convert the widthp in a width%.
9130 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
9132 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
9135 * figureForm.[Ch]: stripped the FD_from_figure manipulation
9136 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9138 * lyx_cb.[Ch]: see above.
9140 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9144 * lyx.[Ch]: replaced by figure_form.[Ch].
9148 * lyxfunc.C: changed headers associated with above changes.
9150 2001-03-27 Juergen Vigna <jug@sad.it>
9152 * BufferView_pimpl.C: set the temporary cursor right!
9154 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9156 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9158 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9160 * LString.h: removed "using std::getline"!
9162 * BufferView_pimpl.C (Dispatch): changes due to changes in
9163 InsetInclude::Params.
9165 * buffer.C (tag_name): removed redundant break statements as they were
9166 producing lots of warnings with my compiler.
9168 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9170 * LString.h: add "using std::getline" when using the real <string>.
9172 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9174 * buffer.C: removed bitset usage.
9175 PAR_TAG moved to an anonymous name space.
9176 (tag_name): new funtion, also in the anonymous namespace.
9177 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9178 (makeDocBookFile): clean code. Completed transition from string arrays
9180 (SimpleDocBookOnePar): code clean.
9182 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9184 * tabular.C: add some comments.
9186 2001-03-22 Juergen Vigna <jug@sad.it>
9188 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9189 compatibility read a bit and fixed bug with minipage in different
9192 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9194 * buffer.C (pop_tag): removed.
9195 (push_tag): removed.
9196 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9197 array replaced with vector. Added support for CDATA sections.
9198 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9200 (makeDocBookFile): XML conformant declaration of CDATA section,
9201 fixed bug related to <emphasis> in the first paragraph char.
9202 (sgmlOpenTag): exclude empty tags.
9203 (sgmlCloseTag): ditto.
9205 * buffer.h (pop_tag): removed.
9206 (push_tag): removed.
9208 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9210 * language.h (Languages): added size_type and size().
9212 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9214 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9215 response on compability reading of minipages. One probliem is that
9216 the old usage of minipages was «flertydig»
9218 * several files here and in subdirs: don't use static at file
9219 scope use anon namespaces instead.
9221 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9223 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9224 LaTeX output. This is necessary for Literate document
9227 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9229 * buffer.C: insert hfill when needed.
9231 * tabular.C (l_getline): use string::erase, small whitespace change.
9233 * BufferView_pimpl.C: try the anon namespace.
9236 2001-03-16 Juergen Vigna <jug@sad.it>
9238 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9239 otherwise it won't open options-dialogs.
9241 * buffer.C: honor pextraWidth(p) on converting minipages.
9243 * tabular.C (l_getline): changed the functions to strip trailing \r.
9245 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9247 * BufferView_pimpl.C:
9248 * minibuffer..C: added "using SigC::slot" declaration.
9250 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9252 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9258 * paragraph.C: ditto
9260 * lyxtext.h: NO_PEXTRA
9262 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9264 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9265 * ParameterStruct.h: ditto
9266 * ParagraphParameters.h: ditto
9267 * lyxparagraph.h: ditto
9269 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9271 * buffer.C: add compability for minipage alignment.
9272 (latexParagraphs): remove unwanted pextra check.
9274 * several files: remove CXX_WORKING_NAMESPACES
9276 * buffer.C (pop_tag): tie is in namespace boost
9278 * BufferView.h: noncopyable is in namespace boost
9283 * lastfiles.h: ditto
9284 * bufferlist.h: ditto
9285 * ShareContainer.h: ditto
9287 * LyXAction.h: ditto
9290 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9292 * Merging changes from BRANCH_MVC back into HEAD.
9294 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9296 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9298 * BufferView_pimpl.C: change from intl.C
9302 * Makefile.am: move combox.*
9308 * intl.C: remove dialog (covered by prefs)
9310 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9312 * lyxfunc.C (Dispatch): removed redundant break statement.
9314 2001-03-14 Juergen Vigna <jug@sad.it>
9316 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9318 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9320 * buffer.C: add hack to fix compability reading of minipages.
9322 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9324 * buffer.C (getLists): Cleanup.
9326 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9328 * lyxfont.C (update): don't honor toggleall on font size.
9330 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9334 * Makefile.am: moved to frontends/xforms/
9338 * BufferView_pimpl.C: changes for moved mathpanel
9340 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9342 * gettext.h: fix gettext_init() in --disable-nls
9344 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9346 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9348 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9351 * lyx.h: strip external form
9353 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9355 * BufferView_pimpl.C: add comment, destroySplash()
9357 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9359 * BufferView_pimpl.C:
9363 * lyxfunc.C: use re-worked insetinclude
9365 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9367 * buffer.C: add using std::stringstream.
9369 * lyx_cb.C: readd using std::ios.
9371 * buffer.C: add using std::map.
9373 * BufferView_pimpl.C: add using std::vector.
9375 * ShareContainer.h: add std:: to swap.
9377 * buffer.h: add some typedefs
9378 * buffer.C (getLists): use them
9379 (getLists): renamed from getTocList.
9380 add a counter for the different float types and use it in the
9382 (getLists): use the same counter for the NEW_INSETS and the "non"
9385 * lyx_cb.h: remove unused items, includes, using etc.
9387 * ShareContainer.h: remove some commented code, add more comments
9388 and "documentation".
9390 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9392 * buffer.C (getTocList): make the list also when NEW_INSETS is
9395 * buffer.h: remove TocType
9397 * buffer.C (getTocList): change to return a map<string,
9398 vector<TocItem> >, implement for dynamic number of list.
9400 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9401 * text2.C (PasteSelection): adjust
9402 * CutAndPaste.C (pasteSelection): adjust
9404 * FloatList.C (FloatList): update from the new_insets branch.
9405 * Floating.[Ch]: ditto
9406 * LaTeXFeatures.C: ditto
9408 * lyxlex_pimpl.C: ditto
9410 * paragraph.C (Last): remove when NEW_INSETS is defined.
9412 * other file: changes because of the above.
9414 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9416 * lyxparagraph.h: rename next to next_, previous to previous_,
9417 make them private for NEW_INSETS. Rename Next() to next(),
9418 Previous() to previous().
9420 * other files: changes because of the above.
9422 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9425 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9428 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9430 * main.C (main): pass lyx_localedir to gettext_init().
9432 * gettext.h: remove locale_init and gettext_init macros
9434 * gettext.C (locale_init): new function
9435 (gettext_init): new function
9437 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9440 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9442 * Moved credits to frontends:
9443 * credits.[Ch]: removed
9444 * credits_form.[Ch]: removed
9445 * lyx_gui_misc.C: remove credits stuff
9448 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9450 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9452 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9453 unneeded destructor.
9455 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9456 a standalone pointer again.
9458 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9460 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9466 * ToolbarDefaults.C:
9475 * BufferView_pimpl.C: use new file dialog in GUII
9478 * lyx_cb.C: remove LayoutsCB to Toolbar
9480 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9482 * ShareContainer.h (get): add std:: qualifier
9484 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9486 * ShareContainer.h: define a proper ShareContainer::value_type
9487 type (and use typename to please compaq cxx)
9489 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9491 * lyxparagraph.h: move serveral local vars to
9492 ParameterStruct/ParagraphParameters., use ShareContainer in
9493 FontTable., make vars in FontTable private and add getter and
9496 * paragraph.C: changes because of the above.
9498 * lyxfont.h: remove copy constructor and copy assignment. (the
9499 default ones is ok), move number inside FontBits. move inlines to
9502 * lyxfont.C: add number to initializaton of statics, move several
9503 inlines here. constify several local vars. some whitespace
9504 cleanup. Dont hide outerscope variables.
9506 * Spacing.h: add two new constructors to match the set methods.
9508 * ShareContainer.h: new file, will perhaps be moved to support
9510 * ParameterStruct.h: new file
9512 * ParagraphParameters.h: new file
9514 * ParagraphParameters.C: new file
9516 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9517 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9519 * BufferView_pimpl.C: ParagraphParameter changes.
9520 * buffer.C: Likewise.
9521 * bufferview_funcs.C: Likewise.
9523 * text2.C: Likewise.
9525 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9527 * lyxfind.C (LyXReplace): do not redefine default argument in
9529 (IsStringInText): ditto
9530 (SearchForward): ditto
9531 (SearchBackward): ditto
9533 2001-03-06 Juergen Vigna <jug@sad.it>
9535 * lyxfind.C (IsStringInText): put parentes around expressions.
9537 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9539 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9541 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9543 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9545 * stl_string_fwd.h: add comment
9547 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9550 * tabular.C: remove unused DocBook methods
9556 killed DO_USE_DEFAULT_LANGUAGE
9558 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9560 * lyx_gui.C: do not include language.h.
9562 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9563 arguments in function implementation.
9565 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9567 * BufferView_pimpl.C: add <ctime>
9569 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9571 * BufferView_pimpl.C: add using std::find_if
9573 2001-02-27 José Matos <jamatos@fep.up.pt>
9575 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9578 2001-02-11 José Matos <jamatos@fep.up.pt>
9580 * buffer.C (makeDocBookFile): command styles now have a parameter as
9583 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9585 * layout_forms.[Ch]: removed
9586 * lyx_cb.[Ch]: out character
9587 * lyx_gui.C: out character
9588 * lyx_gui_misc.C: out character
9589 * bufferview_funcs.C: : out character,
9590 added toggleall as parameter in ToggleAndShow
9592 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9594 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9596 * text2.C (SetCurrentFont): Disable number property at boundary.
9598 2001-02-26 Juergen Vigna <jug@sad.it>
9600 * lyxfunc.C (getStatus): added a string argument override function so
9601 that this is correctly called from LyXFunc::Dispatch if it contains a
9602 do_not_use_argument which is used!
9603 (Dispatch): added check for "custom" export and call appropriate func.
9605 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9607 * lyxrc.C: Add language_command_local, language_use_babel and
9608 language_global_options.
9610 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9612 * buffer.C (makeLaTeXFile): Use language_use_babel and
9613 language_global_options.
9615 2001-02-23 Juergen Vigna <jug@sad.it>
9617 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9618 which works with LyXText and putted it inside BufferView. Here now we
9619 only call for that part the BufferView::Dispatch() function.
9621 * BufferView.C (Dispatch): added.
9623 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9624 functions which needs to use a LyXText over from LyXFunc.
9625 (MenuInsertLyXFile): added
9626 (getInsetByCode): added
9627 (moveCursorUpdate): added
9628 (static TEXT): added
9630 2001-02-22 Juergen Vigna <jug@sad.it>
9632 * BufferView_pimpl.C (update): call a status update to see if LyXText
9635 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9637 * vc-backend.C (revert): implement for CVS
9638 (getLog): implement for CVS
9640 2001-02-20 Juergen Vigna <jug@sad.it>
9642 * text2.C (ClearSelection): added BufferView param for inset_owner call
9644 * lyxfunc.C (TEXT): added this function and use it instead of
9645 directly owner->view()-text of getLyXText().
9647 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9649 * src/layout_forms.C: out preamble
9650 * src/layout_forms.h: out preamble
9651 * src/lyx_cb.C: out preamble
9652 * src/lyx_cb.h: out preamble
9653 * src/lyx_gui.C: out preamble
9654 * src/lyx_gui_misc.C: out preamble
9655 * src/lyxfunc.C: connect with guii preamble
9657 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9659 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9661 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9663 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9664 whether to run bibtex.
9666 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9668 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9670 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9672 * Makefile.am (lyx_SOURCES): removed bibforms.h
9676 * text.C (GetVisibleRow): make several local vars const
9678 * tabular.C: small cleanup.
9680 * lyxserver.C (callback): use compare instead of strncmp
9682 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9683 inlines to after class or to paragraph.C
9685 * lyxfont.h: remove friend operator!=
9687 * converter.h: move friend bool operator< to non friend and after
9690 * combox.h: small cleanup
9692 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9693 to inlines after class def.
9695 * buffer.C (pop_tag): use string operations instead of strcmp
9697 * bmtable.c: doxygen, small cleanup
9699 * LaTeX.h: remove friend operator==
9701 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9713 * BufferView_pimpl.C:
9714 * BufferView.[Ch]: remove cruft
9716 2001-02-14 Juergen Vigna <jug@sad.it>
9718 * lyxfunc.C: removed #if 0 unused code
9720 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9722 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9724 * text2.C (SetSelection): added a BufferView * parameter
9726 2001-02-13 Juergen Vigna <jug@sad.it>
9728 * lyxfunc.C (Dispatch): fixed protected blank problem.
9729 * BufferView2.C (protectedBlank): added LyxText * parameter.
9731 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9732 (AppendColumn): same as above for column_info.
9734 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9735 (moveCursorUpdate): use a LyXText param for support of InsetText.
9737 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9738 (tripleClick): ditto
9740 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9742 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9744 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9746 * text2.C (SetSelection): set correct update status if inset_owner
9749 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9751 * tabular.C: remove some commented code.
9753 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9755 * BufferView_pimpl.C: call hideSplash()
9757 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9760 * bibforms.h: remove
9763 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9764 add LFUN_CHILD_CREATE
9766 * counters.h: fix tiny typo
9771 * lyx.C: move splash to frontends/xforms/
9773 * lyx_gui_misc.C: move Include and Bibform to frontends
9775 * lyxvc.h: clarify comment
9777 * vspace.C: tiny housekeeping
9779 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9781 * text.C (PrepareToPrint): RTL Fix.
9783 * paragraph.C (GetUChar): New method.
9784 (String): Use GetUChar.
9786 * buffer.C (asciiParagraph): Use GetUChar.
9788 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9790 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9792 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9795 * buffer.C: rename to getLogName(), handle
9796 build log / latex log nicely
9798 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9801 * MenuBackend.h: remove support for reference menuitem type.
9803 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9805 * BufferView_pimpl.C: housekeeping
9806 * BufferView_pimpl.h:
9811 * minibuffer.h: move Timeout GUI-I
9813 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9815 * lyxrc.C (read): Update converters data-structures.
9817 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9819 * LaTeX.h (operator!=): add operator != for Aux_Info
9821 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9823 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9825 * LaTeXLog.C: deleted, useful code moved to Buffer
9828 * buffer.C: new function getLatexLogName()
9834 * lyxfunc.C: use frontends for LaTeX and VC logs
9836 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9838 * LaTeX.h: yet another std:: that Allan forgot.
9840 * Variables.C (set): renamed from isset(), because this clashes
9841 with some HP-UX macros (grr).
9843 2001-02-06 Allan Rae <rae@lyx.org>
9845 * LaTeX.h: Another bug fix. Missing std:: this time.
9847 2001-02-04 Allan Rae <rae@lyx.org>
9849 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9850 floats problem. I've left it commented out because it's not quite
9851 correct. It should also test that the current object is a table or
9852 figure inset. But I haven't gotten around to figuring out how to do
9853 that. I *think* it'll be something like: "table" == inset.type()
9855 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9858 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9860 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9861 all the citation/databases/styles in the auxilary file.
9862 (run): Rerun latex if there was a babel language error.
9864 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9866 * text.C (Backspace): Preserve the font when changing newline char
9868 (BreakParagraph): If the cursor is before a space, delete the space.
9870 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9872 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9874 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9875 new argument (code).
9876 (ChangeCitationsIfUnique): New method.
9878 * paragraph.C (GetPositionOfInset): Handle bibkey.
9880 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9882 * BufferView_pimpl.h: change type of Position::par_pos to
9883 LyXParagraph::size_type.
9885 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9887 * BufferView_pimpl.C (savePosition, restorePosition): Write
9888 messages to minibuffer.
9890 2001-01-28 José Matos <jamatos@fep.up.pt>
9892 * buffer.C (makeDocBookFile): adds support for document language.
9893 A silly restriction on the name of LatexCommand types where removed.
9894 Added support for CDATA sections, allows to chars unescaped, used
9895 among others in code, to avoid escape < and >.
9897 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9899 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9900 saved positions instrad of a stack. Furthermore, a position is
9901 stored using paragraph id/paragraph position.
9903 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9904 Remove LFUN_REF_BACK.
9906 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9908 * converter.C (dvipdfm_options): New method.
9910 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9912 * vspace.C (isValidLength): Fix for empty input string.
9914 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9916 * LyXAction.C (init): change description of LFUN_FIGURE to
9919 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9921 * LaTeX.C: add using directive
9923 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9925 * MenuBackend.C (expand): Fix the sorting of the formats.
9927 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9929 * lyx_main.C: tiny error message fix
9931 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9933 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9934 calling fl_initialize(). This fixes the problem with ',' as
9935 decimal separator in text files.
9937 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9939 * trans.C (process): Fix the keymap bug.
9941 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9943 * LaTeX.C (scanAuxFiles): New method. Provides support for
9944 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9945 (scanLogFile) Scan for "run BibTeX" messages.
9947 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9948 OT1 font encoding. Also, load the aecompl package if the ae
9951 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9953 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9955 * texrow.C (increasePos): turn two error messages into debug
9958 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9960 * LaTeX.C (scanAux): Handle the \@input macro.
9961 (runBibTeX): Use scanAux().
9963 * language.C (latex_options_): New field.
9965 * LaTeXFeatures.C (getMacros): Add language macros.
9967 * buffer.C (makeLaTeXFile): Small fix.
9969 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9971 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9973 * text2.C: add a using directive.
9975 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9980 * lyxfunc.C: kill LyXBell.
9982 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9984 * text.C (IsBoundary): Remove the error message
9986 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9988 * lyxrc.C (setDefaults): Correct initialization value for
9991 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9993 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9996 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9999 * src/LyXAction.C: Added reference-next.
10001 * text.C (InsertChar): Use contains instead of strchr.
10003 * lyx_cb.C (MenuInsertLabel): Enable default value code.
10005 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
10007 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
10008 alignment commands (when needed).
10010 * text.C (InsertChar): Add ':' to number separator chars.