1 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
3 * lyxfind.C (searchForward, searchBackwards): bug 782
5 2003-04-07 John Levon <levon@movementarian.org>
7 * paragraph.C: remove dead comment
9 * text.C: remove troublesome depth-fiddling code
10 in leftMargin() and rightMargin() (bug 1017)
12 * text.C: fix breaking of rows in nested lists
15 * text2.C (updateCounters): fix up depth values
18 2003-04-07 John Levon <levon@movementarian.org>
20 * BufferView_pimpl.C: clear message when doc finishes resizing,
21 and after a mouse event
23 * lyxfunc.C: clear message after exiting inset
25 2003-04-07 John Levon <levon@movementarian.org>
27 * bufferview_funcs.C: show math status not outside
28 status in the statusbar
30 2003-04-07 John Levon <levon@movementarian.org>
32 * lyxfunc.C: note status changed after a depth change
34 2003-04-04 Angus Leeming <angus@localhost.localdomain>
36 * LaTeX.h: move AuxInfo operator==, != out of line.
37 Remove LaTeX virtual destructor; nothing derives from it.
38 Move operator()() out of public area and rename it startscript().
39 Change protected for private.
41 2003-04-04 Angus Leeming <leeming@lyx.org>
44 * text2.C: remove unneeded #includes.
46 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
48 * text2.C (dEPM): fix the heigth of the next row
50 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
52 * text.C: squashed an invalid getChar requester + some ws changes
54 2003-04-03 John Levon <levon@movementarian.org>
60 * text2.C: make getStatus work for the env depth lfuns
62 2003-04-03 John Levon <levon@movementarian.org>
68 * text2.C: parlistize decDepth(), by merging it with incDepth()
70 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * lyxrow.h: store a ParagraphList::iterator instead of a
73 Paragraph* and adjust other class functions to suit.
75 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
78 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
80 * text2.C (setCursor): do not anchor to cursor row for the time being
82 2003-04-02 John Levon <levon@movementarian.org>
89 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
91 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
93 * paragraph.h: make ParagraphList and ParagraphList::iterator
96 * buffer.C (makeLinuxDocFile): move towards ParagraphList
98 * ParagraphList.C: Use the private next_ and previous_ from
101 2003-04-01 John Levon <levon@movementarian.org>
105 * Makefile.am: rename, remove defaults gunk
108 * MenuBackend.C: remove defaults gunk
111 * Languages.C: remove defaults gunk
114 * lyx_main.C: error out if files couldn't be found.
116 2003-04-02 John Levon <levon@movementarian.org>
118 * text2.C: make incDepth() use parlist
120 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
122 * undo_funcs.C (firstUndoParagraph): adjust
124 * text3.C (gotoInset): adjust
125 (dispatch): adjust, and rewrite loop.
127 * text2.C (init): adjust, and rewrite loop.
128 (redoParagraphs): adjust
129 (updateInset): adjust, and rewrite loop.
130 (deleteEmptyParagraphMechanism): adjust
132 * tabular.C (LyXTabular): adjust
133 (SetMultiColumn): adjust
136 * lyxtext.[Ch] (ownerParagraph): delete function
137 (ownerParagraphs): new function returns a ParagraphList.
139 * BufferView.C (removeAutoInsets): adjust
140 (insertErrors): adjust
141 (setCursorFromRow): adjust
143 2003-04-01 Angus Leeming <leeming@lyx.org>
145 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
148 2003-04-02 John Levon <levon@movementarian.org>
154 * text_funcs.C: make transposeChars a free function
156 * lyxrow_funcs.C: remove wrong comment
158 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * rowpainter.C: adjust
166 * lyxrow_funcs. [Ch]: new files
168 * lyxrow.[Ch]: remove next and previous pointers
169 (next,previous): remove accessor functions
170 (isParEnd): move to lyxrow_funcs
171 (lastPos): move to lyxrow_funcs
172 (nextRowIsAllInset): move to lyxrow_funcs
173 (lastPrintablePos): move to lyxrow_funcs
174 (numberOfSeparators): move to lyxrow_funcs
175 (numberOfHfills): move to lyxrow_funcs
176 (numberOfLabelHfills): move to lyxrow_funcs
177 (hfillExpansion): move to lyxrow_funcs
181 * bufferview_funcs.C (toggleAndShow): adjust
183 * RowList.h: Remove class RowList from file leave just a
186 * RowList.C: delete file
188 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
191 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
193 * text3.C (cursorPrevious): adjust
197 * text2.C (redoHeightOfParagraph): adjust
198 (redoDrawingOfParagraph): adjust
201 * text.C (breakParagraph): adjust
205 * rowpainter.C (RowPainter): adjust
206 (leftMargin): simplify and adjust
207 (most rowpainter functions): adjust.
209 * rowpainter.h: store the row as RowList::iterator not as Row*
211 * lyxcursor.C (row): taka RowList::iterator as arg
214 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
217 2003-04-01 Angus Leeming <leeming@lyx.org>
219 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
220 stuff like bool Bool.
222 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
224 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
227 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
229 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
232 * lyxtext.h (rows): drop one version and leve a const variant that
233 returns a RowList::iterator.
235 2003-03-31 Angus Leeming <leeming@lyx.org>
237 * text.C (fill): ensure that the signature is the same as that in the
240 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
242 * text2.C (redoParagraphs): adjust
243 (updateCounters): adjust
244 (checkParagraph): adjust
245 (getColumnNearX): adjust and reformat a bit.
247 * text.C (top_y): adjust
250 (prepareToPrint): adjust
252 (getRowNearY): adjust
254 * lyxtext.h: make rowlist_ mutable.
256 * RowList.h: add const_iterator
257 * RowList.C: adjust for RowList::const_iterator.
259 * text2.C (getCursorX): make it take a RowList::iterator as arg,
262 2003-03-31 John Levon <levon@movementarian.org>
265 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
267 * lyx_main.C: set default fonts from using lyx_gui funcs
269 * exporter.C: pdf_mode moved from lyxrc
272 * lyxfunc.C: changes from above
274 2003-03-31 John Levon <levon@movementarian.org>
276 * lyx_main.C: fix to the last fix
278 2003-03-31 John Levon <levon@movementarian.org>
280 * bufferlist.C: "Load original" -> "Load Original"
286 * format.C: more Alert cleanups
288 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
290 * text2.C (removeParagraph): make it take a RowList::iterator as
292 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
293 (postRowPaint): make it take a RowList::iterator as arg, adjust.
295 * text.C (anchor_row): make it take a RowList::iterator as arg,
297 (computeBidiTables): make it take a const reference to Row instead
298 of Row pointer, adjust.
299 (leftMargin): make it take a RowList::iterator as arg, adjust.
300 (rowBreakPoint): adjust
301 (breakAgainOneRow): make it take a RowList::iterator as arg,
303 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
305 * bufferview_funcs.C (toggleAndShow): adjust
307 2003-03-30 John Levon <levon@movementarian.org>
311 * boost-inst.C: moved to support
313 * several files: changes as a result
315 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
317 * text2.C (LyXText): adjust.
319 (removeRow): make it take a RowList::iterator as arg, adjust.
320 (fullRebreak): adjust
321 (deleteEmptyParagraphMechanism): adjust
325 * text.C (top_y): adjust
326 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
327 (breakAgain): make it take a RowList::iterator as arg, adjust.
328 (breakParagraph): adjust
332 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
333 need_break_row, and refresh_row.
335 * text3.C (dispatch): adjust
337 * text2.C (checkParagraph): adjust
339 (setCursorFromCoordinates): adjust
341 * text.C (top_y): adjust
343 (getRow): make it return a RowList::iterator, adjust
344 (getRowNearY): make it return a RowList::iterator, adjust
346 * text2.C (init): adjust
347 (insertRow): remove function
348 (insertParagraph): adjust
349 (redoParagraphs): adjust
350 (fullRebreak): adjust
351 (updateCounters): adjust
353 * text.C (top_y): rewrite to use RowList iterators.
355 (setHeightOfRow): rewrite to sue RowList iterators.
356 (appendParagraph): adjust
358 (breakAgainOneRow): adjust
359 (breakParagraph): adjust
361 (getRowNearY): adjust, and remove commented code.
363 * lyxtext.h (firstRow): delete function
364 (lastRow): delete function
365 (rows): new function (const and non-const versions.)
366 (insertRow): delete function
368 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
370 2003-03-29 John Levon <levon@movementarian.org>
372 * BufferView_pimpl.C: always update scrollbar top
373 because pasting text when we're anchored could mean we
374 miss an update altogether
376 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
378 * text2.C (init): use rowlist_.end() and not 0.
379 (insertRow): change to take a RowList::iterator as arg, adjust
381 (insertParagraph): change to take a RowList::iterator as arg,
383 (redoParagraphs): remove some debug msgs.
385 * text.C (appendParagraph): change to take a RowList::iterator
386 arg, adjust for this.
387 (breakAgain): add an assert
388 (breakAgainOneRow): ditto
390 2003-03-29 John Levon <levon@movementarian.org>
392 * text2.C: do not clear selection after inc/decDepth
395 2003-03-29 John Levon <levon@movementarian.org>
398 * buffer.C: fix broken strerrors according to Lars
400 2003-03-29 John Levon <levon@movementarian.org>
402 * converters.C: more Alert cleanups
404 2003-03-29 John Levon <levon@movementarian.org>
406 * bufferview_funcs.C: remove pointless Alert
408 * buffer.C: fix confusing error message when
409 a template is chmoded 000
411 2003-03-29 John Levon <levon@movementarian.org>
415 * BufferView_pimpl.C: Alert fixes
419 * tabular-old.C: remove unused table compat reading
421 2003-03-29 John Levon <levon@movementarian.org>
426 * lyx_cb.C: more Alert cleanups
428 * lyxfunc.C: don't allow chktex if not latex document
430 2003-03-29 John Levon <levon@movementarian.org>
434 * buffer.C: warnings pushed down from support/,
437 2003-03-29 John Levon <levon@movementarian.org>
439 * lyxfunc.C: safety check for C-r (revert)
441 2003-03-29 John Levon <levon@movementarian.org>
444 * bufferlist.C: several UI fixes using Alert::prompt.
445 Fix the pointless looping quit code. Fix stupid revert
450 * lyx_cb.C: use Alert::prompt
452 * lyx_main.C: remove a silly question
454 * lyxfunc.C: remove a couple of silly questions,
457 2003-03-28 John Levon <levon@movementarian.org>
459 * text2.C: fix bug 974 (End on empty par)
461 2003-03-28 John Levon <levon@movementarian.org>
463 * BufferView_pimpl.C:
465 * lfuns.h: remove do-nothing math greek lfuns
467 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
469 * lyxgluelength.h (isValidGlueLength): add default arg on
470 parameter 2. Remove default arg from friend in class.
472 * lyxlength.h (isValidLength): add default arg on parameter 2.
473 Remove default arg from friend in class.
475 * text2.C (LyXText): adjust, initialize refresh_row.
479 (insertParagraph): adjst
480 (redoParagraphs): adjust
481 (fullRebreak): adjust
482 (updateCounters): adjust
483 (deleteEmptyParagraphMechanism): first attempt at fixing a
486 * text.C (top_y): adjust
487 (setHeightOfRow): adjust
489 (getRowNearY): adjust
491 * lyxtext.h: include RowList.h
492 (~LyXText): not needed anymore, deleted.
493 (firstRow): modify for RowList
494 (lastRow): new function
495 Delete firstrow and lastrow class variables, add a Rowlist
496 rowlist_ class variable.
498 * lyxrow.C (lastPos): use empty() and not !size() to check if a
501 * RowList.C (insert): fix case where it == begin().
503 2003-03-26 Angus Leeming <leeming@lyx.org>
505 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
506 the thesaurus dialog.
508 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
510 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
512 * RowList.[Ch]: new files
514 * ParagraphList.C (erase): handle the case where it == begin
517 2003-03-25 John Levon <levon@movementarian.org>
521 * aspell.C: add new aspell support
524 * lyxrc.C: Make use_pspell be use_spell_lib. Always
527 2003-03-25 Angus Leeming <leeming@lyx.org>
530 * LyXAction.C (init): new LFUN_INSET_INSERT.
532 * BufferView_pimpl.C (dispatch): split out part of the
533 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
535 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
538 2003-03-25 Angus Leeming <leeming@lyx.org>
540 * lyxfunc.C (dispatch): changes to the Dialogs interface.
542 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
545 * text3.C: remove useless row->height(0)
547 2003-03-25 John Levon <levon@movementarian.org>
551 * text3.C: rename the refreshing stuff to better names
553 2003-03-24 John Levon <levon@movementarian.org>
555 * BufferView_pimpl.h:
556 * BufferView_pimpl.C: update layout choice on a mouse
559 2003-03-23 John Levon <levon@movementarian.org>
561 * Makefile.am: fix commandtags.h reference
563 2003-03-22 John Levon <levon@movementarian.org>
565 * BufferView_pimpl.C:
570 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
572 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
575 * text.C: take the rtl methods out of line
577 2003-03-21 André Pönitz <poenitz@gmx.net>
579 * metricsinfo.[Ch]: new files containing structures to be passed around
580 during the two-phase-drawing...
582 2003-03-21 André Pönitz <poenitz@gmx.net>
584 * lyxtextclass.C: read 'environment' tag.
586 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
588 * text2.C (removeRow): fix bug 964
590 2003-03-20 John Levon <levon@movementarian.org>
594 * text2.C: paint cleanups. Inset::update() dropped font
597 2003-03-19 John Levon <levon@movementarian.org>
599 * lyxfunc.C: only fitcursor/markDirty if available()
601 2003-03-19 John Levon <levon@movementarian.org>
603 * commandtags.h: rename to ...
605 * lfuns.h: ... this, and renumber / cleanup
607 2003-03-19 John Levon <levon@movementarian.org>
609 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
610 fit the cursor after an lfun
614 * BufferView_pimpl.h:
615 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
617 * LyXAction.C: layout-character should have ReadOnly
619 * ParagraphParameters.C:
621 * bufferview_funcs.C:
628 * undo_funcs.C: changes from above
630 2003-03-18 John Levon <levon@movementarian.org>
632 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
633 remove it from update()
635 * lyxfunc.C: update layout choice after an lfun
637 * text3.C: remove extra updateLayoutChoice()s
639 2003-03-18 John Levon <levon@movementarian.org>
641 * text.C: top_y change means full repaint, fix
642 a drawing bug with cursor movement
644 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
648 * text2.C: anchor row on setCursor
650 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
652 * lyxtext.h: remove almost all mutable keywords
655 * text3.C: remove const keywords accordingly
657 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
659 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
661 (TeXEnvironment): ditto
664 2003-03-17 John Levon <levon@movementarian.org>
666 * text.C (rowBreakPoint): remove attempt to fix displayed
667 math insets inside a manual label
669 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
671 * lyxtext.h: remove BufferView* as first arg from almost all class
673 * other files: adjust.
675 2003-03-17 John Levon <levon@movementarian.org>
679 * text2.C: more paint cleanups
681 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
684 * rowpainter.C: remove "smart" background painting code
686 2003-03-16 John Levon <levon@movementarian.org>
691 * text3.C: add helper functions for setting refresh_row/y
693 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
695 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
696 newline inset which *can* get inserted in the pass_thru layouts.
697 This is primarily for literate documents.
699 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
701 * buffer.C: increment LYX_FORMAT to 223
703 2003-03-14 André Pönitz <poenitz@gmx.net>
705 * textclass.h: prepare for environment handling, ws changes
706 * lyxlayout.C: read latexheader and latexfooter tags
708 2003-03-14 John Levon <levon@movementarian.org>
710 * text2.C: rewrite ::status() a bit
712 2003-03-13 John Levon <levon@movementarian.org>
714 * lyxtext.h: add some docs
716 2003-03-13 John Levon <levon@movementarian.org>
721 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
723 2003-03-13 John Levon <levon@movementarian.org>
725 * text3.C: fix appendix redrawing
727 2003-03-13 John Levon <levon@movementarian.org>
729 * text.C (setHeightOfRow):
731 * rowpainter.C: make appendix mark have the text
732 "Appendix" so the user knows what it is
735 * LColor.C: s/appendixline/appendix/ from above
737 2003-03-13 John Levon <levon@movementarian.org>
739 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
741 * text.C: fix a getChar(pos) bug properly
743 2003-03-13 Angus Leeming <leeming@lyx.org>
746 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
747 Probably only temporary. Let's see how things pan out.
749 * BufferView.C (unlockInset):
750 * BufferView_pimpl.C (fitCursor):
751 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
753 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
754 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
756 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
757 new functions that convert ParagraphParameters to and from a string.
759 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
760 BufferView::Pimpl's dispatch.
761 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
763 2003-03-13 André Pönitz <poenitz@gmx.net>
767 * factory.C: make it aware of InsetEnv
769 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
771 * text2.C (setCursor): never ask for one past last
772 (setCursor): add some debugging messages.
774 * text.C (singleWidth): never ask for one past last
778 (rowBreakPoint): ditto
779 (setHeightOfRow): ditto
780 (prepareToPrint): ditto
782 * rowpainter.C (paintBackground): never ask for one past last
783 (paintText): never ask for one past last
785 * paragraph_pimpl.C (getChar): make the assert stricter, never
786 allow the one past last pos to be taken
788 * paragraph.C (getChar): ws changes only
790 * lyxrow.C (nextRowIsAllInset): never ask for one past last
791 (numberOfSeparators): ditto
792 (numberOfHfills): ditto
794 2003-03-12 John Levon <levon@movementarian.org>
800 * paragraph_funcs.C: fix per-buffer authorlists
802 2003-03-12 John Levon <levon@movementarian.org>
804 * text.C: fix newline in right address
806 2003-03-12 Angus Leeming <leeming@lyx.org>
808 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
809 duplicate those in LyXFunc::dispatch.
814 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
815 Add LFUN_FONTFREE_UPDATE.
817 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
818 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
820 * bufferview_func.[Ch]: several new functions to facilliate
821 transfer of data to and from the character dialog.
823 2003-03-12 John Levon <levon@movementarian.org>
833 * text3.C: remove META_NEWLINE in favour of an inset
836 * rowpainter.C: remove paintNewline (done by inset)
838 2003-03-12 John Levon <levon@movementarian.org>
840 * paragraph_pimpl.C: complain about bad getChar()s
843 2003-03-12 John Levon <levon@movementarian.org>
846 * buffer.C: move paragraph read into a separate function,
847 a little renaming to reflect that.
850 * bufferparams.C: remove the author_ids map, not necessary now
853 * factory.C: moved Buffer::readInset to here
856 * paragraph_funcs.C: readParagraph free function moved from
859 * tabular.C: name change
861 2003-03-12 John Levon <levon@movementarian.org>
864 * ParagraphParameters.C: move par params input to
867 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
868 behave like a normal read from the stream wrt reading
871 2003-03-12 John Levon <levon@movementarian.org>
874 * ParagraphParameters.h:
875 * ParagraphParameters.C: move output code to a
878 2003-03-12 John Levon <levon@movementarian.org>
880 * BufferView.C (insertLyXFile):
883 * tabular.C: use a parlist iterator for creating the
886 2003-03-12 John Levon <levon@movementarian.org>
888 * buffer.C: make current_change static local not
891 2003-03-12 John Levon <levon@movementarian.org>
893 * buffer.C: fix insertStringAsLines for change tracking
895 2003-03-12 John Levon <levon@movementarian.org>
902 * bufferparams.C: move author list into params. Rename some
903 functions. Move the header reading into a separate token
904 loop. Move the header token reading into BufferParams.
906 2003-03-12 John Levon <levon@movementarian.org>
908 * changes.C: put debug inside lyxerr.debugging() checks
910 2003-03-11 André Pönitz <poenitz@gmx.net>
912 * factory.C: make it aware of InsetHFill
914 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
916 * buffer.C (latexParagraphs): move function from here...
917 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
920 2003-03-10 Angus Leeming <leeming@lyx.org>
922 * LyXAction.C (init): fix bug in poplating array with multiple entries
923 with the same LFUN (spotted by JMarc).
925 2003-03-10 John Levon <levon@movementarian.org>
928 * text2.C: move getColumnNearX() near its
931 2003-03-10 John Levon <levon@movementarian.org>
933 * text.C: fix break before a minipage
935 2003-03-10 John Levon <levon@movementarian.org>
937 * text.C: fix the last commit
939 2003-03-09 John Levon <levon@movementarian.org>
943 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
944 bug 365 (don't break before insets unless needed). Don't
945 return a value > last under any circumstances.
947 2003-03-09 Angus Leeming <leeming@lyx.org>
949 * BufferView_pimpl.C (trackChanges, dispatch): call
950 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
952 2003-03-09 Angus Leeming <leeming@lyx.org>
954 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
955 than Dialogs::showAboutlyx().
957 2003-03-09 Angus Leeming <leeming@lyx.org>
959 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
960 than Dialogs::showTabularCreate().
962 2003-03-09 John Levon <levon@movementarian.org>
966 * text2.C: 3rd arg to nextBreakPoint was always the same.
969 2003-03-08 John Levon <levon@movementarian.org>
976 * text2.C: Remove the "main" bit from the "main body"
979 2003-03-08 John Levon <levon@movementarian.org>
981 * text.C (leftMargin): The left margin of an empty
982 manual label paragraph should not include the label width
985 * text.C (prepareToPrint): don't attempt to measure hfills
986 for empty manual label paragraphs - the answer should be 0
988 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * CutAndPaste.C: remove commented code and reindent.
992 2003-03-08 John Levon <levon@movementarian.org>
995 * lyxfunc.C: move reloadBuffer()
998 * BufferView.C: to here
1000 * lyxvc.C: add comment
1003 * vc-backend.C: call bv->reload() to avoid
1004 getStatus() check on MENURELOAD
1006 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
1008 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
1009 to an old format .dep file.
1011 2003-03-07 Angus Leeming <leeming@lyx.org>
1013 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
1014 when the LFUN_MOUSE_RELEASE should have been handled by
1015 inset->localDispatch.
1017 2003-03-07 Angus Leeming <leeming@lyx.org>
1019 * BufferView_pimpl.C (dispatch):
1020 * LyXAction.C (init):
1021 * ToolbarDefaults.C (init):
1023 * lyxfunc.C (getStatus):
1024 remove LFUN_INSET_GRAPHICS.
1026 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
1028 2003-03-07 Angus Leeming <leeming@lyx.org>
1031 * LyXAction.C (init):
1032 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
1034 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
1037 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
1039 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
1040 localDispatch method LFUN_INSET_DIALOG_UPDATE.
1042 2003-03-07 Angus Leeming <leeming@lyx.org>
1044 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
1047 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1049 * ParagraphList.C (front): new function
1052 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1054 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
1055 and top_row_offset_. removed var first_y.
1057 * text2.C (LyXText, removeRow):
1059 * BufferView_pimpl.C:
1060 use these methods instead of using first_y
1062 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * text2.C (pasteSelection): adjust for checkPastePossible
1066 * CutAndPaste.C: remove Paragraph * buf and replace with
1067 ParagraphList paragraphs.
1068 (DeleteBuffer): delete
1069 (cutSelection): change the tc type to textclass_type
1070 (copySelection): change the tc type to textclass_type
1071 (copySelection): adjust for ParagraphList
1072 (pasteSelection): change the tc type to textclass_type
1073 (pasteSelection): adjust for Paragraphlist
1074 (nrOfParagraphs): simplify for ParagraphList
1075 (checkPastePossible): simplify for ParagraphList
1076 (checkPastePossible): remove unused arg
1078 * ParagraphList.C (insert): handle the case where there are no
1081 * CutAndPaste.h: make CutAndPaste a namespace.
1083 * text3.C (dispatch): adjust
1085 * text.C (breakParagraph): add a ParagraphList as arg
1087 * paragraph_funcs.C (breakParagraph): change to take a
1088 BufferParams and a ParagraphList as args.
1089 (breakParagraphConservative): ditto
1090 (mergeParagraph): ditto
1091 (TeXDeeper): add a ParagraphList arg
1092 (TeXEnvironment): ditto
1095 * buffer.C (readLyXformat2): adjust
1096 (insertStringAsLines): adjust
1097 (latexParagraphs): adjust
1099 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
1100 (cutSelection): adjust
1101 (pasteSelection): adjust
1103 * BufferView_pimpl.C (insertInset): adjust
1105 2003-03-05 Angus Leeming <leeming@lyx.org>
1108 * LyXAction.C (init):
1109 * BufferView_pimpl.C (dispatch):
1110 * lyxfunc.C (getStatus):
1111 remove LFUN_CHILD_INSERT.
1113 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
1115 2003-03-05 Angus Leeming <leeming@lyx.org>
1118 * LyXAction.C (init):
1119 * src/factory.C (createInset):
1120 * lyxfunc.C (getStatus):
1121 * text3.C (dispatch):
1122 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
1124 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
1126 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * ParagraphList.C (insert): handle insert right before end()
1129 (erase): fix cases where it can be first or last paragraph.
1131 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1133 * paragraph_funcs.C (TeXEnvironment): remove all usage of
1134 Paragraph::next and Paragraph::previous
1137 * text.C (breakParagraph): adjust
1139 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
1140 BufferParams& as arg.
1141 (breakParagraph): use ParagraphList::insert
1142 (breakParagraphConservative): take a Buffer* instead of a
1143 BufferParams& as arg.
1144 (breakParagraphConservative): use ParagraphList::insert.
1146 * buffer.C (insertStringAsLines): un-const it
1147 (insertStringAsLines): adjust
1149 * ParagraphList.C (insert): new function
1151 * CutAndPaste.C (pasteSelection): adjust
1153 * text.C (backspace): adjust
1155 * tabular.C (SetMultiColumn): adjust
1157 * CutAndPaste.C (cutSelection): adjust
1158 (pasteSelection): adjust
1160 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
1161 Buffer const * as arg
1163 * ParagraphList.C (erase): new function
1164 * paragraph_funcs.C (mergeParagraph): use it
1165 (mergeParagraph): make it take a Buffer* instead of a
1166 BufferParams* as arg
1168 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
1170 (breakParagraphConservative): ditto
1172 * paragraph.h: remove the breakParagraph friend
1174 * paragraph.C (eraseIntern): new function
1175 (setChange): new function
1177 * paragraph_funcs.C (mergeParagraph): make it take a
1178 ParagraphList::iterator instead of a Paragraph *, adjust
1181 * paragraph.h: move an #endif so that the change tracking stuff
1182 also works in the NO_NEXT case.
1184 2003-03-04 Angus Leeming <leeming@lyx.org>
1187 * LyXAction.C: new LFUN_INSET_MODIFY.
1189 * BufferView_pimpl.C (dispatch): if an inset is found to be open
1190 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
1192 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1194 * several files: ws changes only
1196 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
1197 (TeXEnvironment): ditto
1200 * buffer.C (makeLaTeXFile): adjust
1201 (latexParagraphs): make it take ParagraphList::iterator as args
1203 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * buffer.C (latexParagraphs): adjust
1207 * paragraph.C (TeXOnePar): move function...
1208 (optArgInset): move function...
1209 (TeXEnvironment): move function...
1210 * paragraph_pimpl.C (TeXDeeper): move function...
1211 * paragraph_funcs.C: ...here
1213 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
1215 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1217 * buffer.C (readInset): remove compability code for old Figure and
1220 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1222 * buffer.C: ws changes
1225 * BufferView_pimpl.C: ditto
1228 * bufferlist.h: ditto
1232 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1234 * converter.[Ch]: split into itself +
1237 * Makefile.am: += graph.[Ch] + format.[Ch]
1244 * lyxrc.C: added #include "format.h"
1246 2003-02-27 Angus Leeming <leeming@lyx.org>
1248 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1251 * factory.C (createInset): add "label" to the factory.
1253 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1254 string and do no more.
1256 2003-02-27 Angus Leeming <leeming@lyx.org>
1259 * LyXAction.C (init):
1260 * factory.C (createInset):
1261 * BufferView_pimpl.C (dispatch):
1262 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1264 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1266 * lyxfunc.C (dispatch):
1267 * text3.C (dispatch): pass name to params2string.
1269 2003-02-26 Angus Leeming <leeming@lyx.org>
1271 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1273 Rearrange the ~includes. Strip out the unnecessary ones.
1275 * factory.C (createInset): reformat.
1276 create new insets for the various LFUN_XYZ_APPLY lfuns.
1278 2003-02-26 John Levon <levon@movementarian.org>
1281 * lyxrow.C: add isParStart,isParEnd helpers
1283 * paragraph.h: make isInserted/DeletedText take refs
1285 * paragraph_funcs.h:
1286 * paragraph_funcs.C: remove #if 0'd code
1291 * text.C: use lyxrow helpers above.
1292 Move draw and paint routines to RowPainter.
1293 Make several methods use refs not pointers.
1294 Make backgroundColor() const.
1295 Add markChangeInDraw(), isInInset().
1296 Merge changeRegionCase into changeCase.
1297 Make workWidth() shouldn't-happen code into an Assert.
1300 * rowpainter.C: new class for painting a row.
1303 * vspace.C: make inPixels take a ref
1305 2003-02-26 Angus Leeming <leeming@lyx.org>
1307 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1310 2003-02-25 John Levon <levon@movementarian.org>
1312 * ispell.C: give the forked command a more accurate name
1314 2003-02-22 John Levon <levon@movementarian.org>
1317 * toc.C: make TocItem store an id not a Paragraph *
1320 2003-02-21 Angus Leeming <leeming@lyx.org>
1322 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1323 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1324 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1325 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1326 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1327 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1329 * BufferView_pimpl.C (dispatch):
1330 * LyXAction.C (init):
1331 * factory.C (createInset):
1332 * lyxfunc.C (getStatus, dispatch):
1333 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1335 2003-02-21 Angus Leeming <leeming@lyx.org>
1337 * BufferView_pimpl.C (MenuInsertLyXFile):
1338 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1339 * lyxfunc.C (menuNew, open, doImport):
1340 no longer pass a LyXView & to fileDlg.
1342 2003-02-21 Angus Leeming <leeming@lyx.org>
1344 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1345 * LyXAction.C: change, BIBKEY to BIBITEM.
1346 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1347 Change InsetBibKey to InsetBibitem.
1348 Change BIBKEY_CODE to BIBITEM_CODE.
1349 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1350 * factory.C: replace insetbib.h with insetbibitem.h.
1351 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1352 * paragraph.C: replace insetbib.h with insetbibitem.h.
1353 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1354 Change bibkey() to bibitem().
1355 * text.C: remove insetbib.h.
1356 * text2.C: replace insetbib.h with insetbibitem.h.
1357 change bibkey() to bibitem().
1358 * text3.C: remove insetbib.h.
1359 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1361 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1363 * lyxrc.C (output): enclose user email in quotes (in case there are
1366 2003-02-18 John Levon <levon@movementarian.org>
1368 * buffer.h: add std::
1370 2003-02-17 John Levon <levon@movementarian.org>
1376 * pspell.C: reworking. Especially in ispell, a large
1377 number of clean ups and bug fixes.
1379 * lyxfunc.C: fix revert to behave sensibly
1381 2003-02-17 André Pönitz <poenitz@gmx.net>
1384 * commandtags.h: new LFUN_INSERT_BIBKEY
1394 * paragraph_func.C: remove special bibkey handling
1396 2003-02-17 John Levon <levon@movementarian.org>
1398 * text.C (Delete): fix case where delete at the end of
1399 the very first paragraph would not merge the pars
1401 2003-02-17 John Levon <levon@movementarian.org>
1403 * lyxrow.C: fix lastPrintablePos()
1405 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1407 * bufferparams.C (writeLaTeX): add a std:here
1409 * buffer.C: and remove a using directive there
1411 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1413 * buffer.C (makeLaTeXFile): move the code that generates the
1416 * bufferparams.C (writeLaTeX): ... in this new method
1418 * LaTeXFeatures.C (getEncodingSet): make const
1419 (getLanguages): make const
1421 * MenuBackend.C (binding): returns the binding associated to this
1423 (add): sets the status of each item by calling getStatus. Adds
1425 (read): add support for OptSubMenu
1426 (expand): remove extra separator at the end of expanded menu
1428 2003-02-15 John Levon <levon@movementarian.org>
1431 * BufferView_pimpl.C:
1433 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1434 inset code that had no actual effect. Remove unneeded status
1437 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1439 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1442 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1444 * text.C (drawLengthMarker): also draw an arrow marker for
1445 symbolic lengths (medskip...)
1447 2003-02-14 John Levon <levon@movementarian.org>
1450 * tabular.C: better method names
1452 2003-02-14 John Levon <levon@movementarian.org>
1454 * BufferView_pimpl.C:
1459 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1460 it's a more accurate name. Remove some pointless uses.
1462 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1464 * text2.C (LyXText): change order of initilizers to shut off
1467 2003-02-14 John Levon <levon@movementarian.org>
1469 * buffer.C: use ParIterator for getParFromID()
1473 * paragraph_pimpl.h:
1474 * paragraph_pimpl.C: remove unused getParFromID()
1476 2003-02-14 John Levon <levon@movementarian.org>
1478 * buffer.C: remove some very old #if 0'd parse code
1480 2003-02-13 John Levon <levon@movementarian.org>
1484 * text2.C: move hfillExpansion(), numberOfSeparators(),
1485 rowLast(), rowLastPrintable(), numberofHfills(),
1486 numberOfLabelHfills() ...
1489 * lyxrow.C: ... to member functions here.
1494 * text.C: remove LyXText::beginningOfMainBody(), and call
1495 p->beginningOfMainBody() directly. Move the check for
1496 LABEL_MANUAL into the latter.
1503 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1509 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1510 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1512 2003-02-13 John Levon <levon@movementarian.org>
1514 * CutAndPaste.C: remove debug
1516 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1518 * paragraph.C (asString): remove two unused variables
1520 * lyxtextclass.C (readTitleType):
1522 (LyXTextClass): handle new members titletype_ and titlename_
1524 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1526 2003-02-09 John Levon <levon@movementarian.org>
1529 * buffer.C: replace hand-coded list with a map for the dep clean
1531 2003-02-08 John Levon <levon@movementarian.org>
1533 * LaTeX.C: consolidate code into showRunMessage() helper
1535 2003-02-08 John Levon <levon@movementarian.org>
1540 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1541 and pass the size in explicitly
1543 * BufferView_pimpl.h:
1544 * BufferView_pimpl.C:
1546 * BufferView.C: add getCurrentChange()
1548 * BufferView_pimpl.h:
1549 * BufferView_pimpl.C: handle change lfuns
1551 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1552 for changes. Mark pasted paragraphs as new.
1554 * support/lyxtime.h:
1555 * support/lyxtime.C:
1556 * DepTable.C: abstract time_t as lyx::time_type
1559 * LColor.C: add colours for new text, deleted text, changebars
1561 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1562 package use "usenames" option.
1566 * LyXAction.C: add change lfuns
1570 * author.C: author handling
1573 * buffer.C: add a per-buffer author list, with first entry as
1574 current author. Handle new .lyx tokens for change tracking. Output
1575 author list to .lyx file. Output dvipost stuff to .tex preamble.
1576 Bump lyx format to 222.
1579 * bufferlist.C: add setCurrentAuthor() to reset current author details
1583 * bufferparams.C: add param for tracking
1585 * bufferview_funcs.C: output change info in minibuffer
1589 * changes.C: add change-tracking structure
1592 * debug.C: add CHANGES debug flag
1595 * lyxfind.C: add code for finding the next change piece
1598 * lyxrc.C: add user_name and user_email
1601 * lyxrow.C: add a metric for the top of the text line
1604 * text.C: implement accept/rejectChange()
1607 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1608 Strike through deleted text.
1612 * paragraph_pimpl.h:
1613 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1614 to the insert functions. Rework erase to mark text as deleted, adding
1615 an eraseIntern() and a range-based erase(). Implement
1616 per-paragraph change lookup and accept/reject.
1618 * paragraph_funcs.C: Fixup paste for change tracking.
1620 * tabular.C: mark added row/columns as new.
1622 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1623 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1625 * text2.C: leave cursor at end of selection after a cut.
1627 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1629 * text.C (getLengthMarkerHeight):
1630 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1631 visible on screen too.
1633 2003-02-07 John Levon <levon@movementarian.org>
1635 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1637 2003-02-05 Angus Leeming <leeming@lyx.org>
1639 * lyxserver.C (read_ready): revert my patch of 11 September last year
1640 as it sends PC cpu through the roof. Presumably this means that
1641 the lyxserver will no longer run on an Alpha...
1643 2003-01-30 Angus Leeming <leeming@lyx.org>
1645 * factory.C (createInset): create an InsetCommandParam of type "index"
1646 and use it to 'do the right thing'.
1648 * text2.C (getStringToIndex): ensure that cursor position is always
1649 reset to the reset_cursor position.
1651 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1653 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1656 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1660 * lyxfunc.C: Output messages with identical spelling, punctuation,
1663 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1665 * MenuBackend.C (expandFormats): List only viewable export formats
1668 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1671 * lyxfunc.C (getStatus): Make sure that formats other than
1672 "fax" can also be disabled
1674 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1676 * text3.C (dispatch): put the lfuns that insert insets in 3
1677 groups, and call doInsertInset with appropriate arguments.
1678 (doInsertInset): new function, that creates an inset and inserts
1679 it according to some boolean parameters.
1681 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1683 * buffer.C (readFile): remember to pass on 'par' when calling
1684 readFile recursively.
1686 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1688 * MenuBackend.C (expandFormats): add "..." to import formats.
1690 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1692 * paragraph.C (asString): Remove XForms RTL hacks.
1694 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1695 * buffer.C: fix typo
1697 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * Makefile.am (LIBS): delete var
1700 (lyx_LDADD): add @LIBS@ here instead.
1702 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1704 * Clarify the meaning of "wheel mouse jump"
1706 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1708 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1711 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1713 * importer.C (Loaders): do not preallocate 3 elements in the
1714 vector, since one ends up with 6 elements otherwise
1716 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1718 * DepTable.C (write): write the file name as last element of the
1719 .dep file (because it may contain spaces)
1720 (read): read info in the right order
1722 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1724 * paragraph_pimpl.C (simpleTeXBlanks):
1725 (simpleTeXSpecialChars):
1726 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1728 * tabular.C (latex): add some missing case statements. Reindent.
1730 * MenuBackend.C (expandToc): remove unused variable.
1732 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1741 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1744 2003-01-05 John Levon <levon@movementarian.org>
1747 * BufferView.C: add getEncoding()
1750 * kbsequence.C: do not store last keypress
1753 * lyxfunc.C: store last keypress here instead. Pass encoding
1756 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1758 * lyx_main.C (init): remove annoying error message when following
1759 symbolic links (bug #780)
1761 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1763 * text.C (insertChar):
1764 * lyxrc.C (getDescription): remove extra spaces
1766 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1768 * lyxrc.C (getDescription): remove extra spaces
1770 2002-12-20 John Levon <levon@movementarian.org>
1772 * text3.C: hack fix for page up/down across tall rows
1774 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1776 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1779 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1781 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1782 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1783 thesaurus is not compiled in
1785 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1787 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1789 2002-12-16 Angus Leeming <leeming@lyx.org>
1792 * lyx_main.C (init): remove override_x_deadkeys stuff.
1794 2002-12-12 John Levon <levon@movementarian.org>
1796 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1797 insert. Only remove shift modifier under strict
1800 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1802 * MenuBackend.C (expandToc): fix crash.
1804 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1806 * MenuBackend.C (expandToc): gettext on float names.
1808 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1810 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1811 implement bool empty() [bug 490]
1813 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1817 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1819 * several files: ws changes
1821 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * text2.C (setCounter): clean up a bit, use boost.format.
1824 (updateCounters): initialize par upon declaration.
1826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1827 if the layout exists. We do not just store the layout any more.
1828 (SwitchLayoutsBetweenClasses): use boost.format
1830 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1832 * converter.C (convert): if from and to files are the same, use a
1833 temporary files as intermediary
1835 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1838 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1840 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1842 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1844 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * tabular.C (asciiPrintCell): use string(size, char) instead of
1849 * sgml.C (openTag): fix order of arguments to string constructor
1852 * lyxfunc.C (dispatch): use boost.format
1854 * lots of files: change "c" -> 'c'
1856 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1858 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1860 2002-11-25 Angus Leeming <leeming@lyx.org>
1862 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1864 * lyx_main.C (init): compile fix.
1866 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1868 * lyx_cb.C (start): boost.formatify
1869 do not include <iostream>
1871 * lengthcommon.C: ws only
1873 * boost-inst.C,BoostFormat.h: add more explict instantations
1875 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1877 * lots of files: handle USE_BOOST_FORMAT
1879 2002-11-21 John Levon <levon@movementarian.org>
1881 * pspell.C: fix compile
1883 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1885 * lyxfunc.C (dispatch): use boost::format
1889 * lyxfont.C (stateText): use boost::format
1891 * lyx_main.C (LyX): use boost::format
1893 (queryUserLyXDir): ditto
1896 (typedef boost::function): use the recommened syntax.
1898 * importer.C (Import): use boost::format
1900 * debug.C (showLevel): use boost::format
1902 * converter.C (view): use boost::format
1907 * bufferview_funcs.C (currentState): use boost::format
1909 * bufferlist.C (emergencyWrite): use boost::format
1911 * buffer.C (readLyXformat2): use boost::format
1912 (parseSingleLyXformat2Token): ditto
1914 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1916 * LaTeX.C (run): use boost::format
1918 * Chktex.C (scanLogFile): use boost::format
1920 * BufferView_pimpl.C (savePosition): use boost::format
1921 (restorePosition): ditto
1922 (MenuInsertLyXFile): ditto
1924 * BoostFormat.h: help file for explicit instation.
1926 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1928 * tabular.C (latex): Support for block alignment in fixed width
1931 2002-11-17 John Levon <levon@movementarian.org>
1933 * BufferView_pimpl.C:
1935 * lyxfunc.C: split filedialog into open/save
1937 2002-11-08 Juergen Vigna <jug@sad.it>
1939 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1940 by my last patch (hopefully).
1942 2002-11-08 John Levon <levon@movementarian.org>
1951 * toc.C: ParConstIterator, and use it (from Lars)
1953 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1955 * lyxtextclass.[Ch]: revise and add doxygen comments
1957 2002-11-07 John Levon <levon@movementarian.org>
1959 * text.C: fix progress value for spellchecker
1961 * toc.C: fix navigate menu for insetwrap inside minipage
1963 * paragraph_funcs.C: added FIXME for suspect code
1965 2002-11-07 John Levon <levon@movementarian.org>
1967 * BufferView_pimpl.C: fix redrawing of insets
1970 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1972 * text2.C (updateCounters): fix bug 668
1974 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1976 * text3.C (dispatch): Do not make the buffer dirty when moving the
1979 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * vc-backend.C: STRCONV
1984 * text2.C (setCounter): STRCONV
1986 * paragraph.C (asString): STRCONV
1988 * lyxlength.C (asString): STRCONV
1989 (asLatexString): ditto
1991 * lyxgluelength.C (asString): STRCONV
1992 (asLatexString): ditto
1994 * lyxfunc.C (dispatch): STRCONV
1997 * lyxfont.C (stateText): STRCONV
1999 * importer.C (Import): STRCONV
2001 * counters.C (labelItem): STRCONV
2002 (numberLabel): ditto
2003 (numberLabel): remove unused ostringstream o
2008 * bufferview_funcs.C (currentState): STRCONV
2010 * buffer.C (readFile): STRCONV
2011 (asciiParagraph): ditto
2012 (makeLaTeXFile): ditto
2014 * Spacing.C (writeEnvirBegin): STRCONV
2016 * LaTeXFeatures.C (getLanguages): STRCONV
2017 (getPackages): ditto
2019 (getBabelOptions): ditto
2020 (getTClassPreamble): ditto
2021 (getLyXSGMLEntities): ditto
2022 (getIncludedFiles): ditto
2026 (scanAuxFile): ditto
2029 * LString.h: add the STRCONV macros
2031 * BufferView_pimpl.C (savePosition): STRCONV
2032 (restorePosition): ditto
2033 (MenuInsertLyXFile): ditto
2035 * vc-backend.C (scanMaster): change from submatch[...] to
2038 * funcrequest.C: include config.h
2040 * factory.C: include config.h
2042 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
2044 * box.C: include config.h
2046 * LaTeX.C (scanAuxFile): change from submatch[...] to
2050 2002-10-25 Angus Leeming <leeming@lyx.org>
2052 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
2054 * ispell.[Ch] (setError): new method.
2055 * ispell.C (c-tor): move out child process into new class LaunchIspell.
2056 Use setError() insetead of goto END.
2058 * lyx_cb.C (AutoSave): move out child process into new class
2061 2002-10-30 John Levon <levon@movementarian.org>
2063 * text3.C: make start appendix undoable
2065 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
2067 * lyxlength.C (inPixels): Fix returned value.
2069 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
2072 2002-10-24 Angus Leeming <leeming@lyx.org>
2074 * lyxgluelength.h: no need to forward declare BufferParams
2075 or BufferView, so don't.
2077 2002-10-21 John Levon <levon@movementarian.org>
2079 * BufferView.C: menuUndo ->undo, redo
2081 * BufferView.h: document, remove dead, make some methods private
2083 * paragraph_funcs.h:
2084 * paragraph_funcs.C:
2085 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
2090 * sgml.C: move sgml open/close tag into sgml.C
2092 * bufferview_funcs.h: unused prototype
2095 * lyxfunc.C: remove unused
2098 * text.C: remove unused
2100 2002-10-21 John Levon <levon@movementarian.org>
2104 * BufferView_pimpl.h:
2105 * BufferView_pimpl.C: fix mouse wheel handling based on
2106 patch from Darren Freeman
2108 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
2110 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
2112 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
2114 * lyxlength.C (inPixels): Fix hanfling of negative length.
2115 Fix LyXLength::MU case.
2117 2002-10-16 John Levon <levon@movementarian.org>
2119 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
2121 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2123 * converter.C (view): add support for $$i (file name) and $$p
2124 (file path) for the viewer command. If $$i is not specified, then
2125 it is appended to the command (for compatibility with old syntax)
2127 2002-10-14 Juergen Vigna <jug@sad.it>
2129 * undo_funcs.C (textHandleUndo): alter the order in which the
2130 new undopar is added to the LyXText, as we have to set first
2131 the right prev/next and then add it as otherwise the rebuild of
2132 LyXText is not correct. Also reset the cursor to the right paragraph,
2133 with this IMO we could remove the hack in "redoParagraphs()".
2135 2002-10-09 Angus Leeming <leeming@lyx.org>
2137 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
2138 to turn off an optimisation if a new inset is to be inserted.
2140 2002-10-11 André Pönitz <poenitz@gmx.net>
2142 * lyxtext.h: make some functions public to allow access
2143 from inset/lyxtext for handling LFUN_PRIOR/NEXT
2145 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2147 * text3.C (dispatch): when changing layout, avoid an infinite loop
2150 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2152 * lyxrc.C (read): treat a viewer or converter command of "none" as
2155 * MenuBackend.C (expandFormats): for an update, also allow the
2156 formats that are not viewable
2158 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
2159 script if it is newer than the lyxrc.defaults in user directory
2161 2002-10-07 André Pönitz <poenitz@gmx.net>
2163 * text.C: Vitaly Lipatov's small i18n fix
2165 2002-09-25 Angus Leeming <leeming@lyx.org>
2167 * ispell.h: doxygen fix.
2169 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
2171 * buffer.h (readFile): Add a new argument to the method, to allow
2172 reading of old-format templates.
2174 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2176 * toc.C (getTocList): Get TOC from InsetWrap.
2178 2002-09-16 John Levon <levon@movementarian.org>
2180 * lyxfunc.C: check tabular for cut/copy too
2182 2002-09-12 John Levon <levon@movementarian.org>
2187 * factory.C: add header
2189 * paragraph_funcs.h:
2190 * paragraph_funcs.C: cleanup
2192 2002-09-11 John Levon <levon@movementarian.org>
2194 * PrinterParams.h: odd/even default to true
2196 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2198 * PrinterParams.h: update printer parameters for new xforms dialog
2200 2002-09-11 Angus Leeming <leeming@lyx.org>
2202 * lyxserver.C (read_ready): re-write to make it more transparent
2203 and to make it work in coherent fashion under Tru64 Unix.
2205 2002-09-11 André Pönitz <poenitz@gmx.net>
2209 * text3.C: implement LFUN_WORDSEL
2211 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2213 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
2214 make floatlist_ a boost::shared_ptr<FloatList>
2216 * lyxtextclass.C: include FloatList.h
2217 (LyXTextClass): initialize floatlist_
2218 (TextClassTags): add TC_NOFLOAT
2219 (Read): match "nofloat" to TC_NOFLOAT and use it.
2220 (readFloat): modify call to floatlist_
2224 * FloatList.[Ch] (FloatList): remove commented out float
2226 (erase): new function
2228 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2230 * MenuBackend.C (expandToc): fix crash when there is no document
2233 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2235 * many files: Add insetwrap.
2237 2002-09-09 John Levon <levon@movementarian.org>
2239 * text2.C: remove confusing and awkward depth wraparound
2241 2002-09-09 John Levon <levon@movementarian.org>
2243 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2246 * buffer.C: remove getIncludeonlyList()
2249 * lyxfunc.C: remove headers
2251 2002-09-09 Juergen Vigna <jug@sad.it>
2253 * text.C (getColumnNearX): fix form Michael this is most
2254 probably a cut&paste bug.
2256 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2260 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2261 references, ws changes.
2263 * text2.C (init): update counters after init
2264 (insertParagraph): no need to set counter on idividual paragraphs.
2265 (setCounter): access the counters object in the textclass object
2266 on in the buffer object.
2267 (updateCounters): ditto
2269 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2270 shared_ptr<Counters> to avoid loading counters.h in all
2272 (LyXTextClass): initialize ctrs_
2273 (TextClassTags): add TC_COUNTER, and ...
2274 (Read): use it here.
2275 (CounterTags): new tags
2276 (readCounter): new function
2277 (counters): new funtion
2278 (defaultLayoutName): return a const reference
2280 * counters.C (Counters): remove contructor
2281 (newCounter): remove a couple of unneeded statements.
2282 (newCounter): simplify a bit.
2283 (numberLabel): some small formatting changes.
2285 * buffer.[Ch]: remove all traces of counters, move the Counters
2286 object to the LyXTextClass.
2288 2002-09-06 Alain Castera <castera@in2p3.fr>
2290 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2291 package to set the horizontal alignment on fixed width columns.
2294 * lyx_sty.h: added tabularnewline macro def.
2296 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2298 2002-09-06 John Levon <levon@movementarian.org>
2300 * LyXAction.C: tooltips for sub/superscript
2302 * MenuBackend.C: a bit more verbose
2304 * lyxfunc.C: tiny clean
2306 * undo_funcs.C: document undo_frozen
2308 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2310 * counters.C (Counters): add missing algorithm counter.
2312 * text2.C (setCounter): lookup the counter with layouts latexname
2313 instead of by section number.
2314 (setCounter): use a hackish way to lookup the correct enum
2316 a float name->type change
2317 reset enum couners with counter name directly instead of depth value.
2319 * counters.C (Counters): remove the push_backs, change to use the
2320 float type not the float name.
2321 (labelItem): remove unused string, float name->type change
2323 * counters.h: don't include vector, loose the enums and sects vectors
2325 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2327 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2328 (Read): add float->TC_FLOAT to textclassTags
2329 (Read): and handle it in the switch
2330 (readFloat): new function
2332 * FloatList.C (FloatList): comment out the hardcoded float
2335 * lyxlayout.h: ws change.
2337 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2339 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2341 2002-09-03 Angus Leeming <leeming@lyx.org>
2343 * BufferView_pimpl.h: qualified name is not allowed in member
2344 declaration: WorkArea & Pimpl::workarea() const;
2346 * factory.C: added using std::endl directive.
2348 * text3.C: added using std::find and std::vector directives.
2350 2002-08-29 André Pönitz <poenitz@gmx.net>
2353 * text2.C: remove unused member number_of_rows
2356 * BufferView2.C: remove file, move contents to...
2357 * BufferView.C: ... here
2359 * BufferView_pimpl.C:
2360 * factory.C: move more inset creation to factory
2362 * vspace.C: avoid direct usage of LyXText, ws changes
2365 don't provide direct access to WorkArea, use two simple
2366 acessors haveSelction() and workHeight() instead
2369 2002-08-29 John Levon <levon@movementarian.org>
2371 * BufferView_pimpl.C (dispatch): do not continue when
2374 2002-08-28 André Pönitz <poenitz@gmx.net>
2376 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2379 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2381 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2383 * buffer.C: increment LYX_FORMAT to 221
2385 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2386 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2388 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2390 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2392 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2394 * factory.C (createInset): use LyXTextClass::floats
2396 * MenuBackend.C (expandFloatListInsert):
2397 (expandFloatInsert):
2400 * text2.C (setCounter):
2402 * LaTeXFeatures.C (useFloat):
2403 (getFloatDefinitions):
2405 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2407 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2408 floatlist_, with accessor floats().
2410 * FloatList.h: remove global FloatList
2412 2002-08-26 André Pönitz <poenitz@gmx.net>
2414 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2418 * BufferView_pimpl.C:
2419 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2421 2002-08-25 John Levon <levon@movementarian.org>
2423 * LyXAction.C: fix margin note description
2425 2002-08-24 John Levon <levon@movementarian.org>
2429 * bufferview_funcs.C:
2431 * undo_funcs.C: cleanups
2433 * lyxfunc.C: disable CUT/COPY when no selection
2435 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2437 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2438 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2440 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2441 Add backward compatibility to "mono", "gray" and "no".
2443 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2445 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2446 (and file_format >= 200).
2448 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2450 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2452 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2454 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2456 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2458 * BufferView_pimpl.C:
2465 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2466 inset and code to make it work with the paragraph code. The inset
2467 can be anywhere in the paragraph, but will only do the expected
2468 thing in LaTeX if the layout file contains the parameter line
2470 (or more generally, a nonzero value) for that layout.
2472 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * paragraph.h: remove the declaration of undefined counters class
2477 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2479 * text2.C (setCounter): fixed enumeration mis-count as reported by
2480 Dr. Richard Hawkins.
2482 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2484 * paragraph_funcs.h: remove some unneeded includes
2486 * text.C (backspace): pasteParagraph now in global scipe
2488 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2489 (pasteSelection): ditto
2491 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2492 * paragraph_funcs.C (pasteParagraph): ... here
2494 2002-08-20 André Pönitz <poenitz@gmx.net>
2496 * commandtags.h: new LFUNs for swapping/copying table row/colums
2499 * lyxfunc.C: support for new lfuns
2501 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * buffer.[Ch]: remove NO_COMPABILITY stuff
2506 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2508 * boost.C (throw_exception): new file, with helper function for
2509 boost compiled without exceptions.
2514 * ParameterStruct.h:
2515 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2517 * bufferlist.C (emergencyWriteAll): use boost bind
2519 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2521 * text.C: include paragraph_funcs.h
2522 (breakParagraph): breakParagraph is now in global scope
2524 * paragraph_funcs.[Ch]: new files
2526 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2529 * buffer.C: include paragraph_funcs.h
2530 (insertStringAsLines): breakParagraph is now in global scope
2532 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2535 * CutAndPaste.C: include paragraph_funcs.h
2536 (cutSelection): breakParagraphConservative is now in global scope
2537 (pasteSelection): ditto
2539 * buffer.h: declare oprator== and operator!= for
2540 Buffer::inset_iterator
2542 * bufferlist.C (emergencyWrite): don't use fmt(...)
2544 * text3.C: add using std::endl
2546 * BufferView.C (moveCursorUpdate): remove default arg
2548 2002-08-20 André Pönitz <poenitz@gmx.net>
2550 * buffer.[Ch]: move inline functions to .C
2553 * BufferView_pimpl.C:
2555 * buffer.[Ch]: use improved inset_iterator
2558 * paragraph.[Ch]: write one paragraph at a time
2560 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2562 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2563 style if style is not specified.
2565 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2567 * text2.C (setCounter): when searching for right label for a
2568 caption, make sure to recurse to parent insets (so that a caption
2569 in a minipage in a figure float works) (bug #568)
2571 2002-08-20 André Pönitz <poenitz@gmx.net>
2573 * text3.C: new file for LyXText::dispatch() and helpers
2575 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2577 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2579 2002-08-19 André Pönitz <poenitz@gmx.net>
2582 * text.C: new LyXText::dispatch()
2584 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2586 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2588 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2590 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2593 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2595 * Makefile.am: use $(variables) instead of @substitutions@
2597 2002-08-15 André Pönitz <poenitz@gmx.net>
2600 * BufferView_pimpl.C: streamlining mathed <-> outer world
2604 * LyXAction.C: remove unused LFUN_MATH
2606 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2610 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * paragraph.C (Paragraph): reformat a bit
2613 (cutIntoMinibuffer): use builtin InsetList function instad of
2617 * buffer.C: include boost/bind.hpp, add using std::for_each
2618 (writeFileAscii): use ParagraphList iterators
2619 (validate): use for_each for validate traversal of paragraphs
2620 (getBibkeyList): use ParagraphList iterators
2621 (resizeInsets): use for_each to resizeInsetsLyXText for all
2623 (getParFromID): use ParagraphList iterators
2625 * BufferView2.C (lockInset): use paragraph list and iterators
2627 2002-08-14 John Levon <levon@movementarian.org>
2629 * lyxserver.C: remove spurious xforms include
2631 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2633 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2635 2002-08-13 André Pönitz <poenitz@gmx.net>
2638 * lyxfunc.C: further cleaning
2640 2002-08-13 André Pönitz <poenitz@gmx.net>
2642 * funcrequest.h: new constructor
2644 * funcrequest.C: move stuff here from .h
2647 * BufferView_pimpl.C:
2650 * lyxfunc.C: subsequent changes
2652 * lyxfunc.h: new view() member function
2654 * lyxfunc.C: subsequent changes
2656 2002-08-13 Angus Leeming <leeming@lyx.org>
2659 * BufferView_pimpl.C:
2667 changes due to the changed LyXView interface that now returns references
2668 to member variables not pointers.
2670 2002-08-13 Angus Leeming <leeming@lyx.org>
2672 * WordLangTuple (word, lang_code): return references to strings,
2677 * lyxtext.h: forward-declare WordLangTuple.
2682 * text.C: #include "WordLangTuple.h".
2685 * text.C: (selectNextWordToSpellcheck): constify return type.
2687 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2693 * paragraph_pimpl.h:
2696 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2698 Made updateCounter always count from start of buffer, and removed
2699 second argument (par).
2700 Reverted floats number display to '#'. Perhaps I'll try again when the
2701 code base is sanitized a bit.
2703 2002-08-12 Angus Leeming <leeming@lyx.org>
2705 * buffer.[Ch] (getLabelList): constify.
2707 2002-08-07 André Pönitz <poenitz@gmx.net>
2709 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2711 * funcrequest.h: extension to keep mouse (x,y) position
2713 2002-08-12 Juergen Vigna <jug@sad.it>
2715 * BufferView2.C (insertErrors): forbid undo when inserting error
2718 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2720 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * ParagraphList.[Ch]: new files
2724 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2726 * BufferView2.C (lockInset): ParagraphList changes
2729 * bufferlist.C: ditto
2733 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2735 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2736 unused class variable counter_,
2738 * paragraph.[Ch] (getFirstCounter): delete unused function
2740 * counters.C: include LAssert.h
2741 (reset): add a new function with no arg, change other version to
2742 not have def. arg and to not allow empty arg.
2744 * text2.C (setCounter): remove empty arg from call to Counters::reset
2746 2002-08-11 John Levon <levon@movementarian.org>
2748 * Makefile.am: add WordLangTuple.h
2750 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2753 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2755 * insets/insettext.C: InsetList changes
2757 * graphics/GraphicsSupport.C (operator()): InsetList changes
2759 * toc.C (getTocList): InsetList changes
2761 * paragraph_pimpl.[Ch]: InsetList changes
2763 * paragraph.[Ch]: InsetList changes
2765 * buffer.C (inset_iterator): InsetList changes
2766 (setParagraph): ditto
2767 * buffer.h (inset_iterator): ditto
2768 * iterators.C (operator++): ditto
2769 * iterators.h: ditto
2771 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2773 * InsetList.[Ch]: new files, most InsetList handling moved out of
2776 * BufferView2.C (removeAutoInsets): InsetList changes
2778 (ChangeInsets): ditto
2780 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2782 * paragraph_pimpl.h (empty): new function
2784 * paragraph.[Ch] (empty): new function
2786 * other files: use the new Paragraph::empty function
2788 2002-08-09 John Levon <levon@movementarian.org>
2790 * lyxtext.h: remove unused refresh_height
2792 2002-08-09 John Levon <levon@movementarian.org>
2799 * paragraph.C: move sgml char escaping out of paragraph
2802 * paragraph.C: remove id setter
2806 * paragraph_pimpl.C: remove dead tex_code_break_column
2808 * bufferview_funcs.C: small cleanup
2810 * lyxfunc.C: remove dead proto
2812 * lyxtext.h: make some stuff private. Remove some dead stuff.
2814 * lyxgluelength.C: make as[LyX]String() readable
2816 2002-08-08 John Levon <levon@movementarian.org>
2821 * ToolbarDefaults.C:
2824 * toc.C: lyxaction cleanup
2826 2002-08-08 John Levon <levon@movementarian.org>
2828 * BufferView2.C: small cleanup
2831 * lyxfind.C: move unnecessary header into the .C
2833 2002-08-08 John Levon <levon@movementarian.org>
2835 * funcrequest.h: just tedious nonsense
2838 * lyx_main.C: cleanups
2841 * vspace.C: remove dead header lyx_main.h
2843 2002-08-07 Angus Leeming <leeming@lyx.org>
2846 * paragraph_pimpl.h:
2847 Forward declare class Counters in paragraph.h by moving the ctrs member
2848 variable into Paragraph::Pimpl.
2849 (counters): new method, returning a reference to pimpl_->ctrs.
2851 * text2.C: ensuing changes.
2853 2002-08-07 John Levon <levon@movementarian.org>
2855 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2857 * BufferView_pimpl.C: announce X selection on double/triple
2860 * lyx_main.C: use correct bool in batch dispatch
2862 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2864 2002-08-07 André Pönitz <poenitz@gmx.net>
2866 * funcrequest.h: new class to wrap a kb_action and its argument
2869 * BufferView_pimpl[Ch]:
2873 * lyxrc.C: subsequent changes
2876 2002-08-07 John Levon <levon@movementarian.org>
2878 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2879 document options change.
2881 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2886 * makefile.am: move counters functionality over from
2887 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2889 2002-08-06 John Levon <levon@movementarian.org>
2891 * WordLangTuple.h: new file for word + language code tuple
2902 * BufferView2.C: use WordLangTuple
2905 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2907 2002-08-06 John Levon <levon@movementarian.org>
2909 * lyx_main.C: fix cmdline batch handling
2911 2002-08-06 André Pönitz <poenitz@gmx.net>
2913 * lyxrc.C: set default for show_banner to true
2915 2002-08-06 John Levon <levon@movementarian.org>
2917 * pspell.C: fix a crash, and allow new aspell to work
2919 2002-08-06 John Levon <levon@movementarian.org>
2922 * kbmap.C: small cleanup
2925 * vspace.C: add const
2927 2002-08-05 John Levon <levon@movementarian.org>
2929 * LyXAction.C: back to tabular-insert
2931 2002-08-04 John Levon <levon@movementarian.org>
2934 * BufferView.C: cosmetic change
2936 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2946 * BufferView2.C: purge all "Lyx" not "LyX" strings
2949 * lyxcursor.C: attempt to add some documentation
2954 * ToolbarDefaults.C:
2955 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2956 merge with LFUN_TABULAR_INSERT
2963 * pspell.C: split up i/pspell implementations into separate
2964 files, many cleanups
2966 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2968 * text2.C: some cleanup
2970 * lyxfunc.C: don't check for isp_command == "none" any more, it
2971 didn't make any sense
2973 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2978 * makefile.am: move counters functionality over
2979 from text2.C/paragraph.[Ch] to counters.[Ch], and
2981 2002-08-02 John Levon <levon@movementarian.org>
2983 * buffer.C: s/lyxconvert/lyx2lyx/
2985 2002-08-02 Angus Leeming <leeming@lyx.org>
2987 * lyxlex.C: revert John's change as it breaks reading of the user
2990 2002-08-02 Angus Leeming <leeming@lyx.org>
2992 * importer.C (Import):
2993 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2994 changes due to LyXView::view() now returning a boost::shared_ptr.
2996 2002-08-02 John Levon <levon@movementarian.org>
2998 * lyxlex.C: small cleanup
3000 2002-08-02 John Levon <levon@movementarian.org>
3002 * text2.C (status): small cleanup, no logic change
3004 2002-08-01 John Levon <levon@movementarian.org>
3007 * buffer.C (writeFile): don't output alerts, caller
3011 * lyx_cb.C: from above
3013 * lyxfunc.C: allow to open non-existent files
3015 2002-07-31 John Levon <levon@movementarian.org>
3017 * lyxserver.C: don't let incidental errors get
3020 2002-07-30 John Levon <levon@movementarian.org>
3022 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
3024 2002-07-30 John Levon <levon@movementarian.org>
3027 * lyxserver.C: remove I/O callback too
3029 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3031 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
3034 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3036 * many files: strip,frontStrip -> trim,ltrim,rtrim
3038 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3040 * PrinterParams.h: remove extern containsOnly, and include
3041 support/lstrings.h instead.
3043 * LaTeX.C (scanAuxFile): modify because of strip changes
3045 * buffer.C (makeLaTeXFile): ditto
3046 * bufferparams.C (writeFile): ditt
3047 * lyxfont.C (stateText): ditto
3048 * lyxserver.C (read_ready): ditto
3049 * vc-backend.C (scanMaster): ditto
3051 * BufferView_pimpl.h: ws changes
3053 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
3055 2002-07-26 André Pönitz <poenitz@gmx.net>
3057 * kb_sequence.C: remove unnedred usings
3059 2002-07-26 Juergen Vigna <jug@sad.it>
3061 * lyxfind.C (LyXReplace): we have to check better if the returned
3062 text is not of theLockingInset()->getLockingInset().
3064 2002-07-25 Juergen Vigna <jug@sad.it>
3066 * lyxfind.C (LyXReplace): don't replace if we don't get the
3069 * undo_funcs.C (createUndo): remove debugging code.
3071 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3073 * buffer.C (parseSingleLyXformat2Token): Use default placement
3074 when reading old floats.
3076 * FloatList.C (FloatList): Change the default placement of figure
3077 and tables to "tbp".
3079 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
3081 * MenuBackend.C: using std::max
3083 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3085 * MenuBackend.C (expandToc):
3086 (expandToc2): code moved from xforms menu frontend. It is now
3087 generic and TOCs are transparent to menu frontends.
3089 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3091 * toc.C (getTocList): protect against buf=0
3093 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
3094 Menu as first parameter. Now, this calls itself recursively to
3095 expand a whole tree (this will be useful for TOC handling)
3096 (expandFloatInsert): remove 'wide' version of floats
3098 * MenuBackend.h (submenuname): returns the name of the submenu.
3099 (submenu): returns the submenu itself, provided it has been
3100 created by MenuBackend::expand
3102 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3104 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
3105 insets which have noFontChange == true. (bug #172)
3107 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3109 * BufferView_pimpl.C: add connection objects and use them...
3112 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3114 * MenuBackend.C (expandLastfiles):
3117 (expandFloatListInsert):
3118 (expandFloatInsert):
3119 (expand): split expand in parts
3121 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3123 * lyx_gui.C: use lyx_gui::exit()
3125 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3127 * LyXAction.C: show the failing pseudo action
3129 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
3131 * buffer.C (readFile): Run the lyxconvert script in order to read
3134 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3138 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
3140 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
3144 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
3146 2002-07-22 Herbert Voss <voss@lyx.org>
3149 * lyxlength.[Ch]: add support for the vertical lengths
3151 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
3153 * toc.[Ch]: std:: fixes
3155 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3157 * lyxrc.C: do not include lyx_main.h
3159 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
3165 * BufferView2.C: include "lyxlex.h"
3168 * bufferparams.h: do not #include "lyxlex.h"
3170 * lyxtextclasslist.C (Add): remove method
3171 (classlist): renamed to classlist_
3173 * paragraph_pimpl.C:
3177 * bufferview_funcs.C:
3182 * toc.C (getTocList): use BufferParams::getLyXTextClass
3184 * toc.C (getTocList): use InsetFloat::addToToc
3186 * toc.[Ch]: new files, containing helper functions to handle table
3189 * lyxfunc.C (dispatch): no need to remove spaces around command
3191 (getStatus): handle LFUN_SEQUENCE by returning the status of the
3192 first command of the sequence; it is not very clever, but I do not
3193 have a better idea, actually
3195 * LyXAction.C (LookupFunc): make sure to remove space at the
3196 beginning and end of the command
3198 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3200 * MenuBackend.C (getMenubar): new method: return the menubar of
3202 (read): treat differently reading of menu and menubar (in
3203 particular, the menubar has no name now)
3204 (Menu::menubar): remove
3206 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
3209 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3211 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
3212 a bibitem inset in a RTL paragraph.
3214 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
3216 * paragraph_pimpl.C: constify
3218 * BufferView_pimpl.C:
3220 * lyxfunc.C: fix dispatch in a nicer way
3222 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3224 * lyxfunc.C (dispatch):
3225 * BufferView_pimpl.C:
3226 * BufferView_pimpl.h:
3228 * BufferView.h: rename Dispatch() to dispatch()
3230 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
3232 * lyxlayout.C (Read): honor DependsOn tag
3234 * lyxlayout.[Ch] (depends_on): new method
3236 * version.C.in: update lyx_docversion
3238 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3240 * paragraph.C (validate): remove from here...
3241 * paragraph_pimpl.C (validate): ... and move here
3242 (isTextAt): make it const
3244 * buffer.C (getLists): ws cleanup
3246 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3248 * language.C (read): Use iso8859-1 encoding in latex_lang
3249 (this prevents LyX from crashing when using iso10646-1 encoding).
3251 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3253 * text2.C (toggleInset): if cursor is inside an inset, close the
3254 inset and leave cursor _after_ it
3256 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3258 * lyxfunc.C: move minibuffer completion handling out of here
3260 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3262 * BufferView_pimpl.C:
3263 * LaTeX.C: fix dispatch calls
3265 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3267 * text.C (drawChars): Fix Arabic text rendering.
3269 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3273 * lyxfunc.C: remove message-push/pop
3277 * lyxfunc.C: rationalise some code by removing verboseDispatch
3278 in favour of a bool argument to dispatch()
3280 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3282 * lyx_main.C (init): make sure to read symlinks as absolute paths
3284 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3287 * lyxfunc.C: no need for commandshortcut to be a member
3289 2002-07-15 André Pönitz <poenitz@gmx.net>
3291 * converter.C: add support for $$s (scripts from lib/scripts dir)
3292 * lyx_main.C: white space
3294 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3298 * lyxrc.C: remove second exit confirmation
3300 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3305 * BufferView_pimpl.h:
3306 * BufferView_pimpl.C:
3307 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3309 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3311 * MenuBackend.C (expand): add numeric shortcuts to document menu
3313 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3315 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3317 * lyxfont.C (setLyXFamily):
3324 * buffer.C (asciiParagraph): use ascii_lowercase
3326 2002-07-15 Mike Fabian <mfabian@suse.de>
3328 * lyxlex_pimpl.C (search_kw):
3329 * lyxlex.C (getLongString):
3330 * converter.h (operator<):
3331 * converter.C (operator<):
3332 * buffer.C (parseSingleLyXformat2Token):
3334 * ToolbarDefaults.C (read):
3335 * MenuBackend.C (checkShortcuts):
3337 * LColor.C (getFromGUIName):
3338 (getFromLyXName): use the compare_ascii_no_case instead of
3339 compare_no_case, because in turkish, 'i' is not the lowercase
3340 version of 'I', and thus turkish locale breaks parsing of tags.
3342 2002-07-16 Angus Leeming <leeming@lyx.org>
3344 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3345 now takes a Buffer const & argument.
3347 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3349 * BufferView.C (resize): check there's a buffer to resize
3351 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3353 * lyxfunc.C: remove dead code
3356 * lyxserver.C: use lyx_guii::set_read_callback
3358 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3360 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3361 an inset in a RTL paragraph.
3363 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3365 * lyxfunc.C: repaint after a font size update
3367 2002-07-15 André Pönitz <poenitz@gmx.net>
3369 * lyxlength.C: inBP should be able to return negative values
3371 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3373 * lyxfunc.C: use lyx_gui::update_fonts()
3375 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3377 * lyxfunc.C: use lyx_gui::update_color()
3379 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3385 * lyxrc.C: remove file->new asks for name option, and let
3386 buffer-new take an argument
3388 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3390 * BufferView_pimpl.C: remove unneeded extra repaint()
3392 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3394 * LyXAction.C: allow command-sequence with NoBuffer
3396 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3398 2002-07-10 Angus Leeming <leeming@lyx.org>
3400 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3402 2002-07-09 Angus Leeming <leeming@lyx.org>
3404 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3406 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3408 * lengthcommon.h: whitespace
3410 * lyxfunc.C: update scrollbar after goto paragraph
3412 * lyxtext.h: factor out page break drawing, and fix it so
3413 page break/added space paints as selected nicely
3415 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3417 * BufferView_pimpl.C: add FIXMEs, clean up a little
3419 2002-07-09 André Pönitz <poenitz@gmx.net>
3421 * lyxfont.[Ch]: support for wasy symbols
3423 2002-07-08 André Pönitz <poenitz@gmx.net>
3425 * BufferView_pimpl.C: apply John's patch for #93.
3427 2002-07-05 Angus Leeming <leeming@lyx.org>
3429 * BufferView_pimpl.C (buffer): generate previews if desired.
3431 * LColor.h: add "preview" to the color enum.
3433 * LColor.C (LColor): add a corresponding entry to the items array.
3435 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3438 2002-07-05 Angus Leeming <leeming@lyx.org>
3440 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3441 The body of the code is now in the method that is passed an ostream &
3442 rather than a file name.
3443 Pass an additional only_preamble parameter, useful for the forthcoming
3446 2002-07-03 André Pönitz <poenitz@gmx.net>
3448 * lyxfunc.C: simplify getStatus() a bit for math stuff
3450 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3452 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3454 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3456 * text.C (changeRegionCase): do not change case of all the
3457 document when region ends at paragraph end (bug #461)
3459 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3461 * paragraph.C (startTeXParParams):
3462 (endTeXParParams): add \protect when necessary
3464 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3466 * BufferView_pimpl.C (workAreaExpose): remove warning
3468 2002-06-27 Angus Leeming <leeming@lyx.org>
3470 * Makefile.am: add lyxlayout_ptr_fwd.h.
3472 2002-06-26 André Pönitz <poenitz@gmx.net>
3474 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3476 2002-06-25 Angus Leeming <leeming@lyx.org>
3478 * lyxfunc.C (dispatch): Comment out the call to
3479 grfx::GCache::changeDisplay. The method no longer exists now that the
3480 pixmap generation part of the graphics loader has been moved into
3483 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3485 * text2.C: layout as layout
3487 * text.C: layout as layout
3489 * tabular.C (OldFormatRead): layout as layout
3491 * paragraph_pimpl.C (TeXDeeper): layout as layout
3492 (realizeFont): layout as layout
3494 * paragraph.C (writeFile): layout as layout
3495 (validate): layout as layout
3496 (getFont): layout as layout
3497 (getLabelFont): layout as layout
3498 (getLayoutFont): layout as layout
3499 (breakParagraph): layout as layout
3500 (stripLeadingSpaces): layout as layout
3501 (getEndLabel): layout as layout
3502 (getMaxDepthAfter): layout as layout
3503 (applyLayout): layout as layout
3504 (TeXOnePar): layout as layout
3505 (simpleTeXOnePar): layout as layout
3506 (TeXEnvironment): layout as layout
3507 (layout): layout as layout
3508 (layout): layout as layout
3510 * lyxtextclass.C (compare_name): new functor to work with
3511 shared_ptr, layout as layout
3512 (Read): layout as layout
3513 (hasLayout): layout as layout
3514 (operator): layout as layout
3515 (delete_layout): layout as layout
3516 (defaultLayout): layout as layout
3518 * lyxlayout_ptr_fwd.h: new file
3520 * lyxlayout.C (Read): layout as layout
3522 * lyx_cb.C (MenuInsertLabel): layout as layout
3524 * bufferlist.C (newFile): layout as layout
3526 * buffer.C (readLyXformat2): layout as layout
3527 (parseSingleLyXformat2Token): layout as layout
3528 (insertStringAsLines): layout as layout
3529 (asciiParagraph): layout as layout
3530 (latexParagraphs): layout as layout
3531 (makeLinuxDocFile): layout as layout
3532 (simpleLinuxDocOnePar): layout as layout
3533 (makeDocBookFile): layout as layout
3534 (simpleDocBookOnePar): layout as layout
3535 (getLists): layout as layout
3537 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3539 * CutAndPaste.C (cutSelection): layout as layout
3540 (pasteSelection): layout as layout
3541 (SwitchLayoutsBetweenClasses): layout as layout
3543 * BufferView_pimpl.C (Dispatch): layout as layout
3544 (smartQuote): layout as layout
3546 * BufferView2.C (unlockInset): layout as layout
3548 2002-06-24 André Pönitz <poenitz@gmx.net>
3550 * lyxfunc.C: fix #487
3552 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3556 * lyxfunc.C: remove display_shortcuts, show_banner
3558 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3560 * Buffer_pimpl.C: oops, update on resize
3562 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3569 * BufferView.C: use repaint()
3571 * BufferView_pimpl.h:
3572 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3573 as it's a clearer description. Remove superfluous
3576 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3578 * text.C: fix bug 488. Not ideal, but getting
3579 getWord() to work properly for the insets that
3580 matter is more difficult ...
3582 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3584 * BufferView_pimpl.C:
3587 * lyxfunc.C: remove the six million index lyxfuncs to just
3588 one, and DTRT (bug 458)
3590 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3594 * BufferView_pimpl.h:
3595 * BufferView_pimpl.C: clean up resize() stuff,
3596 and unnecessary updateScreen()s
3598 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3602 * BufferView_pimpl.h:
3603 * BufferView_pimpl.C:
3606 * minibuffer.C: remove focus management of workarea,
3607 not needed. Use screen's greyOut()
3609 2002-06-17 Herbert Voss <voss@lyx.org>
3611 * converter.C: (convert) do not post a message, when converting
3612 fails, let the calling function decide what to do in this case
3614 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3616 * lyxfunc.C: tidy up a little
3618 2002-06-16 <alstrup@diku.dk>
3620 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3621 Got rid of FORMS_H_LOCATION include. Now we are
3624 2002-06-15 LyX Development team <lyx@rilke>
3626 * buffer.[Ch] (sgmlOpenTag):
3627 (sgmlCloseTag): Added support for avoiding pernicious mixed
3628 content. Return number of lines written.
3631 (makeDocBookFile): Fixed calls to sgml*Tag.
3632 Simple white space clean.
3634 (simpleDocBookOnePar): Simple white space clean.
3636 * tabular.[Ch] (docBook): Renamed to docbook and got another
3637 argument to related with the pernicious mixed content.
3639 (docbookRow): Fixed calls for docbook inset method.
3641 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3643 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3644 so it's X11 independent.
3648 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3650 2002-06-15 Lyx Development team <lyx@electronia>
3652 * intl.h: Renamed getTrans to getTransManager.
3654 2002-06-14 Angus Leeming <leeming@lyx.org>
3656 * Makefile.am: nuke forgotten stl_string_fwd.h.
3658 2002-06-12 Angus Leeming <leeming@lyx.org>
3660 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3662 2002-06-13 Angus Leeming <leeming@lyx.org>
3665 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3667 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3669 * kbmap.C (getiso): add support for cyrillic and greek
3671 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3675 * BufferView_pimpl.h:
3676 * BufferView_pimpl.C: move bogus scrolling logic
3679 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3682 * BufferView_pimpl.C: view->resize() change
3684 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3686 * BufferView_pimpl.C: topCursorVisible
3689 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3693 * lyx_gui.C: move to frontends/
3697 * lyx_main.C: changes from above
3699 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3706 * lyx_main.C: minor tidy
3708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3710 * BufferView_pimpl.h:
3711 * BufferView_pimpl.C:
3713 * BufferView.C: make painter() const,
3716 * BufferView2.C: use screen() accessor
3719 * lyx_main.C: some minor cleanup
3721 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3723 * BufferView_pimpl.h:
3724 * BufferView_pimpl.C: remove enter/leaveView,
3727 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3732 * BufferView_pimpl.h:
3733 * BufferView_pimpl.C: only construct screen once,
3736 * lyxrc.C: remove pointless comment
3738 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3741 * BufferView.C: remove active() and belowMouse()
3743 * BufferView_pimpl.h:
3744 * BufferView_pimpl.C: use workarea() not workarea_,
3745 and make it use a scoped_ptr instead
3747 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3749 * lyx_gui.C: add debug message on BadWindow
3751 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3753 * sp_spell.C: fdopen is not part of the C++ standard.
3755 * paragraph.C (InsetIterator): use >= instead of ==
3757 2002-06-07 Angus Leeming <leeming@lyx.org>
3759 Fixes needed to compile with Compaq cxx 6.5.
3760 * BufferView_pimpl.C:
3767 * lyxtextclasslist.C:
3772 all c-library variables have been moved into namespace std. Wrap
3773 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3778 Add a using std::abs declaration.
3780 * kbmap.h (modifier_pair):
3781 * paragraph.h (InsetTable, InsetList):
3782 * lyxfont.h (FontBits):
3783 type definition made public.
3785 * bufferlist.C (emergencyWriteAll): the compiler complains that
3786 there is more than one possible lyx::class_fun template to choose from.
3787 I re-named the void specialisation as lyx::void_class_fun.
3789 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3791 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3792 the compiler is is unable to find tostr in write_attribute.
3794 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * buffer.C (sgmlError): hide #warning
3798 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3800 * xtl/*: get rid of xtl, which is not in use anyway
3802 * LyXAction.C (init):
3803 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3804 were unimplemented xtl experimentation
3806 2002-06-04 André Pönitz <poenitz@gmx.net>
3808 * lyxfunc.C: disable array operation on simple formulae
3810 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3812 * converter.C: constify a bit
3814 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3816 * lyx_gui.C: check xforms version correctly
3818 2002-04-30 Herbert Voss <voss@lyx.org>
3820 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3823 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3825 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3826 attempt to register it with a VCS)
3828 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3830 * lyx_main.C (init): honor variables LYX_DIR_13x and
3833 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3837 * lyx_main.C: fix a crash on bad command line,
3838 and give a useful exit status on error
3840 * lyxfunc.C (doImport): allow -i lyx to work
3842 2002-03-30 André Pönitz <poenitz@gmx.net>
3844 * lyxfunc.C: mathed font changes
3846 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3861 * trans_mgr.h: srcdocs, and some minor cleanups
3863 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3865 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3866 call getFont all the time)
3868 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3870 * switch from SigC signals to boost::signals
3872 2002-05-29 André Pönitz <poenitz@gmx.net>
3874 * paragraph_pimpl.C (getChar): don't call size() too often...
3876 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3878 * paragraph_pimpl.C (insertChar): do not try to update tables when
3879 appending (pos == size())
3881 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3882 in order to reduce drastically the number of comparisons needed to
3883 parse a large document
3885 2002-05-29 André Pönitz <poenitz@gmx.net>
3891 * textclasslist.[Ch]:
3892 * sp_ispell.h: whitespace change
3894 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3896 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3897 lyxaction directly now.
3899 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3903 * lyxvc.C: remove unused headers
3905 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3912 * undo_funcs.C: some cleanups. Use shared_ptr
3913 and a template for the undo stacks.
3915 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3917 * BufferView_pimpl.h:
3918 * BufferView_pimpl.C:
3925 * text2.C: use key_state/mouse_state
3927 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3929 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3932 * chset.C: change include order
3933 (loadFile): use boost regex and get rid of LRegex and LSubstring
3935 * Makefile.am (BOOST_LIBS): new variable
3938 * LaTeX.C: change include order.
3939 (scanAuxFile): use boost regex and get rid of LRegex and
3943 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3948 * FontInfo.C: moved to frontends/xforms/
3951 * FontLoader.C: moved into frontends for GUIIzation
3956 * lyxfunc.C: changes from above
3958 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3960 * LColor.C: remove spurious X include
3962 * BufferView_pimpl.C:
3967 * text2.C: move font metrics to frontends/
3969 2002-05-24 Juergen Vigna <jug@sad.it>
3971 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3972 setting the undo_cursor.
3974 * ParagraphParameters.h: include local includes first.
3976 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3978 * BufferView_pimpl.C:
3979 * BufferView_pimpl.h:
3983 * screen.C: move WorkArea into frontends/
3989 * BufferView2.C: move LyXScreen into frontends/
3993 * lyx_gui.C: move lyxlookup into frontends/xforms/
3995 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3998 * BufferView_pimpl.C:
4008 * bufferview_funcs.C:
4021 * vc-backend.C: move LyX/XFormsView into frontends/
4023 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4035 * text2.C: move Painter to frontends/
4037 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4039 * buffer.C: comment out some some code that depend upon lyx_format
4042 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
4043 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
4045 * buffer.h (NO_COMPABILITY): turn off compability
4047 * ColorHandler.C: include scoped_array.hpp
4049 * font.C: Use more specific smart_ptr header.
4052 * ShareContainer.h: ditto
4056 * BufferView_pimpl.h: ditto
4057 * ColorHandler.h: ditto
4059 * kbmap.C (defkey): change call to shared_ptr::reset
4061 2002-05-21 Juergen Vigna <jug@sad.it>
4063 * buffer.C (insertErtContents): fix to insert ert asis if it is
4064 non empty. Skip it completely if it contains only whitespaces.
4066 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4068 * BufferView_pimpl.C:
4069 * BufferView2.C: clear selection on paste (bug 393)
4071 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4073 * DepTable.C: include ctime
4075 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4077 * buffer.C (latexParagraphs): Add new argument (moving_arg).
4079 2002-05-14 Juergen Vigna <jug@sad.it>
4081 * text.C (breakParagraph): fixed function to honor the keepempty
4082 layout in the right maner and also to permit the right breaking
4083 algorithm on empty or non empyt keepempty paragraphs.
4085 * paragraph.C (breakParagraph): we have to check also if the par
4086 is really empty (!size()) for isempty otherwise we do the wrong
4089 2002-05-10 Juergen Vigna <jug@sad.it>
4091 * buffer.[Ch] : The following are only changes to the ert
4092 compatibility read reading old LaTeX layout and font stuff and
4093 convert it to ERTInsets.
4095 * buffer.h: added isErtInset().
4097 * buffer.C (struct ErtComp): add a fromlayout bool to check
4098 if we're inside a LaTeX layout.
4099 (isErtInset): new helper function.
4100 (insertErtContents): look for other ert insets before this one
4101 and insert the contents there, so that we don't have subsequent
4102 ERT insets with nothing between them. This way we create only one
4103 inset with multiple paragraphs. Also check if we don't insert only
4104 spaces ' ' as they are ignored anyway afterwards in the .tex file
4105 so if we have only spaces we will ignore this latex part in the
4107 (parseSingleLyXformat2Token \\layout): better compatibility when
4108 reading layout-latex stuff.
4109 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
4111 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
4112 stuff after reading the inset only get the information back from
4115 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
4117 * buffer.C (makeLaTeXFile): Put language options after loading babel.
4119 * LaTeXFeatures.C (getBabelOptions): New method.
4121 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4123 * BufferView_pimpl.C (Dispatch): work around missing argument for
4126 2002-05-08 Juergen Vigna <jug@sad.it>
4128 * text.C (leftMargin): handle paragraph leftindent.
4130 * paragraph.C (writeFile): write the new \\leftindent tag.
4131 (validate): handle leftindent code.
4132 (TeXEnvironment): handle paragraphleftindent code again.
4134 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
4136 * buffer.C (parseSingleLyXformat2Token): added compatibility code
4137 for paragrap_extra indent code and new token \\leftindent.
4138 (latexParagraphs): handle the leftindent as environment.
4140 * ParameterStruct.h: added leftindent support.
4142 * ParagraphParameters.C (leftIndent): added support functions for
4143 the paragraph left indent.
4145 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
4148 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4150 * paragraph.C (isRightToLeftPar): Return false for a paragraph
4153 * text.C (computeBidiTables): No bidi in insetERT.
4155 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
4158 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4160 * version.C.in: pre 5
4162 2002-05-02 José Matos <jamatos@fep.up.pt>
4163 * buffer.C (makeDocBookFile): white space changes, add newline to
4165 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
4167 * tabular.C (docBook): fix typo.
4169 2002-05-03 Juergen Vigna <jug@sad.it>
4171 * screen.C (drawFromTo): recalculate the rowpointer if we had a
4172 change in LyXText as we can not be sure it was not freed.
4173 (drawOneRow): remove unused code.
4175 * text.C (drawInset): redo the calculation of the need_break_row as
4176 it could have a row which was already freed.
4177 (draw): look at the return value of drawInset and return false if
4178 it also returned false.
4179 (paintRowText): look at the return value of draw and return false if
4180 it also returned false.
4182 * lyxtext.h: added bool return type to drawInset() and draw() so that
4183 if we have a change in the row so that the rowbreak has to be redone
4184 we abort drawing as it will be called again.
4186 2002-05-02 Juergen Vigna <jug@sad.it>
4188 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
4189 a change in the maintext also if we're inside an inset.
4190 (Dispatch): set the cursor again after a break line and after the
4191 screen has been updated as it could be we're in a different row.
4193 * text2.C (fixCursorAfterDelete): check to make sure we don't request
4194 to set the cursor behind the pargraph with > size().
4195 (setCursor): check also for the same paragraph when checking where
4196 to put the cursor if we have a NFR inset.
4198 * buffer.C (parseSingleLyXformat2Token): move the compatibility
4199 parts of layout read further up as it still was in the wrong
4202 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4204 * screen.C (drawFromTo): change sine fullRebreak always return
4207 * buffer.C (parseSingleLyXformat2Token): reindent some
4209 * BufferView_pimpl.C (update): change since fullRebreak always
4211 (Dispatch): git rid of the last hardcoded "Standard"s.
4213 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4215 * text2.[Ch] (fullRebreak): make it return void now that we always
4218 2002-04-30 Juergen Vigna <jug@sad.it>
4220 * buffer.C (parseSingleLyXformat2Token): reset the font before the
4221 ert compatibility check for "latex" layout.
4223 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
4225 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
4226 minipages: use col% instead of p%, and also use the current font.
4227 (makeLaTeXFile): Fix use babel condition.
4228 (parseSingleLyXformat2Token): Correct font when reading old floats.
4230 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4232 * BufferView_pimpl.C (Dispatch): Check that float type exists when
4233 inserting list of floats.
4235 2002-04-25 Herbert Voss <voss@lyx.org>
4237 * MenuBackend.C (expand): don't add the graphics extensions to the
4240 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4242 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4243 non-existing layout, do not complain if it was the default layout
4244 of the original class (bug #342)
4246 2002-04-24 Juergen Vigna <jug@sad.it>
4248 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4249 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4251 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4253 * buffer.C (getBibkeyList): If using \bibliography, return the
4254 option field with the reference itself. Enables us to provide natbib
4255 support when using \bibliography.
4257 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4259 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4261 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4262 natbib is provided by the LaTeX class.
4264 2002-04-23 Juergen Vigna <jug@sad.it>
4266 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4269 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4271 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4273 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4275 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4276 ensuremath around textordmasculine, textordfeminine and
4279 2002-04-19 Juergen Vigna <jug@sad.it>
4281 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4282 reinitializing the buffer otherwise row-dimensions may be wrong.
4283 (update): reset also the selection cursors if they do exits otherwise
4284 their x/y positions may be wrong.
4286 * text2.C (cursorDown): don't enter the inset if we came from a row
4287 above and are one row over the inset.
4289 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4290 really leaving an inset.
4292 2002-04-18 Juergen Vigna <jug@sad.it>
4294 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4295 of the selected paragraph does not have the selected layout also if
4298 * text2.C (setLayout): fixed bug which did not change last selected
4301 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4302 changed the read and substituted \\end_float with \\end_inset!
4304 * BufferView_pimpl.C (cursorPrevious):
4305 (cursorNext): fixed to make it work with rows heigher than the work
4306 area without moving the cursor only the draw of the row.
4307 (workAreaMotionNotify): fix jumping over high rows.
4309 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4311 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4314 2002-04-16 Juergen Vigna <jug@sad.it>
4316 * text2.C (setCursor): set also the irow().
4317 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4319 (cursorDown): support for locking an inset if the x_fix value goes
4320 inside it. That way I can transverse insets too with cursor up/down.
4322 * lyxrow.h: added irow helper function same as other (i) functions.
4324 * BufferView_pimpl.C (cursorPrevious):
4325 (cursorNext): fixed for insets!
4327 2002-04-15 Juergen Vigna <jug@sad.it>
4329 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4330 position otherwise it is wrong in some cases.
4332 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4333 inside the inset before the call.
4335 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4337 * buffer.[Ch] (getBibkeyList): make it const.
4339 2002-04-12 Juergen Vigna <jug@sad.it>
4341 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4343 * text2.C (getCursorX): new helper function
4344 (setCursor): compute also ix_
4345 (setCursorFromCoordinates): set also ix.
4347 * lyxcursor.h: added ix_ and helper functions.
4349 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4351 * buffer.C (insertStringAsLines): dont break paragraph if the this
4352 paragraph is inside an inset which does not permit it!
4354 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4355 also with no chars on this paragraph.
4356 (paintRowText): only paint stuff if it's inside the workarea!
4358 * paragraph.C (breakParagraph): honor keepempty flag and break the
4359 paragraph always below not above.
4361 * BufferView2.C (unlockInset): update the paragraph layout on inset
4362 unlock as we changed paragraph in such a case.
4364 * lyxfind.C (LyXFind): clear the former selection if not found!
4366 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4367 again called in insertChar().
4369 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4370 an inset which uses the whole row!
4371 (rightMargin): ditto.
4372 (insertChar): force a rebreak if we inserted an inset!
4374 2002-03-28 Herbert Voss <voss@lyx.org>
4376 * lyxlength.[Ch]: add inBP() to get the right PS-point
4377 units (BigPoint). With inPixels we have rounding errors
4379 2002-04-11 Juergen Vigna <jug@sad.it>
4381 * text2.C (setCursorFromCoordinates): set iy to the right value.
4382 (setCursor): add check if row->previous exists!
4384 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4385 an old float_type as this was the case in the old code!
4387 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4389 * BufferView2.C (showLockedInsetCursor): use iy
4390 (fitLockedInsetCursor): ditto
4392 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4393 locked insets as there we have the right value now.
4395 * lyxcursor.C: added iy_ variable and iy functions to set to the
4396 baseline of cursor-y of the locked inset.
4398 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4399 (setCursor): fixed for insets which need a full row.
4401 * text.C (rowLastPrintable): don't ignore the last space when before
4402 an inset which needs a full row.
4403 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4404 as last character of a row when before a inset which needs a full row.
4406 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4408 * version.C.in: update date
4410 * text2.C (fullRebreak): try to always return true and see what
4413 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4415 * MenuBackend.C (expand): use Floating::listName
4417 * FloatList.C (FloatList): add listName argument to the built-in
4420 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4421 text associated with the float.
4423 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4425 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4427 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4429 * ShareContainer.h: add a couple of missing typenames.
4431 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4433 * lyxrc.C (getDescription): use _() correctly rather than N_().
4435 2002-03-28 Herbert Voss <voss@lyx.org>
4437 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4438 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4440 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4442 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4443 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4445 2002-03-29 Juergen Vigna <jug@sad.it>
4447 * lyxfunc.C (dispatch): add a missing fitCursor call.
4449 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4450 it was scrolled by a cursor move, so return the bool status.
4452 * BufferView.C (fitCursor): return the bool flag also to the outside
4453 world as this is needed.
4455 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4457 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4458 call the edit() as it is not needed (and wrong) IMO.
4459 (workAreaButtonPress): set the screen_first variable before evt.
4460 unlock the inset as this may change screen_first and then we have
4461 a wrong y position for the click!
4463 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4465 * MenuBackend.C (expand): another translation that I missed
4467 2002-03-28 Juergen Vigna <jug@sad.it>
4469 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4471 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4473 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4475 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4477 * MenuBackend.C (expand): fix export/view/update when there is no
4480 2002-03-27 Herbert Voss <voss@lyx.org>
4482 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4485 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4487 * bufferview_funcs.C (currentState): only show paragraph number
4488 for is DEVEL_VERSION is set.
4490 * lyxfunc.C (dispatch): put warning in INFO channel
4492 * MenuBackend.C (expand): translate the name of floats
4494 * FloatList.C (FloatList): mark the float names for translation
4496 * converter.C (convert): use LibScriptSearch
4498 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4500 * MenuBackend.C (defaults): fix default menu (we might as well get
4503 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4505 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4508 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4510 * lyxvc.C: reorder includes.
4512 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4514 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4517 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4519 * CutAndPaste.C: change layouts earlier on paste
4520 to avoid crashing when calling getFont()
4522 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4524 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4527 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4529 * WorkArea.C: remove 'Pending' debug message.
4531 * most files: ws cleanup
4533 * buffer.[Ch]: ws changes
4535 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4537 2002-03-21 Juergen Vigna <jug@sad.it>
4539 * tabular.C (SetMultiColumn): collapse also the contents of the
4540 cells and set the last border right. Added a Buffer const * param.
4542 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4544 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4547 2002-03-19 Juergen Vigna <jug@sad.it>
4549 * text2.C (clearSelection): reset also xsel_cache.
4551 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4552 where it needs to be called (John tells us to do so too :)
4553 (selectionLost): reset sel_cache.
4555 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4557 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4559 * text2.C (setCursorIntern): put debuging code in INSETS channel
4561 2002-03-19 André Pönitz <poenitz@gmx.net>
4563 * lyxfunc.C: tiny whitespace change
4565 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4567 * ToolbarDefaults.C (init):
4568 * LyXAction.C (init):
4570 * BufferView_pimpl.C (Dispatch):
4571 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4573 2002-03-19 Allan Rae <rae@lyx.org>
4575 * exporter.C (Export): removeAutoInsets before doing anything else.
4576 While I've just introduced a dependency on BufferView this really is
4577 the best place to clean the buffer otherwise you need to cleanup in
4578 a dozen places before calling export or cleanup in a dozen functions
4581 * converter.C (runLaTeX):
4582 (scanLog): Better handling of removeAutoInsets and screen updates.
4584 * lyxfunc.C (dispatch): small whitespace changes
4586 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4588 * WorkArea.C (C_WorkAreaEvent): return a value.
4589 (event_cb): return 1 if we handled the event, 0 otherwise.
4591 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4593 2002-03-18 Juergen Vigna <jug@sad.it>
4595 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4596 (GetAdditionalWidth): ditto.
4600 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4601 inset if we're there actually (probably not used right now but this
4602 is the direction to go for unifying code).
4603 (paste): disable code to clear the selection.
4605 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4606 inside an InsetText and move the check further up as it is in the
4609 * text2.C (pasteSelection): set a selection over the pasted text.
4611 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4613 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4614 and libgraphics to build on Cygwin.
4616 2002-03-15 Juergen Vigna <jug@sad.it>
4618 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4619 inserting an Inset into the paragraph. I know this is not the best
4620 fix but we already use current_view in CutAndPaste so we will remove
4621 all of it's using at the same time.
4623 * buffer.C (sgmlError): deactivated function till it is rewritten in
4624 the right mode, now it can create problems.
4626 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4627 before accessing it.
4629 2002-03-14 Juergen Vigna <jug@sad.it>
4631 * undo_funcs.C (textHandleUndo): do the right thing when updating
4632 the inset after the undo/redo.
4634 * text2.C (setCursor): just some testcode for #44 not ready yet.
4636 * undo_funcs.C (textHandleUndo): set the next() and previous()
4637 pointers of the paragraph to 0 before deleting otherwise we have
4638 problems with the Paragraph::[destructor].
4640 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4641 on a paragraph insertion.
4643 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4645 * buffer.C (asciiParagraph): use += operator for char append to
4648 * paragraph.C (getFontSettings): compare >= not just >
4649 (highestFontInRange): ditto
4652 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4654 * paragraph.C: change several algorithm to be more appripriate for
4655 the problem domain. This is lookip in FontList and in the InsetList.
4657 2002-03-13 André Pönitz <poenitz@gmx.net>
4660 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4662 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4667 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4669 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4671 * Painter.C (display): anon helper function, adjust code for this
4673 (pixmap): remove function.
4675 * Painter.h: remove private display variable.
4677 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4679 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4681 * WorkArea.[Ch]: remove figinset_canvas cruft.
4683 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4685 * lyxtextclass.C (operator): add one item cache optimization.
4687 * bufferlist.h: doxy changes
4689 * bufferlist.C: ws changes
4691 * DepTable.[Ch] (ext_exist): place const in the right spot.
4693 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4695 (workAreaExpose): call resizeInsets when the with BufferView changes.
4696 (Dispatch): adjust for protectedBlank removal
4697 (specialChar): call updateInset if the insert went ok.
4699 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4700 specialChar instead.
4702 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4704 * BufferView.h: doxy change
4706 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4708 * lyxtextclass.C (operator[]): remove non-const version
4709 (defaultLayout): remove non-const version
4711 2002-03-12 Juergen Vigna <jug@sad.it>
4713 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4714 did resize the LyXText too.
4716 * buffer.C (readLyXformat2): set layout information on newly allocated
4719 * tabular.C (OldFormatRead): set layout information on the paragraph.
4721 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4723 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4725 2002-03-11 Juergen Vigna <jug@sad.it>
4727 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4729 (resizeCurrentBuffer): force also the insets to resize themselfes.
4730 (moveCursorUpdate): fixed up for InsetText.
4732 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4735 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4736 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4737 value of Dialogs::tooltipsEnabled().
4738 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4740 2002-03-08 Juergen Vigna <jug@sad.it>
4742 * BufferView_pimpl.C (updateInset): update inset inside inset also
4743 if it isn't inside theLockingInset().
4745 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4747 * buffer.C (asciiParagraph): redo some of the word and line length
4749 (getLists): look for Caption instead of caption.
4751 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4753 * buffer.C (Buffer): initialize niceFile to true
4756 (makeDocBookFile): make sure niceFile is true on exit
4758 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4760 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4762 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4764 * LyXSendto.C: remove.
4765 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4766 * lyx_gui.C: remove now-redundant comment.
4767 * ColorHandler.h: remove forward declaration of class WorkArea.
4768 * lyxfunc.C: remove #include "WorkArea.h".
4770 2002-03-07 Juergen Vigna <jug@sad.it>
4772 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4773 got moved away with the DEPM and also set the inset_owner always
4774 right which before could have been omitted.
4776 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4778 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4779 wanted layout is not found.
4781 2002-03-07 Juergen Vigna <jug@sad.it>
4783 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4785 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4787 * paragraph.C (breakParagraph): use default layout not layout of
4789 (Paragraph): clear ParagraphParameters.
4791 2002-03-06 Juergen Vigna <jug@sad.it>
4793 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4794 otherwise it would not be a valid lenght. Fixed a special case in
4795 the minipage compatibility read where we end the document with a
4798 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4799 was set as it could be 0 for InsetTexts first entry.
4801 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4803 * paragraph.C (writeFile): if layout is empty write out
4804 defaultLayoutName().
4806 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4807 file without named layout we set layout to defaultLayoutName().
4809 2002-03-06 Juergen Vigna <jug@sad.it>
4811 * CutAndPaste.C (copySelection): set layout for new paragraph.
4813 * text.C (prepareToPrint): leave ERT inset left aligned
4814 (leftMargin): don't indent paragraphs inside ERT insets
4816 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4818 * paragraph.C (breakParagraph): dont call clear do the work manually
4820 * paragraph.[Ch] (clear): remove function
4822 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4824 * paragraph.C (Paragraph): dont call clear, the work has already
4827 * lyxtextclass.C (operator): assert if n is empty
4829 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4830 work manually instead.
4832 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4834 * BufferView_pimpl.C: protect selectionLost against text == 0
4836 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4838 * text.C (breakParagraph): fix a setting layout to '0' problem.
4840 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4842 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4843 final location of file, for the included files, and graphics.
4845 2002-03-05 Juergen Vigna <jug@sad.it>
4847 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4849 2002-03-04 Juergen Vigna <jug@sad.it>
4851 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4853 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4854 last column of multicolumn cells.
4855 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4857 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4859 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4860 file if it doesn't go to a temporary file.
4862 * buffer.C (sgmlOpenTag):
4863 (sgmlCloseTag): remove extra newline insertion.
4865 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4867 * text.C (getRowNearY): comment out debug msg
4869 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4871 * text2.C: first -> first_y
4873 * text.C (getRowNearY): add some attemts at a possible
4874 optimization, not working.
4876 * tabular.[Ch]: add BufferParams to several function so that newly
4877 created paragraph can be initialized to he default layotu for the
4880 * tabular-old.C (ReadOld): add buf->params to call of Init
4882 * screen.C: rename text->first to text->first_y
4884 * paragraph.C (breakParagraph): always set layout in the broken
4887 * lyxtextclass.C (Read): remove lowercase
4890 (delete_layout): ditto
4892 * lyxtext.h: rename first -> first_y
4894 * lyxlayout.C (Read): remove lowercase
4897 (obsoleted_by): ditto
4899 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4901 * buffer.C (insertErtContents): add params are to InsetERT
4902 (parseSingleLyXformat2Token): add code to check if a paragraphs
4903 layout really exist.
4904 (parseSingleLyXformat2Token): add params to several inset
4906 (asciiParagraph): remove lowercase, do the layout comparisons with
4909 * BufferView_pimpl.C (cursorNext): first -> first_y
4910 (resizeCurrentBuffer): first -> first_y
4911 (updateScrollbar): first -> first_y
4912 (scrollCB): first -> first_y
4913 (workAreaMotionNotify): first -> first_y
4914 (workAreaButtonPress): first -> first_y
4915 (checkInsetHit): first -> first_y
4916 (cursorPrevious): first -> first_y
4917 (cursorNext): first -> first_y
4918 (Dispatch): add buffer_->params to severl inset contructors
4920 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4922 * lyxlayout.C (Read): remove some debug info that I forgot.
4924 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4925 clean up the code slightly.
4926 (makeLinuxDocFile): ditto
4927 (makeDocBookFile): ditto
4929 * text2.C: layout as string
4931 * text.C: layout as string
4933 * paragraph_pimpl.C: layout as string
4935 * paragraph.[Ch]: layout as string
4937 * lyxtextclasslist.[Ch]: layout as string
4939 * lyxtextclass.[Ch]: layout as string
4941 * lyxtext.h: layout as string
4943 * lyxlayout.[Ch]: layout as string
4945 * lyx_cb.C: layout as string
4947 * bufferview_funcs.C: layout as string
4949 * bufferparams.C: layout as string
4951 * buffer.C: layout as string
4953 * LyXView.[Ch]: layout as string
4955 * LaTeXFeatures.[Ch]: layout as string
4957 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4959 * BufferView_pimpl.C: change current_layout to string, remove
4964 (workAreaButtonRelease): layout as string
4966 * BufferView2.C (unlockInset): adjust
4968 * vspace.C (asLatexCommand): use an explict temp variable.
4970 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4972 * Makefile.am: use FRONTEND_*
4974 2002-03-01 Juergen Vigna <jug@sad.it>
4976 * tabular.C (SetWidthOfMulticolCell): changed to something better
4977 I hope but still work in progress.
4978 (recalculateMulticolumnsOfColumn): renamed function from
4979 recalculateMulticolCells as it is more appropriate now.
4980 (SetWidthOfCell): calculate multicols better.
4982 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4984 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4986 * lyxfunc.C (processKeySym): print sequence also if it is
4987 `deleted' (complete)
4989 * kbsequence.C (print): print sequence even if it is deleted
4990 (complete would be a better word, actually).
4992 * lyxfunc.C (dispatch): print complete options after a prefix key
4994 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4996 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4998 * text2.C (setCharFont): eliminate setCharFont code duplication.
5000 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5002 * BufferView_pimpl.C (Dispatch): remove bogus handling of
5003 LFUN_TABULAR_FEATURE (bug #177)
5005 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
5007 * Makefile.am: remove figure.h
5009 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
5011 * Bufferview_pimpl.C:
5023 * text2.C: remove #include "lyx_gui_misc.h".
5025 * LaTeX.C: added #include <cstdio>
5027 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5029 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
5030 that the paragraph following this one can have.
5032 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
5034 * vspace.C (asLatexCommand): fix bogus gcc warning
5036 * Makefile.am (lyx_SOURCES): remove vms_defines.h
5038 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
5040 * text2.C (setLayout): get rid of redundant code
5042 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
5044 * text2.C (incDepth): make sure depth cannot be increased beyond
5047 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
5049 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
5050 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
5052 * PainterBase.h (image):
5053 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
5056 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5060 * BufferView_pimpl.C:
5061 * BufferView_pimpl.h:
5081 * sp_spell.C: remove fig inset, and the crap house of
5082 cards that follows it
5084 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
5090 * nt_defines.h: move .h into support/
5092 * vms_defines.h: remove
5094 * WorkArea.C: add space in debug output
5098 * buffer.C: add WITH_WARNINGS
5102 * bufferlist.C: s/retrive/retrieve/, add docs
5113 * lyxgui.C: add ID to X error handler
5115 * lyxtestclass.c: fix typo
5117 2002-02-26 Juergen Vigna <jug@sad.it>
5119 * tabular_funcs.C (write_attribute): changed so that some default
5120 attributes are not written at all.
5121 (getTokenValue): set default values before trying to read the
5122 value so we have the return value always set as default if we don't
5123 find the token we search for.
5125 * tabular.C (Write): write bools as bools not as strings!
5127 2002-02-22 Juergen Vigna <jug@sad.it>
5129 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
5130 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
5132 * text.C (leftMargin): don't add an indent for paragraphs inside
5133 tabular cells (fix #208).
5135 2002-02-21 José Matos <jamatos@fep.up.pt>
5137 * tabular.C (docBook): fixed support for long tables.
5139 2002-02-20 Juergen Vigna <jug@sad.it>
5141 * text2.C (getFont): get the drawing font of the Inset if this
5142 paragraph is inside an inset (only important for InsetERT for now).
5144 * buffer.C (insertErtContents): use new lanugage params in ERT
5147 * CutAndPaste.C: commenting out seemingly uneeded code.
5149 2002-02-19 Allan Rae <rae@lyx.org>
5151 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
5152 Iterators might be simple to use but they also get invalidated.
5153 (removeAutoInsets): renamed saved cursor tracking variables and added
5154 some comments to clarify what everything does.
5156 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
5163 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
5164 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
5167 * vc-backend.h: remove #include "support/syscall.h"
5171 * converter.C: rearrange #includes in Lars' approved fashion.
5173 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
5174 forward declare class Timeout in the header file.
5176 * XFormsView.C: changes due to the above.
5178 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
5181 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
5182 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
5184 2002-02-18 José Matos <jamatos@fep.up.pt>
5186 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
5189 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5191 * a lot of small ws changes
5192 * add a lot of using std::XXX
5193 * use std construcs some places where approp.
5194 * use some exisint stuff from lyxfunctional where approp.
5195 * Make file changes to use partial linking (lets test this now...)
5197 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5201 remove #include "support/syscontr.h" as it's redundant. Always has been.
5209 change Systemcalls::System to Systemcalls::Wait and
5210 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
5211 No change of functionality, just reflects the stripped down Systemcalls
5214 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
5216 * debug.[Ch]: add a GRAPHICS type to the enum.
5218 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5220 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
5222 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
5225 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5227 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
5228 match the changes below.
5230 * text2.C (toggleInset): if there is not editable inset at cursor
5231 position, try to see if cursor is _inside_ a collapsable inset
5234 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5236 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5237 document menu has a nice checkbox
5239 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5241 * lyxlength.C (asLatexString): change PW to output as percent of
5244 * lengthcommon.C: change '%' to 't%'
5246 * lyxfunc.C (dispatch): a few comments from Martin
5248 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5252 * BufferView_pimpl.h:
5253 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5256 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5258 * vspace.C (inPixels): fix compiler warning
5260 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5262 * lyxfunc.C (getStatus): fix status message for disabled commands.
5264 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5266 * BufferView_pimpl.C: fix crash on close buffer
5267 during selection (#227)
5269 2002-01-27 Herbert Voss <voss@lyx.org>
5271 * buffer.C: link old Figure to new graphic inset
5273 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5275 * FontLoader.C (getFontinfo): Change the latex font names in order
5276 to match the names of type1inst.
5278 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5280 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5282 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5285 (remove_files_with_extension): ditto
5286 (remove_file): ditto
5289 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5290 document is smaller than the work area height. Do not initialize
5291 static variables to 0.
5293 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5295 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5297 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5298 LFUN_LAYOUT_PARAGRAPHS.
5300 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5301 tabular. It is possible to provide a possible cell, which will
5302 typically be the actcell from the corresponding insettabular
5304 * lyxfunc.C (getStatus): small cleanup; disable
5305 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5308 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5310 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5312 * paragraph.C (startTeXParParams):
5313 (endTeXParParams): new methods. The LaTeX code to
5314 start/end paragraph formatting
5315 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5316 empty (fixes bug #200)
5318 * vspace.C (inPixels): adapt to the change below
5319 (inPixels): [later] more cleanups (remove unused variables)
5321 * lyxlength.C (inPixels): change to use a width and a height as
5324 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5326 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5327 Replaced with \paperwidth
5329 * DepTable.C (insert): add std:: qualifier
5331 2002-01-18 Allan Rae <rae@lyx.org>
5333 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5336 * text.C (drawInset): Turned out I didn't know enough about how
5337 rebreaking worked. This fixes most of the redraw problems. I see
5338 an occasional cursor trail when a line is broken now and the cursor
5339 placement can seem out by a few pixels also after a rebreak.
5341 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * buffer.C (parseSingleLyXformat2Token): update because minipage
5344 width is now a LyXLength
5346 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5348 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5351 2002-01-17 Juergen Vigna <jug@sad.it>
5353 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5355 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5356 is set correctly and the inset is updated correctly.
5358 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5360 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5361 the beginning of the loop.
5363 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5365 * lyxrc.C: improve help for use_scalable_fonts
5367 2002-01-17 Allan Rae <rae@lyx.org>
5369 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5371 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5373 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5374 make sure to set their inset_owner to the right value (bug #171)
5376 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5379 * DepTable.C: Implement mtime checking to reduce time spent doing
5382 2002-01-16 Juergen Vigna <jug@sad.it>
5384 * tabular.C (GetAdditionalHeight): one of error fixed.
5386 * lyxrc.C (output): small fix in writing use_pspell.
5388 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5390 * sp_base.h: #include LString.h
5392 2002-01-16 Allan Rae <rae@lyx.org>
5394 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5395 Can someone check this please?
5397 * text.C (drawInset): It was possible that p.row would be removed by
5398 breakAgainOneRow upsetting a few other settings. There may be another
5399 small tweak possible by setting need_break_row = 0 when p.row has been
5400 removed but I don't know enough about the logic here.
5402 2002-01-15 Allan Rae <rae@lyx.org>
5404 * text.C (insertChar): removed conditional truism.
5406 * BufferView2.C (removeAutoInsets): More tweaks.
5407 cur_par_prev could be a stray pointer. Check for trailing empty line
5408 in case last line was cur_par and only had an error inset on it.
5410 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5415 * vc-backend.C (most methods):
5416 * exporter.C (Export):
5417 * converter.C (convert):
5419 * LyXSendto.C (SendtoApplyCB):
5420 * lyxfunc.C (dispatch):
5424 * lyx_cb.C (AutoSave):
5426 * BufferView_pimpl.C (MenuInsertLyXFile):
5427 * buffer.C (runChktex): use Buffer::filePath().
5429 * buffer.h: rename filename to filename_; rename filepath to
5430 filepath_ and make it private
5431 (filePath): new method
5433 * buffer.C (writeFile): use fileName()
5436 * lyx_main.C (init): fix starting of LyX when the binary is a
5437 link from so,ewhere else.
5439 * minibuffer.C: include <cctype> for isprint
5441 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5443 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5444 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5445 name clash with InsetCollapsable's width function.
5447 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5449 * lastfiles.C: include <iterator>
5451 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5453 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5456 * buffer.C (makeLaTeXFile): ditto.
5457 Also make loop operation more transparent.
5459 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5461 * ToolbarDefaults.C: remove trailing comma closing namespace.
5463 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5465 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5468 * trans.C (Load): comment out unused variable, allowed.
5470 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5472 * minibuffer.[Ch] (append_char): new method to recieve input from the
5473 drop-down completion browser. If a key was pressed, then recieve this
5474 char and append it to the existing string.
5475 (peek_event): modify the positioning data passed to the completion
5476 browser so that it can be placed above the minibuffer rather than below.
5477 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5479 * LyXAction.C (init): alloe error-next for readonly documents.
5481 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5484 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5486 * bufferlist.C (readFile): create the buffer _after_ checking that
5489 * lyxfunc.C (verboseDispatch): fix handling of arguments
5491 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5493 * lyxrc.C: use string::erase() instead of initializing to "".
5496 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5498 * BufferView_pimpl.h:
5499 * BufferView_pimpl.C:
5502 * text2.C: tell X when we have made a selection for copying
5504 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5506 * BufferView_pimpl.C (MenuInsertLyXFile):
5507 * lyxfunc.C (menuNew):
5509 (doImport): add shortcuts to directory buttons
5511 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5514 * lyxfunc.C (setStatusMessage):
5515 (getStatusMessage): new methods
5516 (getStatus):use setStatusMessage instead of setErrorMessage
5517 (dispatch): when function is disabled, set error message here
5518 [instead of in getStatus previously]
5520 * BufferView_pimpl.C (workAreaButtonRelease): update
5521 toolbar/menubar here too.
5523 2002-01-13 Allan Rae <rae@lyx.org>
5525 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5526 Now seems indestructible. Remaining task is to audit all other
5527 code affected by deleteEmptyParagraphMechanism. One small quirk
5528 left is that an empty document with an error in the preamble can
5529 be made to report an error but no error box appears. I don't know
5531 (removeAutoInsets): Improved comments.
5533 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5536 * Thesaurus.C: update for Aiksaurus 0.14
5538 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5540 * text2.C (firstParagraph): removed member function, all uses
5541 replaces with ownerParagraph
5542 (redoParagraphs): here
5544 (toggleAppendix): here
5545 * BufferView2.C (insertErrors): here
5546 (setCursorFromRow): here
5548 2002-01-13 Allan Rae <rae@lyx.org>
5550 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5551 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5552 There is still a way to segfault this although you may have to do this
5553 multiple times: Have an InsetERT with an unknown command in it.
5554 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5555 <down-arrow>, <Enter> again, View->DVI, BANG!
5557 * text2.C (setCursor):
5558 (deleteEmptyParagraphMechanism):
5559 * lyxtext.h (setCursor):
5560 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5561 Making use of the return value may help fix other bugs.
5563 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5565 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5567 * LyXView.C (updateMenubar): call MenuBar::update here
5568 (updateToolbar): but not here
5569 (showState): do not update toolbar/menubar
5571 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5572 should need to care about that.
5574 * lyxfunc.C (verboseDispatch): simplify a bit
5575 (getStatus): have a version which takes a pseudoaction, and
5576 another which requires a (kb_action,string).
5578 * LyXAction.C (retrieveActionArg): make it work also when action
5579 is not a pseudo-action.
5580 (getActionName): simplify a bit
5583 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5585 * lyxfunc.C (verboseDispatch): new families of methods with
5586 several ways to specify a command and a bool to indicate whether
5587 the command name and shortcut should be displayed in minibuffer
5588 (eventually, we could extend that to a finer bitmask like
5589 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5590 (dispatch): the pristine dispatch command which just, well,
5591 dispatchs! Note it still sets its result to minibuffer; I'm not
5594 * lyxfunc.h: remove setHintMessage
5596 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5598 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5600 * BufferView_pimpl.C (specialChar): delete new inset if we have
5601 not been able to insert it.
5603 * kbmap.C: revert to using int instead of kb_action, since all we
5604 are dealing with is pseudo-actions.
5606 * LyXAction.C (searchActionArg): change to return int instead of
5607 kb_action, since the result is a pseudoaction.
5609 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5611 * buffer.C (insertErtContents): Fix (partially) the font bug.
5613 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5615 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5616 as the other one is broken on my machine!
5618 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5621 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5623 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5625 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5626 reflect their actual use. Provide compatibility code for older lyxrc
5629 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5631 change names of popup font variables in line with the changes to lyxrc.C
5633 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5635 * buffer.C (asciiParagraph): avoid outputing a word twice after
5638 * lyxrc.C (getDescription): document that document_path and
5639 template_path can be empty.
5641 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5643 * LaTeXFeatures.C (getMacros):
5644 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5646 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5648 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5650 (getPackages): rename feature "floats" to "float". Use an array to
5651 iterate over 'simple' features (i.e. just a \usepackage). Add
5652 handling of "amsmath" (renamed from "amsstyle").
5654 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5656 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5659 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5661 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5662 FuncStaus::FuncStatus & FuncStaus::some_method().
5664 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5666 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5667 of the func_satus stuff. Edited and massaged in various ways by
5670 * lyxfunc.C (getStatus): use FuncStatus
5672 2002-01-08 Juergen Vigna <jug@sad.it>
5674 * text.C (nextBreakPoint): use function Inset::isChar().
5676 * paragraph.C (TeXOnePar): use function
5677 Inset::forceDefaultParagraphs.
5679 * buffer.C (latexParagraphs): use function
5680 Inset::forceDefaultParagraphs.
5682 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5684 * lyx_gui.C (init): set the style of the menu popups to
5685 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5687 2002-01-07 Juergen Vigna <jug@sad.it>
5689 * text.C (setHeightOfRow): small fix
5690 (prepareToPrint): don't look at alignment if we don't have the place
5693 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5695 * box.C: New file. Move the Box methods and functions out of box.h,
5696 following Lars' suggestion.
5698 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5700 * box.h: #include "support/LOstream.h", needed for inlined function.
5703 * lyxtextclasslist.C: added some using std declarations.
5705 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5707 * box.h: make signed dimensions to allow insets wider than
5708 the screen (bug #162)
5710 * BufferView_pimpl.C: add some insetHit debug
5712 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5714 * vc-backend.C: add FIXME
5716 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5718 * lyxfunc.C (getStatus): enable code for showing math font status
5721 2002-01-07 Juergen Vigna <jug@sad.it>
5723 * text.C (nextBreakPoint): removed debug output not needed anymore.
5725 2002-01-06 Juergen Vigna <jug@sad.it>
5727 * text.C (nextBreakPoint): fixed up this function we had this bug
5728 since ever but now hopefully we break row better.
5729 (insertChar): we have to check if an inset is the next char as it
5730 could now happen that a large inset is causing a break.
5732 2002-01-05 Juergen Vigna <jug@sad.it>
5734 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5735 if it doesn't like to be drawed.
5737 2002-01-04 Juergen Vigna <jug@sad.it>
5739 * BufferView2.C (lockInset): forgot to set a cursor.
5741 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5743 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5748 * form_maths_panel.C:
5749 * form_maths_panel.h:
5750 * form_maths_panel.fd: implemented sub- and super- buttons in math
5753 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5754 (or ^ space) to be used as in TeX (req'd by André).
5756 * lyxfunc.C: Allow ^ and _ again to be used both as
5757 super/subscript (mathed) and as themselves (in text).
5759 2002-01-03 Allan Rae <rae@lyx.org>
5761 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5762 "LyX" or the filename of the current buffer if it has one. This is a
5763 modified form of John Levon's patch.
5765 * XFormsView.C (setWindowTitle): also set icon title.
5767 * LyXView.h (setWindowTitle): signature changed.
5768 * XFormsView.h (setWindowTitle): ditto.
5770 2002-01-02 Juergen Vigna <jug@sad.it>
5772 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5774 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5776 * screen.C (topCursorVisible): introduce a temp var for
5777 text->cursor.row(), handle the case where this row is null. (kindo
5780 * text2.C (setCursor): add a couple of asserts.
5782 * paragraph.h (inset_iterator): add -> operator
5784 * paragraph.[Ch] (autoDeleteInsets): remove member function
5786 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5787 cursor pos correctly and handle inset deletion by itself.
5788 (insertErrors): move iterator declaration out of for expression
5790 * lyxtextclass.C: add <algorithm>
5792 * Makefile.am: added the new files to sources, removed layout.C
5794 * layout.C: removed file
5796 * layout.h: remove LYX_DUMMY_LAYOUT
5798 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5802 * lyxtextclass.[Ch]:
5803 * lyxtextclasslist.[Ch]: new files
5805 * include order changes to a lot of files, also changes because of
5808 2001-12-27 Juergen Vigna <jug@sad.it>
5810 * buffer.C (asciiParagraph): more fixes.
5812 * tabular.C (ascii): make ascii export support export of only the
5813 data separated by a column-delimiter.
5814 (ascii): better support for ascii export.
5816 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5818 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5820 * tabular_funcs.C: use a "using std::getline" instead of the
5821 previous fix from Angus (necessary for cxx + lyxstring)
5823 2001-12-24 Juergen Vigna <jug@sad.it>
5825 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5827 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5828 problems. First check a minipage also if we have some ert-contents
5829 (not only on par->size(), second set the right depth of the paragraph
5830 on the relink to the root-paragraph-list!
5832 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5833 which then did not anymore update the main paragraphs on undo/redo!
5835 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5837 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5838 code. Support all font-changing funcs (even those which are not in
5839 menu currently). Support for reporting font settings in
5840 mathed (disabled until Andre provides a function on mathed's side).
5842 * func_status.h (toggle): small helper function to set toggle
5845 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5847 * tabular_funcs.C: getline -> std::getline
5849 2001-12-21 Juergen Vigna <jug@sad.it>
5851 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5852 accessed and could be 0 (I couldn't generate this but it seems
5855 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5857 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5858 * tabular_funcs.h: here and include iosfwd
5860 2001-12-20 Juergen Vigna <jug@sad.it>
5862 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5863 inside inset but undo_par was.
5865 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5867 * Thesaurus.C: always include <config.h> in sources.
5871 * box.h: do not include <config.h> in header files
5873 * text.C (paintLastRow): remove unused variable
5875 * text.C (transformChar):
5877 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5880 * font.C (width): rewrite to use uppercase() instead of
5883 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5885 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5887 * lyxfind.C: clean up of find failure position change
5889 2001-12-20 Juergen Vigna <jug@sad.it>
5891 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5893 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5894 (TeXRow): added to LaTeX a single tabular row.
5895 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5896 (Latex): simplified and finally good LT-h/f support.
5897 (various_functions): just small adaptions for LT-h/f support.
5899 * tabular_funcs.[hC]: added and moved here all not classfunctions
5902 2001-12-19 Juergen Vigna <jug@sad.it>
5904 * tabular.[Ch]: better support for longtabular options (not finished
5907 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5909 * text.C (paintLastRow): use the label font instead of the font of
5910 the last character to compute the size of *_BOX. This makes more
5911 sense and avoids a crash with empty paragraphs.
5912 Use Painter::rectangle to draw EMPTY_BOX.
5914 2001-12-19 Juergen Vigna <jug@sad.it>
5916 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5917 the paragraphs if the replaced paragraph is not the first one!
5918 Tried to delete not used paragraphs but does not work yet so for
5919 now it's inside #ifdef's and by default off!
5921 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5923 * MenuBackend.C: include "lyx_main.h" instead of declaring
5924 lastfiles (actually was declared as LastFiles* instead of a
5927 2001-12-17 Juergen Vigna <jug@sad.it>
5929 * tabular.C (AppendColumn): applied John's fix
5931 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5935 * BufferView_pimpl.h:
5936 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5939 * box.h: new start of class for above
5941 * lyxfunc.C: ignore space-only minibuffer dispatches.
5942 Show the command name when it doesn't exist
5944 * minibuffer.C: don't add empty lines to the history
5946 * minibuffer.C: add a space on dropdown completion
5948 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5950 * text.C: fix line above/below drawing in insets
5952 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5954 * lyxlength.C (LyXLength): Initialize private variables.
5956 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5958 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5959 when inserting error insets.
5961 2001-12-13 Juergen Vigna <jug@sad.it>
5963 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5964 actually sometimes the before-paragraph.
5965 (setUndo): don't clear the redostack if we're not actually undoing!
5967 2001-12-06 Juergen Vigna <jug@sad.it>
5969 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5970 and fixed redoing of main paragraph, so we can use it now ;)
5972 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5974 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5976 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5979 2001-12-13 André Pönitz <poenitz@gmx.net>
5982 * undo_func.C: minor cleanup
5984 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5986 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5987 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5988 font in urw-fonts package which is marked as -urw-fontspecific and
5989 does not work (incidentally, changing the encoding in the
5990 fonts.dir of this package to -adobe-fontspecific fixes the
5993 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5994 is a crash when undoing first paragraph (Juergen, please take a
5995 look). THis does not mean the undo fix is wrong, just that it
5998 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5999 the (Paragraph*) version when needed instead of duplicating the
6002 * text.C (workWidth): use Inset::parOwner to find out where the
6003 inset has been inserted. This is a huge performance gain for large
6004 documents with lots of insets. If Inset::parOwner is not set, fall
6005 back on the brute force method
6007 * paragraph_pimpl.C (insertInset):
6008 * paragraph.C (Paragraph):
6009 (cutIntoMinibuffer): set parOwner of insets when
6010 inserting/removing them
6012 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6014 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
6020 * mathed/formulabase.C:
6021 * mathed/math_cursor.[Ch]:
6022 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
6025 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6027 * lyxlength.[Ch] (operator!=): new function
6029 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6031 * text.C (workWidth): use Inset::parOwner to find out where the
6032 inset has been inserted. This is a huge performance gain for large
6033 documents with lots of insets. If Inset::parOwner is not set, fall
6034 back on the brute force method
6036 * paragraph_pimpl.C (insertInset):
6037 * paragraph.C (Paragraph):
6038 (cutIntoMinibuffer): set parOwner of insets when
6039 inserting/removing them
6041 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
6043 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6045 * tabular-old.C (getTokenValue):
6046 * tabular.C (getTokenValue):
6047 (write_attribute): new versions for LyXLength
6048 (everywhere): adjust the use of widths
6050 * tabular.h: change the type of widths from string to LyXLength
6052 2001-12-11 Ben Stanley <bds02@uow.edu.au>
6054 * paragraph.C: fixed missing line number count when exporting
6055 Environments to LaTeX file
6057 * buffer.C: added informational message for checking line numbers.
6059 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6061 * text2.C (deleteEmptyParagraphMechanism): if there is only one
6062 paragraph, do the 'double space' part, but not the 'empty
6065 * text.C (workWidth): small optimization
6066 (getLengthMarkerHeight): use minimal size for negative lengths.
6068 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
6070 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
6072 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
6074 2001-12-11 André Pönitz <poenitz@gmx.net>
6077 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
6079 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6081 * text2.C: keep selection on a setFont()
6083 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6085 * lyx_cb.C: another bv->text misuse, from insert label
6087 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6090 * kbsequence.C: re-instate nmodifier mask
6092 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
6094 * lyx_main.h: make lyxGUI private.
6096 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
6098 * lyxfind.C: place the cursor correctly on failed search
6100 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6102 * text.C (getLengthMarkerHeight): for small heights, the arrows
6103 are not always on top/bottom of the text
6104 (drawLengthMarker): smaller arrows; take the left margin in
6105 account; draw also vfills.
6107 (paintLastRow): remove special code for vfill and standard spaces,
6108 since everything is handled in drawLengthMarker now.
6110 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6112 * buffer.C (insertErtContents): try to handle font and language
6113 interaction a bit better.g
6115 * ColorHandler.C (updateColor): change the hash to cover the whole
6116 LColor enum, ws cleanup
6117 (getGCLinepars): ditto
6118 (getGCLinepars): only lookup in the linecache once.
6120 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
6122 * iterators.C (operator++): Make the iterator more robust
6124 * BufferView2.C (removeAutoInsets): Use paragraph iterators
6126 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
6128 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6131 * text.C: better added space drawing
6133 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6136 * BufferView2.C: fix layout combo update on inset unlock
6138 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6140 * Makefile.am: don't compile unused files
6142 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6146 * LyXAction.C: remove old LFUN_LAYOUTNO
6148 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6150 * paragraph_pimpl.h:
6151 * paragraph_pimpl.C: isTextAt() doesn't need font param
6153 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6156 * lyxlex.C: little cleanup
6158 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
6160 * BufferView_pimpl.C: fix insertAscii for insets
6162 2001-12-05 Juergen Vigna <jug@sad.it>
6164 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
6165 set the right font on the "multi" paragraph paste!
6167 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6173 * lyxlength.C: remove out-commented code.
6189 * vc-backend.C: change "while(" to "while ("
6191 * lyxlength.[Ch]: add zero function to check if length is zero or
6193 * lyxgluelength.C: use it
6195 2001-12-05 Allan Rae <rae@lyx.org>
6197 * lyxlength.C: Attempted a fix for the abs(int) header selection.
6198 Works for 2.95.3, from what I understand of Garst's reports this should
6199 work for other g++ versions. We're screwed if the abs(int) definition
6200 changed between bugfix releases of gcc.
6202 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6204 * text.C: fix chapter label offset !
6206 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
6209 * text.C: fix hfill at end of line, clean up
6211 2001-12-04 Juergen Vigna <jug@sad.it>
6213 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
6214 that we force an update of the inset and it's owners if neccessary.
6216 2001-12-03 Juergen Vigna <jug@sad.it>
6218 * text.C (rowLast): simplified code
6220 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
6222 * lyxfunc.C: fix show options on timeout
6224 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6226 * screen.C (topCursorVisible): scroll half a page when the cursor
6227 reached top of bottom of screen
6229 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
6231 * minibuffer.C: deactivate on loss of focus
6233 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6235 * vspace.[Ch] (operator!=): add operator.
6237 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6239 * BufferView_pimpl.C: refuse to open an inset when
6240 there's a selection.
6242 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6244 * BufferView_pimpl.C: allow to click on RHS of full row insets
6246 2001-11-30 Juergen Vigna <jug@sad.it>
6248 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6249 insets for undo reasons.
6251 2001-11-28 André Pönitz <poenitz@gmx.net>
6253 * vspace.[Ch]: cosmetical changes
6255 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6265 * kbsequence.C: part re-write of old kb code
6268 * WorkArea.C: remove Lgb_bug_find_hack
6270 2001-11-30 José Matos <jamatos@fep.up.pt>
6272 * buffer.C (makeDocBookFile): add a comment to point a hack.
6273 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6274 Fixed a double write of labels.
6276 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6279 * LaTeX.h Fixed bug in LaTeX class where it would not
6280 re-run latex if no depfiles were changed, but the .dvi was removed.
6282 2001-11-28 André Pönitz <poenitz@gmx.net>
6284 * all the files from the change on 2001/11/26:
6285 use lyx::layout_type instead of LyXTextClass::size_type
6286 use lyx::textclass_type instead of LyXTextClassList::size_type
6288 2001-11-29 Juergen Vigna <jug@sad.it>
6290 * text.C: added support for paragraph::isFreeSpacing()
6292 * buffer.C: same as above
6294 * paragraph.h: inserted isFreeSpacing() function to enable
6295 FreeSpacing inside InsetERT.
6297 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6298 of the paragraph's in the cut/copy buffer to 0!
6300 * text2.C (removeRow): remove the assert as it can!
6302 * lyxtext.h: added helper function firstRow returning firstrow and
6303 made firstrow private again.
6305 * BufferView2.C (lockInset): don't relock if we're already locked!
6307 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6309 (removeRow): added Assert::(firstrow)
6311 * debug.C: forgot to add INSETTEXT here.
6313 2001-11-28 Juergen Vigna <jug@sad.it>
6315 * sp_spell.C (initialize): changed error text to more general
6316 spellchecker command use (not only ispell!)
6318 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6320 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6322 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6324 * vspace.C: initialise lyxgluelength on failure
6326 2001-11-28 Allan Rae <rae@lyx.org>
6328 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6329 declaration & definition that looks like a function declaration.
6331 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6333 * BufferView2.C (copy):
6334 (copyEnvironment): do not clear the selection when doing a copy.
6336 * text.C (paintFirstRow): compilation fix
6338 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6340 * tabular.C (Latex): correct line count when writing latex.
6342 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6344 * paragraph_pimpl.h:
6345 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6348 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6352 * LColor.C: change vfillline->added_space
6354 * text.C: add markers and text for added space
6356 * vspace.C: fix comment
6358 2001-11-28 André Pönitz <poenitz@gmx.net>
6360 * paragraph.C: whitespace changes
6361 * all the other files from the change on 2001/11/26:
6362 change *::pos_type into lyx::pos_type
6364 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6366 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6367 language of the document when inserting error insets.
6369 2001-11-26 André Pönitz <poenitz@gmx.net>
6371 * BufferView_pimpl.[Ch]:
6379 * paragraph_pimpl.[Ch]:
6382 * text2.C: reduce header dependencies, introduce type for positions
6384 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6386 * <various>: change to use Alert.h
6388 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6390 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6391 when encountering an unknown token.
6392 (readLyXformat2): Show an error message if there were unknown tokens.
6394 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6397 * BufferView_pimpl.C:
6401 * text2.C: use par->isInset()
6403 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6405 * paragraph_pimpl.h:
6406 * paragraph_pimpl.C: cleanup
6408 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6410 * text2.C (removeRow):
6411 * text.C (setHeightOfRow): remove useless (and costly) call to
6414 2001-11-20 Allan Rae <rae@lyx.org>
6416 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6417 Now need Inset*::checkInsertChar() to return true for appropriate
6418 cases so that the characters in the minibuffer will actually be
6421 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6423 * text.C: change the order of the includes.
6424 (workWidth): initialize it at once.
6425 (workWidth): make maxw unsigned
6426 (setHeightOfRow): remove unused variable (inset)
6427 (selectSelectedWord): remove unused variable (inset)
6428 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6430 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6432 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6433 server is not running.
6435 (closeConnection): add debug info when server is disabled.
6437 * ColorHandler.C (getGCForeground): send debug message to GUI
6440 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6442 * kbmap.C (bind): modify because return conventions of
6443 kb_sequence::parse have changed.
6445 * kbsequence.C (parse): only ignore spaces and not any stupid
6446 control character. This avoids tests like s[i] <= ' ', which are
6447 guaranteed to fail with 8bit characters and signed chars.
6448 Change return code to string::npos when there have been no error
6449 (0 was a bad idea when error is at first character)
6451 2001-11-14 José Matos <jamatos@fep.up.pt>
6454 * buffer.C (simpleDocBookOnePar): removed unused argument.
6456 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6458 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6459 insets which are part of a word. Paragraph::isLetter takes care of
6460 that now. Use Paragraph::isInset to identify insets.
6461 (selectSelectedWord): do not test for hyphenation break.
6463 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6464 that protected spaces are considered as spaces.
6466 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6469 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6472 * lyxserver.C: fix it. and small cleanup.
6474 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6476 * BufferView_pimpl.C: use inline helpers
6479 * LaTeXFeatures.C: fix typos
6482 * Spacing.C: move spacing_string into class
6484 * ToolbarDefaults.C: move stuff into namespace anon
6486 * layout.h: update enum
6488 * lyxfunc.C: use better debug
6490 * minibuffer.h: fix typo
6494 * WorkArea.C: add and use Debug::WORKAREA
6498 * text2.C: code re-organisation, inline helpers
6500 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6502 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6503 std::vector.empty().
6505 2001-11-09 Allan Rae <rae@lyx.org>
6507 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6508 '\n's after tables. Tabular and ERT inset work now makes this no
6511 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6514 * minibuffer.C: fix crash, improve drop-down completion
6516 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6519 * lyxserver.C: invalidate fd's when doing endPipe()
6521 2001-11-08 José Matos <jamatos@fep.up.pt>
6523 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6524 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6527 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6529 2001-11-07 José Matos <jamatos@fep.up.pt>
6532 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6535 * buffer.C (sgmlOpenTag):
6536 * buffer.C (sgmlCloseTag): removed debug info.
6538 * buffer.h (sgmlOpenTag):
6539 * buffer.h (sgmlCloseTag): made public.
6541 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6543 * buffer.C (saveParamsAsDefaults):
6544 * lyx_cb.C (MenuLayoutSave): remove
6546 * LyXAction.C (init):
6548 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6550 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6552 * buffer.C (setPaperStuff): removed from here...
6554 * bufferparams.C (setPaperStuff): ... and moved there.
6556 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6560 * XFormsView.C: add support for drop-down completion
6562 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6564 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6567 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6569 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6572 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6574 * lyx_main.C: change ref to known bugs
6576 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6578 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6579 to work around older babel problems.
6581 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6583 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6585 2001-10-24 Juergen Vigna <jug@sad.it>
6587 * tabular-old.C (ReadOld): below variable changes reflected.
6589 * tabular.[Ch]: added ltType struct for longtable header/footer
6590 defines and changed all instances where they are used. Added
6591 future support for double top/bottom rows.
6593 2001-10-24 José Matos <jamatos@fep.up.pt>
6595 * buffer.h (docbookHandleCaption):
6596 * buffer.C (docbookHandleCaption): removed unused function.
6597 (makeDocBookFile): moved docbook supported version to v4.1.
6599 2001-10-24 José Matos <jamatos@fep.up.pt>
6602 * tabular.C (docbookRow): new function to export docbook code of a row.
6603 (DocBook): now honors the longtable flags.
6605 2001-10-23 José Matos <jamatos@fep.up.pt>
6608 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6609 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6611 * buffer.C (makeLinuxDocFile):
6612 (makeDocBookFile): reworked the preamble, more clean, and with
6613 support for lyx defined entities. Changed the document declaration
6614 to be more XML friendly.
6616 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6617 if we need to output XML that should be done with a filter.
6619 2001-10-22 Juergen Vigna <jug@sad.it>
6621 * sp_pspell.h (class PSpell): add alive function needed in the
6622 controller to see if the spellchecker could be started.
6624 2001-10-22 Juergen Vigna <jug@sad.it>
6626 * buffer.C (insertStringAsLines): modify the font for inserting
6627 chars in certain conditions by calling checkInsertChar(font).
6629 2001-10-19 Juergen Vigna <jug@sad.it>
6631 * text.C (workWidth): use getRow instead of wrong algorithm.
6632 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6634 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6639 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6641 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6643 * text.C (workWidth): do not search for the exact row when
6644 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6645 optimization for big documents.
6647 2001-10-18 Juergen Vigna <jug@sad.it>
6649 * text.C (workWidth): new function with added Inset * parameter.
6651 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6653 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6655 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6656 change return type of getColumnNearX.
6659 * text.C (changeRegionCase): use uppercase/lowercase instead of
6662 (rightMargin): simplify code by factoring out the uses of
6667 (appendParagraph): use Paragraph::size_type
6669 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6671 * vspace.C (asLatexString): add a missing break
6673 2001-10-15 Herbert Voss <voss@perce.de>
6675 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6677 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6679 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6682 2001-10-10 André Pönitz <poenitz@gmx.net>
6684 * lyxfunc.C: removed greek_kb_flag.
6686 2001-10-10 Herbert Voss <voss@perce.de>
6688 * lyx_main.C: delete global string help_lyxdir.
6690 2001-10-09 Herbert Voss <voss@perce.de>
6692 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6694 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6696 * lyx_main.C: added global string help_lyxdir.
6698 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6700 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6702 * lyxrc.C (set_font_norm_type): support iso8859-4
6704 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6706 * LaTeX.C (deplog): add another regex for MikTeX
6708 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6710 * lyxrc.C (set_font_norm_type): support iso8859-3
6712 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6714 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6716 * LaTeXFeatures.C: remove special case of french and index
6718 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6719 before \begin{document}). This solves several incompatibilities.
6721 2001-10-03 Garst Reese <reese@isn.net>
6723 * lyx_cb.C: change CheckTex error msg.
6725 2001-10-03 José Matos <jamatos@fep.up.pt>
6727 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6729 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6731 * .cvsignore: update
6733 * lyx_main.C (commandLineVersionInfo): use new style version info.
6735 * buffer.C (writeFile):
6738 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6740 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6742 * version.h: update to use stuff in version.C
6744 * version.C.in: new file. Contains version information determined
6745 at compile time. This is a merging of version.h and
6748 2001-10-03 Juergen Vigna <jug@sad.it>
6750 * BufferView_pimpl.C (update): don't change "dirty" status in
6753 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6755 * WorkArea.C (c-tor): re-position version string slightly.
6757 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6759 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6760 revert to previous code.
6762 WorkArea.[Ch]: (show, destroySplash): methods removed.
6764 WorkArea.C: rework code so that it's an amalgam of the codes before and
6765 after the splash screen was moved to WorkArea.
6767 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6770 * vspace.C (inPixels):
6773 * buffer.C (insertStringAsLines):
6774 (asciiParagraph): fix types to be large enough
6776 * lyxlex_pimpl.h: change member status from short to int
6778 * layout.h: fix type of endlabeltype
6781 * kbsequence.C (parse): change return type to string::size_type
6783 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6786 * Bullet.C (bulletSize):
6787 (bulletEntry): do not use short ints as parameters
6789 * BufferView2.C (insertLyXFile): change a char to an int.
6791 * WorkArea.C (WorkArea): remove unneeded floats in computation
6793 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6795 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6797 * paragraph.C (asString): Do not ignore newline/hfill chars when
6798 copying to the clipboard.
6800 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6802 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6803 after a multi-line inset.
6805 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6807 * paragraph.C (validate): Set NeedLyXFootnoteCode
6809 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6811 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6812 and decrease-error to decrease.
6814 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6816 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6817 it more readable (should be equivalent)
6819 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6821 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6823 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6825 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6826 of a cursor (row, etc.) after a character has been deleted
6827 (deleteEmptyParagraphMechanism): call the method above on _all_
6828 cursors held by the LyXText when a double space has been
6831 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6833 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6835 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6837 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6838 background. Use greyOut() and the new show() methods to toggle between
6839 the foreground and background. Add code to remove the splash after
6840 its initial showing.
6842 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6843 (create_forms): no longer call Dialogs::showSplash.
6845 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6847 * .cvsignore: add version_info.h
6849 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6851 * version_info.h.in: new file
6853 * Makefile.am: add version_info.h.in
6855 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6856 version_info.h instead of VERSION_INFO
6858 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6860 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6861 The ERT inset now returns string().
6863 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6865 * lyxtext.h, text.C (selectNextWord): renamed as
6866 selectNextWordToSpellcheck.
6868 * text.C (selectNextWordToSpellcheck): Modified to not select
6869 words inside an ERT inset.
6871 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6873 * lyx_cb.C (MenuLayoutSave): change a bit the question
6875 * sp_base.h: include <sys/types.h>
6877 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6879 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6881 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6883 * several files: fix typos in user-visible strings
6885 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6887 * text2.C (pasteSelection): do not set the selection, since it
6888 will be cleared later. Actually, the intent was to fix the way the
6889 selection was set, but I figured rmoving the code was just as good.
6891 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6893 * FontLoader.C (available): Check if font is available without
6896 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6898 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6900 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6902 * lyxrc.[Ch]: added display_graphics variable and associated code.
6904 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6906 * bufferparams.C (hasClassDefaults): new method. Returns true if
6907 the buffer parameters correspond to known class defaults
6909 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6911 * XFormsView.C (show): set minimum size to the main window.
6913 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6915 * text2.C (copySelection):
6917 * lyxfind.C (LyXReplace):
6918 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6919 LyXText::selectionAsString.
6921 * paragraph.C (asString): add "label" argument to the second form
6923 * text2.C (selectionAsString): add "label" argument and pass it to
6924 Paragraph::asString.
6926 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6928 * lyx_main.C (commandLineHelp): remove version information
6930 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6932 * lyx_main.C: add -version commandline option
6934 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6936 * paragraph.h: make the optional constructor arg required instead.
6937 some modifications to other files because of this.
6939 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6941 * lyxserver.C (C_LyXComm_callback): make it static
6943 * lyx_main.C (error_handler): make it static
6945 * lyx_gui.C (LyX_XErrHandler): make it static
6947 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6949 * WorkArea.C: make the extern "C" methods static.
6951 * Makefile.am (lyx_LDADD): simplify
6953 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6955 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6956 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6958 * LyXAction.C (init):
6959 * lyxfunc.C (dispatch): associated code removal.
6961 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6963 * lyxfont.h (isSymbolFont): shut off warning
6965 * text.C (setHeightOfRow):
6966 (getVisibleRow): fix crash with empty paragraphs which have a
6969 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6971 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6974 2001-09-04 José Matos <jamatos@fep.up.pt>
6977 * tabular.C (docbook): rename docBook method to docbook.
6979 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6981 * Makefile.am: add dependencies to main.o.
6983 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6985 * FontLoader.C (available): Return false if !lyxrc.use_gui
6987 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6989 * FontInfo.C (query):
6990 * converter.C (view):
6991 * importer.C (Import):
6992 * exporter.C (Export): Can not -> cannot.
6994 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6996 * BufferView_pimpl.C: allow to create index inset even if
6999 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
7001 * buffer.C (getLists): replace boost::tie code with an explicit pair
7002 as boost::tie can break some compilers.
7004 * iterators.h: Added a std:: declaration to the return type of
7007 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
7009 * lyxrc.C: add help for view_dvi_paper_option, default to safe
7012 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
7014 * iterators.[Ch]: New files. Provide paragraph iterators.
7016 * buffer.C (changeLanguage): Use paragraph iterators.
7017 (isMultiLingual): ditto
7019 * BufferView2.C (ChangeInsets): Use paragraph iterators.
7021 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
7023 * FontLoader.C: Support for cmr font.
7025 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
7027 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
7028 (available): New method.
7030 * FontInfo.C (getFontname): Use scalable fonts even when
7031 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
7034 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7036 * converter.C (Formats::view): reverted! Incorrect fix.
7038 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
7040 * converter.C (Formats::view): only output the -paper option
7041 if the dvi viewer is xdvi, thereby fixing bug #233429.
7043 2001-08-23 Herbert Voss <voss@perce>
7045 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
7047 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
7049 * Spacing.h (Spacing): Set space to Default on in the default
7052 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
7054 * vc-backend.h (RCS::versionString): add RCS to version
7055 (CVS::versionString): add CVS to version
7057 * vc-backend.C (scanMaster): do not add CVS to version.
7058 (scanMaster): do not add RCS to version
7060 * lyxvc.C (versionString): new method
7062 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
7064 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7066 * Spacing.C (set): initialize fval
7068 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
7070 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
7073 2001-08-16 Juergen Vigna <jug@sad.it>
7075 * lyxfunc.C (dispatch): implemented the new FINISHED states.
7077 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7079 * BufferView_pimpl.C:
7082 * text2.C: setParagraph takes linespacing now
7084 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
7086 * LyxAction.C: add internal LFUN_CITATION_INSERT
7088 * LyXView.C: actually apply fix
7090 * bufferlist.C: fix open non-existent file
7092 * lyxfind.C: fix indentation
7094 * lyxfunc.C: remove unneeded assert, fix typo
7096 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
7098 * MenuBackend.C: use "Floatname List"
7100 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
7102 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
7103 when converting LaTeX layout to insetERT.
7104 Generate a non-collapsed float when reading old float
7106 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7108 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
7111 2001-08-13 Juergen Vigna <jug@sad.it>
7113 * text.C (fill): return 0 instead of 20 as this seems to be the more
7116 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
7118 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
7121 2001-08-13 Juergen Vigna <jug@sad.it>
7123 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
7125 (SearchBackward): comment out the unlocking of the inset_owner this
7126 should not be needed!
7128 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
7130 * Many files: Remove inherit_language, and add latex_language
7132 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
7135 2001-08-10 Juergen Vigna <jug@sad.it>
7137 * text.C (prepareToPrint): fixed hfill-width in draw!
7139 * BufferView2.C (selectLastWord): save the selection cursor as this
7140 now is cleared in the function LyXText::clearSelection!
7142 2001-08-08 Juergen Vigna <jug@sad.it>
7144 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
7145 BACKSPACE type functions.
7147 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
7148 is only cutted from the document but not put in the cut-buffer, where
7149 still the old stuff should be.
7151 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
7153 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
7155 * tabular.C (SetWidthOfCell): fixed special case where the width
7157 (LeftLine): handle '|' in align_special.
7159 (LeftAlreadyDrawed): ditto
7160 (SetWidthOfCell): ditto
7162 2001-08-07 Juergen Vigna <jug@sad.it>
7164 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
7166 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7168 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
7169 * lyxlex.[hC]: ditto
7171 2001-08-06 Juergen Vigna <jug@sad.it>
7173 * text.C (getVisibleRow): fix up row clearing a bit.
7175 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7177 * minibuffer.C: make sure the X server sees the changes in the input.
7179 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7181 * paragraph.C (getFont): split into...
7182 (getLabelFont): this
7183 (getLayoutFont): and this
7184 * paragraph_pimpl.C (realizeFont): calling this
7186 * text2.C (getFont): split into...
7187 (getLayoutFont): this
7188 (getLabelFont): and this
7189 (realizeFont): all three calling this
7191 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
7194 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7196 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
7198 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
7200 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
7201 layouts from the Quote inset insertion.
7203 2001-08-03 Juergen Vigna <jug@sad.it>
7205 * BufferView_pimpl.C (update): do the fitCursor only at the end!
7207 * screen.C (drawFromTo): don't call fitcursor here and do the loop
7208 only if status not is already CHANGED_IN_DRAW (second level).
7210 * text.C (draw): don't set the need_break_row when inside an
7213 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7215 * buffer.C (parseSingleLyXformat2Token): handle more latex
7218 * bufferview_funcs.[hC]: change function names to
7219 begin with small char, adjust other files.
7221 2001-08-02 André Pönitz <poenitz@gmx.net>
7224 BufferView_pimpl.C: remove broken special code for math-greek
7226 2001-08-02 Juergen Vigna <jug@sad.it>
7228 * BufferView_pimpl.C (update): redone this function so that we
7229 update the text again if there was a CHANGE_IN_DRAW.
7231 * screen.C (cursorToggle): removed LyXText parameter and recoded.
7232 (drawFromTo): added a new internal bool which is used by draw() and
7234 (general): some cursor drawing problems fixed.
7236 2001-08-01 Juergen Vigna <jug@sad.it>
7238 * lyxfind.C (LyXFind): fixed
7239 (SearchForward): ditto
7240 (SearchBackward): ditto
7242 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7243 spurius drawing of the cursor in the main area.
7245 * text2.C (status): small fix which could lead to a segfault!
7246 (clearSelection): remove unneeded BufferView param.
7248 2001-08-01 André Pönitz <poenitz@gmx.net>
7250 * lyxfunc.C: small change due to changed mathed interface
7252 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7254 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7256 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7258 * lyxfunc.c: fail gracefully if file doesn't exist
7263 * BufferView_pimpl.C: IsDirWriteable() proto changed
7265 * LyXView.C: fix updateWindowTitle() to store the last title
7267 2001-07-31 Juergen Vigna <jug@sad.it>
7269 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7270 the font (wrong since using of Paragraph::highestFontInRange).
7272 * paragraph.C (highestFontInRange): added a default_size parameter.
7274 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7275 (setHeightOfRow): reformat
7277 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7279 * converter.[hC] + affected files: move to (inital-char)lowercase
7282 * ParagraphParameters.C (ParagraphParameters): remove commented code
7284 * PainterBase.[Ch]: remove commented code
7286 * LaTeXFeatures.h: add "bool floats" for float.sty
7288 * LaTeXFeatures.C (LaTeXFeatures): init floats
7289 (require): handle float
7290 (getPackages): do it with floats
7292 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7294 * BufferView_pimpl.C (Dispatch): improve handling of
7295 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7297 * commandtags.h: #include lyxfont.h here temporarily to avoid
7300 * bufferlist.h: include LString.h here.
7302 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7304 * text2.C (getStringToIndex): new method.
7306 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7308 * *: Reduced header file dependencies all over.
7310 2001-07-30 Baruch Even <baruch@lyx.org>
7312 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7314 2001-07-29 Baruch Even <baruch@lyx.org>
7316 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7318 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7320 * ParameterStruct.h (endif): add a default constructor to make
7321 sure that all variables is initialized.
7323 * ParagraphParameters.C (ParagraphParameters): adjust
7325 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7327 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7328 index; also, check that there is something to index, and that it
7329 does not span over several paragraphs.
7330 (doubleClick): use WHOLE_WORD_STRICT for double click.
7332 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7334 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7337 2001-07-26 Baruch Even <baruch@lyx.org>
7339 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7340 an InsetFig figure, backwards compatible reading of old figure code.
7342 2001-07-27 Juergen Vigna <jug@sad.it>
7344 * text2.C: font.realize function adaption.
7346 * text.C (draw): add a warnings lyxerr text if needed.
7348 * layout.C: font.realize function adaption.
7350 * language.C: add inherit_language and implement it's handlings
7352 * bufferview_funcs.C (StyleReset): remove language parameter from
7353 font creation (should be language_inherit now).
7355 * bufferparams.C (writeFile): handle ignore_language.
7357 * paragraph.C (getFontSettings): the language has to be resolved
7358 otherwise we have problems in LyXFont!
7360 * lyxfont.C (lyxWriteChanges): added document_language parameter
7361 (update): removed unneeded language parameter
7363 * paragraph.C (validate): fixed wrong output of color-package when
7364 using interface colors for certain fonts in certain environments,
7365 which should not seen as that on the final output.
7367 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7369 * BufferView_pimpl.C:
7374 * LyXAction.C: add thesaurus support
7377 * lyxfind.C: add "once" parameter, for thesaurus, to not
7378 move to the next match
7380 2001-07-26 Juergen Vigna <jug@sad.it>
7382 * lyxfont.C (realize): honor ignore_language too!
7385 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7387 * text.C (draw): one place more for ignore_language to not draw
7390 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7392 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7394 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7397 the minipage conversion problem.
7399 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7401 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7404 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7406 * BufferView.h: don't forward declare WorkArea
7408 * BufferView.C: don't include WorkArea.h
7410 2001-07-25 André Pönitz <poenitz@gmx.net>
7414 * lyxfunc.C: new LFUN 'math-space'
7416 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7418 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7420 * text2.C (toggleInset): call open/close
7422 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7424 * lyxfunc.C (dispatch): add debug for the disabled case
7426 * font.C (buttonText): make similar to rectText
7428 * buffer.C (readInset): comment out parsing of insetlist and
7431 * PainterBase.C (rectText): small correction
7433 * BufferView_pimpl.C: comment out insettheorem and insetlist
7434 * LyXAction.C: ditto
7435 * commandtags.h: ditto
7437 2001-07-24 Juergen Vigna <jug@sad.it>
7439 * text.C (draw): honor the ignore_language.
7441 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7443 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7445 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7448 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7450 * lyxtext.h: remove unused (and unimplemented) methods
7452 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7454 * text.C (getVisibleRow): honor background color
7457 * Painter.h: remove default color argument for fillRectangle
7459 * text.C (backgroundColor): new method
7461 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7463 * text.C (getVisibleRow): adjust
7465 * font.[Ch] (rectText): new method, metrics
7466 (buttonText): new method, metrics
7468 * PainterBase.[hC]: make rectText and buttonText always draw and take
7471 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7473 * ToolbarDefaults.C (read):
7474 * MenuBackend.C (read): allow escaping in all strings
7476 * BufferView_pimpl.C (insertAndEditInset): new method.
7477 (Dispatch): use insertAndEditInset whenever appropriate.
7479 * BufferView_pimpl.C (insertNote): removed
7481 * BufferView_pimpl.C (smartQuote): new method, moved from
7482 BufferView; if an insetquote cannot be inserted, insert a '"'
7485 * BufferView2.C: remove insertCorrectQuote();
7487 * lyxfunc.C (getStatus): Add support for all remaingin
7490 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7492 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7493 command (necessary to pass " as parameter of self-insert.
7495 * text.C (selectWordWhenUnderCursor):
7496 (selectWord): add word_location parameter
7497 (selectWordWhenUnderCursor): same + remove special code for word
7499 (selectNextWord): use kind() to guess type of insetspecialchar,
7502 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7503 (insertErtContents): create ert insets as collapsed.
7504 (readInset): better compatibility code for Info inset.
7506 2001-07-20 Juergen Vigna <jug@sad.it>
7508 * lyxfunc.C (dispatch): use always LyXFind now!
7510 * text2.C (init): add a reinit flag so that the LyXText can be
7511 reinited instead of deleted and reallocated (used in InsetText).
7513 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7519 2001-07-18 Juergen Vigna <jug@sad.it>
7521 * text.C (selectNextWord): handle insets inside inset by calling
7522 always the bv->text functions so that we can go up the_locking_inset!
7524 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7525 in strange locations when inside an inset!
7527 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7528 handling to include insets.
7530 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7532 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7534 * LyXAction.C (init):
7536 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7537 LIGATURE_BREAK, since the name is so stupid.
7539 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7541 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7544 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7546 * sp_form.[Ch]: remove.
7548 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7550 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7553 * src/buffer.C (readInset): ditto.
7555 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7557 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7558 menuSeparator(), endOfSentenceDot(), ldots() and
7559 hyphenationPoint(), which are therefore removed.
7560 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7562 * LyXAction.C (init):
7563 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7565 * paragraph.C (getWord): removed.
7567 * BufferView_pimpl.C (Dispatch): use last word or selection for
7568 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7570 * lyx_main.C (queryUserLyXDir): do not ask before creating
7571 user_dir, except if it has been named explicitely.
7573 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7575 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7576 a document of zero size.
7578 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7580 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7581 approriately in the c-tor and in require().
7582 (getPackages): output the appropriate LaTeX for natbib support.
7584 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7585 variables "use_natbib" and "use_numerical_citations" when reading the
7587 (readInset): read the various natbib cite commands.
7588 (validate): white-space change.
7590 * bufferparams.[Ch]: new variables "bool use_natbib" and
7591 "bool use_numerical_citations".
7592 (writeFile): output them in the LyX file.
7594 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7596 * lyxfunc.C (getStatus): add support for all the inset insertion
7599 * text2.C (insertInset):
7600 * paragraph.C (insetAllowed):
7601 * BufferView_pimpl.C (insertInset): update to take in account the
7602 renaming of insertInsetAllowed
7604 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7606 * text2.C (getInset): new method. returns inset at cursor position.
7608 * BufferView_pimpl.C (Dispatch): changes because of this.
7610 * LyXAction.C (init): rename open-stuff to inset-toggle.
7612 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7614 * text2.C (toggleInset): renamed from openStuff; use
7617 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7619 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7621 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7623 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7625 * buffer.C (readLyXformat2): Add filename to the error dialog
7627 2001-07-18 Juergen Vigna <jug@sad.it>
7629 * tabular.C (GetCellNumber): put an assert here instead of the check!
7631 2001-07-17 Juergen Vigna <jug@sad.it>
7633 * BufferView_pimpl.C (toggleSelection): adapted too.
7635 * text.C (selectNextWord): adapted for use with insets.
7636 (selectSelectedWord): ditto
7638 2001-07-17 Juergen Vigna <jug@sad.it>
7640 * sp_spell.C (PSpell): fix initialitation order.
7642 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7644 * paragraph.C: spacing
7646 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7648 * sp_spell.C: repair language selection for pspell
7650 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7652 * lyxfunc.h: change more methods to begin with lower char.
7654 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7656 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7657 for unknown layouts.
7659 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7661 * buffer.C (readLyXformat2): Generate an error dialog if there are
7664 2001-07-16 Juergen Vigna <jug@sad.it>
7666 * sp_spell.C: always compile ISpell part.
7668 * lyxrc.C: added use_pspell entry and it's handling.
7670 2001-07-13 Juergen Vigna <jug@sad.it>
7672 * sp_spell.C: removed double includes.
7674 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7676 Consistent use of Lsstream.h:
7677 * Lsstream.h: added using std::stringstream for consistencies sake.
7679 * buffer.C: removed using std::stringstream
7681 * lyxfont.C (stateText):
7682 * paragraph.C (asString):
7683 * text.C (selectNextWord, selectSelectedWord):
7684 * text2.C (setCounter):
7685 * vspace.C (asString, asLatexString):
7686 std::ostringstream -> ostringstream.
7688 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7690 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7691 * commandtags.h: add LFUN_HELP_ABOUTLYX
7692 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7694 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7696 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7698 * lyx_gui_misc.C: remove spellchecker
7699 * lyxfunc.C: showSpellchecker
7701 * sp_ispell.h: added
7702 * sp_pspell.h: added
7704 * sp_form.[Ch]: removed
7705 * spellchecker.[Ch]: removed
7707 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7709 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7711 (simpleTeXSpecialChars): Simply print the input character without
7712 any special translation if pass_thru is set.
7714 * layout.h: Added bool pass_thru to layout class for being able to
7715 implement pass through of a paragraph for Literate Programming.
7717 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7718 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7719 * layout.C (Read): add "passthru" to list of layout tags and add
7720 code to set the pass_thru boolean when it is read.
7722 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7724 * trans_decl.h: remove allowed from KmodInfo
7726 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7730 * paragraph_pimpl.C (erase): use boost::prior
7732 * Painter.C (text): use data() instead of c_str() when length is
7734 * WorkArea.C (putClipboard): ditto
7735 * font.h (width): ditto
7737 * BufferView2.C: use it-> instead of (*it). for iterators
7739 * paragraph_pimpl.C: ditto
7740 * paragraph.C: ditto
7741 * minibuffer.C: ditto
7746 * converter.C: ditto
7748 * Variables.C: ditto
7749 * TextCache.C: ditto
7750 * MenuBackend.C: ditto
7751 * LyXAction.C: ditto
7753 * FloatList.C: ditto
7755 * ColorHandler.C (LyXColorHandler): ditto
7757 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7759 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7761 * text2.C (openStuff): reintroduce this method (which had been
7762 nuked in NEW_INSETS frenzy).
7764 * lyxfunc.C (Dispatch): when an action has not been handled, use
7765 its name in the error message, not its number.
7767 * paragraph.C (inInset): change method name to begin with lowercase.
7770 * text2.C: updates because of this.
7772 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7774 * ToolbarDefaults.C (add): add spaces in error message
7776 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7778 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7779 (readLyXformat2): rename return_par to first_par, use lyxlex's
7780 pushToken and remove the manual push handling.
7781 (parseSingleLyXformat2Token): add another ert comp. variable:
7782 in_tabular, rename return_par to first_par. handle newlines better
7784 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7786 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7788 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7790 * text2.C (getParFromID): removed
7792 * buffer.C (getParFromID): new method moved form lyxtext.
7793 * BufferView2.C (insertErrors): adjust
7794 (setCursorFromRow): adjust
7795 * BufferView_pimpl.C (restorePosition): adjust
7796 * lyxfunc.C (Dispatch): adjust
7797 * undo_funcs.C (textUndo): adjust
7799 (textHandleUndo): adjust
7800 (textHandleUndo): adjust
7802 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7804 * buffer.C: up' the LYX_FORMAT
7806 * lyxfont.h: turn NO_LATEX on as default
7808 * buffer.C (insertErtContents): new methods of tex style compability.
7809 (parseSingleLyXformat2Token): use it several places.
7810 * tabular.C (OldFormatRead): and here
7812 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7814 * text2.C: remove some commented code.
7817 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7818 * trans.C: changes because of the above.
7820 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7822 * text2.C (setCounter): Fix counters bug with bibliography layout.
7824 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7826 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7827 own member functions
7828 (simpleTeXSpecialChars): ditto
7830 2001-07-06 Juergen Vigna <jug@sad.it>
7832 * a lot of files: changed the access to LyXText::status and the
7833 call of undo-functions.
7835 * undo.[Ch]: added a inset_id to the undo informations.
7837 * undo_funcs.[Ch]: added and moved here all undo functions.
7839 * lyxtext.h: give the status enum a weight, made status_ a private
7840 variable and made accessor functions for it, removed the whole bunch
7841 of undo-functions as they are now in their own file, make some
7842 functions publically available. Added function ownerParagraph with
7845 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7846 made InInset() a const function, added getParFromID() function.
7848 * buffer.[Ch]: added const version for inset_iterator functions,
7849 added getInsetFromID() function.
7851 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7852 changed undo functions for new version.
7854 2001-07-05 Juergen Vigna <jug@sad.it>
7856 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7857 unknow mechanism does not call the proper constructor but only this
7858 one also if I request the other!?
7860 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7862 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7864 * text2.C (LyXText): use initialization lists.
7866 * lyxtext.h (Selection): initialize set_ and mark_
7867 (init): remove method
7869 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7871 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7873 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7875 * screen.[Ch]: change method names to begin with lowercase
7877 * BufferView_pimpl.C (updateScrollbar): simplify further and
7878 hopefully make it a bit faster.
7880 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7882 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7883 calling directly xforms functions.
7885 * Painter.C (Painter):
7886 * lyx_cb.C (MenuWrite):
7887 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7890 * lyx_gui.C: remove bogus guiruntime extern declaration.
7892 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7894 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7896 (redoDrawingOfParagraph): ditto
7897 (redoParagraphs): ditto
7898 (cutSelection): don't create a object for CutAndPaste use the
7899 static method directly
7900 (pasteSelection): ditto
7902 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7905 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7907 * modifications to some other files because of this.
7909 * Makefile.am (lyx_SOURCES): add XFormsView
7911 * XFormsView.[Ch]: new files
7913 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7914 the main window. Move the gui dependent stuff to XFormsView
7916 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7918 * tabular.C (GetCellInset): update cur_cell also in the row/col
7919 version of this function.
7921 * lyxfunc.C: no need to include figure_form.h here.
7927 * lyxvc.C: no need to include forms.h here.
7929 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7931 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7933 * lyxfunc.C (Dispatch):
7935 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7936 constructor argument.
7938 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7940 * paragraph.C (Paragraph): dont't clear, and just set layout.
7941 (makeSameLayout): use params's copy contructor.
7943 * ParagraphParameters.[Ch] (makeSame): delete method
7945 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7947 * Variables.[Ch]: fix indentation, rename set to isSet
7949 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7951 * lyxfunc.C (Dispatch): fix typo
7953 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7955 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7958 * bufferlist.C: include assert.h for emergencyWrite().
7960 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7962 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7963 give up at last (bug #425202) !
7965 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7971 * spellchecker.C: strip spellchecker options and bring up
7972 preferences tab instead
7974 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7976 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7977 the istringstream constructor
7979 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7981 * paragraph.C (getLayout): fix return value
7983 * paragraph.h: do not declare getLayout as inline.
7985 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7987 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7989 * lyxcursor.h (operator<): new func
7990 (operator>): new func
7991 (operator>=): new func
7992 (operator<=): new func
7994 * text.C (changeCase): use selection.start and selection.end
7995 (changeRegionCase): require from to be <= to. Require par to be a
7998 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
8000 2001-06-27 Juergen Vigna <jug@sad.it>
8002 * text.C (cursorLeftOneWord): changed to return the cursor and added
8003 overlay with BufferView * parameter which calls this one.
8005 (selectWord): use new getWord function.
8006 (changeCase): renamed from changeWordCase as and extended to work
8009 * lyxtext.h: added enum word_location
8011 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
8012 changeCase as this operates now also on selections.
8014 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
8016 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
8018 * many files: send debug output to Debug::INFO instead of
8021 * converter.C (View):
8023 (Move): send debug output to Debug::FILES instead of console.
8025 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
8027 * lyxfunc.C (getStatus): use func_status
8029 * func_status.h: new header, describing the results of
8032 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
8035 2001-06-25 The LyX Project <jug@sad.it>
8037 * buffer.C (sgmlOpenTag):
8039 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
8041 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8043 * text2.C: remove some dead code
8045 * tabular.C (GetCellInset): store the last cell checked (gotten)
8047 * tabular.h: add the helper for the speedup
8049 * lyxtext.h: remove some dead code
8051 2001-06-26 The LyX Project <Asger>
8053 * paragraph.C: Change export to LaTeX of alignment to
8054 \begin{center} and family for better roundtrip work with reLyX.
8056 * Tune the math drawing a bit.
8058 2001-06-25 The LyX Project <Asger>
8060 * LColor.C (LColor): New color for math background. New color
8063 2001-06-25 The LyX Project <jug@sad.it>
8065 * lyxfunc.C (MenuNew): remove extra check for .lyx file
8068 * bufferlist.C (newFile): do not restrict to files ending with
8071 * BufferView_pimpl.C (MenuInsertLyXFile):
8073 2001-06-24 The LyX Project <jug@sad.it>
8075 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
8078 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8080 * lyxtext.h: rename most methods to begin with a small char.
8081 Lots of changes because of this.
8083 * paragraph.C (Paragraph): do not call fitToSize
8084 (erase): call Pimpl::erase
8085 (insertChar): call Pimpl::insertChar
8086 (insertInset): call Pipl::insertInset
8087 (breakParagraph): do not call fitToSize
8088 (breakParagraphConservative): do not call fitToSize
8089 (fitToSize): remove method
8091 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
8093 2001-06-24 The LyX Project <Asger>
8095 * Fix Qt compilation^2
8097 2001-06-24 The LyX Project <jug@sad.it>
8099 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
8100 depthHook(getDepth()-1).
8103 * ParagraphParameters.h:
8104 * ParameterStruct.h: change type of depth to unsigned int ==
8105 depth_type. Many adaptations to other files before of that.
8107 2001-06-24 The LyX Project <Asger>
8109 * Fix Qt compilation.
8111 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8113 * paragraph.h: renamed several methods to begin with small letter.
8114 several changes to many parts of the code because of this.
8116 2001-06-23 The LyX Project <jug@sad.it>
8118 * text2.C (InsertStringAsLines): renamed from InsertStringA;
8119 rewritten to discard all double spaces when KeepEmpty is off
8120 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
8121 to only handle newlines but not fiddle with spaces and friends.
8123 * lyxfunc.C (MenuNew): when doing 'new from template', use
8124 template_path as default directory
8126 2001-06-23 The LyX Project <Asger>
8128 * Clean-up of header file includes all over
8129 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
8131 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8133 * paragraph.h: renamed from lyxparagraph.h
8135 2001-06-23 Asger <lyx@violet.home.sad.it>
8137 * Buffer.h: Removed Buffer::resize
8138 * BufferList.h: Removed BufferList::resize
8139 * LyXView.h: Added LyXView::resize. This way, we will only reflow
8140 the document lazily when we change the width, or the font settings.
8142 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8144 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
8146 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8148 * buffer.h: remove out of date comment
8150 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
8153 * screen.C: fix "theoretical" GC leak
8155 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8157 * LaTeX.C (scanAuxFile):
8158 (deplog): remove trailing \r when reading stream (useful under
8161 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
8163 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
8164 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
8165 and BufferView::theLockingInset(Inset*), so should use them and not
8166 access bv_->text->the_locking_inset directly.
8168 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
8170 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8173 * tex-defs.h: remove old unused file
8175 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
8177 * BufferView_pimpl.C: fix typo, remove minibuffer message
8178 when buffer has loaded
8180 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * lyxfunc.C (Dispatch): use stringstream
8183 (MenuNew): use stringstream
8184 (Open): use stringstream
8186 * importer.C (Import): use stringstream
8188 * bufferview_funcs.C (CurrentState): use stringstream
8190 * LaTeX.C (run): use stringstream
8192 * BufferView_pimpl.C (savePosition): use stringstream
8193 (restorePosition): use stringstream
8194 (MenuInsertLyXFile): use stringstream
8196 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
8209 * vspace.C: removed // -*- C++ -*- as first line.
8212 * version.h: added // -*- C++ -*- as first line.
8214 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8216 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
8218 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
8221 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8223 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
8226 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8228 * gettext.C: include LString.h even when --disable-nls is on.
8230 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
8232 * converter.h (Get): changed argument type from int to
8233 FormatList::size_type to avoid unnecessary conversion.
8235 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8238 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8240 * gettext.h: include LString.h even when --disable-nls is on.
8242 2001-06-07 Juergen Vigna <jug@sad.it>
8244 * text.C (BreakAgain): subst spaces with tabs.
8246 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8247 (resizeInsetsLyXText): set force on resizeLyXText.
8249 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8251 * gettext.h (gettext_init):
8252 (locale_init): use a real definition instead of a macro
8254 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8256 * Bufferview_pimpl.C:
8258 * LColor.C: further lcolor tidies
8260 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8262 * BufferView_pimpl.C (updateScrollbar): simplify.
8264 * BufferView2.C: don't include insets/insetinfo.h, change
8265 prototype for insertInset and call the Pimpl version. let
8266 updateInset call Pimpl version.
8268 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8269 gotoInset to BufferView::Pimpl
8271 2001-06-01 Juergen Vigna <jug@sad.it>
8273 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8274 inside a LockingInset (is the update needed at all?).
8276 2001-05-31 Juergen Vigna <jug@sad.it>
8278 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8279 here not the old one otherwise how should we compare it afterwards
8282 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8287 * FontInfo.C: bring C functions into global namespace when
8290 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8292 * LString.h: make sure config.h has been loaded before LString.h.
8294 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8295 (one for each char read by EatLine!).
8297 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8300 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8302 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8303 to the same as the par we break from
8305 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8307 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8309 * MenuBackend.C (expand): also create menu entries for wide
8310 versions of the floats.
8312 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8314 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8316 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8317 frontends/Makefile.am
8323 * tabular.C (getTokenValue): add std::
8325 * tabular-old.C (getTokenValue): add std::
8326 (getTokenValue): ditto
8327 (getTokenValue): ditto
8329 * screen.C (ToggleSelection): adjust
8331 * lyxtext.h: put selection cursors inside a Selection struct.
8333 * lyxfunc.C (moveCursorUpdate): adjust
8335 * lyxfont.C (latexWriteStartChanges): add std::
8339 * font.h: delete with(char const *, LyXFont const &)
8341 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8343 * FontInfo.C (getFontname): add std::
8345 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8346 (workAreaButtonPress): adjust
8347 (tripleClick): adjust
8349 (moveCursorUpdate): adjust
8352 * BufferView2.C (gotoInset): adjust
8354 2001-05-30 Juergen Vigna <jug@sad.it>
8356 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8357 to check pspell I add this as default as I now have new pspell
8358 libraries and they seem to use this.
8360 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8362 * text2.C (CutSelection): make the cursor valid before the call to
8365 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8367 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8368 relied on 0 terminated strings and other horrors. Bug found due to
8369 the new assert in lyxstring!
8371 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8374 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8376 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8379 * lyxfunc.C (processKeySym): change method of getting to the
8382 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8383 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8384 * BufferView_pimpl.[Ch]: here as private methods.
8386 2001-05-28 Juergen Vigna <jug@sad.it>
8388 * text.C (SetHeightOfRow): added the update() call again as it is
8389 needed to initialize inset dimensions!
8391 2001-05-16 Juergen Vigna <jug@sad.it>
8393 * text2.C (SetCharFont): Add new function with BufferView * and
8394 bool toggleall parameters for setting insets internal fonts.
8395 (SetFont): Freeze the undo as we may change fonts in Insets and
8396 all this change should be inside only one Undo!
8398 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8399 setting font's in insets as for them we have the SetFont function!
8401 2001-05-15 Juergen Vigna <jug@sad.it>
8403 * text2.C (ClearSelection): to be sure we REALLY don't have any
8406 * tabular.C (TeXCellPreamble): fixed the left border problem for
8409 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8411 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8414 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8417 LFUN_BREAKPARAGRAPH.
8419 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8420 help test to "internal only", similar for LFUN_INSERT_URL
8422 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8423 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8424 auto_region_delete and deadkeys.
8426 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8429 * LColor.C: remove some dead entries, tidy a little
8431 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8433 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8435 (Dispatch): implement LFUN_ESCAPE
8437 * commandtags.h: add LFUN_ESCAPE
8439 * LyXAction.C (init): add entry for LFUN_ESCAPE
8441 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8442 Remove commented code.
8443 (insertNote): moved here
8444 (open_new_inset): moved here
8446 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8449 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * kbmap.C (findbinding): clean it up and make it work correctly.
8453 * lyx_main.C (init): do not pass argc and argv as parameters
8455 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8457 * buffer.C: fix path for OS/2 & Win32
8461 * lyx_main.C: Added os:: class.
8463 * os2_defines.h: update
8465 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8467 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8468 better by trying again with reduced state.
8470 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8472 * lyxrc.C (read): print error about invalid key sequence only when
8473 debugging (because not all latinX keysyms are known to some X
8476 * kbsequence.C (getiso): add a few std:: qualifiers
8477 (getiso): comment out extra return statement.
8479 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8481 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8483 (Dispatch): enhance the accent inset a bit. (not perfect)
8485 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8487 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8489 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8491 * bufferlist.C (emergencyWrite): fix assert() call
8493 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8495 * text.C (InsertChar): Added trivial patch to only send the "you
8496 can not do multiple spaces this way" message once during a
8499 2001-05-08 Baruch Even <baruch@lyx.org>
8501 * Makefile.am: Changed order of libraries to get LyX to link properly
8502 with the gnome frontend.
8504 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8506 * LaTeXFeatures.h: add a std:: qualifier
8508 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8510 * paragraph.C (String): use stringstream
8512 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8514 * paragraph.C (writeFile): remove footflag arg
8516 * buffer.C (makeLaTeXFile): use stringstream
8517 (latexParagraphs): remove footnot gurba
8519 * LaTeXFeatures.C (getPackages): use stringstream
8520 (getMacros): likewise
8521 (getTClassPreamble): likewise
8522 (getFloatDefinitions): new method
8524 * paragraph.C (writeFile): reindent
8527 * WorkArea.h: revert the xpos + etc changes.
8529 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8531 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8533 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8534 (pasteSelection): likewise
8535 * text2.C (CreateUndo): likewise
8537 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8539 * minibuffer.C (peek_event): temporarily reduce the functionality
8540 of the minibuffer (to allow args on lfuns)
8542 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8543 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8545 * buffer.C (readInset): add compability reading of old float
8546 lists, add reading of new style float list.
8547 (readInset): avoid reevaluation of inscmd.getCmdName()
8548 (getLists): reindent
8550 * MenuBackend.C (MenuItem): implement parsing of
8551 md_floatlistinsert and md_floatinsert.
8552 (expand::LastFiles): move initalizaton of iterators out of loop,
8554 (expand::Documents): introduce typdedef vector<string> Strings,
8556 (expand::ExportFormats): introduce typedef vector<Format const *>
8557 Formats, and use it.
8558 (expand): implement FloatListInsert and FloatInsert.
8560 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8561 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8562 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8564 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8566 (Dispatch::LFUN_FLOAT_LIST): implement
8568 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8570 * LaTeX.C (run): Fix problem with --export code.
8572 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8574 * BufferView.[Ch] (workarea): removed.
8575 (getClipboard) new method; wrapper for workarea()->getClipboard()
8577 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8580 * WorkArea.h (width, height, xpos, ypos): These methods all
8581 returned the dimensions of the work_area sub-area of WorkArea,
8582 resulting in a position error if the WorkArea were resized. Now
8583 return the dimensions of the entire WorkArea.
8585 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8587 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8589 * LaTeX.C (deplog): correct the syntax of regex reg1
8591 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8593 * undo.C: remove !NEW_INSETS cruft
8595 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8597 * text2.C: remove !NEW_INSETS cruft
8599 * text.C: remove !NEW_INSETS cruft
8601 * tabular.C: remove !NEW_INSETS cruft
8603 * spellchecker.C: remove !NEW_INSETS cruft
8605 * lyxtext.h: remove !NEW_INSETS cruft
8607 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8609 * lyxfunc.C: remove !NEW_INSETS cruft
8611 * lyxfind.C: remove !NEW_INSETS cruft
8613 * lyx_cb.C: remove !NEW_INSETS cruft
8615 * figureForm.C: remove !NEW_INSETS cruft
8617 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8619 * buffer.[Ch]: remove !NEW_INSETS cruft
8621 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8623 * CutAndPaste.C: remove !NEW_INSETS cruft
8625 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8627 * BufferView2.C: remove !NEW_INSETS cruft
8629 * BufferView.h: remove !NEW_INSETS cruft
8631 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8633 * Lsstream.h: include LString.h before the sstream headers to
8634 fix problem with gcc 2.95.3 and lyxstring
8636 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * lyx_main.C: add using directives when needed for C functions
8639 declared in std:: namespace.
8641 2001-04-27 Juergen Vigna <jug@sad.it>
8643 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8644 (SetHeightOfRow): comment out the update call should not be needed!
8646 2001-04-13 Juergen Vigna <jug@sad.it>
8648 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8649 (LyXTabular): tried to minimize operator= operations (and realized
8650 hopfully Lars wish).
8652 2001-04-27 Juergen Vigna <jug@sad.it>
8654 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8656 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8658 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8660 * buffer.C (readInset): hack to make listof algorithm work
8662 * BufferView_pimpl.C: hack to make listof algorithm work
8664 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * LyXAction.C: removed all !NEW_INSETS cruft
8667 (init): moved lfun_item in method
8669 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8671 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8673 * BufferView2.C (theLockingInset): white space.
8675 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8677 * minibuffer.C: include <iostream>
8679 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8681 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8683 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8685 * text.[Ch] (TransposeChars): new method
8687 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8689 * call message directly through LyXView instead of through LyXFunc
8690 * BufferView2.C: adjust
8691 * BufferView_pimpl.C: adjust
8692 * FontLoader.C: adjust
8694 * bufferview_funcs.C: adjust
8695 * converter.C: adjust
8696 * figureForm.C: adjust
8697 * importer.C: adjust
8699 * lyx_gui_misc.C: adjust
8703 + more files in subdirs
8705 * lyxparagraph.h (size): move up int file
8708 * adjust all uses of Assert to lyx::Assert.
8710 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8711 lyxfunctional in namespace lyx
8712 * layout.C (hasLayout): ditto
8715 (delete_layout): ditto
8716 (NumberOfClass): ditto
8717 * converter.C (GetFormat): ditto
8722 * bufferlist.C (getFileNames): ditto
8723 (emergencyWriteAll): ditto
8726 * MenuBackend.C (hasSubmenu): ditto
8729 * BufferView_pimpl.C (getInsetByCode): ditto
8731 2001-04-18 Juergen Vigna <jug@sad.it>
8733 * vspace.C (asLatexString): fixed the 100% problem.
8735 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8737 * lyxfunc.C (Dispatch):
8739 * minibuffer.h: add a few std:: qualifiers
8741 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8743 * minibuffer.[Ch]: reimplement so that commands is initiated and
8744 run from lyxfunc, simplified som handling, and made the completion
8745 and history code for complete. wip.
8747 * lyxfunc.C (processKeySym): call message
8748 (miniDispatch): new temporary method
8749 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8750 (LFUN_MESSAGE): implement
8751 (LFUN_MESSAGE_PUSH): implement
8752 (LFUN_MESSAGE_POP): implement
8753 (initMiniBuffer): the initial/defualt minibuffer message.
8755 * lyxfont.[Ch]: inline some more getters
8757 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8759 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8761 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8762 (AutoSave): use LFUN_MESSAGE
8763 (Reconfigure): ditto
8765 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8767 * figureForm.C: use LFUN_MESSAGE
8769 * converter.C (runLaTeX): use LFUN_MESSAGE
8771 * bufferview_funcs.C: use LFUN_MESSAGE
8773 (changeDepth): ditto
8775 * bufferparams.h: use boost::
8777 * bufferlist.h: inherit privately from noncopyable
8779 * bufferlist.C (loadLyXFile): remove some commented code.
8781 * buffer.C (runChktex): use LFUN_MESSAGE
8783 * ShareContainer.h: inherit privately from noncopyable
8785 * ParagraphParameters.[hC] (depth): inline it.
8787 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8789 (message): new method
8790 (messagePush): ditto
8792 (show): init minibuffer
8793 (showState): direct call
8795 * LaTeX.[Ch]: inherit privately from noncopyable
8796 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8797 instead of WriteStatus.
8799 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8801 * BufferView_pimpl.C (buffer): don't init minibuffer
8802 (workAreaButtonPress): use LFUN_MESSAGE
8803 (workAreaButtonRelease): ditto
8804 (savePosition): ditto
8805 (restorePosition): ditto
8806 (MenuInsertLyXFile): ditto
8807 (workAreaExpose): don't init minibuffer
8808 (update): remove commented code, simplify
8810 * BufferView2.C (openStuff): use LFUN_MESSAGE
8811 (toggleFloat): ditto
8814 (copyEnvironment): ditto
8815 (pasteEnvironment): ditto
8820 (updateInset): remove some commented code
8822 * lastfiles.h: inherit privately from noncopyable
8827 * lyxlex_pimpl.h: ditto
8829 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8830 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8831 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8833 * LyXAction.h: inherit privately from noncopyable, add methods
8834 func_begin, func_end, returning iterators to the func map.
8836 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8837 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8838 (func_begin): new method
8839 (func_end): new method
8841 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8843 (copySelection): ditto
8844 (pasteSelection): ditto
8846 * BufferView.C: whitespace change
8847 * BufferView.h: inherit privately from noncopyable
8849 2001-04-16 Allan Rae <rae@lyx.org>
8851 * tabular-old.C (l_getline):
8852 * spellchecker.C (sc_check_word):
8853 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8854 an unrecognised preprocessor directive. So ensure they're wrapped.
8856 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8858 * src/exporter.C (Export): Give an error message when path to file
8861 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8863 * LaTeX.C (deplog): Always check that foundfile exists.
8865 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8868 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8870 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8872 * tabular.[Ch] (getLabelList): implement new method
8874 * minibuffer.h: comment ouf setTiimer
8876 * minibuffer.C (ExecutingCB): constify res
8877 (peek_event): constify s
8878 (Set): constify ntext
8879 (Init): constify nicename
8881 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8883 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8884 (savePosition): use two params to Minibuffer::Set
8885 (restorePosition): ditto
8887 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8889 * lyx_main.C: include language.h
8891 * Makefile.am (lyx_main.o): add language.h
8893 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8899 * CutAndPaste.C: include gettext.h
8901 * lyxfont.h: remove old hack with ON and OFF.
8904 * lyxfont.h: do not include language.h...
8909 * bufferview_funcs.C:
8915 * paragraph.C: ... but do it here instead
8917 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8919 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8921 * tabular.C: small reformat
8923 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8926 (BreakParagraph): ditto
8927 (SetOnlyLayout): ditto
8930 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8933 * lastfiles.C: removed most using decl, add std:: where needed
8935 * buffer.C: ws changes
8937 * MenuBackend.C (class compare_format): put into anon namespace
8938 (expand): constify label, names, action, action2
8941 * text.C (SingleWidth): constify font
8942 (IsBoundary): constify rtl2
8943 (GetVisibleRow): constify ww
8945 * LaTeX.C (deplog): constify logfile
8947 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8949 (workAreaExpose): constify widthChange, heightChange
8951 * lyxrow.C (par): moved
8954 * lyxrow.h: as inlines here
8956 * lyxfont.h (shape): moved from lyxfont.C
8957 (emph): moved from lyxfont.C
8959 * lyxfont.C (LyXFont): use initialization list for all
8961 (shape): move to lyxfont.h as inline
8962 (emph): move to lyxfont.h as inline
8965 2001-04-04 Juergen Vigna <jug@sad.it>
8967 * vspace.C: had to include stdio.h for use of sscanf
8969 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8972 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8973 independent of xforms.
8975 2001-04-02 Juergen Vigna <jug@sad.it>
8977 * spellchecker.C: fixed namespace placing!
8979 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8981 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8982 the LyXParagraph * is 0.
8984 2001-03-29 Juergen Vigna <jug@sad.it>
8986 * vspace.C: added support for %, c%, p%, l%.
8987 (stringFromUnit): added helper function.
8988 (asLatexString): changed to give right results for the %-values.
8990 * buffer.C: convert the widthp in a width%.
8992 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8994 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8997 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8998 code out of lux_cb.[Ch], ready for its (imminent?) removal.
9000 * lyx_cb.[Ch]: see above.
9002 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
9006 * lyx.[Ch]: replaced by figure_form.[Ch].
9010 * lyxfunc.C: changed headers associated with above changes.
9012 2001-03-27 Juergen Vigna <jug@sad.it>
9014 * BufferView_pimpl.C: set the temporary cursor right!
9016 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
9018 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
9020 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
9022 * LString.h: removed "using std::getline"!
9024 * BufferView_pimpl.C (Dispatch): changes due to changes in
9025 InsetInclude::Params.
9027 * buffer.C (tag_name): removed redundant break statements as they were
9028 producing lots of warnings with my compiler.
9030 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9032 * LString.h: add "using std::getline" when using the real <string>.
9034 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
9036 * buffer.C: removed bitset usage.
9037 PAR_TAG moved to an anonymous name space.
9038 (tag_name): new funtion, also in the anonymous namespace.
9039 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
9040 (makeDocBookFile): clean code. Completed transition from string arrays
9042 (SimpleDocBookOnePar): code clean.
9044 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9046 * tabular.C: add some comments.
9048 2001-03-22 Juergen Vigna <jug@sad.it>
9050 * buffer.C (parseSingleLyXformat2Token): redone the minipage
9051 compatibility read a bit and fixed bug with minipage in different
9054 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
9056 * buffer.C (pop_tag): removed.
9057 (push_tag): removed.
9058 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
9059 array replaced with vector. Added support for CDATA sections.
9060 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
9062 (makeDocBookFile): XML conformant declaration of CDATA section,
9063 fixed bug related to <emphasis> in the first paragraph char.
9064 (sgmlOpenTag): exclude empty tags.
9065 (sgmlCloseTag): ditto.
9067 * buffer.h (pop_tag): removed.
9068 (push_tag): removed.
9070 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
9072 * language.h (Languages): added size_type and size().
9074 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9076 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
9077 response on compability reading of minipages. One probliem is that
9078 the old usage of minipages was «flertydig»
9080 * several files here and in subdirs: don't use static at file
9081 scope use anon namespaces instead.
9083 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
9085 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
9086 LaTeX output. This is necessary for Literate document
9089 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9091 * buffer.C: insert hfill when needed.
9093 * tabular.C (l_getline): use string::erase, small whitespace change.
9095 * BufferView_pimpl.C: try the anon namespace.
9098 2001-03-16 Juergen Vigna <jug@sad.it>
9100 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
9101 otherwise it won't open options-dialogs.
9103 * buffer.C: honor pextraWidth(p) on converting minipages.
9105 * tabular.C (l_getline): changed the functions to strip trailing \r.
9107 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
9109 * BufferView_pimpl.C:
9110 * minibuffer..C: added "using SigC::slot" declaration.
9112 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9114 * lyxlex_pimpl.h: noncopyable is in namespace boost.
9120 * paragraph.C: ditto
9122 * lyxtext.h: NO_PEXTRA
9124 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
9126 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
9127 * ParameterStruct.h: ditto
9128 * ParagraphParameters.h: ditto
9129 * lyxparagraph.h: ditto
9131 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9133 * buffer.C: add compability for minipage alignment.
9134 (latexParagraphs): remove unwanted pextra check.
9136 * several files: remove CXX_WORKING_NAMESPACES
9138 * buffer.C (pop_tag): tie is in namespace boost
9140 * BufferView.h: noncopyable is in namespace boost
9145 * lastfiles.h: ditto
9146 * bufferlist.h: ditto
9147 * ShareContainer.h: ditto
9149 * LyXAction.h: ditto
9152 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9154 * Merging changes from BRANCH_MVC back into HEAD.
9156 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
9158 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
9160 * BufferView_pimpl.C: change from intl.C
9164 * Makefile.am: move combox.*
9170 * intl.C: remove dialog (covered by prefs)
9172 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
9174 * lyxfunc.C (Dispatch): removed redundant break statement.
9176 2001-03-14 Juergen Vigna <jug@sad.it>
9178 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
9180 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9182 * buffer.C: add hack to fix compability reading of minipages.
9184 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
9186 * buffer.C (getLists): Cleanup.
9188 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9190 * lyxfont.C (update): don't honor toggleall on font size.
9192 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
9196 * Makefile.am: moved to frontends/xforms/
9200 * BufferView_pimpl.C: changes for moved mathpanel
9202 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9204 * gettext.h: fix gettext_init() in --disable-nls
9206 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9208 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
9210 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
9213 * lyx.h: strip external form
9215 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9217 * BufferView_pimpl.C: add comment, destroySplash()
9219 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
9221 * BufferView_pimpl.C:
9225 * lyxfunc.C: use re-worked insetinclude
9227 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9229 * buffer.C: add using std::stringstream.
9231 * lyx_cb.C: readd using std::ios.
9233 * buffer.C: add using std::map.
9235 * BufferView_pimpl.C: add using std::vector.
9237 * ShareContainer.h: add std:: to swap.
9239 * buffer.h: add some typedefs
9240 * buffer.C (getLists): use them
9241 (getLists): renamed from getTocList.
9242 add a counter for the different float types and use it in the
9244 (getLists): use the same counter for the NEW_INSETS and the "non"
9247 * lyx_cb.h: remove unused items, includes, using etc.
9249 * ShareContainer.h: remove some commented code, add more comments
9250 and "documentation".
9252 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9254 * buffer.C (getTocList): make the list also when NEW_INSETS is
9257 * buffer.h: remove TocType
9259 * buffer.C (getTocList): change to return a map<string,
9260 vector<TocItem> >, implement for dynamic number of list.
9262 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9263 * text2.C (PasteSelection): adjust
9264 * CutAndPaste.C (pasteSelection): adjust
9266 * FloatList.C (FloatList): update from the new_insets branch.
9267 * Floating.[Ch]: ditto
9268 * LaTeXFeatures.C: ditto
9270 * lyxlex_pimpl.C: ditto
9272 * paragraph.C (Last): remove when NEW_INSETS is defined.
9274 * other file: changes because of the above.
9276 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9278 * lyxparagraph.h: rename next to next_, previous to previous_,
9279 make them private for NEW_INSETS. Rename Next() to next(),
9280 Previous() to previous().
9282 * other files: changes because of the above.
9284 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9287 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9290 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9292 * main.C (main): pass lyx_localedir to gettext_init().
9294 * gettext.h: remove locale_init and gettext_init macros
9296 * gettext.C (locale_init): new function
9297 (gettext_init): new function
9299 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9302 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9304 * Moved credits to frontends:
9305 * credits.[Ch]: removed
9306 * credits_form.[Ch]: removed
9307 * lyx_gui_misc.C: remove credits stuff
9310 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9312 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9314 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9315 unneeded destructor.
9317 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9318 a standalone pointer again.
9320 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9322 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9328 * ToolbarDefaults.C:
9337 * BufferView_pimpl.C: use new file dialog in GUII
9340 * lyx_cb.C: remove LayoutsCB to Toolbar
9342 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9344 * ShareContainer.h (get): add std:: qualifier
9346 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9348 * ShareContainer.h: define a proper ShareContainer::value_type
9349 type (and use typename to please compaq cxx)
9351 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9353 * lyxparagraph.h: move serveral local vars to
9354 ParameterStruct/ParagraphParameters., use ShareContainer in
9355 FontTable., make vars in FontTable private and add getter and
9358 * paragraph.C: changes because of the above.
9360 * lyxfont.h: remove copy constructor and copy assignment. (the
9361 default ones is ok), move number inside FontBits. move inlines to
9364 * lyxfont.C: add number to initializaton of statics, move several
9365 inlines here. constify several local vars. some whitespace
9366 cleanup. Dont hide outerscope variables.
9368 * Spacing.h: add two new constructors to match the set methods.
9370 * ShareContainer.h: new file, will perhaps be moved to support
9372 * ParameterStruct.h: new file
9374 * ParagraphParameters.h: new file
9376 * ParagraphParameters.C: new file
9378 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9379 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9381 * BufferView_pimpl.C: ParagraphParameter changes.
9382 * buffer.C: Likewise.
9383 * bufferview_funcs.C: Likewise.
9385 * text2.C: Likewise.
9387 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9389 * lyxfind.C (LyXReplace): do not redefine default argument in
9391 (IsStringInText): ditto
9392 (SearchForward): ditto
9393 (SearchBackward): ditto
9395 2001-03-06 Juergen Vigna <jug@sad.it>
9397 * lyxfind.C (IsStringInText): put parentes around expressions.
9399 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9401 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9403 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9405 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9407 * stl_string_fwd.h: add comment
9409 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9412 * tabular.C: remove unused DocBook methods
9418 killed DO_USE_DEFAULT_LANGUAGE
9420 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9422 * lyx_gui.C: do not include language.h.
9424 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9425 arguments in function implementation.
9427 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9429 * BufferView_pimpl.C: add <ctime>
9431 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9433 * BufferView_pimpl.C: add using std::find_if
9435 2001-02-27 José Matos <jamatos@fep.up.pt>
9437 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9440 2001-02-11 José Matos <jamatos@fep.up.pt>
9442 * buffer.C (makeDocBookFile): command styles now have a parameter as
9445 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9447 * layout_forms.[Ch]: removed
9448 * lyx_cb.[Ch]: out character
9449 * lyx_gui.C: out character
9450 * lyx_gui_misc.C: out character
9451 * bufferview_funcs.C: : out character,
9452 added toggleall as parameter in ToggleAndShow
9454 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9456 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9458 * text2.C (SetCurrentFont): Disable number property at boundary.
9460 2001-02-26 Juergen Vigna <jug@sad.it>
9462 * lyxfunc.C (getStatus): added a string argument override function so
9463 that this is correctly called from LyXFunc::Dispatch if it contains a
9464 do_not_use_argument which is used!
9465 (Dispatch): added check for "custom" export and call appropriate func.
9467 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9469 * lyxrc.C: Add language_command_local, language_use_babel and
9470 language_global_options.
9472 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9474 * buffer.C (makeLaTeXFile): Use language_use_babel and
9475 language_global_options.
9477 2001-02-23 Juergen Vigna <jug@sad.it>
9479 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9480 which works with LyXText and putted it inside BufferView. Here now we
9481 only call for that part the BufferView::Dispatch() function.
9483 * BufferView.C (Dispatch): added.
9485 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9486 functions which needs to use a LyXText over from LyXFunc.
9487 (MenuInsertLyXFile): added
9488 (getInsetByCode): added
9489 (moveCursorUpdate): added
9490 (static TEXT): added
9492 2001-02-22 Juergen Vigna <jug@sad.it>
9494 * BufferView_pimpl.C (update): call a status update to see if LyXText
9497 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9499 * vc-backend.C (revert): implement for CVS
9500 (getLog): implement for CVS
9502 2001-02-20 Juergen Vigna <jug@sad.it>
9504 * text2.C (ClearSelection): added BufferView param for inset_owner call
9506 * lyxfunc.C (TEXT): added this function and use it instead of
9507 directly owner->view()-text of getLyXText().
9509 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9511 * src/layout_forms.C: out preamble
9512 * src/layout_forms.h: out preamble
9513 * src/lyx_cb.C: out preamble
9514 * src/lyx_cb.h: out preamble
9515 * src/lyx_gui.C: out preamble
9516 * src/lyx_gui_misc.C: out preamble
9517 * src/lyxfunc.C: connect with guii preamble
9519 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9521 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9523 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9525 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9526 whether to run bibtex.
9528 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9530 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9532 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9534 * Makefile.am (lyx_SOURCES): removed bibforms.h
9538 * text.C (GetVisibleRow): make several local vars const
9540 * tabular.C: small cleanup.
9542 * lyxserver.C (callback): use compare instead of strncmp
9544 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9545 inlines to after class or to paragraph.C
9547 * lyxfont.h: remove friend operator!=
9549 * converter.h: move friend bool operator< to non friend and after
9552 * combox.h: small cleanup
9554 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9555 to inlines after class def.
9557 * buffer.C (pop_tag): use string operations instead of strcmp
9559 * bmtable.c: doxygen, small cleanup
9561 * LaTeX.h: remove friend operator==
9563 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9575 * BufferView_pimpl.C:
9576 * BufferView.[Ch]: remove cruft
9578 2001-02-14 Juergen Vigna <jug@sad.it>
9580 * lyxfunc.C: removed #if 0 unused code
9582 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9584 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9586 * text2.C (SetSelection): added a BufferView * parameter
9588 2001-02-13 Juergen Vigna <jug@sad.it>
9590 * lyxfunc.C (Dispatch): fixed protected blank problem.
9591 * BufferView2.C (protectedBlank): added LyxText * parameter.
9593 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9594 (AppendColumn): same as above for column_info.
9596 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9597 (moveCursorUpdate): use a LyXText param for support of InsetText.
9599 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9600 (tripleClick): ditto
9602 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9604 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9606 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9608 * text2.C (SetSelection): set correct update status if inset_owner
9611 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9613 * tabular.C: remove some commented code.
9615 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9617 * BufferView_pimpl.C: call hideSplash()
9619 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9622 * bibforms.h: remove
9625 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9626 add LFUN_CHILD_CREATE
9628 * counters.h: fix tiny typo
9633 * lyx.C: move splash to frontends/xforms/
9635 * lyx_gui_misc.C: move Include and Bibform to frontends
9637 * lyxvc.h: clarify comment
9639 * vspace.C: tiny housekeeping
9641 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9643 * text.C (PrepareToPrint): RTL Fix.
9645 * paragraph.C (GetUChar): New method.
9646 (String): Use GetUChar.
9648 * buffer.C (asciiParagraph): Use GetUChar.
9650 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9652 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9654 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9657 * buffer.C: rename to getLogName(), handle
9658 build log / latex log nicely
9660 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9663 * MenuBackend.h: remove support for reference menuitem type.
9665 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9667 * BufferView_pimpl.C: housekeeping
9668 * BufferView_pimpl.h:
9673 * minibuffer.h: move Timeout GUI-I
9675 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9677 * lyxrc.C (read): Update converters data-structures.
9679 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9681 * LaTeX.h (operator!=): add operator != for Aux_Info
9683 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9685 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9687 * LaTeXLog.C: deleted, useful code moved to Buffer
9690 * buffer.C: new function getLatexLogName()
9696 * lyxfunc.C: use frontends for LaTeX and VC logs
9698 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9700 * LaTeX.h: yet another std:: that Allan forgot.
9702 * Variables.C (set): renamed from isset(), because this clashes
9703 with some HP-UX macros (grr).
9705 2001-02-06 Allan Rae <rae@lyx.org>
9707 * LaTeX.h: Another bug fix. Missing std:: this time.
9709 2001-02-04 Allan Rae <rae@lyx.org>
9711 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9712 floats problem. I've left it commented out because it's not quite
9713 correct. It should also test that the current object is a table or
9714 figure inset. But I haven't gotten around to figuring out how to do
9715 that. I *think* it'll be something like: "table" == inset.type()
9717 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9720 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9722 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9723 all the citation/databases/styles in the auxilary file.
9724 (run): Rerun latex if there was a babel language error.
9726 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9728 * text.C (Backspace): Preserve the font when changing newline char
9730 (BreakParagraph): If the cursor is before a space, delete the space.
9732 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9734 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9736 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9737 new argument (code).
9738 (ChangeCitationsIfUnique): New method.
9740 * paragraph.C (GetPositionOfInset): Handle bibkey.
9742 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9744 * BufferView_pimpl.h: change type of Position::par_pos to
9745 LyXParagraph::size_type.
9747 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9749 * BufferView_pimpl.C (savePosition, restorePosition): Write
9750 messages to minibuffer.
9752 2001-01-28 José Matos <jamatos@fep.up.pt>
9754 * buffer.C (makeDocBookFile): adds support for document language.
9755 A silly restriction on the name of LatexCommand types where removed.
9756 Added support for CDATA sections, allows to chars unescaped, used
9757 among others in code, to avoid escape < and >.
9759 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9761 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9762 saved positions instrad of a stack. Furthermore, a position is
9763 stored using paragraph id/paragraph position.
9765 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9766 Remove LFUN_REF_BACK.
9768 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9770 * converter.C (dvipdfm_options): New method.
9772 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9774 * vspace.C (isValidLength): Fix for empty input string.
9776 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9778 * LyXAction.C (init): change description of LFUN_FIGURE to
9781 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9783 * LaTeX.C: add using directive
9785 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9787 * MenuBackend.C (expand): Fix the sorting of the formats.
9789 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9791 * lyx_main.C: tiny error message fix
9793 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9795 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9796 calling fl_initialize(). This fixes the problem with ',' as
9797 decimal separator in text files.
9799 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9801 * trans.C (process): Fix the keymap bug.
9803 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9805 * LaTeX.C (scanAuxFiles): New method. Provides support for
9806 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9807 (scanLogFile) Scan for "run BibTeX" messages.
9809 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9810 OT1 font encoding. Also, load the aecompl package if the ae
9813 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9815 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9817 * texrow.C (increasePos): turn two error messages into debug
9820 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9822 * LaTeX.C (scanAux): Handle the \@input macro.
9823 (runBibTeX): Use scanAux().
9825 * language.C (latex_options_): New field.
9827 * LaTeXFeatures.C (getMacros): Add language macros.
9829 * buffer.C (makeLaTeXFile): Small fix.
9831 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9833 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9835 * text2.C: add a using directive.
9837 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9842 * lyxfunc.C: kill LyXBell.
9844 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9846 * text.C (IsBoundary): Remove the error message
9848 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9850 * lyxrc.C (setDefaults): Correct initialization value for
9853 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9855 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9858 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9861 * src/LyXAction.C: Added reference-next.
9863 * text.C (InsertChar): Use contains instead of strchr.
9865 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9867 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9869 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9870 alignment commands (when needed).
9872 * text.C (InsertChar): Add ':' to number separator chars.